:root {
  color-scheme: light;
  --brand-aqua: #0fd4d1;
  --brand-sky: #14d1ff;
  --brand-navy: #031424;
  --brand-deep: #000a1a;
  --brand-ice: #e0faff;
  --mobile-legal-header-space: 77px;
  --mobile-legal-app-chrome-space: 96px;
  --ink: var(--brand-navy);
  --muted: #456372;
  --line: rgba(3, 20, 36, 0.13);
  --paper: #f8feff;
  --soft: var(--brand-ice);
  --green: var(--brand-aqua);
  --teal: var(--brand-sky);
  --gold: var(--brand-aqua);
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(0, 10, 26, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html[data-lang="en"] [data-i18n-lang="zh"],
html[data-lang="zh"] [data-i18n-lang="en"] {
  display: none !important;
}

body[data-draft-token]:not(.draft-access-granted) > .site-header,
body[data-draft-token]:not(.draft-access-granted) > main,
body[data-draft-token]:not(.draft-access-granted) > .site-footer {
  display: none;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, "Google Sans", "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    sans-serif;
  line-height: 1.6;
}

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

body a[href="mailto:support@ridevox.app"],
.support-email {
  color: var(--brand-sky);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(20, 209, 255, 0.52);
  text-underline-offset: 4px;
}

.draft-gate {
  display: grid;
  min-height: 100vh;
  padding: clamp(28px, 6vw, 72px);
  place-items: center;
  background:
    linear-gradient(90deg, rgba(0, 10, 26, 0.94), rgba(3, 20, 36, 0.72)),
    var(--brand-deep);
}

.draft-gate-panel {
  width: min(560px, 100%);
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--white);
  background: rgba(224, 250, 255, 0.09);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.draft-gate-panel h1 {
  max-width: 100%;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.draft-gate-panel p:last-child {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    180deg,
    rgba(0, 10, 26, 0.92) 0%,
    rgba(0, 10, 26, 0.74) 72%,
    rgba(0, 10, 26, 0.24) 100%
  );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header.solid {
  position: sticky;
  color: var(--white);
  background: var(--brand-deep);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-wordmark {
  display: block;
  color: transparent;
  background: linear-gradient(135deg, var(--brand-ice) 0%, var(--brand-aqua) 45%, var(--brand-sky) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 7px rgba(0, 10, 26, 0.45));
  font-family:
    ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.875rem, 2.8vw, 2.25rem);
  font-weight: 1000;
  letter-spacing: 0;
  line-height: 0.95;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.94rem;
}

.nav-links a {
  padding: 8px 0;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.3);
}

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

.language-switcher {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.language-switcher button {
  min-width: 46px;
  min-height: 32px;
  padding: 6px 10px;
  border: 0;
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.8);
  background: transparent;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
}

.language-switcher button.is-active {
  color: #162018;
  background: var(--white);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 10, 26, 0.9) 0%, rgba(3, 20, 36, 0.72) 38%, rgba(3, 20, 36, 0.24) 72%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.18));
}

.hero-content {
  width: min(760px, calc(100% - 40px));
  margin: auto auto 12vh clamp(20px, 7vw, 96px);
  padding-top: 96px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--green);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.16;
}

h1 {
  max-width: 11em;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  font-weight: 850;
}

.hero h1 {
  max-width: 14em;
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.58rem, 3vw, 2.65rem);
  font-weight: 780;
}

h3 {
  font-size: 1.18rem;
}

.hero-subtitle {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.42rem);
  font-weight: 650;
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 750;
}

.button.primary {
  color: var(--brand-deep);
  background: linear-gradient(135deg, var(--brand-aqua), var(--brand-sky));
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 64px);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(32px, 7vw, 88px);
  align-items: start;
}

.section-intro {
  background: var(--paper);
}

.prose {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.3vw, 1.16rem);
}

.prose p {
  margin: 0;
}

.prose p + p {
  margin-top: 18px;
}

.soft-band {
  background: var(--soft);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 34px;
}

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

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

