/* ==========================================================================
   basiqCompany design system
   Tokens come from design-handover/design-tokens.json. Components use only
   these custom properties, never loose colour values.
   Direction: white base, heavy headings, amber surfaces. Square, no shadows,
   no gradients, lines instead of boxes.
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("../fonts/plus-jakarta-sans-latin-wght.woff2") format("woff2");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("../fonts/inter-latin-wght.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
    color-scheme: light;

    /* Colour */
    --surface: #ffffff;
    --surface-alt: #f2f5f7;
    --amber: #fcb900;
    --amber-soft: #ffcd57;
    --toolbridge: #84cc16; /* Accent colour of the Toolbridge product brand; ink text on it, never white. */
    --ink: #1e293b;
    --ink-muted: #67768e;
    --line: #eaeaea;
    --link: var(--ink);
    --ink-hover: color-mix(in srgb, var(--ink) 82%, var(--surface));
    --danger: #b42318;

    /* Typography */
    --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, "Segoe UI", Arial, sans-serif;
    --font-sans: "Inter", ui-sans-serif, system-ui, "Segoe UI", Arial, sans-serif;
    --font-mono: ui-monospace, "Cascadia Code", Consolas, monospace;

    --text-h1: clamp(44px, 6.4vw, 92px);
    --text-h2: clamp(36px, 4.4vw, 60px);
    --text-h2-closing: clamp(40px, 5.6vw, 80px);
    --text-h3-card: clamp(30px, 3.4vw, 40px);
    --text-h3: 24px;
    --text-intro: clamp(19px, 1.2vw + 14px, 21px);
    --text-body: 18px;
    --text-small: 16px;
    --text-overline: 14px;

    /* Spacing and shape */
    --container: 1280px;
    --gutter: 32px;
    --gap-buttons: 12px;
    --gap-cards: 24px;
    --gap-steps: 32px;
    --gap-columns: 64px;
    --section-y: 128px;
    --hero-top: 96px;
    --hero-bottom: 112px;
    --band-y: 112px;
    --radius-none: 0;
    --radius-xs: 2px;

    /* Focus ring; surfaces override the colour so it stays visible */
    --focus-ring: var(--link);
}

@media (max-width: 768px) {
    :root {
        --gutter: 20px;
        --gap-columns: 32px;
        --section-y: 64px;
        --hero-top: 48px;
        --hero-bottom: 56px;
        --band-y: 64px;
    }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: var(--text-body);
    line-height: 1.65;
}

main { flex: 1; }
main:focus { outline: none; }

h1, h2, h3 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 800;
    text-wrap: balance;
}
h1 { font-size: var(--text-h1); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: var(--text-h2); line-height: 1.08; letter-spacing: -0.03em; }
h3 { font-size: var(--text-h3); line-height: 1.3; font-weight: 700; }

p { margin: 0; text-wrap: pretty; }

/* Links: ink text with an amber underline, like the amber accents elsewhere. */
a {
    color: var(--link);
    text-decoration-line: underline;
    text-decoration-color: var(--amber);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.2em;
    transition: text-decoration-color 0.15s;
}
a:hover { color: var(--ink); text-decoration-color: currentColor; }

svg { display: block; }

code { font-family: var(--font-mono); font-size: 0.9em; }

:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 3px;
}

/* Blazor moves focus to the h1 after navigation for screen readers; that is not a keyboard focus. */
h1:focus { outline: none; }

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.muted { color: var(--ink-muted); }

.icon { flex: none; }

/* ---------- Surfaces ---------- */
/* Text on amber is always ink, never white. Text on ink is white or amber. */
.surface-alt { background: var(--surface-alt); color: var(--ink); }

.surface-amber {
    --focus-ring: var(--ink);
    background: var(--amber);
    color: var(--ink);
}
.surface-amber a:not(.btn) { color: var(--ink); text-decoration-color: var(--ink); }

.surface-ink {
    --focus-ring: var(--amber);
    background: var(--ink);
    color: var(--surface);
}
.surface-ink a:not(.btn) { color: var(--amber); }

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(760px + 2 * var(--gutter)); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) / 2) var(--section-y); }

.section-header { margin-bottom: 56px; }
.section-header h2 { max-width: 760px; }
.section-header p {
    max-width: 620px;
    margin-top: 20px;
    font-size: 19px;
    color: var(--ink-muted);
}
/* ink-muted is too low in contrast on the alternate surface */
.surface-alt .section-header p { color: var(--ink); }

