/*
  The website's one stylesheet. The design language is todo-it.dk's ("Signal"): warm paper, hairlines, type in three
  voices, numbered sections, and copper as the one accent. The tokens carry that site's values, and --brand is the
  petrol of the Claimix logo.

  Dark follows the system. There is no switch: it would need a script and something stored in the browser, and this site has
  neither.
*/

@font-face {
    font-family: 'Bricolage Grotesque';
    font-style: normal;
    font-weight: 400 700;
    font-stretch: 100%;
    font-display: swap;
    src: url('fonts/bricolage-grotesque-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('fonts/inter-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('fonts/jetbrains-mono-latin.woff2') format('woff2');
}

/* 1. Tokens */

:root {
    color-scheme: light;

    --paper: #F7F5F0;
    --surface: #FFFFFF;
    --surface-2: #F0EDE6;

    --ink: #0B1720;
    --ink-2: #33424F;
    --ink-muted: #5C6A76;

    --brand: #0B5D66;
    --brand-soft: #E3F0F1;
    --glow-brand: rgba(11, 93, 102, 0.10);
    --glow-accent: rgba(185, 108, 51, 0.07);

    /* Copper: lines use --accent; small text uses --accent-ink, which is dark enough to carry it (5.7:1 on white). */
    --accent: #B96C33;
    --accent-ink: #96551F;

    /* Green is for status only. */
    --signal: #1F7A52;

    --hairline: rgba(11, 23, 32, 0.11);
    --hairline-2: rgba(11, 23, 32, 0.18);
    --rail: rgba(11, 23, 32, 0.06);

    /* The filled dark surface stays dark in both themes, so what stands on it is always light. */
    --ink-fill: #0B1720;
    --ink-fill-edge: transparent;

    --btn-primary-bg: #0B1720;
    --btn-primary-ink: #FFFFFF;
    --btn-hover-bg: #96551F;
    --btn-hover-ink: #FFFFFF;

    --hdr-bg: rgba(247, 245, 240, 0.9);
    --shadow-lg: 0 30px 60px -24px rgba(11, 23, 32, 0.24);

    --font-display: 'Bricolage Grotesque', 'Inter', 'Segoe UI', system-ui, sans-serif;
    --font-sans: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --radius: 10px;
    --radius-lg: 20px;
    --hdr-height: 76px;
}

@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;

        --paper: #0F1A21;
        --surface: #16232C;
        --surface-2: #1B2933;

        --ink: #EFEAE1;
        --ink-2: #C3CDD5;
        --ink-muted: #93A1AC;

        --brand: #57BAC4;
        --brand-soft: #14343A;
        --glow-brand: rgba(87, 186, 196, 0.09);
        --glow-accent: rgba(217, 139, 74, 0.06);

        --accent: #D98B4A;
        --accent-ink: #E5A56D;

        --signal: #4CBF8B;

        --hairline: rgba(239, 234, 225, 0.13);
        --hairline-2: rgba(239, 234, 225, 0.22);
        --rail: rgba(239, 234, 225, 0.07);

        /* Lifted from the page, so the footer and the contact band still stand apart from it. */
        --ink-fill: #1B2933;
        --ink-fill-edge: rgba(239, 234, 225, 0.16);

        --btn-primary-bg: #EFEAE1;
        --btn-primary-ink: #0F1A21;
        --btn-hover-bg: #D98B4A;
        --btn-hover-ink: #0F1A21;

        --hdr-bg: rgba(15, 26, 33, 0.92);
        --shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, 0.75);
    }
}

/* 2. Base */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--hdr-height) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink-2);
    font-family: var(--font-sans);
    font-size: 1.02rem;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }

ul, ol { list-style: none; }

img { display: block; }

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

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

::selection { background: var(--accent); color: #fff; }

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

.skip {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 1000;
    padding: 10px 16px;
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink);
    transform: translateY(-200%);
}

