/* Larke public site: one stylesheet, no build, nothing loaded from anywhere else (CSP default-src 'self').
   Tokens follow the app's Wildwood theme and its launch animation (forest, cream, copper), so the site reads as the
   same product as the icon beside it. Fraunces (600) is for the wordmark and the big lines only; Public Sans for
   every other word, as in the app (the clean pass, 2026-11-24). Both are self-hosted copies of apps/larke's cuts. */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/fraunces-600.woff2') format('woff2'); }
@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/public-sans-400.woff2') format('woff2'); }
@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/public-sans-600.woff2') format('woff2'); }

:root {
  /* brand: always the same, in either scheme (the hero, the bar and the closing band are always forest) */
  --forest: #23402F; --forest-deep: #182D21; --forest-ink: #0F1A13; --cream: #F2ECDF; --cream-soft: #D9D3C3;
  --cream-mute: #B9B3A2; --copper: #9A5F22; --copper-soft: #D8A75A;
  /* page surfaces, light */
  --bg: #F7F3EA; --surface: #FFFDF8; --ink: #20241C; --ink-soft: #545849; --line: #E2DBCB; --link: #2E4A3A; --field-line: #7D7F70;
  --font-brand: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-sans: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --max: 72rem; --prose: 42rem; --radius: 16px; --tap: 44px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #141811; --surface: #1C2119; --ink: #EEE9DC; --ink-soft: #B6B2A3; --line: #30372B; --link: #9BBFA8; --field-line: #8C8E80;
    --copper: #D8A75A; color-scheme: dark; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--font-sans); overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 4px; }
/* On the forest bands the lighter copper is the one with contrast. */
.bar :focus-visible, .hero :focus-visible, .band-dark :focus-visible, .page-head :focus-visible, .skip:focus-visible { outline-color: var(--copper-soft); }
h1, h2, .display { font-family: var(--font-brand); font-weight: 600; letter-spacing: -0.02em; line-height: 1.06; margin: 0; text-wrap: balance; }
h3 { font-size: 1.125rem; line-height: 1.3; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--copper); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 20; background: var(--cream); color: var(--forest); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---- the bar: solid forest, so nothing shows through on scroll ---- */
.bar { position: sticky; top: 0; z-index: 10; background: var(--forest-deep); color: var(--cream); padding-top: env(safe-area-inset-top, 0px); }
.bar .wrap { display: flex; align-items: center; gap: 8px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: var(--tap); color: inherit; text-decoration: none;
  font-family: var(--font-brand); font-weight: 600; font-size: min(1.375rem, 24px); letter-spacing: -0.01em; }
/* The bar's words stop growing at a native bar's size, so at 200% text it still fits a phone (as in the app). */
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.bar nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.bar nav a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 12px; color: var(--cream); text-decoration: none; font-size: min(.9375rem, 17px); border-radius: 999px; }
.bar nav a:hover { background: rgba(242, 236, 223, .1); }
.bar nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.bar nav .get { background: var(--cream); color: var(--forest); font-weight: 600; padding: 0 18px; margin-left: 6px; }
.bar nav .get:hover { background: #fff; }
@media (max-width: 760px) { .bar nav .wide { display: none; } }
@media (max-width: 374px) { .bar .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } .bar nav a { padding: 0 10px; } }

