/* GeoStroll website — design direction B · Sticker postcard (docs/design-direction-decision.md §2).
   Tokens first; every colour in the site comes from here. */
:root {
  --bg: #FFF7E6; --card: #FFFFFF; --ink: #14213D; --soft: #4A5470; --line: #14213D;
  --sea: #1B4FA0; --sun: #FFC43D; --coral: #FF6B4A; --mint: #3DD6A3; --lilac: #C9B6FF;
  --open: #08603F; --open-tint: #D7F5E8; --soon: #8F4400; --soon-tint: #FFE8C2; --closed: #525A72; --closed-tint: #E7E9EF;
  --link: #1B4FA0; --on-sea: #FFFFFF; --on-sun: #14213D; --on-coral: #14213D;
  --tint-coral: #FFE3DB; --tint-mint: #DDF6EE; --tint-sun: #FFF0C2; --tint-lilac: #E9E1FF;
  --display: "Bricolage Grotesque", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --body: "Figtree", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --r-card: 14px; --r-ctl: 12px; --outline: 3px; --shadow: 5px 5px 0 var(--line); --shadow-sm: 4px 4px 0 var(--line);
  --gutter-l: max(16px, env(safe-area-inset-left, 0px)); --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --focus: #1B4FA0;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1A33; --card: #162448; --ink: #F4F1EA; --soft: #B9C1D9; --line: #F4F1EA; --sea: #2B5FB8; --link: #7FB0FF;
    --open: #3DD6A3; --open-tint: #113D30; --soon: #FFC43D; --soon-tint: #4A3410; --closed: #9AA2B8; --closed-tint: #22304F;
    --tint-coral: #4A2A22; --tint-mint: #143C31; --tint-sun: #4A3A10; --tint-lilac: #2E2850; --focus: #FFC43D;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E1A33; --card: #162448; --ink: #F4F1EA; --soft: #B9C1D9; --line: #F4F1EA; --sea: #2B5FB8; --link: #7FB0FF;
  --open: #3DD6A3; --open-tint: #113D30; --soon: #FFC43D; --soon-tint: #4A3410; --closed: #9AA2B8; --closed-tint: #22304F;
  --tint-coral: #4A2A22; --tint-mint: #143C31; --tint-sun: #4A3A10; --tint-lilac: #2E2850; --focus: #FFC43D;
  color-scheme: dark;
}

/* ---- base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--body); overflow-x: hidden; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 800; font-variation-settings: "opsz" 96; line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(36px, 6vw, 64px); }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 20px; letter-spacing: -0.01em; }
p { margin: 0; }
p + p { margin-top: 1em; }
a { color: var(--link); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.site-header :focus-visible { outline-color: var(--sun); } /* sea background: the sea-blue focus ring would vanish */
.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; }
img, svg { max-width: 100%; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
.wrap { max-width: 1100px; margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); min-width: 0; }
.lead { font-size: clamp(18px, 2vw, 21px); max-width: 52ch; }
.muted { color: var(--soft); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sun); color: var(--on-sun); padding: 8px 12px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }

/* ---- header / footer ---- */
.site-header { background: var(--sea); color: var(--on-sea); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.01em; }
.logo svg { width: 30px; height: 30px; flex: none; }
.site-nav { display: flex; align-items: center; gap: 6px 18px; flex-wrap: wrap; font-weight: 600; font-size: 15px; }
.site-nav a { color: inherit; text-decoration: none; padding-block: 4px; }
.site-nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.site-nav .lang { border: 2px solid currentColor; border-radius: 999px; padding: 3px 10px; font-size: 13px; letter-spacing: 0.04em; }
.theme { background: transparent; border: 2px solid currentColor; color: inherit; border-radius: 999px; width: 34px; height: 34px; display: inline-grid; place-items: center; cursor: pointer; padding: 0; }
.theme svg { width: 18px; height: 18px; }
.theme .moon-ic { display: none; }
:root[data-theme="dark"] .theme .moon-ic { display: block; }
:root[data-theme="dark"] .theme .sun-ic { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme .moon-ic { display: block; }
  :root:not([data-theme="light"]) .theme .sun-ic { display: none; }
}
.site-footer { border-top: var(--outline) solid var(--line); margin-top: 64px; font-size: 14px; color: var(--soft); }
.site-footer .bar { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding-block: 22px; }
.site-footer ul { display: flex; gap: 16px; list-style: none; flex-wrap: wrap; }
.site-footer a { color: inherit; }