.section-header--split {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 24px var(--gap-columns);
    margin-bottom: 64px;
}
.section-header--split h2 { flex: 1 1 520px; min-width: 0; }
.section-header--split p { flex: 1 1 380px; margin-top: 0; }

/* ---------- Overline ---------- */
.overline {
    font-family: var(--font-sans);
    font-size: var(--text-overline);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.overline--bar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    font-size: 15px;
}
.overline--bar::before {
    content: "";
    flex: none;
    width: 28px;
    height: 4px;
    background: var(--amber);
}
.overline--bar a { color: inherit; }

/* Amber marking under a word */
.marker { box-shadow: inset 0 -0.32em 0 var(--amber); }

/* ---------- Buttons ---------- */
.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-buttons);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 30px;
    border: 2px solid transparent;
    border-radius: var(--radius-none);
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.btn--primary { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.btn--primary:hover { background: var(--ink-hover); border-color: var(--ink-hover); color: var(--surface); }
.btn--primary .btn__arrow { color: var(--amber); }

.btn--outline { background: var(--surface); border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--surface); }

.btn--amber { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.btn--amber:hover { background: var(--amber-soft); border-color: var(--amber-soft); color: var(--ink); }

.btn--small { padding: 10px 20px; font-size: 16px; }
.btn--large { padding: 20px 34px; font-size: 20px; }

/* ---------- Skip link & back to top ---------- */
.skip-link {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 100;
    padding: 12px 20px;
    background: var(--ink);
    color: var(--surface);
    font-weight: 600;
    transform: translateY(-200%);
}
.skip-link:focus { transform: none; color: var(--surface); }

.to-top {
    position: fixed;
    right: var(--gutter);
    bottom: var(--gutter);
    z-index: 40;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    background: var(--ink);
    color: var(--amber);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}
.to-top:hover { background: var(--ink-hover); color: var(--amber); }
.to-top.is-visible { opacity: 1; visibility: visible; }

/* ---------- Wordmark ---------- */
.wordmark {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #000;
    text-decoration: none;
}
.wordmark:hover { color: #000; }
.wordmark--small { font-size: 22px; }

/* ---------- Header & navigation ---------- */
.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-block: 22px;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 32px;
}

.site-nav__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__list a {
    color: var(--ink);
    font-size: var(--text-small);
    font-weight: 500;
    text-decoration: none;
}
.site-nav__list a:hover,
.site-nav__list a.active { box-shadow: inset 0 -3px 0 var(--amber); }

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 2px solid var(--ink);
    border-radius: var(--radius-xs);
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
}
.nav-toggle:hover { background: var(--ink); color: var(--surface); }
.nav-toggle__close { display: none; }

/* Mobile menu: only collapsed when JavaScript can open it, otherwise the links stay visible. */
@media (max-width: 768px) and (scripting: enabled) {
    .nav-toggle { display: inline-flex; }

    .site-nav {
        display: none;
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        padding-top: 8px;
    }

    .site-nav__list {
        flex-direction: column;
        gap: 0;
        border-top: 2px solid var(--ink);
    }
    .site-nav__list li { border-bottom: 1px solid var(--line); }
    .site-nav__list a {
        display: block;
        padding: 16px 0;
        font-family: var(--font-display);
        font-size: 22px;
        font-weight: 700;
    }
    .site-nav__list a:hover,
    .site-nav__list a.active { box-shadow: none; color: var(--ink); }
    .site-nav__list a.active::before {
        content: "";
        display: inline-block;
        width: 12px;
        height: 12px;
        margin-right: 12px;
        background: var(--amber);
    }

    .site-nav__cta { padding: 18px 30px; font-size: 18px; }

    .site-header[data-open] .site-nav { display: flex; }
    .site-header[data-open] .nav-toggle__open { display: none; }
    .site-header[data-open] .nav-toggle__close { display: block; }
}

/* ---------- Hero ---------- */
.hero__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--gap-columns);
    padding-block: var(--hero-top) var(--hero-bottom);
}

.hero__content { flex: 1 1 560px; min-width: 0; }

