/*
 * 16 Atlas. The look of every page of the brand (design/16atlas, warm pass).
 * Reads the brand's tokens only (brands/types16/brand.php 'theme' / 'theme_dark'):
 * no colour, font or radius is named here. Phone first; one reading column on wide screens.
 */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/archivo-var.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/fraunces-italic-400.woff2") format("woff2"); }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font-size: 17px; line-height: 1.58; display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body > * { order: 2; }
body > .draft { order: 0; }
body > .a16-top { order: 1; }
body > main.wrap { flex: 1 0 auto; width: 100%; max-width: calc(var(--column) + 2 * var(--space-side)); padding: 28px var(--space-side) 56px; }
body > .a16-foot { order: 3; }
/* The platform prints the trademark note in its own footer; here it closes the brand's footer. */
body > footer.wrap.muted { order: 4; max-width: none; margin: 0; padding: 0 var(--space-side) 28px; background: var(--color-text); color: color-mix(in srgb, var(--color-bg) 62%, transparent); font-size: 13px; line-height: 1.5; }
@media (min-width: 720px) { body > footer.wrap.muted { padding-inline: max(var(--space-side), calc((100vw - var(--column)) / 2)); } }

h1, h2, h3 { font-family: var(--font-heading); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: 36px; }
h2 { font-size: 26px; }
h3 { font-size: 19px; letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0 0 16px; text-wrap: pretty; }
a { color: var(--color-accent-700); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--color-accent); }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--color-accent-200); color: var(--color-text); }
.muted { color: var(--color-muted); }
strong, b { font-weight: 700; }

/* Words that speak to the reader (the essence line, a note in the margin) are set in the serif italic. */
.a16-voice { font-family: var(--font-voice); font-style: italic; font-weight: 400; letter-spacing: -.005em; }
.a16-kicker { display: block; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--color-accent-700); margin: 0 0 10px; }
.a16-rule { border: 0; border-top: 2px solid var(--color-rule); margin: 0; }
.a16-sec { padding: 36px 0; border-top: 2px solid var(--color-rule); }
.a16-sec > h2 { margin-bottom: 16px; }
.a16-lead { font-size: 19px; line-height: 1.5; }
.a16-band { background: var(--color-surface); box-shadow: 0 0 0 100vmax var(--color-surface); clip-path: inset(0 -100vmax); }
.a16-icon { flex: none; display: block; }

/* Marks and the wordmark */
.a16-mark { display: block; flex: none; fill: currentColor; }
.a16-r-st { color: var(--color-region-st); }
.a16-r-sf { color: var(--color-region-sf); }
.a16-r-nf { color: var(--color-region-nf); }
.a16-r-nt { color: var(--color-region-nt); }
.a16-logo { display: block; fill: currentColor; }
.a16-logo-on { fill: var(--color-accent); }
.a16-word { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-weight: 800; font-size: 18px; letter-spacing: -.02em; color: var(--color-text); text-decoration: none; }
.a16-word:hover { color: var(--color-text); }

/* Header and footer */
.a16-top { border-bottom: 2px solid var(--color-rule); background: var(--color-bg); }
.a16-top-in { max-width: calc(var(--column) + 2 * var(--space-side)); margin: 0 auto; padding: 4px var(--space-side); display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; }
.a16-top-nav { display: flex; align-items: center; gap: 4px; }
.a16-top-nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 10px; font-size: 16px; font-weight: 600; color: var(--color-text); text-decoration: none; }
.a16-top-nav a:last-child { padding-right: 0; }
.a16-top-test { text-decoration: underline !important; text-decoration-color: var(--color-accent) !important; text-decoration-thickness: 2px !important; text-underline-offset: 5px !important; }
.a16-top-types { color: var(--color-muted) !important; }
.a16-foot { background: var(--color-text); color: var(--color-bg); margin-top: 0; }
.a16-foot-in { max-width: calc(var(--column) + 2 * var(--space-side)); margin: 0 auto; padding: 36px var(--space-side) 20px; }
.a16-foot .a16-word { color: var(--color-bg); }
.a16-foot .a16-logo rect:not(.a16-logo-on) { fill: var(--color-bg); }
.a16-foot-line { font-family: var(--font-voice); font-style: italic; font-size: 19px; line-height: 1.4; margin: 8px 0 20px; max-width: 26em; color: color-mix(in srgb, var(--color-bg) 86%, transparent); }
.a16-foot-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; border-top: 1px solid color-mix(in srgb, var(--color-bg) 26%, transparent); padding-top: 8px; }
.a16-foot-links a { display: flex; align-items: center; min-height: 44px; color: var(--color-bg); font-weight: 600; font-size: 16px; text-decoration: none; }
.a16-foot-links a:hover { text-decoration: underline; }
.a16-foot-copy { margin: 18px 0 0; font-size: 14px; color: color-mix(in srgb, var(--color-bg) 62%, transparent); }
.a16-foot-copy a { color: inherit; }

