/* Shuru Calls. Palette and type are documented in DESIGN.md's spirit:
   a desk, black ink, and the two buttons on every call screen (pick up, hang up). */

:root {
  /* Light palette */
  --desk: #f3f4f1;       /* page background */
  --sheet: #ffffff;      /* the printed debrief */
  --ink: #121519;        /* text */
  --static: #575e67;     /* secondary text */
  --rule: #d6d9d2;       /* hairlines */
  --pickup: #0b7a43;     /* primary action, better lines */
  --pickup-hover: #08653a;
  --pickup-ink: #ffffff;
  --hangup: #c81f19;     /* objections, weak lines, the brand mark */

  /* The call card and closing band stay dark in both modes, like a phone mid-call. */
  --line-bg: #121519;
  --line-fg: #eef0ec;
  --line-dim: #c3c8ce;
  --line-muted: #959ea8;
  --line-rule: #2b3139;
  --line-pickup: #3bd47f;
  --line-pickup-hover: #5be096;
  --line-hangup: #ff5a4f;

  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Type scale */
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --step-2: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
  --step-3: clamp(2.125rem, 1.5rem + 2.8vw, 3.5rem);
  --step-4: clamp(3.5rem, 2rem + 7vw, 7rem);

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(80px, 11vw, 144px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --desk: #0e1114;
    --sheet: #161a1f;
    --ink: #eceeea;
    --static: #a3aab3;
    --rule: #2a3038;
    --pickup: #3bd47f;
    --pickup-hover: #5be096;
    --pickup-ink: #06130b;
    --hangup: #ff6a5f;

    --line-bg: #191e24;
    --line-rule: #313842;
  }
}

/* Base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--desk);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { margin: 0; font-weight: 800; font-stretch: 90%; line-height: 1.04; letter-spacing: -0.025em; text-wrap: balance; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
a { color: inherit; text-underline-offset: 3px; }
strong { font-weight: 700; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  padding: 10px 16px; background: var(--ink); color: var(--desk); font-weight: 700; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* Header */

.site-header { padding-block: 20px; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-stretch: 95%; font-size: 1.1875rem; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none;
}
.wordmark__mark {
  width: 34px; height: 34px; padding: 6px; flex: none;
  border-radius: 50%; background: var(--hangup); color: #fff;
}
.header-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 1.5px solid var(--ink); border-radius: 999px;
  font-weight: 600; font-size: 0.9375rem; text-decoration: none; white-space: nowrap;
}
.header-link:hover { background: var(--ink); color: var(--desk); }

/* Buttons and the waitlist form */

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 26px; border: 0; border-radius: 999px;
  background: var(--pickup); color: var(--pickup-ink);
  font: 700 var(--step-0)/1 var(--font-sans); letter-spacing: -0.005em;
  cursor: pointer; white-space: nowrap;
}
.button:hover { background: var(--pickup-hover); }
.button:active { transform: translateY(1px); }

.waitlist { max-width: 520px; scroll-margin-top: 24px; }
.waitlist__row { display: flex; flex-direction: column; gap: 10px; }
.waitlist__input {
  width: 100%; min-height: 54px; padding: 0 22px;
  border: 1.5px solid color-mix(in srgb, var(--ink) 30%, transparent); border-radius: 999px;
  background: var(--sheet); color: var(--ink);
  font: 400 var(--step-0)/1 var(--font-sans);
}
.waitlist__input::placeholder { color: var(--static); opacity: 1; }
.waitlist__input:hover { border-color: color-mix(in srgb, var(--ink) 55%, transparent); }
.waitlist__input:focus-visible { outline-offset: 2px; border-color: var(--ink); }
.waitlist__input[aria-invalid="true"] { border-color: var(--hangup); }
.waitlist__note, .waitlist__msg { margin-top: 12px; font-size: var(--step--1); color: var(--static); }
.waitlist__msg { color: var(--ink); font-weight: 500; }
.waitlist__msg--error { color: var(--hangup); }
.waitlist__done {
  display: flex; align-items: flex-start; gap: 14px; padding: 18px 22px;
  border: 1.5px solid var(--pickup); border-radius: 18px; color: var(--ink);
}
.waitlist__done svg {
  width: 30px; height: 30px; flex: none; padding: 5px;
  border-radius: 50%; background: var(--pickup); color: var(--pickup-ink);
}

