/*
 * NativeTravel landing — static adaptation of the flagship platform landing
 * (apps/web/components/landing/Landing.tsx). Same sections and copy, no
 * canvas globe / animated scenes; signature effects (grain, grid, underline,
 * marquee, rise) are ported from landing.css. Tokens are the NTA 2.0 palette
 * (tenants/nta/brand.json ← packages/ui globals.css) — re-sync on change.
 */

:root {
  --paper: #f1f5f2;
  --bone: #e8eee9;
  --stone: #d4ded7;
  --cream: #fbfdfb;
  --ink: #16201b;
  --ink-soft: #2e3a33;
  --mute: #5e6a61;
  --line: #e1e8e2;
  --line-soft: #ecf1ed;
  --accent: #057857;
  --accent-ink: #036549;
  --accent-soft: #a7e8d0;
  --accent-text: #fbfdfb;
  --star: #e2b96a;
  --edge-soft: rgba(22, 32, 27, 0.055);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0e1310;
    --bone: #161d18;
    --stone: #1f2823;
    --cream: #161d18;
    --ink: #eaf0ec;
    --ink-soft: #c2ccc5;
    --mute: #8a968e;
    --line: #232c26;
    --line-soft: #1c2420;
    --accent: #10b981;
    --accent-ink: #34d399;
    --accent-soft: #114a3b;
    --accent-text: #0e1310;
    --edge-soft: rgba(234, 240, 236, 0.05);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* film grain over everything */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  body::before { mix-blend-mode: screen; opacity: 0.05; }
}

.font-editorial, .ed {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-weight: 500;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
a { color: var(--accent-ink); }

.kicker {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}

h2.display {
  font-size: clamp(30px, 4.5vw, 46px);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 14px 0;
}
h2.display .ed, h1 .ed { color: var(--accent); font-weight: 500; }

/* ── pilot banner ── */
.pilot-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--accent);
  color: var(--accent-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
.pilot-banner strong { font-weight: 700; }
.pilot-banner .go { text-decoration: underline; text-underline-offset: 3px; }
.pilot-banner:hover { background: var(--accent-ink); color: var(--accent-text); }
@media (prefers-color-scheme: dark) {
  .pilot-banner:hover { background: var(--accent-soft); color: var(--ink); }
}

/* ── nav ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: color-mix(in oklab, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.site-header .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand .letters { font-weight: 700; font-size: 24px; letter-spacing: -0.045em; }
.brand .domain { font-size: 14px; color: var(--accent); transform: translateY(-4px); }
.nav-links { display: flex; gap: 26px; }
.nav-links a { font-size: 14px; color: var(--mute); text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 10px; }
@media (max-width: 760px) {
  .nav-links { display: none; }
  .brand .domain { display: none; }
}

.lang-switch {
  display: inline-flex;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: var(--cream);
}
.lang-switch a, .lang-switch span {
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  color: var(--mute);
}
.lang-switch .active { background: var(--accent); color: var(--accent-text); }

/* ── buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 0 24px;
  height: 48px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-sm { height: 36px; padding: 0 16px; font-size: 13.5px; }
.btn-primary { background: var(--accent); color: var(--accent-text); box-shadow: 0 8px 20px -8px color-mix(in oklab, var(--accent) 55%, transparent); }
.btn-primary:hover { background: var(--accent-ink); color: var(--accent-text); }
@media (prefers-color-scheme: dark) { .btn-primary:hover { background: var(--accent-soft); color: var(--ink); } }
.btn-ghost { border-color: var(--stone); color: var(--ink); background: var(--cream); }
.btn-ghost:hover { border-color: var(--accent); }
.btn .arr { transition: transform 0.25s; }
.btn:hover .arr { transform: translateX(3px); }

/* ── hero ── */
.hero { position: relative; }
.hero .grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--edge-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--edge-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
}
.hero .inner { position: relative; padding: 84px 0 72px; }
.hero .hk { margin-bottom: 18px; }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 14em;
}
.hero .sub {
  margin: 24px 0 0;
  max-width: 36em;
  font-size: clamp(17px, 2.1vw, 20px);
  color: var(--ink-soft);
  line-height: 1.6;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* hand-drawn underline under the accent word */
.u { position: relative; white-space: nowrap; }
.u::after {
  content: '';
  position: absolute;
  left: -2%; right: -2%; bottom: 0.06em;
  height: 0.3em;
  background: var(--accent);
  opacity: 0.35;
  border-radius: 999px;
  z-index: -1;
}

/* rise-in */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.rise { opacity: 0; animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

/* metrics ledger */
.metrics {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 48px;
  max-width: 680px;
}
@media (min-width: 900px) { .metrics { grid-template-columns: repeat(4, 1fr); max-width: none; } }
.metric { border-left: 2px solid color-mix(in oklab, var(--accent) 40%, var(--line)); padding-left: 16px; }
.metric .num { font-size: clamp(30px, 3vw, 38px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.metric .lab { margin-top: 7px; font-size: 14px; font-weight: 600; }
.metric .sub {
  margin-top: 3px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mute);
  white-space: pre-line;
}

/* ── city marquee ── */
.marquees { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bone); }
.marquee {
  overflow: hidden;
  padding: 10px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee + .marquee { border-top: 1px solid var(--line-soft); }
.marquee .track { display: flex; width: max-content; animation: marq 42s linear infinite; }
.marquee.rev .track { animation-direction: reverse; animation-duration: 50s; }
.marquee.slow .track { animation-duration: 58s; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
.city {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px;
  color: var(--mute);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.city svg { color: var(--accent); flex: none; }

/* ── sections ── */
section.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: color-mix(in oklab, var(--bone) 65%, var(--paper)); }
.section-pad { padding: 88px 0; }
.two-col { display: grid; gap: 44px; align-items: center; }
@media (min-width: 980px) { .two-col { grid-template-columns: 1fr 1.1fr; gap: 72px; } .two-col.flip > .txt { order: 2; } .two-col.flip > .vis { order: 1; } }
.two-col .txt .blurb { font-size: 17.5px; color: var(--ink-soft); line-height: 1.65; margin: 18px 0 0; }
.two-col .txt .btn { margin-top: 26px; }

/* reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
[data-reveal].in { opacity: 1; transform: none; }

/* checks list */
.checks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 11px; }
.checks li { display: flex; align-items: center; gap: 10px; }
.checks svg { color: var(--accent); flex: none; }

/* chat card (AI demo) */
.chat-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 24px 60px -36px rgba(22, 32, 27, 0.35);
}
.chat-card .head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--mute);
}
.chat-card .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 18%, transparent); }
.bubble { max-width: 85%; border-radius: 18px; padding: 11px 15px; font-size: 14.5px; line-height: 1.5; }
.bubble.user { margin: 18px 0 0 auto; background: var(--accent); color: var(--accent-text); border-bottom-right-radius: 6px; }
.bubble.bot { margin: 12px auto 0 0; background: var(--bone); border-bottom-left-radius: 6px; }
.place-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-top: 10px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
}
.place-row .n { font-weight: 700; font-size: 14.5px; }
.place-row .m { color: var(--mute); font-size: 12.5px; text-align: right; }

