/* Neuro-Nav prototype site
   Calm by design: soft colors, no flashing, motion turned off for people who ask for reduced motion. */

:root {
  --ink: #13302E;
  --ink-2: #1C403D;
  --paper: #F4F0E7;
  --mist: #E2ECE6;
  --white: #FBFAF6;
  --green: #2F8F6B;
  --green-d: #1E6B4F;
  --green-l: #8FD3B4;
  --orange: #D9692F;
  --muted: #5E625F;
  --line: #CFC8B8;
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 17px;
}
h1, h2, h3 { font-family: Outfit, Inter, sans-serif; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

.wrap { width: min(1120px, 92vw); margin: 0 auto; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-d); margin-bottom: .8em; }

/* NAV */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(244, 240, 231, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: Outfit, sans-serif; font-weight: 700; font-size: 1.3rem; text-decoration: none; color: var(--ink); }
.logo svg { width: 28px; height: 28px; color: var(--green); }
.nav nav { display: flex; gap: 24px; }
.nav nav a { text-decoration: none; font-weight: 500; color: var(--muted); }
.nav nav a:hover { color: var(--ink); }

/* HERO */
.hero { padding: 64px 0 88px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.lede { font-size: 1.2rem; color: #33413F; max-width: 34em; }
.try { padding-left: 1.2em; color: #33413F; }
.try li { margin-bottom: .5em; }

/* PHONE */
.phone {
  width: 340px; height: 700px; margin: 0 auto;
  background: #0E1A19; border-radius: 52px; padding: 13px;
  box-shadow: 0 30px 60px -20px rgba(19, 48, 46, .45);
}
.screen {
  position: relative; height: 100%;
  background: var(--white); border-radius: 40px; overflow: hidden;
  display: flex; flex-direction: column;
}
.statusbar { display: flex; justify-content: space-between; align-items: center; padding: 12px 26px 4px; font-size: .78rem; font-weight: 600; }
.notch { width: 92px; height: 24px; background: #0E1A19; border-radius: 14px; }
.view { flex: 1; padding: 14px 22px 10px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; }
.view[hidden] { display: none; }
.v-title { font-size: 1.35rem; margin: 4px 0 0; }
.v-sub { color: var(--muted); font-size: .9rem; margin: 0; }
.hint { font-size: .78rem; color: var(--muted); margin: 0; }

.slider label { display: flex; justify-content: space-between; font-weight: 600; font-size: .95rem; }
.slider output { color: var(--green-d); font-weight: 700; }
input[type=range] { width: 100%; accent-color: var(--green); height: 28px; }

.btn { border: 0; border-radius: 16px; padding: 13px 16px; font-weight: 600; font-size: .95rem; }
.btn.primary { background: var(--green-d); color: var(--white); margin-top: auto; }
.btn.primary:hover { background: var(--ink); }
.btn.ghost { background: transparent; color: var(--green-d); border: 2px solid var(--green); }

.map { width: 100%; border-radius: 16px; display: block; }
.routes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.route-card {
  text-align: left; display: flex; flex-direction: column; gap: 2px;
  background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 10px 12px; color: var(--ink);
}
.route-card[aria-pressed=true] { border-color: var(--green); background: #EEF7F1; }
.r-label { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.route-card.calm .r-label { color: var(--green-d); }
.r-time { font-family: Outfit, sans-serif; font-size: 1.5rem; font-weight: 700; line-height: 1.1; }
.r-score { font-size: .8rem; }
.r-why { font-size: .72rem; color: var(--muted); line-height: 1.3; }

.alert {
  background: #EEF3F0; border: 2px solid #C9D6CF; border-radius: 16px; padding: 12px 14px;
  transition: background-color .6s, border-color .6s;
}
.alert.calm { background: #E3F3EA; border-color: var(--green); }
.alert.warn { background: #FFF1E6; border-color: var(--orange); }
.a-title { font-weight: 700; margin: 0 0 2px; }
.alert.calm .a-title { color: var(--green-d); }
.alert.warn .a-title { color: #A8461A; }
.a-body { font-size: .85rem; color: #3E4C49; margin: 0 0 8px; }
.meter { display: flex; gap: 6px; align-items: flex-end; height: 26px; }
.meter i { width: 16px; background: var(--green); border-radius: 4px; transition: background-color .6s; }
.meter i:nth-child(1) { height: 30%; } .meter i:nth-child(2) { height: 55%; }
.meter i:nth-child(3) { height: 78%; } .meter i:nth-child(4) { height: 100%; }
.meter i.off { background: #C9D6CF; }
.walk-controls { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; margin-top: auto; }
.walk-controls .btn.primary { margin-top: 0; }

.tabbar { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #E4E1D8; padding: 6px 10px 18px; }
.tabbar button { background: none; border: 0; padding: 10px 0; font-size: .82rem; font-weight: 600; color: var(--muted); border-radius: 12px; }
.tabbar button[aria-selected=true] { color: var(--green-d); background: #EEF7F1; }

/* SECTIONS */
.band { padding: 88px 0; }
.band.alt { background: var(--mist); }
.band.dark { background: var(--ink); color: var(--paper); }
.band.dark .eyebrow { color: var(--green-l); }
.two { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.stat .big { font-family: Outfit, sans-serif; font-size: clamp(4rem, 9vw, 6.5rem); font-weight: 700; color: var(--green-d); line-height: 1; margin-bottom: .2em; }

.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 28px 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { margin: 0; color: #3E4C49; }
.compare { font-size: 1.15rem; border-top: 1px solid #B9CBC2; padding-top: 20px; }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.tier { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.tier.dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.t-label { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-d); }
.tier.dark .t-label { color: var(--green-l); }
.t-price { font-family: Outfit, sans-serif; font-size: 2.8rem; font-weight: 700; line-height: 1; margin-bottom: .4em; }
.t-price span { font-size: 1.1rem; }
.t-price.sm { font-size: 2rem; }

.mission { font-family: Outfit, sans-serif; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.3; max-width: 30em; }
.vision { color: #CFE6DA; font-size: 1.15rem; }
.closer { font-family: Outfit, sans-serif; font-weight: 600; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.15; margin-top: 1.2em; }
.closer span { color: var(--green-l); }

.footer { padding: 28px 0; font-size: .85rem; color: var(--muted); }

/* MOBILE */
@media (max-width: 860px) {
  .nav nav { display: none; }
  .hero-inner, .two, .flow, .tiers { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
}

/* Respect people who turn off motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
