:root {
  color-scheme: light;
  --ink: #13241f;
  --muted: #5b6e68;
  --paper: #f7f3ea;
  --paper-strong: #fffdf8;
  --line: rgba(19, 36, 31, 0.12);
  --green-900: #0d2f28;
  --green-800: #15483d;
  --green-700: #1f6f62;
  --green-500: #2a8a79;
  --sea: #8cc9bf;
  --coral: #d45b43;
  --gold: #c39437;
  --sky: #b9d8e6;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(12, 32, 28, 0.2);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  display: grid;
  width: min(calc(100% - 28px), var(--max));
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(13, 47, 40, 0.76);
  color: var(--white);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 48px rgba(8, 23, 20, 0.28);
}

.site-header.is-scrolled {
  background: rgba(13, 47, 40, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a,
.site-footer a {
  transition:
    color 160ms ease,
    opacity 160ms ease;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--sea);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  letter-spacing: 0;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.nav-cta {
  background: var(--white);
  color: var(--green-900);
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 16px 42px rgba(212, 91, 67, 0.34);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  padding: 120px max(22px, calc((100vw - var(--max)) / 2)) 72px;
  background: var(--green-900);
  color: var(--white);
}

#route-canvas,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#route-canvas {
  opacity: 0.95;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 24, 20, 0.9), rgba(8, 24, 20, 0.62) 46%, rgba(8, 24, 20, 0.1)),
    linear-gradient(0deg, rgba(8, 24, 20, 0.86), rgba(8, 24, 20, 0.14) 46%, rgba(8, 24, 20, 0.38));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(650px, 100%);
  padding-top: 24px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--sea);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(4.2rem, 14vw, 11rem);
  line-height: 0.86;
  font-weight: 950;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 0.98;
  font-weight: 930;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-copy {
  width: min(650px, 100%);
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.availability {
  max-width: 530px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.95rem;
}

.phone-stage {
  position: absolute;
  right: max(18px, calc((100vw - var(--max)) / 2));
  bottom: 44px;
  z-index: 3;
  width: min(360px, 32vw);
  min-width: 280px;
}

.phone {
  position: relative;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 42px;
  background: #101715;
  box-shadow: var(--shadow);
}

.phone-top {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 4;
  width: 104px;
  height: 28px;
  border-radius: 999px;
  background: #060807;
  transform: translateX(-50%);
}

.app-screen {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  border-radius: 32px;
  background: #eef3ee;
}

.mini-map {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(112deg, transparent 0 22%, rgba(255, 255, 255, 0.65) 22% 23%, transparent 23% 100%),
    linear-gradient(26deg, transparent 0 34%, rgba(255, 255, 255, 0.52) 34% 35%, transparent 35% 100%),
    linear-gradient(164deg, transparent 0 48%, rgba(255, 255, 255, 0.6) 48% 49%, transparent 49% 100%),
    radial-gradient(circle at 20% 22%, rgba(140, 201, 191, 0.72), transparent 18%),
    radial-gradient(circle at 82% 34%, rgba(185, 216, 230, 0.9), transparent 22%),
    linear-gradient(180deg, #ecf3ed, #dcece6);
}

.route-line {
  position: absolute;
  top: 126px;
  left: 56px;
  width: 226px;
  height: 336px;
  border-right: 8px solid var(--coral);
  border-bottom: 8px solid var(--coral);
  border-radius: 0 0 116px 0;
  transform: rotate(-16deg);
}

.pin,
.pulse {
  position: absolute;
  border-radius: 999px;
}

.pin {
  width: 22px;
  height: 22px;
  border: 4px solid var(--white);
  box-shadow: 0 8px 18px rgba(16, 44, 39, 0.25);
}

.pin.start {
  top: 170px;
  left: 92px;
  background: var(--green-700);
}

.pin.end {
  right: 72px;
  bottom: 172px;
  background: var(--coral);
}

.pulse {
  top: 280px;
  left: 168px;
  width: 38px;
  height: 38px;
  border: 3px solid rgba(42, 138, 121, 0.6);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.65);
    opacity: 1;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.app-panel {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.96);
  color: var(--ink);
  box-shadow: 0 -18px 42px rgba(16, 44, 39, 0.12);
}

.drag {
  width: 42px;
  height: 5px;
  margin: 0 auto 16px;
  border-radius: 99px;
  background: #d7d0c2;
}

.route-title {
  margin-bottom: 4px;
  font-weight: 930;
  line-height: 1.1;
}

.route-meta {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.turn-card,
.story-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-radius: 8px;
}

.turn-card {
  margin-bottom: 12px;
  padding: 14px;
  background: var(--green-900);
  color: var(--white);
}

.turn-icon {
  font-size: 1.35rem;
}

.turn-card small,
.story-card small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.35;
}

