/* CurrantHub landing page. Tokens follow the CurrantHub design style. */
@font-face { font-family: 'Atkinson Hyperlegible Next'; src: url('/fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; src: url('/fonts/atkinson-hyperlegible-next-latin-ext-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Atkinson Hyperlegible Mono'; src: url('/fonts/atkinson-hyperlegible-mono-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }

:root {
  --ink: #0D0B12;
  --ink-2: #16131D;
  --primary: #6E2A82;
  --primary-hover: #551F66;
  --primary-muted: #B98BC9;
  --primary-50: #F4EDF6;
  --primary-100: #E8D9EE;
  --primary-text: #4C1955;
  --green: #99D420;
  --canvas: #F6F5F8;
  --surface: #FFFFFF;
  --sunk: #F1EFF5;
  --text: #0D0B12;
  --text-soft: #3A3644;
  --muted: #5B5867;
  --border: #E7E5EC;
  --border-strong: #D9D6E0;
  --font: 'Atkinson Hyperlegible Next', system-ui, sans-serif;
  --mono: 'Atkinson Hyperlegible Mono', ui-monospace, monospace;
  --shadow: 0 1px 2px rgba(13, 11, 18, .05);
  --shadow-lg: 0 12px 32px rgba(13, 11, 18, .10);
  --wrap: 1200px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #0D0B12;
    --surface: #16131D;
    --sunk: #120F18;
    --text: #FFFFFF;
    --text-soft: #D9D5E3;
    --muted: #B7B3C4;
    --border: #2A2533;
    --border-strong: #3A3445;
    --primary-50: #1F1B28;
    --primary-text: #DCC0E6;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, .4);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--canvas); color: var(--text); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
p { margin: 0; text-wrap: pretty; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--primary-muted); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 32px; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.mono { font-family: var(--mono); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); color: var(--text); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

/* Kicker */
.kicker { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--text-soft); margin-bottom: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 10px; font: 500 15px/1 var(--font); text-decoration: none; border: 1px solid transparent; transition: background .16s, border-color .16s, transform .16s; white-space: nowrap; }
.btn--sm { height: 38px; padding: 0 14px; font-size: 14px; }
.btn--lg { height: 52px; padding: 0 22px; font-size: 16px; }
.btn--pri { background: var(--primary); color: #fff; box-shadow: 0 1px 2px rgba(110, 42, 130, .3), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn--pri:hover { background: var(--primary-hover); }
.btn--pri .ico { transition: transform .16s; }
.btn--pri:hover .ico { transform: translateX(2px); }
.btn--glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn--glass:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .45); }

/* Dots and chips */
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 999px; flex: none; }
.dot--live { background: var(--green); box-shadow: 0 0 0 3px rgba(153, 212, 32, .22); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--border); font: 500 12px/1 var(--font); color: var(--muted); background: var(--surface); }
.chip .ico { width: 13px; height: 13px; }
.chip--live { color: var(--text-soft); }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 2px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; }
.brand-word { font: 600 22px/1 var(--font); letter-spacing: -0.045em; }
.brand-word span { color: var(--primary); }
.only-dark { display: none; }
@media (prefers-color-scheme: dark) { .only-dark { display: block; } .only-light { display: none; } }
.top .brand-word { color: #fff; }
.top .brand-word span { color: var(--primary-muted); }

/* Header */
.top { position: absolute; inset: 0 0 auto; z-index: 10; }
.top-in { display: flex; align-items: center; gap: 32px; height: 76px; }
.top-nav { display: flex; gap: 4px; margin-left: auto; }
.top-nav a { color: rgba(255, 255, 255, .82); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.top-nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }

/* Hero */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; color: #fff; background: var(--ink); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
/* Darker on the left, where the text sits, so the photo's detail stays out of the way. */
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 11, 18, .84) 0%, rgba(13, 11, 18, .66) 45%, rgba(13, 11, 18, .34) 100%), linear-gradient(0deg, rgba(13, 11, 18, .5), transparent 40%); }
.hero-in { position: relative; width: 100%; padding-top: 140px; padding-bottom: 88px; }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); letter-spacing: -0.045em; line-height: 1.02; max-width: 17ch; }
.hero h1 span { color: var(--primary-muted); }
.hero-lede { text-wrap: pretty; margin-top: 24px; max-width: 56ch; font-size: clamp(17px, 1.6vw, 19px); color: rgba(255, 255, 255, .86); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-points { list-style: none; padding: 0; margin: 48px 0 0; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .ico { width: 16px; height: 16px; color: var(--green); }

/* Ripening strip */
.ripen { display: flex; height: 6px; }
.ripen span { flex: 1; background: var(--c); }

/* Sections */
.sect { padding: 112px 0; }
.sect--sunk { background: var(--sunk); }
.sect-head { max-width: 720px; margin-bottom: 56px; }
.sect h2 { text-wrap: balance; font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.04em; }
.lede { margin-top: 16px; font-size: 18px; color: var(--muted); }

/* Apps grid */
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.app { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s, border-color .2s; }
.app:not(.app--soon):hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--border-strong); }
.app-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.app-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--c, var(--sunk)); color: #fff; }
.app--soon .app-ico { color: var(--muted); border: 1px solid var(--border); }
.app-ico .ico { width: 22px; height: 22px; }
.app h3 { font-size: 20px; letter-spacing: -0.02em; margin-bottom: 10px; }
.app p { color: var(--muted); font-size: 15px; }
.app--soon { background: transparent; box-shadow: none; border-style: dashed; }
.app--soon h3 { color: var(--text-soft); }

