/* OpenBrief site · jaune néon. Paper, ink, hairlines, and one yellow highlighter. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--fond); color: var(--encre); font-family: var(--font-sans); font-feature-settings: "tnum" 1; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--encre); }
a:hover { background: var(--neon); }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--encre); outline-offset: 2px; }
::selection { background: var(--neon); color: var(--encre); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.mono { font-family: var(--font-mono); }
.muted { color: var(--gris); }
.faint { color: var(--pale); }
.ink { color: var(--encre); }
.strong { font-weight: 500; }
.sm { font-size: 12px; }
.grow { flex: 1 1 auto; }
.label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gris); }
.label--ink { color: var(--encre); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--neon); padding: 8px 12px; }
.hp { position: absolute; left: -9999px; }

/* The highlighter: a stroke under the word, or a box behind short data. */
.hl, mark { background: none; color: inherit; box-shadow: var(--hl); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hl--block { display: inline-block; padding-bottom: 6px; }
.hl-box { background: var(--neon); color: var(--encre); padding: 0 3px; }

/* ---------- buttons ---------- */
.btn { display: inline-block; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; border-radius: var(--radius); padding: 9px 14px; border: 1px solid var(--encre); cursor: pointer; line-height: 1.3; }
.btn--ink { background: var(--encre); color: var(--fond); }
.btn--ink:hover { background: var(--encre); color: var(--neon); }
.btn--line { background: transparent; }
.btn--line:hover { background: var(--neon); }
.btn--lg { padding: 13px 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
button.btn:disabled { opacity: 0.6; cursor: default; }

/* ---------- index bar, nav ---------- */
.bar { border-bottom: 1px solid var(--trait); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gris); }
.bar__in { padding-top: 8px; padding-bottom: 8px; display: flex; flex-wrap: wrap; gap: 6px 28px; align-items: center; }

.nav { border-bottom: 1px solid var(--trait); }
.nav__in { padding-top: 16px; padding-bottom: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.nav__in a { text-decoration: none; }
.nav__links { display: contents; }
.nav__links a[aria-current] { box-shadow: var(--hl); }
.wordmark { font-family: var(--font-sans); font-size: 19px; font-weight: 600; letter-spacing: -0.03em; text-transform: none; display: inline-flex; align-items: flex-start; gap: 3px; }
.wordmark:hover { background: none; }
.wordmark__u { box-shadow: var(--hl); padding-bottom: 1px; line-height: 1; }
.wordmark__mcp { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.04em; }
@media (max-width: 1060px) {
  .nav__links, .nav__in > .grow:nth-of-type(2) { display: none; }
  .nav__in { gap: 12px 18px; }
}
@media (max-width: 480px) { .hide-sm { display: none; } }

/* ---------- index header (00) ---------- */
/* Hero trame: light-grey riso print drifting behind the header (site.js). */
.hero-stage { position: relative; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-stage .spec { background: var(--fond); }
.index { padding-top: 96px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 48px; }
.index--page { padding-bottom: 120px; }
.index__main { flex: 1 1 640px; min-width: 0; }
.index__side { flex: 1 1 380px; min-width: 0; }
.display { font-weight: 300; font-size: clamp(38px, 4.8vw, 68px); line-height: 1.06; letter-spacing: -0.045em; max-width: 1000px; }
.display mark { text-decoration: underline; text-decoration-color: var(--encre); text-decoration-thickness: 0.06em; text-underline-offset: 0.14em; box-shadow: none; background: linear-gradient(var(--neon), var(--neon)) no-repeat 0 0 / 100% 100%; padding: 0 3px; }
/* the yellow highlight is wiped on, left to right, as the page opens */
.display mark { animation: mark-wipe 0.5s cubic-bezier(0.7, 0, 0.2, 1) 0.15s both; }
@keyframes mark-wipe { from { background-size: 0% 100%; } }
@media (prefers-reduced-motion: reduce) { .display mark { animation: none; } }
.display--sm { font-size: clamp(36px, 4.4vw, 60px); }
/* wide screens: the hero headline takes the whole row, over the empty top of the spec column (the spec sits at the bottom) */
@media (min-width: 1100px) { .hero-stage .index__main .display { width: calc(100% + 388px); max-width: none; } }
.lede { margin-top: 32px; max-width: 580px; font-size: 18px; line-height: 1.55; color: var(--gris); }
.spec { flex: 0 1 340px; align-self: flex-end; font-size: 11px; letter-spacing: 0.04em; border-top: 1px solid var(--encre); }
.spec div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--trait); }
.spec dt { color: var(--gris); text-transform: uppercase; }
.spec dd { text-align: right; }
@media (max-width: 700px) {
  .index { padding-top: 56px; padding-bottom: 56px; gap: 24px; }
  .spec { flex-basis: 100%; }
}

/* ---------- figures strip: one line ---------- */
.strip { border-top: 1px solid var(--encre); border-bottom: 1px solid var(--trait); }
/* Hairlines drawn by each cell (right and bottom), so a wrapped last row leaves no grey block. */
.strip__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; margin-bottom: -1px; }
.strip__grid > div { padding: 28px 20px 24px; box-shadow: 1px 0 0 var(--trait), 0 1px 0 var(--trait); }
.strip__grid > div:last-child { box-shadow: 0 1px 0 var(--trait); }
.strip__v { font-weight: 300; font-size: clamp(34px, 8.5vw, 48px); line-height: 1; letter-spacing: -0.04em; white-space: nowrap; margin-bottom: 10px; }

