/* The site of Warda-DNS. The charter (colours of both themes, fonts, logos)
   comes from @warda-dns/brand, copied into /brand/ at the build: every
   colour below is a token of the charter, but the glow of the heroes and
   the background of the commands. No inline style anywhere (the CSP forbids
   it): every page is drawn from these classes. */
@import url('/brand/warda.css');

:root {
  --bg: var(--w-bg);
  --surface: var(--w-surface);
  --panel: var(--w-panel);
  --border: var(--w-border);
  --text: var(--w-text);
  --muted: var(--w-muted);
  --primary: var(--w-primary);
  --primary-hover: var(--w-primary-hover);
  --on-primary: var(--w-on-primary);
  --accent: var(--w-accent);
  --accent-soft: var(--w-accent-soft);
  --success: var(--w-success);
  --warning: var(--w-warning);
  --error: var(--w-error);
  --link: var(--w-link);
  --glow: rgba(110, 70, 183, 0.1);
  --code: #14142b;
  --lift: 0 20px 50px rgba(20, 20, 43, 0.12);
  --title: var(--w-font-title);
  --mono: var(--w-font-mono);
  --gutter: clamp(18px, 4vw, 40px);
  --space: clamp(64px, 8vw, 104px);
  --ease: var(--w-ease);
  font-family: var(--w-font-body);
  font-size: 19px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --glow: rgba(110, 70, 183, 0.22);
    --code: #07070c;
    --lift: 0 20px 50px rgba(0, 0, 0, 0.28);
  }
}
:root[data-theme='dark'] {
  --glow: rgba(110, 70, 183, 0.22);
  --code: #07070c;
  --lift: 0 20px 50px rgba(0, 0, 0, 0.28);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
main {
  flex: 1;
}
a {
  color: var(--link);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--text);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
h1,
h2,
h3 {
  font-family: var(--title);
  font-weight: 600;
  margin: 0;
  text-wrap: balance;
}
h1 {
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.1;
  letter-spacing: 0.01em;
}
h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.15;
}
h3 {
  font-size: 21px;
  line-height: 1.25;
}
.h3-size {
  font-size: clamp(24px, 2.6vw, 32px);
}
.h4-size {
  font-size: clamp(21px, 2vw, 24px);
}
p {
  margin: 0;
  text-wrap: pretty;
}
code,
.mono {
  font-family: var(--mono);
  font-size: 0.8em;
}
img,
svg {
  max-width: 100%;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

/* Helpers. */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.narrow {
  max-width: 820px;
}
.sr,
.vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
/* Shown only when the script runs (theme.js marks <html class="js">). */
html:not(.js) .js-only {
  display: none !important;
}
[hidden] {
  display: none !important;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 15px;
}
.small-text {
  font-size: 16px;
}
.accent {
  color: var(--accent);
}
.ok {
  color: var(--success);
}
.warn {
  color: var(--warning);
}
.center {
  text-align: center;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--w-radius);
  background: var(--primary);
  color: var(--on-primary);
}
.skip:focus {
  left: 8px;
}
.kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.lead {
  font-size: clamp(19px, 1.6vw, 22px);
  color: var(--muted);
  max-width: 36em;
}
.intro {
  max-width: 40em;
  margin: 14px 0 44px;
}
.badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 5px 12px;
}
.badge-solid {
  background: var(--primary);
  color: var(--on-primary);
  letter-spacing: 0.06em;
  align-self: flex-start;
}
.pill {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}
.pill-text {
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  padding: 5px 12px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  font-family: var(--mono);
  font-size: 13px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 10px;
  background: var(--panel);
}
.chip-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
}
.chip-ok {
  background: transparent;
  border-color: var(--success);
  color: var(--success);
}
.chip-muted {
  background: transparent;
  font-size: 12px;
  color: var(--muted);
}
.tag {
  font-family: var(--mono);
  font-size: 12px;
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
  align-self: flex-start;
}
.tag-blk {
  background: var(--accent-soft);
  color: var(--accent);
}
.tag-ok {
  color: var(--muted);
}
.tag-warn {
  background: color-mix(in oklab, var(--warning) 18%, transparent);
  color: var(--warning);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
  display: inline-block;
}

