/* FamilyQuest — public site
   One stylesheet for every page. Tokens come from the product itself: the
   quest map's greens and cream trail, the weekday strip's seven colours, the
   TV dashboard's night ground, the app's coral. */

:root {
  --night: #1b2130;
  --night-2: #252d3f;
  --night-3: #323b52;
  --night-ink: #f3f4f0;
  --night-mute: #a3abbf;

  --paper: #f6f7f2;
  --card: #ffffff;
  --ink: #1b2130;
  --ink-2: #56607a;
  --line: #e2e5db;

  --coral: #f0655e;
  --coral-deep: #d94e48;
  --leaf: #3fae5f;
  --leaf-deep: #2e8f4b;
  --field: #a5de86;
  --field-2: #7dcb68;
  --trail: #f1e1bd;
  --trail-edge: #b9885a;
  --sun: #ffd54a;
  --gold: #f2b93b;

  --mon: #e5645c; --tue: #ee9038; --wed: #e2c231; --thu: #4fc46a;
  --fri: #3f86a6; --wkd: #8c74d4; --wkd-2: #7a63c4;

  --display: "Bricolage Grotesque", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --body: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --r-s: 10px; --r-m: 16px; --r-l: 24px; --r-xl: 32px;
  --w: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --ease: cubic-bezier(.22, .8, .26, 1);
  --shadow: 0 1px 2px rgba(27,33,48,.06), 0 12px 32px -12px rgba(27,33,48,.18);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #171c28; --card: #1f2634; --ink: #f3f4f0; --ink-2: #aeb5c6; --line: #2d3547;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -12px rgba(0,0,0,.6);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum" 0;
}
img, video, svg { display: block; max-width: 100%; }
a { color: var(--coral-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--coral); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; color: inherit; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--coral); color: var(--night);
        padding: 10px 14px; border-radius: 8px; font-weight: 700; z-index: 100; }
.skip:focus { top: 12px; }

h1, h2, h3 { font-family: var(--display); font-optical-sizing: auto; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.2vw, 68px); font-weight: 800; line-height: .98; letter-spacing: -.035em; }
h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; line-height: 1.04; letter-spacing: -.028em; }
h3 { font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
.kicker {
  font: 700 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase;
  color: var(--leaf-deep); margin: 0 0 16px;
}
.night .kicker { color: var(--thu); }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 34em; }
.fine { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.night .fine, .night .lede { color: var(--night-mute); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .18s var(--ease), background .18s, border-color .18s, color .18s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--coral); color: var(--night); }
.btn-primary:hover { background: #ff7b73; color: var(--night); }
.btn-ghost { background: transparent; color: var(--night-ink); border-color: var(--night-3); }
.btn-ghost:hover { border-color: var(--night-mute); color: #fff; background: rgba(255,255,255,.04); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--night-3); color: #fff; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; background: rgba(27,33,48,.86);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06); color: var(--night-ink);
}
.nav-in {
  max-width: var(--w); margin: 0 auto; padding: 0 var(--gutter); height: 64px;
  display: flex; align-items: center; gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none;
         font: 800 20px/1 var(--display); letter-spacing: -.02em; }
.brand svg { width: 28px; height: 28px; }
.links { display: flex; gap: 6px; margin-left: 6px; }
.links a, .mobile-nav a {
  color: var(--night-mute); text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 8px 12px; border-radius: 8px; transition: color .15s, background .15s;
}
.links a:hover, .links a[aria-current] { color: #fff; background: rgba(255,255,255,.06); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang-toggle { color: var(--night-mute); text-decoration: none; font-weight: 600; font-size: 15px;
               padding: 8px 10px; border-radius: 8px; }
.lang-toggle:hover { color: #fff; }
.menu { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer;
        border-radius: 8px; color: #fff; }
.menu svg { width: 24px; height: 24px; }
.mobile-nav { display: none; padding: 6px var(--gutter) 16px; flex-direction: column; gap: 2px;
              border-top: 1px solid rgba(255,255,255,.06); }
.mobile-nav a { font-size: 17px; padding: 12px; }
.mobile-nav .btn { margin-top: 8px; justify-content: center; }
@media (max-width: 860px) {
  .links, .nav-right { display: none; }
  .menu { display: inline-flex; }
  .mobile-nav.open { display: flex; }
}

/* ---------- hero ---------- */
.hero { background: var(--night); color: var(--night-ink); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: auto -20% -40% -20%; height: 70%;
  background: radial-gradient(60% 60% at 50% 100%, rgba(79,196,106,.18), transparent 70%);
  pointer-events: none;
}
.hero-in {
  max-width: var(--w); margin: 0 auto; padding: clamp(40px, 7vw, 96px) var(--gutter) clamp(48px, 7vw, 96px);
  display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); gap: clamp(28px, 5vw, 72px);
  align-items: center; position: relative;
}
@media (max-width: 960px) { .hero-in { grid-template-columns: 1fr; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px;
  color: var(--night-mute); margin: 0 0 22px; padding: 6px 12px 6px 8px; border-radius: 999px;
  border: 1px solid var(--night-3);
}
.eyebrow .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--thu);
                box-shadow: 0 0 0 4px rgba(79,196,106,.18); }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--thu); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }
