/**
 * About. Geist tokens; the disc panel (about.js) is the home board's pattern, drawn in 2D.
 * Same theme key as Home (sb-home-theme, light by default).
 */
.ab-doc { --ds-link: #0761d1; --ab-edge: #8a8a8a; --ab-ease: cubic-bezier(0.22, 1, 0.36, 1); scroll-padding-top: 88px; }
html.ab-doc[data-sb-theme="dark"] {
  color-scheme: dark;
  --ds-primary: #ededed; --ds-on-primary: #0a0a0a; --ds-ink: #ededed; --ds-body: #b4b4b4; --ds-mute: #a0a0a0;
  --ds-hairline: #2a2a2a; --ds-canvas: #0a0a0a; --ds-canvas-elevated: #121212; --ds-link: #52a8ff; --ab-edge: #777;
}
.ab-doc body { background: var(--ds-canvas); color: var(--ds-ink); line-height: 24px; -webkit-font-smoothing: antialiased; }
.ab-doc :where(h1, h2, h3, p, ul, ol, dl, dd) { margin: 0; padding: 0; }
.ab-doc :where(ul, ol) { list-style: none; }
.ab-doc [hidden] { display: none !important; }
.ab-doc :focus-visible { outline: 2px solid var(--ds-link); outline-offset: 2px; }
.ab-doc main:focus { outline: 0; }
.ab-doc main { overflow-x: clip; }
.ab-wrap { max-width: var(--ds-container-max); margin: 0 auto; padding-inline: 24px; }
.ab-skip { position: absolute; left: 16px; top: -80px; z-index: 60; padding: 12px 16px; border-radius: var(--ds-radius-sm); background: var(--ds-primary); color: var(--ds-on-primary); }
.ab-skip:focus { top: 8px; }


/* —— Hero: the statement, four ways in, and the panel that answers them —— */
.ab-hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); min-height: min(calc(100svh - var(--nv-head)), 860px); }
.ab-hero__text { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: clamp(32px, 5.5vw, 72px) clamp(24px, 4vw, 64px) 24px max(24px, calc((100vw - 1152px) / 2)); }
.ab-hero h1 { max-width: 13.5ch; font-size: clamp(40px, 4.9vw, 72px); font-weight: 700; line-height: 1; letter-spacing: -0.05em; text-wrap: balance; }
.ab-routes li + li { border-top: 1px solid var(--ds-hairline); }
.ab-route { display: grid; grid-template-columns: 14px minmax(0, 1fr) 20px; gap: 16px; align-items: center; padding: 15px 0; color: var(--ds-body); }
.ab-route:hover { text-decoration: none; }
.ab-route:focus-visible { border-radius: var(--ds-radius-sm); outline-offset: 4px; }
.ab-route b { display: block; font-size: 20px; font-weight: 600; line-height: 26px; letter-spacing: -0.02em; color: var(--ds-ink); }
.ab-route i { width: 14px; height: 14px; border: 1px solid var(--ab-edge); border-radius: 50%; transition: background-color 0.3s, border-color 0.3s; }
.ab-route.is-on i { background: var(--hue); border-color: color-mix(in srgb, var(--hue) 70%, #000); }
.ab-route svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--ab-ease); }
.ab-route:is(:hover, :focus-visible) svg { transform: translateX(4px); color: var(--ds-ink); }

