/* Prometheus Local website, v2 (2026-11-19).
   Tokens from brand/tokens.css. The night sections (hero, the week story, contact) stay night in both
   themes; the paper sections follow the light/dark setting. */

:root {
  --pl-ember: #e8743a; --pl-ember-deep: #a8481f; --pl-ember-soft: #f0915e; --pl-coal: #c2410c; --pl-brass: #c9a35a;
  --pl-bg: #f7f4ee; --pl-bg-2: #f1ece3; --pl-surface: #fdfbf7; --pl-raised: #efe9df;
  --pl-line: rgba(31, 27, 22, 0.10); --pl-line-strong: rgba(31, 27, 22, 0.18);
  --pl-text: #1f1b16; --pl-text-2: #5e554a; --pl-muted: #736a5e;
  --pl-accent: var(--pl-ember-deep); --pl-accent-ink: #ffffff;
  --pl-positive: #2f6f4f;
  --pl-shadow-sm: 0 1px 2px rgba(31, 27, 22, 0.06);
  --pl-shadow: 0 18px 40px -18px rgba(31, 27, 22, 0.28);
  --kraft: #e6d7bd; --kraft-ink: #2a2118; --kraft-2: #6a5a45; --kraft-line: rgba(42, 33, 24, 0.16);
  --night: #0f0d0b; --night-2: #161310; --bone: #efe9de; --bone-2: #b3ab9f; --bone-3: #8a847a;
  --serif: "Newsreader", Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: "Instrument Sans", -apple-system, "Segoe UI", system-ui, Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 150ms; --enter: 600ms;
  --gutter: 32px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --pl-bg: #161513; --pl-bg-2: #1a1816; --pl-surface: #1e1c19; --pl-raised: #282521;
    --pl-line: rgba(239, 233, 222, 0.08); --pl-line-strong: rgba(239, 233, 222, 0.16);
    --pl-text: #efe9de; --pl-text-2: #aaa398; --pl-muted: #8f897f;
    --pl-accent: var(--pl-ember); --pl-accent-ink: #1f1b16; --pl-positive: #8fb97a;
    --pl-shadow-sm: none; --pl-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --pl-bg: #161513; --pl-bg-2: #1a1816; --pl-surface: #1e1c19; --pl-raised: #282521;
  --pl-line: rgba(239, 233, 222, 0.08); --pl-line-strong: rgba(239, 233, 222, 0.16);
  --pl-text: #efe9de; --pl-text-2: #aaa398; --pl-muted: #8f897f;
  --pl-accent: var(--pl-ember); --pl-accent-ink: #1f1b16; --pl-positive: #8fb97a;
  --pl-shadow-sm: none; --pl-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.js { scroll-behavior: auto; }
body { margin: 0; background: var(--pl-bg); color: var(--pl-text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, canvas { display: block; }
a { color: var(--pl-accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: var(--pl-ember); color: #1f1b16; }
:focus-visible { outline: 2px solid var(--pl-ember); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p { margin: 0; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--pl-ember); color: #1f1b16; padding: 8px 16px; border-radius: 8px; font-weight: 500; }
.skip:focus { top: 16px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.mono, .num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); }

/* the night: one set of colours, both themes */
.night { background: var(--night); color: var(--bone); --pl-text: var(--bone); --pl-text-2: var(--bone-2); --pl-muted: var(--bone-3); --pl-line: rgba(239, 233, 222, 0.10); --pl-line-strong: rgba(239, 233, 222, 0.2); --pl-accent: var(--pl-ember-soft); color-scheme: dark; }

/* ---------- buttons ---------- */
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 8px; border: 1px solid transparent; font: 500 15px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color var(--fast) var(--ease), border-color var(--fast) var(--ease), color var(--fast) var(--ease), transform 120ms var(--ease); }
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-fire { background: var(--pl-accent); color: var(--pl-accent-ink); }
.btn-fire:hover { background: color-mix(in srgb, var(--pl-accent) 88%, white); }
.night .btn-fire { background: var(--pl-ember); color: #1f1b16; }
.night .btn-fire:hover { background: #ee8550; }
.btn-ghost { background: transparent; color: var(--pl-text); border-color: var(--pl-line-strong); }
.btn-ghost:hover { border-color: var(--pl-text-2); }
.btn-quiet { background: var(--pl-raised); color: var(--pl-text); border-color: var(--pl-line); }
.btn-quiet:hover { border-color: var(--pl-line-strong); }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--bone); transition: background-color 300ms var(--ease), color 300ms var(--ease), border-color 300ms var(--ease); border-bottom: 1px solid transparent; }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.top[data-tone="paper"] { background: var(--pl-bg); color: var(--pl-text); border-bottom-color: var(--pl-line); }
.top[data-tone="night"].scrolled { background: rgba(15, 13, 11, 0.92); border-bottom-color: rgba(239, 233, 222, 0.08); }
.lockup { display: inline-flex; align-items: center; gap: 10px; font: 500 20px/1 var(--serif); color: inherit; text-decoration: none; letter-spacing: -0.005em; }
.lockup svg { width: 13px; height: 22px; color: inherit; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { display: inline-flex; align-items: center; height: 36px; padding: 0 12px; border-radius: 8px; color: inherit; text-decoration: none; font-size: 14px; opacity: 0.82; transition: opacity var(--fast) var(--ease), background-color var(--fast) var(--ease); }
.nav a:hover { opacity: 1; }
.nav .nav-cta { opacity: 1; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 30%, transparent); margin-left: 8px; }
.nav .nav-cta:hover { border-color: currentColor; }
.theme, .menu-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; min-width: 36px; border-radius: 8px; border: 0; background: transparent; color: inherit; cursor: pointer; opacity: 0.82; font: 500 14px/1 var(--sans); }
.theme:hover, .menu-btn:hover { opacity: 1; }
.theme svg, .menu-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; padding: 0 10px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; isolation: isolate; }
.embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 1600ms var(--ease); }
.embers.on { opacity: 1; }
.hero-light { position: absolute; z-index: 0; right: calc(16vw - 360px); bottom: calc(6svh + 52svh - 360px); width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(closest-side, rgba(232, 116, 58, 0.16), rgba(232, 116, 58, 0.05) 55%, transparent); pointer-events: none; }
.hero-stalk { position: absolute; z-index: 2; right: 16vw; bottom: 7svh; width: 40px; height: 58svh; display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.hero-stalk .flame { width: 40px; height: 56px; flex: none; transform-origin: 50% 90%; }
.hero-stalk .stem { width: 40px; flex: 1; margin-top: -2px; }
.street-line { position: absolute; z-index: 0; left: 0; right: 0; bottom: 0; height: 27svh; color: var(--bone); opacity: 0.3; pointer-events: none; }
.street-line svg { width: 100%; height: 100%; }
.hero-in { position: relative; z-index: 3; padding-top: max(128px, 17svh); padding-bottom: 38svh; }
.hero-h { font: 300 clamp(84px, 15.2vw, 236px)/0.86 var(--serif); letter-spacing: -0.04em; margin: 0 0 32px -0.04em; display: flex; align-items: baseline; white-space: nowrap; }
.hero-h .you { display: inline-block; }
.hero-h .stop { display: inline-block; width: 0.17em; height: 0.17em; margin-left: 0.04em; color: var(--pl-ember); }
.hero-h .stop svg { width: 100%; height: 100%; fill: currentColor; }
.hero-sub { font: 400 clamp(22px, 2.3vw, 30px)/1.3 var(--serif); max-width: 30ch; letter-spacing: -0.01em; color: var(--bone); }
.hero-lede { margin-top: 16px; max-width: 48ch; font-size: 17px; color: var(--bone-2); }
.hero .ctas { margin-top: 32px; }
.hero-meta { margin-top: 20px; font: 400 13px/1.4 var(--mono); color: var(--bone-3); }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 20px; width: 24px; height: 40px; margin-left: -12px; display: flex; justify-content: center; }
.scroll-cue span { width: 1px; height: 100%; background: linear-gradient(var(--bone), transparent); opacity: 0.5; }

/* the streets (both) */
.street-svg { color: var(--bone); overflow: visible; }
.street-svg .sign { font: 500 15px var(--serif); fill: currentColor; opacity: 0.72; letter-spacing: 0.01em; }
.street-svg .lit, .street-svg .pool, .street-svg .up, .street-svg .lamp .halo, .street-svg .lamp .bulb { opacity: 0; transition: opacity 1100ms var(--ease); }
.street-svg .shop.on .lit, .street-svg .shop.on .pool, .street-svg .up.on, .street-svg .lamp.on .bulb { opacity: 1; }
.street-svg .lamp.on .halo { opacity: calc(1 - var(--dawn, 0) * 0.85); }
.street-svg .shop.yours .lit { opacity: 0.32; }
.street-svg .shop.yours.on .lit { opacity: 1; }
.street-svg.street-hero .shop.yours .lit { opacity: 0.5; }
.street-svg .carrier { transition: opacity 400ms var(--ease); opacity: 0; }

/* ---------- the week story ---------- */
.week { position: relative; --dawn: 0; }
.scene { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.sky { position: absolute; inset: 0; background: linear-gradient(#0a0908, #14110e 70%); }
.dawn { position: absolute; inset: 0; background: linear-gradient(to top, #5a2f1b 0%, #2c1c15 38%, rgba(20, 17, 14, 0) 78%); opacity: var(--dawn); }
.stars { position: absolute; inset: 0; opacity: calc(1 - var(--dawn)); }
.stars i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: var(--bone); }
.street { position: absolute; left: 0; right: 0; bottom: 0; height: min(60svh, 52vw); }
.street .street-svg { width: 100%; height: 100%; }
.beats { position: relative; z-index: 2; list-style: none; margin: -100vh 0 0; margin-top: -100svh; padding: 0; }
.beat { min-height: 104svh; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.beat:first-child { padding-top: 18svh; }
.beat:last-child { min-height: 150svh; }
.beat-in { position: sticky; top: 17svh; }
.beat .when { font: 400 13px/1.4 var(--mono); color: var(--pl-ember-soft); margin-bottom: 16px; }
.beat .say { font: 400 clamp(28px, 3.4vw, 46px)/1.16 var(--serif); letter-spacing: -0.015em; max-width: 24ch; text-wrap: balance; }
.beat-big .say { font-size: clamp(36px, 5vw, 72px); font-weight: 300; line-height: 1.04; letter-spacing: -0.03em; max-width: 18ch; }
.beat .sub { margin-top: 20px; max-width: 46ch; font-size: 18px; color: var(--bone-2); }
.js:not(.still) .beat-in { opacity: 0; transform: translateY(20px); filter: blur(4px); transition: opacity 800ms var(--ease), transform 800ms var(--ease), filter 800ms var(--ease); }
.js:not(.still) .beat.active .beat-in { opacity: 1; transform: none; filter: none; }
.js:not(.still) .hero-h .you { visibility: hidden; }
.js:not(.still) .hero-h.ready .you { visibility: visible; }

/* ---------- paper sections ---------- */
.sec { padding: 144px 0; background: var(--pl-bg); }
.sec-alt { background: var(--pl-bg-2); }
.sec-head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: end; margin-bottom: 72px; }
.sec-head h2 { font: 400 clamp(40px, 5vw, 68px)/1.02 var(--serif); letter-spacing: -0.025em; text-wrap: balance; }
.lede { font-size: 18px; line-height: 1.6; color: var(--pl-text-2); max-width: 52ch; }
h3 { font: 500 20px/1.3 var(--sans); }

/* plans */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.plan { background: var(--pl-surface); border: 1px solid var(--pl-line); border-radius: 16px; padding: 40px; box-shadow: var(--pl-shadow-sm); }
.plan-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--pl-line); margin-bottom: 20px; }
.plan h3 { font: 400 40px/1 var(--serif); letter-spacing: -0.02em; }
.plan .for { font-size: 14px; color: var(--pl-muted); text-align: right; }
.plan-say { font: 400 21px/1.4 var(--serif); margin-bottom: 24px; max-width: 34ch; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; color: var(--pl-text-2); }
.ticks svg { width: 18px; height: 18px; margin-top: 3px; color: var(--pl-accent); }
.note { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--pl-line); font-size: 14px; color: var(--pl-muted); }

/* how it works */
.how { display: grid; grid-template-columns: 1fr 380px; gap: 96px; align-items: start; }
.path { --fill: 0; position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 48px; }
.path::before, .path::after { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; border-radius: 1px; background: var(--pl-line-strong); }
.path::after { background: var(--pl-ember); transform-origin: top; transform: scaleY(var(--fill)); }
.path li { position: relative; padding-left: 48px; }
.path .dot { position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50% 0 50% 50%; transform: rotate(-45deg) scale(0.8); background: var(--pl-bg-2); border: 2px solid var(--pl-line-strong); z-index: 1; transition: background-color 400ms var(--ease), border-color 400ms var(--ease), transform 400ms var(--ease); }
.path li.reached .dot { background: var(--pl-ember); border-color: var(--pl-ember); transform: rotate(-45deg) scale(1); }
.path h3 { font: 400 28px/1.15 var(--serif); letter-spacing: -0.015em; margin-bottom: 8px; }
.path p { color: var(--pl-text-2); max-width: 46ch; }
.phone-wrap { position: sticky; top: 112px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.phone { position: relative; width: 340px; height: 600px; border-radius: 44px; padding: 12px; background: #1f1b16; box-shadow: var(--pl-shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.phone::before { content: ""; position: absolute; inset: 12px; border-radius: 34px; background: #fbf8f2; }
.phone > * { position: relative; }
.ph-bar { display: flex; justify-content: space-between; padding: 18px 24px 12px; font-size: 12px; color: #5e554a; }
.ph-row { margin: 0 12px; padding: 12px 16px; border-radius: 14px; background: #f1ebe1; display: grid; gap: 2px; color: #1f1b16; opacity: 0; transform: translateY(-14px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.ph-row::before { content: ""; position: absolute; left: 6px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #e8743a; }
.ph-from { font-size: 13px; font-weight: 500; }
.ph-subj { font-size: 13px; color: #5e554a; }
.phone.arrived .ph-row { opacity: 1; transform: none; }
.phone.open .ph-row { opacity: 0.45; }
.phone.open .ph-row::before { background: transparent; }
.ph-mail { margin: 12px 12px 0; padding: 16px; border-radius: 16px; background: #ffffff; border: 1px solid rgba(31, 27, 22, 0.08); color: #1f1b16; opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.phone.open .ph-mail { opacity: 1; transform: none; }
.ph-meta { font-size: 11px; color: #736a5e; display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.tag { font-family: var(--sans); font-size: 11px; padding: 2px 8px; border-radius: 4px; background: #efe9df; color: #5e554a; }
.ph-hero { border-radius: 8px; overflow: hidden; margin-bottom: 12px; }
.ph-hero svg { width: 100%; height: auto; }
.ph-h { font: 500 19px/1.25 var(--serif); margin-bottom: 6px; }
.ph-h .word { border-radius: 3px; transition: background-color 600ms var(--ease); }
.ph-h .word.flash { background: rgba(232, 116, 58, 0.25); }
.ph-p { font-size: 13px; color: #5e554a; margin-bottom: 16px; }
.ph-acts { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; }
.ph-acts .btn-quiet { background: #efe9df; color: #1f1b16; border-color: rgba(31, 27, 22, 0.08); }
.ph-acts .btn-fire { background: #a8481f; color: #fff; }
.phone.approved .ph-acts .btn-fire { background: #2f6f4f; }
.ph-done { font-size: 12px; line-height: 1.5; color: #2f6f4f; min-height: 54px; margin-top: 12px; }
.ph-cursor { position: absolute; left: 0; top: 0; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; background: rgba(31, 27, 22, 0.22); border: 1.5px solid rgba(31, 27, 22, 0.5); opacity: 0; pointer-events: none; }
.replay { background: none; border: 0; padding: 4px 8px; color: var(--pl-muted); font: 400 13px var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.replay:hover { color: var(--pl-text); }

/* promises */
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-bottom: 96px; }
.pr { border-top: 1px solid var(--pl-line-strong); padding-top: 24px; }
.pr svg { width: 22px; height: 22px; color: var(--pl-accent); margin-bottom: 16px; }
.pr h3 { font: 400 26px/1.15 var(--serif); letter-spacing: -0.01em; margin-bottom: 10px; }
.pr p { color: var(--pl-text-2); }
.measure { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; background: var(--night); color: var(--bone); border-radius: 20px; padding: 56px; --pl-text: var(--bone); --pl-text-2: var(--bone-2); --pl-raised: #24201c; --pl-line: rgba(239, 233, 222, 0.1); --pl-line-strong: rgba(239, 233, 222, 0.2); }
.measure h3 { display: flex; align-items: center; gap: 12px; font: 400 36px/1.1 var(--serif); letter-spacing: -0.02em; margin-bottom: 20px; }
.measure h3 svg { width: 24px; height: 24px; color: var(--pl-ember); flex: none; }
.measure p { color: var(--bone-2); margin-bottom: 16px; max-width: 48ch; }
.measure .btn { margin-top: 8px; }
.dots-fig { margin: 0; }
.dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 10px; max-width: 360px; margin: 0 auto; }
.dots i { aspect-ratio: 1; border-radius: 50%; background: rgba(239, 233, 222, 0.12); transition: background-color 500ms var(--ease), box-shadow 500ms var(--ease), transform 500ms var(--ease); }
.dots i.on { background: var(--pl-ember); }
.dots i.held { background: transparent; box-shadow: inset 0 0 0 1.5px var(--bone-2); transform: scale(0.86); }
.dots-fig figcaption { display: flex; justify-content: center; gap: 24px; margin-top: 24px; font-size: 13px; color: var(--bone-2); }
.dots-fig figcaption span { display: inline-flex; align-items: center; gap: 8px; }
.k { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.k-on { background: var(--pl-ember); }
.k-off { box-shadow: inset 0 0 0 1.5px var(--bone-2); }

/* price tags: kraft card, the same in both themes, because they are objects */
.tags { display: grid; grid-template-columns: repeat(2, minmax(0, 460px)); justify-content: center; gap: 64px; margin-bottom: 96px; }
.tag-card { position: relative; padding-top: 64px; transform-origin: 50% 0; }
.tag-card .string { position: absolute; left: 50%; top: 0; width: 1px; height: 84px; background: var(--pl-text-2); opacity: 0.6; }
.tag-card .string::before { content: ""; position: absolute; left: -4px; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--pl-text-2); }
.tag-body { position: relative; background: var(--kraft); color: var(--kraft-ink); padding: 64px 40px 40px; clip-path: polygon(22% 0, 78% 0, 100% 12%, 100% 100%, 0 100%, 0 12%); filter: drop-shadow(0 14px 18px rgba(31, 27, 22, 0.16)); }
.tag-body .hole { position: absolute; left: 50%; top: 18px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--pl-bg-2); box-shadow: inset 0 0 0 2px rgba(42, 33, 24, 0.22); }
.tag-body .name { font: 500 15px/1 var(--sans); color: var(--kraft-2); text-align: center; margin-bottom: 16px; }
.tag-body .amt { font: 300 72px/1 var(--serif); letter-spacing: -0.03em; text-align: center; }
.tag-body .amt small { display: block; font: 400 15px/1.4 var(--sans); letter-spacing: 0; color: var(--kraft-2); margin-top: 8px; }
.tag-body .then { text-align: center; margin: 16px auto 28px; max-width: 30ch; color: var(--kraft-ink); }
.tag-body .then .num { font-weight: 600; }
.tag-body table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tag-body th, .tag-body td { padding: 10px 0; border-top: 1px dashed var(--kraft-line); text-align: left; font-weight: 400; color: var(--kraft-2); vertical-align: top; }
.tag-body td { text-align: right; white-space: nowrap; padding-left: 16px; font-variant-numeric: tabular-nums; color: var(--kraft-ink); }
.tag-body tr.total th, .tag-body tr.total td { color: var(--kraft-ink); font-weight: 500; border-top-style: solid; }
.pilot { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; border-top: 1px solid var(--pl-line-strong); padding-top: 32px; }
.pilot h3 { font: 400 26px/1.15 var(--serif); margin-bottom: 10px; }
.pilot p { color: var(--pl-text-2); max-width: 52ch; }

/* questions */
.faq { max-width: 820px; margin-left: auto; }
.faq details { border-top: 1px solid var(--pl-line-strong); }
.faq details:last-child { border-bottom: 1px solid var(--pl-line-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font: 400 23px/1.3 var(--serif); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat; transition: transform 300ms var(--ease); opacity: 0.6; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover::after { opacity: 1; }
.faq .a { overflow: hidden; }
.faq .a p { padding: 0 48px 28px 0; color: var(--pl-text-2); max-width: 64ch; }

/* contact + footer */
.contact { position: relative; overflow: hidden; isolation: isolate; padding-top: 160px; }
.contact .embers { z-index: 0; }
.contact-in { position: relative; z-index: 1; padding-bottom: 120px; }
.contact h2 { font: 300 clamp(48px, 8vw, 120px)/0.96 var(--serif); letter-spacing: -0.035em; max-width: 12ch; margin-bottom: 32px; }
.contact-say { font: 400 clamp(20px, 2vw, 26px)/1.4 var(--serif); color: var(--bone-2); max-width: 40ch; margin-bottom: 36px; }
.contact-dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 96px 0 0; padding-top: 24px; border-top: 1px solid var(--pl-line); }
.contact-dl dt { font-size: 13px; color: var(--bone-3); margin-bottom: 6px; }
.contact-dl dd { margin: 0; color: var(--bone); }
.foot { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; padding-top: 32px; padding-bottom: 40px; border-top: 1px solid var(--pl-line); }
.foot .myth { margin-top: 12px; max-width: 58ch; font-size: 14px; color: var(--bone-3); }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; font-size: 14px; color: var(--bone-3); white-space: nowrap; }
.foot a { color: var(--bone-2); text-decoration: none; }
.foot a:hover { color: var(--bone); }

/* privacy page and other reading pages */
.page-top { height: 72px; }
.doc { max-width: 720px; margin: 0 auto; padding: 72px var(--gutter) 128px; font-size: 17px; }
.doc h1 { font: 400 clamp(40px, 6vw, 64px)/1.05 var(--serif); letter-spacing: -0.025em; margin-bottom: 12px; }
.doc h2 { font: 400 28px/1.2 var(--serif); margin: 48px 0 12px; }
.doc p, .doc li { color: var(--pl-text-2); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; display: grid; gap: 8px; margin: 0; }
.doc strong { color: var(--pl-text); font-weight: 500; }
.doc .muted { color: var(--pl-muted); }
.draft { margin: 24px 0 8px; padding: 16px 20px; border-radius: 12px; background: var(--pl-raised); border: 1px solid var(--pl-line); }
.draft p { color: var(--pl-text); }
.plain-foot { border-top: 1px solid var(--pl-line); }
.plain-foot .foot { border-top: 0; color: var(--pl-muted); }
.plain-foot .foot a { color: var(--pl-text-2); }
.plain-foot .foot ul { color: var(--pl-muted); }

/* motion that loops only where something is alive: the flame */
@media (prefers-reduced-motion: no-preference) {
  .hero-stalk .flame { animation: flicker 3.2s ease-in-out infinite alternate; }
  @keyframes flicker { 0% { transform: scale(1, 1) skewX(0deg); } 35% { transform: scale(0.97, 1.05) skewX(-1.5deg); } 70% { transform: scale(1.02, 0.97) skewX(1deg); } 100% { transform: scale(0.99, 1.03) skewX(-0.5deg); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; }
}

/* ---------- tablet ---------- */
@media (max-width: 980px) {
  .sec-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .how { grid-template-columns: 1fr; gap: 64px; }
  .phone-wrap { position: static; }
  .promises { grid-template-columns: 1fr; gap: 32px; }
  .measure { grid-template-columns: 1fr; padding: 40px; gap: 40px; }
  .faq { margin-left: 0; }
}

/* ---------- phones ---------- */
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .top-in { height: 64px; }
  .menu-btn { display: inline-flex; }
  .nav ul { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 8px 16px 16px; background: var(--night); border-bottom: 1px solid rgba(239, 233, 222, 0.1); gap: 0; }
  .top[data-tone="paper"] .nav ul { background: var(--pl-bg); border-bottom-color: var(--pl-line); }
  .top.open .nav ul { display: flex; }
  .top.open { background: var(--night); }
  .top.open[data-tone="paper"] { background: var(--pl-bg); }
  .nav ul a { height: 48px; font-size: 16px; padding: 0 4px; }
  .nav .nav-cta { margin: 8px 0 0; justify-content: center; }
  .hero-in { padding-top: 104px; padding-bottom: 26svh; }
  .hero-h { display: block; white-space: normal; font-size: clamp(72px, 25vw, 132px); line-height: 0.88; margin-bottom: 28px; }
  .hero-sub { font-size: 22px; }
  .hero-lede { font-size: 16px; }
  .hero .ctas .btn { flex: 1 1 100%; }
  .hero-stalk { right: 9vw; height: 19svh; bottom: 3svh; width: 28px; }
  .hero-stalk .flame { width: 28px; height: 40px; }
  .hero-stalk .stem { width: 28px; }
  .hero-light { right: calc(9vw - 220px); bottom: calc(3svh + 19svh - 220px); width: 440px; height: 440px; }
  .street-line { height: 26svh; }
  .scroll-cue { display: none; }
  .street { height: 50svh; }
  .beat { min-height: 96svh; }
  .beat:first-child { padding-top: 14svh; }
  .beat-in { top: 13svh; }
  .beat .say { font-size: 26px; }
  .beat-big .say { font-size: 36px; }
  .beat .sub { font-size: 16px; }
  .sec { padding: 96px 0; }
  .sec-head h2 { font-size: 40px; }
  .lede { font-size: 17px; }
  .plans { grid-template-columns: 1fr; }
  .plan { padding: 24px; }
  .plan-top { flex-direction: column; gap: 6px; }
  .plan .for { text-align: left; }
  .plan h3 { font-size: 34px; }
  .phone { width: 320px; height: 580px; }
  .measure { padding: 28px 20px; border-radius: 16px; }
  .measure h3 { font-size: 28px; }
  .dots { gap: 7px; }
  .dots-fig figcaption { flex-direction: column; align-items: center; gap: 8px; }
  .tags { grid-template-columns: 1fr; gap: 24px; margin-bottom: 64px; }
  .tag-body { padding: 56px 20px 24px; }
  .tag-body .amt { font-size: 60px; }
  .pilot { grid-template-columns: 1fr; gap: 32px; }
  .faq summary { font-size: 20px; padding: 20px 0; }
  .faq .a p { padding-right: 0; }
  .contact { padding-top: 112px; }
  .contact-in { padding-bottom: 80px; }
  .contact .ctas .btn { flex: 1 1 100%; }
  .contact-dl { grid-template-columns: 1fr; gap: 20px; margin-top: 64px; }
  .foot { flex-direction: column; align-items: flex-start; gap: 24px; }
  .foot ul { flex-wrap: wrap; gap: 12px 20px; white-space: normal; }
}

/* the short header on reading pages: links always visible */
@media (max-width: 760px) {
  .nav-simple ul { display: flex; position: static; flex-direction: row; padding: 0; background: none; border: 0; }
  .nav-simple ul a { height: 36px; font-size: 14px; padding: 0 8px; }
  .nav-simple .nav-cta { margin: 0 0 0 4px; }
}

/* reduced motion: the story reads as a plain list, then the lit street as one still picture */
.still .week { display: flex; flex-direction: column; --dawn: 0.35; }
.still .scene { order: 2; position: relative; height: 70vh; height: 70svh; }
.still .beats { margin-top: 0; padding: 120px 0 24px; }
.still .beat, .still .beat:first-child, .still .beat:last-child { min-height: 0; padding-top: 0; padding-bottom: 72px; }
.still .beat-in { position: static; }
