:root {
  color-scheme: dark;
  --bg: #07171a;
  --bg-elevated: #0b2024;
  --surface: #0d2529;
  --surface-soft: #102c31;
  --surface-strong: #15363b;
  --text: #f2fbfb;
  --text-soft: #c4d6d7;
  --text-muted: #8eaaac;
  --line: rgba(91, 208, 216, 0.18);
  --line-strong: rgba(91, 208, 216, 0.34);
  --brand: #27b7c6;
  --brand-bright: #68dbe2;
  --brand-deep: #1679ad;
  --brand-ink: #041416;
  --danger: #ff6b73;
  --orange: #ffae55;
  --green: #57d68d;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.2);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 17px;
  --container: 1180px;
  --nav-height: 76px;
  --tracking-display-xl: -0.05em;
  --tracking-display-lg: -0.04em;
  --tracking-heading: -0.018em;
  --tracking-label: 0.1em;
  --tracking-text: 0;
  --leading-display-xl: 1;
  --leading-display-lg: 1.08;
  --leading-heading: 1.28;
  --leading-label: 1.35;
  --leading-body: 1.65;
  --leading-body-relaxed: 1.72;
  --leading-ui: 1.45;
}

html[lang="zh-CN"] {
  --tracking-display-xl: -0.012em;
  --tracking-display-lg: -0.015em;
  --tracking-heading: -0.008em;
  --tracking-label: 0.055em;
  --leading-display-xl: 1.12;
  --leading-display-lg: 1.18;
  --leading-heading: 1.4;
  --leading-label: 1.45;
  --leading-body: 1.75;
  --leading-body-relaxed: 1.82;
  --leading-ui: 1.62;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f5fbfb;
  --bg-elevated: #ffffff;
  --surface: #ffffff;
  --surface-soft: #eaf6f7;
  --surface-strong: #ddf0f2;
  --text: #0b2528;
  --text-soft: #365a5e;
  --text-muted: #557478;
  --line: rgba(13, 104, 117, 0.15);
  --line-strong: rgba(13, 104, 117, 0.27);
  --brand: #087d9e;
  --brand-bright: #087d9e;
  --brand-deep: #0c678f;
  --brand-ink: #ffffff;
  --shadow: 0 24px 70px rgba(21, 71, 78, 0.16);
  --shadow-soft: 0 16px 40px rgba(21, 71, 78, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-size: 16px;
  letter-spacing: var(--tracking-text);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  transition: background-color 180ms ease, color 180ms ease;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(65, 196, 207, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 196, 207, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

html[data-theme="light"] body::before {
  background-image:
    linear-gradient(rgba(13, 104, 117, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 104, 117, 0.035) 1px, transparent 1px);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--brand-bright);
  outline-offset: 4px;
  border-radius: 8px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  min-width: 0;
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header,
main,
.site-footer,
main > section,
.section-divider {
  width: 100%;
  max-width: 100%;
}

.feature-nav-grid,
.plans-grid,
.footer-grid {
  width: 100%;
  min-width: 0;
}

.hero-grid,
.feature-detail-shell {
  min-width: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-height);
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  border-color: var(--line);
}

.nav {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  font-size: 20px;
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  overflow: hidden;
}

.brand-mark img {
  position: absolute;
  width: 58px;
  max-width: none;
  height: 58px;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  object-fit: contain;
}

.brand-mark .logo-light,
.footer-mark .logo-light {
  display: none;
}

html[data-theme="light"] .brand-mark .logo-dark,
html[data-theme="light"] .footer-mark .logo-dark {
  display: none;
}

html[data-theme="light"] .brand-mark .logo-light,
html[data-theme="light"] .footer-mark .logo-light {
  display: block;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
}

.nav-links {
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 650;
  line-height: var(--leading-ui);
  transition: color 150ms ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  gap: 8px;
}

.icon-button,
.lang-button {
  display: inline-flex;
  min-width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.icon-button:hover,
.lang-button:hover {
  border-color: var(--line-strong);
  background: var(--surface-soft);
  transform: translateY(-1px);
}

.icon-button svg {
  width: 19px;
  height: 19px;
}

.lang-button {
  min-width: 54px;
  padding-inline: 10px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 760;
  line-height: 1;
}

.sun-icon,
html[data-theme="light"] .moon-icon {
  display: none;
}

html[data-theme="light"] .sun-icon {
  display: block;
}

.section {
  position: relative;
  padding: 112px 0;
}

main > section[id] {
  scroll-margin-top: calc(var(--nav-height) + 20px);
}

.section--tight {
  padding: 86px 0;
}

.section-label,
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--brand-bright);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: var(--tracking-label);
  line-height: var(--leading-label);
  text-transform: uppercase;
}

.hero-eyebrow {
  margin-bottom: 16px;
  color: var(--brand);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.section-label::before,
.hero-eyebrow::before {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.section-heading {
  max-width: none;
  margin: 0;
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 780;
  letter-spacing: var(--tracking-display-lg);
  line-height: var(--leading-display-lg);
}

.section-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--text-soft);
  font-size: clamp(17px, 2vw, 20px);
  line-height: var(--leading-body-relaxed);
}

.section-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
}

