/* Living room at night: teal velvet couch, a saffron lamp, plum shadows, persimmon for the one loud thing.
   System fonts only (the rounded system face is the display voice). No inline styles anywhere (the CSP forbids them). */

:root {
  color-scheme: light dark;
  --velvet: #0e4b4f;
  --velvet-deep: #0a3a3e;
  --velvet-soft: #197075;
  --saffron: #f2b33d;
  --saffron-deep: #b97f12;
  --persimmon: #e8553d;
  --persimmon-deep: #b3341f;
  --plum: #2a1a33;
  --plum-lift: #46305a;
  --linen: #f6f1ea;

  --bg: #f4f2f7;
  --surface: #ffffff;
  --fg: #2a1a33;
  --muted: #5e5368;
  --line: #d9d2e0;
  --link: #0e4b4f;
  --focus: #b4580a;
  --stage: #2a1a33;

  --font-display: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Hiragino Maru Gothic ProN", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gutter: 16px;
  --measure: 38rem;
  --wide: 70rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 700px) {
  :root { --gutter: 32px; }
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #17101e;
    --surface: #221830;
    --fg: #f2ecf6;
    --muted: #b9aec4;
    --line: #3b2e49;
    --link: #7fd4d0;
    --focus: #f2b33d;
    --stage: #2f1e3b;
  }
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

[hidden] { display: none !important; }

img, svg { max-width: 100%; }

a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

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

.offscreen { position: absolute; left: -9999px; top: 0; }

.skip {
  position: absolute; left: var(--gutter); top: -4rem;
  background: var(--saffron); color: var(--plum);
  padding: 0.6rem 1rem; border-radius: 10px; font-weight: 700; z-index: 30;
}
.skip:focus { top: 0.75rem; }

.wrap { width: 100%; max-width: calc(var(--wide) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* Type scale: 1.25 steps from the body size, display set heavy and tight. */
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 7.2vw, 6rem); letter-spacing: -0.035em; line-height: 0.98; }
h2 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); letter-spacing: -0.03em; line-height: 1; }
h3 { font-size: 1.35rem; line-height: 1.2; }
p { margin: 0 0 1em; max-width: var(--measure); }
.lead { font-size: 1.25rem; line-height: 1.5; }

code, kbd, .mono { font-family: var(--font-mono); font-size: 0.92em; }
code { background: color-mix(in srgb, var(--fg) 8%, transparent); padding: 0.1em 0.35em; border-radius: 6px; overflow-wrap: anywhere; }

/* Keycap: used for button names. */
.cap {
  display: inline-block;
  min-width: 2.2em;
  padding: 0.12em 0.6em 0.2em;
  background: var(--cap-bg, var(--surface));
  color: var(--cap-fg, inherit);
  border: 1px solid var(--cap-line, var(--line));
  border-bottom-width: 3px;
  border-radius: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95em;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; column-gap: 0.3em;
  min-height: 3.1rem; padding: 0.55rem 1.5rem;
  border: 2px solid transparent; border-radius: 16px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: transform 140ms var(--ease-out), background-color 140ms ease, box-shadow 140ms var(--ease-out);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(2px); }