@media (min-width: 520px) {
  .waitlist__row {
    flex-direction: row; gap: 6px; padding: 5px;
    border: 1.5px solid color-mix(in srgb, var(--ink) 30%, transparent); border-radius: 999px;
    background: var(--sheet);
  }
  .waitlist__row:focus-within { border-color: var(--ink); }
  .waitlist__input { flex: 1; min-width: 0; min-height: 48px; padding: 0 16px; border: 0; background: transparent; }
  .waitlist__input:focus-visible { outline: none; }
  .waitlist__row:has(.waitlist__input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
  .waitlist__row:has([aria-invalid="true"]) { border-color: var(--hangup); }
  .waitlist .button { min-height: 48px; }
}

/* Hero */

.hero { padding-block: clamp(24px, 5vw, 64px) var(--section); }
.hero__grid { display: grid; gap: 56px; align-items: center; }
/* The headline is sized to its column so it always sets as "Get hung up / on here first." */
.hero__copy { container-type: inline-size; }
.hero h1 { font-size: var(--step-4); font-size: clamp(3.25rem, 19cqi, 7rem); font-stretch: 82%; line-height: 0.98; letter-spacing: -0.04em; }
.nowrap { white-space: nowrap; }
.hero__lede { margin: 28px 0 36px; max-width: 34em; font-size: var(--step-1); line-height: 1.55; color: var(--static); }

@media (min-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: 72px; }
}

/* The call card: the one loud thing on the page. */

.call {
  margin: 0; padding: 22px 24px 20px;
  background: var(--line-bg); color: var(--line-fg);
  border: 1px solid var(--line-rule); border-radius: 30px;
  --ink: var(--line-fg);
}
.call__bar {
  display: flex; justify-content: space-between; align-items: center;
  font: 500 var(--step--1)/1 var(--font-mono); color: var(--line-muted);
}
.call__status { display: inline-flex; align-items: center; gap: 9px; }
.call__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-hangup); }
.call__timer { font-variant-numeric: tabular-nums; color: var(--line-fg); }
.call__who { padding: 26px 0 20px; border-bottom: 1px solid var(--line-rule); }
.call__name { font-size: var(--step-2); font-weight: 800; font-stretch: 90%; letter-spacing: -0.02em; line-height: 1.1; }
.call__role { margin-top: 4px; color: var(--line-dim); }
.call__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 14px;
  font: 400 var(--step--1)/1.4 var(--font-mono); color: var(--line-muted);
}

