/* Layout concept: an agent register. Mono index labels in a left rail, content on the right;
   offers read like register rows. Petrol accent for the practice, amber only for the 10 December deadline. */
:root {
  --paper: #F2F5F6;
  --surface: #FFFFFF;
  --ink: #0E1C27;
  --muted: #4A5B68;
  --line: #D3DCE1;
  --accent: #0B5D6E;
  --accent-ink: #FFFFFF;
  --accent-soft: #E0EDEF;
  --signal: #9E4F14;
  --signal-soft: #F7E8DA;
  --band: #0E1C27;
  --band-fg: #E6EDF0;
  --band-muted: #9FB0BB;
  --band-line: #26394A;
  --ok: #1E6B45;
  --warn: #9E6A08;
  --bad: #A23A2A;

  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.3rem + 1.6vw, 2.375rem);
  --step-4: clamp(2.25rem, 1.4rem + 3.4vw, 3.75rem);
  --wrap: 72rem;
  --radius: 6px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0B141B; --surface: #111E28; --ink: #E4EBEE; --muted: #9AABB6; --line: #233441;
    --accent: #5CB6C5; --accent-ink: #05212A; --accent-soft: #11313B;
    --signal: #EB9B57; --signal-soft: #2B1D11;
    --band: #050C11; --band-fg: #E4EBEE; --band-muted: #93A4AF; --band-line: #1E2F3B;
    --ok: #5FC08C; --warn: #E2B34E; --bad: #EE7B66;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0B141B; --surface: #111E28; --ink: #E4EBEE; --muted: #9AABB6; --line: #233441;
  --accent: #5CB6C5; --accent-ink: #05212A; --accent-soft: #11313B;
  --signal: #EB9B57; --signal-soft: #2B1D11;
  --band: #050C11; --band-fg: #E4EBEE; --band-muted: #93A4AF; --band-line: #1E2F3B;
  --ok: #5FC08C; --warn: #E2B34E; --bad: #EE7B66;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: var(--step-0); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--band); }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: var(--step-4); font-weight: 700; }
h2 { font-size: var(--step-3); font-weight: 650; }
h3 { font-size: var(--step-2); font-weight: 600; }
h4 { font-size: var(--step-1); font-weight: 600; }
p { margin: 0; max-width: 65ch; }
ul { margin: 0; padding-left: 1.2em; }
li + li { margin-top: 0.35em; }
.num { font-variant-numeric: tabular-nums; }

