/*
 * Heraldic Folio — the apex site's stylesheet (askalot.io and its /landing/ pages).
 *
 * The look is the "E · Heraldic Folio" design direction: a vellum ground, iron-gall
 * ink, one heraldic tincture per lifecycle stage (lapis for Ideate and Design,
 * verdigris for Campaign, vermilion for Execute, murrey for Analyze), and ochre gold
 * for rules and ornament only — never for text, where it fails contrast.
 *
 * Decisions and constraints:
 * - Plain CSS, not Tailwind utilities. The apex pages are the only surface in this
 *   look, and the shared Tailwind bundle is a fleet-wide production artifact; every
 *   class here is prefixed `hf-` so the Tailwind scan of this directory never mistakes
 *   one for a utility the bundle lacks (scripts/tests/test_tailwind_publish_contract.py).
 * - Served `immutable` from /landing/ like the images (00-root.conf), so a changed
 *   stylesheet ships under a NEW filename (folio-YYYY-MM[-N].css) with every <link>
 *   updated, never over this path.
 * - Light only: the folio is the brand, so there is no dark variant.
 * - Every text colour on vellum and folio passes 4.5:1; `--hf-ink-3` is the lightest.
 */

:root {
    --hf-vellum: #f4ecd8;
    --hf-folio: #fbf7ec;
    --hf-ink: #1f1a14;
    --hf-ink-2: #4a4034;
    --hf-ink-3: #6b5d4a;
    --hf-rule: #d8cba8;
    --hf-rule-dot: #c9b98f;
    --hf-lapis: #2a4d8f;
    --hf-lapis-dark: #1d3768;
    --hf-verdigris: #2f6f5e;
    --hf-vermilion: #b3402a;
    --hf-rubric: #9c3a26;
    --hf-murrey: #6e2f4f;
    --hf-gold: #a87b1e;
    --hf-serif: 'Cormorant Garamond', Georgia, serif;
    --hf-sans: Archivo, system-ui, sans-serif;
    --hf-mono: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    margin: 0;
    background: var(--hf-vellum);
    color: var(--hf-ink);
    font-family: var(--hf-sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--hf-lapis); }
a:hover { color: var(--hf-lapis-dark); }
h1, h2, h3 { font-family: var(--hf-serif); font-weight: 600; margin: 0; line-height: 1.08; }
p { margin: 0; }
code, pre { font-family: var(--hf-mono); font-variant-ligatures: none; }  /* JetBrains Mono would draw == and >= as symbols: code must read as typed */

.hf-wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .hf-wrap { padding: 0 16px; } }

.hf-skip { position: absolute; left: -9999px; }
.hf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hf-skip:focus { left: 16px; top: 8px; z-index: 100; background: var(--hf-folio); padding: 8px 12px; }