.call__transcript { list-style: none; margin: 0; padding: 20px 0 4px; display: grid; gap: 14px; }
.line { display: grid; grid-template-columns: 4.75rem minmax(0, 1fr); gap: 12px; }
.line__who { font: 500 0.8125rem/1.55 var(--font-mono); color: var(--line-fg); padding-top: 1px; }
.line__who time { display: block; color: var(--line-muted); font-weight: 400; }
.line p { line-height: 1.5; }
.line--you p { color: var(--line-dim); }
.line--them .line__who { color: var(--line-pickup); }
.line--them p { font-weight: 600; }
@media (max-width: 479px) {
  .call { padding-inline: 20px; border-radius: 26px; }
  .line { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .line__who time { display: inline; margin-left: 8px; }
}
.line mark {
  background: none; color: inherit;
  text-decoration: underline wavy var(--line-hangup); text-decoration-thickness: 1.5px; text-underline-offset: 4px;
}

.call__ended {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px;
  margin-top: 18px; padding: 12px 16px; border-radius: 14px;
  background: color-mix(in srgb, var(--line-hangup) 14%, transparent);
  font: 500 var(--step--1)/1.4 var(--font-mono); color: var(--line-hangup);
}
.call__ended a { color: var(--line-fg); font-family: var(--font-sans); font-weight: 600; font-size: 0.9375rem; }
.call__ended a:hover { color: var(--line-pickup); }
.call__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

.call__foot { display: flex; align-items: center; gap: 20px; margin-top: 18px; }
.wave { display: flex; align-items: center; justify-content: space-between; flex: 1; height: 32px; }
.wave span {
  width: 3px; height: 100%; border-radius: 2px;
  background: var(--line-muted); opacity: 0.55; transform: scaleY(0.1);
}
.call__hangup {
  display: grid; place-items: center; width: 52px; height: 52px; flex: none;
  border-radius: 50%; background: var(--line-hangup); color: #fff;
}
.call__hangup svg { width: 28px; height: 28px; }

/* Playback, driven by call.js. Without JS or with reduced motion, the card shows the finished call. */
.call [data-at] { transition: opacity 0.4s ease, transform 0.4s ease; }
.call [data-at].is-waiting { opacity: 0; transform: translateY(6px); }
.call.is-calling .call__dot { background: var(--line-muted); animation: pulse 1.4s ease-in-out infinite; }
.call.is-live .call__dot { background: var(--line-pickup); animation: pulse 1.4s ease-in-out infinite; }
.call.is-live .wave span { opacity: 1; animation: wave 0.8s ease-in-out infinite alternate; }
.call.is-live.is-them .wave span { background: var(--line-pickup); }
.call.is-live.is-you .wave span { background: var(--line-fg); }
.call.is-live .wave span:nth-child(3n) { animation-delay: -0.2s; }
.call.is-live .wave span:nth-child(3n + 1) { animation-delay: -0.55s; animation-duration: 0.65s; }
.call.is-live .wave span:nth-child(4n) { animation-delay: -0.35s; animation-duration: 0.95s; }
.call.is-live .wave span:nth-child(5n) { animation-delay: -0.7s; animation-duration: 0.7s; }
.call.is-live .wave span:nth-child(7n) { animation-delay: -0.1s; animation-duration: 0.5s; }

@keyframes wave { from { transform: scaleY(0.12); } to { transform: scaleY(0.9); } }
@keyframes pulse { 50% { opacity: 0.35; } }

/* Sections */

.section { padding-block: var(--section) 0; }

.split { display: grid; gap: 28px 64px; }
.split__lede { font-size: var(--step-1); line-height: 1.5; max-width: 32em; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .split > h2 { max-width: 13ch; }
}

.points { list-style: none; margin: 32px 0 0; padding: 0; }
.points li { padding: 18px 0; border-top: 1px solid var(--rule); color: var(--static); max-width: 36em; }
.points li:last-child { border-bottom: 1px solid var(--rule); }
.points strong { color: var(--ink); }

.section-head { display: grid; gap: 16px 64px; align-items: end; margin-bottom: 40px; }
.section-head p { color: var(--static); max-width: 34em; }
@media (min-width: 900px) { .section-head { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }

/* How it works: a real sequence, drawn like the progress line of a call. */

.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 36px; counter-reset: step; }
.steps li { position: relative; padding-left: 64px; counter-increment: step; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -6px; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--ink); background: var(--desk);
  font: 500 1rem/1 var(--font-mono);
}
.steps li::after {
  content: ""; position: absolute; left: 20px; top: 42px; bottom: -36px; border-left: 1.5px dashed var(--rule);
}
.steps li:last-child::after { display: none; }
.steps li:last-child::before { background: var(--ink); color: var(--desk); }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--static); max-width: 26em; }

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 56px; }
  .steps li { padding: 66px 0 0; }
  .steps li::before { top: 0; }
  .steps li::after { left: 54px; right: -22px; top: 21px; bottom: auto; border-left: 0; border-top: 1.5px dashed var(--rule); }
}

/* The debrief sheet */

.split--debrief { align-items: start; }
.split--debrief h2 { max-width: 14ch; margin-bottom: 24px; }
@media (min-width: 900px) { .split--debrief { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }

.sheet { background: var(--sheet); border: 1px solid var(--rule); border-radius: 6px; padding: clamp(20px, 3vw, 32px); }
.sheet__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; padding-bottom: 18px; border-bottom: 2px solid var(--ink); }
.sheet__head h3 { font-size: var(--step-1); }
.sheet__head p { font: 400 var(--step--1)/1.4 var(--font-mono); color: var(--static); }

.scores { margin: 0; }
.score {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px;
  padding: 16px 0; border-bottom: 1px solid var(--rule);
}
.score dt { font-weight: 700; }
.score dd { margin: 0; }
.score__value { display: flex; align-items: center; gap: 12px; font: 500 var(--step--1)/1 var(--font-mono); font-variant-numeric: tabular-nums; }
.score__why { grid-column: 1 / -1; color: var(--static); font-size: 0.9375rem; }
.meter { display: flex; gap: 3px; }
.meter span { width: 7px; height: 16px; border-radius: 2px; background: var(--rule); }
.meter .on { background: var(--ink); }

