/*
  The POP kit, on the web. Same tokens and the same chunk as Postmeter/DesignSystem.
  Colors mirror PopColor.swift, springs mirror PopMotion.swift, depths PopChunk.swift.
  Keep them in sync.

  The side of a chunk is drawn with a zero-blur box-shadow. That is not a drop shadow:
  it is a solid slab of the pop's side color, exactly what `Chunk` draws under a face.
*/

/* ---------- Tokens ---------- */

:root {
  color-scheme: light;

  --paper: #FFF7EE;
  --ink: #17141C;
  --ink-soft: rgb(23 20 28 / 0.5);
  --on-pop: #17141C;

  --t-face: #FF6A2B; --t-side: #C74710;
  --g-face: #8B5CFF; --g-side: #542EB8;
  --b-face: #FFD53D; --b-side: #D99B0B;
  --q-face: rgb(23 20 28 / 0.06); --q-side: rgb(23 20 28 / 0.16);

  --round: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Nunito", "Varela Round", system-ui, sans-serif;

  --depth-hero: 10px;
  --depth-button: 8px;
  --depth-round: 8px;
  --depth-toggle: 6px;
  --depth-chip: 5px;
  --stuck-give: 2px;

  /* Fallbacks for browsers without linear(); the real springs are below. */
  --pop: cubic-bezier(.34, 1.56, .64, 1);
  --snap: cubic-bezier(.3, 1.4, .6, 1);
  --glide: cubic-bezier(.22, 1.08, .36, 1);
  --rise: cubic-bezier(.3, 1.9, .5, 1);
  --burst: cubic-bezier(.3, 2, .5, 1);

  --pad: 28px;
  --blob-size: min(80vmin, 580px);
}

@supports (transition-timing-function: linear(0, 1)) {
  :root {
    /* spring(response: 0.5, dampingFraction: 0.58) */
    --pop: linear(0, 0.035, 0.123, 0.245, 0.383, 0.523, 0.656, 0.775, 0.876, 0.957, 1.019, 1.062, 1.09, 1.103, 1.107, 1.102, 1.092, 1.079, 1.064, 1.049, 1.035, 1.022, 1.012, 1.004, 0.997, 0.993, 0.99, 0.989, 0.989, 0.989, 0.99, 0.992, 0.993, 0.995, 0.996, 0.998, 1);
    /* spring(response: 0.28, dampingFraction: 0.66) */
    --snap: linear(0, 0.027, 0.096, 0.192, 0.302, 0.418, 0.531, 0.637, 0.732, 0.814, 0.884, 0.94, 0.983, 1.016, 1.038, 1.053, 1.061, 1.063, 1.062, 1.058, 1.052, 1.045, 1.038, 1.03, 1.024, 1.018, 1.012, 1.008, 1.004, 1.001, 0.999, 0.998, 0.997, 0.996, 0.996, 0.996, 1);
    /* spring(response: 0.75, dampingFraction: 0.82) */
    --glide: linear(0, 0.017, 0.062, 0.126, 0.201, 0.281, 0.363, 0.444, 0.52, 0.592, 0.657, 0.715, 0.767, 0.812, 0.851, 0.884, 0.912, 0.935, 0.954, 0.969, 0.981, 0.99, 0.997, 1.002, 1.006, 1.009, 1.01, 1.011, 1.011, 1.011, 1.01, 1.01, 1.009, 1.008, 1.007, 1.006, 1);
    /* spring(response: 0.34, dampingFraction: 0.36) */
    --rise: linear(0, 0.057, 0.206, 0.408, 0.63, 0.843, 1.025, 1.163, 1.252, 1.293, 1.293, 1.26, 1.206, 1.142, 1.076, 1.017, 0.969, 0.936, 0.917, 0.911, 0.917, 0.93, 0.949, 0.968, 0.987, 1.003, 1.015, 1.023, 1.026, 1.026, 1.023, 1.018, 1.012, 1.006, 1.001, 0.997, 1);
    /* spring(response: 0.18, dampingFraction: 0.42) */
    --burst: linear(0, 0.066, 0.23, 0.444, 0.669, 0.873, 1.037, 1.151, 1.214, 1.234, 1.219, 1.18, 1.13, 1.078, 1.03, 0.992, 0.965, 0.95, 0.945, 0.949, 0.958, 0.969, 0.982, 0.993, 1.002, 1.008, 1.012, 1.013, 1.012, 1.01, 1.007, 1.004, 1.002, 1, 0.998, 0.997, 1);
  }
}