/* Buttons: the label sits flush left, the arrow at the far right. */
.btn, .a16-btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 56px; padding: 12px 20px; border: 2px solid var(--color-accent); border-radius: var(--radius); background: var(--color-accent); color: var(--color-accent-text); font: 700 18px/1.2 var(--font-body); letter-spacing: -.01em; text-align: left; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background .15s, border-color .15s, transform .08s; }
.btn:hover, .a16-btn:hover { background: var(--color-accent-600); border-color: var(--color-accent-600); color: var(--color-accent-text); }
.btn:active, .a16-btn:active { transform: translateY(1px); }
.btn[disabled], .a16-btn[disabled] { opacity: .55; cursor: default; }
.a16-btn--lg { min-height: 60px; font-size: 19px; }
.a16-btn--line { background: transparent; color: var(--color-text); border-color: var(--color-rule); }
.a16-btn--line:hover { background: var(--color-text); color: var(--color-bg); border-color: var(--color-rule); }
.a16-btn--fit { width: auto; display: inline-flex; }
.a16-quiet { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; font-weight: 600; font-size: 16px; color: var(--color-text); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.a16-quiet:hover { color: var(--color-accent-700); }
.a16-under { margin: 10px 0 0; font-size: 15px; color: var(--color-muted); }

/* Fields */
.a16-field { display: block; margin: 0 0 12px; }
.a16-field > span { display: block; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.a16-input { display: block; width: 100%; min-height: 52px; padding: 0 14px; font: inherit; font-size: 17px; color: var(--color-text); background: var(--color-card); border: 2px solid var(--color-rule); border-radius: var(--radius); }
.a16-input::placeholder { color: color-mix(in srgb, var(--color-muted) 70%, transparent); }
.a16-input:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 1px; }

/* ── Home ─────────────────────────────────────────────────────────────── */
.a16-hero { padding: 4px 0 36px; }
.a16-plate { position: relative; margin: 0 0 26px; padding: 14px 14px 12px; background: var(--color-card); border: 2px solid var(--color-rule); border-radius: var(--radius-card); box-shadow: 6px 6px 0 var(--color-surface); }
.a16-plate-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px 8px; }
.a16-plate-grid .a16-mark { width: 100%; height: auto; }
.a16-plate-cap { display: flex; justify-content: space-between; gap: 12px; margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--color-divider); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--color-muted); }
.a16-h1-kw { display: block; font-size: 14px; font-weight: 700; letter-spacing: .06em; line-height: 1.35; text-transform: uppercase; color: var(--color-accent-700); margin: 0 0 12px; }
.a16-hero h1 { font-size: 40px; line-height: 1.04; letter-spacing: -.03em; }
.a16-hero-intro { font-size: 18px; line-height: 1.5; margin: 16px 0 0; }
.a16-hero-free { margin: 14px 0 0; padding-left: 14px; border-left: 3px solid var(--color-accent); font-size: 16px; line-height: 1.5; font-weight: 600; }
.a16-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; list-style: none; margin: 22px 0; padding: 6px 0; border-top: 2px solid var(--color-rule); border-bottom: 2px solid var(--color-rule); }
.a16-facts li { display: flex; align-items: center; gap: 8px; min-height: 38px; font-size: 16px; font-weight: 600; }
.a16-facts .a16-icon { color: var(--color-accent); }
.a16-hero-more { display: flex; flex-wrap: wrap; gap: 0 22px; margin-top: 8px; }
.a16-note { font-family: var(--font-voice); font-style: italic; font-size: 18px; line-height: 1.4; color: var(--color-muted); margin: 14px 0 0; }

.a16-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.a16-steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 0 4px; padding: 16px 0; border-top: 1px solid var(--color-divider); }
.a16-steps li:first-child { border-top: 0; padding-top: 4px; }
.a16-steps li::before { content: counter(step); font-size: 30px; font-weight: 800; line-height: 1; color: var(--color-accent); letter-spacing: -.03em; }
.a16-steps h3 { margin: 2px 0 4px; }
.a16-steps p { margin: 0; color: var(--color-muted); grid-column: 2; }

