/* ==========================================================================
   Viper Hold — design system
   --------------------------------------------------------------------------
   Concept: "Coil & Strike". Dark panels are the coil — patient, data-dense,
   where the thinking happens. Light sections are the strike — bright, plain,
   decisive. A single cold-blooded ice-blue thread runs through both as the
   brand mark, rules, numerals and checkmarks. The conversion button is that
   same thread at full strength: a filled ice pill, one per view, never two.
   Red appears only when something is wrong (invalid fields, failed sends).

   Hand-written. No preprocessor, no build step, no framework.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
    /* Brand */
    --ice: #4cc3ff;            /* accent on dark surfaces, marks, rules       */
    --ice-press: #1a9fe8;      /* conversion button hover                     */
    --ice-deep: #0b6ba8;       /* accent text on light surfaces (contrast ok) */
    --ice-wash: #ecf6fd;       /* faint tinted section background             */
    --error: #fa3556;          /* invalid fields and failure notices only     */
    --error-dark: #d92544;

    /* Neutrals */
    --ink: #16191c;
    --abyss: #1e2327;
    --graphite: #393e41;
    --slate: #5b6065;
    --mist: #bfbfc0;
    --ash: #dadadd;
    --fog: #f9f9f9;
    --white: #ffffff;

    /* Type */
    --font: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    --text-caption: 0.75rem;
    --text-body-sm: 0.875rem;
    --text-body: 1rem;
    --text-subheading: 1.125rem;
    --text-heading-sm: 1.5rem;
    --text-heading: clamp(1.5rem, 1.24rem + 1.1vw, 2rem);
    --text-heading-lg: clamp(1.75rem, 1.3rem + 1.9vw, 2.5rem);
    --text-display: clamp(2.25rem, 1.4rem + 3.6vw, 3.75rem);

    /* Spacing */
    --s4: 4px;
    --s8: 8px;
    --s12: 12px;
    --s16: 16px;
    --s24: 24px;
    --s32: 32px;
    --s48: 48px;
    --s64: 64px;
    --s96: 96px;

    /* Layout */
    --page: 1200px;
    --gutter: clamp(20px, 4vw, 32px);
    --section-y: clamp(56px, 7vw, 96px);

    /* Radii — only these values are permitted */
    --r-sm: 8px;
    --r-btn: 12px;
    --r-md: 32px;
    --r-card: 48px;
    --r-hero: 64px;
    --r-pill: 96px;

    --ring: 0 0 0 3px rgba(76, 195, 255, 0.45);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

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

html.is-locked {
    overflow: hidden;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font);
    font-size: var(--text-body);
    line-height: 1.75;
    font-feature-settings: "cv11", "ss01";
    -webkit-font-smoothing: antialiased;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.18;
    text-wrap: balance;
}