.hero__intro {
    max-width: 560px;
    margin-top: 32px;
    font-size: var(--text-intro);
    line-height: 1.6;
    color: var(--ink-muted);
}

.hero .button-row { margin-top: 44px; }

.agent-panel {
    flex: 1 1 420px;
    min-width: 0;
    padding: 40px;
}
.agent-panel > .overline { margin-bottom: 24px; }

.agent-panel__steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.agent-step {
    display: flex;
    align-items: baseline;
    gap: 20px;
    padding: 20px 24px;
    background: var(--surface);
    color: var(--ink);
}
.agent-step__number {
    flex: none;
    min-width: 2ch;
    font-variant-numeric: tabular-nums;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 800;
    color: var(--ink-muted);
}
.agent-step__title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}
.agent-step__text { font-size: var(--text-small); color: var(--ink-muted); }

.agent-step--final { background: var(--ink); color: var(--surface); }
.agent-step--final .agent-step__number { color: var(--amber); }
.agent-step--final .agent-step__text { color: var(--surface); }

@media (max-width: 768px) {
    .agent-panel { padding: 24px; }
    .agent-step { padding: 16px 18px; gap: 14px; }
}

/* ---------- Now vs. with an agent ---------- */
.compare__head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-columns);
    padding-block: 18px;
    border-top: 2px solid var(--ink);
}
.compare__label-now { color: var(--ink-muted); }

.compare__rows {
    margin: 0;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid var(--line);
}

.compare__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-columns);
    padding-block: 36px;
    border-top: 1px solid var(--line);
}

.compare__row h3 { margin-bottom: 8px; }

.compare__now { color: var(--ink-muted); }

.compare__agent { display: flex; gap: 20px; }

/* Per-cell labels replace the column header on small screens. */
.compare__cell-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.number-tile {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--amber);
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 800;
}

@media (max-width: 900px) {
    .compare__head { display: none; }

    .compare__rows { border-top: 2px solid var(--ink); }
    .compare__row { grid-template-columns: 1fr; gap: 28px; }
    .compare__row:first-child { border-top: 0; }

    .compare__cell-label {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        clip-path: none;
        margin-bottom: 8px;
    }
    .compare__now .compare__cell-label { color: var(--ink-muted); }
}

/* ---------- Offer tiles ---------- */
.offer-tiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap-cards);
    margin: 0;
    padding: 0;
    list-style: none;
}

.offer-tile {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px;
    background: var(--surface-alt);
    border-top: 4px solid var(--amber);
}
.offer-tile h3 { margin-top: 8px; font-size: var(--text-h3); line-height: 1.2; }

/* Toolbridge has its own accent colour, so its tile shows it is a separate product. */
.offer-tile--toolbridge { border-top-color: var(--toolbridge); }
.offer-tile--toolbridge .number-tile { background: var(--toolbridge); }
.offer-tile--toolbridge .badge { color: var(--toolbridge); }

.offer-tile__points {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 8px;
    padding: 0;
    list-style: none;
    font-size: var(--text-small);
    font-weight: 500;
}
.offer-tile__points li { display: flex; align-items: baseline; gap: 10px; }
.offer-tile__points .icon { flex: none; transform: translateY(3px); }

/* Links line up at the bottom of all tiles. */
.offer-tile__link {
    margin-top: auto;
    align-self: flex-end;
}

@media (max-width: 768px) {
    .offer-tiles { grid-template-columns: 1fr; }
    .offer-tile { padding: 28px 24px; }
}

/* ---------- Offer details (aanbod page) ---------- */
.offer-detail { padding-block: 96px; }

.offer-detail__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px var(--gap-columns);
}

.offer-detail__intro {
    flex: 1 1 420px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}
.offer-detail__intro p { max-width: 480px; font-size: var(--text-intro); line-height: 1.6; }
.offer-detail__intro .btn { margin-top: 8px; }

.offer-detail__items {
    flex: 1 1 520px;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 2px solid var(--ink);
}
.offer-detail__items li {
    display: flex;
    gap: 20px;
    padding-block: 24px;
    border-bottom: 1px solid var(--line);
}
.offer-detail__items h3 { font-size: 20px; }
.offer-detail__items p { margin-top: 4px; font-size: var(--text-small); line-height: 1.6; color: var(--ink-muted); }

.offer-detail__check {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--amber);
    color: var(--ink);
}

