/* Vamo landing — usavamo.com. No build step. Tokens mirror docs/brand/README.md */
:root {
  --blue: #1E6FE0;
  --blue-hover: #1A60C4;
  --blue-soft: #E6EFFC;
  --navy: #171B2C;
  --surface: #FFFFFF;
  --elevated: #F1F4F9;
  --text: #101828;
  --muted: #475467;
  --outline: #E2E6EE;
  --accent-text: #1B64CC;
  --sea-1: #D7E6FB;
  --sea-2: #B9D3F7;
  --on-blue: #FFFFFF;
  --band: #171B2C;
  --band-text: #F1F4F9;
  --band-muted: #B4BDCE;
  --band-card: #20263A;
  --band-outline: #2E3650;
  --focus: #1E6FE0;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 12px 32px -12px rgba(16, 24, 40, .18);

  --r-chip: 10px;
  --r-control: 12px;
  --r-card: 14px;
  --r-panel: 16px;
  --r-sheet: 28px;
  --r-pill: 999px;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: 16px;
  --maxw: 1160px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #111A2E;
    --elevated: #1B2740;
    --text: #F1F4F9;
    --muted: #A9B4C8;
    --outline: #2A3752;
    --accent-text: #7FB0F7;
    --blue-soft: #1A2D52;
    --sea-1: #16284A;
    --sea-2: #1B335E;
    --band: #0B1222;
    --band-card: #16203A;
    --band-outline: #25324F;
    --focus: #7FB0F7;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--font-head); color: var(--text); line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--blue); color: var(--on-blue); padding: 10px 16px;
  border-radius: var(--r-control); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }

/* ---------- Wordmark ---------- */
.wordmark img { width: 110px; height: 26px; }
.lockup img { width: 186px; height: 60px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
@supports not (background: color-mix(in srgb, red 50%, transparent)) {
  .site-header { background: var(--surface); }
}
.site-header.is-scrolled { border-bottom-color: var(--outline); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.wordmark { display: inline-flex; flex-shrink: 0; border-radius: 6px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--r-control);
  border: 1px solid var(--outline); background: var(--surface); color: var(--text); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav { display: none; }
.site-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--surface); border-bottom: 1px solid var(--outline);
  padding: 8px var(--gutter) 16px; box-shadow: var(--shadow);
}
.site-nav ul { list-style: none; display: flex; flex-direction: column; }
.site-nav a {
  display: block; padding: 12px 8px; color: var(--text); text-decoration: none;
  font-weight: 500; border-radius: var(--r-control);
}
.site-nav a:hover { background: var(--elevated); }

.lang-switch {
  display: inline-flex; align-items: center; padding: 3px;
  border: 1px solid var(--outline); border-radius: var(--r-pill); font-size: .8125rem; font-weight: 600;
}
.lang-switch a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 30px; padding: 0 8px;
  color: var(--muted); text-decoration: none; border-radius: var(--r-pill); letter-spacing: .04em;
}
.lang-switch a[aria-current="true"] { background: var(--text); color: var(--surface); }
.lang-switch a:not([aria-current="true"]):hover { color: var(--text); }

.btn.header-cta { display: none; }
@media (min-width: 480px) { .btn.header-cta { display: inline-flex; } }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open {
    display: block; position: static; padding: 0; background: none; border: 0; box-shadow: none; margin-left: 24px;
  }
  .site-nav ul { flex-direction: row; gap: 2px; }
  .site-nav a { padding: 8px 12px; font-size: .9375rem; color: var(--muted); }
  .site-nav a:hover { color: var(--text); }
  .btn.header-cta { display: inline-flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: var(--r-card);
  font: 600 .9375rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; border: 1px solid transparent; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn-primary { background: var(--blue); color: var(--on-blue); }
.btn-primary:hover { background: var(--blue-hover); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--outline); }
.btn-secondary:hover { background: var(--elevated); }
.btn-small { min-height: 40px; padding: 8px 14px; border-radius: var(--r-control); font-size: .875rem; }