p {
    margin: 0 0 var(--s16);
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: inherit;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

address {
    font-style: normal;
}

hr {
    border: 0;
    border-top: 1px solid var(--ash);
    margin: var(--s32) 0;
}

:focus-visible {
    outline: 2px solid var(--ice-deep);
    outline-offset: 3px;
    border-radius: var(--r-sm);
}

::selection {
    background: var(--ice);
    color: var(--ink);
}

.skip {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    background: var(--ink);
    color: var(--white);
    padding: var(--s12) var(--s16);
    border-radius: 0 0 var(--r-sm) 0;
}

.skip:focus {
    left: 0;
}

.container {
    width: 100%;
    max-width: var(--page);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* --------------------------------------------------------------------------
   3. Masthead
   The header is deliberately one bar. The firm's own pages stay out of it
   (footer and mobile drawer only) so the nav never grows a "Company" menu.
   -------------------------------------------------------------------------- */
.masthead {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.masthead.is-stuck {
    border-bottom-color: var(--ash);
}

.masthead__inner {
    display: flex;
    align-items: center;
    gap: var(--s24);
    min-height: 72px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: var(--s12);
    text-decoration: none;
    color: var(--ink);
    flex: none;
}

/* The mark is taller than it is wide, so height drives it and the
   intrinsic width/height attributes keep the box reserved before load. */
.logo {
    display: block;
    height: 34px;
    width: auto;
    flex: none;
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand__name {
    font-weight: 700;
    font-size: var(--text-subheading);
    letter-spacing: -0.02em;
}

/* Primary navigation ------------------------------------------------------ */
.nav {
    margin-left: auto;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: var(--s4);
}

.nav__item {
    position: relative;
}

.nav__top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: var(--s12) var(--s12);
    font-size: var(--text-body-sm);
    font-weight: 600;
    text-decoration: none;
    color: var(--ink);
    border-radius: var(--r-sm);
    cursor: pointer;
    white-space: nowrap;
}

.nav__top:hover,
.nav__item:hover .nav__top,
.nav__item:focus-within .nav__top {
    color: var(--ice-deep);
}

.nav__top.is-active {
    color: var(--ice-deep);
}

.nav__caret {
    width: 5px;
    height: 5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
    opacity: 0.45;
}

.nav__panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    translate: -50% 0;
    width: max-content;
    min-width: 220px;
    max-width: 340px;
    background: var(--white);
    border: 1px solid var(--ash);
    border-radius: var(--r-md);
    padding: var(--s16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}

.nav__item:hover .nav__panel,
.nav__item:focus-within .nav__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Panels are plain link lists: one column, one line per page. */
.nav__sub {
    display: grid;
    gap: 2px;
}

.nav__sub a {
    display: block;
    padding: var(--s8) var(--s12);
    border-radius: var(--r-btn);
    font-size: var(--text-body-sm);
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink);
    text-decoration: none;
}

.nav__sub a:hover,
.nav__sub a[aria-current="page"] {
    background: var(--fog);
}

.nav__all {
    display: inline-block;
    margin-top: var(--s8);
    padding: var(--s8) var(--s12);
    font-size: var(--text-body-sm);
    font-weight: 600;
    color: var(--ice-deep);
    text-decoration: none;
    border-radius: var(--r-sm);
}

.nav__all:hover {
    background: var(--ice-wash);
}

.masthead__actions {
    display: flex;
    align-items: center;
    gap: var(--s16);
    flex: none;
}

.masthead__phone {
    font-size: var(--text-body-sm);
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    white-space: nowrap;
}

.masthead__phone:hover {
    color: var(--ice-deep);
}

/* Below this the bar is too tight for the number; it stays in the drawer,
   the footer and the contact page. */
@media (max-width: 1279px) {
    .masthead__phone {
        display: none;
    }
}

.burger {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--ash);
    border-radius: var(--r-btn);
    background: var(--white);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1099px) {
    .nav {
        display: none;
    }
    .burger {
        display: flex;
    }
}

@media (max-width: 560px) {
    .masthead__actions .btn {
        display: none;
    }
}

/* Mobile drawer ----------------------------------------------------------- */
.drawer {
    position: fixed;
    inset: 0;
    top: 0;
    z-index: 99;
    background: var(--ink);
    color: var(--white);
    overflow-y: auto;
    padding-top: 88px;
}

.drawer__inner {
    padding: var(--s24) var(--gutter) var(--s64);
    max-width: var(--page);
    margin-inline: auto;
}

.drawer__group {
    border-bottom: 1px solid var(--graphite);
}

.drawer__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--s16) 0;
    background: none;
    border: 0;
    color: inherit;
    font: inherit;
    font-weight: 600;
    font-size: var(--text-subheading);
    cursor: pointer;
    text-align: left;
}

.drawer__caret {
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--ice);
    border-bottom: 2px solid var(--ice);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.drawer__toggle[aria-expanded="true"] .drawer__caret {
    transform: rotate(-135deg);
}

.drawer__list {
    padding: 0 0 var(--s16);
}

