/*
 * D3 Platform SE · shared site kit
 * One stylesheet for every consumer site. A site's own assets/theme.css loads after it and sets the brand
 * tokens (colours, radius, font) plus anything that site alone needs. No framework, no web fonts, no icon font.
 * How a page is built: docs/site-templates.md.
 */

/* ---- Tokens -------------------------------------------------------------------------------------------- */
:root {
    --brand: #0b5cd5;          /* primary action and accents */
    --brand-ink: #ffffff;      /* text on --brand */
    --brand-hover: #0847a6;    /* --brand when hovered or pressed */
    --brand-strong: #0847a6;   /* brand-coloured text and links on white */
    --brand-soft: #e8f0fd;     /* tinted backgrounds */
    --accent: #f59e0b;         /* highlights, progress */
    --ink: #14213d;            /* headings, dark surfaces */
    --text: #2b3445;
    --muted: #5d6779;
    --line: #dfe3ea;
    --bg: #ffffff;
    --bg-alt: #f5f7fa;
    --dark: #14213d;           /* footer */
    --dark-text: #c9d1de;
    --danger: #c62828;
    --success: #1b7f4b;

    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-head: var(--font);
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 2px rgb(16 24 40 / .06), 0 4px 16px rgb(16 24 40 / .08);
    --shadow-lg: 0 12px 40px rgb(16 24 40 / .18);
    --wrap: 72rem;
    --gutter: 16px;
    --space: clamp(2.5rem, 6vw, 4.5rem);   /* vertical rhythm between sections */
}