.section-intro .section-copy {
  max-width: 480px;
  margin-bottom: 4px;
}

.hero {
  position: relative;
  overflow-x: clip;
  min-height: calc(100svh - var(--nav-height));
  display: flex;
  align-items: center;
  padding: 72px 0 90px;
  background:
    radial-gradient(ellipse 70% 55% at 82% 18%, rgba(32, 189, 202, 0.12), transparent 58%),
    linear-gradient(180deg, #041011 0%, var(--bg) 78%);
}

html[data-theme="light"] .hero {
  background:
    radial-gradient(ellipse 70% 55% at 82% 18%, rgba(8, 125, 158, 0.08), transparent 58%),
    linear-gradient(180deg, #e7f3f5 0%, var(--bg) 78%);
}

.hero::before {
  position: absolute;
  top: 5%;
  right: -12%;
  width: 660px;
  height: 660px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 189, 202, 0.14), transparent 68%);
  content: "";
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(410px, 0.82fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
}

.hero-copy-content,
.feature-detail-copy,
.feature-detail-visual,
.plan-card,
.footer-grid > * {
  min-width: 0;
}

.hero h1,
.hero-title {
  max-width: none;
  margin: 0;
  color: var(--text);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 780;
  font-style: normal;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.hero-title-lead {
  color: var(--text);
  font-style: normal;
}

.hero-title em {
  color: #1d6d8e;
  font-style: italic;
}

html[data-theme="dark"] .hero-title em {
  color: var(--brand-bright);
}

html[lang="zh-CN"] .hero-title {
  letter-spacing: -0.01em;
  line-height: 1.22;
}

html[lang="zh-CN"] .hero-eyebrow {
  gap: 12px;
  font-size: 15px;
}

html[lang="zh-CN"] .hero-eyebrow::before {
  width: 32px;
}

html[lang="zh-CN"] .hero-title-lead {
  display: inline-block;
  white-space: nowrap;
}

html[lang="zh-CN"] .hero-title-lead br {
  display: none;
}

html[lang="zh-CN"] .hero-copy {
  max-width: 28em;
}

html[lang="zh-CN"] .section-label {
  gap: 12px;
  font-size: 17px;
}

html[lang="zh-CN"] .section-label::before {
  width: 32px;
}

@media (min-width: 821px) {
  #features .section-heading {
    max-width: none;
    font-size: clamp(42px, 4.2vw, 58px);
    white-space: nowrap;
  }
}

.gradient-text {
  color: var(--brand-bright);
  background: linear-gradient(112deg, var(--brand-deep), var(--brand-bright));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: none;
  margin: 40px 0 0;
  color: var(--text-soft);
  font-size: 18px;
  letter-spacing: 0.01em;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 52px;
}

.app-store-badge {
  display: inline-block;
  width: min(200px, 100%);
  aspect-ratio: 119.66407 / 40;
  line-height: 0;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.app-store-badge-image {
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.24));
}

@media (hover: hover) {
  .app-store-badge:hover .app-store-badge-image {
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.24)) brightness(1.28);
  }
}