.feature-card {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.feature-number {
  display: block;
  margin-bottom: 38px;
  color: var(--teal);
  font-weight: 850;
}

.feature-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.feature-card-planned {
  border-color: rgba(20, 209, 255, 0.34);
  background: linear-gradient(180deg, #ffffff 0%, var(--brand-ice) 100%);
}

.feature-card-planned .feature-number {
  color: var(--gold);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(32px, 7vw, 88px);
}

.muted {
  margin: 18px 0 0;
  color: var(--muted);
}

.info-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.info-list div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.info-list dt {
  color: var(--muted);
  font-weight: 700;
}

.info-list dd {
  margin: 0;
  font-weight: 680;
}

.info-list a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-page {
  background: var(--soft);
}

.legal-main {
  min-height: 70vh;
}

.legal-hero {
  padding: clamp(64px, 9vw, 104px) clamp(20px, 5vw, 64px) clamp(40px, 6vw, 72px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 10, 26, 0.97), rgba(3, 20, 36, 0.8)),
    var(--brand-deep);
}

.legal-hero h1 {
  max-width: 980px;
  font-size: clamp(2.4rem, 5.4vw, 5rem);
}

.legal-date {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
}

.legal-content {
  padding-top: clamp(36px, 6vw, 72px);
}

.legal-card {
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.legal-card h2 {
  margin-top: 34px;
  font-size: clamp(1.28rem, 2.4vw, 1.8rem);
}

.legal-card h3 {
  margin-top: 24px;
  font-size: 1.08rem;
}

.legal-card h2:first-of-type {
  margin-top: 26px;
}

.legal-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.legal-card a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-card ul {
  margin: 16px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.legal-card li + li {
  margin-top: 8px;
}

.faq-item {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8feff;
}

.faq-item summary {
  padding: 16px 18px;
  color: var(--ink);
  font-weight: 760;
  cursor: pointer;
}

.faq-item p {
  margin: 0;
  padding: 0 18px 18px;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 32px);
  margin-top: 24px;
}

.app-screenshot {
  margin: 0;
}

.app-screenshot img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--brand-deep);
  box-shadow: 0 14px 38px rgba(0, 10, 26, 0.14);
}

.app-screenshot figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.dark-band {
  color: var(--white);
  background: var(--brand-navy);
}

.dark-band .prose {
  color: rgba(255, 255, 255, 0.76);
}

.ride-flow-layout,
.support-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 7vw, 88px);
  align-items: start;
}

.flow-list {
  display: grid;
  gap: 18px;
}

.flow-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.flow-item span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--brand-deep);
  background: linear-gradient(135deg, var(--brand-aqua), var(--brand-sky));
  font-weight: 850;
}

.flow-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 600;
}

.support-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.support-link-grid a {
  display: block;
  min-height: 132px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(0, 10, 26, 0.08);
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.support-link-grid a:hover {
  border-color: rgba(20, 209, 255, 0.42);
  box-shadow: 0 18px 42px rgba(0, 10, 26, 0.12);
  transform: translateY(-2px);
}

.support-link-grid strong,
.support-link-grid small {
  display: block;
}

.support-link-grid strong {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.25;
}

.support-link-grid small {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.english-copy {
  font-size: 1.05rem;
}

.site-footer {
  padding: 30px clamp(20px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.76);
  background: var(--brand-deep);
}

.footer-inner {
  display: flex;
  width: min(1120px, 100%);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.94rem;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1080px) {
  .feature-grid-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    padding: 16px 20px;
  }

  .site-header.solid {
    position: sticky;
  }

  body.legal-page.mobile-chrome-page.hide-page-header .site-header.solid {
    display: none;
  }

  body.legal-page.mobile-chrome-page.hide-page-header .legal-hero {
    padding-top: calc(var(--mobile-legal-header-space) + var(--mobile-legal-app-chrome-space));
  }

  body.legal-page.mobile-chrome-page.hide-page-header .legal-hero .eyebrow,
  body.legal-page.mobile-chrome-page.hide-page-header .legal-hero h1 {
    display: none !important;
  }

  body.legal-page.mobile-chrome-page.hide-page-header .legal-date {
    margin-top: 0;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    width: calc(100% - 40px);
    margin: auto 20px 9vh;
  }

  .two-column,
  .contact-layout,
  .ride-flow-layout,
  .support-layout,
  .feature-grid,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .support-link-grid {
    grid-template-columns: 1fr;
  }

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

  .info-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-inner {
    display: block;
  }

  .footer-inner p + p {
    margin-top: 6px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 2.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.55rem;
  }

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

  .button {
    width: 100%;
  }
}
