/* Arturion landing page. Fonts: IBM Plex Sans 1.1.0 and IBM Plex Mono 2.5.0 (npm @ibm/plex-sans, @ibm/plex-mono), SIL OFL 1.1. */
/* Bold field: brand orange owns the hero and the pilot band; white and grey sheets, one near-black band and
   ink cards carry the rest. Layout follows the arturion-web draft Adrián chose on 4 November 2026. */

@font-face { font-family: 'IBM Plex Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/IBMPlexSans-Regular.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 500; font-style: normal; font-display: swap; src: url('/fonts/IBMPlexSans-Medium.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 600; font-style: normal; font-display: swap; src: url('/fonts/IBMPlexSans-SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/IBMPlexMono-Regular.woff2') format('woff2'); }

:root {
  --brand: #ff5200; --brand-soft: #ff8a4d; --brand-tint: #fff1ea; --brand-ink: #b33a00;
  --ink: #16181b; --ink2: #3b4046; --ink3: #5c636b; --ink-hover: #2a2d32;
  --bg: #fff; --s2: #f4f5f7; --s3: #e9ebee; --line: #dfe2e6; --field: #868d95;
  /* the dark band and the ink cards */
  --dk-2: #202327; --dk-line: #33373d; --dk-text: #f2f3f5; --dk-text2: #b3b9c1; --dk-faint: #9aa0a8;
  --dk-pass: #7fcf9b; --dk-warn: #e3c35a; --dk-fail: #f2555a;
  /* check levels on light ground */
  --pass: #1d6a37; --pass-bg: #e8f3ec; --warn: #735300; --warn-bg: #fff4cc; --fail: #b0202b; --fail-bg: #fdecec;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --gut: clamp(16px, 6vw, 96px); --sec: clamp(72px, 8vw, 120px);
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, ::before, ::after { transition-duration: 1ms !important; } }
body {
  margin: 0; font-family: 'IBM Plex Sans', system-ui, sans-serif; font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--bg);
  font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