.drawer__list a {
    display: block;
    padding: var(--s8) 0;
    color: var(--ash);
    text-decoration: none;
}

.drawer__list a:hover {
    color: var(--ice);
}

.drawer__cta {
    margin-top: var(--s32);
    width: 100%;
    justify-content: center;
}

.drawer__phone {
    display: block;
    text-align: center;
    margin-top: var(--s16);
    color: var(--ice);
    font-weight: 600;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   4. Buttons & links
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--s8);
    padding: var(--s16) var(--s24);
    border: 1px solid transparent;
    border-radius: var(--r-btn);
    font-size: var(--text-body);
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    font-family: inherit;
}

.btn--sm {
    padding: var(--s12) var(--s16);
    font-size: var(--text-body-sm);
}

.btn--primary {
    background: var(--ice);
    color: var(--ink);
}

.btn--primary:hover {
    background: var(--ice-press);
}

.btn--dark {
    background: var(--ink);
    color: var(--white);
}

.btn--dark:hover {
    background: var(--abyss);
}

.btn--ghost {
    background: transparent;
    color: var(--white);
    border-color: var(--graphite);
}

.btn--ghost:hover {
    border-color: var(--ice);
    color: var(--ice);
}

.btn--outline {
    background: transparent;
    color: var(--ink);
    border-color: var(--ash);
}

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

.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.arrow {
    display: inline-block;
    transition: transform 0.18s ease;
}

.textlink {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 2px solid var(--ice);
    padding-bottom: 1px;
}

.textlink:hover .arrow {
    transform: translateX(4px);
}

.textlink--dark,
.section--dark .textlink {
    color: var(--white);
}

/*
 * Links sitting inside a paragraph. The base .textlink is a standalone call to
 * action with a heavy ice underline; that treatment shouts when it appears
 * mid-sentence, so the inline variant thins the rule and drops the flex box so
 * the link wraps with the text around it.
 */
.textlink--inline {
    display: inline;
    font-weight: 500;
    border-bottom-width: 1px;
    border-bottom-color: var(--ice-deep);
    padding-bottom: 0;
}

.textlink--inline:hover {
    border-bottom-color: var(--ink);
}

.section--dark .textlink--inline,
.textlink--dark.textlink--inline {
    border-bottom-color: var(--ice);
}

.section--dark .textlink--inline:hover,
.textlink--dark.textlink--inline:hover {
    border-bottom-color: var(--white);
}

.section__more {
    margin: var(--s32) 0 0;
}

.lede-muted {
    font-size: var(--text-subheading);
    line-height: 1.7;
    color: var(--slate);
}

.section--dark .lede-muted {
    color: var(--mist);
}

/* --------------------------------------------------------------------------
   5. Sections & rhythm
   -------------------------------------------------------------------------- */
.section {
    padding-block: var(--section-y);
}

.section--light {
    background: var(--white);
}

.section--fog {
    background: var(--fog);
}

.section--wash {
    background: var(--ice-wash);
}

.section--dark {
    background: var(--ink);
    color: var(--ash);
}

.section--dark h2,
.section--dark h3,
.section--dark strong {
    color: var(--white);
}

.section--tight {
    padding-block: clamp(40px, 5vw, 64px);
}

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--s8);
    margin: 0 0 var(--s16);
    font-size: var(--text-caption);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ice-deep);
}

.eyebrow::before {
    content: "";
    width: 18px;
    height: 2px;
    background: currentColor;
}

.eyebrow--on-dark {
    color: var(--ice);
}

.sec-head {
    max-width: 720px;
    margin-bottom: var(--s48);
}

.sec-head__title {
    font-size: var(--text-heading-lg);
}

.sec-head__intro {
    margin-top: var(--s16);
    font-size: var(--text-subheading);
    line-height: 1.6;
    color: var(--slate);
}

.section--dark .sec-head__intro {
    color: var(--mist);
}