.app-store-badge:focus-visible .app-store-badge-image {
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.24)) brightness(1.28);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  font-weight: 730;
  letter-spacing: var(--tracking-text);
  line-height: 1.3;
  transition: transform 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.button--primary {
  border-color: transparent;
  background: linear-gradient(105deg, #126b9b, #0c7f8c);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(23, 151, 177, 0.24);
}

.button svg {
  width: 20px;
  height: 20px;
}

.hero-note {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.hero-visual {
  --phone-lg: 288px;
  --phone-sm: 246px;
  --phone-shift: 108px;
  --phone-lg-top: 12px;
  --phone-sm-top: calc(var(--phone-lg-top) + (var(--phone-lg) - var(--phone-sm)) * 2556 / 1179 / 2);
  --phone-cluster: calc(var(--phone-shift) + var(--phone-lg));
  --phone-origin: calc(50% - var(--phone-cluster) / 2);
  position: relative;
  min-width: 0;
  min-height: 680px;
}

.hero-docs-hit {
  position: absolute;
  z-index: 4;
  top: 12%;
  left: var(--phone-origin);
  width: calc(var(--phone-shift) + 40px);
  height: 76%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hero-docs-hit:focus-visible {
  outline: 3px solid var(--brand-bright);
  outline-offset: -4px;
}

.hero-visual.is-docs-front .hero-docs-hit {
  pointer-events: none;
}

@media (hover: none) {
  .hero-docs-hit {
    display: none;
  }
}

.hero-visual .device {
  right: auto;
  bottom: auto;
  max-width: none;
  border-width: 6px;
  border-radius: 46px;
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 320ms ease,
    box-shadow 320ms ease;
}

.device {
  position: absolute;
  overflow: hidden;
  aspect-ratio: 1179 / 2556;
  border: 6px solid #071013;
  border-radius: 46px;
  background: #071013;
  box-shadow: var(--shadow);
}

html[data-theme="light"] .device {
  border-color: #15262a;
  background: #15262a;
}

.device::before {
  position: absolute;
  z-index: 3;
  top: 9px;
  left: 50%;
  width: 82px;
  height: 23px;
  border-radius: 999px;
  background: #050a0b;
  content: "";
  transform: translateX(-50%);
}

.device--main,
.device--map {
  z-index: 2;
  top: var(--phone-lg-top);
  left: calc(var(--phone-origin) + var(--phone-shift));
  width: var(--phone-lg);
  opacity: 1;
  transform-origin: right center;
  transform: scale(1);
}

.device--secondary,
.device--documents {
  z-index: 1;
  top: var(--phone-sm-top);
  left: var(--phone-origin);
  width: var(--phone-sm);
  aspect-ratio: 1179 / 2556;
  opacity: 0.42;
  transform-origin: left center;
  transform: scale(1);
}

.hero-visual.is-docs-front .device--documents {
  z-index: 3;
  opacity: 1;
  transform: scale(calc(var(--phone-lg) / var(--phone-sm)));
}

.hero-visual.is-docs-front .device--map {
  z-index: 1;
  opacity: 0.42;
  transform: scale(calc(var(--phone-sm) / var(--phone-lg)));
}

.device--secondary::before {
  width: 65px;
  height: 18px;
  top: 7px;
}

.theme-media {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.theme-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-divider {
  border-top: 1px solid var(--line);
}

#features {
  padding-bottom: 112px;
}

#plans {
  padding-top: 72px;
}

.feature-nav-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.feature-nav-card {
  display: flex;
  min-width: 0;
  min-height: 148px;
  flex-direction: column;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.feature-nav-card:hover,
.feature-nav-card:focus-visible {
  border-color: var(--line-strong);
  background: var(--surface-soft);
  transform: translateY(-4px);
}

.feature-nav-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  margin-bottom: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--brand);
}

.feature-nav-icon svg {
  width: 16px;
  height: 16px;
}

.feature-nav-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 720;
  letter-spacing: var(--tracking-heading);
  line-height: 1.45;
}

.feature-nav-card p {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.65;
}

.feature-detail {
  overflow: visible;
  padding: 48px 0 160px;
}

.feature-detail:focus {
  outline: none;
}

.feature-detail.is-keyboard-target:focus .feature-detail-copy {
  outline: 3px solid var(--brand-bright);
  outline-offset: 5px;
}

.feature-detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.66fr);
  grid-template-areas: "copy visual";
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.feature-detail-shell--visual-first {
  grid-template-columns: minmax(300px, 0.66fr) minmax(0, 1fr);
  grid-template-areas: "visual copy";
}

.feature-detail-copy {
  grid-area: copy;
  align-self: center;
  min-height: 0;
  padding: clamp(36px, 4.2vw, 56px);
  border: 1px solid color-mix(in srgb, var(--line) 80%, white);
  border-radius: var(--radius-xl);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}

