/* ==========================================================================
   Liam McMahon Belfast - design system
   Single stylesheet, no build step. Ordered: tokens, reset, primitives,
   layout, components, animation, print.
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */

:root {
    --brand-900: #071120;
    --brand-800: #0b1a2e;
    --brand-700: #12263f;
    --brand-600: #1b3a5c;
    --brand-500: #2b5c8a;
    --brand-400: #4f9fd4;
    --brand-300: #8ac6ec;
    --brand-100: #dcecf8;
    --brand-50:  #f0f7fc;

    --accent-600: #d97706;
    --accent-500: #f59e0b;
    --accent-400: #fbbf24;
    --accent-100: #fef3c7;

    --energy-600: #0d9488;
    --energy-500: #14b8a6;
    --energy-400: #2dd4bf;
    --energy-100: #ccfbf1;

    --good-600: #15803d;
    --good-500: #22c55e;
    --good-100: #dcfce7;

    --warn-600: #b45309;
    --warn-100: #fef3c7;

    --danger-600: #b91c1c;
    --danger-100: #fee2e2;

    --ink-900: #0b1220;
    --ink-800: #16233a;
    --ink-700: #334155;
    --ink-600: #475569;
    --ink-500: #64748b;
    --ink-400: #94a3b8;
    --ink-300: #cbd5e1;
    --ink-200: #e2e8f0;
    --ink-100: #f1f5f9;
    --ink-50:  #f8fafc;

    --page: #ffffff;
    --surface: #ffffff;
    --surface-2: var(--ink-50);
    --surface-3: var(--ink-100);
    --border: var(--ink-200);
    --border-strong: var(--ink-300);
    --text: var(--ink-900);
    --text-muted: var(--ink-600);
    --text-faint: var(--ink-500);

    --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

    --step--1: clamp(0.82rem, 0.79rem + 0.13vw, 0.89rem);
    --step-0:  clamp(1rem, 0.96rem + 0.18vw, 1.09rem);
    --step-1:  clamp(1.2rem, 1.12rem + 0.38vw, 1.45rem);
    --step-2:  clamp(1.45rem, 1.3rem + 0.72vw, 1.95rem);
    --step-3:  clamp(1.75rem, 1.48rem + 1.32vw, 2.6rem);
    --step-4:  clamp(2.1rem, 1.62rem + 2.35vw, 3.6rem);
    --step-5:  clamp(2.5rem, 1.68rem + 3.9vw, 4.8rem);

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;

    --shadow-sm: 0 1px 2px rgba(11, 18, 32, .06), 0 1px 3px rgba(11, 18, 32, .05);
    --shadow: 0 4px 14px rgba(11, 18, 32, .07), 0 1px 3px rgba(11, 18, 32, .05);
    --shadow-lg: 0 18px 48px rgba(11, 18, 32, .13), 0 4px 12px rgba(11, 18, 32, .06);
    --shadow-glow: 0 20px 60px rgba(43, 92, 138, .28);

    --shell: 1200px;
    --shell-wide: 1400px;
    --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);

    --ease-out: cubic-bezier(.22, 1, .36, 1);
    --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --page: #070d18;
        --surface: #0d1626;
        --surface-2: #111d31;
        --surface-3: #16243c;
        --border: #1e2f4a;
        --border-strong: #2b4265;
        --text: #eef4fb;
        --text-muted: #a9bbd2;
        --text-faint: #7d92ae;

        --brand-100: #16304c;
        --brand-50: #101f33;
        --accent-100: #3d2c08;
        --energy-100: #0c3b37;
        --good-100: #0d3320;
        --warn-100: #3d2c08;
        --danger-100: #3d1414;


        /* The mid and dark ramp must be remapped too. Left at their light-mode values, --brand-500
           links and --*-600 readouts sit at roughly 1.5:1 against a dark surface: illegible. */
        --brand-600: #a5d5f2;
        --brand-500: #7fc0ea;
        --brand-400: #6cb4e0;
        --accent-600: #fbbf24;
        --good-600:   #4ade80;
        --energy-600: #2dd4bf;
        --warn-600:   #fcd34d;
        --danger-600: #f87171;
        --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
        --shadow: 0 6px 18px rgba(0, 0, 0, .45);
        --shadow-lg: 0 24px 60px rgba(0, 0, 0, .6);
    }
}

:root[data-theme="dark"] {
    --page: #070d18;
    --surface: #0d1626;
    --surface-2: #111d31;
    --surface-3: #16243c;
    --border: #1e2f4a;
    --border-strong: #2b4265;
    --text: #eef4fb;
    --text-muted: #a9bbd2;
    --text-faint: #7d92ae;
    --brand-100: #16304c;
    --brand-50: #101f33;
    --accent-100: #3d2c08;
    --energy-100: #0c3b37;
    --good-100: #0d3320;
    --warn-100: #3d2c08;
    --danger-100: #3d1414;

    /* The mid and dark ramp must be remapped too. Left at their light-mode values, --brand-500
       links and --*-600 readouts sit at roughly 1.5:1 against a dark surface: illegible. */
    --brand-600: #a5d5f2;
    --brand-500: #7fc0ea;
    --brand-400: #6cb4e0;
    --accent-600: #fbbf24;
    --good-600:   #4ade80;
    --energy-600: #2dd4bf;
    --warn-600:   #fcd34d;
    --danger-600: #f87171;
}