.btn-big { min-height: 3.75rem; padding: 0.7rem 1.9rem; font-size: 1.2rem; border-radius: 18px; }
.btn-sun { background: var(--saffron); color: var(--plum); box-shadow: 0 5px 0 var(--saffron-deep); }
.btn-sun:hover { background: #f7c35f; box-shadow: 0 7px 0 var(--saffron-deep); }
.btn-sun:active { box-shadow: 0 2px 0 var(--saffron-deep); }
.btn-line-light { border-color: rgba(246, 241, 234, 0.7); color: var(--linen); }
.btn-line-light:hover { background: rgba(246, 241, 234, 0.12); }
.btn-plum { background: var(--plum); color: var(--linen); box-shadow: 0 5px 0 #000; }
.btn-plum:hover { background: #3d2a4a; }
.btn-plum:active { box-shadow: 0 2px 0 #000; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn-plum { background: var(--linen); color: var(--plum); box-shadow: 0 5px 0 #8c8576; }
  :root:not([data-theme="light"]) .btn-plum:hover { background: #fff; }
}
.btn-line-plum { border-color: var(--plum); color: var(--plum); }
.btn-line-plum:hover { background: rgba(42, 26, 51, 0.1); }
.btn-small { min-height: 2.5rem; padding: 0.3rem 1rem; font-size: 1rem; border-radius: 11px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero .btn:focus-visible, .price .btn:focus-visible, .site-foot a:focus-visible, .mine :focus-visible, .t-point :focus-visible, .t-keys :focus-visible, .t-media :focus-visible { outline-color: var(--saffron); }
.price .btn:focus-visible, .price a:focus-visible, .t-talk :focus-visible { outline-color: var(--plum); }

/* Header: sticky velvet bar that melts into the hero. */
.top { background: var(--velvet); color: var(--linen); position: sticky; top: 0; z-index: 20; }
.top .bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.mark { display: inline-flex; align-items: center; gap: 0.6rem; color: inherit; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; }
.mark img { width: 2rem; height: 2rem; display: block; }
.top nav { display: flex; align-items: center; gap: 1.6rem; }
.top nav a { color: inherit; text-decoration: none; font-weight: 600; padding: 0.5rem 0; }
.top nav a:hover { text-decoration: underline; text-underline-offset: 0.3em; }
.top nav a.nav-cta {
  padding: 0.45rem 1.05rem; border-radius: 999px; background: var(--saffron); color: var(--plum);
  font-family: var(--font-display); font-weight: 800; transition: background-color 140ms ease, transform 140ms var(--ease-out);
}
.top nav a.nav-cta:hover { background: #f7c35f; text-decoration: none; transform: translateY(-1px); }
.top :focus-visible { outline-color: var(--saffron); }
@media (max-width: 820px) { .top nav .opt { display: none; } }
@media (max-width: 520px) { .top nav { gap: 1.1rem; flex-shrink: 0; } .mark { font-size: 1.2rem; } }
/* Long brand names (CouchControl) collide with "Pricing" on a 375px phone; the hero has "See pricing" anyway. */
@media (max-width: 400px) { .top nav a:not(.nav-cta) { display: none; } }

/* Hero */
.hero { background: var(--velvet); color: var(--linen); padding-block: 1.5rem 0; overflow: hidden; position: relative; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(246, 241, 234, 0.2) 1.6px, transparent 1.8px);
  background-size: 30px 30px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 80%);
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}
.hero .grid { display: grid; gap: 1.5rem; align-items: center; }
.hero h1 { margin-bottom: 1.4rem; }
.hero .lead { color: #e9e2d6; max-width: 31rem; margin-bottom: 2rem; }
.hero .fine { color: #d3dcd8; font-size: 0.98rem; margin: 1.4rem 0 0; max-width: 30rem; }
.stage { position: relative; }
.stage::before {
  content: ""; position: absolute; left: 50%; top: 48%; width: 96%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; background: radial-gradient(circle, rgba(242, 179, 61, 0.36) 0%, rgba(242, 179, 61, 0.1) 46%, transparent 68%);
}
.scene { position: relative; display: block; width: 100%; height: auto; max-width: 42rem; margin-inline: auto; }
@media (min-width: 62rem) {
  .hero { padding-block: 3.5rem 0; }
  .hero .grid { grid-template-columns: 1.02fr 1fr; gap: 2rem; align-items: end; }
  .hero .copy { padding-bottom: 6rem; align-self: center; }
}
@media (max-width: 61.99rem) { .hero .copy { padding-top: 1.5rem; } }

/* The one moment: the dotted path from the stick to the pointer draws itself once. */
.tether-mask { stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .tether-mask { animation: draw 1.5s cubic-bezier(0.3, 0.7, 0.2, 1) 0.5s both; }
  .pointer { animation: appear 0.35s ease-out 1.8s both; }
  .stick-ring { animation: appear 0.35s ease-out 0.3s both; }
}
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }

/* Sections */
.band { padding-block: clamp(4rem, 9vw, 7rem); }
.head { margin-bottom: 2.5rem; }
.head p { margin: 1rem 0 0; color: var(--muted); font-size: 1.15rem; }

/* How it works */
.how { background: var(--surface); border-bottom: 1px solid var(--line); }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.4rem; counter-reset: none; }
.flow li { position: relative; }
.flow .n {
  display: grid; place-items: center; width: 4rem; height: 4rem; margin-bottom: 1.1rem; border-radius: 50%;
  background: var(--saffron); color: var(--plum); font-family: var(--font-display); font-weight: 800; font-size: 2rem; line-height: 1;
  box-shadow: 0 4px 0 var(--saffron-deep);
}
.flow h3 { margin-bottom: 0.5rem; font-size: 1.6rem; }
.flow p { margin: 0; color: var(--muted); }
@media (min-width: 52rem) {
  .flow { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
  .flow li:not(:last-child)::after {
    content: ""; position: absolute; top: 1.9rem; left: 5rem; right: -1.6rem; border-top: 5px dotted var(--velvet-soft); opacity: 0.55;
  }
}

/* Features: a bento with tiles of different weight, each its own colour. */
.features { padding-bottom: clamp(4rem, 8vw, 6rem); }
.bento { display: grid; gap: 1rem; }
.tile { border-radius: 24px; padding: 1.7rem 1.6rem 1.8rem; display: flex; flex-direction: column; gap: 0.7rem; border: 1px solid transparent; }
.tile h3 { font-size: 1.5rem; }
.tile p { margin: 0; max-width: 34rem; }
.tile p + p { margin-top: 0.4rem; }
.t-point { background: var(--velvet); color: var(--linen); border-radius: 34px; padding: 2.1rem 1.9rem 2.2rem; justify-content: space-between; gap: 1.2rem;
  --cap-bg: rgba(246, 241, 234, 0.12); --cap-line: rgba(246, 241, 234, 0.35); --cap-fg: var(--linen); }
.t-point h3 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); letter-spacing: -0.03em; line-height: 1; }
.t-point p { font-size: 1.2rem; color: #e4ddd0; }
.t-point .caps { margin: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.t-point .cap { font-size: 1.1rem; padding-inline: 0.8em; }
.t-talk { background: var(--saffron); color: var(--plum);
  --cap-bg: rgba(42, 26, 51, 0.1); --cap-line: rgba(42, 26, 51, 0.45); }
.t-keys { background: var(--plum); color: var(--linen); border-color: rgba(246, 241, 234, 0.1); }
.t-keys p { color: #ddd2e6; }
.t-layer { background: var(--surface); border-color: var(--line); }
.t-layer p { color: var(--muted); }
.t-media { background: var(--persimmon-deep); color: var(--linen); border-radius: 30px; }
.t-media p { color: #fbe9e4; }
.t-game { background: var(--surface); border-color: var(--line); border-radius: 30px; }
.t-game p { color: var(--muted); }
.t-hud { background: var(--velvet-soft); color: var(--linen); }
.t-hud p { color: #ecf4f2; }
.t-pad { background: var(--surface); border-color: var(--line); }
.t-pad p { color: var(--muted); }
.t-win { background: var(--plum); color: var(--linen); border-color: rgba(246, 241, 234, 0.1); }
.t-win p { color: #ddd2e6; }
@media (min-width: 40rem) { .bento { grid-template-columns: 1fr 1fr; } .t-point, .t-game { grid-column: 1 / -1; } .t-talk { grid-column: 1 / -1; } }
@media (min-width: 64rem) {
  .bento { grid-template-columns: repeat(6, 1fr); gap: 1.1rem; }
  .t-point { grid-column: span 4; min-height: 21rem; }
  .t-talk { grid-column: span 2; }
  .t-keys, .t-layer, .t-media { grid-column: span 2; }
  .t-game { grid-column: span 4; }
  .t-hud { grid-column: span 2; }
  .t-pad, .t-win { grid-column: span 3; }
}

/* Whole default map, tucked away until asked for. */
.fullmap { margin-top: 2.5rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fullmap .map { margin: 0.4rem 0 2rem; }
.map { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem 3rem; }
.map li { display: grid; grid-template-columns: 7.8rem 1fr; gap: 0.9rem; align-items: start; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.map .cap { justify-self: start; }
.map p { margin: 0; }
@media (min-width: 52rem) { .map { grid-template-columns: 1fr 1fr; } }
@media (max-width: 380px) { .map li { grid-template-columns: 1fr; gap: 0.4rem; } }

/* Controllers */
.controllers { background: var(--surface); border-block: 1px solid var(--line); }
.pads { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.pads li { display: grid; grid-template-columns: 1.6rem 1fr; gap: 0 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.pads .dot { width: 1.6rem; height: 1.6rem; border-radius: 50%; margin-top: 0.1rem; }
.pads h3 { margin-bottom: 0.3rem; }
.pads p { margin: 0; color: var(--muted); }
.d1 { background: var(--persimmon); }
.d2 { background: var(--saffron); }
.d3 { background: var(--velvet-soft); }
.d4 { background: var(--plum); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .d4 { background: var(--linen); } }
@media (min-width: 52rem) {
  .pads { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
}
@media (min-width: 64rem) {
  .pads { grid-template-columns: repeat(4, 1fr); column-gap: 2rem; border-top: 0; }
  .pads li { display: block; padding: 0; border-bottom: 0; }
  .pads .dot { width: 3rem; height: 3rem; margin: 0 0 1rem; box-shadow: 0 4px 0 rgba(42, 26, 51, 0.25); }
}
.legal-line { color: var(--muted); font-size: 0.92rem; margin-top: 1.6rem; }

/* Make it yours: the dark stage, one big controller with leader lines. */
.mine { background: var(--stage); color: var(--linen); padding-block: clamp(4.5rem, 10vw, 8rem); position: relative; overflow: hidden; isolation: isolate; }
.mine::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(246, 241, 234, 0.12) 1.6px, transparent 1.8px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 45%, #000 0%, transparent 70%);
}
.mine h2 { font-size: clamp(2.8rem, 8vw, 6rem); letter-spacing: -0.04em; }
.mine .head { margin-bottom: 1rem; }
.mine .lead { color: #ddd2e6; max-width: 38rem; margin: 1.2rem 0 0; }
.rig { margin: 1.5rem auto 3.5rem; max-width: 64rem; }
.pad-map { display: block; width: 100%; height: auto; }
.lbl .n { font-family: var(--font-display); font-weight: 800; font-size: 25px; fill: #f6f1ea; }
.lbl .d { font-family: var(--font-body); font-size: 19px; fill: #d4c8de; }
.lbl-l text { text-anchor: end; }
.lbl-r text { text-anchor: start; }
.rig-note { text-align: center; color: #cbbfd6; font-size: 0.95rem; margin: 0.4rem auto 0; }
.binds { margin: 0; }
.binds dt { font-family: var(--font-display); font-weight: 800; }
.binds dd { margin: 0; color: #ddd2e6; }
@media (min-width: 48rem) {
  .binds { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 47.99rem) {
  .rig { overflow: hidden; }
  .callouts { display: none; }
  .pad-map { width: 172%; max-width: none; margin-left: -36%; }
  .binds { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 1rem; margin-top: 1rem; }
  .binds div { display: grid; gap: 0.1rem; padding-top: 0.6rem; border-top: 1px solid rgba(246, 241, 234, 0.2); }
}

.levers { display: grid; gap: 2.2rem 2rem; }
.lever { border-top: 3px solid var(--saffron); padding-top: 1.1rem; }
.lever h3 { margin-bottom: 0.5rem; }
.lever p { margin: 0 0 1rem; color: #ddd2e6; }
@media (min-width: 40rem) { .levers { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .levers { grid-template-columns: repeat(4, 1fr); } }

.dials { display: grid; gap: 0.85rem; }
.dial { display: grid; grid-template-columns: 6.4rem 1fr; align-items: center; gap: 0.8rem; font-size: 0.95rem; color: #ddd2e6; }
.track { display: block; height: 0.5rem; border-radius: 999px; background: rgba(246, 241, 234, 0.2); font-style: normal; }
.track b { position: relative; display: block; height: 100%; border-radius: inherit; background: var(--saffron); }
.track b::after {
  content: ""; position: absolute; right: -0.5rem; top: 50%; width: 1.1rem; height: 1.1rem; margin-top: -0.55rem;
  border-radius: 50%; background: var(--linen); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}
.w70 { width: 70%; } .w45 { width: 45%; } .w30 { width: 30%; } .w20 { width: 20%; }
.switch { position: relative; display: block; width: 2.7rem; height: 1.5rem; border-radius: 999px; background: rgba(246, 241, 234, 0.2); font-style: normal; }
.switch b { position: absolute; left: 0.2rem; top: 0.2rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--linen); }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.55rem; }
.chips li { padding: 0.35rem 0.95rem; border: 2px solid rgba(246, 241, 234, 0.4); border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.3; }

/* Price */
.price { background: var(--saffron); color: var(--plum); padding-block: clamp(4rem, 9vw, 7rem); }
.price h2 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); }
.price .head { margin-bottom: 2.6rem; }
.price .head p { color: var(--plum); max-width: 34rem; }
.plans { display: grid; gap: 1.8rem; margin-bottom: 1.6rem; }
@media (min-width: 52rem) { .plans { grid-template-columns: 1fr 1.08fr; gap: 2rem; align-items: stretch; } }
.plans.one { max-width: 34rem; }
@media (min-width: 52rem) { .plans.one { grid-template-columns: 1fr; } }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: #fbf8f3; color: var(--plum);
  border: 3px solid var(--plum); border-radius: 26px; padding: 2rem 1.7rem 1.8rem;
}
.plan.best { background: var(--plum); color: var(--linen); border-color: var(--plum); border-radius: 34px; padding: 2.4rem 2rem 2rem;
  box-shadow: 0 18px 36px -12px rgba(42, 26, 51, 0.55); }
.plan h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.plan .badge {
  position: absolute; top: -1.15rem; right: 1.6rem; margin: 0;
  background: var(--persimmon-deep); color: var(--linen); border-radius: 999px;
  padding: 0.25rem 1rem; font-family: var(--font-display); font-weight: 800; font-size: 0.98rem;
}
.plan .amount { margin: 0 0 1.2rem; line-height: 1; }
.plan .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.6rem, 9vw, 5.5rem); letter-spacing: -0.04em; }
.plan.best .num { color: var(--saffron); font-size: clamp(4.2rem, 10vw, 6.5rem); }
.plan .per { font-size: 1.15rem; font-weight: 600; }
.plan ul { list-style: none; margin: 0 0 1.8rem; padding: 0; flex: 1; }
.plan li { padding: 0.6rem 0 0.6rem 1.9rem; border-bottom: 1px solid rgba(42, 26, 51, 0.2); position: relative; }
.plan.best li { border-bottom-color: rgba(246, 241, 234, 0.2); }
.plan li::before { content: ""; position: absolute; left: 0.2rem; top: 1.05rem; width: 0.9rem; height: 0.5rem; border-left: 3px solid var(--plum); border-bottom: 3px solid var(--plum); transform: rotate(-45deg); }
.plan.best li::before { border-color: var(--saffron); }
.plan .btn { width: 100%; }
.plans-fine { color: var(--plum); font-size: 0.98rem; max-width: none; }
.plans-fine a { color: var(--plum); }
.price .btn-row { margin-top: 0.6rem; }

/* FAQ */
.faq-grid { display: grid; gap: 1.5rem; }
@media (min-width: 62rem) {
  .faq-grid { grid-template-columns: 1fr 2.2fr; gap: 4rem; align-items: start; }
  .faq-grid .head { position: sticky; top: 6rem; }
}
.faq { max-width: 50rem; }
.faq details, .fullmap { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary, .fullmap summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.15rem 3rem 1.15rem 0;
  font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; line-height: 1.3;
}
.fullmap { border-top: 0; }
.faq summary::-webkit-details-marker, .fullmap summary::-webkit-details-marker { display: none; }
.faq summary::after, .fullmap summary::after {
  content: "+"; position: absolute; right: 0.2rem; top: 0.8rem;
  width: 2rem; height: 2rem; line-height: 1.85rem; text-align: center;
  border-radius: 50%; background: var(--saffron); color: var(--plum); font-size: 1.4rem;
  transition: transform 200ms var(--ease-out);
}
.faq details[open] > summary::after, .fullmap[open] > summary::after { transform: rotate(45deg); }
.faq .body { padding: 0 0 1.4rem; }
.faq .body > :last-child { margin-bottom: 0; }
.faq .body ul, .faq .body ol { padding-left: 1.3rem; margin: 0 0 1em; max-width: var(--measure); }
.faq .body li { margin-bottom: 0.4em; }
.faq .known summary { color: var(--persimmon); }
@media (prefers-color-scheme: light) { .faq .known summary { color: #b3341f; } }
.faq .known { border-left: 4px solid var(--persimmon); padding-left: 1rem; }

/* Footer */
.site-foot { background: var(--velvet-deep); color: #e2dbd0; padding-block: 3rem; font-size: 0.98rem; }
.site-foot a { color: var(--linen); }
.site-foot .cols { display: grid; gap: 1.4rem 3rem; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.site-foot p { margin: 0; max-width: 40rem; }
.site-foot .small { font-size: 0.88rem; color: #c9c3ba; margin-top: 0.4rem; }
@media (min-width: 52rem) { .site-foot .cols { grid-template-columns: 1fr 1fr; } }

/* Thanks, terms, privacy, 404 */
.page { padding-block: 3rem 4rem; }
.page .narrow { max-width: 44rem; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.03em; margin-bottom: 1.2rem; }
.page h2 { font-size: 1.55rem; letter-spacing: -0.02em; margin: 2.2rem 0 0.6rem; }
.page .meta { color: var(--muted); }
.page ul, .page ol { padding-left: 1.3rem; max-width: var(--measure); }
.page li { margin-bottom: 0.45em; }

.keybox {
  display: grid; gap: 1rem; align-items: center;
  margin: 1.4rem 0 0.6rem; padding: 1.2rem 1.2rem;
  background: var(--surface); border: 3px solid var(--velvet-soft); border-radius: 18px;
}
@media (min-width: 40rem) { .keybox { grid-template-columns: 1fr auto; padding: 1.4rem 1.6rem; } }
.keybox .label { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--muted); margin: 0 0 0.3rem; }
.key {
  display: block; margin: 0; font-family: var(--font-mono); font-weight: 700;
  font-size: clamp(1.15rem, 3.4vw, 1.6rem); line-height: 1.35;
  overflow-wrap: anywhere; user-select: all; -webkit-user-select: all;
}
.keybox .btn { justify-self: start; }
.note { color: var(--muted); }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 1.2rem 0 2rem; max-width: 40rem; }
.steps li { counter-increment: step; position: relative; padding: 0 0 1.2rem 3.2rem; margin: 0; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -0.1rem;
  width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--saffron); color: var(--plum);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700;
}
.steps p { margin: 0; }

.lost { text-align: left; }

/* Append to site/site.css. Needed by compare.html only (CSP forbids inline styles). */
.tablewrap { overflow-x: auto; margin: 1.5rem 0 2rem; border: 1px solid var(--line); border-radius: 12px; }
.cmp { border-collapse: collapse; width: 100%; min-width: 46rem; font-size: 0.95rem; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 0.7rem 0.85rem; border-bottom: 1px solid var(--line); }
.cmp thead th { font-family: var(--font-display); font-weight: 800; background: var(--surface); }
.cmp tbody th { font-weight: 700; white-space: nowrap; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp td:nth-child(2), .cmp thead th:nth-child(2) { background: color-mix(in srgb, var(--saffron) 14%, transparent); }
.site-foot nav + nav { margin-top: 0.6rem; }