.sec-head--center {
    margin-inline: auto;
    text-align: center;
}

.sec-head--center .eyebrow {
    justify-content: center;
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
    background: var(--white);
    padding-block: var(--s24) 0;
}

.hero__panel {
    background: var(--ink);
    color: var(--white);
    border-radius: var(--r-hero);
    padding: clamp(32px, 5vw, 64px);
    position: relative;
    overflow: hidden;
}

/* A faint ice horizon behind the coil — the only gradient in the system. */
.hero__panel::after {
    content: "";
    position: absolute;
    right: -140px;
    top: -140px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(76, 195, 255, 0.16), rgba(76, 195, 255, 0) 68%);
    pointer-events: none;
}

.hero__title {
    font-size: var(--text-display);
    line-height: 1.07;
    letter-spacing: -0.025em;
    max-width: 18ch;
}

.hero--wide .hero__title {
    max-width: 22ch;
}

.hero__lede {
    margin-top: var(--s24);
    max-width: 62ch;
    font-size: var(--text-subheading);
    line-height: 1.6;
    color: var(--ash);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s12);
    margin-top: var(--s32);
    margin-bottom: 0;
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

@media (max-width: 900px) {
    .hero__grid {
        grid-template-columns: 1fr;
    }
}

.hero__checks {
    margin-top: var(--s32);
    color: var(--ash);
}

/* The "signal" card — ad spend read as a falling cost curve. The only chart
   in the system, drawn with CSS so there is no charting dependency. */
.signal {
    background: var(--abyss);
    border: 1px solid var(--graphite);
    border-radius: var(--r-md);
    padding: var(--s24);
    position: relative;
    z-index: 1;
}

.signal__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--s16);
    margin-bottom: var(--s24);
}

.signal__label {
    font-size: var(--text-body-sm);
    color: var(--mist);
}

.signal__delta {
    font-size: var(--text-heading-sm);
    font-weight: 700;
    color: var(--ice);
    letter-spacing: -0.02em;
}

.signal__chart {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    align-items: end;
    gap: var(--s8);
    height: 168px;
    padding-bottom: var(--s8);
    border-bottom: 1px solid var(--graphite);
}

.signal__chart span {
    display: block;
    height: var(--h);
    border-radius: var(--r-sm) var(--r-sm) 2px 2px;
    background: linear-gradient(180deg, var(--graphite), #262b30);
}

.signal__chart span.is-live {
    background: linear-gradient(180deg, var(--ice), #0b88d0);
}

.signal__foot {
    display: flex;
    justify-content: space-between;
    margin-top: var(--s8);
    font-size: var(--text-caption);
    color: var(--slate);
}

.signal__note {
    margin: var(--s16) 0 0;
    font-size: var(--text-caption);
    line-height: 1.6;
    color: var(--slate);
}

/* Breadcrumbs ------------------------------------------------------------- */
.crumbs {
    margin-bottom: var(--s24);
    font-size: var(--text-body-sm);
}

.crumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s8);
    align-items: center;
}

.crumbs li + li::before {
    content: "/";
    margin-right: var(--s8);
    color: var(--graphite);
}

.crumbs a {
    color: var(--mist);
    text-decoration: none;
}

.crumbs a:hover {
    color: var(--ice);
}

.crumbs [aria-current] {
    color: var(--white);
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s8);
    margin-top: var(--s32);
}

.chip {
    padding: 6px var(--s16);
    border: 1px solid var(--graphite);
    border-radius: var(--r-pill);
    font-size: var(--text-body-sm);
    color: var(--ash);
}

/* --------------------------------------------------------------------------
   7. Grids & cards
   -------------------------------------------------------------------------- */
.grid {
    display: grid;
    gap: var(--s24);
}

.grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 980px) {
    .grid--3,
    .grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .grid--2,
    .grid--3,
    .grid--4 {
        grid-template-columns: 1fr;
    }
}