/* audience points card */
.points-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 10px;
  display: grid;
  gap: 8px;
  box-shadow: 0 24px 60px -40px rgba(22, 32, 27, 0.3);
}
@media (min-width: 560px) { .points-card { grid-template-columns: 1fr 1fr; } }
.point { padding: 18px; border-radius: 16px; background: color-mix(in oklab, var(--bone) 55%, var(--cream)); }
.point .ic {
  display: inline-flex;
  width: 34px; height: 34px;
  align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  margin-bottom: 10px;
}
.point h4 { margin: 0 0 5px; font-size: 15px; letter-spacing: -0.01em; }
.point p { margin: 0; font-size: 13.5px; color: var(--mute); line-height: 1.55; }

/* how it works */
.how-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .how-grid { grid-template-columns: 1fr 1fr; } }
.how-card { border: 1px solid var(--line); border-radius: 24px; background: var(--cream); padding: 32px; }
.how-card .hd { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; display: flex; align-items: center; gap: 12px; }
.how-card .hd .ic { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 14px; background: var(--accent-soft); color: var(--accent-ink); }
.steps { list-style: none; margin: 28px 0 0; padding: 0; }
.steps li { position: relative; display: flex; gap: 16px; padding-bottom: 26px; }
.steps li:last-child { padding-bottom: 0; }
.steps li:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 17px; top: 40px; bottom: 4px;
  width: 2px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--accent) 28%, var(--line));
}
.steps .n {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 36px; height: 36px; flex: none;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-text);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 700; font-size: 14px;
}
.steps .t { font-weight: 700; font-size: 16.5px; letter-spacing: -0.01em; padding-top: 5px; }
.steps .d { margin: 4px 0 0; color: var(--mute); font-size: 14.5px; line-height: 1.55; }

/* roadmap */
.road-grid { display: grid; gap: 22px; margin-top: 52px; }
@media (min-width: 900px) { .road-grid { grid-template-columns: repeat(3, 1fr); } }
.road-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px 24px;
  background: var(--cream);
}
.road-card.done { border-color: color-mix(in oklab, var(--accent) 30%, var(--line)); background: color-mix(in oklab, var(--accent) 6%, var(--cream)); }
.road-card.active { border: 2px solid color-mix(in oklab, var(--accent) 50%, var(--line)); }
.road-card.planned { border-style: dashed; background: color-mix(in oklab, var(--bone) 70%, var(--cream)); }
.road-node { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; }
.done .road-node { background: var(--accent); color: var(--accent-text); }
.active .road-node { border: 2px solid var(--accent); position: relative; }
.active .road-node::after { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 45%, transparent); } 100% { box-shadow: 0 0 0 16px transparent; } }
.planned .road-node { border: 2px dashed color-mix(in oklab, var(--accent) 55%, var(--line)); }
.planned .road-node::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: color-mix(in oklab, var(--accent) 60%, transparent); }
.road-card .phase { margin-top: 14px; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; color: var(--accent); }
.road-card .when { margin-top: 3px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--mute); }
.road-card .bar { margin-top: 16px; width: 128px; height: 4px; border-radius: 999px; background: var(--line); overflow: hidden; }
.road-card .bar i { display: block; width: 45%; height: 100%; border-radius: 999px; background: var(--accent); }
.chips { margin: 22px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chips li {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 13.5px;
}
.chips .m { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.chips .m.o { background: transparent; border: 1.5px solid var(--accent); }
.chips svg { color: var(--accent); flex: none; }

/* final CTA */
.final { text-align: center; padding: 110px 0; }
.final h2 { font-size: clamp(2.3rem, 6vw, 4.6rem); letter-spacing: -0.03em; line-height: 1.02; margin: 18px 0 0; }
.final .body { margin: 22px auto 0; max-width: 34em; font-size: 17.5px; color: var(--ink-soft); }
.final .cta-row { justify-content: center; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0 46px; color: var(--mute); font-size: 13.5px; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; align-items: center; }

/* section header block */
.sec-head { max-width: 680px; }
.sec-head.center { margin: 0 auto; text-align: center; }

@media (max-width: 480px) {
  .hero .inner { padding: 56px 0 56px; }
  .section-pad { padding: 64px 0; }
  .final { padding: 80px 0; }
}