/* Dark: the system decides unless the toggle has (theme.js sets data-theme). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #120F17;
    --ink: #FFF7EE;
    --ink-soft: rgb(255 247 238 / 0.5);
    --q-face: rgb(255 247 238 / 0.06);
    --q-side: rgb(255 247 238 / 0.16);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #120F17;
  --ink: #FFF7EE;
  --ink-soft: rgb(255 247 238 / 0.5);
  --q-face: rgb(255 247 238 / 0.06);
  --q-side: rgb(255 247 238 / 0.16);
}

/* The theme switch grows out of the toggle as a circle (pop.js). */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* ---------- Ground ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--round);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
svg { display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 900; }

::selection { background: var(--b-face); color: var(--on-pop); }
:focus-visible { outline: 3px solid var(--g-face); outline-offset: 4px; }

.skip {
  position: absolute; left: var(--pad); top: -80px;
  padding: 12px 18px; border-radius: 22px;
  background: var(--b-face); color: var(--on-pop); text-decoration: none; z-index: 10;
}
.skip:focus { top: 12px; }

.haptic { position: fixed; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; overflow: hidden; }

/* The one blob. A fixed, clipped layer with two co-located glows, one per pop, so the
   color can cross-fade on the compositor instead of repainting a blur every frame.
   pop.js steers it with the scroll; without JS it sits top-right. */
.blob { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob i {
  position: absolute; left: 0; top: 0;
  width: var(--blob-size); height: var(--blob-size);
  margin: calc(var(--blob-size) / -2) 0 0 calc(var(--blob-size) / -2);
  border-radius: 50%;
  filter: blur(clamp(56px, 13vmin, 90px));
  transform: translate3d(80vw, 22vh, 0);
  will-change: transform, opacity;
}
.blob .bt { background: var(--t-face); opacity: .30; }
.blob .bg { background: var(--g-face); opacity: 0; }
html[data-pop="grape"] .blob .bt { opacity: 0; }
html[data-pop="grape"] .blob .bg { opacity: .30; }

/* ---------- Type ---------- */

.label {
  font-size: 13px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--ink-soft); font-variant-numeric: tabular-nums;
}

/* 3D type: ink on top, a copy in the scene's pop offset under it (PopTitle). */
.type3d { text-shadow: 0 0.06em 0 var(--chunk, var(--t-face)); }
.type3d.on-grape { --chunk: var(--g-face); }

.h-hero { font-size: clamp(64px, 12.5vw, 136px); line-height: 0.9; letter-spacing: -0.02em; }
.h-title { font-size: clamp(48px, 5.8vw, 76px); line-height: 0.95; letter-spacing: -0.015em; }
.h-hero, .h-title, .lede { text-wrap: balance; }

.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); max-width: 26em; }

/* ---------- The chunk ---------- */

.chunk {
  --depth: var(--depth-button);
  --face: var(--q-face);
  --side: var(--q-side);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  margin: 0 0 var(--depth); padding: 0 24px; border: 0;
  font: inherit; font-size: 22px; font-weight: 700; line-height: 1;
  color: var(--ink); text-decoration: none; white-space: nowrap;
  cursor: pointer; user-select: none; -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  border-radius: 999px;
  background-color: var(--face);
  background-image: linear-gradient(180deg, rgb(255 255 255 / .30), rgb(255 255 255 / .06) 50%, rgb(255 255 255 / 0));
  box-shadow: 0 var(--depth) 0 var(--side);
  transform-origin: 50% 100%;
  transition: transform .69s var(--rise), box-shadow .69s var(--rise), background-color .3s ease, color .3s ease;
}

