/* Warpway site. Tokens match the ad (reddit-ad-v1/ad/stage/styles.css); board.css relies on them. */

@font-face { font-family: 'Geist'; src: url('/assets/fonts/geist.696fb120.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/assets/fonts/geist-mono.bac310e0.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
/* Metric-matched fallbacks (measured against the subset files) so the swap to Geist doesn't move the layout. */
@font-face { font-family: 'Geist Fallback'; src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('Roboto'); size-adjust: 102.08%; ascent-override: 98.94%; descent-override: 28.41%; line-gap-override: 0%; }
@font-face { font-family: 'Geist Mono Fallback'; src: local('Courier New'), local('CourierNewPSMT'), local('Menlo'), local('Roboto Mono'); size-adjust: 100%; ascent-override: 101%; descent-override: 29%; line-gap-override: 0%; }

:root {
  --bg: #07090e; --bg-glow: #131b2c;
  --surface: #0e131b; --surface-2: #131a25; --surface-3: #18212e;
  --line: rgba(255, 255, 255, 0.08); --line-2: rgba(255, 255, 255, 0.13);
  --text: #e9eef5; --text-2: #a3aec0; --text-3: #7d899d;
  --high: #3ddc97; --high-bg: rgba(61, 220, 151, 0.13);
  --unsure: #f5b544; --unsure-bg: rgba(245, 181, 68, 0.13);
  --low: #ff6b6b; --low-bg: rgba(255, 107, 107, 0.13);
  --brand: #8c7cff; --brand-2: #b3a8ff; --brand-bg: rgba(140, 124, 255, 0.14);
  --merged: #8957e5;
  --add-bg: rgba(61, 220, 151, 0.10); --add-fg: #7ee2b4; --del-bg: rgba(255, 107, 107, 0.10); --del-fg: #ff9a9a;
  --cta-bg: #f4f6fa; --cta-fg: #0b0e14;
  --sans: 'Geist', 'Geist Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', 'Geist Mono Fallback', ui-monospace, SFMono-Regular, Menlo, monospace;
  --r-lg: 28px; --r-md: 18px; --r-sm: 12px;
  --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 24px 60px rgba(0, 0, 0, 0.55), 0 6px 18px rgba(0, 0, 0, 0.35);
  --gutter: 20px;
  color-scheme: dark;
}

/* base ------------------------------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 20px; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  font: 400 17px/1.55 var(--sans); color: var(--text-2);
  background: radial-gradient(90% 55% at 50% -8%, var(--bg-glow) 0%, rgba(19, 27, 44, 0) 70%) top center / 100% 820px no-repeat, var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
a { color: var(--text); text-decoration-color: rgba(233, 238, 245, 0.35); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
p { margin: 0; }
h1, h2, h3 { margin: 0; color: var(--text); font-weight: 650; letter-spacing: -0.03em; text-wrap: balance; }
em { font-style: normal; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; }
::selection { background: rgba(140, 124, 255, 0.35); color: #fff; }
[hidden] { display: none !important; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--cta-bg); color: var(--cta-fg); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

.em-unsure, h1 em, h2 em { color: var(--unsure); font-style: normal; }
.dot-high { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--high); box-shadow: 0 0 0 4px var(--high-bg); }
.trust .dot-high { margin: 0.42em 0 0 2px; }

/* header ------------------------------------------------------------------------------------------ */
.site-header { position: relative; z-index: 2; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
@media (min-width: 768px) { .header-inner { height: 76px; } }
.lockup { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; border-radius: 8px; }
.ww-mark { flex: none; color: var(--text); }
.wordmark { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.pill-soon { margin-left: 2px; padding: 4px 10px 5px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--surface-3); color: var(--text); font-size: 12.5px; font-weight: 500; line-height: 1.1; letter-spacing: 0; white-space: nowrap; }
.lockup-sm .wordmark { font-size: 16px; }
.header-cta { display: none; }
@media (min-width: 768px) {
  .header-cta { display: inline-flex; align-items: center; min-height: 40px; padding: 0 4px; color: var(--text-2); font-size: 15px; font-weight: 500; text-decoration: none; border-radius: 8px; }
  .header-cta:hover { color: var(--text); }
}

/* hero -------------------------------------------------------------------------------------------- */
.hero { padding-block: 18px 64px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 64px; }
.hero-copy { min-width: 0; }
.hook { display: none; margin: 0 0 12px; color: var(--text-2); font-size: 15.5px; font-weight: 500; line-height: 1.4; letter-spacing: -0.01em; }
html[data-variant] .hook { display: block; }
.hook > span { display: none; }
html[data-variant="A"] .hook > [data-h="A"], html[data-variant="B"] .hook > [data-h="B"], html[data-variant="C"] .hook > [data-h="C"] { display: inline; }
html[data-invited]:not([data-variant]) .hook { display: block; }
html[data-invited]:not([data-variant]) .hook > [data-h="ref"] { display: inline-flex; align-items: flex-start; gap: 12px; color: var(--text); }
.hook [data-h="ref"] .dot-high { margin: 0.42em 0 0 2px; }
.hero h1 { font-size: clamp(2.25rem, 1.35rem + 3.9vw, 3.5rem); line-height: 1.04; }
.hero-sub { max-width: 34em; margin-top: 16px; font-size: 17px; line-height: 1.55; }
.hero .signup { margin-top: 24px; }
.signup-note { margin: 12px 6px 0; color: var(--text-3); font-size: 14px; line-height: 1.45; }
.trust { display: flex; align-items: flex-start; gap: 12px; margin: 16px 6px 0; color: var(--text-2); font-size: 14.5px; line-height: 1.45; }

.board-col { min-width: 0; }
.board-head { margin-bottom: 24px; }
.board-head h2 { font-size: clamp(1.7rem, 1.25rem + 1.9vw, 2.4rem); line-height: 1.1; }
.board-head p { margin-top: 10px; }

@media (min-width: 1024px) {
  .hero { padding-block: 40px 104px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); gap: 56px; align-items: start; }
  .hero-copy { padding-top: 64px; }   /* form high on laptop screens; the board column is taller */
  .hero-sub { font-size: 18px; }
  .board-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 0 4px 14px; }
  .board-head h2 { font-size: 15px; font-weight: 600; letter-spacing: -0.005em; line-height: 1.4; }
  .board-head p { margin: 0; color: var(--text-3); font-size: 15px; line-height: 1.4; }
}
@media (min-width: 1200px) { .hero-grid { gap: 72px; } }

/* cards, buttons, inputs -------------------------------------------------------------------------- */
.card { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border: 1.5px solid transparent; border-radius: 999px;
  font: 600 16.5px/1 var(--sans); letter-spacing: -0.01em; white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, opacity .15s ease;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn-primary { background: var(--cta-bg); color: var(--cta-fg); }
.btn-primary:hover { background: #fff; }
.btn-secondary { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-secondary:hover { border-color: rgba(255, 255, 255, 0.28); }
.btn-text { min-height: 44px; padding: 0 14px; background: none; color: var(--text-2); }
.btn-text:hover { color: var(--text); }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }

.input {
  width: 100%; min-width: 0; height: 52px; padding: 0 20px;
  border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--surface-2); color: var(--text);
  font: 500 16px/1.2 var(--sans); letter-spacing: -0.005em;
  transition: border-color .15s ease; -webkit-appearance: none; appearance: none;
}
.input::placeholder { color: var(--text-3); opacity: 1; }
.input:hover { border-color: rgba(255, 255, 255, 0.2); }
.input:focus { outline: none; border-color: var(--brand-2); }
.input:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; }
.input[aria-invalid="true"] { border-color: var(--low); }

/* signup card (both instances) ------------------------------------------------------------------- */
.signup { max-width: 540px; scroll-margin-top: 16px; }
.signup-card { padding: 12px; border-radius: 26px; }
.signup-form .field-row { display: flex; flex-direction: column; gap: 10px; }
.signup-form .btn { width: 100%; }
@media (min-width: 480px) {
  .signup-form .field-row { flex-direction: row; }
  .signup-form .btn { width: auto; flex: none; }
}
.form-error { margin: 10px 8px 2px; color: var(--del-fg); font-size: 14.5px; line-height: 1.4; }
.form-error:empty { margin: 0; }   /* stays in the accessibility tree, so the live region announces errors */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* after signup: steps 2, 3 and done -------------------------------------------------------------- */
.flow { padding: 22px 15px 18px; text-align: left; }
@media (min-width: 480px) { .flow { padding: 26px 26px 22px; } }
.flow-head { display: flex; align-items: flex-start; gap: 12px; }
.flow-head > div { min-width: 0; }
.check { flex: none; display: grid; place-items: center; width: 28px; height: 28px; margin-top: 1px; border-radius: 50%; background: var(--high-bg); color: var(--high); }
.check svg { width: 16px; height: 16px; }
.flow-title { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; outline: none; }
.flow-sub { margin-top: 4px; color: var(--text-2); font-size: 15.5px; line-height: 1.5; }
.flow-sub + .flow-sub { margin-top: 2px; }
.q { min-width: 0; margin: 22px 0 0; padding: 0; border: 0; }
.q legend, .q-label { display: block; margin: 0 0 10px; padding: 0; color: var(--text); font-size: 15.5px; font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; max-width: 100%; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--surface-2); color: var(--text-2);
  font-size: 14.5px; font-weight: 500; line-height: 1.25; letter-spacing: -0.005em; user-select: none; -webkit-user-select: none;
  transition: background-color .12s ease, border-color .12s ease, color .12s ease; -webkit-tap-highlight-color: transparent;
}
@media (min-width: 480px) { .chip span { padding: 0 16px; font-size: 15px; } }
.chip:hover span { border-color: rgba(255, 255, 255, 0.24); color: var(--text); }
.chip input:checked + span { border-color: var(--brand); background: var(--brand-bg); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--brand-2); outline-offset: 2px; }
.prefixed { display: flex; align-items: center; height: 52px; padding-left: 18px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--surface-2); transition: border-color .15s ease; }
.prefixed:focus-within { border-color: var(--brand-2); outline: 2px solid var(--brand-2); outline-offset: 2px; }
.prefixed > span { flex: none; color: var(--text-3); font: 500 14.5px/1 var(--mono); }
.prefixed .input { height: 48px; padding: 0 18px 0 1px; border: 0; background: transparent; font-family: var(--mono); font-size: 16px; }
.prefixed .input:focus-visible { outline: none; }
.prefixed.is-invalid { border-color: var(--low); }
.help { margin: 8px 8px 0; color: var(--text-3); font-size: 14px; line-height: 1.4; }
.flow-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 26px; }
/* invite card on the done step */
.invite { margin-top: 18px; padding-top: 18px; border-top: 1.5px solid var(--line); }
.invite-title { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--text); }
.invite-sub { margin-top: 4px; color: var(--text-2); font-size: 15px; line-height: 1.45; }
.invite-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.invite-url { flex: 1 1 200px; height: 44px; padding: 0 14px; font: 500 13px/1 var(--mono); letter-spacing: 0; color: var(--text); }
.invite-row .btn { flex: none; }
.invite-row [data-copy] { min-width: 7.6em; }   /* "Copied" doesn't reflow the row */
@media (max-width: 479px) { .invite-url { flex-basis: 100%; } }   /* the whole link on its own row on phones */
.invite-hint { margin-top: 8px; color: var(--text-3); font-size: 13px; line-height: 1.45; }
.invite-status { display: flex; align-items: flex-start; gap: 12px; margin-top: 12px; color: var(--text); font-size: 14.5px; line-height: 1.45; }
.invite-status .dot-high { margin: 0.42em 0 0 2px; }
.flow-more { margin-top: 18px; padding-top: 18px; border-top: 1.5px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; color: var(--text-2); font-size: 15.5px; }
.flow-listed { padding: 18px; }