/* ---- Header ---- */
.hf-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--hf-vellum);
    border-bottom: 1px solid var(--hf-rule);
}
.hf-header__bar { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.hf-brand { display: flex; align-items: center; gap: 12px; color: var(--hf-ink); text-decoration: none; }
.hf-brand:hover { color: var(--hf-ink); }
.hf-brand__name { font-family: var(--hf-serif); font-size: 30px; font-weight: 700; letter-spacing: 0.01em; }
.hf-nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.hf-nav a { color: var(--hf-ink-2); text-decoration: none; }
.hf-nav a:hover { color: var(--hf-ink); text-decoration: underline; text-underline-offset: 4px; }
.hf-nav a.hf-btn, .hf-nav a.hf-btn:hover { color: var(--hf-folio); text-decoration: none; }
.hf-nav__actions { display: flex; align-items: center; gap: 16px; }
.hf-menu-btn {
    display: none; background: none; border: 1px solid var(--hf-ink); color: var(--hf-ink);
    min-width: 44px; min-height: 44px; border-radius: 2px; cursor: pointer;
}
@media (max-width: 900px) {
    .hf-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
    .hf-nav {
        display: none; position: absolute; top: 72px; left: 0; right: 0;
        flex-direction: column; align-items: flex-start; gap: 4px;
        background: var(--hf-folio); border-bottom: 1px solid var(--hf-rule); padding: 12px 16px 20px;
    }
    .hf-nav a { padding: 10px 0; }
    .hf-nav--open { display: flex; }
    .hf-nav__actions { flex-wrap: wrap; }
}

/* ---- Buttons ---- */
.hf-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 12px 22px; border-radius: 2px;
    background: var(--hf-lapis); color: var(--hf-folio);
    font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid var(--hf-lapis);
}
.hf-btn:hover { background: var(--hf-lapis-dark); border-color: var(--hf-lapis-dark); color: var(--hf-folio); }
.hf-btn--ghost { background: transparent; color: var(--hf-ink); border-color: var(--hf-ink); font-weight: 500; }
.hf-btn--ghost:hover { background: var(--hf-folio); color: var(--hf-ink); border-color: var(--hf-ink); }
.hf-btn--rubric { background: var(--hf-rubric); border-color: var(--hf-rubric); }
.hf-btn--rubric:hover { background: #7f2e1e; border-color: #7f2e1e; }
.hf-btn--small { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.hf-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hf-actions--spaced { margin-top: 32px; }

/* ---- Type helpers ---- */
.hf-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hf-rubric); }
.hf-eyebrow--quiet { color: var(--hf-ink-3); }
.hf-label { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hf-ink-3); }
.hf-lede { font-size: 18px; line-height: 1.65; color: var(--hf-ink-2); max-width: 560px; }
.hf-lede--spaced { margin-bottom: 32px; max-width: 760px; }
.hf-label--rubric { color: var(--hf-rubric); }
.hf-muted { color: var(--hf-ink-2); }
.hf-small { font-size: 14px; line-height: 1.6; }
.hf-gilt { width: 120px; height: 1px; background: var(--hf-gold); border: 0; margin: 0; }
.hf-more-link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.hf-more-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.hf-section { padding: 72px 0 0; }
.hf-section--last { padding-bottom: 72px; }
.hf-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--hf-rule); padding-bottom: 14px; margin-bottom: 28px; }
.hf-section__head h2 { font-size: 38px; }
.hf-section__aside { font-family: var(--hf-serif); font-style: italic; font-size: 19px; color: var(--hf-ink-3); }

/* ---- Hero ---- */
.hf-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 64px 0 56px; }
.hf-hero__text { display: flex; flex-direction: column; gap: 22px; }
.hf-hero h1 { font-size: 84px; line-height: 0.96; letter-spacing: -0.01em; }
.hf-hero h1 em { color: var(--hf-lapis); }
.hf-hero__art { display: flex; justify-content: center; }
.hf-hero__art svg { width: 100%; max-width: 520px; height: auto; }
@media (max-width: 900px) {
    .hf-hero { grid-template-columns: minmax(0, 1fr); padding: 40px 0; gap: 32px; }
    .hf-hero h1 { font-size: 56px; }
    .hf-hero__art svg { max-width: 360px; }
}

/* ---- Colophon: the founding article and the paper ---- */
.hf-colophon { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-bottom: 56px; }
.hf-colophon__card { background: var(--hf-folio); border: 1px solid var(--hf-rule); padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.hf-colophon__card--link { text-decoration: none; color: var(--hf-ink); }
.hf-colophon__card--link:hover { color: var(--hf-ink); border-color: var(--hf-ink-3); }
.hf-colophon__title { font-family: var(--hf-serif); font-size: 21px; font-weight: 600; color: var(--hf-ink); text-decoration: none; line-height: 1.25; }
a.hf-colophon__title:hover, .hf-colophon__card--link:hover .hf-colophon__title { text-decoration: underline; text-underline-offset: 4px; }
.hf-colophon__meta { font-size: 13px; color: var(--hf-ink-3); }
.hf-colophon__meta a { color: var(--hf-ink-2); }
@media (max-width: 760px) { .hf-colophon { grid-template-columns: minmax(0, 1fr); } }

/* ---- Pillars I. II. III. ---- */
.hf-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--hf-ink); border-bottom: 1px solid var(--hf-ink); }
.hf-pillar { padding: 30px; display: flex; flex-direction: column; gap: 10px; border-right: 1px solid var(--hf-rule); }
.hf-pillar:first-child { padding-left: 0; }
.hf-pillar:last-child { padding-right: 0; border-right: 0; }
.hf-pillar__num { font-family: var(--hf-serif); font-size: 42px; font-weight: 600; color: var(--hf-rubric); line-height: 1; }
.hf-pillar h3 { font-size: 27px; }
.hf-pillar p { font-size: 15px; color: var(--hf-ink-2); flex-grow: 1; }
@media (max-width: 900px) {
    .hf-pillars { grid-template-columns: minmax(0, 1fr); }
    .hf-pillar, .hf-pillar:first-child, .hf-pillar:last-child { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--hf-rule); }
    .hf-pillar:last-child { border-bottom: 0; }
}