.story-card {
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--white);
}

.story-card span {
  width: 8px;
  min-width: 8px;
  height: 42px;
  border-radius: 999px;
  background: var(--coral);
}

.story-card small {
  color: var(--muted);
}

.section {
  padding: 90px max(22px, calc((100vw - var(--max)) / 2));
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

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

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: start;
}

.two-column p,
.section-heading p,
.copy-stack p,
.launch-panel p,
.legal-page p,
.legal-page li {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

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

.feature-grid article {
  min-height: 240px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
}

.feature-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 999px;
  background: #e5f1ec;
  color: var(--green-700);
  font-weight: 900;
}

.feature-grid p {
  color: var(--muted);
}

.dark-section {
  background: var(--green-900);
  color: var(--white);
}

.dark-section h2 {
  max-width: 860px;
}

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

.steps div {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.steps span {
  display: block;
  margin-bottom: 38px;
  color: var(--sea);
  font-weight: 900;
}

.steps p {
  color: rgba(255, 255, 255, 0.72);
}

.safety {
  background:
    linear-gradient(90deg, rgba(42, 138, 121, 0.1), rgba(195, 148, 55, 0.08)),
    var(--paper);
}

.copy-stack {
  display: grid;
  gap: 16px;
}

.text-link {
  width: fit-content;
  border-bottom: 2px solid var(--coral);
  color: var(--green-800);
  font-weight: 900;
}

.launch {
  padding-top: 42px;
}

.launch-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: 0 18px 48px rgba(16, 44, 39, 0.08);
}

.launch-panel div {
  max-width: 720px;
}

.site-footer {
  display: grid;
  max-width: var(--max);
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: end;
  margin: 0 auto;
  padding: 46px 22px;
  border-top: 1px solid var(--line);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-weight: 760;
}

.footer-brand {
  margin-bottom: 12px;
}

.fine-print {
  grid-column: 1 / -1;
  margin: 0;
  color: #7b8a85;
  font-size: 0.9rem;
}

.legal-hero {
  padding: 140px max(22px, calc((100vw - 900px) / 2)) 54px;
  background: var(--green-900);
  color: var(--white);
}

.legal-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(3rem, 9vw, 6.8rem);
}

.legal-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.12rem;
}

.legal-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 22px 90px;
}

.legal-page section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.legal-page h2 {
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.legal-page ul {
  padding-left: 22px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.contact-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
}

.contact-card a {
  color: var(--green-700);
  font-weight: 900;
}

.policy-table {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
}

.policy-table [role="row"] {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr 1.2fr;
  border-bottom: 1px solid var(--line);
}

.policy-table [role="row"]:last-child {
  border-bottom: 0;
}

.policy-table [role="row"]:first-child {
  background: #e8f2ed;
}

.policy-table [role="cell"] {
  padding: 14px;
  border-right: 1px solid var(--line);
  color: var(--muted);
}

.policy-table [role="cell"]:last-child {
  border-right: 0;
}

.policy-table strong[role="cell"] {
  color: var(--ink);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-links {
    display: none;
  }

  .phone-stage {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(360px, 100%);
    margin-top: 42px;
  }

  .hero {
    min-height: auto;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(8, 24, 20, 0.92), rgba(8, 24, 20, 0.66) 58%, rgba(8, 24, 20, 0.72)),
      linear-gradient(90deg, rgba(8, 24, 20, 0.45), rgba(8, 24, 20, 0.12));
  }

  .feature-grid,
  .steps,
  .policy-table [role="row"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column,
  .launch-panel {
    grid-template-columns: 1fr;
  }

  .launch-panel {
    display: grid;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand span {
    font-size: 0.95rem;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.88rem;
  }

  .hero {
    padding-top: 110px;
    padding-bottom: 48px;
  }

  h1 {
    font-size: clamp(4rem, 22vw, 6.4rem);
  }

  .button {
    width: 100%;
  }

  .app-screen {
    min-height: 560px;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .feature-grid,
  .steps,
  .contact-grid,
  .policy-table [role="row"] {
    grid-template-columns: 1fr;
  }

  .policy-table [role="cell"] {
    border-right: 0;
  }

  .feature-grid article {
    min-height: auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}