/* sections ---------------------------------------------------------------------------------------- */
.section { padding-block: 72px; }
@media (min-width: 1024px) { .section { padding-block: 112px; } }
.section-head { max-width: 680px; margin-bottom: 32px; }
.section-head h2, .section h2.section-title { font-size: clamp(1.85rem, 1.3rem + 2.1vw, 2.75rem); line-height: 1.08; }
.section-head p { margin-top: 12px; }
.how { border-top: 1.5px solid var(--line); }

.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.step { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 24px 22px 22px; }
@media (min-width: 900px) { .step { padding: 28px 26px 26px; } }
.step-num { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 6px; border: 1.5px solid var(--line-2); border-radius: 50%; background: var(--surface-3); color: var(--text); font: 600 13.5px/1 var(--mono); }
.step h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.step p { font-size: 16px; line-height: 1.55; }
.step p code { padding: 1px 6px 2px; border-radius: 6px; background: var(--surface-3); color: var(--text); font: 500 0.88em/1 var(--mono); }
.step-visual { margin-top: auto; padding-top: 14px; }

.editor { margin: 0; overflow: hidden; border: 1.5px solid var(--line); border-radius: 14px; background: rgba(0, 0, 0, 0.28); }
.editor-tab { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-bottom: 1.5px solid var(--line); font: 500 13px/1 var(--mono); white-space: nowrap; }
.editor-tab .crumb { color: var(--text-3); }
.editor-tab .fname { color: var(--text); }
.editor pre { margin: 0; padding: 12px 14px 12px 0; overflow-x: auto; font: 500 14px/1.75 var(--mono); color: var(--text); counter-reset: ln; }
.editor code { display: block; font: inherit; }
.editor .cl { display: block; white-space: pre; }
.editor .cl::before { counter-increment: ln; content: counter(ln); display: inline-block; width: 42px; padding-right: 16px; color: var(--text-3); text-align: right; font-size: 12.5px; user-select: none; -webkit-user-select: none; }
.editor .key { font-weight: 600; }
.editor .dash { color: var(--text-3); }