/* A single column of prose, narrowed to a comfortable measure. */
.container--narrow {
    max-width: 800px;
}

/* Card grids are lists; strip the list affordances the reset leaves behind. */
.cards {
    list-style: none;
    margin: 0;
    padding: 0;
}

/*
 * One card treatment everywhere. It deliberately does not adapt to the section
 * it sits in: the same component changing its surface and losing its border
 * between two sections of the same page reads as an accident, not a system.
 */
.card {
    background: var(--white);
    border: 1px solid var(--ash);
    border-radius: var(--r-card);
    transition: border-color 0.18s ease, background-color 0.18s ease;
}

.card:hover {
    border-color: var(--ink);
}

.card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: var(--s32);
    text-decoration: none;
    color: inherit;
}

.card__title {
    font-size: var(--text-heading-sm);
    line-height: 1.3;
}

.card__blurb {
    margin: var(--s12) 0 0;
    color: var(--slate);
    line-height: 1.6;
}

/*
 * The arrow rides with the title rather than being pushed to the foot of the
 * card by margin-top:auto, which stranded it below a ragged gap and read as a
 * stray character instead of an affordance.
 */
.card__link .arrow {
    margin-left: 0.4em;
    color: var(--ice-deep);
    font-size: 0.85em;
}

.card__link:hover .arrow {
    transform: translateX(5px);
}

.card--dark {
    background: var(--abyss);
    border-color: var(--graphite);
}

.card--dark .card__title {
    color: var(--white);
}

.card--dark .card__blurb {
    color: var(--mist);
}

.card--dark .arrow {
    color: var(--ice);
}

.card--dark:hover {
    border-color: var(--ice);
}

/* Plain content tile (no link) -------------------------------------------- */
.tile {
    padding: var(--s32);
    border-radius: var(--r-card);
    background: var(--fog);
}

.tile--bordered {
    background: var(--white);
    border: 1px solid var(--ash);
}

.tile--dark {
    background: var(--abyss);
    color: var(--ash);
}

.tile__title {
    font-size: var(--text-heading-sm);
    margin-bottom: var(--s12);
}

.tile p {
    color: var(--slate);
    line-height: 1.7;
}

.tile--dark p {
    color: var(--mist);
}

/* --------------------------------------------------------------------------
   8. Steps, stats, checks
   -------------------------------------------------------------------------- */
.steps {
    display: grid;
    gap: var(--s32);
    counter-reset: step;
}

.step {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: var(--s24);
    padding-top: var(--s32);
    border-top: 1px solid var(--ash);
}

.steps--dark .step {
    border-top-color: var(--graphite);
}

.step__num {
    font-size: var(--text-heading-sm);
    font-weight: 700;
    color: var(--ice-deep);
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.steps--dark .step__num {
    color: var(--ice);
}

.step__title {
    font-size: var(--text-heading-sm);
    margin-bottom: var(--s8);
}

.step__body p {
    color: var(--slate);
    line-height: 1.7;
    max-width: 68ch;
}

.steps--dark .step__body p {
    color: var(--mist);
}

@media (max-width: 640px) {
    .step {
        grid-template-columns: 1fr;
        gap: var(--s8);
    }
}

/* Stats following a two-column block get a rule to separate them. */
.split + .stats {
    margin-top: var(--section-y);
    padding-top: var(--s48);
    border-top: 1px solid var(--ash);
}

.section--dark .split + .stats {
    border-top-color: var(--graphite);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--s32);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: var(--s4);
    padding-left: var(--s16);
    border-left: 2px solid var(--ice);
}

.stat__value {
    font-size: var(--text-heading-lg);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.stat__label {
    font-size: var(--text-body-sm);
    color: var(--slate);
    line-height: 1.5;
}

.section--dark .stat__label {
    color: var(--mist);
}

.checks {
    display: grid;
    gap: var(--s12);
}

.checks li {
    position: relative;
    padding-left: var(--s32);
    line-height: 1.6;
}

.checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 11px;
    height: 6px;
    border-left: 2px solid var(--ice-deep);
    border-bottom: 2px solid var(--ice-deep);
    transform: rotate(-45deg);
}

