/* Quantsiv landing page: black, white type and flat purple, coral and teal.
   Change the palette here, not in the rules below. */
:root {
    --bg: #0c0c0d;
    --bg-alt: #111113;
    --surface: #161618;
    --surface-2: #1f1f22;
    --line: rgba(255, 255, 255, 0.09);
    --line-strong: rgba(255, 255, 255, 0.18);
    --text: #f4f4f1;
    --text-soft: #d4d4d0;
    --muted: #a6a6ac;
    --faint: #8a8a91;
    --accent-1: #6a48f5;
    --accent-2: #ff7a59;
    --accent-3: #2fb59c;
    --accent-4: #e8e5d8;
    --on-accent-1: #ffffff;
    --on-accent-2: #0c0c0d;
    --card-1: #1f1f22;
    --card-1-fg: #f4f4f1;
    --card-2: #e8e5d8;
    --card-2-fg: #141416;
    --card-3: #6a48f5;
    --card-3-fg: #ffffff;
    --invert-bg: #f4f4f1;
    --invert-fg: #0c0c0d;
    --invert-muted: #4a4a50;
    --invert-line: rgba(12, 12, 13, 0.14);
    --btn-bg: #f4f4f1;
    --btn-bg-hover: #ffffff;
    --btn-fg: #0c0c0d;
    --btn2-bg: #1a1a1c;
    --header-bg: rgba(12, 12, 13, 0.94);
    --link: #b4a3ff;
    --focus: #b4a3ff;
    --error: #ff9479;
    --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
    --radius: 10px;
    --radius-sm: 6px;
    --gutter: max(1.5rem, calc((100% - 1200px) / 2));
    color-scheme: dark;
}

@font-face {
    font-family: 'Manrope';
    src: url('assets/fonts/manrope.woff2') format('woff2');
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBM Plex Mono';
    src: url('assets/fonts/ibm-plex-mono-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBM Plex Mono';
    src: url('assets/fonts/ibm-plex-mono-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

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

html {
    font-size: 100%;
    background-color: var(--bg);
    scroll-padding-top: 5rem;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    background-color: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    /* Long words, common in Dutch and Italian, wrap inside their box instead of
       widening the page on a narrow screen */
    overflow-wrap: break-word;
}

main {
    overflow-x: clip;
}

html:lang(nl) :is(h1, h2, h3, h4),
html:lang(it) :is(h1, h2, h3, h4) {
    hyphens: auto;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: inherit;
    text-wrap: balance;
}

a {
    color: var(--link);
    text-underline-offset: 3px;
}

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

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 0.875rem var(--gutter);
    background-color: var(--header-bg);
    border-bottom: 1px solid var(--line);
}

.brand-center a {
    display: block;
}

.logo {
    display: block;
    width: auto;
    height: 30px;
}

.nav-center {
    justify-self: center;
}

/* The menu sits in one pill bar; the section in view is filled in purple (script.js). */
.nav-list {
    display: flex;
    gap: 2px;
    padding: 4px;
    list-style: none;
    background-color: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
}

.nav-link {
    display: block;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-soft);
    text-decoration: none;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--text);
    background-color: var(--surface-2);
}

.nav-link[aria-current] {
    color: var(--on-accent-1);
    background-color: var(--accent-1);
}

.nav-link:focus-visible {
    outline-offset: 1px;
    border-radius: 999px;
}

.lang-switch ul {
    display: flex;
    gap: 2px;
    padding: 3px;
    list-style: none;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.lang-switch a {
    display: block;
    padding: 0.3rem 0.625rem;
    border-radius: 5px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--muted);
    text-decoration: none;
}

.lang-switch a:hover {
    color: var(--text);
}

.lang-switch a[aria-current="page"] {
    background-color: var(--btn-bg);
    color: var(--btn-fg);
}

/* The menu and the language links share one wrapper. On wide screens it adds no box;
   on small screens it becomes the panel behind the burger button (script.js). */
.site-menu {
    display: contents;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    color: var(--text);
    background-color: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    cursor: pointer;
}

.menu-toggle:focus-visible {
    border-radius: 999px;
}

