/* RouteWise marketing site. Brand tokens are fixed (see PRODUCT.md). */
:root {
  --green: #60F312;        /* fills only, never text on white */
  --edge: #46C20A;
  --tint: #EFFEE6;
  --on-green: #1A2E05;
  --green-text: #3F6212;
  --paper: #FAFAF7;
  --ink: #1E2320;
  --ink-2: #4A504B;        /* secondary text */
  --ink-3: #6F756F;        /* tertiary text, still AA on paper */
  --line: #E3E5DE;
  --panel: #F1F2EC;
  --white: #FFFFFF;
  --radius: 18px;
  --shadow-lg: 0 1px 2px rgba(30, 35, 32, .06), 0 12px 28px -8px rgba(30, 35, 32, .14), 0 40px 80px -24px rgba(30, 35, 32, .22);
  --shadow-md: 0 1px 2px rgba(30, 35, 32, .06), 0 10px 24px -10px rgba(30, 35, 32, .18);
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }

/* brand-green scrollbar (Chrome, Edge, Firefox use scrollbar-color; Safari uses the ::-webkit rules) */
html { scrollbar-color: var(--green) #ECEEE7; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #ECEEE7; }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 999px; border: 2px solid #ECEEE7; }
::-webkit-scrollbar-thumb:hover { background: var(--edge); }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; color: var(--ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
button { font: inherit; color: inherit; }

/* type scale: tracking tightens as size grows */
h1, .h1 { font-size: clamp(2.4rem, 4.6vw + .6rem, 4.4rem); line-height: 1.02; letter-spacing: -.038em; font-weight: 760; }
h2 { font-size: clamp(1.9rem, 2.6vw + .9rem, 3.1rem); line-height: 1.06; letter-spacing: -.032em; font-weight: 740; }
h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -.016em; font-weight: 680; }
.lede { font-size: clamp(1.06rem, .4vw + .98rem, 1.25rem); line-height: 1.55; color: var(--ink-2); letter-spacing: -.006em; max-width: 36em; }
.eyebrow { font-size: .875rem; font-weight: 620; color: var(--green-text); letter-spacing: .005em; margin-bottom: 14px; }
.kicker { font-size: .75rem; font-weight: 680; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.fine { font-size: .875rem; color: var(--ink-3); margin-top: 14px; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 2 * var(--gutter)); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head h2 + .lede { margin-top: 18px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lede { margin-inline: auto; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-size: 1rem; font-weight: 620; letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .12s ease-out, background-color .2s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 14px; height: 14px; fill: currentColor; }
.btn-fill { background: var(--green); color: var(--on-green); border-color: var(--edge); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-fill:hover { background: #6CF726; }
.btn-line { background: var(--white); color: var(--ink); border-color: #D5D8CF; }
.btn-line:hover { border-color: var(--ink-3); }
.btn-wide { width: 100%; }

/* ---------- nav: translucent layer, content scrolls under ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 247, .74);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  transition: box-shadow .25s;
}
.nav.scrolled { box-shadow: 0 1px 0 rgba(30, 35, 32, .07), 0 8px 24px -16px rgba(30, 35, 32, .25); }
.nav-in { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; height: 64px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 720; font-size: 1.2rem; letter-spacing: -.02em; text-decoration: none; }
.logo { width: 24px; height: 24px; }
.logo circle { fill: var(--green); }
.logo path { fill: none; stroke: var(--edge); stroke-width: 1.6; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: .95rem; font-weight: 520; color: var(--ink-2); padding: 6px 0; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { min-height: 40px; padding: 0 18px; font-size: .95rem; }
.nav-menu-cta { display: none; }
.nav-menu { display: none; margin-left: auto; background: var(--white); border: 1px solid #D5D8CF; border-radius: 999px; min-height: 40px; padding: 0 16px; font-weight: 600; cursor: pointer; }

@media (min-width: 961px) and (max-width: 1120px) { .nav-links { gap: 18px; } .nav-links a { white-space: nowrap; } }   /* room for the Blog link (22 Nov 2026) */
@media (max-width: 960px) {   /* menu folds into the Menu button below 960px */
  .nav-menu { display: inline-flex; align-items: center; }
  .nav-cta { display: none; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; gap: 0;
    background: var(--green); padding: 8px var(--gutter) 20px;
    box-shadow: 0 18px 30px -16px rgba(26, 46, 5, .45);
    transform-origin: top right; transform: translateY(-8px) scale(.98); opacity: 0; visibility: hidden;
    transition: opacity .18s ease-out, transform .25s var(--ease-out), visibility 0s .25s;
  }
  .nav-links.open { opacity: 1; transform: none; visibility: visible; transition: opacity .18s ease-out, transform .25s var(--ease-out); }
  .nav-links a { padding: 14px 0; font-size: 1.05rem; font-weight: 600; color: var(--on-green); border-bottom: 1px solid rgba(26, 46, 5, .16); }
  .nav-links a:hover, .nav-links a[aria-current="page"] { color: #000; }
  .nav-links a[href$="#download"]:not(.nav-menu-cta) { display: none; }   /* the button below replaces it */
  .nav-links .nav-menu-cta {
    display: flex; align-items: center; justify-content: center; margin-top: 16px; min-height: 52px; padding: 0 20px;
    border: 0; border-radius: 999px; background: #122204; color: var(--green); font-weight: 700;
    transition: transform .12s ease-out, background .2s;
  }
  .nav-links .nav-menu-cta:hover { background: #000; color: var(--green); }
  .nav-links .nav-menu-cta:active { transform: scale(.97); }
  .nav-links .nav-menu-cta:focus-visible { outline: 3px solid #122204; outline-offset: 3px; }
}

/* ---------- hero carousel ---------- */
.hero { padding: clamp(24px, 4vw, 56px) 0 clamp(28px, 4vw, 48px); }
.hero-viewport { overflow: hidden; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.hero-viewport.dragging { cursor: grabbing; }
.hero-track { display: flex; will-change: transform; }
.slide {
  flex: 0 0 100%;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center;
  gap: clamp(28px, 4vw, 64px);
  padding-left: max(var(--gutter), (100% - var(--max)) / 2);
  min-height: clamp(480px, 38vw, 580px);
}
.slide img { -webkit-user-drag: none; pointer-events: none; }
.slide-copy .lede { margin-top: 22px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.slide-art { margin: 0; position: relative; }
.slide-art figcaption { font-size: .8125rem; color: var(--ink-3); margin-top: 10px; }

.browser {
  position: relative; background: var(--white); border-radius: 14px 0 0 14px; padding-top: 30px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(30, 35, 32, .07); border-right: 0; overflow: hidden;
}
.browser .dots { position: absolute; top: 11px; left: 14px; display: flex; gap: 6px; }
.browser .dots i { width: 9px; height: 9px; border-radius: 50%; background: #DCDED7; }
.browser img { width: 100%; }

.phone {
  position: relative; width: 248px; aspect-ratio: 780 / 1688; padding: 8px; border-radius: 40px;
  background: var(--ink); box-shadow: var(--shadow-lg);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 32px; }
.art-phones { display: flex; justify-content: center; align-items: flex-start; padding: 12px 0 0; min-height: 560px; }
.art-phones .phone { z-index: 2; }
.art-phones .phone-back { z-index: 1; margin-left: -40px; margin-top: 56px; transform: scale(.92); transform-origin: top left; }

.hero-controls {
  width: min(var(--max), 100% - 2 * var(--gutter)); margin: clamp(20px, 3vw, 36px) auto 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.tabs { display: flex; gap: 28px; flex: 1; max-width: 640px; }
.tabs button {
  flex: 1; background: none; border: 0; padding: 10px 0 4px; text-align: left; cursor: pointer;
  /* buttons centre their content vertically by default; pin bar and label to the top so one-line and
     two-line labels (on phones) stay level */
  display: flex; flex-direction: column; justify-content: flex-start; align-self: stretch;
}
.tab-bar { display: block; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.tab-bar i { display: block; height: 100%; width: 100%; background: var(--edge); transform-origin: left; transform: scaleX(0); }
.tabs button[aria-selected="true"] .tab-bar i { transform: scaleX(var(--p, 1)); }
.tab-label { display: block; margin-top: 10px; font-size: .9rem; font-weight: 600; color: var(--ink-3); transition: color .2s; }
.tabs button[aria-selected="true"] .tab-label, .tabs button:hover .tab-label { color: var(--ink); }
.arrows { display: flex; gap: 8px; }
.round {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid #D5D8CF; background: var(--white);
  display: grid; place-items: center; cursor: pointer; transition: transform .12s ease-out, border-color .2s;
}
.round:hover { border-color: var(--ink-3); }
.round:active { transform: scale(.94); }
.round svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.round svg .fill { fill: var(--ink); stroke: none; }
.round .i-play { display: none; }
.round[aria-pressed="true"] .i-play { display: block; }
.round[aria-pressed="true"] .i-pause { display: none; }

@media (max-width: 1023px) {
  .slide { grid-template-columns: 1fr; padding-inline: var(--gutter); min-height: 0; align-content: start; gap: 32px; }
  .slide-copy { max-width: 640px; }
  .browser { border-radius: 12px; border-right: 1px solid rgba(30, 35, 32, .07); }
  .art-phones { min-height: 0; }
}
@media (max-width: 600px) {
  .tabs { gap: 14px; }
  .tab-label { font-size: .8rem; }
  .arrows #hero-prev, .arrows #hero-next { display: none; }
  .phone { width: 196px; border-radius: 32px; padding: 6px; }
  .phone img { border-radius: 26px; }
  .art-phones .phone-back { margin-left: -56px; margin-top: 40px; }
  .cta-row .btn { flex: 1 1 auto; }
}

/* ---------- sample-day proof ---------- */
.proof { padding: clamp(40px, 5vw, 72px) 0; }
.proof .wrap { border-top: 1px solid var(--line); padding-top: clamp(28px, 3vw, 40px); }
.proof-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; align-items: baseline; margin-bottom: 28px; }
.proof-head .kicker { margin: 0; }
.proof-note { color: var(--ink-3); font-size: .95rem; max-width: 46em; }
.proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; }
.proof-grid > div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; }
.proof-grid dt { font-size: .9rem; color: var(--ink-2); font-weight: 520; }
.proof-grid dd { margin: 10px 0 0; display: flex; align-items: baseline; gap: 3px; font-variant-numeric: tabular-nums; }
.proof-grid .num { font-size: clamp(2.2rem, 3vw + .8rem, 3.2rem); font-weight: 720; letter-spacing: -.04em; line-height: 1; }
.proof-grid .unit { font-size: 1.1rem; font-weight: 600; color: var(--ink-3); margin-right: 6px; }
.proof-grid .unit.pre { margin-right: 1px; align-self: flex-start; margin-top: 6px; }
.proof-grid .arrow { font-size: 1.6rem; color: var(--edge); margin: 0 10px; font-weight: 600; }
@media (max-width: 860px) {
  .proof-head { grid-template-columns: 1fr; gap: 8px; }
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- demo video ---------- */
.demo { padding: clamp(56px, 7vw, 112px) 0; }
.try-link { margin-top: 20px; text-align: center; }
.try-link .btn { white-space: normal; text-align: center; min-height: 48px; padding: 10px 22px; }
.video-frame { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--ink); aspect-ratio: 16 / 9; }
.video-frame video { width: 100%; height: 100%; display: block; object-fit: cover; }
.video-play {
  position: absolute; inset: 0; border: 0; background: rgba(30, 35, 32, .08); cursor: pointer;
  display: grid; place-items: center; transition: opacity .25s, visibility 0s .25s;
}
.video-play span {
  width: clamp(72px, 9vw, 104px); aspect-ratio: 1; border-radius: 50%; background: var(--green);
  border: 1px solid var(--edge); display: grid; place-items: center;
  box-shadow: 0 12px 40px -8px rgba(30, 35, 32, .45); transition: transform .2s var(--ease-out);
}
.video-play:hover span { transform: scale(1.06); }
.video-play:active span { transform: scale(.96); }
.video-play svg { width: 34%; fill: var(--on-green); margin-left: 6%; }
.video-frame.playing .video-play { opacity: 0; visibility: hidden; }

/* ---------- two tools ---------- */
.tools { padding: clamp(56px, 7vw, 112px) 0; background: var(--white); border-block: 1px solid var(--line); }
.tools-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.tool h3 { margin-top: 28px; font-size: 1.55rem; }
.tool > p { color: var(--ink-2); margin-top: 8px; }
.tool-art { border-radius: var(--radius); background: var(--panel); aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.tool-art-office img { position: absolute; left: 7%; top: 9%; width: 132%; max-width: none; border-radius: 12px; box-shadow: var(--shadow-md); background: var(--white); }
.tool-art-driver { display: flex; justify-content: center; }
.tool-art-driver .phone { margin-top: 9%; width: 52%; max-width: 270px; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink); font-size: 1rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.5L13 6.4' fill='none' stroke='%233F6212' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
  box-shadow: inset 0 0 0 1px #CDEFB7;
}
@media (max-width: 860px) { .tools-grid { grid-template-columns: 1fr; gap: 56px; } }

/* ---------- the day, drawn as a route (signature) ---------- */
.day { padding: clamp(64px, 8vw, 128px) 0; }
.route-wrap { position: relative; }
.route { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: clamp(56px, 8vw, 112px); }
.route-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.route-line path { fill: none; stroke-linecap: round; }
.route-line .track { stroke: #DCDFD6; stroke-width: 3; stroke-dasharray: 2 9; }
.route-line .drawn { stroke: var(--edge); stroke-width: 4; }
.stop { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); align-items: center; }
.stop .dot {
  grid-column: 2; grid-row: 1; justify-self: center; position: relative; z-index: 1;
  width: 24px; height: 24px; border-radius: 50%; background: var(--paper); border: 3px solid #CFD3C9;
  transition: background-color .3s, border-color .3s, transform .45s cubic-bezier(.34, 1.56, .64, 1);
}
.stop.reached .dot { background: var(--green); border-color: var(--edge); transform: scale(1.18); }
.stop-copy { grid-column: 1; grid-row: 1; max-width: 460px; justify-self: end; }
.stop-art { grid-column: 3; grid-row: 1; margin: 0; }
.stop:nth-child(odd) .stop-copy { grid-column: 3; justify-self: start; }
.stop:nth-child(odd) .stop-art { grid-column: 1; }
.stop-time { font-size: .875rem; font-weight: 620; color: var(--green-text); margin-bottom: 8px; }
.stop-copy h3 { font-size: clamp(1.4rem, 1vw + 1rem, 1.85rem); letter-spacing: -.024em; }
.stop-copy p:not(.stop-time) { color: var(--ink-2); margin-top: 12px; }
.stop-art img { border-radius: 14px; box-shadow: var(--shadow-md); border: 1px solid rgba(30, 35, 32, .06); background: var(--white); }
.stop-art figcaption { font-size: .8125rem; color: var(--ink-3); margin-top: 8px; }
.stop-art-card img { max-width: min(440px, 100%); }
.stop-art-phone { display: flex; justify-content: center; }
.stop-art-phone .phone { width: 220px; height: 330px; aspect-ratio: auto; border-radius: 34px 34px 0 0; padding-bottom: 0; overflow: hidden; }
.stop-art-phone .phone img { border-radius: 27px 27px 0 0; }
/* arrive animation for each stop's content */
.js .stop .stop-copy, .js .stop .stop-art { opacity: 0; transform: translateY(18px); transition: opacity .6s ease-out, transform .8s var(--ease-out); }
.js .stop.seen .stop-copy, .js .stop.seen .stop-art { opacity: 1; transform: none; }
.js .stop.seen .stop-art { transition-delay: .08s; }

@media (max-width: 860px) {
  .stop { grid-template-columns: 44px minmax(0, 1fr); row-gap: 20px; align-items: start; }
  .stop .dot { grid-column: 1; grid-row: 1; margin-top: 4px; }
  .stop-copy, .stop:nth-child(odd) .stop-copy { grid-column: 2; grid-row: 1; justify-self: start; }
  .stop-art, .stop:nth-child(odd) .stop-art { grid-column: 2; grid-row: 2; }
  .stop-art-phone { justify-content: flex-start; }
}

/* ---------- features ---------- */
.features { padding: clamp(64px, 8vw, 120px) 0; background: var(--white); border-block: 1px solid var(--line); }
.feat-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.feat-intro { position: sticky; top: 112px; }
.feat-intro .lede { margin-top: 18px; }
.feat-group + .feat-group { margin-top: 48px; }
.feat-group dl { margin: 0; }
.feat-group dl > div { display: grid; grid-template-columns: 44px minmax(0, 2fr) minmax(0, 3fr); gap: 8px 20px; align-items: start; padding: 18px 0; border-top: 1px solid var(--line); }
.feat-group dt { font-weight: 640; letter-spacing: -.01em; padding-top: 9px; }
.feat-group dd { margin: 0; color: var(--ink-2); font-size: 1rem; padding-top: 9px; }
.f-ico {
  width: 44px; height: 44px; border-radius: 13px; background: var(--tint); display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px #CDEFB7; transition: transform .25s var(--ease-out), background-color .25s;
}
.f-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--green-text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.f-ico svg .acc { stroke: var(--edge); stroke-width: 1.9; }
.feat-group dl > div:hover .f-ico { transform: translateY(-2px); background: #E4FDD4; }
@media (max-width: 960px) {
  .feat-layout { grid-template-columns: 1fr; }
  .feat-intro { position: static; }
}
@media (max-width: 600px) {
  .feat-group dl > div { grid-template-columns: 44px minmax(0, 1fr); gap: 4px 16px; }
  .feat-group dl > div .f-ico { grid-row: span 2; }
  .feat-group dd { padding-top: 0; }
}

/* ---------- download ---------- */
.download { padding: clamp(64px, 8vw, 120px) 0; background: var(--tint); }
.dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 920px; margin-inline: auto; }
.dl-card { background: var(--white); border-radius: 22px; padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-md); border: 1px solid #DDF3CC; display: flex; flex-direction: column; }
.dl-card h3 { font-size: 1.45rem; margin-top: 20px; }
.dl-card p { color: var(--ink-2); margin: 10px 0 28px; flex: 1; }
.dl-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--tint); display: grid; place-items: center; box-shadow: inset 0 0 0 1px #CDEFB7; }
.dl-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--green-text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) { .dl-grid { grid-template-columns: 1fr; } }

/* ---------- questions ---------- */
.faq { padding: clamp(64px, 8vw, 112px) 0; }
.faq h2 { margin-bottom: 24px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-weight: 620; font-size: 1.1rem; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease-out); }
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0deg); }
.faq details p { color: var(--ink-2); padding: 0 44px 24px 0; max-width: 40em; }

/* ---------- newsletter ---------- */
.newsletter { padding: clamp(24px, 4vw, 48px) 0 clamp(64px, 8vw, 112px); }
.nl-card {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: start;
  background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: clamp(28px, 4.5vw, 56px);
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.nl-card::before { /* the route, faintly, behind the top corner */
  content: ""; position: absolute; right: -40px; top: -60px; width: 260px; height: 260px; opacity: .6; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 15 C 4 8, 16 12, 16 5' fill='none' stroke='%23DDF3CC' stroke-width='.9' stroke-linecap='round'/%3E%3Ccircle cx='16' cy='5' r='1.3' fill='%23EFFEE6' stroke='%23CDEFB7' stroke-width='.3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.nl-copy, .nl-form { position: relative; }
.nl-copy .lede { margin-top: 16px; font-size: 1.08rem; }
.nl-form > label { display: block; font-weight: 620; font-size: .95rem; margin-bottom: 8px; }
.nl-row { display: flex; gap: 10px; }
.nl-row input {
  flex: 1; min-width: 0; min-height: 52px; padding: 0 18px; border-radius: 999px; border: 1px solid #CDD1C7; background: var(--paper);
  font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.nl-row input::placeholder { color: #8A908A; }
.nl-row input:focus { outline: none; border-color: var(--edge); background: var(--white); box-shadow: 0 0 0 4px rgba(96, 243, 18, .25); }
.nl-row .btn { min-height: 52px; padding: 0 26px; }
.nl-form fieldset { border: 0; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
.nl-form legend { font-weight: 620; font-size: .95rem; margin-bottom: 10px; padding: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; transition: border-color .2s, background-color .2s; }
.check:hover { border-color: #C6CABF; }
.check:has(input:checked) { border-color: var(--edge); background: var(--tint); }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0; border-radius: 6px; border: 1.5px solid #9CA29B; background: var(--white) center / 14px no-repeat; cursor: pointer; transition: background-color .15s, border-color .15s; }
.check input:checked { background-color: var(--green); border-color: var(--edge); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.2l2.6 2.5L11 4.4' fill='none' stroke='%231A2E05' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.check input:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.check b { display: block; font-weight: 620; }
.check .cd { display: block; color: var(--ink-2); font-size: .92rem; margin-top: 2px; }
.nl-status { min-height: 1.5em; margin-top: 14px; font-size: .95rem; font-weight: 520; }
.nl-status.error { color: #A0281E; }
.nl-status.ok { color: var(--green-text); }
.nl-status.info { color: var(--ink-2); }
.nl-fine { font-size: .85rem; color: var(--ink-3); margin-top: 4px; }
.nl-fine a { color: var(--ink-2); }
@media (max-width: 860px) { .nl-card { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .nl-row { flex-direction: column; } .nl-row .btn { width: 100%; } }

/* ---------- footer ---------- */
.site-footer { background: var(--white); border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px clamp(24px, 4vw, 56px); padding: clamp(44px, 5vw, 64px) 0 clamp(36px, 4vw, 52px); }
.foot-brand p { color: var(--ink-2); font-size: .95rem; margin-top: 14px; max-width: 30em; }
.foot-col h2 { font-size: .75rem; font-weight: 680; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.foot-col a { display: inline-block; padding: 5px 0; text-decoration: none; color: var(--ink); font-size: .95rem; }
.foot-col a:hover { color: var(--green-text); text-decoration: underline; text-underline-offset: 3px; }
.foot-col a[aria-current="page"] { color: var(--green-text); font-weight: 620; }
.site-foot { background: #000; color: #fff; text-align: center; padding: 22px var(--gutter); font-size: .9rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- legal pages and sitemap ---------- */
.legal { padding: clamp(36px, 5vw, 72px) 0 clamp(48px, 6vw, 88px); }
.legal-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.toc { position: sticky; top: 96px; font-size: .92rem; }
.toc .kicker { margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--ink-2); line-height: 1.35; }
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--ink); border-left-color: var(--edge); font-weight: 600; }
.legal-body { max-width: 720px; }
.legal-body h1 { font-size: clamp(2.2rem, 3vw + 1rem, 3.4rem); }
.updated { color: var(--ink-3); font-size: .95rem; margin-top: 14px; }
.legal-body > .lede { margin-top: 24px; }
.summary { margin: 32px 0 8px; padding: 22px 24px; border-radius: var(--radius); background: var(--tint); border: 1px solid #DDF3CC; }
.summary h2 { font-size: 1rem; letter-spacing: 0; margin: 0 0 10px; }
.summary ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.legal-body section { padding-top: 40px; }
.legal-body h2 { font-size: clamp(1.35rem, .8vw + 1.05rem, 1.7rem); letter-spacing: -.022em; margin-bottom: 14px; scroll-margin-top: 90px; }
.legal-body h3 { font-size: 1.08rem; margin: 22px 0 8px; letter-spacing: -.01em; }
.legal-body p, .legal-body li { color: #333833; }
.legal-body p + p, .legal-body p + ul, .legal-body ul + p { margin-top: 12px; }
.legal-body ul { padding-left: 22px; margin: 10px 0 0; display: grid; gap: 7px; }
.legal-body a { color: var(--green-text); text-underline-offset: 3px; }
.fill { background: #FFF6C9; border-bottom: 1px dashed #C9A400; padding: 0 3px; border-radius: 3px; color: var(--ink); }
.table-wrap { overflow-x: auto; margin-top: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.legal-body table { border-collapse: collapse; width: 100%; font-size: .93rem; min-width: 560px; }
.legal-body th, .legal-body td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.legal-body th { font-weight: 640; background: var(--panel); }
.legal-body tr:last-child td { border-bottom: 0; }
.legal-body code { font-size: .88em; background: var(--panel); padding: 1px 6px; border-radius: 5px; }
@media (max-width: 900px) { .legal-grid { grid-template-columns: minmax(0, 1fr); } .toc { display: none; } }

/* ---------- page hero band (pricing, contact) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--tint); border-bottom: 1px solid #DDF3CC; padding: clamp(56px, 8vw, 112px) 0 clamp(96px, 12vw, 168px); }
.hero-deco { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(90px, 12vw, 160px); pointer-events: none; }
.hero-deco path { fill: none; stroke-linecap: round; }
.hero-deco .trail { stroke: #C2EBA6; stroke-width: 3; stroke-dasharray: 2 12; vector-effect: non-scaling-stroke; }
.hero-deco .drawn { stroke: #A6E27F; stroke-width: 4; vector-effect: non-scaling-stroke; }
.page-hero-in { position: relative; }
.page-hero-in > h1 { font-size: clamp(2.4rem, 3.8vw + .8rem, 4.2rem); max-width: 14em; }
.page-hero-in > .lede { margin-top: 20px; }
.page-hero-in.center { text-align: center; }
.page-hero-in.center > h1, .page-hero-in.center > .lede { margin-left: auto; margin-right: auto; }
.hero-quick { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-stops { list-style: none; margin: 40px auto 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 0; max-width: 980px; position: relative; flex-wrap: nowrap; }
.hero-stops li {
  position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; margin: 6px 14px;
  background: var(--white); border: 1px solid #CDEFB7; border-radius: 999px; font-weight: 600; font-size: .95rem; box-shadow: 0 6px 16px -10px rgba(30, 35, 32, .25);
}
.hero-stops li + li::before { content: ""; position: absolute; left: -30px; top: 50%; width: 30px; border-top: 2px dashed #9FDC78; }
.hero-stops .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--white); border: 2px solid var(--edge); }
.hero-stops .dot.end { background: var(--green); }
@media (max-width: 980px) {
  .hero-stops { flex-direction: column; align-items: center; }
  .hero-stops li + li::before { left: 50%; top: -14px; width: 0; height: 14px; border-top: 0; border-left: 2px dashed #9FDC78; }
}

/* ---------- pricing page ---------- */
.price-hero { padding: clamp(40px, 6vw, 88px) 0 clamp(28px, 4vw, 48px); text-align: center; }
.price-hero h1 { font-size: clamp(2.3rem, 3.6vw + .8rem, 4rem); }
.price-main { padding-bottom: clamp(56px, 7vw, 104px); }
.price-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; max-width: 980px; margin-inline: auto; align-items: stretch; }
.plan-card, .calc-card { background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: clamp(26px, 3.5vw, 40px); box-shadow: var(--shadow-md); }
.plan-card { border: 2px solid var(--edge); position: relative; }
.plan-name { font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; gap: 8px; }
.plan-name::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--tint); }
.plan-price { margin: 18px 0 6px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.plan-price .amount { font-size: clamp(2.6rem, 3vw + 1.4rem, 3.6rem); font-weight: 760; letter-spacing: -.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.plan-price .per { color: var(--ink-2); font-weight: 520; }
.plan-note { color: var(--ink-2); font-size: .95rem; margin-bottom: 22px; }
.plan-trial { text-align: center; font-size: .9rem; color: var(--ink-3); margin-top: 12px; }
.plan-card hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0 20px; }
.plan-incl { font-weight: 620; margin-bottom: 4px; }
.plan-card .ticks { margin-top: 12px; }

.calc-card { display: flex; flex-direction: column; background: var(--paper); }
.calc-card h2 { font-size: 1.4rem; letter-spacing: -.02em; }
.calc-label { display: block; font-weight: 600; font-size: .95rem; margin: 22px 0 10px; }
.calc-row { display: flex; align-items: center; gap: 16px; }
.calc-row output { min-width: 3ch; font-weight: 760; font-size: 2rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; text-align: right; }
.calc-row input[type=range] { flex: 1; appearance: none; -webkit-appearance: none; height: 8px; border-radius: 99px; cursor: pointer;
  background: linear-gradient(to right, var(--green) 0 var(--fill, 21%), #DDE0D7 var(--fill, 21%) 100%); }
.calc-row input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--white); border: 2px solid var(--edge); box-shadow: 0 2px 8px rgba(30, 35, 32, .25); transition: transform .12s ease-out; }
.calc-row input[type=range]:active::-webkit-slider-thumb { transform: scale(1.1); }
.calc-row input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--white); border: 2px solid var(--edge); box-shadow: 0 2px 8px rgba(30, 35, 32, .25); }
.calc-row input[type=range]:focus-visible { outline: 3px solid var(--ink); outline-offset: 6px; }
.calc-scale { display: flex; justify-content: space-between; font-size: .8rem; color: var(--ink-3); margin: 8px 76px 0 2px; font-variant-numeric: tabular-nums; }
.calc-out { margin-top: auto; padding-top: 26px; display: grid; gap: 0; }
.calc-out > div { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); }
.calc-out .k { color: var(--ink-2); }
.calc-out .v { font-weight: 720; font-size: 1.5rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.calc-fine { font-size: .9rem; color: var(--ink-3); margin-top: 10px; }
.calc-fine a { color: var(--green-text); font-weight: 600; }

.price-includes { padding: clamp(56px, 7vw, 104px) 0; background: var(--white); border-block: 1px solid var(--line); }
.price-main { padding-top: clamp(48px, 6vw, 80px); }
.incl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.incl-card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px 10px; }
.incl-head { display: flex; gap: 14px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.incl-head h3 { font-size: 1.2rem; letter-spacing: -.015em; }
.incl-head p { color: var(--ink-3); font-size: .9rem; margin-top: 2px; }
.incl-list { list-style: none; margin: 0; padding: 0; }
.incl-list li { position: relative; padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); }
.incl-list li:last-child { border-bottom: 0; }
.incl-list li::before {
  content: ""; position: absolute; left: 0; top: 17px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.4 8.3l2.3 2.2L11.6 5.6' fill='none' stroke='%233F6212' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  box-shadow: inset 0 0 0 1px #CDEFB7;
}
.incl-list b { display: block; font-weight: 640; font-size: .98rem; letter-spacing: -.005em; }
.incl-list span { display: block; color: var(--ink-2); font-size: .92rem; margin-top: 2px; line-height: 1.45; }
.price-faq { padding-bottom: clamp(32px, 4vw, 56px); }
@media (max-width: 860px) {
  .price-grid, .incl-grid { grid-template-columns: 1fr; }
}

/* ---------- about page ---------- */
.about-hero { padding: clamp(36px, 5vw, 80px) 0 clamp(40px, 5vw, 72px); overflow: hidden; }
.about-hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-hero h1 { font-size: clamp(2.3rem, 3.6vw + .8rem, 4rem); }
.about-hero .lede { margin-top: 22px; }
/* office + road composition: the planner and a driver's phone joined by the route line */
.duo { position: relative; margin: 0; aspect-ratio: 5 / 4; }
.duo::before { content: ""; position: absolute; inset: 8% -6% -4% 10%; background: var(--tint); border: 1px solid #DDF3CC; border-radius: 32px; }
.duo-browser { position: absolute; left: 0; top: 4%; width: 82%; background: var(--white); border-radius: 14px; padding-top: 24px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(30, 35, 32, .07); }
.duo-browser .dots { position: absolute; top: 9px; left: 12px; display: flex; gap: 5px; }
.duo-browser .dots i { width: 8px; height: 8px; border-radius: 50%; background: #DCDED7; }
.duo-browser img { width: 100%; }
.duo-phone { position: absolute; right: 2%; bottom: 0; width: 29%; height: 76%; padding: 6px; background: var(--ink); border-radius: 30px; box-shadow: var(--shadow-lg); overflow: hidden; z-index: 2; }
.duo-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 24px; }
.duo-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 3; pointer-events: none; }
.duo-line path { fill: none; stroke-linecap: round; }
.duo-line .trail { stroke: #9FDC78; stroke-width: 3; stroke-dasharray: 2 9; }
.duo-line .drawn { stroke: var(--edge); stroke-width: 4; stroke-dasharray: 400; stroke-dashoffset: 400; animation: duo-draw 1.6s .3s cubic-bezier(.65, 0, .35, 1) forwards; }
.duo-line circle { stroke: var(--edge); stroke-width: 3; }
.duo-line .a { fill: var(--green); }
.duo-line .b { fill: var(--white); }
@keyframes duo-draw { to { stroke-dashoffset: 0; } }
.duo-tag { position: absolute; z-index: 4; padding: 7px 13px; border-radius: 999px; background: var(--white); border: 1px solid #CDEFB7; font-size: .82rem; font-weight: 650; box-shadow: 0 8px 20px -12px rgba(30, 35, 32, .35); white-space: nowrap; }
.duo-tag::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; background: var(--green); box-shadow: 0 0 0 2px #CDEFB7; }
.t-office { left: 0; top: 67%; }
.t-road { right: 33%; top: 69%; }
.t-road::before { background: var(--white); box-shadow: 0 0 0 2px var(--edge); }
@media (prefers-reduced-motion: reduce) { .duo-line .drawn { animation: none; stroke-dashoffset: 0; } }

.about-story { padding: clamp(56px, 7vw, 104px) 0; background: var(--white); border-block: 1px solid var(--line); }
.story-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.story-copy h2 { margin-bottom: 22px; }
.story-copy p { color: #333833; font-size: 1.08rem; line-height: 1.65; max-width: 38em; }
.story-copy p + p { margin-top: 16px; }
.founder { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 28px; text-align: center; position: sticky; top: 104px; }
.founder-photo {
  width: 112px; height: 112px; margin: 0 auto 18px; border-radius: 50%; background: var(--tint); box-shadow: inset 0 0 0 1px #CDEFB7;
  display: grid; place-items: center; font-weight: 720; font-size: 1.6rem; letter-spacing: -.02em; color: var(--green-text); overflow: hidden;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-name { font-weight: 680; font-size: 1.15rem; }
.founder-role { color: var(--ink-2); margin-top: 4px; }
.founder-facts { margin: 20px 0 0; display: grid; gap: 0; text-align: left; border-top: 1px solid var(--line); }
.founder-facts > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.founder-facts dt { color: var(--ink-3); }
.founder-facts dd { margin: 0; font-weight: 560; text-align: right; }

.principles { padding: clamp(64px, 8vw, 120px) 0; }
.principle-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.principle { grid-column: span 2; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.principle:nth-child(4) { grid-column: 2 / span 2; }
.principle h3 { margin: 18px 0 8px; font-size: 1.15rem; }
.principle p { color: var(--ink-2); font-size: .98rem; }

.honest { padding: 0 0 clamp(64px, 8vw, 112px); }
.honest-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; background: var(--tint); border: 1px solid #DDF3CC; border-radius: 26px; padding: clamp(28px, 4.5vw, 56px); }
.honest-card .ticks { margin: 0; gap: 14px; }
.honest-card .ticks li::before { background-color: var(--white); }

.about-today { padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 6vw, 96px); text-align: center; }
.center-block .lede { margin: 18px auto 0; }
.cta-row.center { justify-content: center; }

@media (max-width: 960px) {
  .about-hero-grid, .story-grid, .honest-card { grid-template-columns: 1fr; }
  .founder { position: static; max-width: 420px; }
  .principle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principle, .principle:nth-child(4) { grid-column: auto; }
}
@media (max-width: 600px) { .principle-grid { grid-template-columns: 1fr; } .about-hero-art img { transform: none; } }

/* ---------- contact page ---------- */
.contact { padding: clamp(36px, 5vw, 80px) 0 clamp(40px, 5vw, 72px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-intro { position: sticky; top: 104px; }
.ways-title { font-size: 1.35rem; letter-spacing: -.02em; }
.contact-ways { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 22px; }
.contact-ways li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; }
.contact-ways h2 { font-size: 1rem; letter-spacing: -.005em; margin: 2px 0 4px; }
.contact-ways p { color: var(--ink-2); font-size: .97rem; }
.contact-ways a { color: var(--green-text); text-underline-offset: 3px; font-weight: 560; }

.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-md); display: grid; gap: 20px; }
.contact-card fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.contact-card legend { font-weight: 640; font-size: 1.05rem; margin-bottom: 12px; padding: 0; letter-spacing: -.01em; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; cursor: pointer; }
.pills input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pills span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid #D5D8CF; background: var(--paper); font-size: .95rem; font-weight: 560; color: var(--ink-2);
  transition: background-color .15s, border-color .15s, color .15s, transform .12s ease-out;
}
.pills label:hover span { border-color: var(--ink-3); color: var(--ink); }
.pills label:active span { transform: scale(.97); }
.pills input:checked + span { background: var(--green); border-color: var(--edge); color: var(--on-green); }
.pills input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 7px; }
.field .opt { font-weight: 450; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid #CDD1C7; background: var(--paper);
  font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { padding: 14px 16px; min-height: 150px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%231E2320' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 16px center / 16px no-repeat; }
.field input::placeholder, .field textarea::placeholder { color: #8A908A; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--edge); background-color: var(--white); box-shadow: 0 0 0 4px rgba(96, 243, 18, .25); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #C2453A; box-shadow: 0 0 0 4px rgba(194, 69, 58, .12); }
.count { font-size: .8rem; color: var(--ink-3); text-align: right; margin-top: 6px; font-variant-numeric: tabular-nums; }
.check-inline { background: var(--paper); }
.send-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.send-row .btn { min-height: 52px; padding: 0 30px; }
.send-row .nl-fine { margin: 0; flex: 1; min-width: 200px; }
.contact-card .nl-status { margin-top: -6px; }
.contact-card .nl-status a { color: var(--green-text); font-weight: 600; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } .contact-intro { position: static; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } .send-row .btn { width: 100%; } }

.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 40px; }
.sm-group { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.sm-group h2 { font-size: 1.15rem; margin-bottom: 12px; }
.sm-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sm-group a { display: block; padding: 6px 0 0; text-decoration: none; color: var(--ink); font-weight: 580; }
.sm-group a:hover { color: var(--green-text); text-decoration: underline; text-underline-offset: 3px; }
.sm-group li span { display: block; font-size: .87rem; color: var(--ink-3); margin-bottom: 6px; }

/* ---------- accessibility preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .stop .stop-copy, .js .stop .stop-art { opacity: 1; transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --ink-2: #2E332F; --ink-3: #3E443F; --line: #B9BDB3; }
}
@media print {
  .nav, .hero-controls, .video-play { display: none; }
}

/* ---------- cookie notice (js/site.js) ----------
   An ink card that rises from the bottom-left, the green route mark on its dark tile.
   Non-blocking: the page stays usable behind it. */
.consent { position: fixed; z-index: 200; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); width: min(420px, calc(100vw - 32px));
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 18px 18px 18px 16px; border-radius: 20px;
  background: var(--ink); color: #EEF1EA; box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 24px 60px -16px rgba(30, 35, 32, .55);
  border: 1px solid rgba(255, 255, 255, .06);
  opacity: 0; transform: translateY(24px) scale(.98); transform-origin: bottom left;
  transition: opacity .35s var(--ease-out), transform .6s cubic-bezier(.34, 1.3, .55, 1); }
.consent.in { opacity: 1; transform: none; }
.consent.out { opacity: 0; transform: translateY(16px); transition: opacity .25s ease-out, transform .3s ease-out; }
.consent-mark { width: 38px; height: 38px; border-radius: 11px; background: #111511; border: 1px solid #2C3A22; display: grid; place-items: center; }
.consent-mark svg { width: 22px; height: 22px; }
.consent-mark circle { fill: var(--green); }
.consent-mark path { fill: none; stroke: var(--edge); stroke-width: 1.6; }
.consent-title { margin: 1px 0 0; font-weight: 700; font-size: 1rem; letter-spacing: -.01em; color: #FFFFFF; }
.consent-text { margin: 4px 0 0; font-size: .9rem; line-height: 1.5; color: #C4CAC0; }
.consent-text a { color: #FFFFFF; text-decoration-color: var(--green); text-underline-offset: 3px; white-space: nowrap; }
.consent-text a:hover { color: var(--green); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.consent-actions .btn { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.consent-ghost { background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, .22); }
.consent-ghost:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .06); }
.consent .btn:focus-visible, .consent a:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
@media (max-width: 520px) {
  .consent { left: 12px; right: 12px; width: auto; bottom: max(12px, env(safe-area-inset-bottom)); }
  .consent-actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) { .consent, .consent.out { transform: none !important; transition: opacity .2s ease !important; } }
@media print { .consent { display: none; } }

/* ---------- back to top (js/site.js) ---------- */
.to-top { position: fixed; z-index: 150; right: max(16px, env(safe-area-inset-right)); bottom: calc(max(16px, env(safe-area-inset-bottom)) + var(--lift, 0px)); display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 1px solid var(--edge); background: var(--green); color: var(--on-green); box-shadow: var(--shadow-md); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px) scale(.9); transition: opacity .3s var(--ease-out), transform .45s var(--ease-out), visibility 0s linear .45s; }
.to-top.on { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease-out), transform .45s var(--ease-out), visibility 0s; }
.to-top:hover { transform: translateY(-2px); }
.to-top:active { transform: scale(.94); transition-duration: .1s; }
.to-top:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .to-top, .to-top.on { transform: none; transition: opacity .2s, visibility 0s; } }
@media print { .to-top { display: none; } }

main[tabindex="-1"]:focus, #top[tabindex="-1"]:focus { outline: none; }
/* phones: the cookie notice spans the bottom, so the button waits until it is dismissed */
@media (max-width: 520px) { body:has(.consent.in) .to-top { opacity: 0; visibility: hidden; } }

/* ---------- social accounts (js/social.js; set in the admin's Social Media Accounts) ---------- */
.foot-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.foot-social[hidden], .post-share[hidden] { display: none; }
.foot-social a, .post-share .soc-row a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); background: var(--white); transition: background-color .2s, border-color .2s, color .2s, transform .12s ease-out; }
.foot-social a:hover, .post-share .soc-row a:hover { background: var(--green); border-color: var(--edge); color: var(--on-green); }
.foot-social a:active, .post-share .soc-row a:active { transform: scale(.94); }
.foot-social svg, .post-share svg { width: 19px; height: 19px; }
.post-share { margin: 36px 0 8px; padding: 20px 0 0; border-top: 1px solid var(--line); }
.post-share .soc-label { margin: 0 0 12px; font-size: .8rem; font-weight: 680; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.post-share .soc-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.post-share .soc-copy { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
.post-share .soc-copy:hover { border-color: var(--ink-3); }
.post-share .soc-status { margin: 8px 0 0; min-height: 1.2em; font-size: .85rem; color: var(--green-text); }

/* ---------- header: "Sign in" / "Account" link (every page; js/site.js switches it). Added 22 Nov 2026 ---------- */
.nav-account { display: inline-flex; align-items: center; gap: 8px; margin-left: -12px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid #D5D8CF; background: var(--white); color: var(--ink); font-size: .95rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: border-color .15s, transform .12s ease-out; }
.nav-account:hover { border-color: var(--ink-3); }
.nav-account:active { transform: scale(.97); }
.nav-account svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
@media (max-width: 960px) {
  .nav-account { margin-left: auto; padding: 0 12px; }
  .nav-account + .nav-menu { margin-left: -16px; }
}
@media (max-width: 640px) { .nav-account .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } }
@media (prefers-reduced-motion: reduce) { .nav-account { transition: none; } }

/* about page: "Email Brandon" button below the founder card (22 Nov 2026); the column is pinned instead of the card */
.founder-col { position: sticky; top: 104px; align-self: start; }
.founder-col .founder { position: static; }
.founder-email { width: 100%; margin-top: 14px; }
.founder-email svg { width: 16px; height: 16px; fill: none; }
.founder-email-addr { margin: 8px 0 0; text-align: center; font-size: .875rem; color: var(--ink-3); overflow-wrap: anywhere; }
@media (max-width: 960px) { .founder-col { position: static; max-width: 420px; } }

/* ---------- "Try it" sub menu in the header (22 Nov 2026): How it works, Features ---------- */
.nav-group { position: relative; display: flex; align-items: center; gap: 2px; }
.nav-sub-toggle { display: grid; place-items: center; width: 22px; height: 28px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--ink-2); cursor: pointer; }
.nav-sub-toggle svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease-out); }
.nav-sub-toggle:hover { color: var(--ink); }
.nav-sub { position: absolute; top: calc(100% + 10px); left: -12px; z-index: 60; display: grid; gap: 2px; min-width: 190px; padding: 8px; border-radius: 14px; background: var(--green); border: 1px solid var(--edge); box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s ease-out, transform .2s var(--ease-out), visibility 0s linear .2s; }
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }   /* keeps it open while the pointer moves down */
.nav-group:hover .nav-sub, .nav-group:focus-within .nav-sub, .nav-group.open .nav-sub { opacity: 1; visibility: visible; transform: none; transition: opacity .15s ease-out, transform .2s var(--ease-out), visibility 0s; }
.nav-group:hover .nav-sub-toggle svg, .nav-group.open .nav-sub-toggle svg { transform: rotate(180deg); }
.nav-links .nav-sub a { padding: 9px 12px; border-radius: 9px; color: var(--on-green); font-weight: 600; white-space: nowrap; }
.nav-links .nav-sub a:hover { background: rgba(26, 46, 5, .1); color: #000; }
.nav-links .nav-sub a:focus-visible { outline-color: #122204; }
@media (max-width: 960px) {   /* phone menu (already green): the two links sit indented under "Try it" */
  .nav-group { display: block; }
  .nav-group > a { display: block; }
  .nav-sub-toggle { display: none; }
  .nav-sub, .nav-group:hover .nav-sub { position: static; display: block; min-width: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .nav-sub::before { display: none; }
  .nav-links .nav-sub a { display: block; padding: 12px 0 12px 18px; border-radius: 0; font-weight: 560; font-size: 1rem; }
  .nav-links .nav-sub a:hover { background: none; }
}
@media (prefers-reduced-motion: reduce) { .nav-sub, .nav-sub-toggle svg { transition: none; } }

/* ---------- main menu: the page you're on (22 Nov 2026). sync-shared.py / build-blog.py mark it aria-current="page" ---------- */
.nav-links a { position: relative; transition: color .15s; }
.nav-links > a[aria-current="page"], .nav-group > a[aria-current="page"] { color: var(--ink); font-weight: 680; }
.nav-links > a[aria-current="page"]::after, .nav-group > a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 2px; background: var(--green); box-shadow: 0 0 0 .5px var(--edge); }
.nav-links > a:active, .nav-group > a:active { color: var(--ink); opacity: .7; }
@media (max-width: 960px) {   /* the phone menu is green: a dark marker instead of the green bar */
  .nav-links > a[aria-current="page"], .nav-group > a[aria-current="page"] { color: #000; font-weight: 750; padding-left: 16px; }
  .nav-links > a[aria-current="page"]::after, .nav-group > a[aria-current="page"]::after { left: 0; right: auto; top: 50%; bottom: auto; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #122204; box-shadow: none; }
}

/* ---------- copyright bar (22 Nov 2026): copyright left, "Admin Login" right, lined up with the footer columns ---------- */
.site-foot { text-align: left; }
.site-foot-in { width: min(var(--max), 100%); margin-inline: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; flex-wrap: wrap; }
.site-foot-admin { color: rgba(255, 255, 255, .75); text-decoration: none; font-weight: 560; }
.site-foot-admin:hover { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.site-foot-admin:focus-visible { outline-color: var(--green); }