.checks--dark li::before {
    border-color: var(--ice);
}

/* --------------------------------------------------------------------------
   9. Split layout, prose, aside panels
   -------------------------------------------------------------------------- */
.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}

@media (max-width: 900px) {
    .split {
        grid-template-columns: 1fr;
    }
}

.split__aside {
    position: sticky;
    top: 96px;
    display: grid;
    gap: var(--s24);
}

@media (max-width: 900px) {
    .split__aside {
        position: static;
    }
}

.prose {
    max-width: 72ch;
}

.prose h2 {
    font-size: var(--text-heading);
    margin-top: var(--s48);
    margin-bottom: var(--s16);
}

.prose > h2:first-child {
    margin-top: 0;
}

.prose h3 {
    font-size: var(--text-subheading);
    margin-top: var(--s32);
    margin-bottom: var(--s8);
}

.prose p,
.prose li {
    color: var(--slate);
    line-height: 1.75;
}

.prose strong {
    color: var(--ink);
    font-weight: 600;
}

/*
 * Prose on a dark surface.
 *
 * The rules above are written for light sections, and they are element-level
 * selectors, so on a dark panel they would paint slate body text and near-black
 * bold text onto near-black — illegible in the first case, invisible in the
 * second. These overrides carry one extra class so they win on specificity
 * rather than on source order.
 */
.section--dark .prose p,
.section--dark .prose li,
.section--dark .prose td,
.section--dark .prose blockquote {
    color: var(--mist);
}

.section--dark .prose h2,
.section--dark .prose h3,
.section--dark .prose h4,
.section--dark .prose strong,
.section--dark .prose th,
.section--dark .prose dt {
    color: var(--white);
}

.section--dark .prose a:not(.btn):not(.textlink) {
    color: var(--white);
    text-decoration-color: var(--ice);
}

.prose a:not(.btn):not(.textlink) {
    color: var(--ice-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.prose ul,
.prose ol {
    margin: 0 0 var(--s16);
    display: grid;
    gap: var(--s8);
}

.prose ul li {
    position: relative;
    padding-left: var(--s24);
}

.prose ul li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.72em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ice);
}

.prose ol {
    counter-reset: item;
}

.prose ol li {
    position: relative;
    padding-left: var(--s32);
    counter-increment: item;
}

.prose ol li::before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    font-weight: 600;
    color: var(--ice-deep);
    font-variant-numeric: tabular-nums;
}

.callout {
    margin: var(--s32) 0;
    padding: var(--s24);
    border-radius: var(--r-md);
    background: var(--ice-wash);
    border-left: 3px solid var(--ice-deep);
}

.callout p {
    color: var(--ink);
}

/* Callout sitting on a dark section, or used as an aside panel. */
.callout--dark {
    background: var(--abyss);
    border: 1px solid var(--graphite);
    border-left: 3px solid var(--ice);
}

.callout--dark p {
    color: var(--mist);
}

.callout--dark strong,
.callout--dark .callout__figure {
    color: var(--white);
}

.callout--dark .callout__label {
    color: var(--ice);
}

/* A formula or headline number carried inside a callout. */
.callout__figure {
    display: block;
    margin: 0;
    font-size: var(--text-subheading);
    font-weight: 600;
    line-height: 1.4;
    color: var(--ink);
}

.callout__label {
    display: block;
    font-size: var(--text-caption);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ice-deep);
    margin-bottom: var(--s8);
}

.pullquote {
    margin: var(--s48) 0;
    padding-left: var(--s32);
    border-left: 3px solid var(--ice);
    font-size: var(--text-heading-sm);
    line-height: 1.45;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--ink);
}

.section--dark .pullquote {
    color: var(--white);
}