html[data-theme="dark"] .feature-detail-copy {
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.feature-detail-copy .section-label {
  margin-bottom: 18px;
}

.feature-detail-copy h2 {
  max-width: none;
  margin: 0;
  font-size: clamp(32px, 3.6vw, 48px);
  letter-spacing: 0.01em;
  line-height: 1.28;
}

.feature-detail-copy > p:not(.section-label, .privacy-statement, .disclaimer) {
  max-width: none;
  margin: 32px 0 0;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.7;
}

.feature-detail-copy .bullet-list {
  gap: 8px;
  margin-top: 56px;
}

.feature-detail-copy .bullet-list li {
  line-height: 1.45;
}

.feature-detail-copy .privacy-statement {
  margin-top: 20px;
}

.feature-detail-copy .legend {
  margin-top: 56px;
}

.feature-detail-copy .hero-actions {
  margin-top: 28px;
}

.feature-detail-visual {
  position: relative;
  display: grid;
  grid-area: visual;
  align-items: center;
  justify-items: center;
}

.feature-detail-visual .device,
html[data-theme="light"] .feature-detail-visual .device {
  box-sizing: content-box;
}

.feature-detail-visual .theme-media,
.feature-detail-visual .theme-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.feature-detail-visual .theme-shot {
  object-fit: cover;
  object-position: center;
}

.feature-detail-visual > .device {
  position: relative;
  top: auto;
  left: auto;
  width: min(255px, 33.2vh);
  transform: none;
}

.feature-detail-visual:not(.feature-detail-visual--double) > .device {
  -webkit-box-reflect: below 12px linear-gradient(transparent 71%, rgba(0, 0, 0, 0.22));
}

.feature-detail-visual .device::before {
  display: none;
  content: none;
}

.feature-detail-visual--double {
  --privacy-down: calc(200 / 235);
  --privacy-stage: min(235px, 30.6vh);
  grid-template-columns: 1fr;
  align-items: center;
  padding: 28px 0 34px;
}

.privacy-phone {
  display: flex;
  grid-area: 1 / 1;
  align-items: center;
  justify-content: center;
  width: var(--privacy-stage);
  aspect-ratio: 1179 / 2556;
}

.privacy-phone--front {
  z-index: 2;
  transform: translateX(-15%) rotate(-5deg);
}

.privacy-phone--back {
  z-index: 1;
  transform: translateX(34%) rotate(6deg);
}

.privacy-phone .device {
  position: relative;
  top: auto;
  left: auto;
  transform-origin: center center;
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 320ms ease;
}

.privacy-phone--front .device,
.privacy-phone--back .device {
  width: 100%;
}

.privacy-phone--front .device {
  opacity: 1;
  transform: scale(1);
}

.privacy-phone--back .device {
  opacity: 0.86;
  transform: scale(var(--privacy-down));
}

.feature-detail-visual--double.is-back-front .privacy-phone--front {
  z-index: 1;
}

.feature-detail-visual--double.is-back-front .privacy-phone--back {
  z-index: 3;
}

.feature-detail-visual--double.is-back-front .privacy-phone--front .device {
  opacity: 0.86;
  transform: scale(var(--privacy-down));
}

.feature-detail-visual--double.is-back-front .privacy-phone--back .device {
  opacity: 1;
  transform: scale(1);
}

@media (hover: hover) {
  .feature-detail-visual--double {
    cursor: pointer;
  }
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 680;
  line-height: var(--leading-ui);
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend-dot--green { background: var(--green); }
.legend-dot--orange { background: var(--orange); }
.legend-dot--red { background: var(--danger); }

.disclaimer {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 13px;
  line-height: var(--leading-ui);
}

.bullet-list {
  display: grid;
  gap: 18px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-soft);
  line-height: var(--leading-body);
}

.bullet-list li::before {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-bright) 0 3px, transparent 4px);
  content: "";
}

.privacy-statement {
  margin: 30px 0 0;
  padding: 22px 24px;
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--surface-soft);
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  line-height: var(--leading-body);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.plan-card {
  position: relative;
  display: flex;
  min-height: 410px;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.plan-card--featured {
  border-color: var(--line-strong);
  background: linear-gradient(145deg, var(--surface-strong), var(--surface));
}

.plan-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--brand-ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: var(--tracking-label);
  line-height: var(--leading-label);
  text-transform: uppercase;
}

.plan-name {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 720;
  line-height: var(--leading-ui);
}