.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 1px;
    background-color: currentColor;
}

.menu-toggle-bars {
    position: relative;
}

.menu-toggle-bars::before,
.menu-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-toggle-bars::before {
    top: -6px;
}

.menu-toggle-bars::after {
    top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars {
    background-color: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Hero: centred headline over the isometric scene */
.hero {
    display: grid;
    justify-items: center;
    padding: 6.5rem var(--gutter) 0;
    text-align: center;
}

.hero-copy {
    display: grid;
    justify-items: center;
    gap: 1.5rem;
    max-width: 62rem;
}

/* The category line above the plain-language headline */
.hero-kicker {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.hero h1 {
    font-size: clamp(2.25rem, 5.6vw, 4.75rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.hero-brand {
    color: var(--muted);
}

.hero-subheading {
    max-width: 40rem;
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--muted);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.cta-primary,
.cta-secondary {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
}

.cta-primary {
    background-color: var(--btn-bg);
    color: var(--btn-fg);
}

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

.cta-secondary {
    background-color: var(--btn2-bg);
    color: var(--text);
    box-shadow: inset 0 0 0 1px var(--line-strong);
}

.cta-secondary:hover {
    box-shadow: inset 0 0 0 1px var(--text);
}

/* The hero drawing loops; the button swaps it for its still frame (script.js).
   Under reduced motion the <picture> shows the still and the button stays hidden. */
.hero-figure {
    position: relative;
    width: min(100%, 1120px);
    margin-top: 1.5rem;
}

.hero-art {
    display: block;
    width: 100%;
    height: auto;
}

.hero-art-toggle {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    padding: 0.375rem 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--muted);
    background-color: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    cursor: pointer;
}

.hero-art-toggle:hover {
    color: var(--text);
}

.hero-art-toggle:focus-visible {
    border-radius: 999px;
}

/* Standards banner */
.supported-banner {
    position: relative;
    overflow: hidden;
    padding: 1rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

/* Two identical halves sit side by side; sliding the track by exactly half its
   width lands the second half where the first one started, so the loop has no
   visible jump. */
.banner-track {
    display: flex;
    width: max-content;
    animation: marquee 120s linear infinite;
}

.banner-group {
    display: flex;
    gap: 2.5rem;
    padding-right: 2.5rem;
    white-space: nowrap;
}

.banner-item {
    display: inline-flex;
    align-items: center;
    gap: 2.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--faint);
    white-space: nowrap;
}

/* A small isometric tile between items */
.banner-item::before {
    content: '';
    width: 12px;
    height: 7px;
    background-color: var(--accent-1);
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.banner-item:nth-child(3n + 2)::before {
    background-color: var(--accent-2);
}

.banner-item:nth-child(3n)::before {
    background-color: var(--accent-3);
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (min-width: 769px) {
    .supported-banner::before,
    .supported-banner::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 8rem;
        z-index: 2;
        pointer-events: none;
    }

    .supported-banner::before {
        left: 0;
        background: linear-gradient(to right, var(--bg), transparent);
    }

    .supported-banner::after {
        right: 0;
        background: linear-gradient(to left, var(--bg), transparent);
    }
}

/* Security statement */
.security-statement {
    padding: 7rem var(--gutter) 6rem;
}

.security-statement p {
    max-width: 54rem;
    margin: 0 auto;
    font-size: clamp(1.375rem, 2.8vw, 2.125rem);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.025em;
    text-align: center;
    text-wrap: balance;
}

/* Sections */
.section {
    padding: 6.5rem var(--gutter);
    border-top: 1px solid var(--line);
}

.section-alt {
    background-color: var(--bg-alt);
}

.section h2 {
    max-width: 20ch;
    font-size: clamp(2rem, 4.2vw, 3.375rem);
    line-height: 1.04;
    letter-spacing: -0.035em;
}

.section-subheading {
    max-width: 46rem;
    margin: 1.25rem 0 3.25rem;
    font-size: 1.0625rem;
    color: var(--muted);
}

/* Threat: three folder cards */
.threat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: start;
}

.threat-card {
    position: relative;
    margin-top: 1.375rem;
    padding: 2rem 1.75rem 2rem;
    border-radius: var(--radius) 0 var(--radius) var(--radius);
    background-color: var(--card-1);
    color: var(--card-1-fg);
}

.threat-card::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: 100%;
    width: 46%;
    height: 1.375rem;
    border-radius: var(--radius) var(--radius) 0 0;
    background-color: inherit;
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}

.threat-card:nth-child(2) {
    background-color: var(--card-2);
    color: var(--card-2-fg);
}

.threat-card:nth-child(3) {
    background-color: var(--card-3);
    color: var(--card-3-fg);
}

.threat-card h3 {
    margin-bottom: 0.875rem;
    font-size: 1.3125rem;
    line-height: 1.2;
}

.threat-card p {
    font-size: 0.9375rem;
    line-height: 1.65;
}

/* HNDL: three boxes joined by connectors */
.hndl-timeline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 3.5rem minmax(0, 1fr) 3.5rem minmax(0, 1fr);
    align-items: center;
    margin-top: 4rem;
}

.hndl-step {
    align-self: stretch;
    padding: 1.5rem 1.5rem 1.625rem;
    border-radius: var(--radius);
    background-color: var(--bg);
    box-shadow: inset 0 0 0 1px var(--line-strong);
}

.hndl-year {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text);
    background-color: var(--surface-2);
    box-shadow: inset 0 0 0 1px var(--line);
}

.hndl-step:last-child .hndl-year {
    background-color: var(--accent-2);
    color: var(--on-accent-2);
    box-shadow: none;
}

.hndl-step h4 {
    margin: 0.875rem 0 0.375rem;
    font-size: 1.1875rem;
}

.hndl-step p {
    font-size: 0.9375rem;
    color: var(--muted);
}

/* The arrow glyph stays in the markup for text browsers; here it becomes a wire with a node */
.hndl-arrow {
    position: relative;
    height: 1px;
    font-size: 0;
    background-color: var(--line-strong);
}

.hndl-arrow::after {
    content: '';
    position: absolute;
    top: -4px;
    left: calc(50% - 4.5px);
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: var(--bg-alt);
    box-shadow: inset 0 0 0 1.5px var(--text);
}

/* Deadlines: a ruled table, date in the first column */
.reg-timeline {
    list-style: none;
    border-top: 1px solid var(--line-strong);
}

.reg-item {
    display: grid;
    grid-template-columns: 12rem minmax(0, 1fr);
    gap: 2rem;
    padding: 1.875rem 0;
    border-bottom: 1px solid var(--line);
}

.reg-date {
    display: inline-flex;
    align-items: center;
    align-self: start;
    gap: 0.75rem;
    padding-top: 0.25rem;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
}

.reg-date::before {
    content: '';
    width: 14px;
    height: 8px;
    background-color: var(--accent-1);
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.reg-item:last-child .reg-date::before {
    background-color: var(--accent-2);
}

.reg-body h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3125rem;
}

.reg-body p {
    max-width: 50rem;
    color: var(--muted);
}

.sources {
    margin-top: 2rem;
    font-size: 0.875rem;
    color: var(--faint);
}

.sources a {
    color: var(--muted);
}

.sources a:hover {
    color: var(--text);
}

/* How it works: four tiles divided by hairlines */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background-color: var(--line);
}