.pullquote--feature {
    margin: 0 auto;
    max-width: 900px;
    font-size: var(--text-heading);
    line-height: 1.35;
}

.panel {
    padding: var(--s24);
    border-radius: var(--r-md);
    border: 1px solid var(--ash);
    background: var(--white);
}

.panel__title {
    font-size: var(--text-subheading);
    margin-bottom: var(--s12);
}

.panel__note {
    font-size: var(--text-body-sm);
    color: var(--slate);
    line-height: 1.6;
}

.panel__links {
    display: grid;
    gap: var(--s4);
    margin-top: var(--s12);
}

.panel__links a {
    display: block;
    padding: var(--s8) 0;
    font-size: var(--text-body-sm);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--ash);
}

.panel__links li:last-child a {
    border-bottom: 0;
}

.panel__links a:hover {
    color: var(--ice-deep);
}

.panel--dark {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--ash);
}

.panel--dark .panel__title {
    color: var(--white);
}

.panel--dark .panel__note {
    color: var(--mist);
}

/* Data table -------------------------------------------------------------- */
.table-wrap {
    overflow-x: auto;
    margin: var(--s24) 0;
    border: 1px solid var(--ash);
    border-radius: var(--r-md);
}

table.data {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-body-sm);
    min-width: 480px;
}

table.data th,
table.data td {
    text-align: left;
    padding: var(--s12) var(--s16);
    border-bottom: 1px solid var(--ash);
    vertical-align: top;
    line-height: 1.6;
}

table.data th {
    font-weight: 700;
    background: var(--fog);
    white-space: nowrap;
}

table.data tr:last-child td {
    border-bottom: 0;
}

/* --------------------------------------------------------------------------
   10. FAQ
   -------------------------------------------------------------------------- */
.faq {
    display: grid;
    gap: var(--s12);
    max-width: 860px;
}

.faq__item {
    border: 1px solid var(--ash);
    border-radius: var(--r-md);
    background: var(--white);
    overflow: hidden;
}

.faq__item[open] {
    border-color: var(--ink);
}

.faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s16);
    padding: var(--s24);
    font-weight: 600;
    font-size: var(--text-subheading);
    line-height: 1.45;
    cursor: pointer;
    list-style: none;
}

.faq__item summary::-webkit-details-marker {
    display: none;
}

.faq__sign {
    position: relative;
    flex: none;
    width: 16px;
    height: 16px;
}

.faq__sign::before,
.faq__sign::after {
    content: "";
    position: absolute;
    background: var(--ice-deep);
    inset: 7px 0 auto 0;
    height: 2px;
}

.faq__sign::after {
    transform: rotate(90deg);
    transition: transform 0.2s ease;
}

.faq__item[open] .faq__sign::after {
    transform: rotate(0deg);
}

.faq__answer {
    padding: 0 var(--s24) var(--s24);
    max-width: 72ch;
}

.faq__answer p {
    color: var(--slate);
    line-height: 1.75;
}

/* --------------------------------------------------------------------------
   11. Forms
   -------------------------------------------------------------------------- */
.form {
    display: grid;
    gap: var(--s24);
}

.field {
    display: grid;
    gap: var(--s8);
}

.field label {
    font-weight: 600;
    font-size: var(--text-body-sm);
}

.field .hint {
    font-size: var(--text-caption);
    color: var(--slate);
    line-height: 1.5;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: var(--s12) var(--s16);
    border: 1px solid var(--ash);
    border-radius: var(--r-btn);
    background: var(--white);
    font: inherit;
    font-size: var(--text-body);
    color: var(--ink);
}

.field textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--ice-deep);
    box-shadow: var(--ring);
}

.field--error input,
.field--error select,
.field--error textarea {
    border-color: var(--error);
}

.field__error {
    font-size: var(--text-body-sm);
    font-weight: 600;
    color: var(--error-dark);
}

.field--row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s24);
}