h1, h2, h3, h4, p, blockquote, ul, ol, fieldset, legend { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
p, li { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--ink); color: #fff; }
div.w { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gut); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.dark :focus-visible, .plan.pick :focus-visible, footer :focus-visible { outline-color: var(--brand); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip:focus { top: 12px; }

/* type */
h1 { font-size: clamp(40px, 4.2vw + 8px, 64px); line-height: 1.04; font-weight: 600; letter-spacing: -.035em; max-width: 920px; }
h2 { font-size: clamp(30px, 2.2vw + 14px, 44px); line-height: 1.1; font-weight: 600; letter-spacing: -.025em; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
.lead { font-size: clamp(18px, .4vw + 15px, 20px); line-height: 1.5; max-width: 720px; color: var(--ink2); }
.sec { padding: var(--sec) 0; }
.head { display: flex; flex-direction: column; gap: 16px; max-width: 820px; margin-bottom: 56px; }
.grey { background: var(--s2); }
code, .n, .src, .meta { font-family: var(--mono); font-size: 13px; line-height: 1.4; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 6px; font-size: 15px; font-weight: 500; line-height: 1.3; white-space: nowrap; cursor: pointer; border: 1.5px solid transparent; background: var(--ink); color: #fff; transition: background-color .18s var(--ease), border-color .18s var(--ease); }
.btn:hover { background: var(--ink-hover); }
.btn:active { transform: translateY(1px); }
.btn.outline, .btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.outline:hover, .btn.ghost:hover { background: rgba(22,24,27,.06); }
.btn.brand { background: var(--brand); color: var(--ink); }
.btn.brand:hover { background: #ff6a24; }
.btn.sm { min-height: 44px; padding: 10px 18px; }
.btn.grow { flex: 1 1 auto; }
.btn[disabled] { opacity: .55; cursor: default; }

/* header: on the orange field at the top, white once the page scrolls (nav.js) */
.nav { position: sticky; top: 0; z-index: 50; background: var(--brand); border-bottom: 1px solid transparent; transition: background-color .24s var(--ease), border-color .24s var(--ease); }
.nav.is-scrolled { background: rgba(255,255,255,.96); border-bottom-color: var(--line); }
.nav div.w { display: flex; align-items: center; gap: 32px; min-height: 80px; }
.logo { display: inline-flex; align-items: baseline; font-size: 26px; font-weight: 600; line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
/* an svg's baseline is its bottom edge, so the symbol stands on the letters' baseline */
.logo svg { flex: none; margin-right: 1px; }
.nav .links { display: flex; gap: 32px; margin: 0 auto; font-size: 15px; font-weight: 500; }
.nav .links a, .nav .call { position: relative; padding: 6px 0; font-size: 15px; font-weight: 500; }
.nav .links a::after, .nav .call::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease); }
.nav .links a:hover::after, .nav .call:hover::after, .nav .links a[aria-current="true"]::after, .nav .links a[aria-current="page"]::after { transform: scaleX(1); }
html:not([data-nav="js"]) .nav .links a:target::after { transform: scaleX(1); }
.nav .r { display: flex; align-items: center; gap: 24px; }
.nav .short { display: none; }

/* hero: the orange field, then the product window half on it */
.hero { background: var(--brand); color: var(--ink); }
.hero div.w { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; padding-top: 72px; padding-bottom: 56px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--brand-soft); font-size: 15px; font-weight: 500; line-height: 1.3; }
.pill svg { transition: transform .2s var(--ease); }
.pill:hover svg { transform: translateX(3px); }
.hero .lead { color: var(--ink); max-width: 660px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.band { background: linear-gradient(180deg, var(--brand) 0 55%, var(--bg) 55% 100%); padding-bottom: 24px; }

/* product window, used in the hero */
.app { position: relative; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(23,13,0,.22); }
.tabbar { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px; padding: 12px 18px; background: var(--s2); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #d5d8dc; }
.tabbar .meta { justify-self: end; color: var(--ink3); white-space: nowrap; }
.chip-ex { font-family: 'IBM Plex Sans', system-ui, sans-serif; font-size: 12px; font-weight: 600; color: var(--ink2); background: var(--s3); border-radius: 3px; padding: 2px 6px; }
.win { display: flex; }
.rail { width: 200px; flex: none; display: flex; flex-direction: column; gap: 2px; padding: 20px 12px; background: var(--s2); }
.rail span { padding: 9px 12px; border-radius: 6px; font-size: 14px; color: var(--ink2); }
.rail .on { background: #fff; color: var(--ink); font-weight: 500; }
.panes { flex: 1 1; min-width: 0; display: grid; grid-template-columns: minmax(0,1fr); }
.pane { grid-area: 1 / 1; min-width: 0; display: flex; gap: 24px; padding: 28px; }
.pane .main { flex: 1 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.sum { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.sum > div { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 8px; background: var(--s2); }
.sum b { font-size: 22px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
.sum span { font-size: 14px; line-height: 1.45; color: var(--ink2); }
.sum .hot { background: var(--brand-tint); }
.sum .hot b { color: var(--brand-ink); }
table.ov { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.ov th { text-align: left; font-weight: 500; color: var(--ink3); padding: 0 12px 8px 0; border-bottom: 1px solid var(--line); }
.ov td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); }
.ov td:nth-child(2) { color: var(--ink2); }
.ov .more td { color: var(--ink3); }
.lv { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 4px; font-size: 14px; line-height: 1.5; white-space: nowrap; }
.lv-p { background: var(--pass-bg); color: var(--pass); }
.lv-w { background: var(--warn-bg); color: var(--warn); }
.lv-f { background: var(--fail-bg); color: var(--fail); }
.detail { width: 320px; flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px; border-radius: 10px; background: var(--brand-tint); font-size: 15px; line-height: 1.5; }
.detail .dt { font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
.detail .note { display: flex; flex-direction: column; gap: 4px; width: 100%; padding: 12px; border-radius: 6px; background: #fff; font-size: 14px; color: var(--ink2); }
.k { font-size: 14px; font-weight: 600; color: var(--ink); }
.act { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 500; white-space: nowrap; }

/* sources strip */
.sources div.w { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; padding-top: 48px; padding-bottom: 24px; }
.sources p { font-size: 15px; color: var(--ink3); }
.sources ul { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.sources li { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--ink2); }

/* the problem: an intro and three fact tiles */
.problem { padding: 72px 0 var(--sec); }
.bento { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.bento .intro { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 24px 40px 24px 0; }
.tile { display: flex; flex-direction: column; gap: 14px; padding: 36px; border-radius: 16px; }
.tile .xl { font-size: clamp(48px, 3.5vw + 20px, 72px); line-height: 1; font-weight: 600; letter-spacing: -.04em; }
.tile p:not(.xl):not(.src) { font-size: 17px; max-width: 46ch; }
.tile .src { margin-top: auto; padding-top: 8px; }
.t-brand { background: var(--brand); color: var(--ink); }
.t-brand .src { color: var(--ink); }
.t-ink { background: var(--ink); color: #fff; }
.t-ink .src { color: var(--dk-faint); }
.t-grey { background: var(--s2); }
.t-grey .src { color: var(--ink3); }

/* ruled module grid, used for How it works */

/* the dark band: examples with two tabs */
.dark { background: var(--ink); color: #fff; }
.dark .lead { color: var(--dk-text2); }
.dark .head { margin-bottom: 40px; }
.ex-panes { position: relative; display: grid; grid-template-columns: minmax(0,1fr); }
.ex-pane { grid-area: 1 / 1; min-width: 0; display: flex; gap: 24px; align-items: flex-start; }
.ex-card { flex: 1 1; min-width: 0; background: var(--dk-2); border-radius: 14px; padding: 24px 28px; }
.mxw { position: relative; overflow-x: auto; }
table.mx { width: 100%; min-width: 560px; border-collapse: collapse; }
.mx th { font-family: var(--mono); font-size: 13px; font-weight: 400; color: var(--dk-faint); text-align: left; padding: 0 0 12px; }
.mx tbody th { font-family: 'IBM Plex Sans', system-ui, sans-serif; font-size: 14px; color: var(--dk-text); padding: 14px 16px 14px 0; border-top: 1px solid var(--dk-line); width: 34%; }
.mx td { padding: 14px 8px 14px 0; border-top: 1px solid var(--dk-line); }
.cube { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 22px; background: var(--ink2); color: var(--ink); clip-path: polygon(26% 0, 100% 0, 74% 100%, 0 100%); vertical-align: middle; }
.cube.w { background: var(--dk-warn); }
.cube.f { background: var(--dk-fail); }
.cube.sm { width: 19px; height: 14px; }
.ex-card .more { padding-top: 14px; font-size: 14px; color: var(--dk-faint); border-top: 1px solid var(--dk-line); }
.legend { display: flex; flex-wrap: wrap; gap: 20px; padding-top: 20px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--dk-text2); }
.ex-sides { width: 380px; flex: none; display: flex; flex-direction: column; gap: 12px; }
.ex-side { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 12px; background: var(--dk-2); }
.ex-side p { color: var(--dk-text); }
.lb { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; }
.lb-f { color: var(--dk-fail); }
.lb-w { color: var(--dk-warn); }
.lb-p { color: var(--dk-pass); }
.dh { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--dk-line); font-size: 15px; }
.dh b { font-weight: 500; }
.chip-ai { flex: none; padding: 3px 8px; border-radius: 4px; background: rgba(255,82,0,.16); color: var(--brand-soft); font-size: 14px; }
.lines li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--dk-line); }
.lines p { color: var(--dk-text); }
.lines .src { flex: none; color: var(--dk-faint); padding: 2px 8px; border: 1px solid var(--dk-line); border-radius: 4px; }
.fine { margin-top: 40px; font-family: var(--mono); font-size: 13px; color: var(--dk-faint); }

/* who it's for */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.cards li { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 14px; background: var(--s2); }
.cards .n { color: var(--ink3); }
.cards p { font-size: 15px; color: var(--ink2); }

/* mid-page call */
.midcta { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 40px 48px; border-radius: 16px; background: var(--brand-tint); }
.midcta > div { display: flex; flex-direction: column; gap: 8px; }
.midcta h2 { font-size: 24px; line-height: 1.25; letter-spacing: -.01em; }
.midcta p { color: var(--ink2); }

/* How it works: the grant's life as the feature map (src/render.ts renderMap). Each stage keeps the timeline's node
   and line, then its headline and the subcategories it opens on features.html. */
.map-st { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); padding-top: 44px; }
.ms { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 40px 28px 0 0; }
.ms::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--line); }
.ms-after::before { background: repeating-linear-gradient(to right, var(--line) 0 8px, transparent 8px 14px); }
.ms::after { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); }
.ms-period::after { background: var(--brand); }
.ms .ml { display: flex; gap: 10px; font-family: var(--mono); font-size: 13px; line-height: 1.4; color: var(--ink3); }
.ms h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.01em; }
.ms ul { display: flex; flex-direction: column; width: 100%; margin-top: 4px; border-top: 1px solid var(--line); }
.ms li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.4; }
.ms li a { position: relative; color: var(--ink); }
.ms li a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease); }
.ms li a:hover::after { transform: scaleX(1); }
.acr { display: inline-block; padding: 1px 6px; border-radius: 3px; background: var(--s3); color: var(--ink2); font-size: 12px; font-weight: 600; line-height: 1.6; white-space: nowrap; }
.map-f { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.map-f span { color: var(--ink3); font-size: 15px; }
.soon.later { background: transparent; border: 1px solid var(--line); color: var(--ink3); }
.soon { display: inline-block; margin-left: 6px; font-size: 12px; font-weight: 600; color: var(--ink2); background: var(--s3); border-radius: 3px; padding: 1px 6px; vertical-align: 1px; white-space: nowrap; }

/* lump sum: the work package card and the reminder draft */
.lump { display: flex; gap: 24px; align-items: stretch; }
/* partner data and AI: two grey cards, each a claim and its example */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.duo .card { background: var(--s2); }
.duo h3 { font-size: 24px; line-height: 1.25; letter-spacing: -.015em; }
.duo .card > p { color: var(--ink2); }
.duo .ov, .duo .draft { padding: 20px; border-radius: 8px; background: #fff; }
.duo .lk { margin-top: auto; }
.duo .ov { border-collapse: separate; }
.duo .draft { width: 100%; }
.duo .dh { border-bottom-color: var(--line); }
.duo .lines li { border-bottom-color: var(--line); }
.duo .lines li:last-child { border-bottom: 0; padding-bottom: 0; }
.duo .lines p { color: var(--ink); }
.duo .lines .src { color: var(--ink3); border-color: var(--line); }
.lk { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.card { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 32px; border-radius: 14px; background: #fff; }
.card.wp { flex: 1 1; min-width: 0; }
.card.mail { width: 480px; flex: none; }
.ch { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 15px; }
.ch b { font-weight: 500; }
.card .chip-ai { background: var(--brand-tint); color: var(--brand-ink); }
.lnote { width: 100%; display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 8px; background: var(--brand-tint); font-size: 15px; }
.lnote b { font-weight: 600; }
.msg { width: 100%; padding: 18px; border-radius: 8px; background: var(--s2); }
.meta2 { width: 100%; display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--ink3); }

/* pricing: three plan cards (src/render.ts) */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.plan .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan .nm { font-size: 17px; font-weight: 600; }
.plan .now { font-size: clamp(40px, 3vw + 16px, 56px); line-height: 1; font-weight: 600; letter-spacing: -.04em; }
.plan .now.txt { font-size: 32px; line-height: 1.75; letter-spacing: -.02em; }
.plan .per { font-size: 15px; color: var(--ink2); }
.plan .pline { font-size: 14px; color: var(--ink3); }
.plan ul { display: flex; flex-direction: column; gap: 10px; padding: 18px 0 8px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.45; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { flex: none; margin-top: 3px; color: var(--pass); }
.plan .btn { margin-top: auto; }
.plan.pick { background: var(--ink); border-color: var(--ink); color: #fff; }
.plan.pick .now { color: var(--brand); }
.plan.pick .per, .plan.pick ul { color: var(--dk-text); }
.plan.pick .pline { color: var(--dk-faint); }
.plan.pick ul { border-top-color: var(--dk-line); }
.plan.pick li svg { color: var(--dk-pass); }
.plan.pick .soon { background: var(--dk-line); color: var(--dk-text); }
.plan.pick .btn { background: var(--brand); color: var(--ink); }
.plan.pick .btn:hover { background: #ff6a24; }
.calc { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 10px; background: var(--dk-2); }
.calc label { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--dk-text); }
.calc label span { font-weight: 600; color: #fff; }
.calc input[type="range"] { width: 100%; height: 24px; margin: 0; accent-color: var(--brand); cursor: pointer; }
.calc output { font-size: 15px; font-weight: 600; color: #fff; }
/* the terms under the plans: three ruled cells in one grey card, the pilot cell tinted */
.notes { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 16px; border-radius: 16px; background: var(--s2); overflow: hidden; }
.notes li { display: flex; flex-direction: column; gap: 8px; padding: 24px 28px; }
.notes li + li { border-left: 1px solid var(--line); }
.notes .n { color: var(--ink3); }
.notes p { font-size: 15px; color: var(--ink2); }
.notes b { color: var(--ink); font-weight: 600; }
/* under the notes: the data protection card */

/* about: a large photo, its caption written on the print, and the full story in one text size, no boxes */
.fw { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; align-items: center; }
.pcard { margin: 0; display: flex; flex-direction: column; gap: 20px; }
.photo { display: block; width: 100%; max-width: 560px; height: auto; transform: rotate(-2deg); }
.story { display: flex; flex-direction: column; gap: 20px; }
.story p { font-size: 18px; line-height: 1.6; color: var(--ink2); max-width: 62ch; }
/* Read more: phones only, so wide screens always show the whole story */
/* wide screens drop the toggle, so no unlabelled control is left behind */
.more-t { display: none; }
.more-l { display: none; align-self: flex-start; font-size: 15px; color: var(--ink3); cursor: pointer; text-underline-offset: 3px; }
.more-l:hover { text-decoration: underline; }
.more-t:focus-visible + .more-l { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

/* questions: two columns of white cards */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 24px; align-items: start; }
.faq .col { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #fff; border-radius: 10px; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-size: 16px; font-weight: 500; line-height: 1.35; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; transition: transform .24s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq p { padding: 0 24px 22px; font-size: 15px; color: var(--ink2); max-width: 64ch; }

/* the pilot band and its form */
.pilot { background: var(--brand); color: var(--ink); }
.pilot div.w { display: flex; gap: 80px; align-items: flex-start; }
.pilot .copy { flex: 1 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.pilot .lead { color: var(--ink); max-width: 600px; }
.terms { display: flex; flex-direction: column; gap: 10px; }
.terms li { display: flex; align-items: center; gap: 12px; }
.terms svg { flex: none; }
.time { margin-top: 8px; font-size: 15px; }
/* the data protection lines sit beside the form, plain on the orange field */
.pilot .trust h3 { font-size: 17px; letter-spacing: 0; }
.pilot .trust ul { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.pilot .trust li { display: flex; gap: 12px; align-items: flex-start; }
.pilot .trust li svg { flex: none; margin-top: 4px; }
#form-wrap { width: 520px; max-width: 100%; flex: none; }
.pf { display: flex; flex-direction: column; gap: 18px; padding: 36px; border-radius: 16px; background: #fff; }
.pf-head { display: flex; justify-content: space-between; align-items: center; }
.pf-head b { font-size: 17px; font-weight: 600; }
.pf-step { font-family: var(--mono); font-size: 13px; color: var(--ink3); }
.step { display: flex; flex-direction: column; gap: 16px; }
.step + .step { padding-top: 18px; border-top: 1px solid var(--line); }
.step > legend { float: left; width: 100%; margin-bottom: 16px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.step > legend + * { clear: both; }
/* with the script, one step shows at a time */
.pf[data-at] .step { display: none; border-top: 0; padding-top: 0; }
.pf[data-at="1"] .step[data-step="1"], .pf[data-at="2"] .step[data-step="2"], .pf[data-at="3"] .step[data-step="3"] { display: flex; }
.pf[data-at] .pf-actions [type="submit"] { display: none; }
.pf[data-at="3"] .pf-actions [type="submit"] { display: inline-flex; }
.pf[data-at="3"] [data-next] { display: none; }
.fld { display: flex; flex-direction: column; gap: 8px; }
.fld > label, .fld > legend { font-size: 15px; font-weight: 500; }
.fld > legend { margin-bottom: 8px; }
.fld input, .fld select { width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--field); border-radius: 6px; background: #fff; font-size: 17px; transition: border-color .16s var(--ease); }
.fld input:hover, .fld select:hover { border-color: var(--ink2); }
.fld input:focus, .fld select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(22,24,27,.14); }
.fld [aria-invalid="true"] { border-color: var(--fail); }
.pair { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.opts.one { grid-template-columns: minmax(0,1fr); }
.opt-note { font-weight: 400; color: var(--ink3); }
.if-running[hidden] { display: none; }
.opt { position: relative; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 14px; border: 1px solid var(--field); border-radius: 6px; font-size: 15px; line-height: 1.35; cursor: pointer; transition: border-color .16s var(--ease), background-color .16s var(--ease); }
.opt:hover { border-color: var(--ink2); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt i { width: 16px; height: 16px; flex: none; border-radius: 50%; border: 1.5px solid var(--field); transition: border .16s var(--ease); }
.opt:has(input:checked) { border-color: var(--ink); background: var(--s2); }
.opt:has(input:checked) i { border: 5px solid var(--ink); }
.opt:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.opt:has(input[aria-invalid="true"]) { border-color: var(--fail); }
.pf-actions { display: flex; gap: 12px; }
.pf-actions [hidden] { display: none; }
.err { font-size: 14px; font-weight: 600; color: var(--fail); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.priv { font-size: 13px; color: var(--ink3); }
.priv a { text-decoration: underline; }
.status { font-size: 15px; line-height: 1.5; color: var(--fail); font-weight: 600; }
.status:empty { position: absolute; }
.noscript { font-size: 15px; color: var(--ink2); }
.noscript a { text-decoration: underline; }
.thanks { background: #fff; color: var(--ink); border-radius: 16px; padding: 40px; font-size: 18px; font-weight: 600; }

footer { background: var(--ink); color: #fff; }
footer div.w { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; padding-top: 48px; padding-bottom: 48px; }
footer ul { display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 14px; color: var(--dk-text2); }
footer a:hover { color: #fff; }

/* features.html: a short orange hero, then a sticky group index beside the group sections */
.cat-hero div.w { padding-bottom: 64px; gap: 20px; }
.back { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; }
.back svg { transform: rotate(180deg); }
.legend-l { display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 15px; }
.legend-l li { display: flex; align-items: center; gap: 10px; }
.legend-l b { font-weight: 600; }
.legend-l .soon { margin: 0; }
.cat-hero .soon { background: var(--brand-tint); color: var(--ink); }
.cat-hero .soon.later { background: transparent; border-color: var(--ink); color: var(--ink); }
/* features.html in four layers: stage nav and role chips, a pitch per stage, subcategory cards, rows that open */
.cat-hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.cat { display: grid; grid-template-columns: 220px minmax(0,1fr); column-gap: 56px; row-gap: 32px; align-items: start; }
.cat-ix { position: sticky; top: 104px; grid-row: 1 / span 2; }
.cat-ix ol { display: flex; flex-direction: column; gap: 2px; }
.cat-ix li[hidden] { display: none; }
.cat-ix a { display: flex; gap: 12px; align-items: baseline; padding: 9px 12px; border-radius: 6px; font-size: 15px; line-height: 1.35; color: var(--ink2); }
.cat-ix a:hover { background: var(--s2); }
.cat-ix a[aria-current="true"] { background: var(--brand); color: var(--ink); font-weight: 500; }
.cat-ix .n { flex: none; color: var(--ink3); }
.cat-ix a[aria-current="true"] .n { color: var(--ink); }
.roles { display: flex; flex-wrap: wrap; gap: 8px; }
.roles[hidden] { display: none; }
.roles button { min-height: 40px; padding: 8px 16px; border: 1px solid var(--field); border-radius: 999px; background: #fff; font: inherit; font-size: 14px; font-weight: 500; color: var(--ink2); cursor: pointer; }
.roles button:hover { border-color: var(--ink2); }
.roles button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat-body { display: flex; flex-direction: column; gap: 96px; }
.cat-st { scroll-margin-top: 104px; }
.cat-st[hidden] { display: none; }
.pitch { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 40px; align-items: start; padding-bottom: 32px; border-bottom: 2px solid var(--ink); }
.pitch-t { display: flex; flex-direction: column; gap: 14px; }
.pitch h2 { font-size: 30px; line-height: 1.2; letter-spacing: -.02em; }
.pitch .today, .pitch .with { color: var(--ink2); }
.pitch b { color: var(--ink); font-weight: 600; }
.proof { padding-left: 14px; border-left: 2px solid var(--line); font-size: 15px; color: var(--ink2); }
.pic { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.pic-t { font-size: 15px; font-weight: 600; }
.pic-n { font-size: 14px; color: var(--ink2); }
.pic figcaption { align-self: flex-start; }
.cat-subs { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; margin-top: 32px; }
.cat-sub { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 12px; background: var(--s2); scroll-margin-top: 104px; }
.cat-sub[hidden] { display: none; }
.cat-sub h3 { font-size: 18px; line-height: 1.3; letter-spacing: -.01em; }
.cat-sub .acr { align-self: flex-start; }
.cat-sub > p { font-size: 15px; color: var(--ink2); }
.cat-sub > p.c { font-size: 13px; color: var(--ink3); }
.cat-l { display: flex; flex-direction: column; margin-top: 8px; border-top: 1px solid var(--line); }
.cat-l li { border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.45; }
.cat-l li[hidden] { display: none; }
.cat-l summary { display: flex; align-items: baseline; gap: 10px; padding: 12px 0; cursor: pointer; list-style: none; }
.cat-l summary::-webkit-details-marker { display: none; }
.cat-l summary > span:first-child { flex: 1 1; }
.cat-l summary svg { flex: none; align-self: center; transition: transform .24s var(--ease); }
.cat-l details[open] summary svg { transform: rotate(45deg); }
.cat-l .soon { flex: none; margin: 0; }
.cat-l dl { display: grid; grid-template-columns: max-content minmax(0,1fr); gap: 6px 14px; padding: 2px 0 14px; font-size: 14px; color: var(--ink2); }
.cat-l dt { font-family: var(--mono); font-size: 13px; color: var(--ink3); }
.cat-l dd { margin: 0; }
.more-b { align-self: flex-start; min-height: 40px; padding: 8px 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.more-b[hidden] { display: none; }
.cf-coming span:first-child, .cf-later span:first-child { color: var(--ink2); }
.midcta-w.last { padding-bottom: var(--sec); }

/* questions.html: a slim orange bar, then one white card on grey: a start screen that says what people get, then one
   question per screen with a progress bar, then the thank-you screen with the email and more topics (questions.js) */
.q-bar { position: sticky; top: 0; z-index: 50; background: var(--brand); }
.q-bar div.w { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; }
.q-bar .logo { font-size: 21px; }
.q-left { font-size: 14px; font-weight: 500; }
.q-sec { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 40px var(--gut) 96px; background: var(--s2); }
.qf { width: 100%; max-width: 640px; display: flex; flex-direction: column; gap: 20px; padding: 40px; border-radius: 16px; background: #fff; }
.q-screen > div { display: flex; flex-direction: column; gap: 24px; }
.q-screen h1:focus, .q-h:focus, .q[tabindex]:focus { outline: none; }

.q-start h1 { font-size: clamp(32px, 2.4vw + 18px, 46px); line-height: 1.08; letter-spacing: -.03em; }
.q-lede { margin-top: -8px; font-size: 18px; line-height: 1.5; color: var(--ink2); }
.q-get { display: flex; flex-direction: column; gap: 12px; padding: 20px 22px; border-radius: 12px; background: var(--brand-tint); }
.q-get h2 { font-size: 16px; line-height: 1.3; letter-spacing: 0; }
.q-get ul { display: flex; flex-direction: column; gap: 10px; }
.q-get li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.45; }
.q-get b { font-weight: 600; }
.q-get svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.q-facts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-block: 1px solid var(--line); }
.q-facts li { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 14px 0; font-size: 14px; line-height: 1.4; color: var(--ink3); }
.q-facts li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.q-facts b { font-size: 15px; font-weight: 600; color: var(--ink); }
.btn.q-go { min-height: 56px; font-size: 17px; font-weight: 600; background: var(--brand); color: var(--ink); }
.btn.q-go:hover { background: #ff6a24; }
.btn.q-go svg, .pf-actions .btn svg { width: 18px; height: 18px; transition: transform .18s var(--ease); }
.btn.q-go:hover svg, .pf-actions .btn:hover svg { transform: translateX(3px); }
.q-sign { display: flex; gap: 14px; align-items: center; font-size: 14px; line-height: 1.45; color: var(--ink2); }
.q-sign img { width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--s3); }
.q-sign b { font-weight: 600; color: var(--ink); }
.q-sign a, .q-intro a { text-decoration: underline; text-underline-offset: 3px; }

/* one question per screen */
.q-prog { display: flex; flex-direction: column; gap: 12px; }
.q-pos { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.q-pos p { font-size: 14px; color: var(--ink3); text-align: right; }
.q-prev { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin-left: -8px; padding: 0 10px 0 4px; border: 0; border-radius: 6px; background: none; font-size: 15px; font-weight: 500; cursor: pointer; }
.q-prev:hover { background: var(--s2); }
.q-prev svg { width: 20px; height: 20px; }
.q-track { height: 4px; border-radius: 2px; background: var(--s3); overflow: hidden; }
.q-track i { display: block; height: 100%; border-radius: 2px; background: var(--ink); transition: width .4s var(--ease); }
.q { display: flex; flex-direction: column; gap: 8px; }
.q[hidden] { display: none; }
.q .q-t { font-size: 17px; font-weight: 600; line-height: 1.4; margin-bottom: 4px; }
.q-step .q .q-t { font-size: 23px; line-height: 1.28; letter-spacing: -.015em; margin-bottom: 8px; }
.q legend.q-t { float: left; width: 100%; margin-bottom: 12px; }
.q-step .q legend.q-t { margin-bottom: 16px; }
.q legend.q-t + * { clear: both; }
.q-hint { margin: -4px 0 8px; font-size: 14px; color: var(--ink3); }
.q-step .opt { min-height: 56px; padding: 14px 16px; border-radius: 10px; font-size: 16px; }
.opt.box i { border-radius: 3px; }
.opt.box:has(input:checked) i { border: 0; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.q-other { height: 48px; padding: 0 14px; border: 1px solid var(--field); border-radius: 6px; font-size: 16px; }
.q-other[hidden] { display: none; }
.q-other:focus, .fld textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(22,24,27,.14); }
.fld textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--field); border-radius: 6px; font: inherit; font-size: 16px; line-height: 1.5; resize: vertical; }
.q-note { padding: 16px 18px; border-radius: 10px; background: var(--brand-tint); font-size: 15px; line-height: 1.5; }
.q-note[hidden] { display: none; }
.q-step .q-note { scroll-margin-bottom: 120px; }
/* a touch leaves no hover behind on the next screen's option under the finger */
@media (hover: none) { .q-step .opt:hover { border-color: var(--field); } .q-step .opt:has(input:checked) { border-color: var(--ink); } }
.q-does { margin-bottom: 8px; padding: 14px 16px; border-radius: 10px; background: var(--s2); font-size: 15px; line-height: 1.5; }
.q-does b { font-weight: 600; }
/* the button stays in reach under a long list of answers */
.q-step .pf-actions { position: sticky; bottom: 0; margin: 0 -40px -40px; padding: 16px 40px 40px; background: linear-gradient(rgba(255,255,255,0), #fff 16px); }
.qf .pf-actions .btn.grow { flex: 1 1 auto; }
.btn.link { min-height: 44px; padding: 8px 12px; background: none; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.btn.link:hover { background: var(--s2); }
/* each screen arrives from the side the respondent is moving to */
.q-in { animation: q-in .32s cubic-bezier(.16,1,.3,1); }
.q-in.q-back { animation-name: q-back; }
@keyframes q-in { from { opacity: .3; transform: translateX(18px); } }
@keyframes q-back { from { opacity: .3; transform: translateX(-18px); } }
@media (prefers-reduced-motion: reduce) { .q-in { animation: none; } }

/* thank you: the email for what was promised, then more topics */
.q-done { display: flex; gap: 14px; align-items: center; }
.q-tick { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--pass-bg); color: var(--pass); }
.q-tick svg { width: 22px; height: 22px; }
.q-thanks .q-h { font-size: 26px; line-height: 1.2; letter-spacing: -.02em; }
.q-intro { color: var(--ink2); }
.q-contact { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 12px; background: var(--brand-tint); }
.q-contact h3, .q-more h3 { font-size: 19px; }
.q-contact .opt { background: #fff; }
.q-contact .fld > label { font-size: 15px; font-weight: 600; }
.q-contact .q-hint { margin: 0; }
.q-contact .btn { align-self: flex-start; }
.q-contact .err[hidden], .q-thanks .err[hidden] { display: none; }
.q-sent { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.q-sent:focus { outline: none; }
.q-sent svg { width: 20px; height: 20px; flex: none; color: var(--pass); }
.q-more { display: flex; flex-direction: column; gap: 10px; }
.q-more > p { font-size: 15px; color: var(--ink2); }
.q-topics { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.q-topic { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 12px 16px; border: 1px solid var(--field); border-radius: 10px; background: #fff; font-size: 16px; text-align: left; cursor: pointer; transition: border-color .16s var(--ease), background-color .16s var(--ease); }
.q-topic:hover { border-color: var(--ink); background: var(--s2); }
.q-topic b { flex: 1; font-weight: 500; }
.q-topic span { font-size: 14px; color: var(--ink3); white-space: nowrap; }
.q-topic svg { width: 18px; height: 18px; flex: none; transition: transform .18s var(--ease); }
.q-topic:hover svg { transform: translateX(3px); }
.q-topic:disabled { border-color: var(--line); background: var(--s2); cursor: default; }
.q-topic:disabled svg { color: var(--pass); transform: none; }
.q-priv { max-width: 640px; font-size: 13px; color: var(--ink3); text-align: center; }
.q-priv a { text-decoration: underline; }

/* the privacy notice (privacy.html): the questionnaire's slim orange bar, then one reading column on white */
.q-bar .back { font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.legal { padding: 64px 0 var(--sec); }
.legal .col { max-width: 760px; }
.legal h1 { font-size: clamp(36px, 5vw, 44px); font-weight: 600; line-height: 1.1; letter-spacing: -.025em; }
.legal .lead { margin-top: 16px; font-size: 20px; line-height: 1.5; color: var(--ink2); }
.legal h2 { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 24px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.legal p { margin-top: 16px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal .updated { margin-top: 56px; font-size: 14px; color: var(--ink3); }
.qf .status:not(:empty) { padding-top: 4px; }

/* articles (src/articles.ts): an orange hero with the type tag, the title, what it was checked against and when, then
   one reading column beside a sticky "On this page" list, the closing box in ink, and more on the topic on grey. The
   index and the tag pages list articles newest first under a filter of plain links. */
.ar-hero div.w { gap: 20px; padding-bottom: 56px; }
.ar-hero .chip-ex { background: var(--brand-tint); color: var(--ink); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 15px; font-weight: 500; }
.crumbs li { display: flex; align-items: center; gap: 12px; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.crumbs a, .ar-checked a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.crumbs a:hover, .ar-checked a:hover { text-decoration-thickness: 2px; }
.ar-sample { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 15px; }
.ar-checked { display: flex; flex-direction: column; gap: 6px; max-width: 920px; font-size: 15px; }
.ar-checked > p { font-weight: 600; }
.ar-checked ul { display: flex; flex-direction: column; gap: 4px; }
.ar-checked a { font-weight: 500; }
.ar-checked li span { white-space: nowrap; }
.ar-hero .ar-by { display: flex; flex-wrap: wrap; gap: 6px 24px; width: 100%; max-width: 920px; padding-top: 16px; border-top: 1px solid rgba(22,24,27,.24); font-size: 15px; }
.ar-wrap { padding: 64px 0 var(--sec); }
.ar-grid { display: grid; grid-template-columns: 220px minmax(0, 720px); column-gap: 56px; align-items: start; }
.ar-toc { position: sticky; top: 104px; }
.ar-toc p { padding: 0 12px 8px; font-family: var(--mono); font-size: 13px; color: var(--ink3); }
.ar-toc a { display: block; padding: 8px 12px; border-radius: 6px; font-size: 15px; line-height: 1.35; color: var(--ink2); }
.ar-toc a:hover { background: var(--s2); color: var(--ink); }
.ar-text { grid-column: 2; min-width: 0; font-size: 18px; line-height: 1.6; }
.ar-text > * + * { margin-top: 20px; }
.ar-text > p:first-child { font-size: 20px; line-height: 1.5; }
.ar-text > h2, .ar-src h2 { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 24px; line-height: 1.25; letter-spacing: -.01em; scroll-margin-top: 104px; }
.ar-text > h3 { margin-top: 36px; font-size: 20px; }
.ar-text > h2 + *, .ar-text > h3 + * { margin-top: 12px; }
.ar-text ul, .ar-text ol { padding-left: 1.3em; }
.ar-text ul { list-style: disc; }
.ar-text ol { list-style: decimal; }
.ar-text li + li { margin-top: 8px; }
.ar-text li::marker { color: var(--ink3); }
.ar-text a:not(.btn) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ar-text a:not(.btn):hover { text-decoration-thickness: 2px; }
.ar-text a.cite { padding: 1px 6px; border: 1px solid var(--line); border-radius: 4px; font-family: var(--mono); font-size: 13px; line-height: 1.4; color: var(--ink2); text-decoration: none; white-space: nowrap; vertical-align: 1px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ar-text a.cite:hover { border-color: var(--ink2); color: var(--ink); }
.ar-text blockquote { padding: 2px 0 2px 20px; border-left: 2px solid var(--line); color: var(--ink2); }
.ar-text blockquote p + p { margin-top: 12px; }
.ar-tw { overflow-x: auto; }
.ar-tw table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.ar-tw th { padding: 0 16px 8px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; color: var(--ink3); }
.ar-tw td { padding: 10px 16px 10px 0; border-bottom: 1px solid var(--line); }
.ar-tw th:last-child, .ar-tw td:last-child { padding-right: 0; }
.ar-tw .num { text-align: right; white-space: nowrap; }
.ar-ex, .ar-open { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 12px; font-size: 17px; line-height: 1.55; }
.ar-text > .ar-ex, .ar-text > .ar-open { margin-top: 32px; }
.ar-ex { background: var(--s2); }
.ar-ex-k { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink3); }
.ar-ex h3 { font-size: 20px; scroll-margin-top: 104px; }
.ar-open { background: var(--brand-tint); }
.ar-open h2 { font-size: 24px; line-height: 1.25; letter-spacing: -.01em; scroll-margin-top: 104px; }
.ar-ex ul, .ar-open ul { padding-left: 1.3em; list-style: disc; }
.ar-src ol { margin-top: 16px; font-size: 15px; line-height: 1.45; }
.ar-src li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.ar-src li + li { margin-top: 10px; }
.ar-src .src { color: var(--ink3); }
.ar-box { display: flex; flex-direction: column; gap: 16px; padding: 36px; border-radius: 16px; background: var(--ink); color: #fff; }
.ar-text > .ar-box { margin-top: 56px; }
.ar-box-k { font-family: var(--mono); font-size: 13px; color: var(--dk-faint); }
.ar-box-t { font-size: 20px; line-height: 1.45; }
.ar-box .soon { background: var(--dk-line); color: var(--dk-text); }
.ar-box-c { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-top: 20px; border-top: 1px solid var(--dk-line); }
.ar-box-c p { font-size: 15px; color: var(--dk-text2); }
.ar-box.plain .ar-box-c { padding-top: 0; border-top: 0; }
.ar-box.plain .ar-box-c p { font-size: 17px; color: var(--dk-text); }
.ar-box :focus-visible { outline-color: var(--brand); }
.ar-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ar-tag { display: inline-block; padding: 2px 8px; border-radius: 3px; background: var(--s3); font-size: 12px; font-weight: 600; line-height: 1.5; color: var(--ink2); }
.ar-hero .ar-tag { background: transparent; border: 1px solid var(--ink); color: var(--ink); }
a.ar-tag:hover { background: rgba(22,24,27,.08); }
.ar-more h2 { margin-bottom: 8px; font-size: 30px; line-height: 1.2; letter-spacing: -.02em; }
.ar-filter { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; padding-bottom: 24px; border-bottom: 2px solid var(--ink); }
.ar-filter > div { display: flex; align-items: baseline; gap: 16px; }
.ar-filter p { flex: none; width: 56px; font-family: var(--mono); font-size: 13px; color: var(--ink3); }
.ar-filter ul { display: flex; flex-wrap: wrap; gap: 8px; }
.ar-filter a { display: block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 500; }
.ar-filter a:hover { background: var(--s2); }
.ar-filter a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ar-cards { margin-bottom: 8px; }
.ar-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 32px; border-radius: 12px; background: var(--s2); transition: background-color .18s var(--ease); }
.ar-card:hover { background: var(--s3); }
.ar-card .ar-by { font-size: 14px; color: var(--ink3); }
.ar-row { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.ar-card h3, .ar-row h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 20px; }
.ar-card h3 { font-size: 24px; line-height: 1.25; }
.ar-card h3 a::after, .ar-row h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
.ar-row h3 a::after { border-radius: 0; }
.ar-card h3 svg, .ar-row h3 svg { flex: none; align-self: center; transition: transform .2s var(--ease); }
.ar-card:hover h3 svg, .ar-row:hover h3 svg { transform: translateX(3px); }
.ar-card:hover h3 a, .ar-row:hover h3 a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ar-card > p:not(.ar-meta):not(.ar-by), .ar-row > p:not(.ar-meta) { font-size: 15px; color: var(--ink2); max-width: 820px; }
.ar-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 14px; color: var(--ink3); }
.ar-kind { font-family: var(--mono); font-size: 13px; }
.ar-ix-hero div.w { padding-bottom: 64px; }
.ar-none { color: var(--ink2); }

@media (max-width: 1180px) {
  .nav .call, .rail { display: none; }
  .nav .links { gap: 24px; }
  .ex-pane { flex-direction: column; align-items: stretch; }
  .ex-card, .ex-sides { width: 100%; }
  .ex-sides { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
  .card.mail { width: 400px; }
  .cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pilot div.w { gap: 48px; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 120px; }
  .nav div.w { flex-wrap: wrap; gap: 0 16px; min-height: 0; padding-top: 12px; }
  .nav .r { margin-left: auto; }
  .nav .links { order: 3; width: 100%; margin: 0; gap: 24px; overflow-x: auto; padding: 10px 0 8px; scrollbar-width: none; }
  .nav .links a { white-space: nowrap; }
  .nav .long { display: none; }
  .nav .short { display: inline; }
  .btn.sm { height: 44px; }
  .hero div.w { padding-top: 48px; padding-bottom: 40px; gap: 22px; }
  .tabbar { grid-template-columns: auto 1fr; }
  .tabbar .dots { display: none; }
  .pane { flex-direction: column; padding: 20px; }
  .detail { width: 100%; }
  .bento { grid-template-columns: minmax(0,1fr); }
  .bento .intro { padding: 0 0 16px; }
  .ex-sides { grid-template-columns: minmax(0,1fr); }
  .midcta { flex-direction: column; align-items: flex-start; padding: 32px; }
  .map-st { grid-template-columns: minmax(0,1fr); padding-top: 0; }
  .ms { padding: 0 0 36px 36px; }
  .ms::before { left: 7px; right: auto; top: 16px; bottom: 0; width: 2px; height: auto; }
  .ms-after::before { background: repeating-linear-gradient(to bottom, var(--line) 0 8px, transparent 8px 14px); }
  .lump { flex-direction: column; }
  .duo { grid-template-columns: minmax(0,1fr); }
  .card.mail { width: 100%; }
  .plans { grid-template-columns: minmax(0,1fr); }
  .plan.pick { order: -1; }
  .fw { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .cat { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .cat-ix { position: static; grid-row: auto; }
  .pitch { grid-template-columns: minmax(0,1fr); }
  .cat-ix ol { flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 4px; scrollbar-width: none; }
  .cat-ix a { white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; }
  .pitch h2 { font-size: 24px; }
  .notes { grid-template-columns: minmax(0,1fr); }
  .notes li + li { border-left: 0; border-top: 1px solid var(--line); }
  .faq { grid-template-columns: minmax(0,1fr); }
  .pilot div.w { flex-direction: column; }
  #form-wrap { width: 100%; }
  .ar-wrap { padding-top: 40px; }
  .ar-grid { grid-template-columns: minmax(0,1fr); }
  .ar-toc { display: none; }
  .ar-text { grid-column: auto; }
  .ar-more h2 { font-size: 24px; }
  .ar-filter > div { flex-direction: column; gap: 8px; }
}

@media (max-width: 640px) {
  .cards { grid-template-columns: minmax(0,1fr); }
  .ctas { width: 100%; flex-direction: column; }
  .ctas .btn { width: 100%; }
  .tabbar { grid-template-columns: minmax(0,1fr); justify-items: start; }
  .tabbar .meta { justify-self: start; }
  .sum { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sum .hot { grid-column: span 2; }
  .tile { padding: 28px; }
  .ex-card { padding: 20px; }
  .lines li { flex-direction: column; gap: 8px; }
  .card { padding: 24px; }
  .meta2 { flex-direction: column; gap: 4px; }
  .more-t { display: block; position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
  .more-l { display: block; margin-top: -8px; }
  .more-t ~ p { display: none; }
  .more-t:checked ~ p { display: block; }
  .more-t:checked + .more-l { display: none; }
  .pf { padding: 24px; }
  /* on a phone the card fills the width under the bar, so a question starts right below it */
  .q-sec { padding: 0 0 48px; }
  .qf { padding: 24px 20px 28px; border-radius: 0; }
  .q-screen > div { gap: 20px; }
  .q-lede { font-size: 17px; }
  .q-get { padding: 16px 18px; }
  .q-get li { font-size: 15px; }
  .q-facts li { padding-right: 10px; font-size: 13px; }
  .q-facts li + li { padding-left: 10px; }
  .q-facts b { font-size: 14px; }
  .q-step .q .q-t { font-size: 21px; }
  .q-step .pf-actions { margin: 0 -20px -28px; padding: 12px 20px 20px; }
  .qf .pf-actions { flex-direction: column-reverse; }
  .q-priv { padding: 0 20px; }
  .legal { padding-top: 40px; }
  .opts { grid-template-columns: minmax(0,1fr); }
  .cat-sub { padding: 20px; }
  .pic { padding: 16px; }
  .pic .ov td, .pic .ov th { padding-right: 8px; }
  .cat-l dl { grid-template-columns: minmax(0,1fr); gap: 2px; }
  .ar-text { font-size: 17px; }
  .ar-text > p:first-child { font-size: 18px; }
  .ar-text a.cite { white-space: normal; }
  .ar-ex, .ar-open { padding: 20px; }
  .ar-box { padding: 28px 24px; }
  .ar-box-t { font-size: 18px; }
  .ar-box-c .btn { width: 100%; }
  .ar-card { padding: 24px; }
  .ar-card h3 { font-size: 20px; }
  footer div.w { flex-direction: column; align-items: flex-start; }
}
