/* ROADHEAD look (12 Nov 2026, Jack: "like baumeister.host but brighter, PNW themed and retro").
   Baumeister's structure (menu bar, split hero led by real screenshots, a "free" strip, labelled sections,
   few words) on a sunny daytime palette: cream paper, forest green, lake blue, sunset orange, like an old
   national-park travel poster. The landscape is a flat SVG (scene.svg). Headings: Fraunces; text: DM Sans.
   body.site = landing, Terms, Privacy, admin, error pages.  body.app = the in-car app (big targets). */
@font-face { font-family:"Fraunces"; src:url(/static/fonts/fraunces.woff2) format("woff2"); font-weight:100 900; font-display:swap; }
@font-face { font-family:"DM Sans"; src:url(/static/fonts/dm-sans.woff2) format("woff2"); font-weight:100 1000; font-display:swap; }

:root {
  --paper:#fbf5e8; --paper-2:#f4ead4; --card:#ffffff; --line:#e7dcc3; --line-2:#d9caa8;
  --ink:#1f2b25; --ink-soft:#46534c; --muted:#6f7a73;
  --forest:#1e4434; --forest-2:#2f6b4f; --lake:#3e7c98; --sky:#cfe6e9; --sun:#ef8a3c; --rust:#c4521d; --gold:#f2b84b;
  --sun-soft:rgba(239,138,60,.14); --forest-soft:rgba(47,107,79,.10);
  --r-lg:22px; --r-md:16px; --r-sm:12px;
  --shadow:0 1px 2px rgba(31,43,37,.06), 0 10px 30px -12px rgba(31,43,37,.18);
  --heading:"Fraunces", Georgia, "Times New Roman", serif;
  --body:"DM Sans", -apple-system, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  color-scheme:light;
}
* { box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
html { background:var(--paper); -webkit-text-size-adjust:100%; text-size-adjust:100%; }
html, body { margin:0; }
body { background:var(--paper); color:var(--ink); font:400 17px/1.6 var(--body); -webkit-font-smoothing:antialiased; overflow-x:hidden; }
button, input, select, textarea { font:inherit; color:inherit; }
a { color:var(--rust); text-underline-offset:3px; }
[hidden] { display:none !important; }
img { max-width:100%; }
:focus-visible { outline:3px solid var(--lake); outline-offset:3px; }
h1, h2, h3 { font-family:var(--heading); font-optical-sizing:auto; color:var(--forest); }

/* ---------- brand ---------- */
.brand { display:inline-flex; align-items:center; gap:10px; color:var(--forest); text-decoration:none; }
.brand img { width:30px; height:33px; display:block; }
.brand .word { font-family:var(--heading); font-weight:800; font-size:20px; letter-spacing:.04em; }

/* ---------- buttons ---------- */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:52px; padding:0 26px; border-radius:999px; border:0;
       font-weight:700; font-size:17px; text-decoration:none; cursor:pointer; transition:transform .12s ease, box-shadow .2s ease, background-color .15s; }