/* Buttons. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  line-height: 1.2;
  transition:
    background-color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
}
.btn-primary:hover {
  background: var(--primary-hover);
  color: var(--on-primary);
}
.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}
.btn-soft {
  background: var(--panel);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover,
.btn-soft:hover {
  border-color: var(--accent);
  color: var(--text);
}
.btn-lg {
  min-height: 52px;
  padding: 0 26px;
  font-size: 19px;
}
.btn-sm {
  min-height: 42px;
  padding: 0 16px;
  font-size: 16px;
}
.btn-block {
  display: flex;
  width: 100%;
}
.btn[disabled] {
  opacity: 0.7;
  cursor: progress;
}
.linkish {
  background: none;
  border: 0;
  padding: 0;
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  font-size: 17px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.actions.after {
  margin-top: 24px;
  gap: 12px 24px;
}
.facts {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}

/* Segmented controls (theme, filters). */
.seg {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2px;
  background: var(--surface);
}
.seg button {
  border: 0;
  border-radius: 6px;
  padding: 0 14px;
  min-height: 40px;
  cursor: pointer;
  background: transparent;
  color: var(--muted);
  font-size: 16px;
}
.seg button[aria-pressed='true'] {
  background: var(--accent-soft);
  color: var(--text);
}
.seg-sm button {
  font-family: var(--mono);
  font-size: 12px;
  min-height: 32px;
  padding: 0 10px;
}

/* Header. */
.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.head-row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 62px;
  padding-block: 10px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  flex: none;
}
.brand:hover {
  color: var(--text);
}
.wordmark {
  font-family: var(--title);
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 27px;
  line-height: 1;
  white-space: nowrap;
}
.wordmark span {
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.brand-sm .wordmark {
  font-size: 23px;
}
.brand-sm .wordmark span {
  font-size: 13px;
}
.brand-lg {
  flex-direction: column;
}
.logo .ring,
.logo .nodes {
  stroke: var(--w-logo-ring);
}
.logo .nodes,
.logo .hole {
  fill: var(--bg);
}
.site-foot .logo .nodes,
.site-foot .logo .hole {
  fill: var(--surface);
}
.logo .disc {
  fill: var(--w-logo-disc);
}
.nav-main {
  display: flex;
  gap: 4px;
  flex: 1;
  white-space: nowrap;
}
.nav-main a {
  text-decoration: none;
  font-size: 17px;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--muted);
}
.nav-main a:hover,
.nav-main a[aria-current='page'] {
  color: var(--text);
}
.nav-main a[aria-current='page'] {
  background: var(--accent-soft);
}
.head-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-menu {
  position: relative;
}
.lang-menu summary,
.nav-mobile summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}
.lang-menu summary::-webkit-details-marker,
.nav-mobile summary::-webkit-details-marker,
.faq summary::-webkit-details-marker {
  display: none;
}
.lang-menu summary code {
  font-size: 13px;
}
.lang-menu[open] .ico-chevron {
  transform: rotate(180deg);
}
.lang-menu ul {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  margin: 0;
  padding: 6px;
  list-style: none;
  min-width: 190px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--lift);
}
.lang-menu a {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 7px 10px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--text);
  font-size: 17px;
}
.lang-menu a:hover,
.lang-menu a[aria-current='true'] {
  background: var(--accent-soft);
}
.lang-menu a code {
  color: var(--accent);
  width: 2em;
}
.nav-mobile {
  display: none;
  margin-left: auto;
}
.nav-mobile summary {
  font-family: var(--mono);
  font-size: 13px;
  min-height: 44px;
  padding: 0 14px;
}
.nav-mobile-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 8px var(--gutter) 18px;
  max-height: calc(100vh - 62px);
  overflow-y: auto;
}
.nav-list {
  display: flex;
  flex-direction: column;
}
.nav-list a {
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.nav-list a[aria-current='page'] {
  color: var(--accent);
}
.lang-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 16px 0;
  padding: 0;
}
.lang-row a {
  display: inline-flex;
  min-width: 44px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 14px;
  text-decoration: none;
  color: var(--text);
}
.lang-row a[aria-current='true'] {
  background: var(--accent-soft);
  border-color: var(--accent);
}
@media (max-width: 1160px) {
  .nav-main,
  .head-tools {
    display: none;
  }
  .nav-mobile {
    display: block;
  }
  .site-head {
    position: sticky;
  }
}