.skip:focus-visible { transform: none; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* 3. Type */

h1, h2, h3, .h-display, .h-section {
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.h-display {
    margin-bottom: 24px;
    font-size: clamp(2.55rem, 5.6vw, 4.15rem);
    line-height: 0.99;
    letter-spacing: -0.038em;
    text-wrap: balance;
}

.h-section {
    margin-bottom: 18px;
    font-size: clamp(1.85rem, 3vw, 2.55rem);
    line-height: 1.08;
    letter-spacing: -0.032em;
    text-wrap: balance;
}

/* The marked word: a copper line drawn under it, not coloured text. */
.h-display em { position: relative; font-style: normal; white-space: nowrap; }

.h-display em::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.06em;
    height: 0.085em;
    border-radius: 2px;
    background: var(--accent);
    transform-origin: left;
    animation: mark-in 900ms var(--ease) 420ms backwards;
}

@keyframes mark-in { from { transform: scaleX(0); } }

.lead {
    max-width: 60ch;
    color: var(--ink-muted);
    font-size: clamp(1.08rem, 1.35vw, 1.2rem);
    line-height: 1.66;
    letter-spacing: -0.005em;
}

/* The telemetry voice: labels, running numbers, states. */
.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--accent-ink);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: '';
    flex-shrink: 0;
    width: 22px;
    height: 1px;
    background: currentColor;
    opacity: 0.7;
}

/* 4. Buttons */

.btn {
    display: inline-block;
    padding: 14px 24px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: 0.94rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background-color 240ms var(--ease), color 240ms var(--ease), border-color 240ms var(--ease);
}

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

.btn-secondary { border-color: var(--hairline-2); color: var(--ink); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent-ink); }