/* ---- Base ---------------------------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0; font: 400 1rem/1.6 var(--font); color: var(--text); background: var(--bg);
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video, canvas, iframe { max-width: 100%; }
img, video { height: auto; }
img { display: block; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.2rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.55rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: 1rem; }
p, ul, ol, dl, blockquote, figure, table, pre { margin: 0 0 1rem; }
ul, ol { padding-left: 1.25rem; }
a { color: var(--brand-strong); text-underline-offset: 2px; }
a:hover { color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
small, .small { font-size: .875rem; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .6rem .75rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--ink); font-weight: 600; background: var(--bg-alt); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

/* ---- Layout -------------------------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: calc(46rem + 2 * var(--gutter)); }
.section { padding-block: var(--space); }
.section-tight { padding-block: calc(var(--space) / 2); }
.section-alt { background: var(--bg-alt); }
.section-brand { background: var(--brand-soft); }
.section-dark { background: var(--dark); color: var(--dark-text); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 44rem; margin: 0 auto 2.5rem; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.eyebrow { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-strong); margin-bottom: .5rem; }
.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.muted { color: var(--muted); }
.grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--min, 17rem)), 1fr)); }
.grid-2 { --min: 22rem; }
.grid-4 { --min: 14rem; }
.split { display: grid; gap: 2rem; align-items: center; }
.split-top { align-items: start; }
.with-aside { display: grid; gap: 2.5rem; }
.row-between { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
@media (min-width: 900px) {
    .split { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .split-7-5 { grid-template-columns: 7fr 5fr; }
    .with-aside { grid-template-columns: minmax(0, 1fr) 20rem; }
}

/* ---- Header and navigation ----------------------------------------------------------------------------- */
/* No backdrop-filter or transform here: either makes the header the containing block of the fixed phone menu */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: auto; height: 28px; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a, .nav summary { display: block; padding: .55rem .8rem; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: var(--radius-sm); cursor: pointer; }
.nav a:hover, .nav summary:hover { background: var(--bg-alt); color: var(--ink); }
.nav summary { list-style: none; }
.nav summary::-webkit-details-marker { display: none; }
.nav summary::after { content: ""; display: inline-block; width: .4em; height: .4em; margin-left: .45em; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-.2em) rotate(45deg); }
.nav .menu a { font-weight: 500; }
.nav .menu h6 { margin: .75rem .8rem .25rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.nav-toggle, .search-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); border-radius: var(--radius-sm); cursor: pointer; }
.nav-toggle:hover, .search-toggle:hover { background: var(--bg-alt); }
.nav-toggle { margin-left: auto; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.site-search { border-top: 1px solid var(--line); padding-block: .75rem; }
.site-search form { display: flex; gap: .5rem; }
@media (max-width: 959.98px) {
    .nav { position: fixed; inset: 64px 0 0; background: var(--bg); overflow-y: auto; padding: 1rem var(--gutter) 2rem; border-top: 1px solid var(--line); display: none; }
    .site-header.is-open .nav { display: block; }
    .nav .menu { padding-left: .75rem; border-left: 2px solid var(--line); margin: .25rem 0 .5rem .8rem; }
}
@media (min-width: 960px) {
    .nav-toggle { display: none; }
    .nav > ul { display: flex; align-items: center; gap: .15rem; }
    .nav details { position: relative; }
    .nav .menu { position: absolute; top: calc(100% + .4rem); left: 0; min-width: 16rem; max-height: 70vh; overflow-y: auto; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: .4rem; }
    .nav .menu-wide { display: grid; grid-template-columns: repeat(2, minmax(14rem, 1fr)); gap: 0 .5rem; min-width: 34rem; }
}
.header-minimal .wrap { justify-content: center; }
.header-terms { font-size: .8rem; color: var(--muted); padding-block: .4rem; text-align: center; }

/* ---- Footer -------------------------------------------------------------------------------------------- */
.site-footer { background: var(--dark); color: var(--dark-text); padding-block: 3rem 2rem; font-size: .95rem; }
.site-footer a { color: var(--dark-text); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h2 { color: #fff; font-size: 1rem; margin-bottom: .75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.footer-cta { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; padding-bottom: 2rem; margin-bottom: 2rem; border-bottom: 1px solid rgb(255 255 255 / .12); }
.footer-cta p { color: #fff; font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 700; margin: 0; max-width: 40rem; line-height: 1.3; }
.footer-cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.footer-legal { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / .12); font-size: .85rem; }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; margin-bottom: .75rem; }
.footer-legal p { margin: 0; }
.footer-terms { font-size: .8rem; margin-bottom: 1.5rem; }

/* ---- Buttons ------------------------------------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.5rem;
    font: 700 1rem/1.2 var(--font); text-align: center; text-decoration: none; letter-spacing: .01em;
    border: 2px solid transparent; border-radius: 999px; cursor: pointer; transition: background-color .15s, border-color .15s, transform .15s, box-shadow .15s;
    background: var(--bg-alt); color: var(--ink);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: var(--brand-hover); color: var(--brand-ink); }
.btn-secondary { background: #6b7280; color: #fff; }
.btn-secondary:hover { background: #4b5563; color: #fff; }
.btn-outline { background: transparent; border-color: currentColor; color: var(--ink); }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-soft { background: var(--brand-soft); color: var(--brand-strong); }
.btn-soft:hover { background: var(--brand); color: var(--brand-ink); }
.btn-lg { min-height: 56px; padding: .9rem 2rem; font-size: 1.1rem; }
.btn-sm { min-height: 40px; padding: .45rem 1rem; font-size: .9rem; }
.btn-block { display: flex; width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-pulse { animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 55%, transparent); } 70% { box-shadow: 0 0 0 12px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.link-more { font-weight: 700; text-decoration: none; }
.link-more::after { content: " →"; }

/* ---- Forms --------------------------------------------------------------------------------------------- */
.form { display: grid; gap: .9rem; }
.field { display: grid; gap: .3rem; }
.field label, .label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.input, .form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="number"], .form input[type="date"],
.form input[type="search"], .form select, .form textarea, .input-group input {
    width: 100%; min-height: 50px; padding: .7rem .9rem; font: inherit; font-size: 1rem; color: var(--ink);
    background: #fff; border: 1px solid #c3c9d4; border-radius: var(--radius-sm); appearance: none;
    transition: border-color .15s, box-shadow .15s;
}
.form textarea { min-height: 8rem; resize: vertical; }
.form select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235d6779' stroke-width='2'/%3E%3C/svg%3E") no-repeat right .9rem center; padding-right: 2.4rem; }
.input:focus, .form input:focus, .form select:focus, .form textarea:focus, .input-group input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); }
.form .is-invalid, .form input:user-invalid { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .85rem; }
.input-prefix { position: relative; }
.input-prefix > span { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .95rem; pointer-events: none; }
.input-prefix > input { padding-left: 2.4rem !important; }
.input-group { display: flex; gap: .5rem; }
.input-group input { flex: 1; min-width: 0; }
.input-group .btn { flex: none; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--brand); flex: none; }
.fine-print { font-size: .75rem; line-height: 1.5; color: var(--muted); }
.fine-print a { color: inherit; }
.notice { padding: .9rem 1rem; border-radius: var(--radius-sm); background: var(--brand-soft); color: var(--ink); }
.notice-error { background: #fdecec; color: #7f1d1d; }
.notice-success { background: #e7f6ee; color: #14532d; }
/* The lead forms' honeypot (Lead::HONEYPOT_FIELD): out of sight and out of the tab order */
.hp { position: absolute !important; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---- Cards --------------------------------------------------------------------------------------------- */
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card-body { padding: 1.5rem; }
.card-media { display: block; aspect-ratio: 16 / 10; background: var(--bg-alt); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
a.card-media:hover img { transform: scale(1.04); }
.card h3 a, .card h2 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover, .card h2 a:hover { color: var(--brand-strong); }
.feature { padding: 1.5rem; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow); }
.feature-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-strong); margin-bottom: 1rem; }
.feature-icon .icon { width: 24px; height: 24px; }
.feature p { color: var(--muted); margin: 0; }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-strong); text-decoration: none; }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .8rem; font-size: .875rem; font-weight: 600; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); text-decoration: none; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip:hover, .chip.is-active { border-color: var(--brand); background: var(--brand-soft); }