.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 60px; padding: 10px 14px; width: 300px; max-width: 100%;
  background: var(--navy); color: #FFFFFF; border-radius: var(--r-card);
  text-decoration: none; border: 1px solid var(--navy);
}
@media (prefers-color-scheme: dark) { .store-btn { background: #FFFFFF; color: var(--navy); border-color: #FFFFFF; } }
.store-btn[aria-disabled="true"] { cursor: default; }
.store-btn svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-btn .store-text { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.store-btn .store-kicker { font-size: .6875rem; opacity: .8; letter-spacing: .02em; }
.store-btn .store-name { font: 700 1.0625rem/1.2 var(--font-head); }
.pill {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px; margin-left: auto;
  border-radius: var(--r-pill); font-size: .6875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: var(--blue); color: #FFFFFF; white-space: nowrap;
}

/* ---------- Tagline ---------- */
.tagline {
  font-family: var(--font-body); font-weight: 600; font-size: .8125rem;
  letter-spacing: .32em; text-transform: uppercase; color: var(--accent-text);
}
.tagline span { white-space: nowrap; }

/* ---------- Sections ---------- */
.section { padding-block: 72px; }
@media (min-width: 768px) { .section { padding-block: 104px; } }
.section-alt { background: var(--elevated); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 12px;
}
.section h2 { font-size: clamp(1.875rem, 1.3rem + 2.4vw, 2.75rem); font-weight: 800; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.0625rem; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: 40px; overflow: hidden; }
@media (min-width: 768px) { .hero { padding-top: 72px; } }
.hero-grid { display: grid; gap: 48px; align-items: center; position: relative; z-index: 1; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.2fr .8fr; gap: 48px; } }
.hero h1 {
  font-size: clamp(2.5rem, 1.6rem + 4.4vw, 4.5rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02;
  margin-top: 18px; text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--blue); }
@media (prefers-color-scheme: dark) { .hero h1 em { color: var(--accent-text); } }
.hero .lede { margin-top: 20px; font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); color: var(--muted); max-width: 560px; }
.hero .store-buttons { margin-top: 32px; }
.hero-note { margin-top: 16px; font-size: .9375rem; color: var(--muted); }

.hero-sea { position: relative; margin-top: 56px; height: 120px; color: var(--sea-1); }
@media (min-width: 960px) { .hero-sea { margin-top: -40px; height: 170px; } }
.hero-sea svg { position: absolute; inset: auto 0 0 0; width: 100%; height: 100%; }
.hero-sea .wave-back { fill: var(--sea-1); }
.hero-sea .wave-mid { fill: var(--sea-2); }
.hero-sea .wave-front { fill: var(--elevated); }

/* Phone mock (decorative) — sheet 28 / inset 16 / inner 12, per brand concentric corners */
.phone {
  width: min(100%, 340px); margin-inline: auto; background: var(--surface);
  border: 1px solid var(--outline); border-radius: var(--r-sheet); box-shadow: var(--shadow); overflow: hidden;
}
.phone-map { position: relative; height: 210px; background: var(--sea-1); }
.phone-map svg { width: 100%; height: 100%; }
.phone-map .land { fill: var(--surface); opacity: .9; }
.phone-map .route { stroke: var(--blue); stroke-width: 3; stroke-dasharray: 6 7; fill: none; stroke-linecap: round; }
.phone-map .pin-a { fill: var(--navy); }
@media (prefers-color-scheme: dark) { .phone-map .pin-a { fill: #F1F4F9; } }
.phone-map .pin-b { fill: var(--blue); }
.phone-sheet { padding: 16px; display: grid; gap: 12px; }
.trip-row { display: flex; align-items: center; gap: 12px; }
.trip-dots { display: grid; gap: 4px; justify-items: center; }
.trip-dots i { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--navy); }
@media (prefers-color-scheme: dark) { .trip-dots i { background: #F1F4F9; } }
.trip-dots i:last-child { background: var(--blue); border-radius: 2px; }
.trip-dots b { display: block; width: 2px; height: 14px; background: var(--outline); }
.trip-places { display: grid; gap: 6px; font-size: .875rem; font-weight: 600; }
.offer {
  display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r-control);
  background: var(--elevated); font-size: .8125rem;
}
.offer .avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--blue-soft); color: var(--accent-text);
  display: grid; place-items: center; flex-shrink: 0;
}
.offer .avatar svg { width: 20px; height: 20px; }
.offer strong { display: block; font-size: .875rem; }
.offer span { color: var(--muted); }
.offer .check { margin-left: auto; color: var(--blue); width: 20px; height: 20px; }
.mock-btn {
  display: flex; align-items: center; justify-content: center; height: 44px; border-radius: var(--r-control);
  background: var(--blue); color: #FFFFFF; font-weight: 700; font-size: .9375rem;
}
.mock-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mock-chips span {
  font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--blue-soft); color: var(--accent-text);
}

