: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;
  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: 54px;
  max-width: none;
  height: 54px;
  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;
}

.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 {
  overflow: clip;
  min-height: calc(100svh - var(--nav-height));
  display: flex;
  align-items: center;
  padding: 72px 0 90px;
}

.hero::before {
  position: absolute;
  top: 5%;
  right: -12%;
  width: 660px;
  height: 660px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 189, 202, 0.16), 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 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(52px, 6.7vw, 86px);
  font-weight: 790;
  letter-spacing: var(--tracking-display-xl);
  line-height: var(--leading-display-xl);
}

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

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: 32em;
}

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 {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--text-soft);
  font-size: clamp(18px, 2vw, 22px);
  line-height: var(--leading-body-relaxed);
}

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

.app-store-badge {
  display: inline-block;
  width: min(200px, 100%);
  aspect-ratio: 119.66407 / 40;
  line-height: 0;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.24));
  transition: filter 150ms ease;
}

.app-store-badge:hover {
  filter: drop-shadow(0 13px 23px rgba(0, 0, 0, 0.3));
}

.app-store-badge-image {
  width: 100%;
  height: auto;
}

.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: 19px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: var(--leading-ui);
}

.hero-visual {
  position: relative;
  min-width: 0;
  min-height: 680px;
}

.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 {
  z-index: 2;
  top: 0;
  right: 18px;
  width: 300px;
  max-width: 100%;
}

.device--secondary {
  z-index: 1;
  bottom: 0;
  left: 0;
  width: 255px;
  aspect-ratio: 1179 / 2556;
  border-width: 5px;
  border-radius: 38px;
  opacity: 0.93;
  transform: rotate(-7deg);
}

.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;
}

.hero-tags {
  position: absolute;
  z-index: 5;
  right: -12px;
  bottom: 72px;
  display: grid;
  gap: 9px;
}

.hero-tag {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 9px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--shadow-soft);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 720;
  line-height: var(--leading-ui);
  backdrop-filter: blur(12px);
}

.hero-tag::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-bright);
  content: "";
}

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

#features {
  padding-bottom: 48px;
}

#plans {
  padding-top: 72px;
}

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

.feature-nav-card {
  display: flex;
  min-width: 0;
  min-height: 154px;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  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: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: var(--surface-soft);
  color: var(--brand-bright);
}

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

.feature-nav-card h3 {
  margin: 0;
  font-size: 17px;
  letter-spacing: var(--tracking-heading);
  line-height: var(--leading-heading);
}

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

.feature-detail {
  overflow: clip;
  padding: 40px 0;
}

.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: 420px;
  padding: clamp(32px, 4.2vw, 60px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
}

.feature-detail-copy h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(34px, 3.8vw, 56px);
  letter-spacing: var(--tracking-display-lg);
  line-height: var(--leading-display-lg);
}

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

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

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

.feature-detail-visual--double {
  grid-template-columns: 1fr;
  align-items: center;
  padding: 28px 0 34px;
}

.feature-detail-visual--double > .device:first-child {
  z-index: 2;
  grid-area: 1 / 1;
  top: auto;
  left: auto;
  width: min(235px, 30.6vh);
  transform: translateX(-15%) rotate(-5deg);
}

.feature-detail-visual--double > .device:last-child {
  z-index: 1;
  grid-area: 1 / 1;
  top: auto;
  left: auto;
  width: min(200px, 26vh);
  opacity: 0.86;
  transform: translate(34%, 5%) rotate(6deg);
}

.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: 14px;
  margin: 30px 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 auto 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: var(--leading-ui);
  text-align: center;
}

.cta {
  overflow: hidden;
  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;
  max-width: 800px;
  margin: 0 auto;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: var(--tracking-display-xl);
  line-height: var(--leading-display-xl);
}

.cta p {
  position: relative;
  max-width: 580px;
  margin: 22px auto 30px;
  color: var(--text-soft);
  font-size: 18px;
  line-height: var(--leading-body-relaxed);
}

.cta .app-store-badge {
  position: relative;
}

.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: 360px;
}

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

.footer-brand p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: var(--leading-body);
}

.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 {
    min-height: 620px;
  }

  .device--main {
    right: 8px;
    width: 270px;
  }

  .device--secondary {
    width: 220px;
  }

  .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(56px, min(6.7vw, 8.8vh), 78px);
  }

  .hero-copy {
    margin-top: 20px;
    font-size: clamp(18px, min(2vw, 2.35vh), 21px);
  }

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

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

  .hero-visual {
    min-height: clamp(480px, calc(100svh - var(--nav-height) - 96px), 620px);
  }

  .device--main {
    right: 18px;
    width: min(280px, 34vh);
  }

  .device--secondary {
    left: 8px;
    width: min(235px, 28.5vh);
  }

  .hero-tags {
    right: -6px;
    bottom: 48px;
  }
}

@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,
  .feature-detail {
    overflow-x: hidden;
  }

  .hero-tags,
  .hero-tag {
    max-width: 100%;
  }

  .section {
    padding: 84px 0;
  }

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

  #features {
    padding-bottom: 36px;
  }

  #plans {
    padding-top: 56px;
  }

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

  .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 {
    width: min(100%, 520px);
    min-height: 650px;
    margin: 24px auto 0;
  }

  .device--main {
    right: 34px;
    width: 280px;
  }

  .device--secondary {
    left: 20px;
    width: 225px;
  }

  .hero-tags {
    right: 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;
  }
}

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

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

  .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(46px, 15vw, 65px);
  }

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

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

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

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

  .device--main {
    right: 8px;
    width: min(62vw, 235px);
  }

  .device--secondary {
    left: 12px;
    width: min(46vw, 174px);
    border-radius: 30px;
  }

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

  .hero-tags {
    right: 0;
    bottom: 45px;
  }

  .hero-tag {
    padding: 7px 10px;
    font-size: 11px;
  }

  .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: 36px;
    height: 36px;
    margin-bottom: 12px;
  }

  .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 > .device:first-child {
    width: min(215px, 30.6vh);
    transform: translateX(-12%) rotate(-5deg);
  }

  .feature-detail-visual--double > .device:last-child {
    width: min(180px, 26vh);
    transform: translate(24%, 5%) 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;
  }

}