/* Finger down: squash and drop onto the side in 60ms. */
.chunk.down {
  transform: translateY(var(--depth)) scale(1.02, 0.92);
  box-shadow: 0 0 0 var(--side);
  transition: transform 60ms ease-out, box-shadow 60ms ease-out;
}

/* Finger up: the whole chunk bursts to 106% and back. */
.chunk.popped { animation: burst .42s var(--burst); }
@keyframes burst { 45% { scale: 1.06; } }

/* A band of light sweeps across the face once per pop. */
.chunk::before {
  content: ""; position: absolute; z-index: -1; top: -100%; bottom: -100%; left: 0;
  width: 45%; min-width: 24px;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / .42), transparent);
  rotate: 20deg; translate: -160% 0; pointer-events: none;
}
.chunk.popped::before { animation: shimmer .45s ease-in-out; }
@keyframes shimmer { from { translate: -160% 0; } to { translate: 360% 0; } }

/* Stuck: gives 2pt and comes straight back. No rise, no burst, no shimmer. */
.chunk.stuck { transition: transform .12s ease-out, box-shadow .12s ease-out, background-color .3s ease, color .3s ease; }
.chunk.stuck.down {
  transform: translateY(var(--stuck-give)) scale(1.004, 0.982);
  box-shadow: 0 calc(var(--depth) - var(--stuck-give)) 0 var(--side);
}

/* Pops */
.t { --face: var(--t-face); --side: var(--t-side); color: var(--on-pop); }
.g { --face: var(--g-face); --side: var(--g-side); color: var(--on-pop); }
.b { --face: var(--b-face); --side: var(--b-side); color: var(--on-pop); }
.q { --face: var(--q-face); --side: var(--q-side); color: var(--ink); }

/* Dots: hero CTAs and the meter's liquid. Nowhere else. */
.chunk.hero {
  background-image:
    linear-gradient(180deg, rgb(255 255 255 / .30), rgb(255 255 255 / .06) 50%, rgb(255 255 255 / 0)),
    radial-gradient(circle at 6px 6px, rgb(255 255 255 / .16) 1.6px, transparent 2px),
    radial-gradient(circle at 13px 18.2px, rgb(255 255 255 / .16) 1.6px, transparent 2px);
  background-size: auto, 14px 24.4px, 14px 24.4px;
}

/* Sizes */
.btn { height: 64px; width: 100%; max-width: 420px; }
.chip { --depth: var(--depth-chip); height: 44px; padding: 0 18px; font-size: 17px; font-weight: 600; }
.round { --depth: var(--depth-round); width: 64px; height: 64px; padding: 0; border-radius: 50%; }
.round svg { width: 26px; height: 26px; fill: currentColor; }

/* ---------- Glints: every component its own shine ---------- */

.chunk::after {
  content: ""; position: absolute; pointer-events: none; opacity: .55;
  background: #fff; border-radius: 999px;
}
.chunk.popped::after { animation: glint .46s ease-in; }
@keyframes glint { from { opacity: 1; } }
.chunk.stuck.popped::after { animation: none; }

/* streak: one long highlight */
.chunk::after { width: calc(var(--depth) * 3); height: calc(var(--depth) * .8); top: calc(var(--depth) * 1.3); left: calc(var(--depth) * 2.6); }
.chunk.odd::after { left: auto; right: calc(var(--depth) * 2.6); width: calc(var(--depth) * 3.9); }