.wrap {
  max-width: var(--wrap); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

.label { font-family: var(--mono); font-size: var(--step--1); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.lede { font-size: var(--step-1); color: var(--muted); max-width: 60ch; }

/* Deadline ribbon */
.ribbon { background: var(--signal-soft); color: var(--ink); border-bottom: 1px solid var(--line); font-size: var(--step--1); }
.ribbon .wrap { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; align-items: center; padding-block: 0.5rem; }
.ribbon strong { color: var(--signal); font-family: var(--mono); font-weight: 600; letter-spacing: 0.02em; }
.ribbon a { color: var(--ink); font-weight: 600; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--band); color: var(--band-fg); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.85rem; }
.brand { display: flex; align-items: center; gap: 0.65rem; color: var(--band-fg); text-decoration: none; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--display); font-weight: 650; font-size: 1.08rem; letter-spacing: -0.01em; line-height: 1.1; }
.brand-name span { display: block; font-family: var(--mono); font-weight: 400; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--band-muted); }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a { color: var(--band-fg); text-decoration: none; font-size: 0.93rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--band-fg); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav a.adm { color: var(--signal); font-weight: 600; }
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem; justify-content: center;
  font-family: var(--body); font-weight: 600; font-size: 0.95rem; line-height: 1.2;
  padding: 0.75rem 1.15rem; border-radius: var(--radius); border: 1.5px solid var(--accent);
  background: var(--accent); color: var(--accent-ink); text-decoration: none; cursor: pointer;
}
.btn:hover { filter: brightness(1.08); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.signal { background: var(--signal); border-color: var(--signal); color: #fff; }
:root[data-theme="dark"] .btn.signal { color: #1A0E04; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn.signal { color: #1A0E04; } }
.nav .btn { padding: 0.55rem 0.95rem; color: var(--accent-ink); }
.menu { display: none; }
@media (max-width: 900px) {
  .nav { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid var(--band-line); padding: 0.45rem 0.75rem; border-radius: var(--radius); }
  .menu summary::-webkit-details-marker { display: none; }
  .menu nav { position: absolute; right: 0; top: calc(100% + 0.5rem); background: var(--band); border: 1px solid var(--band-line); border-radius: var(--radius); padding: 0.5rem; display: grid; min-width: 14rem; }
  .menu nav a { color: var(--band-fg); text-decoration: none; padding: 0.6rem 0.75rem; border-radius: 4px; }
  .menu nav a:hover { background: var(--band-line); }
  .menu nav a.adm { color: var(--signal); font-weight: 600; }
}

/* Sections */
section { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
section + section { border-top: 1px solid var(--line); }
.band { background: var(--band); color: var(--band-fg); border-top: 0 !important; }
.band + section { border-top: 0; }
.band .label { color: var(--band-muted); }
.band .lede, .band p { color: var(--band-fg); }
.band a { color: var(--band-fg); }
.ruled { display: grid; gap: 2rem; }
@media (min-width: 860px) { .ruled { grid-template-columns: 13rem minmax(0, 1fr); gap: 3rem; } }
.ruled > .label { padding-top: 0.5rem; border-top: 2px solid var(--accent); align-self: start; }
.band .ruled > .label { border-top-color: var(--signal); }
.stack { display: grid; gap: 1.25rem; min-width: 0; }
.stack-lg { display: grid; gap: 2rem; min-width: 0; }
.row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* Hero */
.hero { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 3.5rem; } }
.hero h1 em { font-style: normal; color: var(--accent); }

/* Register card (hero illustration made of real content) */
.register { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(14, 28, 39, 0.35); overflow: hidden; min-width: 0; }
.register-head { display: flex; justify-content: space-between; gap: 1rem; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.register-scroll { overflow-x: auto; }
.register table { width: 100%; border-collapse: collapse; font-size: 0.84rem; min-width: 28rem; }
.register th { text-align: left; font-family: var(--mono); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); padding: 0.55rem 1rem; border-bottom: 1px solid var(--line); }
.register td { padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.register tr:last-child td { border-bottom: 0; }
.register td small { display: block; color: var(--muted); font-size: 0.75rem; }
.register-foot { padding: 0.7rem 1rem; border-top: 1px solid var(--line); font-size: 0.78rem; color: var(--muted); background: var(--accent-soft); }
.chip { display: inline-block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.18rem 0.45rem; border-radius: 3px; border: 1px solid currentColor; white-space: nowrap; }
.chip.ok { color: var(--ok); } .chip.warn { color: var(--warn); } .chip.bad { color: var(--bad); }

/* Tables */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 36rem; }
table.data th, table.data td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data thead th { font-family: var(--mono); font-weight: 500; font-size: 0.74rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); background: var(--paper); }
table.data tbody tr:last-child td, table.data tbody tr:last-child th { border-bottom: 0; }
table.data tbody th { font-weight: 600; }
table.data td.gap { color: var(--bad); }

/* Journey */
.journey { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: step; }
.journey > li { margin: 0; display: grid; gap: 0.75rem; padding: 1.5rem 0; border-top: 1px solid var(--line); counter-increment: step; }
@media (min-width: 860px) { .journey > li { grid-template-columns: 4rem minmax(0, 15rem) minmax(0, 1fr); gap: 2rem; } }
.journey > li::before { content: counter(step, decimal-leading-zero); font-family: var(--mono); font-size: 0.85rem; color: var(--accent); padding-top: 0.25rem; }
.journey h3 { font-size: var(--step-2); }
.journey .q { color: var(--muted); font-size: 0.95rem; margin-top: 0.35rem; }
.offer-links { list-style: none; padding: 0; display: grid; gap: 0.5rem; }
.offer-links li { margin: 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-bottom: 0.5rem; border-bottom: 1px dashed var(--line); }
.offer-links li:last-child { border-bottom: 0; }
.offer-links .fee { font-family: var(--mono); font-size: 0.82rem; color: var(--muted); }

/* Points grid */
.points { display: grid; gap: 1.5rem 2.5rem; }
@media (min-width: 720px) { .points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.points > div { display: grid; gap: 0.4rem; align-content: start; padding-top: 1rem; border-top: 1px solid var(--line); }
.band .points > div { border-top-color: var(--band-line); }
.points h4 { font-size: var(--step-1); }
.points p { color: var(--muted); }
.band .points p { color: var(--band-muted); }

/* Countdown */
.countdown { display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; }
.countdown .days { font-family: var(--display); font-weight: 700; font-size: clamp(3.5rem, 2rem + 6vw, 6rem); line-height: 0.9; color: var(--signal); font-variant-numeric: tabular-nums; }
.countdown .unit { font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.band .countdown .unit { color: var(--band-muted); }

/* Callout */
.callout { border: 1px solid var(--line); border-left: 4px solid var(--signal); background: var(--surface); padding: 1.25rem 1.4rem; border-radius: 0 var(--radius) var(--radius) 0; display: grid; gap: 0.6rem; }
.callout.accent { border-left-color: var(--accent); }
.note { font-size: 0.86rem; color: var(--muted); }

/* Offer entries */
.offer-index { display: grid; gap: 0; border-top: 1px solid var(--line); }
.offer-index a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.25rem 1rem; padding: 0.95rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.offer-index a:hover .oi-name { color: var(--accent); }
.oi-name { font-family: var(--display); font-weight: 600; font-size: 1.12rem; }
.oi-tag { grid-column: 1; color: var(--muted); font-size: 0.92rem; }
.oi-fee { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-family: var(--mono); font-size: 0.82rem; color: var(--muted); text-align: right; }
.oi-step { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-right: 0.6rem; }

.offer { scroll-margin-top: 6rem; display: grid; gap: 1.75rem; }
.offer-head { display: grid; gap: 0.6rem; }
.offer-grid { display: grid; gap: 2rem; }
@media (min-width: 860px) { .offer-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 3rem; } }
.offer h3 { font-size: var(--step-1); font-family: var(--display); }
.offer .problem { color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.steps li { margin: 0; display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem; padding: 0.6rem 0; border-bottom: 1px dashed var(--line); font-size: 0.95rem; }
.steps li:last-child { border-bottom: 0; }
.steps b { font-family: var(--mono); font-weight: 500; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); padding-top: 0.15rem; }
.price { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; padding: 1rem 1.2rem; background: var(--accent-soft); border-radius: var(--radius); }
.price .amt { font-family: var(--display); font-weight: 700; font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.price .what { color: var(--muted); font-size: 0.9rem; max-width: 36ch; }
.who { font-size: 0.95rem; }

/* Self-check */
.check { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.check ol { list-style: none; margin: 0; padding: 0; counter-reset: q; }
.check li { margin: 0; counter-increment: q; display: grid; gap: 0.75rem; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .check li { grid-template-columns: 2.5rem minmax(0, 1fr) auto; align-items: center; } }
.check li::before { content: counter(q, decimal-leading-zero); font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }
.check fieldset { border: 0; padding: 0; margin: 0; display: flex; gap: 0.4rem; }
.check legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.check label.opt { position: relative; }
.check label.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.check label.opt span { display: inline-block; font-size: 0.82rem; font-weight: 600; padding: 0.4rem 0.75rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.check label.opt input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.check label.opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.result { padding: 1.25rem; display: grid; gap: 0.75rem; background: var(--paper); }
.meter { height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0%; background: var(--accent); transition: width 0.3s ease; }
.result h4 { font-size: 1.15rem; }

/* Forms */
form.form { display: grid; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-size: 0.85rem; font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; font-size: 0.95rem; padding: 0.7rem 0.8rem; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: var(--ink); width: 100%; }
.field textarea { min-height: 7rem; resize: vertical; }
.two { display: grid; gap: 1rem; }
@media (min-width: 640px) { .two { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; }
.form-status { font-size: 0.9rem; color: var(--accent); font-weight: 600; }

.grid-2 { display: grid; gap: 2.5rem; }
@media (min-width: 860px) { .grid-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; } }

.contact-list { list-style: none; padding: 0; display: grid; gap: 0.9rem; }
.contact-list li { margin: 0; display: grid; gap: 0.15rem; }
.contact-list .v { font-size: 1.05rem; font-weight: 600; user-select: all; }

.prose { display: grid; gap: 1rem; max-width: 46rem; }
.prose h2 { font-size: var(--step-2); margin-top: 1rem; }
.prose h3 { font-size: var(--step-1); margin-top: 0.5rem; }

/* Footer */
.site-footer { background: var(--band); color: var(--band-muted); font-size: 0.88rem; }
.site-footer .wrap { padding-block: 3rem 2.5rem; display: grid; gap: 2rem; }
@media (min-width: 860px) { .site-footer .wrap { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer a { color: var(--band-fg); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h4 { color: var(--band-fg); font-family: var(--mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.75rem; }
.site-footer ul { list-style: none; padding: 0; }
.legal { grid-column: 1 / -1; border-top: 1px solid var(--band-line); padding-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; font-size: 0.8rem; }

/* ---------- v2: interactive home ---------- */
.js [data-hide] { display: none !important; }
.hero-dark {
  background:
    radial-gradient(60rem 30rem at 85% 10%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 70%),
    radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--band-fg) 13%, transparent) 1px, transparent 1.5px) 0 0 / 22px 22px,
    var(--band);
  color: var(--band-fg); padding-block: clamp(3.5rem, 2rem + 5vw, 6.5rem); border-top: 0 !important;
}
.hero-dark .label { color: var(--band-muted); }
.hero-dark h1 { font-size: clamp(2.5rem, 1.5rem + 4.2vw, 4.4rem); }
.hero-dark h1 em { font-style: normal; color: var(--accent); }
:root:not([data-theme="dark"]) .hero-dark h1 em { color: #6CC3D1; }
.hero-dark .lede { color: var(--band-muted); }
.btn.ghost-light { background: transparent; border-color: color-mix(in srgb, var(--band-fg) 45%, transparent); color: var(--band-fg); }
.btn.ghost-light:hover { border-color: var(--band-fg); }
.hero-dark .register { box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7); color: var(--ink); }
.pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-right: 0.5rem; vertical-align: 1px; box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.register tr.flash td { animation: flash 1.6s ease; }
@keyframes flash { 0% { background: var(--signal-soft); } 100% { background: transparent; } }
.register-foot { transition: background 0.4s; }
.register-foot.alert { background: var(--signal-soft); color: var(--ink); }

.stats { background: var(--surface); border-top: 0 !important; padding-block: 2.5rem; border-bottom: 1px solid var(--line); }
.stat-row { display: grid; gap: 1.75rem; }
@media (min-width: 860px) { .stat-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; } }
.stat-row > div { display: grid; gap: 0.4rem; align-content: start; }
.stat-row .big { font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.2rem); line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.stat-row p { color: var(--muted); font-size: 0.95rem; }

.pchips, .rchips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pchip { position: relative; }
.pchip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pchip span, .rchip { display: inline-flex; align-items: center; gap: 0.4rem; font: inherit; font-size: 0.92rem; font-weight: 600; padding: 0.55rem 0.95rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.pchip span::before { content: "+"; font-family: var(--mono); color: var(--muted); }
.pchip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.pchip input:checked + span::before { content: "✓"; color: var(--accent-ink); }
.pchip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.pchip span:hover, .rchip:hover { border-color: var(--accent); }
.pcards { display: grid; gap: 1rem; }
@media (min-width: 720px) { .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; display: grid; gap: 0.6rem; align-content: start; animation: rise 0.35s ease both; }
@keyframes rise { from { transform: translateY(6px); } to { transform: none; } }
.pcard-top { display: flex; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
.pcard p { color: var(--muted); font-size: 0.95rem; }
.pcard .ask { color: var(--ink); border-top: 1px dashed var(--line); padding-top: 0.6rem; display: grid; gap: 0.2rem; }
.ptally { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; padding: 1.1rem 1.25rem; border-radius: var(--radius); background: var(--signal-soft); border-left: 4px solid var(--signal); }
.ptally strong { font-family: var(--display); font-size: 1.35rem; color: var(--signal); }
.ptally span { flex: 1 1 22rem; min-width: 0; }

.gap-grid { display: grid; gap: 0.6rem; }
@media (min-width: 760px) { .gap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gap-q { text-align: left; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.15rem; cursor: pointer; display: grid; gap: 0.6rem; align-content: start; }
.gap-q > span:first-child { font-family: var(--display); font-weight: 600; font-size: 1.1rem; display: flex; justify-content: space-between; gap: 1rem; }
.gap-q > span:first-child::after { content: "+"; font-family: var(--mono); color: var(--accent); }
.gap-q[aria-expanded="true"] { border-color: var(--accent); box-shadow: inset 4px 0 0 var(--accent); }
.gap-q[aria-expanded="true"] > span:first-child::after { content: "−"; }
.gap-a { display: none; grid-template-columns: auto 1fr; gap: 0.3rem 0.75rem; font-size: 0.95rem; color: var(--muted); }
.gap-q[aria-expanded="true"] .gap-a, html:not(.js) .gap-a { display: grid; }
.gap-a b { font-family: var(--mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-top: 0.2rem; }
.gap-a b.g { color: var(--bad); }

.rchip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.ranswer { display: grid; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); animation: rise 0.35s ease both; }
.ranswer h3 { font-size: var(--step-3); max-width: 28ch; }
.rstart { display: grid; gap: 0.3rem; padding: 1rem 1.15rem; background: var(--accent-soft); border-radius: var(--radius); }
.rstart strong { font-family: var(--display); font-size: 1.3rem; }
.rstart p { color: var(--muted); }

.tint { background: var(--accent-soft); }
.jtabs { display: flex; gap: 0.4rem; overflow-x: auto; padding-bottom: 0.25rem; }
.jtab { flex: 1 0 auto; font: inherit; font-weight: 600; text-align: left; display: grid; gap: 0.2rem; padding: 0.85rem 1rem; border: 0; border-top: 3px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; }
.jtab .jn { font-family: var(--mono); font-size: 0.75rem; font-weight: 500; }
.jtab[aria-selected="true"] { border-top-color: var(--accent); color: var(--ink); background: var(--surface); }
.jtab:hover { color: var(--ink); }
.jpanel { display: grid; gap: 2rem; background: var(--surface); border-radius: var(--radius); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); }
@media (min-width: 860px) { .jpanel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.jpanel h3 { font-size: var(--step-2); }
.jpanel + .jpanel { margin-top: 1rem; }
.js .jpanel + .jpanel { margin-top: 0; }
.price .amt { font-size: 1.2rem; }

[hidden] { display: none !important; }
.gap-grid { align-items: start; }

/* Portrait */
.portrait { display: block; width: 100%; max-width: 280px; aspect-ratio: 1; height: auto; object-fit: cover; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line), 0 20px 40px -24px rgba(14, 28, 39, 0.45); }
.portrait.sm { max-width: 120px; border-radius: 50%; box-shadow: 0 0 0 3px var(--band-line); }
.about-hero { display: grid; gap: 2rem; align-items: center; min-width: 0; }
@media (min-width: 720px) { .about-hero { grid-template-columns: 240px minmax(0, 1fr); gap: 2.5rem; } }
.cta-person { display: grid; gap: 1.5rem; align-items: center; min-width: 0; }
@media (min-width: 720px) { .cta-person { grid-template-columns: 120px minmax(0, 1fr); gap: 2rem; } }