/* Footer. */
.site-foot {
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.foot-row {
  padding-block: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px 48px;
  justify-content: space-between;
  align-items: flex-start;
}
.foot-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 22em;
}
.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 17px;
}

/* Heroes and sections. */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: '';
  position: absolute;
  right: -15%;
  top: -60%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow), transparent);
  pointer-events: none;
}
.hero-home::before,
.hero-beta::before {
  right: -12%;
  top: -30%;
  width: 70%;
}
.hero-inner {
  position: relative;
  padding-block: clamp(44px, 7vw, 88px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero-tabs .hero-inner {
  padding-bottom: 0;
}
.hero-center {
  border-bottom: 0;
}
.hero-center::before {
  left: 50%;
  top: -50%;
  width: 70%;
  transform: translateX(-50%);
}
.hero-center .hero-inner {
  align-items: center;
  text-align: center;
}
.hero-message .hero-inner {
  padding-block: clamp(64px, 10vw, 128px);
}
.hero-grid {
  position: relative;
  padding-block: clamp(48px, 8vw, 104px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.hero-grid-top {
  align-items: start;
  padding-block: clamp(44px, 7vw, 96px);
}
.hero-text {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hero-home h1,
.hero-beta h1 {
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.08;
}
.section {
  padding-block: var(--space);
}
.section > h2,
.section > .kicker + h2 {
  margin-bottom: 40px;
}
.section > .kicker + h2:has(+ .intro) {
  margin-bottom: 0;
}
.section-sm {
  padding-block: clamp(40px, 6vw, 80px);
}
.section-top {
  padding-top: clamp(36px, 5vw, 72px);
}
.section-end {
  padding-bottom: clamp(56px, 8vw, 96px);
}
.band {
  background: var(--panel);
  border-block: 1px solid var(--border);
}
.band .section > h2 {
  margin-bottom: 32px;
}
.anchor {
  scroll-margin-top: 80px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 290px)), 1fr));
  gap: 20px;
}
.g-180 {
  --min: 180px;
}
.g-200 {
  --min: 200px;
}
.g-290 {
  --min: 290px;
}
.g-300 {
  --min: 300px;
}
.g-320 {
  --min: 320px;
}
.g-340 {
  --min: 340px;
}
.g-360 {
  --min: 360px;
}
.g-420 {
  --min: 420px;
}
.grid.tight {
  gap: 16px;
}
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.split-top {
  align-items: start;
}
.split-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 34em;
}
.split-text .kicker {
  margin: 0;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.card-tall {
  gap: 16px;
  padding: 28px;
}
.card-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
}
.feature {
  gap: 14px;
  padding: 28px;
}
.ico-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  flex: none;
  color: var(--accent);
}
.note {
  font-size: 16px;
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--panel);
  margin-top: auto;
}
.note-warn {
  background: color-mix(in oklab, var(--warning) 16%, transparent);
}
.note-box {
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 17px;
  padding: 16px 18px;
  border-radius: 12px;
}
.callout {
  border: 1px solid var(--primary);
  border-radius: 18px;
  background: var(--accent-soft);
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  align-items: center;
  justify-content: space-between;
}
.callout-plain {
  border-color: var(--border);
  background: var(--panel);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 40px);
}
.callout-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(24px, 4vw, 56px);
}
.callout-top {
  align-items: start;
  margin-top: 48px;
}
.callout-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 34em;
}
.callout-text .kicker {
  margin: 0;
}
.callout-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.callout-lead {
  font-size: 20px;
  max-width: 30em;
}
.bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 24px;
}
.bar-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  align-items: center;
}
.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.jump a {
  font-size: 16px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 6px 14px;
}
.jump a:hover {
  border-color: var(--accent);
}