/* --- Reset -------------------------------------------------------------- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }

body {
    margin: 0;
    background: var(--page);
    color: var(--text);
    font-family: var(--font-body);
    font-size: var(--step-0);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    line-height: 1.12;
    letter-spacing: -0.022em;
    margin: 0 0 .6em;
    font-weight: 700;
    text-wrap: balance;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-500); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-600); }

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

ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: .35em; }

button, input, select, textarea { font: inherit; color: inherit; }

table { border-collapse: collapse; width: 100%; }

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

:focus-visible {
    outline: 3px solid var(--accent-500);
    outline-offset: 2px;
    border-radius: 4px;
}

[hidden] { display: none !important; }

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

.skip-link {
    position: absolute; left: 1rem; top: -100px; z-index: 200;
    background: var(--accent-500); color: var(--ink-900); font-weight: 700;
    padding: .7rem 1.1rem; border-radius: var(--radius-sm); transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
    width: 1.35em; height: 1.35em; flex: none;
    vertical-align: -0.28em; fill: none; stroke-width: 1.75;
}
.icon--sm { width: 1.05em; height: 1.05em; }
.icon--lg { width: 1.9em; height: 1.9em; }

/* --- Layout ------------------------------------------------------------- */

.shell { width: min(var(--shell), 100% - var(--gutter) * 2); margin-inline: auto; }
.shell--wide { width: min(var(--shell-wide), 100% - var(--gutter) * 2); }
.shell--narrow { width: min(760px, 100% - var(--gutter) * 2); }

.section { padding-block: clamp(3rem, 2rem + 5vw, 6.5rem); }
.section--tight { padding-block: clamp(2rem, 1.5rem + 3vw, 4rem); }
.section--alt { background: var(--surface-2); }

.section__head { max-width: 62ch; margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.25rem); }
.section__head--centre { margin-inline: auto; text-align: center; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: var(--font-display); font-size: var(--step--1); font-weight: 700;
    letter-spacing: .09em; text-transform: uppercase; color: var(--brand-500);
    margin-bottom: .9rem;
}
.eyebrow::before {
    content: ""; width: 26px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--accent-500), var(--brand-400));
}
.section__head--centre .eyebrow::before { display: none; }

.lede { font-size: var(--step-1); color: var(--text-muted); line-height: 1.55; }