.platforms { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 4px;
             font-size: 15px; color: var(--night-mute); align-items: center; }
.platforms li + li::before { content: "·"; margin: 0 8px 0 4px; opacity: .6; }
.platforms .also { color: var(--night-mute); font-weight: 600; margin-right: 4px; }
.platforms a { color: var(--night-ink); text-decoration: none; font-weight: 600;
               border-bottom: 1px solid var(--night-3); transition: border-color .15s, color .15s; }
.platforms a:hover { color: var(--thu); border-color: var(--thu); }

/* the working model of the TV screen */
.hero-demo { min-width: 0; }
.tv {
  background: linear-gradient(160deg, #2b3446, #1f2635 60%, #1a2030);
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-xl);
  padding: clamp(16px, 2.2vw, 26px); box-shadow: 0 30px 80px -30px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.06);
  user-select: none; -webkit-user-select: none;
}
.tv-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.tv-title { font: 800 clamp(18px, 1.8vw, 24px)/1 var(--display); letter-spacing: -.02em; color: #fff; }
.tv-hint { font-size: 13px; font-weight: 600; color: var(--thu); display: inline-flex; align-items: center; gap: 6px;
           transition: opacity .4s; }
.tv-hint svg { width: 14px; height: 14px; }
.tv-hint.gone { opacity: 0; }
.today-label { text-align: center; font: 700 clamp(17px, 1.6vw, 21px)/1 var(--body); color: var(--thu); margin: 6px 0 10px; }
.week { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr) 1.9fr; gap: 6px; }
.week li { min-width: 0; }
.day {
  width: 100%; min-height: 44px; border: 0; border-radius: 12px; cursor: pointer; position: relative;
  display: grid; place-items: center; padding: 0; background: var(--c, #777); color: #fff;
  transition: transform .18s var(--ease), filter .18s, box-shadow .18s, opacity .18s;
  -webkit-tap-highlight-color: transparent;
}
.day:hover { filter: brightness(1.08); }
.day:active { transform: scale(.96); }
.day .chk { width: 18px; height: 18px; opacity: 0; transform: scale(.4); transition: opacity .2s, transform .28s cubic-bezier(.34,1.56,.64,1); }
.day[aria-pressed="true"] .chk { opacity: 1; transform: scale(1); }
.day:not([aria-pressed="true"]) { background: color-mix(in srgb, var(--c) 42%, var(--night-2)); }
.day.today { outline: 2px solid #fff; outline-offset: 2px; box-shadow: 0 0 22px rgba(79,196,106,.45); }
.day.today:not([aria-pressed="true"]) { background: var(--c); }
.day.today:focus-visible { outline: 3px solid var(--coral); }
.day-name { display: block; text-align: center; font-size: 12px; font-weight: 600; color: var(--night-mute); margin-top: 6px; }
.day-name.on { color: var(--thu); }
.wkd { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px;
       background: rgba(140,116,212,.22); border-radius: 14px; }
.wkd .sunny { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); width: 18px; height: 18px; color: var(--sun); }
.sleeps { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 600;
          color: var(--night-mute); margin: 10px 0 12px; }
.sleeps svg { width: 16px; height: 16px; color: var(--wkd); }

.map { position: relative; border-radius: var(--r-l); overflow: hidden; background: #9cd97f; aspect-ratio: 640 / 380; }
.map svg { width: 100%; height: 100%; }
.walker { transition: none; }
.walker img { border-radius: 50%; }
.confetti { position: absolute; left: var(--x); top: var(--y); width: 9px; height: 13px; border-radius: 2px;
            background: var(--c); pointer-events: none; animation: pop .95s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes pop {
  0% { transform: translate(0,0) rotate(0); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); opacity: 0; }
}
.tv-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; flex-wrap: wrap; }
.kid { display: flex; align-items: center; gap: 12px; min-width: 0; }
.kid-face { width: 48px; height: 48px; border-radius: 14px; flex: none; }
.kid strong { display: block; font: 800 18px/1.1 var(--display); color: #fff; }
.reward { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--night-mute);
          margin-top: 4px; transition: color .3s; }
.reward svg { width: 16px; height: 16px; color: var(--coral); }
.reward.earned { color: var(--thu); }
.reward .earned-tag { display: none; font-size: 12px; padding: 2px 8px; border-radius: 999px; background: rgba(79,196,106,.18); }
.reward.earned .earned-tag { display: inline; }
.score { display: flex; align-items: center; gap: 12px; flex: 1 1 200px; justify-content: flex-end; }
.pct { font: 800 clamp(22px, 2.4vw, 30px)/1 var(--display); color: #fff; font-variant-numeric: tabular-nums; min-width: 4.2ch; text-align: right; }
.bar { position: relative; width: min(180px, 100%); height: 10px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; flex: 0 1 180px; }
.bar i { position: absolute; inset: 0 auto 0 0; width: 43%; background: var(--coral); border-radius: inherit;
         transition: width .6s var(--ease), background .3s; }
.bar i.full { background: var(--gold); }
.demo-caption { font-size: 14px; color: var(--night-mute); margin: 14px 6px 0; }

@media (prefers-reduced-motion: no-preference) {
  .day.today { animation: breathe 2.6s ease-in-out infinite; }
  @keyframes breathe { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-3px) scale(1.04); } }
  .day.today:active { animation: none; }
}