/* ---------- Services ---------- */
.services { padding-top: 24px; }
.card-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .card-grid.four { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: var(--surface); border: 1px solid var(--outline); border-radius: var(--r-panel);
  padding: 24px; display: flex; flex-direction: column; gap: 14px;
}
.icon-tile {
  width: 48px; height: 48px; border-radius: var(--r-control); display: grid; place-items: center;
  background: var(--blue-soft); color: var(--accent-text);
}
.icon-tile svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.25rem; font-weight: 800; }
.card > p { color: var(--muted); }
.checks { list-style: none; display: grid; gap: 8px; margin-top: auto; padding-top: 6px; font-size: .9375rem; }
.checks li { position: relative; padding-left: 26px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step {
  position: relative; padding: 28px 24px; border-radius: var(--r-panel);
  background: var(--surface); border: 1px solid var(--outline);
}
.step-word {
  font: 800 clamp(2.5rem, 2rem + 2vw, 3.5rem)/1 var(--font-head); letter-spacing: -0.03em; color: var(--text);
  display: flex; align-items: baseline; gap: 2px;
}
.step-word::after { content: "."; color: var(--blue); }
.step-num {
  position: absolute; top: 24px; right: 24px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: .875rem;
  border: 1px solid var(--outline); color: var(--muted);
}
.step h3 { font-size: 1.125rem; font-weight: 700; margin-top: 18px; }
.step p { color: var(--muted); margin-top: 8px; }

/* ---------- Trust ---------- */
.trust-grid { list-style: none; display: grid; gap: 28px 32px; }
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
.trust-item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.trust-item .icon-tile { width: 44px; height: 44px; }
.trust-item .icon-tile svg { width: 22px; height: 22px; }
.trust-item h3 { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; }
.trust-item p { color: var(--muted); margin-top: 4px; font-size: .9375rem; }

/* ---------- Work band ---------- */
.band { background: var(--band); color: var(--band-text); }
.band h2, .band h3 { color: #FFFFFF; }
.band .eyebrow { color: #8DB8F8; }
.band .section-head p { color: var(--band-muted); }
.band .card { background: var(--band-card); border-color: var(--band-outline); }
.band .card > p { color: var(--band-muted); }
.band .icon-tile { background: rgba(30, 111, 224, .22); color: #A8CBFA; }
.band .checks li::before { background-color: var(--blue); }
.band .btn-primary { margin-top: 8px; align-self: flex-start; }
.card-grid.three { gap: 16px; }
@media (min-width: 960px) { .card-grid.three { grid-template-columns: repeat(3, 1fr); } }
.band-wave { display: block; width: 100%; height: 48px; color: var(--band); }
.band-wave path { fill: currentColor; }

/* ---------- Download ---------- */
.download-panel {
  position: relative; overflow: hidden; text-align: center;
  background: var(--elevated); border-radius: var(--r-sheet); padding: 56px 20px 64px;
}
@media (min-width: 768px) { .download-panel { padding: 72px 48px 96px; } }
.download-panel h2 { max-width: 640px; margin-inline: auto; }
.download-panel > p { color: var(--muted); max-width: 560px; margin: 14px auto 0; font-size: 1.0625rem; }
.download-panel .store-buttons { justify-content: center; margin-top: 32px; }
.download-panel .tagline { margin-bottom: 14px; }
.beta-line {
  margin-top: 28px; display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px;
  font-size: .9375rem; color: var(--muted);
}
.download-wave { position: absolute; left: 0; right: 0; bottom: 0; height: 44px; width: 100%; color: var(--sea-2); }
.download-wave path { fill: currentColor; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 56px; } }
.faq-list { display: grid; gap: 10px; }
.faq-list details {
  border: 1px solid var(--outline); border-radius: var(--r-card); background: var(--surface);
}
.faq-list summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; position: relative;
  font-weight: 600; font-size: 1.0625rem; border-radius: var(--r-card);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-list details > p { padding: 0 20px 20px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--outline); padding-block: 48px 40px; font-size: .9375rem; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand p { margin-top: 12px; color: var(--muted); }
.footer-col h2 { font: 700 .8125rem/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-col a { color: var(--text); text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-bottom {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--outline);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--muted); font-size: .875rem;
}

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 48px var(--gutter); }
.notfound .inner { max-width: 520px; display: grid; gap: 16px; justify-items: center; }
.notfound h1 { font-size: clamp(2rem, 1.5rem + 3vw, 3rem); font-weight: 800; }
.notfound p { color: var(--muted); }
.notfound .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-sea .wave-mid { animation: drift 14s ease-in-out infinite alternate; }
  .hero-sea .wave-back { animation: drift 20s ease-in-out infinite alternate-reverse; }
  .store-btn:not([aria-disabled="true"]):hover, .btn-primary:hover { transform: translateY(-1px); }
}
@keyframes drift { from { transform: translateX(-2%); } to { transform: translateX(2%); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Band wave variants: top sits on the (alt) section before the band, bottom flips onto the surface after it */
.band-wave.after-alt { background: var(--elevated); }
.band-wave.bottom { background: var(--surface); transform: scaleY(-1); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
@media (min-width: 900px) { .nav-only-mobile { display: none; } }
.section-head p.eyebrow { color: var(--accent-text); margin-top: 0; font-size: .8125rem; }
.band .section-head p.eyebrow { color: #8DB8F8; }
.download-panel > p.tagline { color: var(--accent-text); margin: 0 auto 14px; font-size: .8125rem; }
.store-btn { text-align: left; }