.surface-alt .offer-detail__items li { border-bottom-color: color-mix(in srgb, var(--ink) 15%, transparent); }
.surface-ink .offer-detail__items { border-top-color: var(--amber); }
.surface-ink .offer-detail__items li { border-bottom-color: color-mix(in srgb, var(--surface) 20%, transparent); }
.surface-ink .offer-detail__items p { color: color-mix(in srgb, var(--surface) 75%, var(--ink)); }

.page-hero__note { margin-top: 16px; font-size: var(--text-small); }

/* Product screenshot below a page hero. */
.product-shot { padding-block: 64px; }
.product-shot figure { margin-block: 0; }
.product-shot img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--line);
    border-top: 4px solid var(--amber);
    background: var(--surface);
    box-shadow: 0 24px 48px -24px color-mix(in srgb, var(--ink) 35%, transparent);
}
.product-shot figcaption { margin-top: 16px; font-size: var(--text-small); color: var(--ink-muted); }

@media (max-width: 768px) {
    .product-shot { padding-block: 40px; }
}

/* Small status label next to a title, e.g. "Early access". */
.badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    background: var(--ink);
    color: var(--amber);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    vertical-align: middle;
}

.offer-detail__items h3 a { color: inherit; }

@media (max-width: 768px) {
    .offer-detail { padding-block: 64px; }
}

/* ---------- Starting points ---------- */
.start-cards {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-cards);
}

.start-card {
    flex: 1 1 460px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 48px;
}
.start-card h3 {
    font-size: var(--text-h3-card);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.start-card__text { font-size: 19px; }
.surface-ink .overline { color: var(--amber); }

.start-card__points {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-weight: 500;
}
.start-card__points li { display: flex; align-items: baseline; gap: 12px; }
.start-card__points .icon { transform: translateY(3px); }
.surface-ink .start-card__points .icon { color: var(--amber); }

/* Buttons line up at the bottom of both cards. */
.start-card .btn { margin-top: auto; align-self: flex-start; padding: 16px 28px; }

.start-fallback { margin-top: 40px; }
.start-fallback a { font-weight: 600; }

@media (max-width: 768px) {
    .start-card { padding: 32px 24px; }
}

/* ---------- Approach steps ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--gap-steps);
    margin: 0;
    padding: 0;
    list-style: none;
}

.step {
    padding-top: 24px;
    border-top: 4px solid var(--amber);
}
.step--final { border-top-color: var(--ink); }

.step__number {
    display: block;
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}
.step h3 { margin: 20px 0 8px; font-size: 22px; }
.step p { font-size: var(--text-small); line-height: 1.6; color: var(--ink-muted); }

/* ---------- Closing band ---------- */
.cta-band__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 40px var(--gap-columns);
    padding-block: var(--band-y);
}
.cta-band__text { flex: 1 1 600px; min-width: 0; }
.cta-band h2 {
    font-size: var(--text-h2-closing);
    line-height: 1.02;
    letter-spacing: -0.035em;
}
.cta-band p { max-width: 620px; margin-top: 24px; font-size: 20px; }

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid var(--line);
    font-size: var(--text-small);
}

.site-footer__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 48px 32px;
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.site-footer__links a { color: var(--ink); text-decoration: none; }
.site-footer__links a:hover { box-shadow: inset 0 -3px 0 var(--amber); }

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 28px;
    padding-block: 24px 48px;
    border-top: 1px solid var(--line);
    color: var(--ink-muted);
}

.site-footer__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.site-footer__meta a { color: var(--ink-muted); }
.site-footer__meta a:hover { color: var(--ink); }

/* ==========================================================================
   Other pages (not designed yet): same tokens and components.
   ========================================================================== */

.page-hero {
    padding-block: var(--hero-top) 48px;
    border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 16em; font-size: clamp(40px, 5vw, 72px); }
.page-hero .lead,
.lead {
    max-width: 620px;
    margin-top: 28px;
    font-size: var(--text-intro);
    line-height: 1.6;
    color: var(--ink-muted);
}
.page-hero .button-row { margin-top: 40px; }
.page-hero--center { padding-bottom: var(--section-y); border-bottom: 0; }