/* Lists. */
.checks,
.list-card,
.ranked,
.mini-steps,
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.ico-check {
  flex: none;
  margin-top: 4px;
  color: var(--accent);
}
.checks-ok .ico-check,
.checks-plan .ico-check,
.ico-check.ok {
  color: var(--success);
}
.checks-accent .ico-check {
  color: var(--accent);
}
.checks-accent li:first-child {
  font-weight: 600;
}
.checks-lines {
  gap: 0;
}
.checks-lines li {
  padding: 14px 0;
  border-top: 1px solid var(--border);
  gap: 14px;
}
.checks-plan {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  gap: 12px;
}
.bullets {
  margin: 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.list-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}
.list-card li {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
}
.list-card li + li {
  border-top: 1px solid var(--border);
}
.list-card strong {
  font-weight: 600;
}
.ranked {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ranked li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  background: var(--surface);
}
.rank {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--warning);
  color: var(--warning);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 14px;
}
.rank-sm {
  width: 26px;
  height: 26px;
  font-size: 12px;
}

/* Steps. */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
}
.steps li {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.step-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.step-num {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  display: grid;
  place-items: center;
  font-family: var(--title);
  font-weight: 700;
  font-size: 19px;
}
.step-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.step-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 84px;
  align-content: center;
  flex-direction: column;
  justify-content: center;
}
.step-visual:has(> .chip) {
  flex-direction: row;
}
.visual-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

/* Windows of the interface (demonstrations). */
.mock {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--lift);
  overflow: hidden;
  min-width: 0;
}
.mock-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--panel);
}
.mock-title {
  font-family: var(--title);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
}
.mock-meta {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.mock-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mock-dash .mock-body {
  padding: 18px;
  gap: 18px;
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  flex: none;
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 var(--success);
  }
  100% {
    box-shadow: 0 0 0 7px transparent;
  }
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--border);
}
.stats > div {
  padding: 14px 18px;
}
.stats > div + div {
  border-left: 1px solid var(--border);
}
.stat-num {
  font-family: var(--mono);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 500;
}
.stat-label {
  font-size: 15px;
  color: var(--muted);
}
.feed {
  list-style: none;
  margin: 0;
  padding: 6px 0;
}
.feed-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: center;
  padding: 10px 18px;
  border-bottom: 1px solid color-mix(in oklab, var(--border) 55%, transparent);
}
.feed-row.is-new {
  animation: slide 0.4s var(--ease);
}
@keyframes slide {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}
.feed-main {
  min-width: 0;
}
.feed-domain {
  font-family: var(--mono);
  font-size: 13.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.feed-sub {
  font-size: 15px;
  color: var(--muted);
}
.feed-time {
  font-family: var(--mono);
  font-size: 12px;
}
.demo-note {
  font-size: 14px;
  color: var(--muted);
  padding: 10px 18px 12px;
  border-top: 1px solid var(--border);
  background: var(--panel);
}
.chart-head,
.sugg-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 15px;
  color: var(--muted);
}
.sugg-head {
  color: var(--text);
}
.chart {
  display: block;
  width: 100%;
  height: 72px;
  margin-top: -10px;
}
.chart rect {
  fill: var(--primary);
}
.chart rect.hi {
  fill: var(--accent);
}
.sugg {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg);
}
.sugg-domain {
  font-family: var(--mono);
  font-size: 14px;
  overflow-wrap: anywhere;
}
.sugg-why {
  font-size: 15px;
  color: var(--muted);
}
.sugg-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.sugg-actions,
.sugg-done {
  display: flex;
  gap: 8px 12px;
  flex-wrap: wrap;
  align-items: center;
}
html:not(.js) .sugg-actions {
  display: none;
}
.sugg-state {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}
.sugg-state.is-blk {
  color: var(--success);
}
.try {
  font-size: 17px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* Family cards. */
.member {
  padding: 24px;
  gap: 16px;
}
.member-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.member h3 {
  font-size: 20px;
}
.avatar {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--title);
  font-weight: 700;
  font-size: 20px;
}
.hours {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
}
.schedule {
  display: block;
  width: 100%;
  height: 12px;
  border-radius: 6px;
  background: var(--panel);
  outline: 1px solid var(--border);
}
.schedule rect {
  fill: var(--primary);
}
.schedule-label {
  margin-top: 8px;
  font-size: 16px;
}