/* ---- hero: a dotted world and the launch animation's flight path (SMIL, no script) ---- */
.hero { position: relative; overflow: hidden; background: var(--forest); color: var(--cream); isolation: isolate; }
/* Tablet and desktop: the map fills the right of the hero, so the hellos land in open space beside the words. */
.hero__map { position: absolute; top: 0; right: 0; width: 52%; height: 100%; z-index: -2; }
.hero__map--narrow { display: none; }
.hero__map image { opacity: .17; }
.hero__map .route { fill: none; stroke: var(--copper-soft); stroke-width: 1.6; stroke-dasharray: 1 5; stroke-linecap: round; }
.hero__map .dot { fill: var(--copper-soft); }
.hero__map .ring { fill: none; stroke: var(--copper-soft); stroke-width: 1; }
.hero__map rect { fill: var(--forest-ink); fill-opacity: .92; }
.hero__map text { fill: var(--cream); font: 600 11px var(--font-sans); }
.hero__map .lark { fill: var(--copper-soft); }
.hero__map .still { display: none; }
@media (prefers-reduced-motion: reduce) { .hero__map .anim { display: none; } .hero__map .still { display: inline; } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, var(--forest) 30%, rgba(35, 64, 47, .55) 42%, rgba(35, 64, 47, 0) 56%); }
.hero__copy { padding-block: clamp(4.5rem, 10vw, 8.5rem) clamp(4rem, 8vw, 7rem); max-width: 46rem; }
.hero h1 { font-size: clamp(3rem, 6.2vw, 5.25rem); margin-top: 1rem; }
.hero h1 span { display: block; color: var(--copper-soft); }
.hero .lede { margin-top: 1.5rem; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--cream-soft); max-width: 30rem; }
.hero .eyebrow, .band-dark .eyebrow { color: var(--copper-soft); }
/* Phones and portrait tablets: the route in a band of its own above the words, cropped so the hellos can be read. */
@media (max-width: 900px) {
  .hero__map--wide { display: none; }
  .hero__map--narrow { display: block; left: 0; width: 100%; height: 58vw; min-height: 220px; max-height: 420px; }
  .hero::after { background: linear-gradient(180deg, rgba(35, 64, 47, 0) 0, rgba(35, 64, 47, 0) 50vw, var(--forest) clamp(220px, 60vw, 430px)); }
  .hero__copy { padding-top: clamp(224px, 58vw, 414px); }
}

/* store buttons: "coming soon" until the store pages exist. Swap each <span class="store"> for the official badge
   (Apple's for our own app; Google Play's from its Partner Marketing Hub) and its link at launch. */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 20px 8px 16px; border-radius: 12px;
  background: #0B0C0A; color: #fff; border: 1px solid rgba(255, 255, 255, .24); line-height: 1.15; text-decoration: none; }
.store svg { width: 26px; height: 26px; fill: currentColor; flex: none; }
.store small { display: block; font-size: .75rem; opacity: .78; }
.store b { display: block; font-size: 1.1875rem; font-weight: 600; }
.store-note { margin-top: 1rem; font-size: .9375rem; color: var(--cream-mute); text-wrap: balance; }

/* ---- bands ---- */
.band { padding-block: clamp(4rem, 9vw, 7rem); }
.intro { display: grid; gap: 1rem; max-width: 40rem; }
.intro h2 { font-size: clamp(2.125rem, 4.6vw, 3.375rem); }
.intro p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.125rem; }
.links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.links a { display: inline-flex; align-items: center; min-height: var(--tap); }
.band-alt { background: var(--surface); border-block: 1px solid var(--line); }
.band-dark { background: var(--forest-deep); color: var(--cream); }

/* features: three phones */
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); margin-top: 3.5rem; }
.feat { display: grid; gap: .75rem; align-content: start; min-width: 0; }
.feat .phone { order: -1; margin-bottom: 1rem; }
.feat h3 { font-family: var(--font-brand); font-weight: 600; font-size: 1.75rem; letter-spacing: -0.01em; }
.feat p { color: var(--ink-soft); }
@media (max-width: 900px) and (min-width: 600px) {
  .phones { grid-template-columns: 1fr; gap: 3.5rem; }
  .feat { grid-template-columns: minmax(0, 19rem) minmax(0, 1fr); column-gap: 2.5rem; align-items: center; }
  .feat .phone { grid-row: span 2; margin: 0; }
  .feat h3 { align-self: end; }
  .feat p { align-self: start; }
}
@media (max-width: 599px) { .phones { grid-template-columns: minmax(0, 1fr); gap: 3.5rem; } .feat .phone { width: min(100%, 19rem); justify-self: center; } }