/* ---------- sections ---------- */
.sec { padding-top: 120px; }
.sec--first { padding-top: 96px; }
.sec--tight { padding-top: 48px; }
main > .sec:last-child, main > section:last-of-type { padding-bottom: 120px; }
.rule-top { border-top: 1px solid var(--trait); }
.rule-ink { border-top: 1px solid var(--encre); }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px 32px; margin-bottom: 28px; }
/* the small label over a section title, on a line of its own */
.sec-head__k { flex: 0 0 100%; margin-bottom: -6px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gris); }
.sec-head__k::before { content: "/"; content: "/" / ""; margin-right: 8px; }
.sec-head h2 { flex: 1 1 420px; font-weight: 400; font-size: clamp(30px, 3.3vw, 40px); line-height: 1.2; letter-spacing: -0.03em; max-width: 1000px; }
.legend { display: flex; flex-wrap: wrap; gap: 18px; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.sw { width: 9px; height: 9px; display: inline-block; }
.sw--idx { background: var(--case); }
.sw--match { background: var(--neon); box-shadow: inset 0 0 0 1px var(--encre); }
.sw--fit { background: var(--encre); box-shadow: 0 4px 0 0 var(--neon); }
.sw--bar { background: var(--barre); }
.sw--ink { background: var(--encre); }
.caption { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--trait); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gris); }
.scroll { overflow-x: auto; }
.note { margin-top: 12px; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gris); }

/* 01 inventory map */
.invmap { width: 100%; height: auto; }
.invmap__idx { fill: var(--case); }
.invmap__match { fill: var(--neon); }
.invmap__fit { fill: var(--encre); }
/* each lit square pops in on its own delay (--d) when its brief becomes active; the old brief's squares fade out */
.invmap__brief rect { opacity: 0; transition: opacity 0.12s ease; transform-box: fill-box; transform-origin: center; }
.invmap__brief.on rect { opacity: 1; animation: sq-in 0.28s cubic-bezier(0.2, 0.8, 0.3, 1) both; animation-delay: var(--d, 0ms); transition: none; }
@keyframes sq-in { 0% { opacity: 0; transform: scale(0.2); } 55% { opacity: 1; transform: scale(1.7); } 100% { opacity: 1; transform: scale(1); } }
/* example brief cards: the active one is white with a yellow shadow, like the squares it lights up */
.bcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px; margin-top: 20px; }
.bcard { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 4px; text-align: left; font: inherit; color: inherit; background: none; border: 1px solid var(--trait); border-radius: var(--radius); padding: 12px 14px 12px; cursor: pointer; }
.bcard { transition: box-shadow 0.18s cubic-bezier(0.2, 0.8, 0.3, 1), transform 0.18s cubic-bezier(0.2, 0.8, 0.3, 1), background-color 0.12s, border-color 0.12s; }
.bcard:hover { border-color: var(--encre); }
.bcard[aria-pressed="true"] { z-index: 1; background: var(--surface); border-color: transparent; box-shadow: 4px 4px 0 var(--neon); transform: translate(-2px, -2px); }
.bcard__t { font-size: 17px; font-weight: 500; line-height: 1.25; letter-spacing: -0.02em; }
.bcard__a { font-size: 14px; line-height: 1.4; color: var(--gris); }
.bcard[aria-pressed="true"] .bcard__a { color: var(--encre); }
.bcard__m { margin-top: auto; padding-top: 6px; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gris); }
.bcard[aria-pressed="true"] .bcard__m { color: var(--encre); }
/* while rotating, an ink line runs along the bottom of the active card until the next brief */
.bcard::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--encre); }
[data-inv].is-playing .bcard[aria-pressed="true"]::after { animation: invcap-tick var(--inv-step, 6s) linear forwards; }
@keyframes invcap-tick { to { width: 100%; } }
@keyframes invcap-in { from { opacity: 0; } }
html:not(.js) .bcards { display: none; }
@media (prefers-reduced-motion: reduce) { .invmap__brief rect, .bcard { transition: none; animation: none !important; } }
@media (max-width: 640px) { .bcards { grid-template-columns: 1fr; } }