.step {
    padding: 2rem 1.75rem 2.25rem;
    background-color: var(--bg-alt);
}

.step::before {
    content: '';
    display: block;
    width: 2.25rem;
    height: 1.3rem;
    margin-bottom: 2.25rem;
    background-color: var(--accent-1);
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.step:nth-child(2)::before {
    background-color: var(--accent-2);
}

.step:nth-child(3)::before {
    background-color: var(--accent-3);
}

.step:nth-child(4)::before {
    background-color: var(--accent-4);
}

.step h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.step p {
    font-size: 0.9375rem;
    color: var(--muted);
}

.process-note:empty,
.process-footer:has(.process-note:empty) {
    display: none;
}

/* Capabilities: a hairline grid, each cell led by a short coloured dash */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background-color: var(--line);
}

.capability-item {
    padding: 1.875rem 1.75rem 2.125rem;
    background-color: var(--bg);
}

.capability-item h3 {
    margin-bottom: 0.625rem;
    font-size: 1.125rem;
}

.capability-item h3::before {
    content: '';
    display: block;
    width: 1.25rem;
    height: 3px;
    margin-bottom: 1.25rem;
    border-radius: 2px;
    background-color: var(--accent-1);
}

.capability-item:nth-child(3n + 2) h3::before {
    background-color: var(--accent-3);
}