.grid { display: grid; gap: clamp(1rem, .7rem + 1.2vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

/* --- Buttons ------------------------------------------------------------ */

.btn {
    --btn-bg: var(--brand-600);
    --btn-fg: #fff;
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .95rem 1.6rem;
    background: var(--btn-bg); color: var(--btn-fg);
    font-family: var(--font-display); font-weight: 700; font-size: var(--step-0);
    line-height: 1.15; text-decoration: none; white-space: nowrap;
    border: 1px solid transparent; border-radius: 999px; cursor: pointer;
    transition: transform .22s var(--ease-spring), box-shadow .22s var(--ease-out),
                background-color .18s, color .18s, border-color .18s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.btn--primary {
    --btn-bg: linear-gradient(120deg, var(--accent-500), var(--accent-400));
    --btn-fg: var(--ink-900);
    background-image: var(--btn-bg);
    box-shadow: 0 6px 20px rgba(245, 158, 11, .34);
}
.btn--dark { --btn-bg: var(--brand-700); --btn-fg: #fff; }
.btn--ghost {
    --btn-bg: transparent; --btn-fg: var(--text);
    border-color: var(--border-strong);
}
.btn--ghost:hover { border-color: var(--brand-400); background: var(--brand-50); }
.btn--light { --btn-bg: rgba(255,255,255,.12); --btn-fg: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(8px); }
.btn--sm { padding: .62rem 1.1rem; font-size: var(--step--1); }
.btn--lg { padding: 1.15rem 2.1rem; font-size: var(--step-1); }
.btn--block { width: 100%; }

/* --- Header ------------------------------------------------------------- */

.site-header {
    position: sticky; top: 0; z-index: 100;
    background: color-mix(in srgb, var(--page) 86%, transparent);
    backdrop-filter: blur(14px) saturate(1.5);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.site-header.is-stuck { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }

.site-header__inner {
    display: flex; align-items: center; gap: 1.25rem;
    min-height: 74px;
}

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; margin-right: auto; }
.brand__mark { display: grid; place-items: center; transition: transform .4s var(--ease-spring); }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.06); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.06rem; letter-spacing: -0.02em; }
.brand__sub { font-size: .72rem; color: var(--text-faint); letter-spacing: .01em; }

.nav-toggle {
    display: none; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 12px;
    background: var(--surface); cursor: pointer;
}
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

.primary-nav { display: flex; align-items: center; gap: 1.5rem; }
.primary-nav__list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.primary-nav__list > li { margin: 0; }

.primary-nav__link {
    display: inline-flex; align-items: center; gap: .3rem;
    padding: .55rem .8rem; border: 0; background: none; cursor: pointer;
    font-family: var(--font-display); font-weight: 600; font-size: .95rem;
    color: var(--text); text-decoration: none; border-radius: 10px;
    transition: background-color .18s, color .18s;
}
.primary-nav__link:hover { background: var(--surface-3); color: var(--brand-600); }

.primary-nav__actions { display: flex; align-items: center; gap: .8rem; }
.nav-phone {
    display: inline-flex; align-items: center; gap: .4rem;
    font-weight: 600; font-size: .9rem; text-decoration: none; color: var(--text);
}
.nav-phone:hover { color: var(--brand-600); }

/* Mega menu */
.has-mega { position: relative; }
.mega {
    position: absolute; top: calc(100% + .55rem); left: 50%; translate: -50% 0;
    width: min(1060px, 94vw);
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    padding: 1.75rem; opacity: 0; visibility: hidden;
    transform: translateY(-8px); transition: opacity .22s, transform .22s var(--ease-out), visibility .22s;
}
.has-mega.is-open .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.5rem; }
.mega__head {
    display: flex; align-items: center; gap: .5rem;
    font-family: var(--font-display); font-weight: 700; font-size: .93rem;
    color: var(--text); text-decoration: none; margin-bottom: .6rem;
}
.mega__head .icon { color: var(--brand-500); }
.mega__head:hover { color: var(--brand-600); }
.mega__list { list-style: none; margin: 0; padding: 0; }
.mega__list li { margin-bottom: .2rem; }
.mega__list a { display: block; padding: .22rem 0; font-size: .88rem; color: var(--text-muted); text-decoration: none; }
.mega__list a:hover { color: var(--brand-600); translate: 3px 0; transition: translate .18s; }
.mega__col--promo {
    background: linear-gradient(150deg, var(--brand-50), var(--surface-2));
    border-radius: var(--radius); padding: 1.1rem;
}
.mega__promoTitle { font-family: var(--font-display); font-weight: 700; margin-bottom: .35rem; }
.mega__promoText { font-size: .85rem; color: var(--text-muted); margin-bottom: .9rem; }

/* --- Hero --------------------------------------------------------------- */

.hero {
    position: relative; isolation: isolate; overflow: hidden;
    background: var(--brand-900);
    color: #eaf2fb;
    padding-block: clamp(3.5rem, 2rem + 8vw, 7.5rem);
}

.hero__mesh {
    position: absolute; inset: -30% -10%; z-index: -3;
    background:
        radial-gradient(42% 46% at 18% 22%, rgba(79, 159, 212, .48), transparent 62%),
        radial-gradient(38% 44% at 82% 18%, rgba(245, 158, 11, .34), transparent 60%),
        radial-gradient(46% 48% at 62% 88%, rgba(20, 184, 166, .32), transparent 64%);
    filter: blur(14px);
    animation: mesh-drift 26s ease-in-out infinite alternate;
}

.hero__grid {
    position: absolute; inset: 0; z-index: -2; opacity: .3;
    background-image:
        linear-gradient(rgba(138, 198, 236, .17) 1px, transparent 1px),
        linear-gradient(90deg, rgba(138, 198, 236, .17) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 85% 70% at 50% 40%, #000 35%, transparent 78%);
    animation: grid-pan 40s linear infinite;
}

.hero__inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }

.hero__badge {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .45rem 1rem; margin-bottom: 1.4rem;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px; font-size: .82rem; font-weight: 600; letter-spacing: .01em;
    backdrop-filter: blur(8px);
}
.hero__badge .dot {
    width: 7px; height: 7px; border-radius: 50%; background: var(--good-500);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: pulse 2.4s ease-out infinite;
}

.hero__title { font-size: var(--step-5); color: #fff; margin-bottom: .55em; }
.hero__title .word { display: inline-block; }
.hero__title .grad {
    background: linear-gradient(100deg, var(--accent-400) 0%, var(--accent-500) 32%, var(--energy-400) 70%, var(--brand-300) 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: shimmer 7s ease-in-out infinite;
}

.hero__lede { font-size: var(--step-1); color: rgba(234, 242, 251, .84); max-width: 54ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2.25rem; }

.hero__proof { display: flex; flex-wrap: wrap; gap: 1.75rem; }
.hero__proofItem { display: flex; flex-direction: column; }
.hero__proofValue { font-family: var(--font-display); font-size: var(--step-2); font-weight: 800; color: #fff; line-height: 1; }
.hero__proofLabel { font-size: .8rem; color: rgba(234, 242, 251, .62); margin-top: .3rem; }

/* Floating illustration cards */
.hero__visual { position: relative; min-height: 380px; }
.hero__card {
    position: absolute; background: rgba(255, 255, 255, .94); color: var(--ink-900);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-glow);
    padding: 1.1rem 1.3rem; backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .5);
}
.hero__card--main { inset-inline: 8% 8%; top: 6%; padding: 1.5rem 1.6rem; }
.hero__card--float1 { left: -4%; bottom: 16%; animation: float 6.5s ease-in-out infinite; }
.hero__card--float2 { right: -3%; bottom: 3%; animation: float 7.5s ease-in-out infinite .8s; }

.hero__cardLabel { font-size: .74rem; text-transform: uppercase; letter-spacing: .09em; color: var(--ink-500); font-weight: 700; }
.hero__cardValue { font-family: var(--font-display); font-size: var(--step-3); font-weight: 800; letter-spacing: -0.03em; }
.hero__cardMeta { font-size: .8rem; color: var(--ink-600); }

.hero__bars { display: flex; align-items: flex-end; gap: .45rem; height: 74px; margin-top: 1rem; }
.hero__bar {
    flex: 1; border-radius: 5px 5px 2px 2px;
    background: linear-gradient(180deg, var(--brand-400), var(--brand-600));
    transform-origin: bottom; animation: bar-rise .9s var(--ease-out) both;
}
.hero__bar--accent { background: linear-gradient(180deg, var(--accent-400), var(--accent-600)); }

/* --- Cards -------------------------------------------------------------- */

.card {
    position: relative; display: flex; flex-direction: column;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 1.5rem;
    transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out), border-color .28s;
}
.card--link { text-decoration: none; color: inherit; }
.card--link:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--brand-300); color: inherit; }