/* QA example: a bin's results, drawn as the app shows them. Data, so the mono face is earned. */
.feat-img.feat-card { aspect-ratio: auto; min-height: 100%; display: grid; place-items: center; padding: clamp(16px, 4vw, 32px); background: linear-gradient(160deg, var(--sunk), var(--surface)); border: 1px solid var(--border); }
.qa-card { width: min(100%, 380px); background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 22px 24px; box-shadow: var(--shadow); }
.qa-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.qa-card-head b { font: 600 17px/1.2 var(--mono); white-space: nowrap; }
.qa-hold { flex: none; white-space: nowrap; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: #FDECEC; color: #8A1D21; }
.qa-card-sub { font-size: 13px; color: var(--muted); margin: 14px 0 6px; }
.qa-rows { margin: 0; display: grid; }
.qa-rows > div { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px solid var(--border); font-size: 15px; }
.qa-rows dt { color: var(--text-soft); }
.qa-rows dd { margin: 0; font: 600 15px/1.3 var(--mono); font-variant-numeric: tabular-nums; }
.qa-ok { color: #1E6B34; }
.qa-low { color: #8A1D21; }
.qa-total dt, .qa-total dd { font-weight: 700; color: var(--text); }

/* Feature rows */
.feat { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
.feat + .feat { margin-top: 96px; }
.feat--rev .feat-img { order: 2; }
.feat-img { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); }
.feat-img img { width: 100%; height: 100%; object-fit: cover; }
.feat-img img.lift { filter: brightness(1.18) contrast(1.06) saturate(1.05); }
.step { display: flex; align-items: center; gap: 12px; font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 18px; }
.step span { display: inline-grid; place-items: center; height: 26px; padding: 0 9px; border-radius: 999px; background: var(--primary-50); color: var(--primary-text); border: 1px solid var(--primary-100); }
@media (prefers-color-scheme: dark) { .step span { border-color: var(--border-strong); } }
.feat h3 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.035em; margin-bottom: 16px; }
.feat-txt > p:not(.step) { color: var(--muted); font-size: 17px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-soft); }
.ticks .ico { width: 20px; height: 20px; padding: 3px; border-radius: 999px; background: var(--ink); color: var(--green); stroke-width: 3; }

/* Photo band */
.band { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 6px; height: clamp(260px, 34vw, 460px); background: var(--ink); }
.band figure { overflow: hidden; }
.band img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.22, .61, .36, 1); }
.band figure:hover img { transform: scale(1.04); }

/* Roles */
.roles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.role { padding-top: 24px; border-top: 1px solid var(--border-strong); }
.role-dot { display: block; width: 14px; height: 14px; border-radius: 999px; background: var(--c); margin-bottom: 20px; }
.role h3 { font-size: 19px; letter-spacing: -0.02em; margin-bottom: 8px; }
.role p { color: var(--muted); font-size: 15px; }

/* CTA */
.cta { position: relative; color: #fff; background: var(--ink); overflow: hidden; text-align: center; }
.cta-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-scrim { position: absolute; inset: 0; background: rgba(13, 11, 18, .72); }
.cta-in { position: relative; padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; align-items: center; }
.cta-mark { width: 64px; height: 64px; margin-bottom: 28px; }
.cta h2 { font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -0.045em; }
.cta p { margin-top: 16px; max-width: 50ch; font-size: 18px; color: rgba(255, 255, 255, .84); }
.cta .hero-cta { justify-content: center; }

/* Footer */
.foot { background: var(--surface); border-top: 1px solid var(--border); padding: 56px 0 32px; }
.foot-in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-brand p { margin-top: 14px; color: var(--muted); font-size: 14px; max-width: 34ch; }
@media (prefers-color-scheme: dark) { .foot-brand .brand-word span { color: var(--primary-muted); } }
.foot-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: flex-start; }
.foot-nav a { color: var(--text-soft); text-decoration: none; font-size: 14px; font-weight: 500; padding: 6px 0; }
.foot-nav a:hover { color: var(--primary); }
@media (prefers-color-scheme: dark) { .foot-nav a:hover { color: var(--primary-muted); } }
.foot-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.foot-legal .mono { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }

/* Responsive */
@media (max-width: 1000px) {
  .apps { grid-template-columns: repeat(2, 1fr); }
  .roles { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .feat { gap: 40px; }
}
@media (max-width: 760px) {
  .wrap { padding-inline: 16px; }
  .top-in { height: 64px; gap: 12px; }
  .top-nav { display: none; }
  .top .top-act { margin-left: auto; }
  .top-act .btn--sm { padding: 0 12px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-word { font-size: 20px; }
  .hero { min-height: 640px; }
  .hero-in { padding-top: 112px; padding-bottom: 56px; }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  .hero-points { flex-direction: column; margin-top: 36px; }
  .sect { padding: 72px 0; }
  .sect-head { margin-bottom: 36px; }
  .apps { grid-template-columns: 1fr; }
  .app { padding: 22px; }
  .feat, .feat--rev { grid-template-columns: 1fr; gap: 24px; }
  .feat--rev .feat-img { order: 0; }
  .feat + .feat { margin-top: 64px; }
  .band { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; height: 420px; }
  .band-a { grid-column: 1 / -1; }
  .roles { grid-template-columns: 1fr; }
  .cta-in { padding-top: 80px; padding-bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Header actions: Log in and Register side by side */
.top-act { display: flex; gap: 8px; align-items: center; }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .32); background: rgba(13, 11, 18, .18); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .5); }
.btn--line { background: var(--surface); color: var(--text); border-color: var(--border-strong); box-shadow: var(--shadow); }
.btn--line:hover { border-color: var(--primary-muted); }
.btn--quiet { background: transparent; color: var(--muted); }
.btn--quiet:hover { color: var(--text); }
.btn:disabled { opacity: .6; cursor: progress; }
.hero-link { display: inline-flex; align-items: center; height: 52px; padding: 0 8px; color: rgba(255, 255, 255, .86); font-weight: 500; text-underline-offset: 4px; }
.hero-link:hover { color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Register page */
.top--solid { position: relative; background: var(--ink); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.reg { padding: 72px 0 112px; }
.reg-in { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 72px; align-items: start; }
.reg-side { position: sticky; top: 32px; }
.reg-side h1 { font-size: clamp(34px, 4vw, 46px); letter-spacing: -0.045em; }
.reg-side .lede { font-size: 17px; text-wrap: pretty; }
.reg-steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 22px; }
.reg-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; }
.reg-steps li > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; background: var(--primary-50); border: 1px solid var(--primary-100); color: var(--primary-text); font: 500 13px/1 var(--mono); }
.reg-steps b { font-weight: 600; font-size: 15px; }
.reg-steps p { color: var(--muted); font-size: 14px; margin-top: 2px; }
@media (prefers-color-scheme: dark) { .reg-steps li > span { border-color: var(--border-strong); } }

.reg-form, .reg-done { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 40px; }
.reg-set { border: 0; margin: 0; padding: 0; min-width: 0; }
.reg-set + .reg-set, .reg-rest > .reg-set:first-child { margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--border); }
.reg-set legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 20px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.reg-num { font: 500 12px/1 var(--mono); color: var(--muted); letter-spacing: .06em; }
.reg-opt { font: 500 12px/1 var(--font); color: var(--muted); letter-spacing: 0; }
.reg-set legend + * { clear: both; }
.reg-note { color: var(--muted); font-size: 14px; margin: -8px 0 20px; }