.levels { display: grid; gap: 0; margin: 0; padding: 4px 16px; list-style: none; border: 1.5px solid var(--line); border-radius: 14px; background: rgba(0, 0, 0, 0.22); }
.levels li { display: flex; align-items: center; gap: 14px; min-height: 46px; color: var(--text); font-size: 15.5px; font-weight: 500; }
.levels li + li { border-top: 1.5px solid rgba(255, 255, 255, 0.05); }
.levels .hint { margin-left: auto; color: var(--text-3); font-size: 13.5px; font-weight: 400; }
.mk { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; }
.mk-high { background: var(--high); }
.mk-unsure { border: 2.5px solid var(--unsure); color: var(--unsure); font: 700 12px/1 var(--sans); }
.mk-low { border: 2.5px solid var(--low); }

.approve-mini { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 10px 10px 12px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--surface-2); }
.approve-mini .av { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border: 2px solid var(--text-2); border-radius: 50%; color: var(--text); font-size: 13px; font-weight: 600; }
.approve-mini .who { min-width: 0; color: var(--text-2); font-size: 15px; font-weight: 500; }
.approve-mini .done { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; height: 40px; padding: 0 16px 0 13px; border: 1.5px solid rgba(255, 255, 255, 0.8); border-radius: 999px; color: #fff; font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.approve-mini .done svg { width: 16px; height: 16px; }

/* FAQ --------------------------------------------------------------------------------------------- */
.faq-list { max-width: 780px; border-top: 1.5px solid var(--line); }
.faq-list details { border-bottom: 1.5px solid var(--line); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 64px; padding: 16px 2px; list-style: none; cursor: pointer;
  color: var(--text); font-size: 17.5px; font-weight: 600; line-height: 1.35; letter-spacing: -0.015em;
  border-radius: 6px; -webkit-tap-highlight-color: transparent;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ''; flex: none; width: 14px; height: 14px;
  background: linear-gradient(var(--text-2), var(--text-2)) center / 14px 1.75px no-repeat, linear-gradient(var(--text-2), var(--text-2)) center / 1.75px 14px no-repeat;
  transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: #fff; }
.faq-list .answer { max-width: 62ch; padding: 0 2px 22px; }

/* final CTA --------------------------------------------------------------------------------------- */
.final { padding-block: 88px 104px; border-top: 1.5px solid var(--line); text-align: center;
  background: radial-gradient(70% 60% at 50% 108%, #0c1220 0%, rgba(12, 18, 32, 0) 70%); }
@media (min-width: 1024px) { .final { padding-block: 128px 144px; } }
.final-mark { margin: 0 auto 26px; color: var(--high); filter: drop-shadow(0 0 18px rgba(61, 220, 151, 0.35)); }
.final h2 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem); line-height: 1.05; }
.final-sub { max-width: 30em; margin: 14px auto 0; }
.final .signup { margin: 30px auto 0; text-align: left; }
.final .signup-note { text-align: center; }

/* footer ------------------------------------------------------------------------------------------ */
.site-footer { padding-block: 44px calc(40px + env(safe-area-inset-bottom)); border-top: 1.5px solid var(--line); color: var(--text-3); font-size: 14px; line-height: 1.5; }
.footer-inner { display: grid; gap: 22px; }
.footer-brand { display: grid; gap: 10px; }
.footer-brand p { color: var(--text-2); }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; margin: -10px 0; }
.footer-links a, .linklike { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: var(--text-2); font: inherit; font-size: 14.5px; text-decoration: none; cursor: pointer; }
.footer-links a:hover, .linklike:hover { color: var(--text); }
.footer-fine { display: grid; gap: 4px; }
@media (min-width: 900px) {
  .footer-inner { grid-template-columns: 1fr auto; align-items: start; }
  .footer-fine { grid-column: 1 / -1; }
}

/* consent sheet ----------------------------------------------------------------------------------- */
/* One compact row on phones, so it never covers the hero's signup button; bottom-right (over the board) on desktop. */
.consent {
  position: fixed; z-index: 60; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom));
  max-width: 480px; margin-inline: auto; display: flex; align-items: center; gap: 10px; padding: 7px 7px 7px 14px;
  border: 1.5px solid var(--line-2); border-radius: 16px; background: rgba(19, 26, 37, 0.97); box-shadow: var(--shadow-1);
  color: var(--text-2); font-size: 13px; line-height: 1.35;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: sheet-in .28s cubic-bezier(.2, .7, .2, 1) both;
}
@media (min-width: 768px) { .consent { left: auto; right: 24px; bottom: 24px; margin: 0; font-size: 13.5px; } }
@keyframes sheet-in { from { opacity: 0; transform: translateY(12px); } }
.consent-text { flex: 1; min-width: 0; }
.consent-text p { margin: 0; }
.consent-text a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.consent .gpc { margin-top: 4px; color: var(--text-3); }
.consent-actions { flex: none; display: flex; align-items: center; gap: 6px; }
.consent-actions .btn { min-height: 38px; padding: 0 12px; font-size: 14px; }
.consent.is-manual { flex-wrap: wrap; padding: 14px 14px 12px 16px; }
.consent.is-manual .consent-text { flex-basis: 100%; margin-right: 30px; }
.consent-close { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--text-3); cursor: pointer; }
.consent-close:hover { color: var(--text); }
.consent-close svg { width: 14px; height: 14px; }