/* Comparison. */
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 15px;
  color: var(--muted);
}
.legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.legend .mark {
  width: 18px;
  height: 18px;
}
.mark {
  flex: none;
}
.mark-y .mark-fill {
  fill: var(--success);
}
.mark-y .mark-tick {
  stroke: var(--surface);
}
.mark-p {
  color: var(--warning);
}
.mark-n {
  color: var(--error);
}
.cmp-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.cmp {
  width: 100%;
  border-collapse: collapse;
  font-size: 17px;
}
.cmp thead tr {
  background: var(--panel);
}
.cmp th,
.cmp td {
  padding: 14px 10px;
  vertical-align: middle;
}
.cmp thead th {
  font-family: var(--title);
  font-weight: 600;
  font-size: 16px;
  width: 18%;
}
.cmp thead th.is-warda {
  color: var(--accent);
  font-weight: 700;
  background: var(--accent-soft);
  width: 22%;
}
.cmp thead .cmp-first {
  text-align: left;
  padding-left: 18px;
  font-family: inherit;
  font-weight: 500;
  font-size: 15px;
  color: var(--muted);
  width: auto;
}
.cmp tbody tr {
  border-top: 1px solid var(--border);
}
.cmp tbody th {
  text-align: left;
  font-weight: 500;
  padding-left: 18px;
  line-height: 1.3;
}
.cmp td.is-warda {
  background: color-mix(in oklab, var(--accent-soft) 55%, transparent);
}
.cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cell-text {
  font-size: 15px;
  line-height: 1.25;
  color: var(--muted);
}
.k-y .cell-text {
  color: var(--text);
}
.cmp.diff-only tr.same {
  display: none;
}
.cmp-mini thead th {
  width: 170px;
}
.cmp-mini td {
  text-align: center;
}
.cmp-mini .cell {
  flex-direction: column;
  gap: 4px;
}
.cmp-mini .cell-text {
  font-size: 14px;
  max-width: 11em;
}
@media (max-width: 820px) {
  /* One card by row: the name of the product above each mark. */
  .cmp,
  .cmp tbody,
  .cmp tr,
  .cmp th,
  .cmp td {
    display: block;
  }
  .cmp thead tr {
    display: flex;
    background: none;
  }
  .cmp thead th:not(.cmp-first) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .cmp thead .cmp-first {
    padding: 0 0 12px;
  }
  .cmp-wrap {
    background: none;
    border: 0;
    border-radius: 0;
    overflow: visible;
  }
  .cmp tbody {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .cmp tbody tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
  }
  .cmp.diff-only tr.same {
    display: none;
  }
  .cmp tbody th {
    grid-column: 1 / -1;
    padding: 14px 16px;
    font-weight: 600;
    font-size: 18px;
  }
  .cmp td {
    padding: 10px 8px;
    border-top: 1px solid var(--border);
    text-align: center;
  }
  .cmp td + td {
    border-left: 1px solid var(--border);
  }
  .cmp td::before {
    content: attr(data-name);
    display: block;
    font-family: var(--title);
    font-weight: 600;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 5px;
  }
  .cmp td.is-warda::before {
    color: var(--accent);
  }
  .cmp .cell {
    flex-direction: column;
    gap: 5px;
  }
  .cmp .cell-text {
    font-size: 14px;
    line-height: 1.2;
  }
}