.plan-price {
  display: flex;
  min-width: 0;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.plan-price strong {
  font-size: clamp(44px, 5vw, 60px);
  letter-spacing: -0.06em;
  line-height: 1;
}

.plan-price span {
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 650;
  line-height: var(--leading-ui);
}

.plan-description {
  margin: 18px 0 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: var(--leading-body);
}

.plan-list {
  display: grid;
  gap: 11px;
  margin: 24px 0 30px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 14px;
  line-height: var(--leading-body);
  list-style: none;
}

.plan-list li::before {
  margin-right: 9px;
  color: var(--brand-bright);
  content: "✓";
  font-weight: 800;
}

.plan-card .button {
  width: 100%;
  margin-top: auto;
}

.plan-note {
  margin: 24px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: var(--leading-ui);
  text-align: left;
}

.cta {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  padding: clamp(46px, 7vw, 86px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background: var(--surface);
  text-align: center;
}

.cta::before {
  position: absolute;
  inset: auto 15% -160px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(40, 189, 201, 0.18), transparent 70%);
  content: "";
  pointer-events: none;
}

.cta h2 {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: var(--tracking-display-xl);
  line-height: var(--leading-display-xl);
  text-align: center;
}

.cta .gradient-text {
  font-style: normal;
}

.cta .app-store-badge {
  position: relative;
  margin: 56px auto 0;
}

.site-footer {
  padding: 56px 0 30px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  gap: 70px;
}

.footer-brand {
  max-width: 520px;
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-description {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: var(--leading-body);
  white-space: nowrap;
}

.footer-mark {
  position: relative;
  width: 34px;
  height: 34px;
  overflow: hidden;
}

.footer-mark img {
  position: absolute;
  width: 54px;
  max-width: none;
  height: 54px;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
}

.footer-column h3 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 13px;
  letter-spacing: var(--tracking-label);
  line-height: var(--leading-label);
  text-transform: uppercase;
}

.footer-column ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: var(--leading-ui);
  list-style: none;
}

.footer-column a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 12px;
  line-height: var(--leading-ui);
}

.apple-trademark {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 11px;
  line-height: var(--leading-ui);
}

@media (max-width: 1040px) {
  .nav-links {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.75fr);
    gap: 36px;
  }

  .hero-visual {
    --phone-lg: 268px;
    --phone-sm: 228px;
    --phone-shift: 96px;
    min-height: 620px;
  }

  .feature-nav-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-detail-shell {
    grid-template-columns: minmax(0, 1fr) minmax(290px, 0.7fr);
  }

  .feature-detail-shell--visual-first {
    grid-template-columns: minmax(290px, 0.7fr) minmax(0, 1fr);
  }

  .feature-detail-visual > .device {
    width: min(255px, 33.2vh);
  }
}

/* Keep the complete two-column hero visible in common laptop and 1080p browser viewports. */
@media (min-width: 821px) and (max-height: 900px) {
  .hero {
    padding: clamp(36px, 5.5vh, 52px) 0 clamp(40px, 6.5vh, 60px);
  }

  .hero-grid {
    gap: clamp(36px, 5vw, 72px);
  }

  .hero h1 {
    font-size: clamp(40px, min(5vw, 7vh), 58px);
  }

  .hero-copy {
    margin-top: 36px;
    font-size: 18px;
  }

  .hero-actions {
    margin-top: 44px;
  }

  .hero-note {
    margin-top: 12px;
  }

  .hero-visual {
    --phone-lg: min(276px, 34vh);
    --phone-sm: min(236px, 29vh);
    --phone-shift: 92px;
    min-height: clamp(480px, calc(100svh - var(--nav-height) - 96px), 620px);
  }
}