@media (max-width: 640px) {
    .field--row {
        grid-template-columns: 1fr;
    }
}

/* Honeypot: off-screen, never announced, never focusable. */
.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.notice {
    padding: var(--s24);
    border-radius: var(--r-md);
    border: 1px solid var(--ash);
    background: var(--fog);
    line-height: 1.7;
}

.notice__title {
    font-size: var(--text-subheading);
    margin-bottom: var(--s8);
}

.notice--ok {
    background: var(--ice-wash);
    border-color: var(--ice-deep);
}

.notice--error {
    background: #fff1f3;
    border-color: var(--error);
}

.notice a {
    color: var(--ice-deep);
    font-weight: 600;
}

.notice--error a {
    color: var(--error-dark);
}

/* --------------------------------------------------------------------------
   12. Closing CTA band
   -------------------------------------------------------------------------- */
.cta__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

@media (max-width: 860px) {
    .cta__inner {
        grid-template-columns: 1fr;
    }
}

.cta__title {
    font-size: var(--text-heading-lg);
    max-width: 20ch;
}

.cta__body {
    margin-top: var(--s16);
    max-width: 60ch;
    color: var(--mist);
    line-height: 1.7;
}

.cta__actions {
    display: grid;
    gap: var(--s16);
    justify-items: start;
}

.cta__phone {
    display: grid;
    text-decoration: none;
    font-size: var(--text-body-sm);
    color: var(--mist);
}

.cta__phone strong {
    font-size: var(--text-subheading);
    color: var(--ice);
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.footer {
    background: var(--ink);
    color: var(--mist);
    padding-block: var(--s64) var(--s32);
    font-size: var(--text-body-sm);
}

.footer__top {
    display: grid;
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 64px);
    padding-bottom: var(--s48);
    border-bottom: 1px solid var(--graphite);
}

@media (max-width: 900px) {
    .footer__top {
        grid-template-columns: 1fr;
    }
}

.brand--footer {
    color: var(--white);
}

.footer__motto {
    margin-top: var(--s16);
    color: var(--ice);
    font-weight: 600;
}

.footer__address {
    margin-top: var(--s16);
    line-height: 1.9;
}

.footer__address a {
    color: var(--mist);
    text-decoration: none;
}

.footer__address a:hover {
    color: var(--ice);
}

.footer__hours {
    margin-top: var(--s8);
}

.footer__firm {
    margin-top: var(--s24);
}

.footer__firm ul {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s8) var(--s16);
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer__firm a {
    color: var(--mist);
    font-size: var(--text-body-sm);
    text-decoration: none;
}

.footer__firm a:hover,
.footer__firm a:focus-visible {
    color: var(--white);
}

.footer__cols {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--s32);
}

@media (max-width: 1000px) {
    .footer__cols {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .footer__cols {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.footer__heading {
    font-size: var(--text-body-sm);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--s16);
}

.footer__heading a {
    text-decoration: none;
}

.footer__heading a:hover {
    color: var(--ice);
}

.footer__col ul {
    display: grid;
    gap: var(--s8);
}

.footer__col a {
    color: var(--mist);
    text-decoration: none;
    line-height: 1.5;
}

.footer__col a:hover {
    color: var(--ice);
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s16);
    justify-content: space-between;
    align-items: center;
    padding-top: var(--s32);
    font-size: var(--text-caption);
}

.footer__bottom p {
    margin: 0;
}

.footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s24);
}

.footer__legal a {
    color: var(--mist);
    text-decoration: none;
}

.footer__legal a:hover {
    color: var(--ice);
}

/* --------------------------------------------------------------------------
   14. Print
   -------------------------------------------------------------------------- */
@media print {
    .masthead,
    .drawer,
    .cta,
    .footer__cols,
    .skip {
        display: none !important;
    }
    body {
        color: #000;
    }
    .hero__panel,
    .section--dark {
        background: #fff !important;
        color: #000 !important;
    }
}