/* Features: the themes, tabs with the script, one after the other without. */
.tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  margin-top: 18px;
  scrollbar-width: none;
}
.tab {
  flex: none;
  font-size: 17px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  padding: 12px 16px;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  text-decoration: none;
}
.tab:hover,
.tab[aria-selected='true'] {
  color: var(--text);
}
.tab[aria-selected='true'] {
  border-bottom-color: var(--accent);
}
.tab-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
}
.panel + .panel {
  border-top: 1px solid var(--border);
}
html.js .page-features .panel + .panel {
  border-top: 0;
}
.toggle {
  width: 44px;
  height: 24px;
  border-radius: 12px;
  position: relative;
  flex: none;
  background: var(--border);
}
.toggle span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--on-primary);
}
.toggle.on {
  background: var(--primary);
}
.toggle.on span {
  left: 23px;
}
.demo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.levels {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2px;
}
.levels span {
  flex: 1;
  text-align: center;
  font-size: 16px;
  padding: 8px;
  border-radius: 6px;
  color: var(--muted);
}
.levels .on {
  background: var(--primary);
  color: var(--on-primary);
}
.ages {
  position: relative;
  height: 64px;
  margin: 6px 4px 0;
  font-size: 14px;
}
.ages-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 22px;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent-soft) 0 50%, var(--primary) 50% 60%, var(--accent) 60%);
}
.ages .age,
.ages code {
  position: absolute;
}
.ages .age {
  top: 0;
}
.ages code {
  top: 40px;
  font-size: 12px;
  color: var(--muted);
}
.ages .a0,
.ages .n0 {
  left: 0;
}
.ages .a1,
.ages .n1 {
  left: 50%;
  transform: translateX(-50%);
}
.ages .a2 {
  left: 60%;
  transform: translateX(-10%);
}
.ages .n2 {
  left: 60%;
  transform: translateX(-50%);
}
.people {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}
.person {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  background: var(--bg);
}
.person-name {
  font-family: var(--title);
  font-weight: 600;
}
.demo-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  border-radius: 10px;
  padding: 12px 14px;
  background: var(--accent-soft);
}
.demo-warn {
  justify-content: flex-start;
  background: color-mix(in oklab, var(--warning) 16%, transparent);
  font-size: 16px;
}
.demo-warn .dot {
  width: 8px;
  height: 8px;
  background: var(--warning);
}
.demo-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.demo-url {
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--bg);
  overflow-wrap: anywhere;
}
.demo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.demo-table th {
  text-align: left;
  font-weight: 400;
  color: var(--muted);
  padding: 6px 0;
}
.demo-table td {
  padding: 8px 0;
}
.demo-table tr {
  border-bottom: 1px solid var(--border);
}

/* Pricing: the period is a pair of radio buttons (.vh) before the plans. */
.period {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  background: var(--surface);
  margin-top: 10px;
}
.period label {
  font-size: 17px;
  border-radius: 999px;
  padding: 0 18px;
  min-height: 42px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}
.period-badge {
  font-family: var(--mono);
  font-size: 11px;
  border-radius: 999px;
  padding: 3px 8px;
  background: var(--accent-soft);
  color: var(--accent);
}
#period-month:checked ~ .hero .period-month,
#period-year:checked ~ .hero .period-year {
  background: var(--primary);
  color: var(--on-primary);
}
#period-year:checked ~ .hero .period-year .period-badge {
  background: var(--on-primary);
  color: var(--primary);
}
#period-month:focus-visible ~ .hero .period-month,
#period-year:focus-visible ~ .hero .period-year {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
#period-month:checked ~ .plans-wrap .price-year,
#period-year:checked ~ .plans-wrap .price-month {
  display: none;
}
.plans-wrap {
  max-width: 1100px;
  padding-top: 36px;
}
.plans-wrap > .center {
  margin-top: 24px;
  font-size: 17px;
}
.plans {
  gap: 24px;
  align-items: stretch;
}
.plan {
  border-radius: 16px;
  padding: clamp(24px, 3vw, 36px);
  gap: 20px;
}
.plan-featured {
  border: 2px solid var(--primary);
  box-shadow: var(--lift);
}
.plan-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.plan-top .plan-head {
  flex: 1;
  min-width: 14em;
}
.plan h2 {
  font-size: 22px;
}
.plan-top {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: flex-start;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 4px 10px;
  flex-wrap: wrap;
  min-height: 76px;
}
.price-num {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 48px;
  line-height: 1;
}
.price-note {
  flex-basis: 100%;
  font-size: 17px;
  color: var(--accent);
}
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 20px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq-sign::before {
  content: '+';
  font-family: var(--mono);
  color: var(--accent);
}
.faq details[open] .faq-sign::before {
  content: '−';
}
.faq details p {
  padding-bottom: 18px;
}