@media (max-width: 820px) {
  :root {
    --nav-height: 68px;
  }

  html,
  body {
    overflow-x: hidden;
    overscroll-behavior-x: none;
  }

  body {
    position: relative;
    touch-action: pan-y pinch-zoom;
  }

  .site-header,
  main,
  .site-footer,
  main > section {
    min-width: 0;
    max-width: 100%;
  }

  .hero {
    overflow-x: hidden;
  }

  .feature-detail {
    overflow: visible;
  }

  .section {
    padding: 84px 0;
  }

  .section--tight {
    padding: 68px 0;
  }

  #features {
    padding-top: 72px;
    padding-bottom: 88px;
  }

  #plans {
    padding-top: 56px;
  }

  .feature-detail {
    padding: 30px 0 80px;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy-content {
    text-align: center;
  }

  .hero-eyebrow {
    justify-content: center;
  }

  .hero h1,
  .hero-copy {
    margin-inline: auto;
  }

  .hero-copy {
    text-wrap: pretty;
    text-wrap: balance;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    --phone-lg: 268px;
    --phone-sm: 228px;
    --phone-shift: 92px;
    width: min(100%, 520px);
    min-height: 650px;
    margin: 24px auto 0;
  }

  .section-intro {
    display: block;
  }

  .section-intro .section-copy {
    max-width: 650px;
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }

  .feature-nav-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-detail-shell,
  .feature-detail-shell--visual-first {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual";
    gap: 28px;
  }

  .feature-detail-copy {
    min-height: 0;
    padding: 40px;
  }

  .plan-card {
    min-height: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-description {
    white-space: normal;
  }
}

@media (max-width: 560px) {
  #features {
    padding-bottom: 72px;
  }

  .feature-detail {
    padding: 28px 0 72px;
  }

  .hero-eyebrow {
    align-items: flex-start;
  }

  .hero-eyebrow::before {
    flex: 0 0 20px;
    margin-top: 0.62em;
  }

  html[lang="zh-CN"] .hero-eyebrow,
  html[lang="zh-CN"] .section-label {
    gap: 10px;
    font-size: 15px;
  }

  html[lang="zh-CN"] .hero-eyebrow::before,
  html[lang="zh-CN"] .section-label::before {
    flex-basis: 28px;
    width: 28px;
  }

  .app-store-badge {
    width: 190px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand {
    font-size: 18px;
  }

  .nav-actions {
    gap: 6px;
  }

  .icon-button,
  .lang-button {
    height: 40px;
    min-width: 40px;
  }

  .lang-button {
    min-width: 48px;
    padding-inline: 7px;
  }

  .hero {
    padding-bottom: 68px;
  }

  .hero h1 {
    font-size: clamp(36px, 11vw, 48px);
  }

  html[lang="zh-CN"] .hero h1 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .hero-visual {
    min-height: 550px;
    margin-top: 12px;
  }

  .device {
    border-width: 4px;
    border-radius: 34px;
  }

  .device::before {
    top: 7px;
    width: 62px;
    height: 18px;
  }

  .hero-visual {
    --phone-lg: min(58vw, 230px);
    --phone-sm: min(50vw, 198px);
    --phone-shift: 72px;
  }

  .device--secondary::before {
    width: 48px;
    height: 14px;
  }

  .feature-nav-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .feature-nav-card {
    min-height: 128px;
    padding: 14px;
  }

  .feature-nav-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 10px;
  }

  .feature-nav-card h3 {
    font-size: 15px;
  }

  .feature-nav-card p {
    overflow: hidden;
    margin-top: 5px;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .feature-nav-card:last-child {
    grid-column: 1 / -1;
  }

  .feature-detail-copy {
    padding: 30px 24px;
  }

  .feature-detail-visual > .device {
    width: min(250px, 33.2vh);
  }

  .feature-detail-visual--double {
    --privacy-down: calc(180 / 215);
    --privacy-stage: min(215px, 30.6vh);
  }

  .privacy-phone--front {
    transform: translateX(-12%) rotate(-5deg);
  }

  .privacy-phone--back {
    transform: translateX(24%) rotate(6deg);
  }

  .plan-card {
    padding: 26px 24px;
  }

  #plans .container {
    width: min(calc(100% - 40px), var(--container));
  }

  #plans .section-intro {
    margin-bottom: 32px;
  }

  .plans-grid {
    gap: 18px;
  }

  .plan-badge {
    top: 16px;
    right: 16px;
  }

  .plan-price {
    margin-top: 16px;
  }

  .plan-price strong {
    font-size: clamp(42px, 14vw, 52px);
  }

  .plan-description {
    margin-top: 12px;
  }

  .plan-list {
    gap: 8px;
    margin: 18px 0 22px;
    padding-top: 16px;
  }

  .plan-card .button {
    min-height: 50px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 359px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .brand {
    gap: 7px;
    font-size: 17px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .nav {
    gap: 10px;
  }

  .nav-actions {
    gap: 4px;
  }

  .icon-button,
  .lang-button {
    min-width: 38px;
    height: 38px;
  }

  .lang-button {
    min-width: 44px;
  }

  .feature-nav-grid {
    grid-template-columns: 1fr;
  }

  .feature-nav-card,
  .feature-nav-card:last-child {
    display: grid;
    min-height: 98px;
    grid-column: auto;
    grid-template-columns: 36px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    column-gap: 13px;
    padding: 14px 16px;
  }

  .feature-nav-icon {
    grid-row: 1 / 3;
    margin: 0;
  }

  .feature-nav-card h3,
  .feature-nav-card p {
    grid-column: 2;
  }

  #plans .container {
    width: min(calc(100% - 40px), var(--container));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .device--main,
  .device--secondary,
  .hero-visual.is-docs-front .device--documents,
  .hero-visual.is-docs-front .device--map {
    transform: none;
  }

}