/* a phone drawn in CSS around an illustrative app screen (fixed px inside, like a picture) */
.phone { --app-brand: #1E5A43; --s-on: #1E5A43; --s-bg: #F7F5EF; --s-ink: #20241C; --s-mute: #646657; --s-card: #FFFDF8; --s-line: #E5DFCF;
  --s-line2: #EEE8DA; --s-faint: #7F8375; --s-ring: #9AA090; --s-map: #E9E3D3; --s-rail: #D6CFBD;
  aspect-ratio: 9 / 18; width: 100%; max-width: 100%; border-radius: 40px; background: #0B0C0A; padding: 9px;
  box-shadow: 0 34px 60px -34px rgba(24, 45, 33, .55); }
/* The app follows the system's appearance, so in dark mode its screens are dark too. */
@media (prefers-color-scheme: dark) { .phone { box-shadow: 0 0 0 1px rgba(242, 236, 223, .16), 0 34px 60px -34px #000;
  --s-on: #8CC7A6; --s-bg: #141813; --s-ink: #ECE7DA; --s-mute: #A9AC9C; --s-card: #1E241D; --s-line: #2E362D; --s-line2: #283027;
  --s-faint: #8E9282; --s-ring: #6E7466; --s-map: #20281F; --s-rail: #3A4338; } }
.screen { height: 100%; border-radius: 31px; overflow: hidden; background: var(--s-bg); color: var(--s-ink); font-size: 12px; line-height: 1.35;
  display: flex; flex-direction: column; gap: 8px; padding-bottom: 14px; }
.screen .sb { display: flex; justify-content: space-between; align-items: center; padding: 12px 22px 0; font-weight: 600; font-size: 11px; }
.sb__r { display: flex; gap: 5px; align-items: center; }
.sig { width: 14px; height: 9px; background: linear-gradient(90deg, var(--s-ink) 0 2px, transparent 2px 4px, var(--s-ink) 4px 6px, transparent 6px 8px, var(--s-ink) 8px 10px, transparent 10px 12px, var(--s-ink) 12px); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.bat { width: 20px; height: 10px; border: 1.5px solid var(--s-ink); border-radius: 3px; position: relative; }
.bat::after { content: ""; position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: var(--s-ink); border-radius: 1px; }
.screen .ttl { padding: 2px 16px 0; font-weight: 600; font-size: 20px; }
.screen .grp { padding: 4px 16px 0; font-weight: 600; font-size: 11px; color: var(--s-mute); }
.plate { margin: 0 12px; border-radius: 16px; padding: 14px; color: #F5F1E6; background: linear-gradient(135deg, #2E4A3A, #4F7258 58%, #B4712A); }
.plate .nm { font-family: var(--font-brand); font-size: 23px; font-weight: 600; }
.plate .pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.plate .pills span { background: rgba(255, 255, 255, .2); padding: 2px 8px; border-radius: 99px; font-size: 10.5px; }
.rows { margin: 0 12px; background: var(--s-card); border: 1px solid var(--s-line); border-radius: 14px; }
.rows div { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-top: 1px solid var(--s-line2); }
.rows div:first-child { border-top: 0; }
.rows i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--s-ring); flex: none; }
.rows .on i { background: var(--app-brand); border-color: var(--app-brand); box-shadow: inset 0 0 0 3px var(--s-card); }
.rows .on span { text-decoration: line-through; color: var(--s-faint); }
.rows em { margin-left: auto; font-style: normal; color: var(--s-faint); font-size: 11px; white-space: nowrap; }
.mini-map { margin: 0 12px; border-radius: 14px; background: var(--s-map); aspect-ratio: 1.6; overflow: hidden; }
.mini-map svg { width: 100%; height: 100%; display: block; }
.mini-map image { opacity: .32; }
@media (prefers-color-scheme: dark) { .mini-map image { opacity: .5; filter: brightness(3.4) saturate(.5); } }
.mini-map circle { fill: #B4712A; }
.stat { display: flex; gap: 8px; margin: 0 12px; }
.stat div { flex: 1; background: var(--s-card); border: 1px solid var(--s-line); border-radius: 12px; padding: 8px 10px; }
.stat b { display: block; font-size: 20px; font-family: var(--font-brand); }
.thread { margin: 2px 16px 0 22px; border-left: 2px solid var(--s-rail); padding-left: 14px; display: grid; gap: 9px; }
.thread div { position: relative; background: var(--s-card); border: 1px solid var(--s-line); border-radius: 12px; padding: 8px 10px; }
.thread div::before { content: ""; position: absolute; left: -21px; top: 12px; width: 10px; height: 10px; border-radius: 50%; background: #B4712A; border: 2px solid var(--s-bg); }
.thread .next::before { background: var(--app-brand); }
.thread b { display: block; font-size: 13px; }
.thread span { color: var(--s-mute); font-size: 11px; }
.tabbar { margin-top: auto; display: flex; justify-content: space-around; align-items: center; padding: 8px 6px 0; border-top: 1px solid var(--s-line); font-size: 10px; color: var(--s-mute); }
.tabbar span { display: grid; justify-items: center; gap: 2px; min-width: 40px; }
.tabbar svg { width: 34px; height: 22px; padding: 3px 9px; border-radius: 999px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; box-sizing: border-box; }
.tabbar .on { color: var(--s-on); font-weight: 600; }
.tabbar .on svg { background: color-mix(in srgb, var(--s-on) 16%, transparent); }
.tabbar .fab { width: 38px; height: 38px; padding: 0; border-radius: 13px; background: var(--app-brand); color: #F5F1E6; font: 400 24px/38px var(--font-sans); text-align: center; display: block; margin-top: -14px; box-shadow: 0 6px 14px -6px rgba(30, 90, 67, .6); }

/* places */
.cards { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(15rem, 19rem); gap: 16px; margin-top: 3rem; overflow-x: auto;
  padding-bottom: 12px; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  /* the row runs to the screen's edge, so a cut-off card says there is more to swipe */
  margin-right: calc(-1 * max(20px, env(safe-area-inset-right, 0px))); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
/* Wide screens: all five side by side, nothing to scroll. */
@media (min-width: 1000px) { .cards { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; margin-right: 0; padding-right: 0; }
  .cards .place { aspect-ratio: 4 / 5; } .place .hi { font-size: 1.625rem; } }
.cards:focus-visible { outline-offset: 6px; }
.place { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; scroll-snap-align: start; background: var(--forest); }
.place img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (prefers-reduced-motion: no-preference) { .place img { transition: transform .9s var(--ease); } .place:hover img { transform: scale(1.04); } }
.place figcaption { position: absolute; inset: auto 0 0; padding: 56px 16px 14px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .72)); }
.place .hi { font-family: var(--font-brand); font-size: 2rem; font-weight: 600; line-height: 1; }
.place .where { font-size: .9375rem; margin-top: 6px; }
.place .credit { font-size: .8125rem; opacity: .82; margin-top: 8px; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, .22);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.facts { display: flex; flex-wrap: wrap; gap: 16px 48px; margin-top: 2.75rem; }
.facts div { display: grid; align-content: start; }
.facts b { font-family: var(--font-brand); font-weight: 600; font-size: 2.5rem; line-height: 1.1; }
.facts span { color: var(--ink-soft); font-size: .9375rem; }
.facts a { display: flex; align-items: center; min-height: var(--tap); width: fit-content; font-weight: 600; }

/* privacy promises */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.promises { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.promises li { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: 2px 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.promises svg { width: 24px; height: 24px; stroke: var(--copper); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; grid-row: span 2; margin-top: 2px; }
.promises p { color: var(--ink-soft); }
.more { font-weight: 600; }

/* closing: the departure board (concept D), CSS only */
.board-band { text-align: center; }
.board-band .wrap { display: grid; justify-items: center; gap: 1.75rem; }
.board-band h2 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
.board-band h2 span { color: var(--copper-soft); }
.board-band .stores { justify-content: center; margin-top: 0; }
.board-band .store-note { margin-top: -.5rem; }
.board { display: flex; gap: 6px; }
.tile { --h: clamp(56px, 12vw, 92px); width: clamp(44px, 9.4vw, 72px); height: var(--h); border-radius: 8px; background: var(--forest-ink);
  position: relative; overflow: hidden; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .45); }
.tile::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .7); }
.reel { display: flex; flex-direction: column; transform: translateY(calc(var(--h) * -5)); }
.reel span { height: var(--h); display: grid; place-items: center; font: 600 calc(var(--h) * .5)/1 var(--font-sans), 'PingFang SC', 'Noto Sans CJK SC', 'Microsoft YaHei', sans-serif; color: var(--cream); }
/* the top flap: falls at each change, as a split-flap clatters */
.tile::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 50%; z-index: 1; background: #16241B;
  transform-origin: bottom; transform: scaleY(0); border-radius: 8px 8px 0 0; }
@media (prefers-reduced-motion: no-preference) {
  /* Twice through, then it rests on LARKE (WCAG 2.2.2: no motion that runs on with no way to stop it). */
  .reel { animation: board 11s 2 both; }
  .tile::before { animation: flap 11s 2; }
  .tile:nth-child(2)::before { animation-delay: .06s; } .tile:nth-child(3)::before { animation-delay: .12s; }
  .tile:nth-child(4)::before { animation-delay: .18s; } .tile:nth-child(5)::before { animation-delay: .24s; }
  .tile:nth-child(2) .reel { animation-delay: .06s; } .tile:nth-child(3) .reel { animation-delay: .12s; }
  .tile:nth-child(4) .reel { animation-delay: .18s; } .tile:nth-child(5) .reel { animation-delay: .24s; }
}
/* HELLO, HOLA, CIAO, 你好, JAMBO each 1.4 s, then LARKE held; each change a quick roll, as a split-flap clatters. */
/* Where scroll timelines exist, the board runs as it comes into view instead of on load. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .board { view-timeline: --board block; }
    .reel, .tile::before { animation-timeline: --board; animation-range: entry 60% cover 70%; animation-iteration-count: 1; animation-duration: auto; }
  }
}
@keyframes board {
  0%, 11% { transform: translateY(0); }
  13%, 24% { transform: translateY(calc(var(--h) * -1)); }
  26%, 37% { transform: translateY(calc(var(--h) * -2)); }
  39%, 50% { transform: translateY(calc(var(--h) * -3)); }
  52%, 63% { transform: translateY(calc(var(--h) * -4)); }
  65%, 100% { transform: translateY(calc(var(--h) * -5)); }
}
@keyframes flap {
  0%, 10.4%, 12.6%, 23.4%, 25.6%, 36.4%, 38.6%, 49.4%, 51.6%, 62.4%, 64.6%, 100% { transform: scaleY(0); }
  11.5%, 24.5%, 37.5%, 50.5%, 63.5% { transform: scaleY(1); }
}

/* ---- content pages (privacy, support, terms, press, credits) ---- */
.page-head { background: var(--forest); color: var(--cream); }
.page-head .wrap { padding-block: clamp(3rem, 7vw, 5rem) clamp(2.5rem, 5vw, 3.5rem); }
.page-head h1 { font-size: clamp(2.5rem, 6vw, 4rem); margin-top: .75rem; }
.page-head .lede { margin-top: 1rem; font-size: 1.125rem; color: var(--cream-soft); max-width: var(--prose); }
.page-head .eyebrow { color: var(--copper-soft); }
.prose { max-width: var(--prose); padding-block: clamp(2.5rem, 6vw, 4rem) clamp(4rem, 8vw, 6rem); }
.prose h2 { font-family: var(--font-sans); font-weight: 600; letter-spacing: 0; font-size: 1.375rem; line-height: 1.3; margin: 2.5rem 0 .75rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.75rem 0 .4rem; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 1rem; }
.prose ul { padding-left: 1.25rem; margin: 0; }
.prose li + li { margin-top: .4rem; }
.meta { color: var(--ink-soft); font-size: .9375rem; }
.page-head .meta { color: var(--cream-mute); margin-top: 1rem; }
.toc-nav { margin-top: 2rem; }
.toc-lead { font-weight: 600; font-size: .9375rem; color: var(--ink-soft); }
.toc, .prose .toc { display: flex; flex-wrap: wrap; gap: 8px; margin: .5rem 0 0; padding: 0; list-style: none; }
.prose .toc li + li { margin-top: 0; }
.prose .card + .toc-nav + h2, .toc-nav + h2 { margin-top: 2.5rem; }
.toc a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 16px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--ink); text-decoration: none; font-size: .9375rem; }
.toc a:hover { border-color: var(--ink-soft); }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 0; cursor: pointer; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
/* a deep link opens its answer; leave room so the question shows under the sticky bar */
.prose details > p[id] { scroll-margin-top: 10rem; }
summary::after { content: ""; width: 10px; height: 10px; flex: none; border-right: 2px solid var(--ink-soft); border-bottom: 2px solid var(--ink-soft); transform: rotate(45deg) translate(-3px, -3px); }
details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
details > p { padding-bottom: 1.25rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 32px); }
.note { border-left: 3px solid var(--copper); padding: 4px 0 4px 16px; }