/* A sample question, shown as it looks in the test */
.a16-sample-q { margin: 0; padding: 18px 16px 16px; background: var(--color-card); border: 2px solid var(--color-rule); border-radius: var(--radius-card); }
.a16-sample-q h3 { font-size: 22px; line-height: 1.18; margin: 0 0 14px; letter-spacing: -.02em; }
.a16-sample-q ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.a16-sample-q li { padding: 12px 14px; border: 2px solid var(--color-divider); border-radius: var(--radius); font-size: 16px; line-height: 1.35; }
.a16-sample-q li.is-on { background: var(--color-text); border-color: var(--color-text); color: var(--color-bg); display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.a16-sample-q li.is-on .a16-icon { color: var(--color-accent); }

/* The free result, in small */
.a16-preview { padding: 18px 16px; background: var(--color-card); border: 2px solid var(--color-rule); border-radius: var(--radius-card); }
.a16-preview-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.a16-preview-code { font-size: 64px; font-weight: 800; letter-spacing: -.05em; line-height: .9; }
.a16-preview-name { font-size: 20px; font-weight: 800; margin: 8px 0 2px; letter-spacing: -.02em; }
.a16-preview .a16-voice { font-size: 18px; line-height: 1.35; margin: 0 0 14px; color: var(--color-muted); }
.a16-preview-list { list-style: none; margin: 16px 0 0; padding: 12px 0 0; border-top: 1px solid var(--color-divider); display: grid; gap: 6px; font-size: 16px; }
.a16-preview-list li { display: flex; gap: 10px; align-items: flex-start; }
.a16-preview-list .a16-icon { color: var(--color-accent); margin-top: 3px; }

/* The atlas: sixteen types as a 4 × 4 map */
.a16-map { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 2px solid var(--color-rule); border-radius: var(--radius-card); overflow: hidden; background: var(--color-card); }
.a16-map-cell { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-height: 96px; padding: 12px 8px 10px 10px; border-right: 1px solid var(--color-divider); border-bottom: 1px solid var(--color-divider); color: var(--color-text); text-decoration: none; position: relative; }
.a16-map-cell:nth-child(4n) { border-right: 0; }
.a16-map-cell:nth-last-child(-n+4) { border-bottom: 0; }
.a16-map-cell b { font-size: 16px; font-weight: 800; letter-spacing: -.01em; line-height: 1; }
.a16-map-cell small { font-size: 12.5px; line-height: 1.2; color: var(--color-muted); }
a.a16-map-cell:hover { background: var(--color-surface); color: var(--color-text); }
.a16-map-cell.is-me { background: var(--color-text); color: var(--color-bg); }
.a16-map-cell.is-me small { color: color-mix(in srgb, var(--color-bg) 78%, transparent); }
.a16-map-cell.is-next { box-shadow: inset 0 0 0 3px var(--color-accent); }
.a16-map-tag { position: absolute; top: 8px; right: 8px; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.a16-map-cell.is-next .a16-map-tag { color: var(--color-accent-700); }
.a16-map-axes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 8px 0 0; font-size: 12.5px; font-weight: 600; color: var(--color-muted); text-align: left; }
.a16-map-axes span { padding-left: 10px; display: inline-flex; align-items: center; gap: 6px; }
.a16-map-axes i { width: 9px; height: 9px; border-radius: 2px; background: currentColor; }
.a16-map-key { margin: 12px 0 0; font-size: 15px; color: var(--color-muted); }

/* FAQ: one <details> per question, no script */
.a16-faq details { border-top: 1px solid var(--color-divider); }
.a16-faq details:first-of-type { border-top: 0; }
.a16-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 10px 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.a16-faq summary::-webkit-details-marker { display: none; }
.a16-faq summary .a16-icon { transition: transform .2s; color: var(--color-muted); }
.a16-faq details[open] summary .a16-icon { transform: rotate(180deg); color: var(--color-accent); }
.a16-faq details > div { padding: 0 32px 18px 0; color: var(--color-text); }
.a16-faq details > div p:last-child { margin-bottom: 0; }

/* ── Lists of types and links ─────────────────────────────────────────── */
.a16-rows { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--color-rule); }
.a16-rows > li { border-bottom: 1px solid var(--color-divider); }
.a16-row { display: grid; grid-template-columns: 40px 1fr 20px; align-items: center; gap: 0 12px; min-height: 76px; padding: 12px 0; color: var(--color-text); text-decoration: none; }
.a16-row:hover { color: var(--color-text); }
.a16-row:hover .a16-row-title { text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.a16-row-title { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; }
.a16-row-note { display: block; font-size: 15.5px; line-height: 1.4; color: var(--color-muted); margin-top: 2px; }
.a16-row > .a16-icon { color: var(--color-muted); }
.a16-row--plain { grid-template-columns: 1fr 20px; }

/* ── Articles: type pages, comparisons, method, blog, legal ───────────── */
.crumbs { font-size: 14px; color: var(--color-muted); margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 0 8px; }
.crumbs a { color: inherit; display: inline-flex; align-items: center; min-height: 32px; }
.crumbs > span[aria-hidden] { display: inline-flex; align-items: center; min-height: 32px; }
.crumbs span[aria-current] { display: inline-flex; align-items: center; min-height: 32px; color: var(--color-text); }
.a16-article-head { margin: 0 0 22px; }
.a16-article-head .a16-mark { margin-bottom: 16px; }
.a16-article-head h1 { font-size: 36px; }
.a16-article-head .a16-voice { font-size: 22px; line-height: 1.3; margin: 12px 0 0; }
.a16-article { font-size: 18px; line-height: 1.62; }
.a16-article h2 { font-size: 26px; margin: 40px 0 12px; padding-top: 26px; border-top: 2px solid var(--color-rule); scroll-margin-top: 16px; }
.a16-article h3 { margin: 28px 0 8px; }
.a16-article p { margin: 0 0 18px; }
.a16-article ul, .a16-article ol { margin: 0 0 18px; padding-left: 22px; }
.a16-article li { margin-bottom: 6px; }
.a16-article .answer { font-size: 20px; line-height: 1.5; font-weight: 500; border: 0; padding: 0; margin: 0 0 24px; }
.a16-facts-box { margin: 0 0 8px; border: 2px solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-card); overflow: hidden; }
.a16-facts-box div { display: grid; grid-template-columns: 104px 1fr; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--color-divider); font-size: 16px; line-height: 1.4; }
.a16-facts-box div:first-child { border-top: 0; }
.a16-facts-box dt { font-weight: 700; margin: 0; }
.a16-facts-box dd { margin: 0; }
.a16-toc { margin: 24px 0 0; padding: 14px 0 6px; border-top: 2px solid var(--color-rule); }
.a16-toc b { display: block; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--color-muted); margin-bottom: 2px; }
.a16-toc ul { list-style: none; margin: 0; padding: 0; }
.a16-toc a { display: flex; align-items: center; min-height: 44px; font-size: 17px; font-weight: 600; color: var(--color-text); text-decoration: none; border-top: 1px solid var(--color-divider); }
.a16-toc li:first-child a { border-top: 0; }
.a16-toc a:hover { color: var(--color-accent-700); }
.a16-table { overflow-x: auto; margin: 0 calc(-1 * var(--space-side)) 22px; padding: 0 var(--space-side); -webkit-overflow-scrolling: touch; }
.a16-table table { margin: 0; min-width: 520px; font-size: 16px; line-height: 1.4; border-top: 2px solid var(--color-rule); }
.a16-table th, .a16-table td { border-bottom: 1px solid var(--color-divider); padding: 12px 12px 12px 0; }
.a16-table thead th { font-size: 14px; letter-spacing: .04em; text-transform: uppercase; border-bottom: 2px solid var(--color-rule); }
.a16-table tbody td:first-child { font-weight: 700; }
.a16-cta { margin: 34px 0; padding: 22px 18px 20px; background: var(--color-surface); border-top: 4px solid var(--color-accent); border-radius: 0 0 var(--radius-card) var(--radius-card); }
.a16-cta h2, .a16-cta .a16-cta-title { font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 6px; padding: 0; border: 0; }
.a16-cta p { font-size: 16px; color: var(--color-muted); margin: 0 0 16px; }
.a16-quote { margin: 28px 0; padding: 18px 0; border-top: 2px solid var(--color-rule); border-bottom: 2px solid var(--color-rule); }
.a16-quote p { font-family: var(--font-voice); font-style: italic; font-size: 24px; line-height: 1.32; margin: 0; }
.a16-quote footer { margin-top: 10px; font-size: 15px; color: var(--color-muted); }
.a16-byline { margin: 40px 0 0; padding-top: 16px; border-top: 1px solid var(--color-divider); font-size: 15px; color: var(--color-muted); }
.a16-article figure { margin: 26px 0; }
.a16-article figcaption { font-size: 14px; color: var(--color-muted); margin-top: 6px; }
.a16-article img { border-radius: var(--radius-card); }
.a16-versus { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 0 0 18px; }
.a16-versus > div { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.a16-versus b { font-size: 26px; letter-spacing: -.03em; line-height: 1; }
.a16-versus small { font-size: 14px; color: var(--color-muted); }
.a16-versus > span { font-family: var(--font-voice); font-style: italic; font-size: 22px; color: var(--color-muted); }

/* ── Result ───────────────────────────────────────────────────────────── */
.a16-result { padding-bottom: 96px; }
.a16-reveal { padding: 8px 0 34px; }
.a16-reveal-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.a16-code { font-size: clamp(88px, 27vw, 112px); font-weight: 800; letter-spacing: -.055em; line-height: .84; margin: 10px 0 0 -4px; }
.a16-code small { font-size: .3em; letter-spacing: -.02em; font-weight: 700; color: var(--color-muted); margin-left: .12em; white-space: nowrap; }
.a16-reveal h1 { font-size: 32px; margin: 18px 0 0; }
.a16-reveal .a16-voice { font-size: 23px; line-height: 1.3; margin: 10px 0 0; }
.a16-suffix { margin: 16px 0 0; padding: 12px 14px; background: var(--color-surface); border-radius: var(--radius); font-size: 16px; line-height: 1.45; }
.a16-suffix b { font-weight: 800; }
.a16-reveal-actions { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; margin-top: 22px; }
.a16-shared { margin: 0 0 20px; padding: 12px 14px; background: var(--color-accent-100); border-radius: var(--radius); font-size: 16px; }

.a16-bars { display: grid; gap: 22px; }
.a16-bar-what { font-size: 14px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--color-muted); margin: 0 0 6px; }
.a16-bar-ends { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; line-height: 1.3; margin-bottom: 6px; }
.a16-bar-ends .is-win { font-weight: 800; }
.a16-bar { display: flex; gap: 2px; height: 14px; }
.a16-bar i { display: block; background: var(--color-track); border-radius: 2px; min-width: 4px; }
.a16-bar i.is-win { background: var(--color-accent); }
.a16-bar-note { margin: 8px 0 0; font-size: 16px; line-height: 1.45; color: var(--color-muted); }
.a16-bar-note b { color: var(--color-text); font-weight: 700; }