.invlegend { margin: 20px 0 10px; }
[data-inv] [role="img"] + .qbox { margin-top: 16px; }
.qbox { border-top: 0; }
.js .qpanel:not(.on) { display: none; }
html:not(.js) .qpanel + .qpanel { border-top: 1px solid var(--encre); }
.qtable { width: 100%; min-width: 780px; border-collapse: collapse; font-size: 13px; line-height: 1.4; }
.qtable th, .qtable td { text-align: left; vertical-align: baseline; padding: 8px 8px; border-bottom: 1px solid var(--trait); }
.qtable th:first-child, .qtable td:first-child { padding-left: 0; }
.qtable th:last-child, .qtable td:last-child { padding-right: 0; }
.qtable thead th { padding-top: 6px; padding-bottom: 6px; font-size: 10px; font-weight: 400; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gris); }
.qtable tbody tr:last-child td { border-bottom: 0; }
.qtable td.typing::after { content: ""; display: inline-block; width: 0.5em; height: 1em; margin-left: 2px; vertical-align: -0.15em; background: var(--encre); }
.qtable th:last-child, .qtable td:last-child { white-space: nowrap; }

.install-row { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 32px; align-items: flex-start; }
.install-row__text { flex: 1 1 360px; }
.install-row__text > p { font-size: 16px; line-height: 1.55; }
.isteps { margin-top: 20px; border-top: 1px solid var(--trait); font-size: 12px; counter-reset: s; }
.isteps li { display: grid; grid-template-columns: 28px 1fr; gap: 2px 8px; padding: 9px 0; border-bottom: 1px solid var(--trait); counter-increment: s; }
.isteps li::before { content: counter(s, decimal-leading-zero); color: var(--gris); grid-row: span 2; }
.isteps b { font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; font-size: 11px; }
.isteps span { color: var(--gris); font-family: var(--font-sans); font-size: 14px; }
.install { flex: 1 1 420px; min-width: 0; border: 1px solid var(--encre); background: var(--surface); padding: 14px 16px; }
.install:target { box-shadow: 4px 4px 0 var(--neon); }
.install__n { font-size: 13px; }
.install__line { display: block; margin-top: 8px; font-family: var(--font-mono); font-size: 14px; line-height: 1.7; word-break: break-word; }
.install__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--trait); }
.copy-note { margin-top: 12px; font-size: 14px; }
.copy-note b { font-weight: 500; box-shadow: var(--hl); }

/* 03 pipeline */
.pipe { display: grid; grid-template-columns: repeat(4, 1fr); }
.pipe--3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.pipe p strong { font-weight: 600; color: var(--encre); }
.pipe li { padding: 24px 20px 28px; border-right: 1px solid var(--trait); }
.pipe li:first-child { padding-left: 0; }
.pipe li:last-child { padding-right: 0; border-right: 0; }
.pipe__v { margin-top: 14px; font-weight: 300; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; letter-spacing: -0.04em; }
.pipe p { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--gris); max-width: 320px; }
@media (max-width: 900px) {
  .pipe:not(.pipe--3) { grid-template-columns: repeat(2, 1fr); }
  .pipe:not(.pipe--3) li:nth-child(odd) { padding-left: 0; }
  .pipe:not(.pipe--3) li:nth-child(even) { padding-right: 0; border-right: 0; }
  .pipe:not(.pipe--3) li:nth-child(n+3) { border-top: 1px solid var(--trait); }
}
@media (max-width: 560px) {
  .pipe:not(.pipe--3) { grid-template-columns: 1fr; }
  .pipe:not(.pipe--3) li:nth-child(n+2) { border-top: 0; }
  .pipe li { padding: 20px 0 24px; border-right: 0; border-bottom: 1px solid var(--trait); }
}