/* Prose (about, blog, privacy) */
.prose { max-width: 720px; }
.prose > * + * { margin-top: 20px; }
.prose h2 { margin-top: 56px; font-size: clamp(28px, 3vw, 36px); line-height: 1.15; letter-spacing: -0.02em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--ink); }
.prose .lead { margin-top: 0; }

/* Check list (about page) */
.checklist {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.checklist li { display: flex; gap: 12px; }
.checklist .icon { margin-top: 0.25em; }
/* Small ink square with a check, used on amber panels. */
.checklist__mark {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-top: 0.05em;
    background: var(--ink);
    color: var(--amber);
}
.checklist__mark .icon { margin-top: 0; }

/* About */
.about {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: var(--gap-columns);
}
.about .prose { flex: 1 1 560px; min-width: 0; }
.about__aside {
    flex: 1 1 360px;
    min-width: 0;
    padding: 40px;
    background: var(--amber);
    color: var(--ink);
    --focus-ring: var(--ink);
}
.about__aside h2 { margin-bottom: 24px; font-size: 28px; line-height: 1.15; letter-spacing: -0.02em; }
/* Blog list: tiles like the offer tiles on the homepage */
.post-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap-cards);
    margin: 0;
    padding: 0;
    list-style: none;
}

.post-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px;
    background: var(--surface-alt);
    border-top: 4px solid var(--amber);
    transition: border-color 0.15s;
}
.post-card .overline { color: var(--ink-muted); }
.post-card h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -0.02em; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
/* The whole tile is clickable through the single title link. */
.post-card h2 a::after { content: ""; position: absolute; inset: 0; }
.post-card:hover { border-top-color: var(--ink); }
.post-card p { color: var(--ink-muted); }
.post-card__more { margin-top: auto; align-self: flex-end; }
/* The button is decoration; the title link covers the tile, so mirror the hover state here. */
.post-card:hover .post-card__more { background: var(--ink); color: var(--surface); }

@media (max-width: 768px) {
    .post-list { grid-template-columns: 1fr; }
    .post-card { padding: 28px 24px; }
}

/* Blog post */
.post-body > .lead { font-size: var(--text-intro); line-height: 1.6; color: var(--ink); }
.post-body h2 { padding-top: 24px; border-top: 4px solid var(--amber); }
.post-body ul { list-style: square; }
.post-body li::marker { color: var(--amber); }

.author-box {
    display: flex;
    gap: 20px;
    max-width: 720px;
    margin-top: 72px;
    padding: 32px;
    background: var(--surface-alt);
    border-top: 4px solid var(--ink);
}
.author-box > div > * + * { margin-top: 8px; }
.author-box .overline { color: var(--ink-muted); }
.author-box__name { font-family: var(--font-display); font-size: 22px; font-weight: 800; }
.author-box__links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 600; }

/* Values tiles on the about page sit on the alternate surface. */
.surface-alt .offer-tile { background: var(--surface); }

/* Contact */
.contact {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: var(--gap-columns);
}
.contact__aside { flex: 1 1 300px; min-width: 0; }
.contact__aside > * + * { margin-top: 16px; }
.contact__aside h2 { font-size: 28px; line-height: 1.15; letter-spacing: -0.02em; }
.contact__mail {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 600;
}
.contact__form { flex: 2 1 480px; min-width: 0; }

.form { display: grid; gap: 28px; }
.form .btn { justify-self: start; }
.form__note { font-size: var(--text-small); }

.field { display: grid; gap: 8px; }
.field label { font-weight: 600; }

.field input,
.field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--ink);
    border-radius: var(--radius-none);
    background: var(--surface);
    color: var(--ink);
    font: inherit;
}
.field textarea { resize: vertical; min-height: 160px; }
.field input:focus-visible,
.field textarea:focus-visible { outline-offset: 0; }
.field .invalid { border-color: var(--danger); }

.validation-message { color: var(--danger); font-size: var(--text-small); font-weight: 600; }

/* Honeypot */
.hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.notice { padding: 20px 24px; border-left: 4px solid var(--ink); background: var(--surface-alt); }
.notice h2 { margin-bottom: 8px; font-size: 28px; line-height: 1.15; }
.notice--success { border-left-color: var(--amber); }
.notice--error { border-left-color: var(--danger); color: var(--danger); font-weight: 600; }

/* ---------- Print ---------- */
@media print {
    .site-header, .site-footer, .to-top, .cta-band .btn { display: none; }
}