.kinds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.kind { position: relative; display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--border-strong); border-radius: 14px; cursor: pointer; transition: border-color .16s, background .16s, box-shadow .16s; }
.kind:hover { border-color: var(--primary-muted); }
.kind input { position: absolute; opacity: 0; pointer-events: none; }
.kind:has(input:checked) { border-color: var(--primary); background: var(--primary-50); box-shadow: 0 0 0 1px var(--primary); }
.kind:has(input:focus-visible) { outline: 2px solid var(--primary-muted); outline-offset: 3px; }
.kind-ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--c); color: #fff; }
.kind-ico[style*="#99D420"] { color: var(--ink); }
.kind-txt b { display: block; font-weight: 600; font-size: 16px; }
.kind-txt small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.45; margin-top: 2px; }
.kind::after { content: ''; position: absolute; top: 14px; right: 14px; width: 16px; height: 16px; border-radius: 999px; border: 1.5px solid var(--border-strong); }
.kind:has(input:checked)::after { border: 5px solid var(--primary); background: #fff; }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fld--wide { grid-column: 1 / -1; }
.fld[hidden], .fld [hidden] { display: none; }
.fld > span { font-size: 14px; font-weight: 500; color: var(--text-soft); }
.fld em { font-style: normal; font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.fld small { font-size: 13px; color: var(--muted); }
.fld input, .fld select, .fld textarea { width: 100%; font: 400 15px/1.4 var(--font); color: var(--text); background: var(--surface); border: 1px solid var(--border-strong); border-radius: 10px; padding: 11px 12px; transition: border-color .16s, box-shadow .16s; }
.fld textarea { resize: vertical; min-height: 48px; }
.fld input::placeholder, .fld textarea::placeholder { color: var(--muted); opacity: .75; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(110, 42, 130, .18); }
.fld [aria-invalid="true"] { border-color: #C2362B; box-shadow: 0 0 0 3px rgba(194, 54, 43, .14); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.logo-drop { display: flex; gap: 20px; align-items: center; padding: 18px; border: 1.5px dashed var(--border-strong); border-radius: 14px; transition: border-color .16s, background .16s; }
.logo-drop.is-over { border-color: var(--primary); background: var(--primary-50); }
.logo-frame { display: grid; place-items: center; flex: none; width: 96px; height: 96px; border-radius: 12px; background: var(--sunk); border: 1px solid var(--border); overflow: hidden; color: var(--muted); }
.logo-frame img { width: 100%; height: 100%; object-fit: contain; padding: 8px; background: #fff; }
.logo-frame .ico { width: 28px; height: 28px; stroke-width: 1.5; }
.logo-help { color: var(--muted); font-size: 14px; margin-top: 2px; }
.logo-help.is-bad { color: #C2362B; }
.logo-btns { display: flex; gap: 8px; margin-top: 12px; }
.logo-btns label { cursor: pointer; position: relative; }

.reg-form .cf-turnstile { margin-top: 32px; min-height: 65px; }
.reg-send { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-soft); max-width: 46ch; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--primary); }

.reg-alert { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 28px; padding: 12px 14px; border-radius: 10px; background: #FDF0EE; border: 1px solid #F1C4BE; color: #8A2219; font-size: 14.5px; font-weight: 500; }
.reg-alert .ico { margin-top: 2px; }
@media (prefers-color-scheme: dark) {
  .reg-alert { background: #2A1414; border-color: #5A2621; color: #F4B4AC; }
  .fld [aria-invalid="true"] { border-color: #E06A5E; }
  .logo-help.is-bad { color: #F4B4AC; }
  .kind:has(input:checked)::after { background: var(--surface); }
}

.reg-done { text-align: center; padding: 64px 40px; }
.reg-done-ico { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 999px; background: var(--ink); color: var(--green); margin-bottom: 24px; }
.reg-done-ico .ico { width: 26px; height: 26px; stroke-width: 2.5; }
.reg-done h2 { font-size: clamp(26px, 3vw, 32px); letter-spacing: -0.035em; }
.reg-done p { color: var(--muted); max-width: 46ch; margin: 14px auto 28px; text-wrap: pretty; }
.reg-done:focus { outline: none; }
.foot-legal--only { margin-top: 0; padding-top: 0; border-top: 0; }

@media (max-width: 900px) {
  .reg-in { grid-template-columns: 1fr; gap: 40px; }
  .reg-side { position: static; }
  .reg-steps { grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
  .reg-steps li { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 760px) {
  .reg { padding: 40px 0 72px; }
  .reg-steps { grid-template-columns: 1fr; }
  .reg-steps li { grid-template-columns: 30px 1fr; gap: 14px; }
  .reg-form, .reg-done { padding: 24px 18px; border-radius: 16px; }
  .kinds, .grid { grid-template-columns: 1fr; }
  .reg-send { flex-direction: column; align-items: stretch; }
  .reg-send .btn { justify-content: center; }
  .logo-drop { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) {
  .top .brand-word { display: none; }
}
[hidden] { display: none !important; }
.top--solid .top-act { margin-left: auto; }

/* Privacy */
.legal { padding: 72px 0 112px; }
.legal-in { max-width: 720px; }
.legal h1 { font-size: clamp(34px, 4vw, 46px); letter-spacing: -0.045em; }
.legal .lede { font-size: 18px; margin-top: 12px; text-wrap: pretty; }
.legal-date { color: var(--muted); font-size: 14px; margin-top: 16px; }
.legal h2 { font-size: 22px; letter-spacing: -0.025em; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--muted); font-size: 16.5px; line-height: 1.6; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; display: grid; gap: 8px; }
.legal b { color: var(--text); font-weight: 600; }
.legal a, .consent a, .foot-legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-color-scheme: dark) {
  .qa-hold { background: rgba(232, 93, 98, 0.18); color: #F3A6A9; }
  .qa-ok { color: #7FD49A; }
  .qa-low { color: #F3A6A9; }
}