.card__icon {
    display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1rem;
    border-radius: 15px; background: linear-gradient(140deg, var(--brand-50), var(--brand-100));
    color: var(--brand-600); transition: transform .3s var(--ease-spring);
}
.card--link:hover .card__icon { transform: scale(1.08) rotate(-5deg); }
.card__icon .icon { width: 26px; height: 26px; }
.card__icon--energy { background: linear-gradient(140deg, var(--energy-100), color-mix(in srgb, var(--energy-100) 60%, var(--surface))); color: var(--energy-600); }
.card__icon--accent { background: linear-gradient(140deg, var(--accent-100), color-mix(in srgb, var(--accent-100) 60%, var(--surface))); color: var(--accent-600); }

.card__title { font-family: var(--font-display); font-size: var(--step-1); font-weight: 700; margin-bottom: .45rem; }
.card__text { font-size: .93rem; color: var(--text-muted); margin-bottom: 1rem; flex: 1; }
.card__meta { display: flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; color: var(--brand-600); }
.card--link:hover .card__meta .icon { translate: 4px 0; transition: translate .2s; }

.card__tag {
    position: absolute; top: 1rem; right: 1rem;
    padding: .2rem .6rem; border-radius: 999px; font-size: .68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .06em;
    background: var(--accent-100); color: var(--accent-600);
}

/* --- Calculator page ---------------------------------------------------- */

.calc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(1.5rem, 1rem + 2.5vw, 3rem); align-items: start; }

.wizard {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-xl); box-shadow: var(--shadow); overflow: hidden;
}