/* ---------- facts band ---------- */
.band { background: var(--card); border-bottom: 1px solid var(--line); }
.facts { list-style: none; margin: 0 auto; padding: 18px var(--gutter); max-width: var(--w);
         display: flex; flex-wrap: wrap; gap: 10px 34px; justify-content: center; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.facts li { display: inline-flex; align-items: center; gap: 9px; }
.facts svg { width: 18px; height: 18px; color: var(--leaf); flex: none; }

/* ---------- sections ---------- */
.sec { padding: clamp(64px, 9vw, 128px) 0; }
.sec-in { max-width: var(--w); margin: 0 auto; padding: 0 var(--gutter); }
.sec-head { max-width: 40em; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head p { color: var(--ink-2); font-size: 18px; margin-top: 16px; }
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.copy p { color: var(--ink-2); font-size: 17px; }
.copy h2 { margin-bottom: 20px; }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.check-list svg { width: 22px; height: 22px; flex: none; color: var(--leaf); margin-top: 1px; }

.tv-sec { background: var(--paper); }
.tv-frame { position: relative; padding-bottom: 30px; }
.tv-frame img { width: 100%; height: auto; border-radius: 14px; background: #1e2230;
                border: 8px solid #12161f; box-shadow: 0 40px 80px -30px rgba(27,33,48,.5), 0 0 0 1px rgba(255,255,255,.06); }
.tv-frame .stand { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 26%; height: 22px;
                   background: linear-gradient(#2a3040, #12161f); border-radius: 0 0 10px 10px; }
.tv-frame .stand::after { content: ""; position: absolute; left: -22%; right: -22%; bottom: -6px; height: 8px;
                          background: #12161f; border-radius: 999px; }
.tv-frame figcaption { position: absolute; top: 14px; left: 22px; font-size: 12px; font-weight: 700; letter-spacing: .08em;
                       text-transform: uppercase; color: rgba(255,255,255,.7); background: rgba(0,0,0,.35); padding: 5px 9px; border-radius: 6px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: 26px 26px 28px; box-shadow: var(--shadow); }
.card h3 { margin: 22px 0 10px; }
.card p { color: var(--ink-2); margin: 0; }
.card-art { height: 120px; border-radius: var(--r-m); overflow: hidden; display: grid; place-items: center; background: var(--paper); }
.card-art svg { width: 100%; height: 100%; }
.mini-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; width: 82%; }
.mini-week i { display: block; height: 30px; border-radius: 8px; background: var(--c); }
.mini-week i.dim { opacity: .35; }
.mini-week i.tod { outline: 2px solid var(--ink); outline-offset: 2px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; max-width: 520px; } }
.phone { width: min(100%, 300px); margin: 0 auto 26px; border-radius: 40px; padding: 10px; background: #12161f;
         box-shadow: 0 30px 60px -28px rgba(27,33,48,.5), inset 0 0 0 1px rgba(255,255,255,.08); }
.phone img { width: 100%; height: auto; border-radius: 31px; aspect-ratio: 600 / 1304; }
.n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--paper);
     font: 800 15px/1 var(--display); margin-bottom: 14px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-2); margin: 0; }

.devices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .devices { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .devices { grid-template-columns: 1fr; } }
.device { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--r-l); background: var(--card);
          border: 1px solid var(--line); color: var(--ink); text-decoration: none; box-shadow: var(--shadow);
          transition: transform .2s var(--ease), border-color .2s; }