/* Download: one radio button by platform (.vh), the tabs are its labels. */
.platform-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.platform-tab {
  cursor: pointer;
  border-radius: 12px;
  padding: 16px 18px;
  min-height: 64px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.platform-tab code {
  font-size: 12px;
  color: var(--muted);
}
.platform-name {
  font-family: var(--title);
  font-weight: 600;
  font-size: 18px;
}
#platform-0:checked ~ .platform-tabs .pt-0,
#platform-1:checked ~ .platform-tabs .pt-1,
#platform-2:checked ~ .platform-tabs .pt-2 {
  border: 2px solid var(--primary);
  background: var(--accent-soft);
  padding: 15px 17px;
}
#platform-0:focus-visible ~ .platform-tabs .pt-0,
#platform-1:focus-visible ~ .platform-tabs .pt-1,
#platform-2:focus-visible ~ .platform-tabs .pt-2 {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
#platform-0:not(:checked) ~ .platform-panels .pp-0,
#platform-1:not(:checked) ~ .platform-panels .pp-1,
#platform-2:not(:checked) ~ .platform-panels .pp-2 {
  display: none;
}
.platform-panel {
  border-radius: 16px;
  padding: clamp(22px, 3.5vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(24px, 4vw, 48px);
}
.platform-text,
.platform-cmd {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.platform-cmd .btn {
  margin-top: auto;
}
.mini-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mini-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.mini-num {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 13px;
}
.code {
  background: var(--code);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  min-width: 0;
  color: #f1eeff;
}
.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 8px 8px 16px;
  min-height: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--mono);
  font-size: 12px;
  color: #b9b1d6;
}
.copy {
  font-family: var(--mono);
  font-size: 13px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 6px;
  border: 1px solid #34305a;
  background: #14142b;
  color: #f1eeff;
  cursor: pointer;
}
.copy:hover {
  border-color: #c7b4ff;
}
.code pre {
  margin: 0;
  padding: 16px;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.code pre code {
  font-size: inherit;
}
.prompt {
  color: #c7b4ff;
  user-select: none;
}
.out-ok {
  color: #5fb86e;
}
.verify {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.verify > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Roadmap. */
.road-progress {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 640px;
  margin-top: 10px;
}
.road-bar {
  display: block;
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: var(--panel);
  outline: 1px solid var(--border);
}
.road-bar .done {
  fill: var(--success);
}
.road-bar .now {
  fill: var(--accent);
}
.road-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 16px;
  color: var(--muted);
  align-items: center;
}
.road-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.road-legend code {
  margin-left: auto;
}
.dot-done {
  background: var(--success);
}
.dot-now {
  background: var(--accent);
}
.dot-next {
  border: 2px solid var(--warning);
}
.chips-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.chips-filter button {
  font-size: 16px;
  border-radius: 999px;
  padding: 0 14px;
  min-height: 38px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}
.chips-filter button[aria-pressed='true'] {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
}
.road-cols {
  align-items: start;
}
.road-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}
.road-col-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 4px 0;
}
.road-col-head h2 {
  font-size: 19px;
}
.road-col-head code {
  margin-left: auto;
  color: var(--muted);
}
.road-col > .muted {
  padding: 0 4px 4px;
}
.road-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.road-next {
  border-style: dashed;
}
.road-title {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.road-title h3 {
  font-family: inherit;
  font-size: 18px;
  line-height: 1.3;
}
.road-item p {
  font-size: 16px;
}
.road-item .tag {
  font-size: 11px;
  border-radius: 6px;
  padding: 3px 8px;
}
.road-item-bar {
  display: block;
  width: 100%;
  height: 6px;
  border-radius: 3px;
}
.road-item-bar .track {
  fill: var(--panel);
}
.road-item-bar .fill {
  fill: var(--accent);
}
.road-empty {
  padding: 12px 4px;
  font-size: 16px;
}

/* Forms. */
.form-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  min-width: 0;
}
.form-hero {
  box-shadow: var(--lift);
}
.form {
  padding: clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.form-head h2 {
  font-size: 22px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.field > label,
.field legend {
  font-size: 16px;
  font-weight: 600;
  padding: 0;
}
.field legend {
  margin-bottom: 8px;
}
.hint {
  font-weight: 400;
  color: var(--muted);
}
.field input:not([type='radio']),
.field select,
.field textarea {
  font-size: 18px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  width: 100%;
}
.field select {
  padding: 0 12px;
}
.field textarea {
  padding: 12px 14px;
  line-height: 1.5;
  resize: vertical;
}
.field input.mono {
  font-family: var(--mono);
  font-size: 16px;
}
.field [aria-invalid='true'] {
  border-color: var(--error) !important;
}
.field-error {
  font-size: 15px;
  color: var(--error);
}
.form-alert {
  font-size: 16px;
  border-radius: 8px;
  padding: 12px 14px;
  background: color-mix(in oklab, var(--error) 14%, transparent);
  border: 1px solid var(--error);
}
/* The trap for the robots: out of sight, out of the keyboard. */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.choice {
  position: relative;
  cursor: pointer;
}
.choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.choice-card {
  font-size: 17px;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
}
.choice-dot {
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--border);
}
.choice-size {
  font-family: var(--mono);
  font-size: 16px;
  min-height: 48px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--muted);
}
.choice-size .choice-dot {
  display: none;
}
.sizes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.choice-pill span {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--muted);
}
.choice:has(input:checked).choice-card,
.choice:has(input:checked).choice-size,
.choice-pill:has(input:checked) span {
  border: 2px solid var(--primary);
  background: var(--accent-soft);
  color: var(--text);
}
.choice-card:has(input:checked) {
  padding: 9px 13px;
}
.choice:has(input:checked) .choice-dot {
  border-color: var(--accent);
  background: var(--accent);
}
.choice:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 8px;
}
.choice-pill:has(input:focus-visible) {
  border-radius: 999px;
}
fieldset[data-invalid] .choice-card,
fieldset[data-invalid] .choice-size {
  border-color: var(--error);
}
.form-done {
  padding: clamp(24px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.form-done h3 {
  font-size: 22px;
}
.form-done:focus {
  outline: none;
}
.done-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--success) 18%, transparent);
  display: grid;
  place-items: center;
  color: var(--success);
}
.done-icon.is-error {
  background: color-mix(in oklab, var(--error) 14%, transparent);
}
.done-icon .mark {
  width: 32px;
  height: 32px;
}
.ico-done {
  width: 28px;
  height: 28px;
}
.slot {
  font-family: var(--mono);
  font-size: 0.85em;
  color: var(--text);
  overflow-wrap: anywhere;
}
h3 .slot {
  font-family: inherit;
  font-size: inherit;
}

/* Legal notice and privacy. */
.hero-doc .hero-inner {
  gap: 16px;
}
.wrap-doc {
  max-width: 1100px;
}
.doc-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.doc-tabs a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0 14px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--muted);
}
.doc-tabs a[aria-current='page'] {
  background: var(--accent-soft);
  color: var(--accent);
}
.doc {
  padding-block: clamp(36px, 5vw, 64px) clamp(56px, 8vw, 96px);
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  line-height: 1.6;
}
.toc {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 1px solid var(--border);
}
.toc-title {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 0 10px 16px;
}
.toc a {
  font-size: 17px;
  text-decoration: none;
  color: var(--muted);
  padding: 6px 0 6px 16px;
}
.toc a:hover {
  color: var(--text);
}
.doc-body {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 40px);
  max-width: 42em;
}
.doc-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: clamp(28px, 4vw, 40px);
  border-bottom: 1px solid var(--border);
}
.doc-section h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.2;
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.doc-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  font-weight: 400;
}
@media (max-width: 820px) {
  .doc {
    grid-template-columns: minmax(0, 1fr);
  }
  .toc {
    display: none;
  }
}

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