:root {
  --ink: #0F1D14;
  --ink-soft: #3E4C43;
  --paper: #FAF8F2;
  --paper-dim: #F1EEE4;
  --card: #FFFFFF;
  --line: #E4E0D2;
  --green-deep: #0E5A34;
  --green: #16A34A;
  --green-bright: #22C55E;
  --green-mist: #E4F5EA;
  --amber: #E8A33D;
  --shadow-sm: 0 1px 2px rgba(15, 29, 20, 0.06), 0 1px 1px rgba(15, 29, 20, 0.04);
  --shadow-md: 0 12px 32px -12px rgba(15, 29, 20, 0.18);
  --shadow-lg: 0 24px 64px -20px rgba(15, 29, 20, 0.28);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --serif: 'Fraunces', ui-serif, Georgia, serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Grain texture overlay for warmth, not flatness — a pre-rendered tiled PNG
   (a live feTurbulence filter over the full viewport is extremely expensive
   to repaint and can hang low-power renderers). */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("/assets/grain.png");
  background-size: 64px 64px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 242, 0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
}
.nav-links a { transition: color 0.2s ease; position: relative; }
.nav-links a:hover { color: var(--green-deep); }
.nav-cta {
  background: var(--ink);
  color: var(--paper) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
}
.nav-cta:hover { background: var(--green-deep); }
.nav-toggle { display: none; }

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 4px;
    background: none; border: none; cursor: pointer; padding: 6px;
  }
  .nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background 0.2s ease;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: var(--green-deep); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-mist);
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(44px, 6.4vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--green-deep);
  background: linear-gradient(180deg, transparent 62%, var(--green-mist) 62%);
}
.hero p.lede {
  margin-top: 26px;
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 460px;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 38px;
  flex-wrap: wrap;
}
.store-badge {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 18px 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  font-size: 13px;
  color: var(--ink-soft);
}
.store-badge strong { display: block; font-size: 14.5px; color: var(--ink); font-weight: 700; }
.store-badge svg { width: 22px; height: 22px; flex-shrink: 0; }

.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-stats div strong {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  color: var(--ink);
}
.hero-stats div span { font-size: 13.5px; color: var(--ink-soft); }

/* Photo panel */
.hero-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1280 / 851;
  transform: rotate(1.2deg);
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
}
.hero-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(14, 90, 52, 0.06), rgba(15, 29, 20, 0.32) 100%);
}
.float-card {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.float-card .chip {
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 7px 10px;
  border-radius: 8px;
  font-family: var(--sans);
}
.float-card .meta strong { display: block; font-size: 14px; }
.float-card .meta span { font-size: 12px; color: var(--ink-soft); }
.float-card .pulse {
  margin-left: auto;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 0 rgba(34,197,94,0.6);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.55); }
  70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { transform: none; order: -1; }
  .hero p.lede { max-width: none; }
  .hero-stats { flex-wrap: wrap; row-gap: 20px; }
}

/* ---------- Marquee strip ---------- */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-dim);
  padding: 16px 0;
  margin-top: 96px;
  overflow: hidden;
  white-space: nowrap;
}
.strip-track {
  display: inline-flex;
  gap: 56px;
  animation: scroll-left 26s linear infinite;
}
.strip-track span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 56px;
}
.strip-track span::after { content: '●'; color: var(--green-bright); font-style: normal; margin-left: 56px; font-size: 8px; vertical-align: middle; }
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { padding: 120px 0; }
.section-head { max-width: 620px; margin-bottom: 64px; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
}
.section-head p {
  margin-top: 18px;
  font-size: 17px;
  color: var(--ink-soft);
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.feature {
  background: var(--card);
  padding: 40px 32px;
  transition: background 0.3s ease;
}
.feature:hover { background: var(--green-mist); }
.feature .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--green);
  margin-bottom: 22px;
  display: block;
}
.feature .ic {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--ink);
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }

@media (max-width: 860px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* Dark showcase */
.showcase {
  background: var(--green-deep);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: 80px 56px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.showcase::before {
  content: '';
  position: absolute;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(34,197,94,0.35), transparent 70%);
  top: -220px; right: -160px;
  border-radius: 50%;
}
.showcase-copy { position: relative; }
.showcase .eyebrow { background: rgba(255,255,255,0.12); color: #C8F5D8; }
.showcase h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.showcase p { margin-top: 20px; color: rgba(250,248,242,0.78); font-size: 16px; max-width: 420px; }
.showcase-list { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.showcase-list div { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; }
.showcase-list .tick {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-bright);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.showcase-visual {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px;
  padding: 28px;
  position: relative;
}
.map-fake {
  aspect-ratio: 4/5;
  border-radius: 14px;
  background: #0A3B22;
  position: relative;
  overflow: hidden;
}
.map-fake .grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}
.map-fake .bus-chip {
  position: absolute;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  font-size: 12px;
  padding: 5px 9px;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}
.map-fake .bus-chip.g { background: var(--green-bright); color: #fff; }
.map-fake .bus-chip.o { background: var(--amber); color: #fff; }
.map-fake .dot-you {
  position: absolute;
  width: 14px; height: 14px; border-radius: 50%;
  background: #4285F4;
  border: 3px solid #fff;
  box-shadow: 0 0 0 6px rgba(66,133,244,0.25);
}

@media (max-width: 860px) {
  .showcase { grid-template-columns: 1fr; padding: 48px 28px; }
}

/* Testimonial / route strip */
.routes {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.route-pill {
  display: flex; align-items: center; gap: 9px;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 10px 16px 10px 10px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
}
.route-pill .num {
  background: var(--green);
  color: #fff;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
}
.route-pill.dtc .num { background: var(--green); }
.route-pill.dimts .num { background: var(--amber); }

/* CTA band */
.cta-band {
  text-align: center;
  padding: 100px 0 60px;
}
.cta-band h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 58px);
  letter-spacing: -0.02em;
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.05;
}
.cta-band h2 em { font-style: italic; color: var(--green-deep); font-weight: 500; }
.cta-band p { margin: 24px auto 40px; max-width: 480px; color: var(--ink-soft); font-size: 17px; }
.cta-band .eyebrow { margin-left: auto; margin-right: auto; }

.beta-steps {
  max-width: 520px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}
.beta-steps div {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  font-size: 15px;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.beta-steps strong { color: var(--ink); }
.beta-steps .step-n {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: rgba(250,248,242,0.7);
  padding: 72px 0 32px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 20px; font-weight: 600; color: #fff; margin-bottom: 14px; }
.footer-brand img { width: 30px; height: 30px; border-radius: 8px; }
.footer-grid p.small { font-size: 14px; max-width: 260px; line-height: 1.6; }
.footer-col h4 { color: #fff; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col a { display: block; font-size: 14.5px; margin-bottom: 12px; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .socials { display: flex; gap: 14px; }
.footer-bottom .socials a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
}
.footer-bottom .socials a:hover { border-color: var(--green-bright); color: var(--green-bright); }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
}

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

/* ---------- Legal pages ---------- */
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 64px 32px 100px; }
.legal-wrap .eyebrow { margin-bottom: 20px; }
.legal-wrap h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 48px);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.legal-wrap .updated { color: var(--ink-soft); font-size: 14px; margin-bottom: 40px; }
.legal-wrap h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  margin: 44px 0 14px;
  letter-spacing: -0.01em;
}
.legal-wrap p, .legal-wrap li { font-size: 15.5px; color: var(--ink-soft); line-height: 1.75; }
.legal-wrap ul { padding-left: 22px; margin-top: 4px; }
.legal-wrap li { margin-bottom: 8px; }
.legal-wrap strong { color: var(--ink); }
.legal-wrap a.inline { color: var(--green-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.legal-card {
  background: var(--green-mist);
  border: 1px solid rgba(22,163,74,0.18);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  margin-top: 30px;
}
.legal-card h2 { margin-top: 0; }
hr.legal-rule { border: none; border-top: 1px solid var(--line); margin: 48px 0 28px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; color: var(--ink-soft); margin-bottom: 28px; }
.back-link:hover { color: var(--green-deep); }