/* 04 facts: one fact per line */
.facts { width: 100%; min-width: 980px; border-collapse: collapse; table-layout: fixed; font-size: 12px; }
.facts th, .facts td { text-align: left; vertical-align: baseline; padding: 11px 16px 11px 0; border-bottom: 1px solid var(--trait); }
.facts th { padding-top: 10px; padding-bottom: 10px; font-weight: 400; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gris); }
.facts .raw { font-family: var(--font-sans); font-size: 14px; }

/* 05 missed demand */
.missed { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; padding-top: 32px; }
.missed__num { flex: 1 1 300px; }
.missed__num .big { font-weight: 300; font-size: 120px; line-height: 1; letter-spacing: -0.05em; }
.missed__num p { margin-top: 28px; font-size: 16px; line-height: 1.55; max-width: 380px; }
.missed__chart { flex: 2 1 520px; min-width: 0; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 220px; border-bottom: 1px solid var(--encre); }
.bar-col { flex: 1 1 0; background: var(--barre); display: flex; align-items: flex-end; }
.bar-col > div { width: 100%; background: var(--neon); }
.bar-col--now { background: var(--encre); }
.weeks { display: flex; gap: 10px; margin-top: 8px; font-size: 10px; letter-spacing: 0.04em; color: var(--gris); }
.weeks span { flex: 1 1 0; }
.missed__chart .legend { margin-top: 16px; }
@media (max-width: 560px) { .bars, .weeks { gap: 4px; } .weeks span:nth-child(odd) { visibility: hidden; } .missed__num .big { font-size: 96px; } }

/* 06 pricing: free for agencies on the left, a card for media on the right (home); plans table (/media) */
.free { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px 48px; align-items: start; padding-top: 32px; }
.free__h { margin-top: 18px; font-weight: 300; font-size: clamp(38px, 4.8vw, 68px); line-height: 1.06; letter-spacing: -0.045em; }
.free__media { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 28px; border: 1px solid var(--encre); background: var(--surface); }
.free__media-h { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; letter-spacing: -0.03em; max-width: 460px; }
.free__media .btn { margin-top: 8px; }
@media (max-width: 560px) { .free { padding-top: 24px; } .free__media { padding: 22px 20px; } }
.pricing__adv { margin-bottom: 16px; }
.pricing { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 15px; }
.pricing th, .pricing td { text-align: left; vertical-align: baseline; padding: 13px 16px 13px 0; border-bottom: 1px solid var(--trait); }
.pricing col, .pricing tr > :first-child { width: 42%; }
.pricing--3 col, .pricing--3 tr > :first-child { width: 34%; }
.pricing thead th { padding: 18px 16px 18px 0; font-weight: 500; font-size: 22px; letter-spacing: -0.02em; }
.pricing thead td { border-bottom: 1px solid var(--trait); }
.pricing tbody th { font-weight: 400; color: var(--gris); }
.pricing tfoot td { border-bottom: 0; padding-top: 20px; }
@media (max-width: 560px) {
  .pricing { font-size: 14px; }
  .pricing tr > :first-child { width: 40%; }
  .pricing--3 tr > :first-child { width: 31%; }
  .pricing--3 th, .pricing--3 td { padding-right: 8px; }
  .pricing--3 thead th { font-size: 16px; }
  .pricing--3 tfoot td { width: auto; padding-right: 0; }
  .pricing--3 tfoot .btn { white-space: nowrap; }
  .pricing tfoot td:first-child { display: none; }
  .pricing tfoot tr { display: flex; flex-direction: column; gap: 10px; }
  .pricing tfoot td { padding: 10px 0 0; width: auto; }
}

/* 07 FAQ */
.faq details { border-bottom: 1px solid var(--trait); }
.faq summary { list-style: none; cursor: pointer; display: flex; gap: 16px; justify-content: space-between; align-items: baseline; padding: 18px 0; font-size: 18px; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 14px; color: var(--gris); }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover span, .faq summary:hover { color: var(--encre); }
.faq .ans { padding: 0 0 22px; max-width: 760px; color: var(--gris); }
.faq .ans p + p { margin-top: 12px; }