/* ---- page intro (step 1 placeholder layout; pages replace it from step 2) ---- */
.page-intro { padding-block: 48px 24px; display: flex; flex-direction: column; gap: 18px; }

/* ---- band: a full-width coloured section ---- */
.band { background: var(--sea); color: var(--on-sea); padding-inline: var(--gutter-l) var(--gutter-r); }
.band.sun { background: var(--sun); color: var(--on-sun); }
.band .inner { max-width: 1100px; margin-inline: auto; }

/* ---- stickers: cards, chips, balloons, buttons ---- */
.sticker { background: var(--card); color: var(--ink); border: var(--outline) solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); padding: 20px; min-width: 0; }
.sticker.tilt-l { transform: rotate(-1.5deg); } .sticker.tilt-r { transform: rotate(1.2deg); }
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; padding: 12px 22px; border-radius: 999px; border: var(--outline) solid var(--line); box-shadow: var(--shadow-sm); background: var(--card); color: var(--ink); cursor: pointer; }
.btn.primary { background: var(--coral); color: var(--on-coral); }
.btn.sun { background: var(--sun); color: var(--on-sun); }
.btn small { font-weight: 500; opacity: 0.85; }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--line); }
.btn.badge { cursor: default; } /* a label styled as a button, not a control (no link exists yet) */
.btn.badge:active { transform: none; box-shadow: var(--shadow-sm); }
.balloon { position: relative; display: inline-block; max-width: 100%; background: var(--card); color: var(--ink); border: 2.5px solid var(--line); border-radius: 18px; padding: 12px 16px; box-shadow: 3px 3px 0 var(--line); line-height: 1.35; }
.balloon::after { content: ""; position: absolute; bottom: -9px; left: 22px; width: 14px; height: 14px; background: inherit; border-right: 2.5px solid var(--line); border-bottom: 2.5px solid var(--line); transform: rotate(45deg); }
.balloon.app { background: var(--sun); color: var(--on-sun); }
.balloon.app::after { left: auto; right: 22px; }
.chip { background: var(--card); border: var(--outline) solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pill.open { background: var(--open-tint); color: var(--open); }
.pill.soon { background: var(--soon-tint); color: var(--soon); }
.pill.closed { background: var(--closed-tint); color: var(--closed); }
.hl { background: var(--sun); color: var(--on-sun); padding: 0 0.15em; border-radius: 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.blob { position: absolute; border-radius: 50%; pointer-events: none; opacity: 0.35; }

/* ---- phone with reminders ---- */
/* The phone is always dark and its notifications always light, like a photo: these hexes are deliberate, not tokens. */
.phone { position: relative; width: 300px; max-width: 100%; aspect-ratio: 9 / 18.5; margin-inline: auto; border-radius: 38px; padding: 14px 12px; display: flex; flex-direction: column; gap: 10px; background: #14213D; color: #FFFFFF; border: 4px solid var(--line); box-shadow: 8px 8px 0 var(--sun); transform: rotate(-3deg); }
.phone .statusbar { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; padding-inline: 10px; opacity: 0.75; }
.phone .clock { font-size: 52px; font-weight: 600; line-height: 1; text-align: center; margin-top: 10px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.phone .date { text-align: center; font-size: 13px; font-weight: 600; opacity: 0.8; margin-block: 6px 10px; }
.notif { background: #FFFFFF; color: #14213D; border: 2px solid #14213D; border-radius: 18px; padding: 11px 12px; display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; text-align: left; }
.notif .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--coral); color: #FFFFFF; }
.notif .ic.soon { background: #FFC43D; color: #14213D; }
.notif .ic svg { width: 20px; height: 20px; }
.notif .t { font-weight: 700; font-size: 14px; line-height: 1.25; }
.notif .b { font-size: 13px; line-height: 1.3; }
.notif .s { font-size: 11px; opacity: 0.7; margin-top: 2px; }
.notif .when { font-size: 11px; opacity: 0.6; float: right; }
.notif.ghost { background: #E7E9EF; border-style: dashed; opacity: 0.6; }
.notif.ghost .ic { background: #6C7284; }
.phone .silence { font-size: 12px; font-weight: 600; text-align: center; }

/* ---- grids ---- */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.grid-2 > *, .grid-3 > *, .grid-4 > * { min-width: 0; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---- home page (step 2) ---- */
.section { padding-block: 40px 8px; }
.section-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.section-head p { max-width: 60ch; }
.cta-row { margin-top: 24px; }
.hero-band { position: relative; overflow: hidden; }
.hero { position: relative; display: grid; gap: 32px; align-items: center; padding-block: 36px 48px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .hero { grid-template-columns: 1.15fr 1fr; padding-block: 48px 64px; } }
.hero-text { position: relative; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.hero-text .lead { max-width: 48ch; }
.hero-text .cta-row { margin-top: 8px; }
.hero-phone { position: relative; padding: 28px 10px 12px; min-width: 0; }
.blob-coral { width: 280px; height: 280px; background: var(--coral); right: -90px; top: -70px; }
.blob-mint { width: 200px; height: 200px; background: var(--mint); left: -70px; bottom: -50px; }
.float { position: absolute; top: 0; right: 0; z-index: 2; background: var(--sun); color: var(--on-sun); border: 2.5px solid var(--on-sun); box-shadow: 3px 3px 0 var(--on-sun); border-radius: 12px; padding: 8px 12px; font-weight: 700; font-size: 14px; transform: rotate(6deg); }
.scene { display: flex; flex-direction: column; gap: 12px; }
.scene .art { aspect-ratio: 4 / 3; max-width: 100%; border-radius: var(--r-card); border: var(--outline) solid var(--line); box-shadow: var(--shadow); display: grid; place-items: center; overflow: hidden; padding: 8px; }
.scene .art svg { width: 100%; height: 100%; }
.art-coral { background: var(--tint-coral); } .art-mint { background: var(--tint-mint); } .art-sun { background: var(--tint-sun); } .art-lilac { background: var(--tint-lilac); }
.scene .balloon { margin-block: 6px 10px; }
.chip strong { font-size: 18px; }
.not-section { display: flex; justify-content: center; padding-block: 56px 24px; }
.not-sticker { max-width: 560px; width: 100%; display: flex; flex-direction: column; gap: 10px; padding: 26px 28px; }
.not-list { list-style: none; display: grid; gap: 8px; margin-top: 8px; }
.not-list li { padding-left: 30px; position: relative; font-weight: 600; }
.not-list li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid var(--line); background: var(--coral); }
.pcard { display: flex; flex-direction: column; gap: 8px; }
.pcard svg { width: 40px; height: 40px; color: var(--link); }

/* ---- how it works (step 3) ---- */
.intro-band .page-intro { padding-block: 40px 44px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.two-col { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1fr; gap: 48px; } .two-col.reverse .col-text { order: 2; } }
.col-text { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.col-text h2 { margin-bottom: 4px; }
.col-text .balloon { align-self: flex-start; margin-top: 8px; }
.radius-row { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.diagram { margin: 0; padding: 14px 14px 12px; display: flex; flex-direction: column; gap: 8px; }
.diagram svg { width: 100%; height: auto; display: block; }
.diagram figcaption { font-size: 14px; }
.fact { display: flex; flex-direction: column; gap: 8px; }
.fact-n, .step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--coral); color: var(--on-coral); border: 2.5px solid var(--line); font-family: var(--display); font-weight: 800; font-size: 17px; }
.flow { list-style: none; display: grid; gap: 22px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 860px) { .flow { grid-template-columns: repeat(4, 1fr); } .flow .step.outcomes { grid-column: span 1; } }
.step { display: flex; flex-direction: column; gap: 8px; position: relative; }
.step-n { background: var(--sun); color: var(--on-sun); }
.outcome-list { list-style: none; display: grid; gap: 10px; font-size: 14px; margin-top: 4px; }
.outcome-list li { display: flex; flex-direction: column; gap: 4px; }
.pill.unknown { background: var(--tint-lilac); color: var(--ink); }
.balloon.without { margin-top: 26px; }

/* geofence diagram motion: the walker crosses a circle; the rotation circle follows the walker. Off with reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .diagram .walker { animation: walk 6s ease-in-out infinite; }
  @keyframes walk { 0%, 10% { transform: translate(230px, 122px); } 50%, 60% { transform: translate(0, 0); } 100% { transform: translate(230px, 122px); } }
  .diagram .rotation { animation: rotate-fence 8s ease-in-out infinite; }
  @keyframes rotate-fence { 0%, 35% { transform: translate(0, 0); } 50%, 85% { transform: translate(-60px, 40px); } 100% { transform: translate(0, 0); } }
}

/* ---- privacy story and policy (step 4) ---- */
.balloon-row { list-style: none; display: flex; flex-wrap: wrap; gap: 18px 14px; padding-bottom: 10px; }
.balloon-row .balloon { font-weight: 600; }
.balloon-row .balloon:nth-child(2) { transform: rotate(-1.5deg); } .balloon-row .balloon:nth-child(4) { transform: rotate(1deg); }
.keep-never { padding-top: 24px; }
.keep, .never { display: flex; flex-direction: column; gap: 10px; padding: 24px 26px; }
.check-list, .cross-list { list-style: none; display: grid; gap: 8px; margin-top: 6px; }
.check-list li, .cross-list li { position: relative; padding-left: 32px; font-weight: 600; }
.check-list li::before, .cross-list li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--line); }
.check-list li::before { background: var(--mint); }
.check-list li::after { content: ""; position: absolute; left: 6px; top: 0.45em; width: 6px; height: 3px; border-left: 2.5px solid var(--line); border-bottom: 2.5px solid var(--line); transform: rotate(-45deg); }
.cross-list li::before { background: var(--coral); }
.cross-list li::after { content: "×" / ""; position: absolute; left: 4px; top: 0.05em; font-weight: 800; font-size: 15px; line-height: 1; color: var(--line); }
.flow-h { list-style: none; display: grid; gap: 22px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 860px) { .flow-h { grid-template-columns: repeat(4, 1fr); } }
.flow-h .step { counter-increment: honest; }
.flow-h .step h3::before { content: counter(honest) " · "; color: var(--coral); }
.flow-h { counter-reset: honest; }
.consent { margin-top: 22px; }
.table-scroll { overflow-x: auto; border: var(--outline) solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); background: var(--card); }
table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 600px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--closed-tint); }
th { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); background: var(--tint-sun); }
tbody tr:last-child td { border-bottom: 0; }
.table-note { font-size: 14px; margin-top: 12px; }
.draft-banner { background: var(--tint-sun); border: 2.5px solid var(--line); border-radius: 12px; padding: 12px 16px; font-size: 15px; max-width: 70ch; }
.policy { display: flex; flex-direction: column; gap: 14px; max-width: 72ch; padding-bottom: 20px; }
.policy h2 { font-size: 24px; margin-top: 22px; }
.policy ul { padding-left: 22px; display: grid; gap: 6px; }
.policy table { min-width: 560px; }
.policy .table-scroll { box-shadow: none; }
.placeholder { background: var(--tint-coral); border-radius: 4px; padding: 0 4px; font-weight: 600; }
.pending { font-size: 13px; color: var(--soft); font-style: normal; }

/* ---- support and 404 (step 5) ---- */
.support-top { padding-top: 36px; }
.contact-mail { font-size: 20px; font-weight: 700; }
.small { font-size: 14px; }
.faq { display: grid; gap: 16px; }
.faq details { padding: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 22px; width: 12px; height: 12px; border-right: 3px solid var(--line); border-bottom: 3px solid var(--line); transform: rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 28px; }
.faq summary h3 { display: inline; font-size: 18px; }
.faq details p { padding: 0 20px 20px; max-width: 70ch; }
.notfound { display: flex; justify-content: center; padding-block: 56px; }
.notfound-card { max-width: 560px; width: 100%; padding: 28px; gap: 14px; }
.notfound-card .balloon { align-self: flex-start; margin-bottom: 8px; }

/* ---- what you'd use it for (home, added 31 Oct 2026) ---- */
.uses-section { padding-top: 44px; }
.use { display: flex; flex-direction: column; gap: 10px; }
.use-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--tint-sun); border: 2.5px solid var(--line); display: grid; place-items: center; color: var(--ink); }
.use-ic svg { width: 24px; height: 24px; }
.use .balloon { align-self: flex-start; margin-top: auto; font-size: 14px; font-weight: 600; }
.uses-foot { display: flex; flex-direction: column; gap: 18px; margin-top: 30px; }
.uses-foot .balloon { align-self: flex-start; max-width: 62ch; }
.who { max-width: 62ch; }