.wizard__rail { display: flex; gap: .3rem; padding: 1.1rem 1.4rem 0; overflow-x: auto; scrollbar-width: none; }
.wizard__rail::-webkit-scrollbar { display: none; }
.wizard__railItem {
    display: flex; align-items: center; gap: .45rem; padding: .35rem .2rem;
    font-size: .78rem; font-weight: 700; color: var(--text-faint); white-space: nowrap;
    border: 0; background: none; cursor: pointer;
}
.wizard__railItem .num {
    display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
    background: var(--surface-3); color: var(--text-faint); font-size: .72rem;
    transition: background-color .25s, color .25s, transform .25s var(--ease-spring);
}
.wizard__railItem.is-active { color: var(--text); }
.wizard__railItem.is-active .num { background: var(--brand-600); color: #fff; transform: scale(1.12); }
.wizard__railItem.is-done .num { background: var(--good-500); color: #fff; }
.wizard__railItem + .wizard__railItem::before {
    content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--border); margin-right: .3rem;
}

.wizard__progress { height: 4px; background: var(--surface-3); margin: .9rem 0 0; }
.wizard__progressBar {
    height: 100%; width: 20%;
    background: linear-gradient(90deg, var(--brand-500), var(--accent-500));
    transition: width .45s var(--ease-out);
}

.wizard__body { padding: clamp(1.4rem, 1rem + 1.6vw, 2.4rem); }

.js .step { display: none; animation: step-in .38s var(--ease-out) both; }
.js .step.is-active { display: block; }

/* No JavaScript: show the whole form as one page and drop the controls that only JS can drive.
   The <html class="js"> flag is set by an inline script in the head, before first paint. */
html:not(.js) .wizard__rail,
html:not(.js) .wizard__progress,
html:not(.js) .computed,
html:not(.js) [data-next],
html:not(.js) [data-back] { display: none; }

html:not(.js) .step + .step {
    margin-top: 2.25rem; padding-top: 2.25rem; border-top: 1px solid var(--border);
}

.step__title { font-size: var(--step-2); margin-bottom: .4rem; }
.step__subtitle { color: var(--text-muted); font-size: .95rem; margin-bottom: 1.75rem; }

.field { margin-bottom: 1.5rem; }
.field--half { display: inline-block; width: calc(50% - .5rem); vertical-align: top; }
.field--half + .field--half { margin-left: 1rem; }
.field__label { display: flex; align-items: center; gap: .45rem; font-family: var(--font-display); font-weight: 700; font-size: .95rem; margin-bottom: .3rem; }
.field__label .icon { color: var(--brand-500); }
.field__help { font-size: .84rem; color: var(--text-faint); margin-bottom: .7rem; }

.input-wrap { position: relative; display: flex; align-items: center; }
.input {
    width: 100%; padding: .85rem 1rem; background: var(--surface);
    border: 1.5px solid var(--border-strong); border-radius: var(--radius);
    font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.input:focus { outline: none; border-color: var(--brand-400); box-shadow: 0 0 0 4px var(--brand-50); }
.input-wrap__unit {
    position: absolute; right: 1rem; font-size: .88rem; font-weight: 700;
    color: var(--text-faint); pointer-events: none;
}
.input-wrap:has(.input-wrap__unit) .input { padding-right: 3.2rem; }

.computed {
    display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
    padding: .9rem 1.15rem; border-radius: var(--radius);
    background: linear-gradient(120deg, var(--brand-50), var(--surface-2));
    border: 1px dashed var(--brand-300);
}
.computed__label { font-size: .85rem; font-weight: 600; color: var(--text-muted); }
.computed__value { font-family: var(--font-display); font-size: var(--step-2); font-weight: 800; color: var(--brand-600); letter-spacing: -0.02em; }

.choices { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice__box {
    display: flex; align-items: flex-start; gap: .75rem; height: 100%;
    padding: 1rem 1.1rem; border: 1.5px solid var(--border-strong); border-radius: var(--radius);
    background: var(--surface); cursor: pointer;
    transition: border-color .2s, background-color .2s, transform .2s var(--ease-out), box-shadow .2s;
}
.choice__box:hover { border-color: var(--brand-400); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.choice input:checked + .choice__box {
    border-color: var(--brand-500); background: var(--brand-50);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-400) 22%, transparent);
}
.choice input:focus-visible + .choice__box { outline: 3px solid var(--accent-500); outline-offset: 2px; }
.choice__icon { color: var(--brand-500); margin-top: .1rem; }
.choice__body { flex: 1; min-width: 0; }
.choice__label { display: block; font-family: var(--font-display); font-weight: 700; font-size: .96rem; }
.choice__note { display: block; font-size: .82rem; color: var(--text-muted); margin-top: .18rem; line-height: 1.45; }
.choice__hint { display: block; font-size: .8rem; font-weight: 700; color: var(--accent-600); margin-top: .3rem; }
.choice__flag {
    display: inline-block; margin-left: .4rem; padding: .1rem .45rem; border-radius: 999px;
    font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
    background: var(--good-100); color: var(--good-600); vertical-align: middle;
}
.choice__tick {
    display: grid; place-items: center; width: 21px; height: 21px; flex: none;
    border: 1.5px solid var(--border-strong); border-radius: 6px; background: var(--surface);
    color: transparent; transition: background-color .18s, border-color .18s, color .18s;
}
.choice--radio .choice__tick { border-radius: 50%; }
.choice input:checked + .choice__box .choice__tick { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }

.wizard__nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.wizard__nav .spacer { flex: 1; }

/* --- Result ------------------------------------------------------------- */

.result { animation: result-in .5s var(--ease-out) both; }

.result__headline {
    position: relative; overflow: hidden; text-align: center;
    padding: clamp(1.8rem, 1.2rem + 2.5vw, 3rem) 1.5rem;
    border-radius: var(--radius-xl);
    background: linear-gradient(140deg, var(--brand-800), var(--brand-600) 55%, var(--brand-700));
    color: #fff;
}
.result__headline::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(60% 80% at 50% 0%, rgba(245, 158, 11, .28), transparent 70%);
    pointer-events: none;
}
.result__label { font-size: .84rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: rgba(255,255,255,.72); }
.result__value {
    font-family: var(--font-display); font-weight: 800; letter-spacing: -0.035em;
    font-size: clamp(2.1rem, 1.2rem + 4.6vw, 4rem); line-height: 1.05; margin: .35rem 0 .5rem;
}
.result__summary { color: rgba(255,255,255,.82); max-width: 52ch; margin-inline: auto; font-size: .96rem; }

.result__range { max-width: 460px; margin: 1.6rem auto 0; }
.result__rangeBar { position: relative; height: 8px; border-radius: 999px; background: rgba(255,255,255,.2); }
.result__rangeFill {
    position: absolute; inset-block: 0; left: 0;
    border-radius: 999px; background: linear-gradient(90deg, var(--energy-400), var(--accent-400));
    animation: range-grow .9s var(--ease-out) both;
}
.result__rangeMark {
    position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%;
    background: #fff; border: 3px solid var(--accent-500); translate: -50% -50%;
    box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.result__rangeLabels { display: flex; justify-content: space-between; margin-top: .6rem; font-size: .8rem; color: rgba(255,255,255,.75); }

.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: .9rem; margin-top: 1.5rem; }
.metric {
    padding: 1.1rem; border-radius: var(--radius); border: 1px solid var(--border);
    background: var(--surface);
}
.metric__label { display: flex; align-items: center; gap: .35rem; font-size: .76rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; color: var(--text-faint); margin-bottom: .35rem; }
.metric__value { font-family: var(--font-display); font-size: var(--step-2); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; }
.metric__sub { font-size: .8rem; color: var(--text-muted); margin-top: .2rem; }
.metric--good { border-color: color-mix(in srgb, var(--good-500) 45%, var(--border)); background: var(--good-100); }
.metric--good .metric__value { color: var(--good-600); }
.metric--accent { border-color: color-mix(in srgb, var(--accent-500) 45%, var(--border)); background: var(--accent-100); }
.metric--accent .metric__value { color: var(--accent-600); }
.metric--warn { border-color: color-mix(in srgb, var(--warn-600) 40%, var(--border)); background: var(--warn-100); }

.breakdown { margin-top: 2rem; }
.breakdown__title { display: flex; align-items: center; gap: .5rem; font-size: var(--step-1); margin-bottom: .3rem; }
.breakdown__subtitle { font-size: .9rem; color: var(--text-muted); margin-bottom: 1.1rem; }

.bd-row {
    display: grid; grid-template-columns: 1fr auto; gap: .4rem 1rem;
    padding: .9rem 0; border-bottom: 1px solid var(--border);
}
.bd-row:last-of-type { border-bottom: 0; }
.bd-row__label { display: flex; align-items: center; gap: .5rem; font-weight: 600; }
.bd-row__label .icon { color: var(--brand-500); }
.bd-row__value { font-family: var(--font-display); font-weight: 700; white-space: nowrap; text-align: right; }
.bd-row__note { grid-column: 1 / -1; font-size: .83rem; color: var(--text-faint); margin: 0; }
.bd-row__bar { grid-column: 1 / -1; height: 5px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.bd-row__barFill {
    display: block; height: 100%; border-radius: 999px;
    background: linear-gradient(90deg, var(--brand-400), var(--brand-600));
    animation: bar-grow .8s var(--ease-out) both;
}
.bd-row--emphasis .bd-row__barFill { background: linear-gradient(90deg, var(--accent-400), var(--accent-600)); }
.bd-total {
    display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
    margin-top: 1rem; padding-top: 1.1rem; border-top: 2px solid var(--text);
    font-family: var(--font-display); font-weight: 800; font-size: var(--step-1);
}

.notes { margin-top: 1.75rem; padding: 1.2rem 1.4rem; border-radius: var(--radius); background: var(--surface-2); }
.notes ul { margin: 0; padding-left: 1.15rem; }
.notes li { font-size: .88rem; color: var(--text-muted); }

.callout {
    display: flex; gap: .85rem; padding: 1.1rem 1.3rem; border-radius: var(--radius);
    border-left: 4px solid var(--brand-500); background: var(--brand-50); margin: 1.5rem 0;
}
.callout .icon { flex: none; color: var(--brand-600); margin-top: .15rem; }
.callout p { font-size: .9rem; margin: 0; }
.callout--warn { border-left-color: var(--accent-500); background: var(--warn-100); }
.callout--warn .icon { color: var(--warn-600); }
.callout--good { border-left-color: var(--good-500); background: var(--good-100); }
.callout--good .icon { color: var(--good-600); }

.disclaimer { margin-top: 1.5rem; font-size: .82rem; color: var(--text-faint); }

/* --- Sidebar ------------------------------------------------------------ */

.aside { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 1.25rem; }
.aside__panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.4rem; }
.aside__title { display: flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-weight: 700; font-size: 1rem; margin-bottom: .8rem; }
.aside__list { list-style: none; margin: 0; padding: 0; }
.aside__list li { display: flex; gap: .55rem; font-size: .88rem; color: var(--text-muted); margin-bottom: .55rem; }
.aside__list .icon { flex: none; margin-top: .18rem; color: var(--good-500); }
.aside__list--minus .icon { color: var(--text-faint); }

.cta-panel {
    background: linear-gradient(150deg, var(--brand-700), var(--brand-600));
    color: #fff; border: 0;
}
.cta-panel .aside__title { color: #fff; }
.cta-panel p { font-size: .89rem; color: rgba(255,255,255,.82); margin-bottom: 1.1rem; }

/* --- Quote form --------------------------------------------------------- */

.quote-form { display: grid; gap: 1.15rem; }
.quote-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.15rem; }
.quote-form .honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .87rem; color: var(--text-muted); }
.consent input { margin-top: .3rem; width: 18px; height: 18px; flex: none; accent-color: var(--brand-600); }