.a16-door { display: grid; gap: 16px; }
.a16-door-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.a16-door-card { display: flex; flex-direction: column; gap: 8px; padding: 14px 12px 12px; border: 2px solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-card); color: var(--color-text); text-decoration: none; }
.a16-door-card.is-next { border-style: dashed; }
.a16-door-card small { font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--color-muted); }
.a16-door-card b { font-size: 26px; letter-spacing: -.03em; line-height: 1; }
.a16-door-card span { font-size: 15px; line-height: 1.25; }

.a16-portrait p { font-size: 18px; line-height: 1.62; }
.a16-nums { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.a16-nums li { counter-increment: n; display: grid; grid-template-columns: 34px 1fr; padding: 13px 0; border-top: 1px solid var(--color-divider); font-size: 18px; line-height: 1.45; }
.a16-nums li:first-child { border-top: 0; padding-top: 2px; }
.a16-nums li::before { content: counter(n); font-weight: 800; color: var(--color-accent); font-size: 20px; line-height: 1.3; }
.a16-sub { margin: 30px 0 12px; font-size: 21px; }

/* One of the person's own answers, read back */
.a16-off-count { font-size: 19px; line-height: 1.5; }
.a16-off-count b { font-weight: 800; }
.a16-answer-card { margin: 18px 0 0; padding: 16px 16px 14px; background: var(--color-card); border: 2px solid var(--color-rule); border-radius: var(--radius-card); box-shadow: 5px 5px 0 var(--color-surface); }
.a16-answer-card small { display: block; font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--color-muted); }
.a16-answer-card h3 { font-size: 21px; margin: 6px 0 12px; line-height: 1.2; }
.a16-answer-yours { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; background: var(--color-text); color: var(--color-bg); border-radius: var(--radius); font-size: 16.5px; line-height: 1.35; }
.a16-answer-yours .a16-icon { color: var(--color-accent); }
.a16-answer-card p { margin: 12px 0 0; }
.a16-answer-card p.a16-voice { font-size: 19px; line-height: 1.4; }