.capability-item:nth-child(3n) h3::before {
    background-color: var(--accent-2);
}

.capability-item p {
    font-size: 0.9375rem;
    color: var(--muted);
}

/* Roadmap: the current phase is the inverted card */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
}

.roadmap-phase {
    padding: 1.75rem 1.5rem;
    border-radius: var(--radius);
    background-color: var(--surface);
    box-shadow: inset 0 0 0 1px var(--line);
    --phase-muted: var(--muted);
    --phase-line: var(--line);
}

.roadmap-phase:first-child {
    background-color: var(--invert-bg);
    color: var(--invert-fg);
    box-shadow: none;
    --phase-muted: var(--invert-muted);
    --phase-line: var(--invert-line);
}

.phase-tag {
    display: inline-block;
    padding: 0.3rem 0.625rem;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: inset 0 0 0 1px var(--phase-line);
}

.roadmap-phase:first-child .phase-tag {
    background-color: var(--accent-1);
    color: var(--on-accent-1);
    box-shadow: none;
}

.roadmap-phase h3 {
    margin: 1.25rem 0 0.5rem;
    font-size: 1.375rem;
}

.roadmap-phase > p {
    margin-bottom: 1.25rem;
    font-size: 0.9375rem;
    color: var(--phase-muted);
}

.phase-list {
    display: grid;
    gap: 0.625rem;
    padding-top: 1.25rem;
    list-style: none;
    border-top: 1px solid var(--phase-line);
}

.phase-list li {
    position: relative;
    padding-left: 1.125rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--phase-muted);
}

.phase-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 5px;
    background-color: currentColor;
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

/* Newsletter: the email field with the button inside it */
.newsletter {
    display: grid;
    justify-items: center;
    gap: 1rem;
    margin: 0 var(--gutter) 6rem;
    padding: 4.5rem 2rem;
    border-radius: 16px;
    background-color: var(--surface);
    box-shadow: inset 0 0 0 1px var(--line);
    text-align: center;
}

.newsletter h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.035em;
}

.newsletter > p {
    max-width: 34rem;
    color: var(--muted);
}

.newsletter form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    width: min(100%, 30rem);
    margin-top: 1rem;
    padding: 0.375rem;
    border-radius: 10px;
    background-color: var(--bg);
    box-shadow: inset 0 0 0 1px var(--line-strong);
}

.newsletter form:focus-within {
    box-shadow: inset 0 0 0 1px var(--text);
}

.newsletter input {
    flex: 1 1 13rem;
    min-width: 0;
    padding: 0.625rem 0.75rem;
    border: 0;
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text);
}

.newsletter input::placeholder {
    color: var(--faint);
}

.newsletter input:focus {
    outline: none;
}

.newsletter input.error {
    color: var(--error);
}

.form-message {
    order: 3;
    flex-basis: 100%;
    min-height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.form-message[hidden] {
    display: none;
}

.newsletter button {
    flex: 0 0 auto;
    min-height: 2.75rem;
    padding: 0 1.25rem;
    border: none;
    border-radius: var(--radius-sm);
    background-color: var(--btn-bg);
    color: var(--btn-fg);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
}

.newsletter input:disabled,
.newsletter button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.newsletter .form-note {
    font-size: 0.875rem;
}

.newsletter .form-note a {
    color: var(--muted);
}

.newsletter .form-note a:hover {
    color: var(--text);
}

/* Footer */
footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    padding: 2rem var(--gutter);
    border-top: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--faint);
}

footer a {
    color: var(--muted);
}

/* Privacy notice */
.legal {
    max-width: 46rem;
    margin: 0 auto;
    padding: 5rem 1.5rem 6rem;
}