.form-errors {
    padding: 1rem 1.2rem; border-radius: var(--radius);
    background: var(--danger-100); border-left: 4px solid var(--danger-600);
}
.form-errors ul { margin: 0; padding-left: 1.1rem; }
.form-errors li { font-size: .88rem; }

/* --- Contact page ------------------------------------------------------- */

.panel-form {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-xl); box-shadow: var(--shadow);
    padding: clamp(1.5rem, 1rem + 2vw, 2.6rem);
    position: relative; overflow: hidden;
}
.panel-form::before {
    content: ""; position: absolute; inset-inline: 0; top: 0; height: 5px;
    background: linear-gradient(90deg, var(--brand-500), var(--accent-500), var(--energy-500));
}

.contact-address {
    font-style: normal; line-height: 1.8; font-size: .95rem; color: var(--text-muted);
    padding-left: .15rem;
}
.contact-address strong { color: var(--text); font-family: var(--font-display); }

/* --- Blog --------------------------------------------------------------- */

.post-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.post-card { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit; }
.post-card__media { aspect-ratio: 16 / 9; background: linear-gradient(140deg, var(--brand-100), var(--brand-50)); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .78rem; color: var(--text-faint); margin-bottom: .5rem; }
.pill {
    display: inline-block; padding: .18rem .6rem; border-radius: 999px;
    font-size: .72rem; font-weight: 700; background: var(--brand-50); color: var(--brand-600);
    text-decoration: none;
}
.pill--energy { background: var(--energy-100); color: var(--energy-600); }