/* The locked map */
.a16-locked { padding: 36px 0 38px; border-top: 2px solid var(--color-rule); }
.a16-locked h2 { font-size: 30px; margin-bottom: 12px; }
.a16-cover-row { display: grid; grid-template-columns: 124px 1fr; gap: 16px; align-items: center; margin: 22px 0 6px; }
.a16-cover { aspect-ratio: 3 / 4; display: flex; flex-direction: column; justify-content: space-between; padding: 11px 11px 12px; background: var(--color-accent); color: var(--color-accent-text); border-radius: 3px var(--radius) var(--radius) 3px; box-shadow: var(--shadow-md), inset 5px 0 0 color-mix(in srgb, var(--color-text) 16%, transparent); transform: rotate(-2deg); }
.a16-cover span { font-size: 10px; font-weight: 800; letter-spacing: .12em; padding-left: 4px; }
.a16-cover .a16-mark { color: var(--color-accent-text); margin-left: 4px; }
.a16-cover b { display: block; font-size: 27px; letter-spacing: -.04em; line-height: 1; padding-left: 4px; }
.a16-cover em { display: block; font-family: var(--font-voice); font-size: 14px; line-height: 1.15; padding-left: 4px; margin-top: 3px; }
.a16-cover-row p { margin: 0; font-size: 17px; line-height: 1.45; }
.a16-hooks { list-style: none; margin: 22px 0 0; padding: 0; }
.a16-hooks li { padding: 13px 0; border-top: 1px solid var(--color-divider); font-family: var(--font-voice); font-style: italic; font-size: 21px; line-height: 1.3; }
.a16-hooks li:first-child { border-top: 2px solid var(--color-rule); }
.a16-chapters { list-style: none; margin: 0 0 22px; padding: 0; border-top: 2px solid var(--color-rule); }
.a16-chapters li { display: grid; grid-template-columns: 34px 1fr 20px; gap: 0 4px; padding: 13px 0; border-bottom: 1px solid var(--color-divider); }
.a16-chapters li > span:first-child { font-weight: 800; color: var(--color-accent); font-size: 17px; }
.a16-chapters b { display: block; font-size: 17px; font-weight: 800; line-height: 1.3; }
.a16-chapters small { display: block; font-size: 15px; line-height: 1.42; color: var(--color-muted); margin-top: 2px; }
.a16-chapters .a16-icon { margin-top: 3px; color: var(--color-muted); }
.a16-chip { display: inline-block; margin-top: 6px; padding: 2px 8px; background: var(--color-accent-100); color: var(--color-accent-700); border-radius: 3px; font-size: 13px; font-weight: 700; }
.a16-buy { margin: 0; }
.a16-buy .a16-field { margin-bottom: 10px; }