.legal h1 {
    margin-bottom: 0.75rem;
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    letter-spacing: -0.035em;
}

.legal-updated {
    margin-bottom: 2.5rem;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--faint);
}

.legal h2 {
    margin: 3rem 0 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    font-size: 1.5rem;
}

.legal h3 {
    margin: 2rem 0 0.5rem;
    font-size: 1.125rem;
}

.legal p,
.legal ul {
    margin-bottom: 1rem;
    color: var(--text-soft);
}

.legal ul {
    padding-left: 1.25rem;
}

.legal li {
    margin-bottom: 0.375rem;
}

.legal li::marker {
    color: var(--faint);
}

.legal strong {
    color: var(--text);
}

.legal a {
    color: var(--text);
    text-decoration-color: var(--accent-1);
}

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

@media (max-width: 1080px) {
    .process-steps,
    .roadmap-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .capability-item:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .nav-link {
        padding: 0.5rem 0.75rem;
    }
}

@media (max-width: 900px) {
    .site-header {
        grid-template-columns: 1fr auto;
        gap: 0.75rem 1rem;
    }

    /* Pages without the burger (the privacy notice) keep the menu as a scrolling row */
    .site-header > .nav-center {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: stretch;
        overflow-x: auto;
    }

    .site-header > .nav-center .nav-list {
        width: max-content;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .site-menu {
        display: none;
    }

    .site-menu.is-open {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: grid;
        gap: 1.25rem;
        padding: 1rem var(--gutter) 1.5rem;
        background-color: var(--bg);
        border-bottom: 1px solid var(--line-strong);
    }

    .site-menu.is-open .nav-center {
        justify-self: stretch;
    }

    .site-menu.is-open .nav-list {
        flex-direction: column;
        gap: 2px;
        padding: 0;
        background: none;
        border: 0;
        border-radius: 0;
    }

    .site-menu.is-open .nav-link {
        padding: 0.875rem 1rem;
        border-radius: var(--radius);
        font-size: 1.0625rem;
    }

    .site-menu.is-open .lang-switch {
        justify-self: start;
    }

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

@media (max-width: 768px) {
    .section {
        padding: 4.5rem 1.25rem;
    }

    .security-statement {
        padding: 4.5rem 1.25rem;
    }

    .hero {
        padding-top: 4rem;
    }

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

    .hndl-arrow {
        justify-self: center;
        width: 1px;
        height: 2.5rem;
    }

    .hndl-arrow::after {
        top: calc(50% - 4.5px);
        left: -4px;
    }

    .reg-item {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.625rem;
    }

    .process-steps,
    .roadmap-grid,
    .capabilities-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .newsletter {
        margin: 0 1.25rem 4rem;
        padding: 3rem 1.25rem;
    }

    /* Phones: the email field above the button, both full width */
    .newsletter form {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0;
        background: none;
        box-shadow: none;
    }

    .newsletter form:focus-within {
        box-shadow: none;
    }

    .newsletter input {
        flex: none;
        padding: 0.875rem 1rem;
        border-radius: var(--radius);
        background-color: var(--bg);
        box-shadow: inset 0 0 0 1px var(--line-strong);
        text-align: center;
    }

    .newsletter input:focus {
        box-shadow: inset 0 0 0 1px var(--text);
    }

    .newsletter button {
        min-height: 3rem;
        border-radius: var(--radius);
    }

    footer {
        flex-direction: column;
        padding: 2rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 0.75rem 1rem;
    }

    .logo {
        height: 24px;
    }

    .lang-switch a {
        padding: 0.25rem 0.4rem;
        font-size: 0.6875rem;
    }

    .hero {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .cta-primary,
    .cta-secondary {
        flex: 1 1 100%;
        justify-content: center;
    }

    .section {
        padding: 4rem 1rem;
    }

    .legal {
        padding: 3.5rem 1rem 4rem;
    }
}

/* Text for screen readers only */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Respect reduced motion preferences. Keep this block last. */
@media (prefers-reduced-motion: reduce) {
    .banner-track {
        animation: none;
    }
}