/* spark: a dot and a smaller dot */
.chunk.spark::after {
  width: calc(var(--depth) * 1.9); height: calc(var(--depth) * .95); border-radius: 0; background:
    radial-gradient(circle at calc(var(--depth) * .475) 50%, #fff calc(var(--depth) * .46), transparent calc(var(--depth) * .48)),
    radial-gradient(circle at calc(var(--depth) * 1.6) 50%, #fff calc(var(--depth) * .24), transparent calc(var(--depth) * .26));
}
.chunk.spark.odd::after { scale: -1 1; }

/* twin: two short lines */
.chunk.twin::after {
  width: calc(var(--depth) * 2.4); height: calc(var(--depth) * 1.4); border-radius: 0; background:
    linear-gradient(#fff, #fff) 0 0 / 100% calc(var(--depth) * .5) no-repeat,
    linear-gradient(#fff, #fff) 0 100% / 46% calc(var(--depth) * .5) no-repeat;
}
.chunk.twin.odd::after { scale: -1 1; width: calc(var(--depth) * 3.1); }

/* arc: a highlight hugging the curve (inside the face, not an edge) */
.chunk.arc::after {
  inset: calc(var(--depth) * 1.1); width: auto; height: auto;
  background: none; border-radius: 50%;
  border: calc(var(--depth) * .6) solid transparent; border-top-color: #fff;
  rotate: -40deg; clip-path: polygon(0 0, 62% 0, 50% 50%);
}
.chunk.arc.odd::after { rotate: 40deg; clip-path: polygon(38% 0, 100% 0, 50% 50%); }

.chunk.plain::after { display: none; }

/* ---------- Motion ---------- */

.js .pi { opacity: 0; }
.in .pi, .pi.in { animation: popin .8s var(--pop) both; }
.d1 { animation-delay: 50ms !important; }
.d2 { animation-delay: 110ms !important; }
.d3 { animation-delay: 170ms !important; }
.d4 { animation-delay: 230ms !important; }
.d5 { animation-delay: 300ms !important; }
@keyframes popin { from { opacity: 0; scale: .55; } to { opacity: 1; scale: 1; } }

/* Only ever on a wrapper: an element can run one animation, and chunks run burst. */
.float { animation: float 2.6s ease-in-out infinite alternate; max-width: 100%; }
@keyframes float { from { translate: 0 5px; } to { translate: 0 -5px; } }

.bounce { animation: bounce .33s var(--burst); }
@keyframes bounce { 40% { scale: 1.18; } }

.wiggle { animation: wiggle .5s ease-out; }
@keyframes wiggle { 18% { rotate: -3deg; } 36% { rotate: 3deg; } 56% { rotate: -1.5deg; } 76% { rotate: 1.5deg; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .in .pi, .pi.in { animation: fade .2s ease-out both; }
  .float { animation: none; }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
}

/* ---------- Shell ---------- */

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 var(--pad); }

.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 900; text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 40px; height: 40px; border-radius: 9px; }
.bar-end { display: flex; align-items: center; gap: 12px; }
@media (max-width: 480px) { .bar-end .chip { display: none; } }

/* The theme toggle: PopToggle. Track is a chunk, knob slides with snap. On is dark. */
.toggle { --depth: var(--depth-toggle); width: 84px; height: 48px; padding: 0; }
.toggle[aria-checked="true"] { --face: var(--g-face); --side: var(--g-side); }
.knob {
  position: absolute; z-index: 1; left: 6px; top: 6px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink);
  transition: translate .39s var(--snap), background-color .3s ease;
}
.toggle[aria-checked="true"] .knob { translate: 36px 0; background: var(--on-pop); }
.knob svg { grid-area: 1 / 1; width: 22px; height: 22px; fill: var(--b-face); transition: opacity .2s ease, rotate .39s var(--snap), scale .39s var(--snap); }
.knob .moon, .toggle[aria-checked="true"] .sun { opacity: 0; rotate: -90deg; scale: .4; }
.toggle[aria-checked="true"] .moon { opacity: 1; rotate: 0deg; scale: 1; }
html:not(.js) .toggle { display: none; }

.foot { padding-top: 64px; padding-bottom: 48px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 12px 10px; }
.foot .label { margin-top: 28px; display: block; }

/* ---------- Scenes (the home page) ---------- */

.scene { padding: 64px 0; }
.scene:first-of-type { padding-top: 32px; }
.scene-grid { display: grid; gap: 44px; align-items: center; }
.copy { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.stage { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; }
.stage > .pi { display: flex; flex-direction: column; align-items: center; width: 100%; }

@media (min-width: 920px) {
  .scene { padding: 100px 0; min-height: 86vh; display: flex; align-items: center; }
  .scene > .wrap { width: 100%; }
  .scene-grid { grid-template-columns: 1.05fr 0.95fr; gap: 72px; }
  .scene-grid.flip > .copy { order: 2; }
}

.cta-row { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; width: 100%; margin-top: 14px; }
.center { text-align: center; align-items: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* The meter: a glass tank on a chunky base. The liquid is drawn by pop.js with the
   same wave as PopMeter's WaveShape, in a 150 x 300 frame. */
.meter {
  --depth: var(--depth-hero);
  --liquid: var(--t-face); --side: var(--t-side);
  width: clamp(140px, 19vw, 190px); aspect-ratio: 1 / 2; padding: 0;
  background-color: var(--paper);
  background-image: linear-gradient(color-mix(in srgb, var(--liquid) 16%, transparent), color-mix(in srgb, var(--liquid) 16%, transparent));
}
.meter.over { --liquid: var(--g-face); --side: var(--g-side); }
.meter svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.meter .back { fill: var(--liquid); opacity: .45; transition: fill .3s ease; }
.meter .front { fill: var(--liquid); transition: fill .3s ease; }
.meter pattern circle { fill: #fff; fill-opacity: .2; }
.meter-streak {
  position: absolute; top: 16%; left: 15%; width: 9%; height: 28%;
  background: #fff; border-radius: 999px; opacity: .42; pointer-events: none;
}
.meter.popped .meter-streak { animation: glint .46s ease-in; }

/* The shield: what a locked app shows. */
.phone {
  width: min(100%, 330px); padding: 36px 26px 28px; border-radius: 48px;
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  background: var(--q-face); box-shadow: 0 var(--depth-hero) 0 var(--q-side); margin-bottom: var(--depth-hero);
}
.lock { --depth: var(--depth-hero); width: 124px; height: 124px; margin-bottom: 18px; cursor: default; }
.lock svg { width: 54px; height: 54px; fill: var(--on-pop); }
.phone h3 { font-size: 40px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.phone p { color: var(--ink-soft); min-height: 1.5em; }
.phone .btn { margin-top: 14px; font-size: 20px; }

/* The setup lock. */
.setup { display: flex; flex-direction: column; align-items: center; gap: 12px; width: min(100%, 400px); }
.setup-value { font-size: clamp(104px, 14vw, 128px); font-weight: 900; line-height: .9; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.pair { display: flex; gap: 24px; margin: 8px 0 12px; }
.clock { font-variant-numeric: tabular-nums; }
.clock svg { width: 18px; height: 18px; fill: currentColor; }

/* The numbers. */
.counter { text-align: center; font-size: clamp(92px, 15vw, 160px); font-weight: 900; line-height: .9; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.counter .unit { display: block; font-size: 22px; font-weight: 700; letter-spacing: 0; text-shadow: none; margin-top: 16px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 10px; max-width: 380px; }

/* The card. */
.card {
  --depth: var(--depth-hero);
  /* Sized against the viewport, not the parent: the float wrapper is a flex item whose
     min-width would otherwise hold it at 340 on a phone. */
  width: min(340px, calc(100vw - 2 * var(--pad))); height: 272px; padding: 26px; border-radius: 34px;
  flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 4px;
  white-space: normal; text-align: left;
}
.card .label { color: rgb(23 20 28 / .7); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card .big { font-size: 80px; font-weight: 900; line-height: 1; letter-spacing: -0.03em; }
.card .unit { font-size: 22px; font-weight: 700; }
.card .meta { margin-top: auto; font-size: 17px; font-weight: 600; opacity: .75; }

/* Promise rows: PopRow on the web. */
.stage > .rows.pi { display: grid; gap: 14px; width: 100%; max-width: 440px; align-items: stretch; }
.row {
  --depth: var(--depth-chip);
  min-height: 64px; padding: 14px 22px; border-radius: 28px; white-space: normal;
  justify-content: space-between; gap: 14px; text-align: left; font-size: 18px; line-height: 1.25;
}
.row .go { font-size: 22px; font-weight: 900; }

/* ---------- Documents (privacy, terms, deletion, support) ---------- */

.doc { max-width: 760px; margin: 0 auto; padding: 36px var(--pad) 0; }
.doc-head { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; margin-bottom: 36px; }

.toc { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 14px; margin: 0 -2px 28px; scrollbar-width: none; }
.toc::-webkit-scrollbar { display: none; }
.toc > * { flex: none; }

.summary {
  border-radius: 34px; padding: 28px; margin-bottom: 44px;
  background: var(--q-face); box-shadow: 0 var(--depth-hero) 0 var(--q-side);
}
.summary .label { display: block; margin-bottom: 12px; }
.summary ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; }
.summary li { font-size: 18px; }

/* Deviation from PopType.body: long legal prose runs at 500, because semibold at essay
   length reads as shouting. Headings, labels and chunks keep the kit's weights. */
.prose { font-weight: 500; font-size: 17px; line-height: 1.65; }
.prose h2 { font-size: 30px; line-height: 1.1; margin: 56px 0 14px; scroll-margin-top: 24px; letter-spacing: -0.01em; }
.prose h3 { font-size: 20px; font-weight: 800; margin: 28px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.prose strong { font-weight: 800; }
.prose a { text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--t-face); }
.prose code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .88em; background: var(--q-face); padding: 2px 7px; border-radius: 8px; }

.table-scroll { overflow-x: auto; margin: 0 0 18px; }
.prose table { border-collapse: separate; border-spacing: 0 8px; width: 100%; min-width: 560px; font-size: 15.5px; line-height: 1.45; }
.prose th { text-align: left; font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-soft); padding: 0 14px; }
.prose td { background: var(--q-face); padding: 14px; vertical-align: top; }
.prose td:first-child { border-radius: 20px 0 0 20px; font-weight: 800; white-space: nowrap; }
.prose td:last-child { border-radius: 0 20px 20px 0; }

.steps { list-style: none; padding: 0 !important; display: grid; gap: 16px; }
.steps > li {
  counter-increment: step; position: relative; margin: 0 !important;
  padding: 22px 24px 22px 84px; border-radius: 28px;
  background: var(--q-face); box-shadow: 0 var(--depth-chip) 0 var(--q-side);
}
.steps > li::before {
  content: counter(step); position: absolute; left: 22px; top: 20px;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 900; font-size: 20px; color: var(--on-pop);
  background: var(--g-face); box-shadow: 0 var(--depth-chip) 0 var(--g-side);
}
.steps h3 { margin-top: 0 !important; }
@media (max-width: 560px) {
  .steps > li { padding: 80px 22px 22px; }
}

/* FAQ: each question is a quiet chunk that opens. */
.faq { display: grid; gap: 14px; }
.faq details { border-radius: 28px; background: var(--q-face); box-shadow: 0 var(--depth-chip) 0 var(--q-side); margin-bottom: var(--depth-chip); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 64px 20px 24px; position: relative;
  font-size: 19px; font-weight: 800; line-height: 1.3; -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--g-face); color: var(--on-pop); font-size: 22px; font-weight: 900;
  transition: rotate .39s var(--snap);
}
.faq details[open] summary::after { rotate: 45deg; }
.faq .answer { padding: 0 24px 22px; font-weight: 500; line-height: 1.6; }
.faq .answer p + p { margin-top: 10px; }

.fill-in { background: var(--b-face); color: var(--on-pop); border-radius: 8px; padding: 0 6px; font-weight: 800; }

.big404 { font-size: clamp(120px, 30vw, 240px); line-height: .9; letter-spacing: -0.04em; }