.a16-buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--color-bg); border-top: 2px solid var(--color-rule); box-shadow: var(--shadow-bar); padding: 10px var(--space-side) calc(10px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .25s ease; }
.a16-buybar.is-on { transform: none; }
.a16-buybar-in { max-width: var(--column); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.a16-buybar b { display: block; font-size: 16px; font-weight: 800; line-height: 1.25; }
.a16-buybar small { display: block; font-size: 14px; color: var(--color-muted); }
.a16-buybar .a16-btn { width: auto; min-height: 52px; padding: 10px 16px; font-size: 17px; white-space: nowrap; }

.a16-rate { display: flex; gap: 8px; }
.a16-rate button { flex: 1; min-height: 52px; border: 2px solid var(--color-rule); border-radius: var(--radius); background: var(--color-card); color: var(--color-text); font: 800 18px/1 var(--font-body); cursor: pointer; }
.a16-rate button:hover { background: var(--color-text); color: var(--color-bg); }
.a16-rate-ends { display: flex; justify-content: space-between; margin: 8px 0 0; font-size: 14px; color: var(--color-muted); }
.a16-done { padding: 12px 14px; background: var(--color-surface); border-radius: var(--radius); font-weight: 600; margin: 0; }

/* After the first purchase: the two topic reports */
.a16-more { display: grid; gap: 12px; }
.a16-more-card { padding: 18px 16px 16px; background: var(--color-card); border: 2px solid var(--color-rule); border-radius: var(--radius-card); }
.a16-more-card h3 { font-size: 21px; margin-bottom: 6px; }
.a16-more-card p { font-size: 16px; color: var(--color-muted); margin: 0 0 14px; }
.a16-more-card ul { margin: 0 0 14px; padding-left: 20px; font-size: 16px; }

/* ── Report (paid) ────────────────────────────────────────────────────── */
.a16-reportbar { position: sticky; top: 0; z-index: 30; background: var(--color-bg); border-bottom: 2px solid var(--color-rule); margin: -28px calc(-1 * var(--space-side)) 26px; padding: 0 var(--space-side); }
.a16-reportbar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.a16-contents { position: relative; }
.a16-contents summary { display: flex; align-items: center; gap: 10px; min-height: 48px; cursor: pointer; list-style: none; font-weight: 800; font-size: 16px; }
.a16-contents summary::-webkit-details-marker { display: none; }
.a16-contents summary small { display: block; font-weight: 400; font-size: 14px; color: var(--color-muted); }
.a16-contents nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; max-height: 78vh; overflow: auto; background: var(--color-bg); border-top: 2px solid var(--color-rule); border-radius: 14px 14px 0 0; padding: 10px var(--space-side) calc(18px + env(safe-area-inset-bottom)); box-shadow: 0 0 0 100vmax color-mix(in srgb, var(--color-text) 46%, transparent); }
.a16-contents nav a { display: grid; grid-template-columns: 34px 1fr; align-items: center; min-height: 54px; padding: 4px 8px; color: var(--color-text); text-decoration: none; font-weight: 700; font-size: 17px; border-top: 1px solid var(--color-divider); border-radius: 2px; }
.a16-contents nav a:first-of-type { border-top: 0; }
.a16-contents nav a span { color: var(--color-accent); font-weight: 800; }
.a16-contents nav a:hover { background: var(--color-surface); }
.a16-iconbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 48px; min-height: 48px; padding: 0 6px; background: none; border: 0; color: var(--color-text); font: 600 15px var(--font-body); cursor: pointer; text-decoration: none; }
.a16-chapter { padding: 34px 0 38px; border-top: 2px solid var(--color-rule); scroll-margin-top: 70px; }
.a16-chapter:first-of-type { border-top: 0; padding-top: 6px; }
.a16-chapter h2 { font-size: 34px; margin-bottom: 18px; }
.a16-chapter p { font-size: 18px; line-height: 1.64; margin-bottom: 18px; }
.a16-chapter p:first-of-type { font-size: 20px; line-height: 1.52; }
.a16-callout { margin: 22px 0; padding: 16px 0; border-top: 2px solid var(--color-rule); border-bottom: 2px solid var(--color-rule); }
.a16-callout small { display: block; font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--color-accent-700); margin-bottom: 6px; }
.a16-callout p { font-size: 18px !important; font-weight: 600; line-height: 1.45 !important; margin: 0 !important; }
.a16-report-head { padding: 0 0 26px; }
.a16-report-head h1 { font-size: 40px; margin-top: 12px; }
.a16-writing { padding: 40px 0; }
.a16-card-page { margin: 0 0 8px; padding: 18px 16px; background: var(--color-card); border: 2px solid var(--color-rule); border-radius: var(--radius-card); }
.a16-card-page .a16-map-cell { min-height: 0; padding: 7px 4px 6px 6px; gap: 3px; }
.a16-card-page .a16-map-cell b { font-size: 12px; }
.a16-card-lines { list-style: none; margin: 14px 0 0; padding: 0; }
.a16-card-lines li { padding: 9px 0; border-top: 1px solid var(--color-divider); font-family: var(--font-voice); font-style: italic; font-size: 17px; line-height: 1.35; }
.a16-fineprint { font-size: 14px; color: var(--color-muted); margin: 26px 0 0; }