.btn:active { transform:scale(.98); }
.btn.primary { background:var(--rust); color:#fff; box-shadow:0 8px 20px -8px rgba(196,82,29,.6); }
.btn.primary:hover { background:#b0471a; }
.btn.quiet { background:rgba(255,255,255,.75); color:var(--forest); box-shadow:inset 0 0 0 1.5px var(--line-2); }
.btn.quiet:hover { background:#fff; }
.btn.store { background:#14211d; color:#fff; }
.btn.store:hover { background:#000; }
.btn[disabled] { opacity:.55; cursor:default; }
.label { display:inline-flex; align-items:center; gap:10px; font-size:13px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--rust); margin:0 0 14px; }
.label::before { content:""; width:22px; height:2px; background:currentColor; border-radius:2px; }

/* =====================================================================================
   SITE: landing, legal, admin, errors
   ===================================================================================== */
.menu { position:sticky; top:0; z-index:50; background:rgba(251,245,232,.82); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
        border-bottom:1px solid rgba(217,202,168,.6); }
.menu .in { max-width:1180px; margin:0 auto; height:64px; padding:0 clamp(20px,4vw,40px); padding-top:env(safe-area-inset-top);
            display:flex; align-items:center; justify-content:space-between; gap:12px; }
.menu .links { display:flex; align-items:center; gap:24px; }
.menu .links a { color:var(--ink-soft); text-decoration:none; font-size:15px; font-weight:500; }
.menu .links a:hover { color:var(--forest); }
.menu .links .cta { background:var(--forest); color:#fbf5e8; padding:10px 20px; border-radius:999px; font-weight:700; }
.menu .links .cta:hover { color:#fff; background:var(--forest-2); }
.wrap { max-width:1180px; margin:0 auto; padding:0 clamp(20px,4vw,40px); }

/* hero: sky, then the copy and the real screenshots standing in the forest */
.hero { position:relative; overflow:hidden; background:linear-gradient(180deg, #cfe6e9 0%, #eef0dc 46%, #fbf0d6 72%, var(--paper) 100%); }
.hero .scene { position:absolute; left:0; right:0; bottom:0; width:100%; height:auto; min-height:300px; max-height:440px; object-fit:cover; object-position:72% 100%;
               transform:scaleX(-1); pointer-events:none; }  /* flipped: the sun sets behind the screenshots, clear of the words */
.hero .wrap { position:relative; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:48px; align-items:center; padding-top:64px; padding-bottom:90px; }
.eyebrow { display:inline-flex; align-items:center; gap:10px; font-size:13px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--forest);
           background:rgba(255,255,255,.7); border:1px solid rgba(217,202,168,.8); padding:8px 16px; border-radius:999px; margin:0 0 24px; }
.eyebrow .dot { width:8px; height:8px; border-radius:50%; background:var(--sun); box-shadow:0 0 0 4px var(--sun-soft); }
.hero h1 { font-size:clamp(44px, 6.4vw, 78px); line-height:1.0; letter-spacing:-.02em; font-weight:800; margin:0 0 20px; }
.hero h1 .warm { color:var(--rust); font-style:italic; font-weight:700; }
.hero .lede { font-size:clamp(18px, 2vw, 21px); color:var(--ink-soft); margin:0 0 30px; max-width:32ch; line-height:1.5; }
.cta-row { display:flex; flex-wrap:wrap; gap:12px; }
.fine { color:var(--ink); font-size:14px; font-weight:500; margin:18px 0 0; }
.copy { position:relative; isolation:isolate; }
.copy::before { content:""; position:absolute; inset:-60px -80px -50px -80px; z-index:-1; pointer-events:none;
                background:radial-gradient(closest-side, rgba(251,245,232,.92), rgba(251,245,232,.6) 60%, rgba(251,245,232,0)); }

/* real screenshots in a plain phone frame */
.shots { position:relative; display:flex; justify-content:center; align-items:flex-start; gap:22px; }
.device { margin:0; width:min(280px, 46%); flex:none; background:#1f2b25; border-radius:44px; padding:8px;
          box-shadow:0 0 0 1px rgba(31,43,37,.25), 0 40px 70px -24px rgba(20,40,30,.55), 0 12px 24px -8px rgba(20,40,30,.3); }
.device img { display:block; width:100%; height:auto; border-radius:36px; }
.device.back { margin-top:64px; }
.caption { text-align:center; color:#e9f0e8; font-size:13px; margin-top:16px; text-shadow:0 1px 2px rgba(0,0,0,.35); }

/* the free strip, as on baumeister.host */
.strip { display:grid; grid-template-columns:repeat(4,1fr); background:var(--card); border-radius:var(--r-lg); box-shadow:var(--shadow); margin:-34px 0 0; position:relative; }
.strip div { padding:20px 24px; }
.strip div + div { border-left:1px solid var(--line); }
.strip b { display:block; font-family:var(--heading); font-size:24px; color:var(--forest-2); font-weight:800; line-height:1.2; }
.strip span { color:var(--ink-soft); font-size:15px; }

/* sections */
.section { padding:72px 0 8px; }
.section h2 { font-size:clamp(30px, 3.8vw, 44px); line-height:1.08; letter-spacing:-.015em; font-weight:800; margin:0 0 10px; }
.section .sub { color:var(--ink-soft); margin:0 0 28px; font-size:18px; }

/* example stories */
.samples { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.sample { display:flex; align-items:center; gap:16px; padding:20px 22px; border-radius:var(--r-lg); background:var(--card); box-shadow:var(--shadow); }
.sample b { display:block; font-size:18px; font-weight:700; color:var(--forest); }
.sample span { display:block; color:var(--ink-soft); font-size:15px; line-height:1.45; margin-top:2px; }
.play { flex:none; width:56px; height:56px; border-radius:50%; border:0; padding:0; background:var(--forest); color:#fbf5e8;
        display:grid; place-items:center; cursor:pointer; transition:transform .12s ease, background-color .15s; }
.play:hover { background:var(--forest-2); }
.play:active { transform:scale(.95); }
.play i { display:block; width:18px; height:20px; margin-left:4px; background:currentColor; clip-path:polygon(0 0, 100% 50%, 0 100%); }
.play.on { background:var(--rust); }
.play.on i { margin-left:0; width:16px; height:18px; clip-path:polygon(0 0, 35% 0, 35% 100%, 0 100%, 0 0, 65% 0, 100% 0, 100% 100%, 65% 100%, 65% 0); }

/* how it works: three short cards */
.points { display:grid; grid-template-columns:repeat(3, 1fr); gap:16px; }
.point { padding:24px; border-radius:var(--r-lg); background:var(--card); box-shadow:var(--shadow); }
.point .ico { width:44px; height:44px; border-radius:14px; background:var(--forest-soft); display:grid; place-items:center; margin-bottom:16px; }
.point .ico svg { width:24px; height:24px; stroke:var(--forest-2); fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.point b { display:block; font-family:var(--heading); font-size:21px; font-weight:700; color:var(--forest); margin-bottom:6px; line-height:1.2; }
.point span { color:var(--ink-soft); font-size:16px; line-height:1.5; }

/* sign in */
.signin-sec { padding:72px 0 24px; }
.signin { max-width:470px; margin:0 auto; padding:34px 30px; border-radius:28px; background:var(--card); box-shadow:var(--shadow); scroll-margin-top:90px; }
.signin h3 { font-size:28px; letter-spacing:-.01em; font-weight:800; margin:0 0 6px; line-height:1.15; }
.signin p { color:var(--ink-soft); margin:0 0 22px; font-size:16px; }
.field { display:block; font-size:14px; font-weight:700; color:var(--ink-soft); margin:0 0 8px; }
.signin input[type=email], .signin input[inputmode=numeric] { width:100%; height:56px; padding:0 18px; border-radius:var(--r-md);
  background:var(--paper); border:1.5px solid var(--line-2); color:var(--ink); font-size:17px; outline:none; transition:border-color .15s, box-shadow .15s; }
.signin input:focus { border-color:var(--lake); box-shadow:0 0 0 4px rgba(62,124,152,.15); }
.signin input[inputmode=numeric] { font-size:26px; letter-spacing:.4em; font-weight:700; font-variant-numeric:tabular-nums; text-align:center; padding:0 0 0 .4em; }
.agree { display:flex; gap:12px; align-items:flex-start; margin:18px 0 0; font-size:15px; color:var(--ink-soft); min-height:44px; cursor:pointer; line-height:1.45; }
.agree input { width:22px; height:22px; margin:0; flex:none; accent-color:var(--forest-2); }
.signin button { width:100%; margin-top:18px; }
.textbtn { background:none; border:0; color:var(--ink-soft); font-size:15px; font-weight:600; padding:12px; min-height:44px; cursor:pointer; }
.textbtn:hover { color:var(--forest); }
.signin .textrow { display:flex; justify-content:space-between; gap:8px; margin-top:8px; }
.signin .textrow .textbtn { width:auto; margin:0; padding:12px 4px; }
.err { color:#b23a1b; min-height:1.5em; font-size:15px; font-weight:600; margin:14px 0 0 !important; }

/* footer: the forest edge */
.foot { margin-top:72px; position:relative; background:var(--forest); color:#cfdccf; text-align:center; font-size:14px; line-height:2;
        padding:28px 20px calc(env(safe-area-inset-bottom) + 48px); }
.foot::before { content:""; position:absolute; left:0; right:0; bottom:100%; height:90px; background:url(/static/scene.svg?v=7) 50% 100% / auto 330px repeat-x; }
.foot a { color:#fbf5e8; text-decoration:none; }
.foot a:hover { text-decoration:underline; }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns:1fr; gap:40px; padding-top:40px; padding-bottom:80px; }
  .hero .lede { max-width:none; }
  .strip { grid-template-columns:1fr 1fr; }
  .strip div:nth-child(3) { border-left:0; }
  .strip div:nth-child(n+3) { border-top:1px solid var(--line); }
  .points { grid-template-columns:1fr; }
}
@media (max-width: 640px) {
  .menu .links a:not(.cta) { display:none; }
  .eyebrow { font-size:11.5px; letter-spacing:.08em; padding:7px 12px; }
  .samples { grid-template-columns:1fr; }
  .shots { gap:12px; }
  .device { border-radius:32px; padding:6px; width:48%; }
  .device img { border-radius:27px; }
  .device.back { margin-top:40px; }
  .section { padding:56px 0 4px; }
  .signin { padding:26px 20px; border-radius:24px; }
  .cta-row .btn { flex:1 1 auto; }
  .strip div { padding:16px 18px; }
  .strip b { font-size:21px; }
  .point { display:grid; grid-template-columns:44px 1fr; column-gap:16px; padding:20px; }
  .point .ico { grid-row:span 2; margin:0; }
  .point b { font-size:19px; margin-bottom:2px; }
}

/* legal pages */
.legal { max-width:760px; padding-bottom:24px; }
.legal h1 { font-size:clamp(34px, 5vw, 50px); letter-spacing:-.015em; line-height:1.08; font-weight:800; margin:40px 0 10px; }
.legal h2 { font-size:24px; font-weight:700; margin:40px 0 10px; }
.legal h3 { font-size:19px; font-weight:700; margin:28px 0 8px; }
.legal p, .legal li { color:var(--ink-soft); }
.legal ul { padding-left:22px; } .legal li { margin:0 0 6px; }
.legal .tw { overflow-x:auto; margin:16px 0; border-radius:var(--r-md); background:var(--card); box-shadow:var(--shadow); }
.legal table { border-collapse:collapse; width:100%; font-size:15px; }
.legal th, .legal td { padding:12px 14px; text-align:left; vertical-align:top; border-bottom:1px solid var(--line); }
.legal th { color:var(--forest); font-weight:700; background:var(--paper-2); }
.legal tr:last-child td { border-bottom:0; }

/* admin */
.admin { max-width:860px; padding-bottom:64px; }
.admin .bar { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; padding:20px 0 16px; border-bottom:1px solid var(--line); }
.admin .nav a { margin-left:18px; color:var(--ink-soft); text-decoration:none; font-weight:500; }
.admin .nav a.on { color:var(--forest); font-weight:700; }
.admin h1 { font-size:34px; margin:24px 0 6px; }
.admin h2 { font-size:20px; margin:0 0 8px; }
.admin .card { background:var(--card); border-radius:var(--r-md); padding:18px 20px; margin:14px 0; box-shadow:var(--shadow); }
.admin .grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.admin .grid .card { margin:0; }
.admin .muted { color:var(--muted); }
.admin .big { font-family:var(--heading); font-size:32px; font-weight:800; color:var(--forest); }
.admin table { border-collapse:collapse; width:100%; }
.admin td, .admin th { padding:8px 6px; border-bottom:1px solid var(--line); text-align:left; font-size:15px; }
.admin .tw { overflow-x:auto; }
.admin input { width:100%; min-height:48px; margin:6px 0; padding:10px 14px; border-radius:var(--r-sm); border:1.5px solid var(--line-2); background:var(--paper); }
.admin button { min-height:44px; padding:10px 18px; border-radius:999px; border:0; background:var(--forest); color:#fff; font-weight:700; cursor:pointer; }
.admin summary { cursor:pointer; font-weight:700; }
@media (max-width:560px) { .admin .grid { grid-template-columns:1fr; } .admin .nav a { margin:0 16px 0 0; } }

/* error pages */
.errpage { min-height:100vh; min-height:100dvh; display:flex; align-items:center; justify-content:center; text-align:center; padding:24px 24px 160px;
           background:url(/static/scene.svg?v=7) 50% 100% / auto 300px repeat-x, linear-gradient(180deg, #cfe6e9, var(--paper) 70%); }
.errpage img { width:72px; height:79px; }
.errpage h1 { font-size:34px; margin:20px 0 8px; }
.errpage p { color:var(--ink-soft); margin:0 0 26px; }

/* =====================================================================================
   APP: the in-car player. Everything you touch is at least 52px tall; readable at arm's length.
   ===================================================================================== */
body.app { max-width:560px; margin:0 auto; padding:0 16px calc(env(safe-area-inset-bottom) + 56px); }
.appbar { position:relative; margin:0 -16px; padding:calc(env(safe-area-inset-top) + 20px) 20px 92px; overflow:hidden;
          background:url(/static/scene.svg?v=7) 100% 100% / auto 230px no-repeat, linear-gradient(180deg, #cfe6e9 0%, #f7ecd0 100%); }
.appbar .brand .word { font-size:21px; }
.appbar .tag { display:block; color:var(--ink-soft); font-size:15px; margin-top:4px; }
.app h2 { font-size:22px; font-weight:700; margin:0 0 14px; line-height:1.2; }
.app .group-title { font-family:var(--body); font-size:13px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--rust); margin:34px 6px 10px; }
.panel { background:var(--card); border-radius:var(--r-lg); padding:20px; margin:0 0 12px; box-shadow:var(--shadow); }
.hint { color:var(--ink-soft); font-size:15px; margin:12px 0 0; line-height:1.45; }
/* Desktop/laptop (Jack, 12 Nov: the app looked like a phone strip on his desktop): the banner runs the full
   width of the window, like the home page's landscape, and the brand sits centred clear of the sun. */
@media (min-width:700px) {
  .appbar { margin:0 calc(50% - 50vw); padding:64px calc(50vw - 264px) 150px; text-align:center;
            background:url(/static/scene.svg?v=7) 28% 100% / auto 400px repeat-x, linear-gradient(180deg, #cfe6e9 0%, #f7ecd0 100%); }
  .appbar .brand { justify-content:center; }
  .appbar .brand .word { font-size:27px; }
  .appbar .brand img { width:38px; height:42px; }
  .appbar .tag { font-size:17px; }
  .trip, .appbar + .panel { margin-top:-96px; position:relative; }
}

/* trip */
.trip { margin-top:-56px; position:relative; }
.trip h2 { font-size:28px; font-weight:800; margin:2px 0 18px; }
.leg { position:relative; display:block; margin:0 0 10px; } .leg:last-child { margin:0; }
.leg::before { content:""; position:absolute; left:18px; top:50%; width:13px; height:13px; margin-top:-6.5px; border-radius:50%;
               border:3px solid var(--lake); background:#fff; z-index:1; }
.leg.to::before { border-color:var(--rust); background:var(--rust); border-radius:3px; }
input.txt { width:100%; height:56px; padding:0 16px 0 46px; margin:0; border-radius:var(--r-md); border:1.5px solid var(--line); background:var(--paper);
            color:var(--ink); font-size:17px; outline:none; }
input.txt::placeholder { color:var(--muted); }
input.txt:focus { border-color:var(--lake); box-shadow:0 0 0 4px rgba(62,124,152,.15); }
.row2 { display:flex; gap:10px; margin-top:14px; }
.row2 button { flex:1; min-height:52px; border-radius:999px; border:0; background:var(--paper-2); color:var(--forest); font-weight:700; font-size:16px; cursor:pointer; }
.row2 button.primary { background:var(--forest); color:#fbf5e8; }
.row2 button[disabled] { opacity:.55; }
.row2 #clear-trip { flex:0 0 auto; padding:0 22px; }
.tripmsg { font-size:16px; margin:14px 0 0; color:var(--ink); }
.tripmsg:empty { display:none; }
.tripmsg.warn, .warnline { color:#a3420f; }
.privacy { display:flex; gap:10px; align-items:flex-start; }
.privacy svg { flex:none; width:18px; height:18px; margin-top:2px; stroke:var(--forest-2); fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }

/* the one big action */
.big { display:flex; align-items:center; justify-content:center; gap:12px; width:100%; border:0; cursor:pointer; font-weight:700; font-family:var(--body); }
.start { min-height:78px; border-radius:var(--r-lg); background:var(--rust); color:#fff; font-size:25px; margin:18px 0 0;
         box-shadow:0 14px 30px -12px rgba(196,82,29,.65); transition:transform .12s ease, background-color .15s; }
.start:hover { background:#b0471a; }
.start:active { transform:scale(.985); }
.start i { width:20px; height:22px; background:currentColor; clip-path:polygon(0 0, 100% 50%, 0 100%); }
.ghost { min-height:56px; border-radius:var(--r-md); background:var(--card); color:var(--forest); font-size:17px; margin-top:12px; box-shadow:var(--shadow); }
.safety { text-align:center; color:var(--ink-soft); font-size:15px; margin:14px 8px 0; }
.safety b { font-weight:500; }

/* settings */
.setting + .setting { margin-top:22px; padding-top:20px; border-top:1px solid var(--line); }
.setting h3 { font-family:var(--body); font-size:17px; font-weight:700; color:var(--ink); margin:0 0 12px; }
.chips { display:flex; flex-wrap:wrap; gap:8px; }
.chip { min-height:44px; padding:0 16px; border-radius:999px; border:1.5px solid var(--line-2); background:var(--card); color:var(--ink);
        font-size:15px; font-weight:600; cursor:pointer; transition:background-color .15s, border-color .15s; }
.chip[aria-pressed="true"] { background:var(--forest-2); border-color:var(--forest-2); color:#fff; }
/* a choice of three: a short list with a round tick, like phone settings */
.seg { display:flex; flex-direction:column; border-radius:var(--r-md); background:var(--paper); border:1.5px solid var(--line); overflow:hidden; }
.seg button { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:52px; padding:0 16px; border:0;
              background:transparent; color:var(--ink); font-size:16px; text-align:left; cursor:pointer; }
.seg button + button { box-shadow:inset 0 1px 0 var(--line); }
.seg button::after { content:""; width:20px; height:20px; flex:none; border-radius:50%; border:2px solid var(--line-2); background:#fff; }
.seg button[aria-pressed="true"] { font-weight:700; color:var(--forest); background:var(--forest-soft); }
.seg button[aria-pressed="true"]::after { border:6px solid var(--forest-2); }
.gapline { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
select { height:44px; padding:0 36px 0 14px; border-radius:var(--r-sm); border:1.5px solid var(--line); background-color:var(--paper); color:var(--ink); font-size:16px;
         appearance:none; -webkit-appearance:none; cursor:pointer;
         background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2346534c' stroke-width='1.6'/%3E%3C/svg%3E");
         background-repeat:no-repeat; background-position:right 14px center; background-size:12px 8px; }
textarea { width:100%; min-height:96px; padding:14px 16px; border-radius:var(--r-md); border:1.5px solid var(--line); background:var(--paper);
           color:var(--ink); font-size:16px; line-height:1.45; resize:vertical; outline:none; }
textarea:focus { border-color:var(--lake); }
textarea::placeholder { color:var(--muted); }

details.how summary { list-style:none; cursor:pointer; display:flex; justify-content:space-between; align-items:center; min-height:44px;
                      font-family:var(--heading); font-weight:700; font-size:19px; color:var(--forest); }
details.how summary::-webkit-details-marker { display:none; }
details.how summary::after { content:""; width:10px; height:10px; border-right:2px solid var(--ink-soft); border-bottom:2px solid var(--ink-soft);
                             transform:rotate(45deg); margin:-4px 6px 0 0; transition:transform .15s; }
details.how[open] summary::after { transform:rotate(-135deg); margin-top:6px; }
details.how ol { margin:12px 0 0; padding-left:22px; color:var(--ink-soft); }
details.how li { margin:0 0 10px; } details.how li b { color:var(--ink); }

.offline-msg { text-align:center; }
.foot-app { color:var(--muted); font-size:14px; text-align:center; margin:30px 0 8px; line-height:1.9; }
.foot-app a, .foot-app button { color:var(--ink-soft); background:none; border:0; font:inherit; text-decoration:none; padding:8px 4px; cursor:pointer; }
.foot-app a:hover, .foot-app button:hover { color:var(--forest); text-decoration:underline; }
#allow a { color:var(--rust); }

/* asking for location */
.ask .panel { margin-top:-56px; position:relative; }
.ask .panel + .panel { margin-top:0; }
.ask .panel p { margin:0 0 10px; }
.ask ol { margin:0; padding-left:22px; } .ask li { margin:0 0 6px; }

/* Computer screens (Jack, 12 Nov: "I like the layout on baumeister.host much better"): a menu bar across the top,
   then two columns standing in the landscape like the home page: the trip and Start on the left (it stays put
   as you scroll), story settings on the right. Phones and the driving screen are unchanged. */
@media (min-width:980px) {
  body.app { max-width:none; padding:0 0 48px; }
  #locask, #drive { max-width:560px; margin:0 auto; padding-left:16px; padding-right:16px; }
  #setup .appbar { position:sticky; top:0; z-index:50; margin:0; height:64px; text-align:left;
                   padding:0 max(40px, calc(50vw - 550px)); display:flex; align-items:center; justify-content:space-between; gap:12px;
                   background:rgba(251,245,232,.86); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border-bottom:1px solid rgba(217,202,168,.6); }
  #setup .appbar .brand .word { font-size:22px; }
  #setup .appbar .brand img { width:30px; height:33px; }
  #setup .appbar .tag { margin:0; font-size:15px; }
  .cols { position:relative; z-index:0; max-width:1180px; margin:0 auto; padding:64px 40px 0;
          display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:48px; align-items:start; }
  .cols::before { content:""; position:absolute; z-index:-1; top:0; left:calc(50% - 50vw); right:calc(50% - 50vw); height:480px; transform:scaleX(-1);
                  background:url(/static/scene.svg?v=7) 72% 100% / cover no-repeat, linear-gradient(180deg, #cfe6e9 0%, #eef0dc 46%, #fbf0d6 72%, var(--paper) 100%); }
  .col-trip { position:sticky; top:88px; }
  .trip { margin-top:0; }
  .trip h2 { font-size:36px; }
  .app .group-title.first { margin-top:0; color:var(--forest); background:rgba(255,255,255,.75); display:inline-block; padding:6px 14px; border-radius:999px; }
  .col-set .foot-app { text-align:left; }
}

/* ---------- driving ---------- */
#drive { display:none; }
body.driving #setup { display:none; }
body.driving #drive { display:flex; }
body.asking #setup { display:none; }
#drive { flex-direction:column; min-height:calc(100vh - 40px); min-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 40px);
         padding-top:calc(env(safe-area-inset-top) + 16px); }
.status { align-self:center; margin:0 0 16px; padding:8px 16px; border-radius:999px; background:var(--card); color:var(--ink); font-size:16px; font-weight:600;
          display:inline-flex; align-items:center; gap:10px; box-shadow:var(--shadow); }
.status::before { content:""; width:9px; height:9px; border-radius:50%; background:var(--forest-2); box-shadow:0 0 0 4px var(--forest-soft); }
/* now playing: a little travel poster */
.now { position:relative; padding:24px 24px 150px; border-radius:28px; margin:0 0 14px; overflow:hidden; color:#fff;
       background:url(/static/scene.svg?v=7) 100% 100% / auto 180px no-repeat, linear-gradient(180deg, #2b6f86 0%, #4f8fa5 45%, #e9c48a 100%);
       box-shadow:var(--shadow); }
.now .art { display:none; }
.now .place { color:#ffe2b8; font-size:16px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; min-height:1.5em; }
.now .title { font-family:var(--heading); font-size:32px; line-height:1.1; font-weight:800; margin:8px 0 20px; min-height:1.1em; overflow-wrap:anywhere;
              text-shadow:0 2px 12px rgba(20,50,60,.35); }
.bar { height:7px; border-radius:4px; background:rgba(255,255,255,.35); overflow:hidden; }
.bar i { display:block; height:100%; width:0; background:#fff; border-radius:4px; transition:width .5s linear; }
.src { color:rgba(255,255,255,.88); font-size:15px; margin:14px 0 0; min-height:1.4em; }
.src a { color:#fff; }
.votes { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:0 0 12px; }
.vote { min-height:88px; border-radius:var(--r-lg); border:0; background:var(--card); color:var(--forest); font-size:19px; font-weight:700; box-shadow:var(--shadow);
        display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; cursor:pointer; transition:background-color .15s, transform .12s; }
.vote:active { transform:scale(.98); }
.vote svg { width:26px; height:26px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.vote[disabled] { opacity:.45; cursor:default; }
.vote.up.done { background:var(--forest-2); color:#fff; }
.vote.down.done { background:var(--ink); color:#fff; }
.ctrl { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:0 0 12px; }
.ctrl button { min-height:72px; border-radius:var(--r-lg); border:0; background:var(--card); color:var(--ink); font-size:19px; font-weight:700; cursor:pointer; box-shadow:var(--shadow); }
.ctrl button:active { background:var(--paper-2); }
.report { display:block; width:100%; min-height:48px; margin:0 0 12px; border:0; background:transparent; color:var(--ink-soft); font-size:15px; font-weight:600; cursor:pointer; }
.report[disabled] { opacity:.45; cursor:default; }
#report-box textarea { margin-top:4px; }
#report-box .ctrl { margin:12px 0 0; }
#report-box .ctrl button { min-height:56px; font-size:17px; background:var(--paper-2); box-shadow:none; }
#report-box #report-send { background:var(--rust); color:#fff; }
.resume { display:none; width:100%; min-height:64px; margin:0 0 12px; border-radius:var(--r-lg); border:2px solid var(--forest-2); background:var(--card);
          color:var(--forest); font-size:18px; font-weight:700; cursor:pointer; }
.next { color:var(--ink-soft); font-size:16px; text-align:center; margin:8px 0 0; }
.next b { color:var(--ink); font-weight:700; }
.next:empty { display:none; }
#drive .grow { flex:1; min-height:12px; }
#drive #stop { margin-top:12px; }

/* =====================================================================================
   PUBLIC STORY PAGES (/story/..., /stories): reading pages for search and sharing
   ===================================================================================== */
.foot .built { font-weight:700; }
.story-page, .story-index { max-width:760px; padding-top:40px; padding-bottom:110px; }
.menu .links .cta { white-space:nowrap; }
.story-page h1, .story-index h1 { font-size:clamp(36px, 5.4vw, 56px); line-height:1.05; letter-spacing:-.02em; font-weight:800; margin:0 0 12px; }
.story-page .where { color:var(--ink-soft); margin:0 0 28px; font-size:17px; }
.story-page .where a { color:var(--lake); }
.story-text p { font-size:19px; line-height:1.75; margin:0 0 20px; color:var(--ink); }
.story-text p:first-child::first-letter { font-family:var(--heading); font-weight:800; color:var(--rust); font-size:3.1em; float:left; line-height:.9; margin:6px 10px 0 0; }
.story-page .src { color:var(--muted); font-size:15px; border-top:1px solid var(--line); padding-top:16px; margin:28px 0 0; }
.story-page .src a { color:var(--ink-soft); }
.cta-card { display:flex; align-items:center; gap:18px; margin:36px 0; padding:22px 24px; border-radius:var(--r-lg); background:var(--card); box-shadow:var(--shadow);
            border:1px solid var(--line); }
.cta-card img { flex:none; }
.cta-card div { flex:1; }
.cta-card b { display:block; font-family:var(--heading); font-size:21px; color:var(--forest); line-height:1.2; margin-bottom:4px; }
.cta-card span { color:var(--ink-soft); font-size:15px; line-height:1.45; display:block; }
.cta-card .btn { flex:none; white-space:nowrap; }
.nearby h2, .town h2 { font-size:24px; font-weight:800; margin:36px 0 12px; }
.nearby ul, .town ul { list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.nearby a, .town a { display:block; padding:16px 18px; border-radius:var(--r-md); background:var(--card); box-shadow:var(--shadow); text-decoration:none; color:var(--ink); }
.nearby a:hover, .town a:hover { box-shadow:0 0 0 2px var(--lake), var(--shadow); }
.nearby b, .town b { display:block; font-family:var(--heading); font-size:19px; color:var(--forest); }
.nearby span, .town span { display:block; color:var(--ink-soft); font-size:15px; margin-top:2px; }
.story-page .all { margin:28px 0 0; }
.story-index .sub { color:var(--ink-soft); font-size:18px; margin:0; }
@media (max-width:640px) {
  .story-page, .story-index { padding-top:24px; }
  .story-text p { font-size:18px; }
  .cta-card { flex-direction:column; align-items:flex-start; }
  .cta-card .btn { width:100%; text-align:center; }
}
/* 12 Nov 2026: the drive screen says to keep ROADHEAD on screen (a web page is paused in the background). */
.drivehint { align-self:center; margin:-6px 0 14px; max-width:34em; text-align:center; color:var(--muted); font-size:13.5px; line-height:1.45; }
