:root {
  --navy: #173b47;
  --navy-2: #225463;
  --lake: #246f73;
  --lake-soft: #dceced;
  --sky: #eaf2f6;
  --sand: #d99a59;
  --sand-soft: #f7eadb;
  --paper: #f7f9f8;
  --card: #ffffff;
  --ink: #172b32;
  --muted: #52666c;
  --line: rgba(23, 59, 71, .14);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow: 0 28px 70px rgba(20, 55, 66, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 0 4vw;
  border-bottom: 1px solid var(--line);
  background: rgba(247,249,248,.9);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 700; font-size: 20px; width: max-content; }
.brand img { width: 34px; height: 34px; border-radius: 11px; }
.nav-links { display: flex; gap: 34px; color: var(--muted); font-size: 14px; }
.nav-links a:hover, .footer-right a:hover { color: var(--lake); }
.nav-cta { justify-self: end; font-size: 14px; font-weight: 650; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.nav-cta span, .button-primary span { margin-left: 4px; }

.section-shell { width: min(1400px, 92vw); margin: 0 auto; }
.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  align-items: center;
  gap: 6vw;
  padding-top: 8vh;
  padding-bottom: 11vh;
}
.eyebrow { margin: 0 0 20px; font-size: 12px; font-weight: 780; letter-spacing: .16em; color: var(--lake); }
.eyebrow.light { color: #b7dddd; }
.hero h1, .section-heading h2, .feature-copy h2, .map-copy h2, .closing h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.045em;
}
.hero h1 { font-size: clamp(56px, 6.4vw, 100px); line-height: .93; }
.lede { max-width: 560px; margin: 32px 0 0; font-size: clamp(18px, 1.5vw, 23px); line-height: 1.55; color: var(--muted); }
.hero-actions { margin-top: 38px; display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.button-primary { display: inline-flex; align-items: center; padding: 14px 19px; background: var(--navy); color: white; border-radius: 999px; font-size: 14px; font-weight: 680; box-shadow: 0 8px 18px rgba(23,59,71,.12); transition: transform .2s ease, background .2s ease; }
.button-primary:hover { transform: translateY(-2px); background: var(--navy-2); }
.beta-note { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; }
.beta-note i { width: 8px; height: 8px; border-radius: 50%; background: var(--sand); box-shadow: 0 0 0 6px rgba(217,154,89,.12); }

.hero-product { position: relative; min-width: 0; }
.window-frame { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); transform: rotate(.4deg); }
.window-topbar { height: 48px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 17px; background: #f1f4f2; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.traffic-lights { display: flex; gap: 6px; }
.traffic-lights span, .desktop-bar span { width: 8px; height: 8px; background: #d3dbd7; border-radius: 50%; }
.window-title { color: var(--ink); font-weight: 700; }
.window-status { justify-self: end; }
.window-body { min-height: 512px; }
.hero-ui { display: grid; grid-template-columns: 126px 1fr; }
.mini-sidebar { background: var(--navy); color: white; padding: 26px 15px; }
.mini-brand { display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 13px; margin-bottom: 40px; }
.mini-brand img { width: 25px; height: 25px; border-radius: 8px; }
.mini-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 13px; padding: 10px; border-radius: 9px; color: rgba(255,255,255,.72); font-size: 11px; }
.mini-nav.active { background: rgba(255,255,255,.12); color: white; }
.today-canvas { padding: 34px 38px 38px; background: #fbfcfb; }
.ui-kicker { margin: 0; color: var(--lake); font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.today-canvas h3 { margin: 5px 0 0; font-family: var(--serif); font-size: 30px; font-weight: 500; letter-spacing: -.02em; }
.ui-date { margin: 2px 0 18px; font-size: 11px; color: var(--muted); }
.next-card { display: flex; justify-content: space-between; gap: 25px; padding: 22px 23px; background: linear-gradient(115deg, #234d56, #2f655d); color: white; border-radius: 14px; }
.next-label { margin: 0 0 5px; font-size: 8px; letter-spacing: .16em; font-weight: 800; color: #bce0de; }
.next-card h4 { margin: 0; font-family: var(--serif); font-size: 23px; font-weight: 500; }
.next-card p { margin: 5px 0 0; color: rgba(255,255,255,.74); font-size: 10px; }
.next-meta { min-width: 110px; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; }
.next-meta strong { font-family: var(--serif); font-size: 18px; }
.next-meta span { font-size: 9px; color: #d5e7e5; }
.agenda-card { margin-top: 16px; background: white; border: 1px solid var(--line); border-radius: 14px; padding: 18px 19px; }
.agenda-title { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.agenda-title span { font-size: 8px; letter-spacing: .14em; color: var(--lake); font-weight: 800; }
.agenda-title b { font-family: var(--serif); font-size: 17px; font-weight: 500; }
.agenda-row { display: grid; grid-template-columns: 40px 13px 1fr auto; gap: 7px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(23,59,71,.08); font-size: 10px; }
.agenda-row:last-child { border-bottom: 0; }
.agenda-row time { color: var(--muted); font-weight: 700; }
.agenda-row b { display: block; font-size: 10px; }
.agenda-row small { display: block; color: var(--muted); margin-top: 2px; }
.agenda-row em { font-style: normal; color: var(--lake); font-size: 9px; }
.agenda-dot { width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--lake); }
.agenda-row.done .agenda-dot { background: var(--lake-soft); border-color: var(--lake-soft); }
.agenda-row.current { color: var(--lake); }
.floating-route-card { position: absolute; right: -28px; bottom: -28px; display: grid; grid-template-columns: auto auto auto auto; align-items: center; gap: 13px; padding: 15px 18px; background: var(--sand-soft); border: 1px solid rgba(217,154,89,.35); border-radius: 15px; box-shadow: 0 14px 28px rgba(87,58,23,.12); transform: rotate(-1.3deg); }
.floating-route-card small { display: block; color: #856842; font-size: 7px; letter-spacing: .12em; font-weight: 800; }
.floating-route-card strong { font-family: var(--serif); font-size: 13px; font-weight: 500; }
.route-pin { color: var(--sand); }
.route-arrow { color: #9b7c51; }

.idea { padding-top: 12vh; padding-bottom: 13vh; border-top: 1px solid var(--line); }
.section-heading { max-width: 850px; }
.section-heading h2, .feature-copy h2, .map-copy h2, .closing h2 { font-size: clamp(45px, 5vw, 72px); line-height: 1.02; }
.idea-grid { margin-top: 80px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.idea-item { padding: 28px 7vw 0 0; }
.idea-item + .idea-item { padding-left: 3vw; border-left: 1px solid var(--line); }
.idea-item span { font-size: 11px; letter-spacing: .14em; color: var(--lake); font-weight: 760; }
.idea-item h3 { margin: 25px 0 12px; font-family: var(--serif); font-size: 31px; font-weight: 500; }
.idea-item p { margin: 0; max-width: 330px; color: var(--muted); font-size: 15px; }

.feature-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 8vw; align-items: center; padding-top: 14vh; padding-bottom: 14vh; }
.feature-copy { max-width: 520px; }
.feature-copy p:not(.eyebrow), .map-copy p:not(.eyebrow) { margin: 28px 0 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.today-visual { min-height: 680px; position: relative; display: flex; align-items: center; justify-content: center; }
.phone-card { position: relative; z-index: 2; width: min(390px, 70%); padding: 19px 20px 30px; background: #fafcfb; border: 1px solid var(--line); border-radius: 38px; box-shadow: 0 38px 70px rgba(23,59,71,.16); }
.phone-top { display: flex; justify-content: space-between; font-size: 10px; font-weight: 700; color: var(--muted); }
.phone-trip { margin-top: 35px; }
.phone-trip small { display: block; color: var(--lake); letter-spacing: .15em; font-size: 9px; font-weight: 800; }
.phone-trip b { display: block; margin-top: 3px; font-family: var(--serif); font-size: 22px; font-weight: 500; }
.phone-next { margin-top: 20px; padding: 22px; background: var(--navy); color: white; border-radius: 22px; }
.phone-kicker { font-size: 8px; letter-spacing: .15em; color: #afd6d6; font-weight: 800; }
.phone-next h3 { margin: 7px 0 0; font-family: var(--serif); font-size: 31px; font-weight: 500; }
.phone-next p { margin: 3px 0 18px; color: rgba(255,255,255,.72); font-size: 13px; }
.phone-route { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.15); font-size: 11px; }
.phone-route strong { color: #f0c18f; }
.phone-list { margin-top: 14px; padding: 3px 8px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.phone-list > div { display: grid; grid-template-columns: 42px 12px 1fr; align-items: center; gap: 9px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.phone-list > div:last-child { border-bottom: 0; }
.phone-list time { font-size: 10px; color: var(--muted); font-weight: 700; }
.phone-list span { width: 8px; height: 8px; border: 2px solid var(--lake); border-radius: 50%; }
.phone-list p { margin: 0; }
.phone-list b, .phone-list small { display: block; }
.phone-list b { font-size: 11px; }
.phone-list small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.phone-list .selected { background: #edf6f4; border-radius: 10px; margin: 2px -2px; padding-left: 6px; padding-right: 6px; }
.route-thread { position: absolute; left: 2%; top: 12%; width: 55%; height: 80%; z-index: 1; opacity: .8; }
.route-thread svg { width: 100%; height: 100%; overflow: visible; }
.route-thread path { fill: none; stroke-width: 3; }
.thread-muted { stroke: rgba(36,111,115,.13); }
.thread-active { stroke: var(--sand); stroke-dasharray: 6 10; stroke-linecap: round; }
.route-thread circle { fill: var(--paper); stroke: var(--sand); stroke-width: 4; }
.thread-label { position: absolute; background: var(--paper); padding: 6px 9px; border-radius: 999px; font-size: 10px; color: var(--muted); }
.thread-label.start { right: -18px; top: -10px; }
.thread-label.end { left: -12px; bottom: -9px; }

.map-section { background: var(--navy); color: white; overflow: hidden; }
.map-inner { display: grid; grid-template-columns: .72fr 1.28fr; gap: 6vw; align-items: center; min-height: 760px; padding-top: 9vh; padding-bottom: 9vh; }
.map-copy p:not(.eyebrow) { color: rgba(255,255,255,.65); }
.map-demo { min-width: 0; }
.map-canvas { position: relative; height: 560px; overflow: hidden; border-radius: 28px; border: 1px solid rgba(255,255,255,.15); box-shadow: 0 35px 80px rgba(0,0,0,.18); }
.map-canvas svg { width: 100%; height: 100%; }
.map-info-card { position: absolute; right: 28px; bottom: 28px; width: 225px; padding: 20px; color: var(--ink); background: rgba(255,255,255,.94); border-radius: 18px; box-shadow: 0 16px 30px rgba(0,0,0,.13); backdrop-filter: blur(8px); }
.map-info-card small { font-size: 8px; color: var(--lake); letter-spacing: .14em; font-weight: 800; }
.map-info-card h3 { margin: 7px 0 14px; font-family: var(--serif); font-size: 25px; font-weight: 500; }
.map-info-card div { display: flex; gap: 14px; color: var(--muted); font-size: 11px; }
.map-info-card strong { display: block; margin-top: 11px; padding-top: 11px; border-top: 1px solid var(--line); font-size: 12px; color: #8a633a; }
.map-route { stroke-dasharray: 14 10; }

.import-section { grid-template-columns: 1.22fr .78fr; }
.import-visual { display: grid; grid-template-columns: 1fr auto 1.35fr; gap: 22px; align-items: center; }
.doc-card { min-height: 150px; background: white; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 16px 32px rgba(23,59,71,.08); }
.source-doc { display: flex; align-items: center; gap: 14px; padding: 22px; }
.doc-icon { width: 45px; height: 55px; display: grid; place-items: center; flex: 0 0 auto; background: var(--sand-soft); color: #876235; border-radius: 10px; font-size: 10px; font-weight: 800; }
.source-doc b, .source-doc span { display: block; }
.source-doc b { font-size: 12px; }
.source-doc span { margin-top: 4px; font-size: 10px; color: var(--muted); }
.flow-mark { color: var(--muted); }
.tripcurrent-doc { display: grid; grid-template-columns: 54px 1fr; gap: 15px; padding: 22px; }
.mini-logo img { width: 44px; height: 44px; border-radius: 14px; }
.extracted small, .extracted b, .extracted span, .extracted em { display: block; }
.extracted small { color: var(--lake); letter-spacing: .14em; font-size: 8px; font-weight: 800; }
.extracted b { margin-top: 5px; font-family: var(--serif); font-size: 22px; font-weight: 500; }
.extracted span { margin-top: 5px; color: var(--muted); font-size: 10px; }
.extracted em { width: max-content; margin-top: 12px; padding: 6px 8px; background: var(--lake-soft); color: var(--lake); border-radius: 999px; font-size: 8px; font-style: normal; font-weight: 700; }

.web-iphone { background: #eef3f0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.web-iphone-inner { padding-top: 13vh; padding-bottom: 13vh; }
.centered { margin: 0 auto; text-align: center; }
.centered > p:last-child { max-width: 560px; margin: 24px auto 0; color: var(--muted); font-size: 17px; }
.device-stage { position: relative; width: min(1100px, 92%); height: 570px; margin: 80px auto 0; }
.desktop-device { position: absolute; left: 0; top: 0; width: 82%; height: 470px; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 25px; box-shadow: var(--shadow); }
.desktop-bar { height: 36px; display: flex; align-items: center; gap: 6px; padding: 0 14px; background: #eef1ef; border-bottom: 1px solid var(--line); }
.desktop-content { display: grid; grid-template-columns: 115px 1fr; height: calc(100% - 36px); }
.desktop-sidebar { background: var(--navy); }
.desktop-main { padding: 40px 50px; }
.desktop-main > small { color: var(--lake); font-size: 9px; letter-spacing: .15em; font-weight: 800; }
.desktop-main h3 { margin: 8px 0 25px; font-family: var(--serif); font-size: 32px; font-weight: 500; }
.timeline { border-top: 1px solid var(--line); }
.timeline > div { display: grid; grid-template-columns: 45px 1fr auto; gap: 13px; align-items: center; padding: 20px 6px; border-bottom: 1px solid var(--line); }
.timeline time { font-family: var(--serif); font-size: 21px; color: var(--muted); }
.timeline b { font-size: 12px; }
.timeline span { font-size: 10px; color: var(--muted); }
.timeline .today-row { margin: 0 -12px; padding-left: 18px; padding-right: 18px; background: #edf5f3; border-radius: 12px; border-bottom-color: transparent; }
.timeline .today-row span { color: var(--lake); font-weight: 700; }
.iphone-device { position: absolute; right: 0; bottom: 0; width: 285px; height: 490px; padding: 48px 23px 24px; background: #fbfcfb; border: 7px solid var(--ink); border-radius: 44px; box-shadow: 0 32px 65px rgba(23,59,71,.22); }
.iphone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 84px; height: 23px; border-radius: 14px; background: var(--ink); }
.iphone-device > small { color: var(--lake); font-size: 8px; letter-spacing: .15em; font-weight: 800; }
.iphone-device h3 { margin: 7px 0 0; font-family: var(--serif); font-size: 29px; font-weight: 500; }
.iphone-device > p { margin: 2px 0 19px; color: var(--muted); font-size: 11px; }
.iphone-focus { display: flex; justify-content: space-between; padding: 16px; background: var(--navy); color: white; border-radius: 16px; font-size: 10px; }
.iphone-focus b { color: #f2bf89; }
.iphone-map-mini { position: relative; height: 180px; margin-top: 16px; overflow: hidden; background: var(--lake-soft); border-radius: 17px; }
.iphone-map-mini:before, .iphone-map-mini:after { content: ''; position: absolute; width: 220px; height: 100px; border: 2px solid rgba(23,59,71,.12); border-radius: 50%; transform: rotate(-19deg); }
.iphone-map-mini:before { left: -40px; top: 35px; }
.iphone-map-mini:after { right: -60px; bottom: 18px; }
.mini-route-line { position: absolute; left: 40px; top: 105px; width: 160px; height: 5px; background: var(--sand); transform: rotate(-19deg); border-radius: 99px; }
.iphone-map-mini i { position: absolute; z-index: 2; width: 12px; height: 12px; border-radius: 50%; background: var(--navy); border: 3px solid white; }
.iphone-map-mini i:nth-of-type(1) { left: 34px; top: 125px; }
.iphone-map-mini i:nth-of-type(2) { right: 35px; top: 73px; background: var(--sand); }

.closing { padding-top: 18vh; padding-bottom: 17vh; }
.closing-inner { max-width: 740px; }
.closing-inner > p:not(.eyebrow) { margin: 25px 0 28px; color: var(--muted); font-size: 18px; }
.site-footer { display: flex; justify-content: space-between; gap: 30px; padding-top: 34px; padding-bottom: 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-brand { color: var(--ink); font-size: 17px; }
.footer-brand img { width: 28px; height: 28px; border-radius: 9px; }
.site-footer p { margin: 11px 0 0; }
.site-footer p a { color: var(--ink); border-bottom: 1px solid var(--line); }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; gap: 70px; min-height: auto; padding-top: 11vh; }
  .hero-copy { max-width: 760px; }
  .hero-product { width: 92%; margin: 0 auto; }
  .feature-section, .map-inner { grid-template-columns: 1fr; }
  .feature-copy { max-width: 760px; }
  .feature-section { gap: 30px; }
  .today-visual { min-height: 620px; }
  .map-inner { gap: 60px; min-height: auto; padding-top: 12vh; padding-bottom: 12vh; }
  .map-copy { max-width: 700px; }
  .import-section .feature-copy { order: -1; }
  .device-stage { height: 530px; }
}

@media (max-width: 760px) {
  .site-header { min-height: 66px; padding: 0 5vw; }
  .brand { font-size: 18px; }
  .brand img { width: 31px; height: 31px; }
  .nav-cta { font-size: 12px; }
  .section-shell { width: min(92vw, 680px); }
  .hero { padding-top: 9vh; padding-bottom: 12vh; gap: 55px; }
  .hero h1 { font-size: clamp(55px, 17vw, 78px); }
  .lede { font-size: 18px; }
  .hero-product { width: 100%; }
  .window-frame { border-radius: 16px; }
  .window-topbar { height: 38px; padding: 0 11px; }
  .window-title { display: none; }
  .hero-ui { grid-template-columns: 1fr; }
  .mini-sidebar { display: none; }
  .today-canvas { padding: 24px 18px; }
  .window-body { min-height: 460px; }
  .today-canvas h3 { font-size: 27px; }
  .next-card { flex-direction: column; }
  .next-meta { align-items: flex-start; }
  .floating-route-card { right: 10px; bottom: -46px; transform: none; padding: 11px 13px; }
  .idea { padding-top: 14vh; }
  .idea-grid { grid-template-columns: 1fr; margin-top: 50px; }
  .idea-item, .idea-item + .idea-item { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .section-heading h2, .feature-copy h2, .map-copy h2, .closing h2 { font-size: clamp(42px, 13vw, 60px); }
  .feature-section { padding-top: 12vh; padding-bottom: 12vh; gap: 60px; }
  .today-visual { min-height: 570px; justify-content: flex-end; }
  .phone-card { width: 82%; }
  .route-thread { left: -8%; width: 58%; }
  .map-canvas { height: 500px; border-radius: 21px; }
  .map-info-card { left: 18px; right: 18px; bottom: 18px; width: auto; }
  .import-visual { grid-template-columns: 1fr; }
  .flow-mark { transform: rotate(90deg); justify-self: center; }
  .device-stage { width: 100%; height: 620px; margin-top: 55px; }
  .desktop-device { width: 100%; height: 390px; }
  .desktop-content { grid-template-columns: 75px 1fr; }
  .desktop-main { padding: 30px 22px; }
  .timeline > div { grid-template-columns: 36px 1fr; }
  .timeline span { display: none; }
  .iphone-device { right: 5%; width: 230px; height: 395px; padding: 43px 17px 18px; border-width: 6px; border-radius: 37px; }
  .iphone-device h3 { font-size: 24px; }
  .iphone-map-mini { height: 125px; }
  .site-footer { flex-direction: column; }
  .footer-right { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button-primary { transition: none; }
}