/* ── States: 404, payment, sign-in ────────────────────────────────────── */
.a16-state { min-height: 62vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px 0 8px; }
.a16-state-art { margin-bottom: 26px; }
.a16-state h1 { font-size: 34px; margin-bottom: 12px; }
.a16-state p { font-size: 18px; margin-bottom: 22px; }
.a16-state .a16-btn + .a16-btn { margin-top: 10px; }
.a16-grid16 { display: grid; grid-template-columns: repeat(4, 34px); gap: 4px; }
.a16-grid16 i { width: 34px; height: 34px; background: var(--color-track); border-radius: 2px; }
.a16-grid16 i.is-on { background: var(--color-accent); }
.a16-grid16.is-live i { animation: a16-pulse 1.4s ease-in-out infinite; animation-delay: calc(var(--c) * .08s + var(--r) * .16s); }
@keyframes a16-pulse { 0%, 100% { background: var(--color-track); } 45% { background: var(--color-accent); } }
.a16-xmark { width: 56px; height: 56px; display: grid; place-items: center; border: 2px solid var(--color-accent); border-radius: var(--radius); color: var(--color-accent); }
.a16-status { margin: 0 0 16px; padding: 12px 14px; background: var(--color-surface); border-radius: var(--radius); }
.a16-list-results { list-style: none; margin: 0 0 24px; padding: 0; border-top: 2px solid var(--color-rule); }