/* media page console */
.console { border: 1px solid var(--encre); background: var(--surface); }
.console__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--encre); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
.cline { padding: 14px 16px; border-bottom: 1px solid var(--trait); max-width: 100%; }
.cline:last-child { border-bottom: 0; }
.cline--user { font-weight: 500; }
.cline--tool { font-size: 12px; color: var(--gris); padding-top: 8px; padding-bottom: 8px; }
.cline--agent { color: var(--gris); }
.cline--alert { background: var(--fond); }
.cline__h { font-weight: 500; font-size: 18px; margin: 4px 0; }

/* contact */
.contact-facts { margin-top: 40px; border-top: 1px solid var(--encre); max-width: 580px; }
.contact-facts div { padding: 14px 0; border-bottom: 1px solid var(--trait); }
.contact-facts dd { margin-top: 4px; color: var(--gris); font-size: 15px; }
.form { display: grid; gap: 18px; border-top: 1px solid var(--encre); padding-top: 24px; }
.field { display: grid; gap: 6px; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--encre); background: var(--surface); border: 1px solid var(--trait); border-radius: var(--radius); padding: 11px 12px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--encre); box-shadow: 0 2px 0 var(--neon); }
.field textarea { min-height: 160px; resize: vertical; }
.form .btn { justify-self: start; }
.notice { border: 1px solid var(--encre); padding: 12px 14px; font-size: 13px; }
.notice--ok { background: var(--neon); }

/* login */
.login-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 48px; }
.login-card { padding: 24px 24px 28px 0; border-bottom: 1px solid var(--trait); }
.login-card + .login-card { padding-left: 24px; border-left: 1px solid var(--trait); }
.login-card h2 { margin-top: 14px; font-weight: 400; font-size: clamp(30px, 3.3vw, 40px); letter-spacing: -0.03em; }
.login-card p { margin: 10px 0 24px; max-width: 420px; }
@media (max-width: 640px) { .login-card + .login-card { padding-left: 0; border-left: 0; } }

/* footer */
.footer { border-top: 1px solid var(--encre); }
/* the print field runs edge to edge; the text sits on a panel in the page colour and the field shows below and beside it */
.footer-stage { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; min-height: 300px; padding: 56px 0; }
.footer-stage .wrap { width: 100%; padding-left: 0; padding-right: 0; }
.footer-stage .footer__in { background: var(--fond); align-items: center; padding: 26px 28px; margin: 0 var(--gutter); }
.footer__in { padding-top: 24px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gris); }
.footer__in a { color: var(--gris); text-decoration: none; }
.footer__in a:hover { color: var(--encre); }
.footer__in a[href^="mailto"] { text-transform: uppercase; }
.invmap--narrow { display: none; }
@media (max-width: 640px) { .invmap--wide { display: none; } .invmap--narrow { display: block; } }

/* the paste-into-your-assistant box, at the bottom of the hero: a textarea-like field, label on top, hint and Copy underneath */
.hero-stage .index { padding-bottom: 36px; }
.hero-install { padding-bottom: 56px; }
.hero-install .install__row { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin-top: 12px; }
.hero-install .install__row .install__line { flex: 1 1 320px; margin-top: 0; }
.hero-install .install__row .btn { flex: 0 0 180px; align-self: stretch; justify-content: center; text-align: center; white-space: normal; line-height: 1.4; padding-inline: 16px; }
@media (max-width: 700px) { .hero-install .install__row .btn { flex: 1 1 100%; } }
.hero-install .install__row .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.chk { flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; stroke-dasharray: 16; stroke-dashoffset: 16; animation: chk-draw 0.45s ease-out 0.05s forwards; }
@keyframes chk-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .chk { animation: none; stroke-dashoffset: 0; } }
.hero-install .install__after { flex: 1 1 320px; display: flex; align-items: center; padding: 12px 14px; border: 1px solid var(--encre); background: var(--encre); color: var(--fond); font-family: var(--font-mono); font-size: 13px; line-height: 1.65; }
.hero-install .install__after[hidden], .hero-install .install__line[hidden] { display: none; }
.hero-install .install { padding: 14px 16px; border: 0; box-shadow: 5px 5px 0 var(--neon); }
.hero-install .install__n { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--encre); }
.hero-install .install__line { display: block; margin-top: 12px; padding: 12px 14px; border: 1px solid var(--trait); background: var(--fond); font-size: 13px; line-height: 1.65; user-select: all; cursor: text; }
.hero-install .install__line::after { content: ""; display: inline-block; width: 0.55em; height: 1.05em; margin-left: 3px; background: var(--encre); vertical-align: -0.15em; animation: caret 1.05s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-install .install__line::after { animation: none; } }
.hero-install .install__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-top: 12px; padding: 0; border: 0; }
.hero-install .install__hint { font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gris); }
.hero-install .install__n + .install__hint { margin-top: 10px; font-size: 11px; }
.hero-install .copy-note { margin-top: 10px; font-size: 13px; }
@media (max-width: 700px) { .hero-install { padding-bottom: 40px; } }