.prose { max-width: 72ch; font-size: 1.04rem; line-height: 1.75; }
.prose h2 { margin-top: 2.4em; font-size: var(--step-2); scroll-margin-top: 6rem; }
.prose h3 { margin-top: 1.9em; font-size: var(--step-1); scroll-margin-top: 6rem; }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose li { margin-bottom: .5em; }
.prose blockquote {
    margin: 1.8em 0; padding: 1rem 1.4rem; border-left: 4px solid var(--accent-500);
    background: var(--surface-2); border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 1.02rem; color: var(--text-muted);
}
.prose table { margin: 1.8em 0; font-size: .93rem; }
.prose th, .prose td { padding: .7rem .85rem; border-bottom: 1px solid var(--border); text-align: left; }
.prose th { font-family: var(--font-display); font-weight: 700; background: var(--surface-2); }
.prose tbody tr:hover { background: var(--surface-2); }
.prose img { border-radius: var(--radius); margin: 1.8em 0; }
.prose code { padding: .12em .4em; border-radius: 5px; background: var(--surface-3); font-size: .9em; }

.toc { padding: 1.2rem 1.4rem; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--border); }
.toc__title { font-family: var(--font-display); font-weight: 700; font-size: .92rem; margin-bottom: .6rem; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; margin-bottom: .35rem; font-size: .89rem; }
.toc li::before { content: counter(toc) ". "; color: var(--text-faint); font-weight: 700; }
.toc li.lvl-3 { padding-left: 1.1rem; }
.toc a { color: var(--text-muted); text-decoration: none; }
.toc a:hover { color: var(--brand-600); text-decoration: underline; }

/* --- FAQ ---------------------------------------------------------------- */

.faq { border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%;
    padding: 1.15rem 0; background: none; border: 0; cursor: pointer; text-align: left;
    font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--text);
}
.faq__q .icon { flex: none; color: var(--brand-500); transition: transform .3s var(--ease-out); }
.faq__item.is-open .faq__q .icon { transform: rotate(180deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease-out); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__aInner { overflow: hidden; }
.faq__aInner p { padding-bottom: 1.2rem; color: var(--text-muted); font-size: .95rem; margin: 0; }

/* --- Footer ------------------------------------------------------------- */

.site-footer { background: var(--brand-900); color: rgba(234, 242, 251, .75); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem; margin-top: 4rem; }
.site-footer a { color: rgba(234, 242, 251, .75); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(auto-fit, minmax(140px, 1fr)); gap: 2rem; }
.site-footer__brand { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; color: #fff; margin-bottom: .6rem; }
.site-footer__blurb { font-size: .9rem; max-width: 42ch; }
.site-footer__contact { list-style: none; margin: 1.2rem 0 0; padding: 0; }
.site-footer__contact li { display: flex; align-items: center; gap: .5rem; font-size: .88rem; margin-bottom: .5rem; }
.site-footer__head { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: .92rem; margin-bottom: .8rem; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; }
.site-footer__col li { margin-bottom: .45rem; font-size: .88rem; }
.site-footer__areas { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.1); }
.site-footer__areaList { font-size: .85rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.site-footer__areaList .dot { color: rgba(255,255,255,.3); }
.site-footer__disclaimer {
    display: flex; gap: .8rem; margin-top: 2rem; padding: 1.1rem 1.3rem;
    background: rgba(255,255,255,.05); border-radius: var(--radius); border: 1px solid rgba(255,255,255,.08);
}
.site-footer__disclaimer .icon { flex: none; color: var(--accent-400); margin-top: .15rem; }
.site-footer__disclaimer p { font-size: .82rem; margin: 0; }
.site-footer__bar {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
    margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem;
}
.site-footer__bar ul { display: flex; gap: 1.2rem; list-style: none; margin: 0; padding: 0; }

/* --- Cookie banner ------------------------------------------------------ */

.cookie {
    position: fixed; inset-inline: 1rem; bottom: 1rem; z-index: 150;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    padding: 1.2rem 1.4rem; animation: cookie-in .45s var(--ease-out) both;
}
.cookie__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; max-width: var(--shell); margin-inline: auto; }
.cookie__text { flex: 1; min-width: 260px; }
.cookie__title { font-family: var(--font-display); font-weight: 700; margin-bottom: .2rem; }
.cookie__text p { font-size: .86rem; color: var(--text-muted); margin: 0; }
.cookie__actions { display: flex; gap: .6rem; flex-wrap: wrap; }

/* --- Breadcrumbs -------------------------------------------------------- */

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; list-style: none; margin: 0 0 1.25rem; padding: 0; font-size: .83rem; }
.crumbs li { display: flex; align-items: center; gap: .4rem; margin: 0; color: var(--text-faint); }
.crumbs li::after { content: "/"; color: var(--border-strong); }
.crumbs li:last-child::after { display: none; }
.crumbs a { color: var(--text-muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand-600); text-decoration: underline; }

