/* The Scenic Route - beta site. One stylesheet for every page. */
:root {
  --green: #0E3B2E;
  --green-2: #164C3C;
  --green-3: #2C6552;
  --green-ink: #CFE3DA;
  --green-soft: #DCE9E3;
  --gold: #E9B949;
  --gold-ink: #14110A;
  --ink: #101413;
  --ink-2: #3A413E;
  --ink-3: #5B6461;
  --paper: #FFFFFF;
  --paper-2: #F4F3EE;
  --line: #DAD9D1;
  --night: #101413;
  --night-2: #17201D;
  --night-ink: #D5DBD8;
  --danger: #B3261E;
  --ok: #1B6B52;
  --radius: 14px;
  --wrap: 1160px;
  --head: 'Barlow Condensed', system-ui, sans-serif;
  --body: 'Barlow', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.55 var(--body); overflow-x: hidden; }
img, video, svg { max-width: 100%; }
a { color: var(--green); }
a:hover { color: var(--ok); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } body { font-size: 17px; } }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--gold-ink); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- header and nav ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(14, 59, 46, 0.97); color: #fff; backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,0.08); }
.site-head .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 700 24px/1 var(--head); letter-spacing: 0.02em; text-transform: uppercase; white-space: nowrap; margin-right: auto; }
.brand:hover { color: #fff; }
.brand svg { width: 36px; height: 36px; flex: none; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { white-space: nowrap; color: var(--green-soft); text-decoration: none; font-weight: 500; font-size: 16px; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,0.08); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); border-radius: 8px 8px 0 0; background: none; }
.nav .cta { margin-left: 8px; }
.menu-btn { display: none; background: none; border: 1px solid rgba(255,255,255,0.3); color: #fff; border-radius: 10px; width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 980px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--green); border-bottom: 1px solid rgba(255,255,255,0.12); padding: 8px 16px 20px; box-shadow: 0 18px 30px rgba(0,0,0,0.25); }
  .nav.open { display: flex; }
  .nav a { font-size: 19px; padding: 14px 8px; border-bottom: 1px solid rgba(255,255,255,0.08); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--gold); padding-left: 16px; }
  .nav .cta { margin: 16px 0 0; text-align: center; border-bottom: 0; }
  .head-cta { display: none; }
}
@media (min-width: 981px) { .head-cta { display: none; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 10px; font: 600 17px/1.2 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { background: #F2C963; color: var(--gold-ink); }
.btn-line { border-color: rgba(255,255,255,0.45); color: #fff; background: transparent; }
.btn-line:hover { border-color: #fff; color: #fff; }
.btn-dark { background: var(--green); color: #fff; }
.btn-dark:hover { background: var(--green-2); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink-3); color: var(--ink); }
.btn-lg { min-height: 56px; padding: 16px 28px; font-size: 19px; }
.btn[disabled] { opacity: 0.55; cursor: progress; }

/* ---------- type ---------- */
.eyebrow { display: inline-block; border: 1px solid #5E8C7C; border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--green-ink); }
.eyebrow.dark { border-color: var(--line); color: var(--ink-3); }
h1, h2, .h2, h3.big { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: -0.005em; }
h1 { font-size: clamp(44px, 7vw, 88px); line-height: 0.95; margin: 20px 0 0; }
h2, .h2 { font-size: clamp(34px, 4.8vw, 56px); line-height: 1; margin: 0; }
h3 { font-size: 22px; font-weight: 600; line-height: 1.25; margin: 0; }
h3.big { font-size: 32px; line-height: 1.05; }
.lede { font-size: 21px; line-height: 1.5; max-width: 34em; }
@media (max-width: 600px) { .lede { font-size: 19px; } }
.muted { color: var(--ink-2); }
.small { font-size: 15px; color: var(--ink-3); }
p { margin: 12px 0 0; }
.problem { display: inline-block; font: 600 14px/1.3 var(--body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.dark .problem { color: #8FB5A7; }

/* ---------- sections ---------- */
.hero { background: var(--green); color: #fff; overflow: hidden; }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 40px; padding-top: 44px; }
.hero-copy { flex: 999 1 520px; min-width: 0; padding-bottom: 72px; }
.hero-copy .lede { color: var(--green-soft); margin-top: 24px; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { margin-top: 18px; font-size: 15px; color: #A9C7BB; }
.hero-phone { flex: 1 1 280px; display: flex; justify-content: center; }
.page-hero { background: var(--green); color: #fff; }
.page-hero .wrap { padding-top: 56px; padding-bottom: 64px; }
.page-hero .lede { color: var(--green-soft); margin-top: 20px; }
.page-hero h1 { font-size: clamp(40px, 6vw, 72px); }

section.band { padding: 88px 0; }
section.band.tight { padding: 64px 0; }
section.alt { background: var(--paper-2); }
section.dark { background: var(--night); color: #fff; }
section.dark .muted, section.dark p { color: var(--night-ink); }
section.green { background: var(--green); color: #fff; }
section.green p { color: var(--green-soft); }
@media (max-width: 600px) { section.band { padding: 60px 0; } }

.split { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: center; }
.split > .copy { flex: 1 1 420px; min-width: 0; }
.split > .media { flex: 0 1 340px; min-width: 0; display: flex; justify-content: center; }
.split.rev { flex-direction: row-reverse; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 36px 48px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
@media (max-width: 400px) { .grid, .grid.two { grid-template-columns: 1fr; } }

/* ---------- phone frames ---------- */
.phone { position: relative; width: 100%; max-width: 300px; border-radius: 34px; background: #0b0e0d; padding: 9px; box-shadow: 0 30px 60px rgba(0,0,0,0.35), inset 0 0 0 1px #2b302e; }
.phone img, .phone video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 20; object-fit: cover; border-radius: 26px; background: #1b201c; }
.phone.sm { max-width: 240px; }
.caption { margin-top: 14px; font-size: 15px; color: var(--ink-3); text-align: center; max-width: 300px; }
.dark .caption, .green .caption { color: #A9C7BB; }
.phones { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; align-items: flex-start; }
.phones figure { margin: 0; display: flex; flex-direction: column; align-items: center; flex: 0 1 260px; }

/* ---------- key feature blocks (home) ---------- */
.key { padding: 80px 0; border-top: 1px solid var(--line); }
.key:first-of-type { border-top: 0; }
.key .num { font: 700 18px var(--head); color: var(--gold); background: var(--green); width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.key h2 { max-width: 14em; }
.key .lede { margin-top: 18px; color: var(--ink-2); }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 16px; height: 9px; border-left: 3px solid var(--ok); border-bottom: 3px solid var(--ok); transform: rotate(-45deg); }
.dark .ticks li::before, .green .ticks li::before { border-color: var(--gold); }
.more-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 26px; font-weight: 600; text-decoration: none; }
.more-link::after { content: "→"; transition: transform .15s; }
.more-link:hover::after { transform: translateX(3px); }

/* condensed list */
.also { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0 40px; margin-top: 36px; }
.also div { padding: 18px 0; border-top: 1px solid var(--line); }
.also b { display: block; font-size: 18px; }
.also span { font-size: 16px; color: var(--ink-2); }

/* cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.dark .card { background: var(--night-2); border-color: #26302c; }
.callout { border: 1px solid var(--line); background: var(--paper-2); padding: 18px 22px; border-radius: 12px; margin-top: 24px; }
.dark .callout { background: var(--night-2); border-color: #2f3a36; }
.note { font-size: 15px; color: var(--ink-3); margin-top: 18px; }

/* route style switcher */
.styles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.styles button { min-height: 50px; padding: 10px 22px; border-radius: 10px; font: 600 18px var(--body); cursor: pointer; background: #fff; color: var(--ink); border: 2px solid #C9C8C0; }
.styles button[aria-pressed="true"] { background: var(--green); color: #fff; border-color: var(--green); }
.route-map { background: #E9EFEA; border-radius: 16px; padding: 12px; }
.route-map svg { display: block; width: 100%; height: auto; }
.route-map path.rt { fill: none; stroke-linecap: round; stroke-linejoin: round; transition: opacity .3s, stroke-width .3s; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; margin-top: 22px; }
.stats div { background: var(--paper-2); border-radius: 12px; padding: 12px 14px; }
.stats dt { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.stats dd { margin: 4px 0 0; font-weight: 600; font-size: 19px; }

/* rating grid */
.rgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 420px; }
.rgrid button { min-height: 84px; padding: 8px 6px; border-radius: 10px; font: 600 16px/1.2 var(--body); cursor: pointer; background: var(--green-2); color: #fff; border: 1px solid var(--green-3); }
.rgrid button[aria-pressed="true"] { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.rlabel { font-size: 14px; letter-spacing: .05em; text-transform: uppercase; color: #A9C7BB; }

/* faq */
.faq { margin-top: 28px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 600; font-size: 19px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 26px; color: var(--ink-3); }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 0 22px; color: var(--ink-2); }

/* steps (install) */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 22px; }
.steps > li { counter-increment: step; position: relative; padding: 24px 24px 24px 82px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.steps > li::before { content: counter(step); position: absolute; left: 22px; top: 22px; width: 42px; height: 42px; border-radius: 12px; background: var(--green); color: var(--gold); font: 700 22px/42px var(--head); text-align: center; }
.steps h3 { font-size: 21px; }
.steps p, .steps ul { color: var(--ink-2); }
.steps ul { margin: 10px 0 0; padding-left: 20px; }
@media (max-width: 520px) { .steps > li { padding: 76px 18px 20px; } .steps > li::before { top: 18px; left: 18px; } }
.warnbox { border: 2px solid var(--danger); background: #FCF1F0; border-radius: var(--radius); padding: 22px 24px; margin-top: 28px; }
.warnbox h3 { color: var(--danger); }
kbd, .ui { font: 600 0.92em var(--body); background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; white-space: nowrap; }

/* forms */
.form { display: grid; gap: 22px; max-width: 680px; }
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 0; display: grid; gap: 18px; }
.form legend { font: 700 22px var(--head); text-transform: uppercase; padding: 0 8px; }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-weight: 600; }
.field .hint { font-size: 15px; color: var(--ink-3); }
.field input[type=text], .field input[type=email], .field select, .field textarea { width: 100%; font: 400 17px var(--body); padding: 12px 14px; border: 1.5px solid #B9B8B0; border-radius: 10px; background: #fff; color: var(--ink); min-height: 50px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); outline: 3px solid rgba(233,185,73,0.5); outline-offset: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.check { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--green); }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radios label { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid #B9B8B0; border-radius: 10px; padding: 10px 14px; cursor: pointer; font-weight: 500; }
.radios input { accent-color: var(--green); width: 18px; height: 18px; margin: 0; }
.radios label:has(input:checked) { border-color: var(--green); background: #EAF2EE; }
.err { color: var(--danger); font-size: 15px; font-weight: 600; }
.form-msg { border-radius: 12px; padding: 16px 18px; font-weight: 500; }
.form-msg.ok { background: #E3F1EA; color: #0F4A37; border: 1px solid #A7CFBD; }
.form-msg.bad { background: #FCF1F0; color: var(--danger); border: 1px solid #EBB9B5; }
.hp { position: absolute !important; left: -5000px !important; width: 1px; height: 1px; overflow: hidden; }

/* legal */
.legal { max-width: 760px; }
.legal h2 { font-size: clamp(28px, 3.6vw, 38px); margin-top: 52px; }
.legal h3 { margin-top: 30px; font-size: 20px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin-top: 8px; }
.legal .summary { background: var(--paper-2); border-radius: var(--radius); padding: 22px 26px; margin-top: 28px; }
.legal .summary li { color: var(--ink); }
.legal table { border-collapse: collapse; width: 100%; margin-top: 16px; font-size: 16px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal th { background: var(--paper-2); }
.table-scroll { overflow-x: auto; }
.toc { columns: 2 260px; padding-left: 20px; margin-top: 20px; }

/* footer */
.site-foot { background: var(--night); color: #A7B0AC; font-size: 15px; padding: 56px 0 40px; }
.site-foot a { color: #DCE9E3; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; }
.foot-grid h4 { margin: 0 0 10px; color: #fff; font: 700 18px var(--head); text-transform: uppercase; letter-spacing: .03em; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot-small { margin-top: 36px; padding-top: 22px; border-top: 1px solid #26302c; font-size: 14px; line-height: 1.5; }

/* motion */
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .7s ease both; }
@keyframes ping { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.5); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Partial screenshots (a card, not a whole screen): shown at their own proportions. */
.shot { display: block; width: 100%; max-width: 400px; height: auto; border-radius: 20px; box-shadow: 0 24px 48px rgba(0,0,0,0.28); background: #1b201c; }
.shots { display: flex; flex-direction: column; gap: 18px; align-items: center; width: 100%; }

/* Contact address behind a button (site.js) */
.email-reveal { font: inherit; color: var(--link, inherit); background: none; border: 0; border-bottom: 1px solid currentColor; padding: 0; cursor: pointer; font-weight: 600; }
.email-reveal:hover { opacity: .8; }
.email-reveal:focus-visible { outline: 2px solid var(--gold, currentColor); outline-offset: 3px; }

/* Build 384: fuel screenshots side by side (routes) */
.fuel-pair { display: flex; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.fuel-pair figure { margin: 0; flex: 1 1 200px; max-width: 320px; }
.fuel-pair .shot { width: 100%; }

/* North up / heading up: one phone, crossfading, with a toggle (site.js) */
.orient-stack { position: relative; }
.orient-stack img { display: block; width: 100%; height: auto; transition: opacity .8s ease; }
.orient-stack .o-heading { position: absolute; inset: 0; opacity: 0; }
.orient.show-heading .o-heading { opacity: 1; }
.orient-toggle { margin-top: 14px; font: inherit; font-weight: 600; font-size: 15px; padding: 9px 18px; border-radius: 12px; border: 1px solid var(--line, #DAD9D1); background: var(--paper, #fff); color: inherit; cursor: pointer; }
.orient-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