.device:hover { transform: translateY(-3px); border-color: var(--coral); color: var(--ink); }
.device svg { width: 36px; height: 36px; color: var(--ink); }
.device strong { font: 700 19px/1.2 var(--display); letter-spacing: -.01em; }
.device span { font-size: 14px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.device span svg { width: 14px; height: 14px; color: var(--coral); }
.get .fine { max-width: 60em; margin-top: 22px; }

.privacy-card { background: var(--night); color: var(--night-ink); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 56px);
                position: relative; overflow: hidden; }
.privacy-card::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
                       background: radial-gradient(circle, rgba(79,196,106,.22), transparent 70%); pointer-events: none; }
.privacy-card h2 { color: #fff; margin-bottom: 22px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }
.two p { color: var(--night-mute); margin: 0; }
.two strong { color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; color: var(--thu); font-weight: 700; text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .18s var(--ease); }
.link-arrow:hover { color: #fff; }
.link-arrow:hover svg { transform: translateX(4px); }

.faq-sec .sec-in { max-width: 820px; }
.faq { border-top: 1px solid var(--line); margin-top: 28px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; padding: 20px 44px 20px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
                      border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg);
                      transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { color: var(--ink-2); margin: -6px 0 20px; max-width: 60ch; }

.foot { background: var(--night); color: var(--night-mute); padding: 48px 0 40px; }
.foot .sec-in { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-start; justify-content: space-between; }
.foot .brand { color: #fff; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.foot a { color: var(--night-mute); text-decoration: none; font-weight: 600; font-size: 15px; }
.foot a:hover { color: #fff; }
.foot .copy-line { width: 100%; font-size: 14px; margin: 8px 0 0; }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
  .hero-copy > * { animation: rise .8s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .hero-copy > :nth-child(5) { animation-delay: .3s; }
  .hero-copy > :nth-child(6) { animation-delay: .34s; }
  .hero-demo { animation: rise .9s var(--ease) .2s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}

/* ---------- sub-pages (tour, articles, support, privacy) ---------- */
.sub main { max-width: 820px; margin: 0 auto; padding: clamp(36px, 6vw, 72px) var(--gutter) 80px; }
.sub .wrap { max-width: none; padding: 0; margin: 0; }
.sub h1 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 18px; }
.sub h2 { font-size: clamp(24px, 3vw, 32px); margin: 52px 0 14px; }
.sub h3 { font-size: 19px; margin: 24px 0 6px; }
.sub .lede { margin-bottom: 28px; }
.sub .lang { display: none; }
.sub .note, .sub .muted { font-size: 14px; color: var(--ink-2); }
.sub .stores { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 8px; padding: 0; list-style: none; }
.sub .stores a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
                 background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 700; font-size: 15px;
                 transition: background .18s, transform .18s var(--ease); }
.sub .stores a:hover { background: var(--coral); color: var(--night); transform: translateY(-1px); }
.sub .how { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.sub .how li { position: relative; padding-left: 50px; margin-bottom: 22px; }
.sub .how li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 2px;
                       width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--paper);
                       display: grid; place-items: center; font: 800 15px/1 var(--display); }
.sub .how h3 { margin-top: 0; }
.sub .faq { margin-top: 16px; }
.sub .privacy, .sub .box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px 26px; box-shadow: var(--shadow); }
.sub .videowrap { margin: 8px 0 44px; }
.sub .videowrap { display: flex; flex-direction: column; align-items: center; }
.sub .videowrap video { width: min(100%, 380px); border-radius: var(--r-l); background: #000; box-shadow: var(--shadow); border: 8px solid #12161f; }
.sub .videowrap p { font-size: 14px; color: var(--ink-2); margin: 12px 4px 0; }
.sub .step { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: center; margin: 0 0 44px; }
.sub .step img { width: 100%; height: auto; border-radius: 22px; box-shadow: var(--shadow); border: 6px solid #12161f; }
.sub .step.tv { grid-template-columns: 1fr; }
.sub .step.tv img { border-radius: 12px; border-width: 8px; }
.sub .step h2 { margin: 0 0 10px; font-size: 26px; }
.sub .step .why { color: var(--ink-2); font-size: 15px; border-left: 3px solid var(--leaf); padding-left: 12px; }
@media (max-width: 640px) { .sub .step { grid-template-columns: 1fr; } .sub .step img { max-width: 260px; } }
.sub .hero-img img { width: 100%; height: auto; border-radius: var(--r-l); box-shadow: var(--shadow); }
.sub .dl { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 18px 0 10px; }
@media (max-width: 640px) { .sub .dl { grid-template-columns: 1fr; } }
.sub .dl a { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: 14px;
             text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s var(--ease), border-color .2s; }
.sub .dl a:hover { transform: translateY(-3px); border-color: var(--coral); }
.sub .dl img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); margin-bottom: 12px; }
.sub .dl b { display: block; font: 700 17px/1.2 var(--display); }
.sub .dl span { display: block; font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.sub table { border-collapse: collapse; width: 100%; font-size: 15px; }
.sub td, .sub th { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.sub ol, .sub ul { padding-left: 1.3em; }
.sub li { margin-bottom: .35em; }
.sub .prose-foot { display: none; }

/* map markers light up as the walker passes them */
#finish.lit .halo { fill: #dff5e3; }
#crown.lit .halo { fill: #fff3c4; }
@media (prefers-reduced-motion: no-preference) {
  #crown.lit { filter: drop-shadow(0 0 10px rgba(255,213,74,.9)); }
}