/* --- Animation ---------------------------------------------------------- */

@keyframes mesh-drift {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(-3%, 2%, 0) scale(1.07); }
    100% { transform: translate3d(3%, -2%, 0) scale(1.03); }
}
@keyframes grid-pan { to { background-position: 56px 56px; } }
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); }
    70%  { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50%      { transform: translateY(-13px) rotate(1deg); }
}
@keyframes bar-rise { from { transform: scaleY(.06); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
@keyframes bar-grow { from { width: 0; } }
@keyframes range-grow { from { width: 0; } }
@keyframes step-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes result-in { from { opacity: 0; transform: translateY(22px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes cookie-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes word-in { from { opacity: 0; transform: translateY(0.5em) rotate(2deg); } to { opacity: 1; transform: none; } }

.hero__title .word { animation: word-in .7s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 65ms); }

[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-reveal-delay="1"] { transition-delay: .09s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: .18s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: .27s; }
[data-reveal][data-reveal-delay="4"] { transition-delay: .36s; }
[data-reveal][data-reveal-delay="5"] { transition-delay: .45s; }

/* --- Responsive --------------------------------------------------------- */

@media (max-width: 1080px) {
    .calc-layout { grid-template-columns: 1fr; }
    .aside { position: static; }
}

@media (max-width: 960px) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__visual { min-height: 320px; margin-top: 1rem; }
    .site-footer__grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}

@media (max-width: 860px) {
    .nav-toggle { display: inline-flex; }
    .primary-nav {
        position: fixed; inset: 74px 0 0; z-index: 90;
        flex-direction: column; align-items: stretch; gap: 0;
        padding: 1.5rem var(--gutter) 2.5rem; overflow-y: auto;
        background: var(--page);
        transform: translateX(100%); visibility: hidden;
        transition: transform .32s var(--ease-out), visibility .32s;
    }
    .primary-nav.is-open { transform: none; visibility: visible; }
    .primary-nav__list { flex-direction: column; align-items: stretch; }
    .primary-nav__link { width: 100%; justify-content: space-between; padding: .95rem .4rem; font-size: 1.05rem; border-bottom: 1px solid var(--border); border-radius: 0; }
    .mega {
        position: static; width: auto; translate: none; opacity: 1; visibility: visible;
        transform: none; box-shadow: none; border: 0; padding: .5rem 0 1rem;
        display: none;
    }
    .has-mega.is-open .mega { display: block; }
    .mega__inner { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1.1rem; }
    .mega__col--promo { display: none; }
    .primary-nav__actions { flex-direction: column; align-items: stretch; margin-top: 1.5rem; }
    .primary-nav__actions .btn { width: 100%; }
}

@media (max-width: 560px) {
    .field--half { width: 100%; }
    .field--half + .field--half { margin-left: 0; }
    .wizard__nav { flex-direction: column-reverse; }
    .wizard__nav .btn { width: 100%; }
    .cookie__actions { width: 100%; }
    .cookie__actions .btn { flex: 1; }
}

/* --- Motion and print --------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
    [data-reveal] { opacity: 1; transform: none; }
}

@media print {
    .site-header, .site-footer, .cookie, .wizard__rail, .wizard__nav, .aside, .btn { display: none !important; }
    body { background: #fff; color: #000; }
    .result__headline { background: none !important; color: #000; border: 2px solid #000; }
    .result__value { color: #000; }
    a[href]::after { content: " (" attr(href) ")"; font-size: .75em; color: #555; }
}