/* On the dark band, in both themes. */
.btn-onlight { background: #FFFFFF; border-color: #FFFFFF; color: #0B1720; }
.btn-onlight:hover { background: var(--btn-hover-bg); border-color: var(--btn-hover-bg); color: var(--btn-hover-ink); }

.btn-ondark { border-color: rgba(255, 255, 255, 0.3); color: #FFFFFF; }
.btn-ondark:hover { border-color: var(--accent); color: #FFFFFF; }

/* 5. Header */

.hdr {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    border-bottom: 1px solid var(--hairline);
    background: var(--hdr-bg);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
}

.hdr__inner { display: flex; align-items: center; gap: 28px; height: var(--hdr-height); }

.hdr__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 11px;
    color: var(--ink);
    text-decoration: none;
}

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

.hdr__logo img { width: 36px; height: 36px; border-radius: 8px; }

.hdr__word {
    font-family: var(--font-display);
    font-size: 1.32rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1;
}

.hdr__nav { display: flex; align-items: center; gap: 2px; margin-right: auto; }

.hdr__link {
    position: relative;
    padding: 9px 12px;
    color: var(--ink-2);
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

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

/* The underline wipes in from the left. */
.hdr__link::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 2px;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 300ms var(--ease);
}

.hdr__link:hover::after, .hdr__link:focus-visible::after { transform: scaleX(1); }

.hdr__actions { display: flex; align-items: center; flex-shrink: 0; gap: 10px; margin-left: auto; }

.hdr__nav + .hdr__actions { margin-left: 0; }

.hdr__actions .btn { padding: 11px 20px; font-size: 0.9rem; }

.hdr__lang {
    padding: 9px 12px;
    border: 1px solid var(--hairline-2);
    border-radius: var(--radius);
    color: var(--ink-2);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-decoration: none;
    transition: border-color 240ms var(--ease), color 240ms var(--ease);
}

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

/* How far down the page you are. Pure CSS where the browser can do it; elsewhere it simply is not there. */
.hdr__progress {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    pointer-events: none;
}

@supports (animation-timeline: scroll()) {
    .hdr__progress { animation: progress linear both; animation-timeline: scroll(root); }
}

@keyframes progress { to { transform: scaleX(1); } }

/* 6. Hero */

.hero {
    position: relative;
    overflow: hidden;
    padding: 164px 0 96px;
    border-bottom: 1px solid var(--hairline);
    background-color: var(--paper);
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(760px 420px at 82% 4%, var(--glow-brand), transparent 66%),
        radial-gradient(560px 340px at 12% 96%, var(--glow-accent), transparent 68%);
    pointer-events: none;
}

.hero--plain { min-height: 100vh; border-bottom: 0; }

.hero > .wrap { position: relative; z-index: 1; }

.hero__grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 64px; align-items: center; }

.hero__text, .hero__visual { animation: rise 620ms var(--ease) backwards; }

@keyframes rise { from { transform: translateY(16px); } }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hero__note {
    max-width: 56ch;
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid var(--hairline);
    color: var(--ink-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 7. The console: a card that reads like an instrument. */

.console {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
}

.console__bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-bottom: 1px solid var(--hairline);
    color: var(--ink-muted);
    font-family: var(--font-mono);
    font-size: 0.64rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.console__dot {
    position: relative;
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
}

.console__tag { margin-left: auto; letter-spacing: 0.1em; }

.console__body { padding: 26px 26px 6px; }

.console__body--flush { padding-top: 8px; }

.console__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
}

.console__figure {
    color: var(--ink);
    font-family: var(--font-display);
    font-feature-settings: 'tnum' 1;
    font-size: clamp(2.4rem, 4.2vw, 3.1rem);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 1;
}

.console__cap {
    margin-top: 12px;
    color: var(--ink-muted);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.console__rows { border-top: 1px solid var(--hairline); }

.console__body--flush .console__rows { border-top: 0; }

.console__row {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 13px 0;
    color: var(--ink-2);
    font-size: 0.9rem;
}

.console__row + .console__row { border-top: 1px solid var(--hairline); }

.console__lead {
    flex: 1;
    align-self: center;
    min-width: 12px;
    height: 1px;
    background-image: linear-gradient(90deg, var(--hairline-2) 2px, transparent 2px);
    background-size: 5px 1px;
}

.console__state {
    flex-shrink: 0;
    color: var(--signal);
    font-family: var(--font-mono);
    font-size: 0.64rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.console__state--warn { color: var(--accent-ink); }
.console__state--calm { color: var(--ink-muted); }

.console__foot {
    padding: 15px 26px 17px;
    border-top: 1px solid var(--hairline);
    background: var(--surface-2);
    color: var(--ink-muted);
    font-size: 0.76rem;
    line-height: 1.55;
}

/* A plate is a plate: the same in both themes (the app's own tokens). */
.plate {
    display: inline-flex;
    align-items: stretch;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid #C8102E;
    border-radius: 4px;
    background: #FFFFFF;
    color: #111111;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1;
    white-space: nowrap;
}

.plate__eu {
    display: flex;
    align-items: flex-end;
    padding: 0 3px 2px;
    background: #1E3A96;
    color: #F4D23C;
    font-size: 0.5rem;
    letter-spacing: 0.02em;
}

.plate__number { padding: 5px 8px 4px; }

/* 8. Bands */

.band { position: relative; padding: 112px 0; }

.band--white { background-color: var(--surface); }
.band--warm { background-color: var(--surface-2); }

/* The measuring frame: two hairlines at the edge of the content, all the way down the page. */
@media (min-width: 1240px) {
    .band, .hero {
        background-repeat: no-repeat;
        background-size: 1px 100%, 1px 100%;
        background-position: calc(50% - 590px) 0, calc(50% + 589px) 0;
        background-image: linear-gradient(var(--rail), var(--rail)), linear-gradient(var(--rail), var(--rail));
    }
}

/* The running number stands out in the margin like on a drawing. Where there is no room, it drops above the label. */
main { counter-reset: band; }

.section-head { position: relative; max-width: 66ch; margin-bottom: 56px; counter-increment: band; }

.section-head--tight { margin-bottom: 32px; }

.section-head::before {
    content: counter(band, decimal-leading-zero);
    position: absolute;
    left: -78px;
    top: 0.25em;
    color: var(--accent-ink);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
}

@media (max-width: 1340px) {
    .section-head::before { position: static; display: block; margin-bottom: 12px; }
}

.band__note {
    max-width: 66ch;
    margin-top: 48px;
    padding-top: 18px;
    border-top: 1px solid var(--hairline);
    color: var(--ink-muted);
    font-size: 0.95rem;
}

/* 9. Cards: tiles in one field, so the grid reads as a drawing rather than a pile. */

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.card { padding: 34px 32px 32px; box-shadow: 0 0 0 1px var(--hairline); }

.card__title { margin-bottom: 12px; font-size: 1.2rem; letter-spacing: -0.028em; }

.card__text { color: var(--ink-muted); font-size: 0.955rem; line-height: 1.68; }

/* 10. Steps */

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px 40px;
    counter-reset: step;
}

.step { counter-increment: step; }

.step::before {
    content: counter(step, decimal-leading-zero);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--accent-ink);
    font-family: var(--font-mono);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    background: linear-gradient(var(--hairline), var(--hairline)) right center / calc(100% - 34px) 1px no-repeat;
}

.step__title { margin-bottom: 10px; font-size: 1.14rem; letter-spacing: -0.025em; }

.step__text { color: var(--ink-muted); font-size: 0.955rem; line-height: 1.68; }

/* 11. Split, list, side card */

.split { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 72px; align-items: start; }

.split--status { grid-template-columns: 0.8fr 1.2fr; align-items: center; }

.split--status .section-head { margin-bottom: 0; }

.ticks { display: grid; gap: 16px; }

.ticks li { position: relative; padding-left: 30px; line-height: 1.62; }

.ticks li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 0.55em;
    width: 7px;
    height: 7px;
    border-radius: 1px;
    background: var(--accent);
    transform: rotate(45deg);
}

.aside-card {
    padding: 34px;
    border: 1px solid var(--ink-fill-edge);
    border-radius: var(--radius-lg);
    background: var(--ink-fill);
    color: rgba(255, 255, 255, 0.78);
}

.aside-card h3 { margin-bottom: 16px; color: #FFFFFF; font-size: 1.18rem; letter-spacing: -0.025em; }

.aside-card p + p { margin-top: 16px; }

.aside-card a { color: #FFFFFF; text-decoration-color: rgba(255, 255, 255, 0.38); }
.aside-card a:hover { color: #FFFFFF; text-decoration-color: var(--accent); }

/* 12. The contact band */

.band--brand { border-top: 1px solid var(--ink-fill-edge); background-color: var(--ink-fill); color: rgba(255, 255, 255, 0.74); }

.band--brand::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(720px 380px at 16% -10%, rgba(11, 93, 102, 0.55), transparent 64%),
        radial-gradient(560px 320px at 94% 112%, rgba(185, 108, 51, 0.24), transparent 66%);
    pointer-events: none;
}

.band--brand > * { position: relative; z-index: 1; }

.band--brand .eyebrow { color: rgba(255, 255, 255, 0.72); }

.band--brand .h-section { color: #FFFFFF; font-size: clamp(2rem, 3.6vw, 2.9rem); }

.band--brand .lead { color: rgba(255, 255, 255, 0.72); }

.contact__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.contact__phone { margin-top: 22px; font-size: 0.94rem; }

.contact__phone a { color: rgba(255, 255, 255, 0.82); text-decoration-color: rgba(255, 255, 255, 0.38); }
.contact__phone a:hover { color: #FFFFFF; text-decoration-color: var(--accent); }

/* 13. Footer */

.ftr {
    overflow: hidden;
    padding: 88px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--ink-fill);
    color: rgba(255, 255, 255, 0.62);
}

.ftr__grid {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) repeat(3, auto);
    gap: 56px 64px;
    padding-bottom: 44px;
}

.ftr__brand {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 18px;
    color: #FFFFFF;
    font-family: var(--font-display);
    font-size: 1.24rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.ftr__brand img { width: 32px; height: 32px; border-radius: 7px; }

.ftr__about p:not(.ftr__brand) { max-width: 34ch; color: rgba(255, 255, 255, 0.62); font-size: 0.95rem; line-height: 1.65; }

.ftr h3 {
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.58);
    font-family: var(--font-mono);
    font-size: 0.63rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ftr ul { display: grid; gap: 11px; }

.ftr li { font-size: 0.92rem; line-height: 1.6; }

.ftr a { color: rgba(255, 255, 255, 0.76); text-decoration: none; transition: color 200ms var(--ease); }
.ftr a:hover { color: #FFFFFF; }

/* The signature at the bottom: outlined, with its feet on the line above the bottom row. */
.ftr__wordmark {
    overflow: hidden;
    margin-bottom: -0.2em;
    color: transparent;
    font-family: var(--font-display);
    font-size: clamp(3.4rem, 21vw, 16rem);
    font-kerning: none;
    font-weight: 600;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
    -webkit-user-select: none;
    user-select: none;
}

.ftr__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding: 24px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.58);
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.ftr__bottom span + span::before { content: '\00B7'; margin: 0 8px; }

/* 14. Narrower screens */

@media (max-width: 1080px) {
    .hdr__link { padding: 9px 9px; font-size: 0.88rem; }
    .hdr__link::after { left: 9px; right: 9px; }
}

@media (max-width: 980px) {
    :root { --hdr-height: 68px; }

    /* The page is one short scroll: the logo, the language and the sign-in button are what the header must keep. */
    .hdr__nav { display: none; }
    .hdr__actions { margin-left: auto; }
    .hdr__nav + .hdr__actions { margin-left: auto; }

    .hero { padding: 124px 0 72px; }
    .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }

    .band { padding: 80px 0; }

    .cards { grid-template-columns: minmax(0, 1fr); }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
    .split, .split--status { grid-template-columns: minmax(0, 1fr); gap: 44px; }

    .ftr__grid { grid-template-columns: repeat(3, auto); justify-content: space-between; }
    .ftr__about { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    .wrap { padding: 0 20px; }

    .hdr__inner { gap: 12px; }
    .hdr__logo { gap: 9px; }
    .hdr__logo img { width: 32px; height: 32px; border-radius: 7px; }
    .hdr__word { font-size: 1.14rem; }
    .hdr__actions { gap: 8px; }
    .hdr__actions .btn { padding: 10px 14px; font-size: 0.86rem; }
    .hdr__lang { padding: 9px 9px; }

    .hero { padding: 108px 0 56px; }
    .h-display { font-size: clamp(2.3rem, 11vw, 2.8rem); }
    .hero__actions, .contact__actions { flex-direction: column; align-items: stretch; }

    .band { padding: 64px 0; }

    .console__bar { padding: 13px 18px; }
    .console__body { padding: 22px 18px 4px; }
    .console__body--flush { padding-top: 6px; }
    .console__foot { padding: 14px 18px 16px; }

    /* The state moves under the name: the dotted line has no room to lead anywhere. */
    .console__row { display: block; }
    .console__lead { display: none; }
    .console__state { display: block; margin-top: 4px; }

    .card { padding: 28px 24px 26px; }
    .steps { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .aside-card { padding: 26px 24px; }

    .ftr { padding-top: 64px; }
    .ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 28px; justify-content: stretch; }
    .ftr__grid > div:last-child { grid-column: 1 / -1; }
}

/* 15. Less motion when asked for */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-delay: 0ms !important;
        transition-duration: 0.001ms !important;
    }

    .hdr__progress { display: none; }
}