/* forms (16px or more, so iOS never zooms in on a field) */
form { display: grid; gap: 6px; margin-top: 1.5rem; }
label { font-weight: 600; font-size: .9375rem; margin-top: 14px; }
label:first-of-type { margin-top: 0; }
.hint { color: var(--ink-soft); font-size: .875rem; font-weight: 400; }
input, textarea, select { width: 100%; font: inherit; font-size: max(16px, 1rem); color: var(--ink); background: var(--surface);
  border: 1px solid var(--field-line); border-radius: 12px; padding: 12px 14px; min-height: var(--tap); }
form .hint { margin: -2px 0 4px; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
textarea { min-height: 9rem; resize: vertical; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--copper); outline-offset: 1px; }
.btn { justify-self: start; margin-top: 18px; font: inherit; font-weight: 600; color: var(--cream); background: var(--forest); border: 0;
  border-radius: 999px; padding: 0 26px; min-height: 48px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.btn:hover { background: #2E4A3A; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* press kit */
.assets { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 16px; margin-top: 1.25rem; }
.asset { display: grid; gap: 10px; align-content: start; min-width: 0; margin: 0; }
.asset .pv { position: relative; aspect-ratio: 16 / 10; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.asset .pv.dark { background: var(--forest); border-color: var(--forest); }
.asset .pv { min-width: 0; overflow: hidden; }
.asset .pv img { position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); max-width: none; object-fit: contain; }
.asset a { font-weight: 600; display: inline-flex; align-items: center; min-height: var(--tap); }
dl.facts-list { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 10px 20px; margin: 1rem 0 0; }
dl.facts-list dt { font-weight: 600; } dl.facts-list dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 520px) { dl.facts-list { grid-template-columns: minmax(0, 1fr); gap: 2px; } dl.facts-list dd { margin-bottom: 10px; } }

/* ---- footer ---- */
.foot { border-top: 1px solid var(--line); padding-block: 3rem 3.5rem; font-size: .9375rem; color: var(--ink-soft); }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
@media (max-width: 760px) { .foot .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot .about { grid-column: 1 / -1; } }
.foot h2 { font: 600 .9375rem/1.3 var(--font-sans); letter-spacing: 0; color: var(--ink); margin: 0 0 .5rem; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li a { display: inline-flex; align-items: center; min-height: var(--tap); color: inherit; text-decoration: none; }
.foot li a:hover { color: var(--ink); text-decoration: underline; }
.foot .brand { color: var(--ink); }
.foot nav h2 { min-height: var(--tap); display: flex; align-items: center; margin: 0; }
.foot .about p { margin-top: .5rem; max-width: 24rem; }

/* iOS Safari does not always honour a sideways clip set only on body */
html { overflow-x: clip; }