/* ── Consent banner (platform partial), in the brand's shape ─────────── */
#tk-consent { border: 2px solid var(--color-rule) !important; border-radius: var(--radius-card) !important; box-shadow: var(--shadow-md) !important; font-size: 15px !important; }
#tk-consent .btn { width: auto; display: inline-flex; min-height: 44px; font-size: 16px; }
#tk-consent button { min-height: 44px; }

/* ── Wider screens: the same column, with more air ────────────────────── */
@media (min-width: 720px) {
    body { font-size: 18px; }
    body > main.wrap { padding-top: 44px; padding-bottom: 80px; }
    .a16-top-in { min-height: 64px; }
    h1 { font-size: 44px; }
    .a16-hero h1 { font-size: 56px; }
    .a16-hero .a16-btn { max-width: 380px; }
    .a16-hero-intro { font-size: 20px; max-width: 30em; }
    .a16-hero-free { font-size: 17px; max-width: 34em; }
    .a16-facts { grid-template-columns: repeat(4, auto); justify-content: space-between; }
    .a16-plate { padding: 20px 20px 16px; }
    .a16-plate-grid { gap: 14px; }
    .a16-map-cell { min-height: 112px; padding: 14px 12px 12px 14px; }
    .a16-map-cell b { font-size: 18px; }
    .a16-map-cell small { font-size: 14px; }
    .a16-map-axes span { padding-left: 14px; }
    .a16-sec { padding: 52px 0; }
    .a16-article-head h1 { font-size: 46px; }
    .a16-code { font-size: 168px; }
    .a16-reveal h1 { font-size: 40px; }
    .a16-reveal .a16-voice { font-size: 27px; }
    .a16-bars { grid-template-columns: 1fr 1fr; gap: 30px 40px; }
    .a16-more { grid-template-columns: 1fr 1fr; }
    .a16-foot-links { grid-template-columns: repeat(3, 1fr); }
    .a16-foot-in { padding-top: 48px; }
    .a16-buybar { display: none; }
    .a16-result { padding-bottom: 0; }
    .a16-locked .a16-btn, .a16-state .a16-btn, .a16-cta .a16-btn { max-width: 420px; }
    .a16-cover-row { grid-template-columns: 150px 1fr; gap: 24px; }
    .a16-table { margin-inline: 0; padding: 0; }
    .a16-reportbar { margin-top: -44px; }
    .a16-contents nav { position: absolute; left: 0; right: auto; top: 100%; bottom: auto; width: 340px; border: 2px solid var(--color-rule); border-radius: var(--radius-card); box-shadow: var(--shadow-md); padding: 6px 10px 10px; }
    .a16-state { min-height: 50vh; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; animation: none !important; }
}
@media print {
    @page { margin: 16mm 15mm; }
    body { display: block; background: #fff; color: #000; font-size: 11.5pt; }
    .a16-top, .a16-foot, body > footer.wrap.muted, .a16-reportbar, .a16-buybar, #tk-consent, .a16-noprint, .draft { display: none !important; }
    body > main.wrap { max-width: none; padding: 0; }
    .a16-chapter { break-inside: auto; padding: 18pt 0; }
    .a16-chapter h2 { break-after: avoid; font-size: 22pt; }
    .a16-chapter p, .a16-chapter p:first-of-type { font-size: 11.5pt; line-height: 1.55; orphans: 3; widows: 3; }
    .a16-card-page { break-after: page; break-inside: avoid; box-shadow: none; }
    .a16-report-head h1 { font-size: 30pt; }
    a { color: inherit; text-decoration: none; }
}

/* Read by screen readers only */
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* The test draws its own screen edge to edge. */
body > main.wrap:has(#test-app) { padding: 0; max-width: none; }