.legal { max-width: 720px; }
.legal section { margin-top: 36px; }
.legal h2 { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 10px; }
.legal p, .legal li { font-size: 16px; line-height: 1.6; color: var(--gris); }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: 12px; }
.legal ul { padding-left: 20px; }
.legal li + li { margin-top: 6px; }

.setup h2 { margin-top: 10px; }
.setup .label { margin-top: 0; }
.setup h3 { margin-top: 28px; font-size: 16px; font-weight: 500; }
.setup h3 + p, .setup h3 + .codebox { margin-top: 8px; }
.setup .codebox + p, .setup p + .codebox { margin-top: 10px; }
.setup ol, .setup ul { padding-left: 20px; margin-top: 12px; }
.setup li { font-size: 16px; line-height: 1.6; color: var(--gris); }
.setup li strong { color: var(--encre); font-weight: 500; }
.setup .contact-facts { margin-top: 12px; }
.setup .contact-facts dd { word-break: break-all; font-size: 14px; }
.codebox { position: relative; margin-top: 12px; border: 1px solid var(--trait); background: var(--surface); }
.codebox pre { margin: 0; padding: 14px 96px 14px 14px; overflow-x: auto; white-space: pre-wrap; word-break: break-word; }
.codebox code { font-family: var(--font-mono); font-size: 13px; line-height: 1.65; color: var(--encre); }
.codebox .btn { position: absolute; top: 8px; right: 8px; padding: 6px 10px; }
.codebox .chk { stroke: currentColor; fill: none; stroke-width: 2; margin-right: 4px; vertical-align: -2px; }

/* security: a threat model, keyword pills */
.security { max-width: 1040px; }
.security .lede + .lede { margin-top: 16px; }
.security__updated { margin-top: 20px; font-size: 13px; }
.security section { margin-top: 72px; scroll-margin-top: 24px; }
.security h2 { margin-top: 10px; font-size: clamp(24px, 2.4vw, 30px); font-weight: 500; letter-spacing: -0.02em; }
.security section p, .security section li { font-size: 16px; line-height: 1.55; color: var(--gris); }
.security section p + p { margin-top: 12px; }
.pill { display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.3; color: var(--encre); border: 1px solid var(--encre); border-radius: var(--radius); padding: 3px 7px; white-space: nowrap; text-decoration: none; }
.pill--hl { background: var(--neon); }
a.pill:hover { background: var(--neon); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.threats { margin-top: 24px; border-top: 1px solid var(--encre); }
.threat { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 16px 48px; padding: 28px 0; border-bottom: 1px solid var(--trait); scroll-margin-top: 24px; }
.threat .label { display: block; margin-bottom: 6px; }
.security .threat__risk { margin-top: 16px; font-size: 15px; }
.threat ul { list-style: square; padding-left: 18px; }
.security .threat li { color: var(--encre); }
.threat li::marker { color: var(--encre); }
.threat li + li { margin-top: 8px; }
.security .threat__verified { margin-top: 16px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--trait); font-family: var(--font-mono); font-size: 12px; line-height: 1.6; color: var(--encre); }
.threat__verified .label { display: inline; margin: 0 6px 0 0; }
.pill-list { margin-top: 24px; border-top: 1px solid var(--encre); }
.pill-list li { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 8px 24px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--trait); }
.pill-list .pill { justify-self: start; }
@media (max-width: 760px) { .threat, .pill-list li { grid-template-columns: minmax(0, 1fr); } .pill { white-space: normal; } }