.ab-panel, .ab-plate { position: relative; overflow: hidden; background-color: var(--hue); background-image: radial-gradient(circle, color-mix(in srgb, var(--hue) 90%, #000) 40%, transparent 43%); background-size: 22px 22px; }
.ab-panel canvas, .ab-plate canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ab-panel__still { position: absolute; inset: 18%; width: 64%; height: 64%; fill: none; stroke: #171717; stroke-width: 2.6; stroke-linecap: round; }
.ab-panel.is-live .ab-panel__still { display: none; }

/* —— How —— */
.ab-how { padding-block: clamp(72px, 10vw, 128px); }
.ab-doc :where(h2) { font-size: clamp(32px, 4.2vw, 56px); font-weight: 700; line-height: 1.02; letter-spacing: -0.045em; text-wrap: balance; }
.ab-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 48px; counter-reset: step; }
.ab-steps li { position: relative; padding-top: 52px; counter-increment: step; }
.ab-steps li::before { content: counter(step); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ds-ink); color: var(--ds-canvas); font-weight: 600; }
.ab-steps li:not(:last-child)::after { content: ""; position: absolute; top: 12px; left: 44px; right: -20px; height: 8px; background: radial-gradient(circle, var(--ab-edge) 1.7px, transparent 2.2px) 0 50% / 12px 8px repeat-x; }
.ab-steps h3 { font-size: 24px; font-weight: 600; line-height: 30px; letter-spacing: -0.03em; }
.ab-steps p { margin-top: 4px; max-width: 34ch; color: var(--ds-body); }
.ab-notes { margin-top: 72px; border-top: 1px solid var(--ds-hairline); }
.ab-notes > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 4px 32px; padding: 14px 0; border-bottom: 1px solid var(--ds-hairline); }
.ab-notes dt { font-weight: 500; }
.ab-notes dd { color: var(--ds-body); }
.ab-doc :is(.ab-notes, .ab-write__note) a, .ab-link { color: var(--ds-link); text-decoration: underline; text-underline-offset: 3px; }

/* —— Who —— */
.ab-who { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px clamp(32px, 6vw, 80px); align-items: center; padding-bottom: clamp(72px, 10vw, 128px); }
.ab-plate { aspect-ratio: 5 / 6; border-radius: var(--ds-radius-lg); }
.ab-plate img { position: absolute; z-index: 1; left: 50%; bottom: -1px; width: 106%; max-width: none; height: auto; transform: translateX(-50%); pointer-events: none; }
.ab-role { margin-top: 12px; font-size: 20px; line-height: 28px; letter-spacing: -0.02em; max-width: 46ch; text-wrap: balance; }
.ab-role + p { margin-top: 20px; max-width: 58ch; color: var(--ds-body); font-size: 18px; line-height: 28px; }
.ab-facts { display: grid; gap: 20px; margin: 28px 0 24px; }
.ab-facts > div { padding-top: 14px; border-top: 1px solid var(--ds-hairline); }
.ab-facts dt { font-weight: 500; margin-bottom: 4px; }
.ab-facts dd { color: var(--ds-body); }
.ab-certs dd { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 0 12px; padding: 2px 0; }
.ab-certs b { font-weight: 500; color: var(--ds-ink); }
.ab-link { display: inline-block; min-height: 24px; }

/* —— Write —— */
.ab-write { background: #7cc4ff; color: #171717; padding-block: clamp(56px, 8vw, 104px); }
.ab-write h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; letter-spacing: -0.03em; }
.ab-address { margin-top: 8px; font-size: clamp(34px, 8.3vw, 104px); font-weight: 700; line-height: 1.05; letter-spacing: -0.055em; }
.ab-address a { color: inherit; text-decoration: underline; text-decoration-thickness: 0.045em; text-underline-offset: 0.1em; text-decoration-color: rgba(23, 23, 23, 0.3); transition: text-decoration-color 0.2s; }
.ab-address a:hover { text-decoration-color: currentColor; }
.ab-copy { display: flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 20px; }
.ab-copy button, .ab-topics a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid #171717; border-radius: var(--ds-radius-pill); background: transparent; color: #171717; font: 500 16px/20px var(--ds-font-sans); cursor: pointer; text-decoration: none; transition: background-color 0.2s, color 0.2s; }
.ab-copy button { background: #171717; color: #fff; }
.ab-topics a:hover { background: #171717; color: #fff; text-decoration: none; }
.ab-write__lead { margin-top: 40px; }
.ab-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ab-write__note { margin-top: 32px; }
.ab-doc .ab-write__note a { color: inherit; }
.ab-doc .ab-write :focus-visible { outline-color: #171717; }
.ab-foot { padding-block: 24px; font-size: 14px; line-height: 20px; color: var(--ds-body); }

@media (min-width: 901px) and (max-height: 820px) { /* laptops: statement and all four routes in one view */
  .ab-hero { min-height: calc(100svh - var(--nv-head)); }
  .ab-hero__text { gap: 24px; padding-top: clamp(24px, 5svh, 40px); padding-bottom: 12px; }
  .ab-hero h1 { font-size: clamp(36px, min(4.9vw, 7.4svh), 72px); }
  .ab-route { padding: 10px 0; }
}
@media (max-width: 900px) {
  .ab-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .ab-hero__text { display: contents; }
  .ab-hero h1 { max-width: 15ch; padding: 40px 24px 32px; font-size: clamp(38px, 8.4vw, 72px); }
  .ab-panel { order: 1; aspect-ratio: 16 / 10; }
  .ab-routes { order: 2; padding: 8px 24px 0; }
  .ab-who { grid-template-columns: minmax(0, 1fr); }
  .ab-plate { aspect-ratio: 1; }
  .ab-plate img { width: 88%; }
}
@media (max-width: 640px) {
  .ab-wrap { padding-inline: 16px; }
  .ab-hero h1 { padding-inline: 16px; }
  .ab-routes { padding-inline: 16px; }
  .ab-panel { aspect-ratio: 1; }
  .ab-steps { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 32px; }
  .ab-steps li { padding: 2px 0 36px 52px; }
  .ab-steps li:not(:last-child)::after { inset: 44px auto 8px 12px; width: 8px; height: auto; background: radial-gradient(circle, var(--ab-edge) 1.7px, transparent 2.2px) 50% 0 / 8px 12px repeat-y; }
  .ab-notes { margin-top: 32px; }
  .ab-notes > div { grid-template-columns: minmax(0, 1fr); }
  .ab-plate img { width: 100%; }
  .ab-address { font-size: 12.4vw; }
}
@media (prefers-reduced-motion: reduce) {
  html.ab-doc { scroll-behavior: auto; }
  .ab-doc * { transition: none !important; }
}
@media (forced-colors: active) {
  .ab-route.is-on i { background: Highlight; }
  .ab-steps li::before { border: 1px solid; }
}
@media print {
  .ab-panel, .ab-copy, .ab-topics, .ab-write__lead { display: none; }
  .ab-hero { display: block; min-height: 0; }
  .ab-write { background: none; padding-block: 24px; }
  .ab-address { font-size: 28pt; }
}