.moment { margin-top: 24px; display: grid; gap: 12px; }
.moment__label { font: 500 var(--step--1)/1.4 var(--font-mono); color: var(--hangup); }
.moment__line { display: grid; grid-template-columns: 5.25rem minmax(0, 1fr); gap: 12px; line-height: 1.5; color: var(--static); }
.moment__who { font: 400 0.8125rem/1.85 var(--font-mono); }
.moment del { color: var(--static); text-decoration-color: var(--hangup); text-decoration-thickness: 1.5px; }
/* The better line is marked up the way a coach would: highlighted. */
.moment ins {
  text-decoration: none; font-weight: 600; color: var(--ink);
  background: color-mix(in srgb, var(--pickup) 16%, transparent);
  padding: 2px 5px; margin-left: -5px; border-radius: 3px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* Scenarios, as a call list */

.dial-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.dial {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 24px;
  padding: 22px 0; border-bottom: 1px solid var(--rule);
}
.dial > :not(.dial__who, .dial__level) { grid-column: 1 / -1; }
.dial__who h3 { font-size: var(--step-1); }
.dial__who p { color: var(--static); font-size: 0.9375rem; }
.dial__product { font-weight: 500; }
.dial__label { display: block; font: 400 0.8125rem/1.6 var(--font-mono); color: var(--static); }
.dial__note { color: var(--static); max-width: 30em; }
.dial-more { margin-top: 28px; }
.dial-more .header-link { color: var(--ink); white-space: normal; }

.signal { display: inline-flex; align-items: center; gap: 8px; font: 500 var(--step--1)/1 var(--font-mono); white-space: nowrap; }
.signal svg { width: 17px; height: 14px; fill: currentColor; }
.signal .off { opacity: 0.25; }
.dial__level { grid-column: 2; grid-row: 1; padding-top: 6px; }

@media (min-width: 700px) {
  .dial { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 7.5rem; align-items: start; gap: 6px 24px; }
  .dial > :not(.dial__who, .dial__level) { grid-column: 2; }
  .dial__level { grid-column: 3; justify-self: end; }
  .dial__product { grid-row: 1; }
}
@media (min-width: 1040px) {
  .dial { grid-template-columns: minmax(0, 3fr) minmax(0, 2.6fr) minmax(0, 4fr) 7.5rem; }
  .dial > .dial__note { grid-column: 3; grid-row: 1; padding-top: 4px; }
  .dial__level { grid-column: 4; }
}

/* Practice: pick a prospect */

.practice { padding-block: clamp(16px, 4vw, 48px) clamp(64px, 9vw, 112px); }
.practice__head { display: grid; gap: 12px; margin-bottom: 32px; }
.practice__head h1 { font-size: var(--step-3); font-stretch: 85%; line-height: 1.02; letter-spacing: -0.03em; }
.practice__head p { color: var(--static); max-width: 34em; }
.practice__head .header-link { margin-top: 12px; color: var(--ink); }

.pick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 32px; }
.pick { display: flex; flex-direction: column; gap: 14px; padding: 24px 0 28px; border-top: 2px solid var(--ink); }
.pick__top { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.pick__who h2 { font-size: var(--step-2); font-stretch: 90%; letter-spacing: -0.02em; line-height: 1.15; }
.pick__who p { color: var(--static); font-size: 0.9375rem; }
.pick__level { padding-top: 6px; }
.pick__selling { font-weight: 500; }
.pick__start { width: 100%; margin-top: auto; text-decoration: none; }
@media (min-width: 720px) { .pick-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pick-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Practice: the typed call page */

.call-page { max-width: 680px; }
.call--live .call__who { padding-top: 6px; }
.call--live .call__transcript:empty { padding: 0; }
.call--live [hidden] { display: none; }
.call--live .call__who { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: start; }
.call--live .call__who > :not(.call__sound) { grid-column: 1; }
.call--live .call__who > .call__meta { grid-column: 1 / -1; }
.call__sound {
  grid-column: 2; grid-row: 1 / span 2; display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 14px 0 10px; cursor: pointer;
  border: 1px solid var(--line-rule); border-radius: 999px; background: transparent; color: var(--line-fg);
  font: 500 var(--step--1)/1 var(--font-mono); white-space: nowrap;
}
.call__sound svg { width: 20px; height: 20px; flex: none; }
.call__sound:hover { border-color: var(--line-fg); }
.call__sound:focus-visible { outline: 3px solid var(--line-pickup); outline-offset: 2px; }
.call__sound[aria-pressed="false"] { color: var(--line-muted); }
.say { display: grid; gap: 10px; margin-top: 20px; }
.say__label { font: 500 var(--step--1)/1 var(--font-mono); color: var(--line-muted); }
.say__input {
  width: 100%; min-height: 64px; padding: 14px 16px; resize: vertical;
  border: 1px solid var(--line-rule); border-radius: 16px;
  background: color-mix(in srgb, var(--line-fg) 6%, transparent); color: var(--line-fg);
  font: 400 var(--step-0)/1.45 var(--font-sans);
}
.say__input::placeholder { color: var(--line-muted); }
.say__input:focus-visible { outline: 3px solid var(--line-pickup); outline-offset: 2px; }
.say__error { color: var(--line-hangup); font-size: 0.9375rem; }
.say__row { display: flex; align-items: center; gap: 10px; }
.say__row .say__input { flex: 1; min-width: 0; }
.say__mic {
  flex: none; display: grid; place-items: center; width: 64px; height: 64px;
  border: 0; border-radius: 50%; background: var(--line-pickup); color: #06130b; cursor: pointer;
}
.say__mic svg { width: 28px; height: 28px; }
.say__mic:hover { background: var(--line-pickup-hover); }
.say__mic:focus-visible { outline: 3px solid var(--line-fg); outline-offset: 3px; }
.say__mic.is-listening { background: var(--line-fg); color: var(--line-bg); box-shadow: 0 0 0 4px color-mix(in srgb, var(--line-pickup) 50%, transparent); }
.say__mic:disabled { opacity: 0.45; cursor: not-allowed; }
.say__status { color: var(--line-pickup); font: 500 var(--step--1)/1.3 var(--font-mono); }
.say__mic.is-listening { animation: mic-ring 1.4s ease-in-out infinite; }
@keyframes mic-ring { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--line-pickup) 25%, transparent); } }
.say__send { width: 100%; min-height: 60px; background: var(--line-pickup); color: #06130b; font-size: var(--step-1); }
.say__send:hover { background: var(--line-pickup-hover); }
.say__send:focus-visible { outline-color: var(--line-fg); }
.say__send:disabled { opacity: 0.7; cursor: progress; }
.say__actions { display: flex; gap: 10px; }
.say__actions .say__send { flex: 1; width: auto; }
.say__end { flex: none; min-height: 60px; padding-inline: 22px; background: var(--line-hangup); color: #1c0503; }
.say__end:hover { background: #ff7a71; }
.say__end:focus-visible { outline-color: var(--line-fg); }
.say.is-over .say__input, .say.is-over .say__send { opacity: 0.45; cursor: not-allowed; }
.call__off {
  margin-top: 20px; padding: 14px 16px; border-radius: 14px;
  background: color-mix(in srgb, var(--line-fg) 8%, transparent); color: var(--line-fg); font-weight: 600;
}

/* FAQ */

.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none;
  font-weight: 700; font-size: var(--step-1); letter-spacing: -0.01em; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background: linear-gradient(currentColor 0 0) center / 100% 2px no-repeat,
              linear-gradient(currentColor 0 0) center / 2px 100% no-repeat;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--static); max-width: 38em; }

/* Closing band and footer: back on the phone. */

.closing {
  margin-top: var(--section); background: var(--line-bg); color: var(--line-fg);
  --ink: var(--line-fg); --static: var(--line-muted); --rule: var(--line-rule); --sheet: transparent;
  --pickup: var(--line-pickup); --pickup-hover: var(--line-pickup-hover); --pickup-ink: #06130b;
  --hangup: var(--line-hangup);
}
.closing__inner { display: grid; gap: 36px 64px; align-items: end; padding-block: var(--section) clamp(64px, 9vw, 112px); }
.closing h2 { font-size: var(--step-3); max-width: 17ch; }
@media (min-width: 980px) { .closing__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.site-footer__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px;
  padding-block: 28px 36px; border-top: 1px solid var(--line-rule);
  font-size: var(--step--1); color: var(--line-muted);
}
.wordmark--small { font-size: 1rem; color: var(--line-fg); }
.wordmark--small .wordmark__mark { width: 28px; height: 28px; padding: 5px; background: var(--line-hangup); }

/* Admin */

.container { max-width: 880px; margin: 0 auto; padding: 48px var(--gutter); }
.container h1 { font-size: var(--step-3); margin-bottom: 8px; }
.container > p { color: var(--static); margin-bottom: 24px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.admin-table th, .admin-table td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); overflow-wrap: anywhere; }
.admin-table th { font: 500 var(--step--1)/1.4 var(--font-mono); color: var(--static); border-bottom: 2px solid var(--ink); }
.admin-table td:last-child { font-family: var(--font-mono); font-size: var(--step--1); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