/* Article cards (loop_templates) */
.post-card { display: flex; flex-direction: column; height: 100%; }
.post-card .card-body { display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.post-card h3 { font-size: 1.15rem; margin: 0; }
.post-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.post-meta { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin-top: auto; padding-top: .5rem; font-size: .85rem; color: var(--muted); list-style: none; padding-left: 0; }
.post-feature .card-media { aspect-ratio: 16 / 9; }
@media (min-width: 900px) { .grid > .post-feature { grid-column: span 2; grid-row: span 2; } }
.post-feature h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }

/* ---- Article / long-form text (articles, CMS pages, legal pages) --------------------------------------- */
.prose { font-size: 1.075rem; line-height: 1.75; overflow-wrap: break-word; }
.prose h2 { margin-top: 2rem; }
.prose h3, .prose h4 { margin-top: 1.6rem; }
.prose img { border-radius: var(--radius-sm); margin-block: 1rem; }
.prose li + li { margin-top: .3rem; }
.prose blockquote { margin-left: 0; padding: .5rem 1.25rem; border-left: 4px solid var(--brand); background: var(--bg-alt); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose table { display: block; overflow-x: auto; }
.page-head { padding-block: calc(var(--space) * .75); background: var(--bg-alt); text-align: center; }
.page-head h1 { margin-bottom: .4rem; }
.page-head p { color: var(--muted); font-size: 1.1rem; margin: 0 auto; max-width: 40rem; }
.byline { display: flex; flex-wrap: wrap; gap: .25rem 1rem; color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem; }
.aside { display: grid; gap: 1.5rem; align-content: start; }
.aside h2 { font-size: 1.05rem; }
.aside ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .2rem; }
.aside li a { display: block; padding: .3rem 0; text-decoration: none; color: var(--text); }
.aside li a:hover { color: var(--brand-strong); }
.pagination { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; list-style: none; padding: 0; margin: 2.5rem 0 0; }
.pagination a { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .75rem; border-radius: var(--radius-sm); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.pagination a:hover { border-color: var(--brand); }
.pagination .active a, .pagination a[aria-current] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }

/* ---- Ads: slots reserve no space until filled; a filled slot is centred and separated ------------------ */
.ad-slot { display: flex; justify-content: center; margin-block: 1.5rem; overflow: hidden; }
.ad-slot:empty { display: none; }

/* ---- Hero ---------------------------------------------------------------------------------------------- */
.hero { padding-block: calc(var(--space) * .9) var(--space); background: linear-gradient(180deg, var(--brand-soft), var(--bg)); }
.hero h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); }
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); }
.hero-media img { width: 100%; border-radius: var(--radius); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* ---- Lander -------------------------------------------------------------------------------------------- */
.lander { padding-block: 1.5rem var(--space); background: linear-gradient(180deg, var(--brand-soft) 0, var(--bg) 70%); }
.lander-grid { display: grid; gap: 1.75rem; align-items: start; }
.lander-copy { padding-top: .5rem; }
.lander-copy .btn { margin-top: .5rem; }
.lander-card { background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; scroll-margin-top: 80px; }
.lander-card > img { width: 100%; height: 190px; object-fit: cover; }
.lander-card .card-body { padding: 1.5rem; }
.lander-card h2, .lander-card h5 { font-size: 1.2rem; margin-bottom: .25rem; }
.lander-card .card-body > p { color: var(--muted); }
.lander-card .btn[type="submit"] { width: 100%; margin-top: .25rem; }
@media (min-width: 900px) {
    .lander { padding-top: 2.5rem; }
    .lander-grid { grid-template-columns: 7fr 5fr; gap: 3rem; }
    .lander-copy { padding-top: 1.5rem; }
    .lander-card > img { height: 230px; }
}
.lander-figure { display: none; }
@media (min-width: 900px) {
    .lander-copy-figure { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 2rem; align-items: center; }
    .lander-figure { display: block; width: 100%; height: auto; border-radius: var(--radius); }
}
.lander-mark { margin: 0 auto 1rem; }
a.feature { display: block; text-decoration: none; color: inherit; transition: transform .15s, border-color .15s; }
a.feature:hover { transform: translateY(-2px); border-color: var(--brand); color: inherit; }
a.feature h4 { margin-bottom: .5rem; }
.steps { counter-reset: step; }
.steps .feature { position: relative; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.5rem 2.5rem; }
.logo-row img { height: 40px; width: auto; filter: grayscale(1); opacity: .75; }

/* ---- Offer and survey pages (funnel) ------------------------------------------------------------------- */
.funnel { padding-block: 1.5rem var(--space); background: var(--bg-alt); min-height: 60vh; }
.offer { max-width: 46rem; margin: 0 auto; padding: 1.75rem 1.25rem; text-align: center; background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow); border-top: 6px solid var(--brand); }
.offer > img, .offer > a > img { margin: 0 auto 1.25rem; max-height: 320px; width: auto; border-radius: var(--radius-sm); }
.offer h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
.offer .lead { font-size: 1.1rem; color: var(--muted); }
.offer-actions { display: grid; gap: .75rem; justify-items: center; margin: 2rem auto 1rem; max-width: 26rem; }
.offer-actions .btn { width: 100%; }
.offer-arrow { width: 0; height: 0; border-left: 18px solid transparent; border-right: 18px solid transparent; border-top: 22px solid color-mix(in srgb, var(--brand) 55%, transparent); animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(6px); } }
.choices { display: grid; gap: .75rem; margin: 2rem auto 1rem; }
.choices-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); text-align: left; }
.choice { display: block; padding: 1.1rem 1.4rem; border-radius: var(--radius); background: var(--brand); color: var(--brand-ink); font-weight: 600; text-decoration: none; box-shadow: var(--shadow); transition: background-color .15s, transform .15s; }
.choice:hover { background: var(--brand-hover); color: var(--brand-ink); transform: translateY(-2px); }
.choice-none { background: #6b7280; color: #fff; }
.choice-none:hover { background: #4b5563; color: #fff; }
.choices.is-chosen .choice { pointer-events: none; opacity: .55; }
.choices.is-chosen .choice.is-selected { opacity: 1; background: var(--brand-hover); }
.offer-terms { font-size: .8rem; color: var(--muted); margin-top: 1.5rem; }
.offer-skip { font-size: .85rem; margin-top: 1rem; }
.analysis { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem; padding: 2rem; text-align: center; background: var(--bg); }
.analysis h2 { max-width: 30rem; font-size: 1.4rem; }
.spinner { width: 56px; height: 56px; border-radius: 50%; border: 6px solid var(--line); border-top-color: var(--brand); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.survey { max-width: 46rem; margin: 0 auto; text-align: center; }
.progress { height: 10px; max-width: 26rem; margin: 0 auto .75rem; background: var(--line); border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--accent); border-radius: inherit; transition: width .5s; }
.answers { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2rem; }
.answers .btn { min-width: 9rem; text-transform: uppercase; }

/* ---- Popups (idle and exit intent: _shared/site.js) ----------------------------------------------------- */
.pop { position: fixed; inset: 0; z-index: 95; display: none; align-items: center; justify-content: center; padding: var(--gutter); background: rgb(10 15 25 / .7); }
.pop.is-open { display: flex; animation: fade .25s ease; }
.pop-box { width: 100%; max-width: 30rem; padding: 2.25rem 1.75rem 1.75rem; background: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow-lg); text-align: center; }
.pop-box p { color: var(--muted); font-size: 1.05rem; }
.pop-box .btn { margin: .75rem 0 1rem; }
.pop-close { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: .9rem; }
@keyframes fade { from { opacity: 0; } }

/* ---- Back to top --------------------------------------------------------------------------------------- */
.to-top { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; box-shadow: var(--shadow); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s; }
.to-top.is-visible { opacity: .85; pointer-events: auto; }

/* ---- Compatibility: classes that admin-written HTML in the database uses (lander main_text, above_form_text,
 *      offer text, articles). Keep this block small; new templates use the kit classes above. ---------------- */
.lead { font-size: 1.15rem; color: var(--muted); }
.rounded-pill { border-radius: 999px; }
.text-center { text-align: center; }
.text-primary, .text-brand { color: var(--brand-strong); }
.section-dark .text-brand { color: var(--brand); }
.text-muted { color: var(--muted); }
.text-white { color: #fff; }
.text-nowrap { white-space: nowrap; }
.fs-11 { font-size: .7rem; } .fs-12 { font-size: .75rem; } .fs-15 { font-size: .95rem; } .fs-16 { font-size: 1rem; }
.fs-18 { font-size: 1.125rem; } .fs-20 { font-size: 1.25rem; } .fs-24 { font-size: 1.5rem; } .fs-30 { font-size: clamp(1.6rem, 4vw, 1.9rem); } .fs-lg { font-size: 1.2rem; }
.h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); } .h2 { font-size: clamp(1.55rem, 3.4vw, 2.2rem); } .h3 { font-size: 1.4rem; }
.display-1, .display-2 { font-size: clamp(2rem, 5vw, 3.2rem); } .display-3, .display-4 { font-size: clamp(1.7rem, 4vw, 2.4rem); } .display-5, .display-6, .display-8 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.lh-sm { line-height: 1.35; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: .5rem; } .mb-3 { margin-bottom: 1rem; } .mb-4 { margin-bottom: 1.25rem; } .mb-5 { margin-bottom: 1.5rem; } .mb-7, .mb-10 { margin-bottom: 2rem; }
.mt-0 { margin-top: 0; } .mt-3 { margin-top: 1rem; } .mt-5 { margin-top: 1.5rem; } .mt-n2 { margin-top: -.5rem; }
.container { width: 100%; max-width: var(--wrap); margin-inline: auto; }
.row { display: flex; flex-wrap: wrap; gap: 1rem; }
.row > [class*="col"] { flex: 1 1 100%; }
.img-fluid { max-width: 100%; height: auto; }
.typer { color: var(--brand-strong); }
.cursor { display: none; }