/* simple pages: legal, confirmed, 404 ------------------------------------------------------------- */
.page-simple main { min-height: calc(100vh - 64px - 260px); }
.notice { max-width: 640px; padding-block: 72px 112px; }
@media (min-width: 1024px) { .notice { padding-block: 128px 160px; } }
.notice h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.4rem); line-height: 1.05; }
.notice p { margin-top: 16px; font-size: 18px; }
.notice .btn { margin-top: 30px; }
.notice .back { display: inline-block; margin-top: 28px; color: var(--text-2); font-size: 15.5px; }
.status-invalid { display: none; }
html[data-status="invalid"] .status-ok { display: none; }
html[data-status="invalid"] .status-invalid { display: block; }

.legal { max-width: 760px; padding-block: 48px 96px; }
.prose { color: var(--text-2); font-size: 16.5px; line-height: 1.65; overflow-wrap: anywhere; }
.prose h1 { margin-bottom: 8px; font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); line-height: 1.08; }
.prose h2 { margin: 44px 0 12px; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.prose h3 { margin: 28px 0 8px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.prose p, .prose ul, .prose ol, .prose table { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--text-3); }
.prose strong { color: var(--text); font-weight: 600; }
.prose .lead { color: var(--text); font-size: 18px; }
.prose table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1.5px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: var(--text); font-weight: 600; }
.prose code { font-family: var(--mono); font-size: 0.9em; color: var(--text); }
.prose hr { margin: 36px 0; border: 0; border-top: 1.5px solid var(--line); }

/* motion ------------------------------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