/* ---- Verification folio ---- */
.hf-verif { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.hf-verif__text { display: flex; flex-direction: column; gap: 20px; }
.hf-verif__text h2 { font-size: 48px; line-height: 1.04; }
.hf-initial { display: flex; gap: 16px; align-items: flex-start; }
.hf-initial__cap {
    flex-shrink: 0; width: 68px; height: 68px; background: var(--hf-lapis); border: 2px solid var(--hf-gold);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--hf-serif); font-size: 52px; font-weight: 700; color: var(--hf-folio); line-height: 1;
}
.hf-initial p { font-size: 17px; color: var(--hf-ink-2); }
.hf-claims { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hf-rule); }
.hf-claims li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dotted var(--hf-rule-dot); align-items: baseline; font-size: 15px; }
.hf-claims__num { font-family: var(--hf-serif); font-style: italic; font-size: 18px; color: var(--hf-rubric); min-width: 24px; }
.hf-claims span.hf-label--rubric { color: var(--hf-rubric); }
.hf-muted { color: var(--hf-ink-2); }
.hf-scope { font-size: 13px; color: var(--hf-ink-3); }
.hf-folio {
    background: var(--hf-folio); border: 1px solid var(--hf-rule);
    box-shadow: 0 1px 0 var(--hf-rule), 0 24px 48px -28px rgba(60, 40, 10, 0.28);
    padding: 24px; display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 18px;
}
.hf-folio__title { font-family: var(--hf-serif); font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.hf-folio__title em { font-weight: 500; color: var(--hf-ink-3); }
.hf-folio pre { margin: 0; font-size: 12.5px; line-height: 1.75; color: #2b241b; white-space: pre-wrap; }
.hf-folio pre b { color: var(--hf-rubric); font-weight: 500; }
.hf-margin {
    border-left: 1px solid var(--hf-rule); padding: 44px 0 8px 14px;
    display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
    font-family: var(--hf-serif); font-style: italic; font-size: 16px; line-height: 1.35;
}
.hf-margin__a { color: var(--hf-lapis); }
.hf-margin__b { color: var(--hf-rubric); }
.hf-verdicts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.hf-verdict { border: 1px solid var(--hf-rule); padding: 16px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--hf-ink-2); }
.hf-verdict--refused { border-color: var(--hf-rubric); border-top: 4px solid var(--hf-rubric); background: var(--hf-folio); color: var(--hf-ink); }
.hf-verdict--refused .hf-label { color: var(--hf-rubric); }
.hf-verdict code { font-size: 12px; line-height: 1.5; color: var(--hf-rubric); }
@media (max-width: 900px) {
    .hf-verif { grid-template-columns: minmax(0, 1fr); }
    .hf-verif__text h2 { font-size: 38px; }
}
@media (max-width: 560px) {
    .hf-folio { grid-template-columns: minmax(0, 1fr); }
    .hf-margin { border-left: 0; border-top: 1px solid var(--hf-rule); padding: 12px 0 0; }
    .hf-verdicts { grid-template-columns: minmax(0, 1fr); }
}

/* ---- Stages ---- */
.hf-stages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.hf-stage { display: flex; flex-direction: column; gap: 8px; color: var(--hf-ink); text-decoration: none; padding-bottom: 6px; }
.hf-stage:hover { color: var(--hf-ink); }
.hf-stage:hover h3 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.hf-stage h3 { font-size: 23px; }
.hf-stage p { font-size: 14px; color: var(--hf-ink-2); }
.hf-stage__more { font-size: 14px; font-weight: 600; color: var(--hf-lapis); }
.hf-shield { width: 48px; height: 56px; flex-shrink: 0; }
.hf-shield--small { width: 30px; height: 35px; }
@media (max-width: 900px) { .hf-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .hf-stages { grid-template-columns: minmax(0, 1fr); } }

.hf-fasttrack { margin-top: 32px; border: 1px solid var(--hf-rule); border-left: 4px solid var(--hf-lapis); background: var(--hf-folio); padding: 20px 24px; display: flex; flex-direction: column; gap: 6px; }
.hf-fasttrack h3 { font-size: 24px; }
.hf-fasttrack p { font-size: 15px; color: var(--hf-ink-2); }

/* ---- Plain-language feature list (the online-survey-tool search words) ---- */
.hf-essentials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.hf-essential { padding: 16px 0; border-bottom: 1px dotted var(--hf-rule-dot); display: flex; flex-direction: column; gap: 4px; }
.hf-essential h3 { font-family: var(--hf-sans); font-size: 16px; font-weight: 600; line-height: 1.35; }
.hf-essential p { font-size: 14px; color: var(--hf-ink-2); }
@media (max-width: 900px) { .hf-essentials { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .hf-essentials { grid-template-columns: minmax(0, 1fr); } }

/* ---- Free / contract ---- */
.hf-offer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.hf-offer__card { padding-top: 18px; display: flex; flex-direction: column; gap: 12px; border-top: 4px solid var(--hf-ink); }
.hf-offer__card--contract { border-top-color: var(--hf-gold); }
.hf-offer__card h3 { font-size: 30px; }
.hf-offer__card p { font-size: 15px; color: var(--hf-ink-2); }
.hf-demo-note { margin-top: 24px; font-size: 14px; color: var(--hf-ink-2); }
.hf-demo-note code { background: var(--hf-folio); border: 1px solid var(--hf-rule); padding: 1px 6px; font-size: 13px; color: var(--hf-ink); }
@media (max-width: 760px) { .hf-offer { grid-template-columns: minmax(0, 1fr); } }

/* ---- Footer (sable) ---- */
.hf-footer { background: var(--hf-ink); color: #e9dfc8; margin-top: 72px; padding: 48px 0 28px; font-size: 14px; }
.hf-footer a { color: #e9dfc8; text-decoration: none; }
.hf-footer a:hover { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }
.hf-footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.hf-footer h4 { margin: 0 0 12px; font-family: var(--hf-serif); font-size: 19px; font-weight: 600; color: #ffffff; }
.hf-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.hf-footer__brand { display: flex; align-items: center; gap: 12px; color: #ffffff; font-family: var(--hf-serif); font-size: 26px; font-weight: 700; }
.hf-footer__tag { margin-top: 10px; color: #cfc3a8; max-width: 340px; }
.hf-footer__base { margin-top: 36px; padding-top: 20px; border-top: 1px solid #4a4034; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; color: #cfc3a8; }
.hf-footer__base nav { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.hf-footer button { background: none; border: 0; padding: 0; color: #e9dfc8; font: inherit; cursor: pointer; }
.hf-footer button:hover { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .hf-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- How it works: stage index, beats, plates, details ---- */
.hf-intro { padding: 56px 0 32px; display: flex; flex-direction: column; gap: 16px; }
.hf-intro h1 { font-size: 64px; line-height: 1; }
.hf-stage-index {
    position: sticky; top: 72px; z-index: 40; background: var(--hf-vellum);
    border-top: 2px solid var(--hf-ink); border-bottom: 1px solid var(--hf-ink);
}
.hf-stage-index ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px 28px; flex-wrap: wrap; }
.hf-stage-index a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--hf-ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.hf-stage-index a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) { .hf-stage-index { position: static; } }

.hf-beat { padding: 72px 0; border-bottom: 1px solid var(--hf-rule); }
.hf-beat--folio { background: var(--hf-folio); }
.hf-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: start; }
.hf-row + .hf-row { margin-top: 56px; }
.hf-text { display: flex; flex-direction: column; gap: 18px; }
.hf-text h2 { font-size: 44px; line-height: 1.05; }
.hf-text h3 { font-size: 30px; }
.hf-text > p { font-size: 17px; color: var(--hf-ink-2); }
.hf-tag { display: inline-flex; align-items: center; gap: 10px; }
.hf-tag__stage { font-family: var(--hf-serif); font-size: 22px; font-weight: 600; }
.hf-figure { display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 900px) {
    .hf-row { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .hf-row > .hf-text { order: -1; }
    .hf-text h2 { font-size: 36px; }
    .hf-intro h1 { font-size: 46px; }
}

.hf-plate { margin: 0; background: var(--hf-folio); border: 1px solid var(--hf-rule); padding: 10px; box-shadow: 0 24px 48px -32px rgba(60, 40, 10, 0.35); }
.hf-beat--folio .hf-plate { background: var(--hf-vellum); }
.hf-plate img { width: 100%; height: auto; border: 1px solid var(--hf-rule); }
.hf-plate figcaption { padding: 10px 4px 2px; font-family: var(--hf-serif); font-style: italic; font-size: 16px; line-height: 1.35; color: var(--hf-ink-3); }

.hf-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hf-list li { position: relative; padding-left: 22px; font-size: 15px; color: var(--hf-ink-2); }
.hf-list li::before { content: ''; position: absolute; left: 2px; top: 9px; width: 8px; height: 8px; background: var(--hf-gold); transform: rotate(45deg); }
.hf-list strong { color: var(--hf-ink); font-weight: 600; }
.hf-steps { list-style: none; margin: 0; padding: 0; counter-reset: hf-step; display: flex; flex-direction: column; gap: 8px; }
.hf-steps li { counter-increment: hf-step; display: flex; gap: 12px; font-size: 15px; color: var(--hf-ink-2); }
.hf-steps li::before { content: counter(hf-step, upper-roman) '.'; font-family: var(--hf-serif); font-weight: 600; color: var(--hf-rubric); min-width: 28px; }
.hf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hf-chips span { font-size: 13px; border: 1px solid var(--hf-rule-dot); padding: 3px 10px; color: var(--hf-ink-2); background: var(--hf-folio); }
.hf-beat--folio .hf-chips span { background: var(--hf-vellum); }

.hf-more { border-top: 1px solid var(--hf-rule); border-bottom: 1px solid var(--hf-rule); }
.hf-more summary {
    list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    font-family: var(--hf-serif); font-size: 20px; font-weight: 600; color: var(--hf-ink);
}
.hf-more summary::-webkit-details-marker { display: none; }
.hf-more summary::after { content: '+'; font-family: var(--hf-sans); font-size: 22px; font-weight: 400; color: var(--hf-rubric); }
.hf-more[open] summary::after { content: '\2212'; }
.hf-more__body { padding: 4px 0 18px; display: flex; flex-direction: column; gap: 14px; font-size: 15px; color: var(--hf-ink-2); }

.hf-verdict-strip { display: flex; gap: 12px; align-items: center; border: 1px solid var(--hf-verdigris); border-left: 4px solid var(--hf-verdigris); background: var(--hf-folio); padding: 12px 16px; font-size: 14px; }
.hf-verdict-strip strong { color: var(--hf-verdigris); }

.hf-code { margin: 0; background: var(--hf-ink); color: #e9dfc8; padding: 20px; font-size: 13px; line-height: 1.7; overflow-x: auto; border: 1px solid var(--hf-ink); }
.hf-code i { color: #b8ab8c; font-style: normal; }
.hf-code b { color: #f0c96a; font-weight: 500; }
.hf-code u { color: #9ccfbd; text-decoration: none; }

.hf-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.hf-trust__item { border-top: 2px solid var(--hf-ink); padding-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.hf-trust__item h3 { font-size: 22px; }
.hf-trust__item p { font-size: 14px; color: var(--hf-ink-2); }
.hf-trust--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 32px; }
@media (max-width: 900px) { .hf-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .hf-trust { grid-template-columns: minmax(0, 1fr); } }

.hf-closing { padding: 72px 0 0; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.hf-closing h2 { font-size: 44px; }
.hf-intro__note { font-size: 16px; color: var(--hf-ink-3); max-width: 640px; }
.hf-reassure { margin-top: 32px; font-size: 15px; color: var(--hf-ink-2); max-width: 760px; }

/* ---- Drolleries: marginal figures placed in space the layout already leaves empty ----
   Each one is absolutely positioned inside a section that is position: relative, so
   adding or removing a figure never moves content. Decorative only (alt="", no
   caption). Hidden below 1100px, where the empty spaces they sit in close up. */
.hf-has-drollery { position: relative; }
.hf-drollery { position: absolute; height: auto; pointer-events: none; user-select: none; }
.hf-drollery--hero { top: -8px; left: -6px; width: 120px; }
.hf-drollery--verif { left: 40px; bottom: 0; width: 84px; }
.hf-drollery--offer { right: 0; bottom: 8px; width: 130px; }
.hf-drollery--intro { right: 0; bottom: 4px; width: 140px; }
.hf-drollery--ent-intro { right: 24px; bottom: 4px; width: 150px; }
.hf-drollery--closing { right: 0; bottom: 64px; width: 180px; }
@media (max-width: 1100px) { .hf-drollery { display: none; } }
/* In-flow drollery at the foot of a text column: it follows the column when a <details> opens, so it never overlaps text */
.hf-drollery-inline { display: block; align-self: center; width: 200px; height: auto; margin-top: 24px; pointer-events: none; user-select: none; }
@media (max-width: 1100px) { .hf-drollery-inline { display: none; } }
