:root {
    color-scheme: light;
    --primary: #196ba9;
    --primary-dark: #145a8f;
    --primary-light: #2a7fc4;
    --accent: #83e04a;
    --accent-dark: #6bc438;
    --accent-light: #9ce86d;
    --text: #1f2937;
    --heading: #111827;
    --muted: #4b5563;
    --card-muted: #4b5563;
    --subtle: #f9fafb;
    --surface: #ffffff;
    --surface-raised: #ffffff;
    --border: #f3f4f6;
    --footer: #111827;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
    --radius: 12px;
    --container: 1280px;
}

:root.dark {
    color-scheme: dark;
    --text: #f3f4f6;
    --heading: #ffffff;
    --muted: #d1d5db;
    --card-muted: #9ca3af;
    --subtle: #1f2937;
    --surface: #111827;
    --surface-raised: #111827;
    --border: #374151;
    --footer: #111827;
    --shadow-sm: 0 1px 2px 0 rgba(31, 41, 55, .5);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .25), 0 4px 6px -4px rgba(0, 0, 0, .25);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    margin: 0;
    background: var(--surface);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    transition: color .25s ease, background-color .25s ease;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

img,
svg {
    display: block;
}

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

@media (min-width: 640px) {
    .container {
        padding-inline: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding-inline: 2rem;
    }
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    background: color-mix(in srgb, var(--surface) 95%, transparent);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-sm);
    transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
    border-color: transparent;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    min-height: 80px;
    display: grid;
    grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
    align-items: center;
    gap: 2rem;
    position: relative;
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex: 0 0 auto;
    justify-self: start;
}

.logo {
    width: auto;
    height: 48px;
}

.logo-dark,
.sun-icon {
    display: none;
}

.dark .logo-light,
.dark .moon-icon {
    display: none;
}

.dark .logo-dark,
.dark .sun-icon {
    display: block;
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    justify-self: center;
}

.desktop-nav a,
.nav-page-link,
.mobile-nav > a:not(.button) {
    color: var(--muted);
    font-weight: 400;
    text-decoration: none;
    transition: color .2s ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.nav-item.active > .nav-page-link,
.mobile-nav > a:not(.button):hover,
.mobile-nav > a:not(.button):focus-visible {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: .75rem;
    justify-self: end;
}

.nav-item {
    position: relative;
}

.nav-page-link {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    white-space: nowrap;
}

.nav-caret {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + .8rem);
    left: 50%;
    z-index: 10;
    min-width: 210px;
    padding: .45rem;
    visibility: hidden;
    opacity: 0;
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    transform: translate(-50%, .35rem);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.nav-dropdown a {
    display: block;
    padding: .6rem .75rem;
    border-radius: 7px;
    white-space: nowrap;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
    background: color-mix(in srgb, var(--primary) 8%, transparent);
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
}

.icon-button {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease;
}

.icon-button:hover,
.icon-button:focus-visible {
    color: var(--primary);
    background: color-mix(in srgb, var(--primary) 9%, transparent);
}

.icon-button svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.menu-toggle {
    display: none;
}

.mobile-nav {
    display: none;
}

.button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: .7rem 1.25rem;
    border: 2px solid transparent;
    border-radius: 9px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.button-primary {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: none;
}

.button-primary:hover,
.button-primary:focus-visible {
    color: #fff;
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.button-outline {
    color: var(--primary);
    background: var(--surface-raised);
    border-color: var(--primary);
}

.button-outline:hover,
.button-outline:focus-visible {
    background: var(--subtle);
}

.button-accent {
    color: #111827;
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 10px 15px -3px rgba(131, 224, 74, .2),
                0 4px 6px -4px rgba(131, 224, 74, .2);
}

.button-accent:hover,
.button-accent:focus-visible {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
}

.button-large {
    min-height: 56px;
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.hero-section .button-primary {
    box-shadow: 0 10px 15px -3px rgba(25, 107, 169, .2),
                0 4px 6px -4px rgba(25, 107, 169, .2);
}

.button-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-section {
    padding: 8.8rem 0 6.5rem;
    background: linear-gradient(135deg, var(--subtle), var(--surface));
}

.hero-inner {
    max-width: 920px;
    text-align: center;
}

.hero-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1.6rem;
}

.hero-logo {
    width: auto;
    height: clamp(170px, 20vw, 225px);
}

.hero-section h1 {
    max-width: 880px;
    margin: 0 auto 1.25rem;
    color: var(--heading);
    font-size: 3rem;
    line-height: 1.25;
}

.hero-section h1 span {
    color: var(--primary);
}

.section-lead {
    max-width: 710px;
    margin: 0 auto 2.2rem;
    color: var(--muted);
    font-size: 1.25rem;
}

.trust-section {
    padding: 2.7rem 0;
    background: var(--surface);
    border-block: 1px solid var(--border);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.metric {
    text-align: center;
}

.metric strong,
.metric span {
    display: block;
}

.metric strong {
    color: var(--primary);
    font-size: 2.25rem;
    line-height: 1.111;
}

.metric span {
    margin-top: .3rem;
    color: var(--card-muted);
}

.section,
.content-section {
    padding: clamp(5rem, 8vw, 7rem) 0;
}

.section-soft {
    background: var(--subtle);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.section-heading h2,
.about-grid > div > h2,
.cta-inner h2 {
    margin: 0 0 1rem;
    color: var(--heading);
    font-size: 2.25rem;
    line-height: 1.111;
}

.section-heading p,
.about-lead,
.cta-inner > p {
    margin: 0;
    color: var(--muted);
    font-size: 1.125rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    padding: 2rem;
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: box-shadow .25s ease;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
}

.service-icon,
.product-icon,
.contact-icon {
    display: grid;
    place-items: center;
    color: var(--primary);
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    border-radius: 12px;
}

.service-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1.4rem;
}

.service-icon svg,
.product-icon svg,
.contact-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.service-card h3 {
    margin: 0 0 .65rem;
    color: var(--heading);
    font-size: 1.25rem;
}

.service-card p {
    margin: 0;
    color: var(--card-muted);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 576px));
    justify-content: center;
    gap: 1.5rem;
}

.product-card {
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    background: var(--subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: inherit;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: border-color .25s ease, box-shadow .25s ease;
}

.product-card:hover,
.product-card:focus-visible {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.product-icon {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    color: var(--accent-dark);
    background: color-mix(in srgb, var(--accent) 20%, transparent);
    transition: background-color .2s ease;
}

.product-card:hover .product-icon,
.product-card:focus-visible .product-icon {
    background: color-mix(in srgb, var(--accent) 30%, transparent);
}

.product-title {
    margin-bottom: .75rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.product-card h3 {
    margin: 0;
    color: var(--heading);
    font-size: 1.3rem;
}

.product-external-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: none;
    stroke: #9ca3af;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke .2s ease;
}

.product-card:hover .product-external-icon,
.product-card:focus-visible .product-external-icon {
    stroke: var(--accent);
}

.product-card p {
    margin: 0 0 .8rem;
    color: var(--card-muted);
}

.product-card strong {
    color: var(--accent-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: clamp(3rem, 7vw, 5.5rem);
}

.about-lead {
    margin-bottom: 2rem;
}

.features-list {
    display: grid;
    gap: 1.35rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
}

.feature-check {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    color: #6bc438;
    background: color-mix(in srgb, var(--accent) 20%, transparent);
    border-radius: 10px;
}

.feature-check svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.feature-item h3 {
    margin: 0 0 .2rem;
    color: var(--heading);
    font-size: 1.05rem;
}

.feature-item p {
    margin: 0;
    color: var(--card-muted);
}

.principles-card {
    padding: clamp(2rem, 5vw, 3rem);
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.principles-card h3 {
    margin: 0 0 1rem;
    font-size: 1.65rem;
}

.principles-card p {
    margin: 0 0 1.5rem;
    color: rgba(255, 255, 255, .9);
    font-size: 1.08rem;
}

.principles-card ul {
    margin: 0;
    padding: 0;
    display: grid;
    gap: .8rem;
    list-style: none;
}

.principles-card li {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.principles-card li::before {
    width: 8px;
    height: 8px;
    content: "";
    flex: 0 0 auto;
    background: var(--accent);
    border-radius: 50%;
}

.cta-inner {
    max-width: 850px;
    text-align: center;
}

.cta-inner > p {
    max-width: 700px;
    margin: 0 auto 2rem;
}

.nis2-section {
    background: var(--surface);
}

.section-kicker {
    display: block;
    margin-bottom: .55rem;
    color: var(--primary);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.nis2-check {
    max-width: 980px;
    margin-inline: auto;
    overflow: hidden;
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
}

.nis2-check-status {
    padding: .9rem clamp(1.25rem, 4vw, 2.25rem);
    display: grid;
    gap: .65rem;
    color: var(--muted);
    background: color-mix(in srgb, var(--primary) 6%, var(--surface-raised));
    border-bottom: 1px solid var(--border);
    font-size: .88rem;
    font-weight: 700;
}

.nis2-progress-track {
    height: 5px;
    overflow: hidden;
    background: color-mix(in srgb, var(--primary) 13%, var(--surface));
    border-radius: 999px;
}

.nis2-progress-track > span {
    height: 100%;
    display: block;
    background: var(--primary);
    border-radius: inherit;
    transition: width .25s ease;
}

.nis2-questions {
    margin: 0;
    padding: 0 clamp(1.25rem, 4vw, 2.25rem);
    list-style: none;
}

.nis2-question {
    padding: clamp(1.5rem, 4vw, 2.4rem) 0 1.75rem;
}

.nis2-check.is-enhanced .nis2-question {
    display: none;
}

.nis2-check.is-enhanced .nis2-question.is-active {
    display: block;
}

.nis2-question-copy {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.nis2-question-number {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: color-mix(in srgb, var(--primary) 11%, transparent);
    border-radius: 50%;
    font-size: .9rem;
    font-weight: 800;
}

.nis2-question h3 {
    margin: 0;
    color: var(--heading);
    font-size: clamp(1.12rem, 2vw, 1.35rem);
    line-height: 1.45;
}

.nis2-question p {
    margin: .4rem 0 0;
    color: var(--muted);
    font-size: .91rem;
    line-height: 1.55;
}

.nis2-answers {
    margin: 1.5rem 0 0 50px;
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 180px));
    gap: .7rem;
}

.nis2-answer {
    min-height: 48px;
    padding: .7rem .9rem;
    color: var(--heading);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-weight: 750;
    text-align: center;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.nis2-answer:hover,
.nis2-answer:focus-visible {
    border-color: var(--primary);
}

.nis2-answer:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(25, 107, 169, .16);
}

.nis2-answer.is-selected {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
}

.nis2-choice-field {
    margin: 1.5rem 0 0 50px;
    padding: 0;
    border: 0;
}

.nis2-choice-field > legend {
    margin-bottom: .5rem;
    padding: 0;
    color: var(--heading);
    font-size: .9rem;
    font-weight: 750;
}

.nis2-choice-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: .6rem;
}

.nis2-choice-option {
    min-width: 0;
    min-height: 52px;
    padding: .7rem .75rem;
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.nis2-choice-option:hover {
    border-color: color-mix(in srgb, var(--primary) 55%, var(--border));
}

.nis2-choice-option:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(25, 107, 169, .16);
}

.nis2-choice-option:has(input:checked) {
    background: color-mix(in srgb, var(--primary) 8%, var(--surface));
    border-color: var(--primary);
}

.nis2-choice-option input {
    width: 18px;
    height: 18px;
    margin: .12rem 0 0;
    flex: 0 0 auto;
    accent-color: var(--primary);
    cursor: pointer;
}

.nis2-choice-option span {
    font-size: .86rem;
    font-weight: 620;
    line-height: 1.35;
}

.nis2-choice-field > small {
    display: block;
    margin-top: .45rem;
    color: var(--muted);
    font-size: .8rem;
}

.nis2-step-actions {
    margin: 1.75rem 0 0 50px;
    display: flex;
    justify-content: flex-end;
    gap: .75rem;
}

.nis2-next:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.nis2-result {
    margin: 1.75rem clamp(1.25rem, 4vw, 2.25rem);
    padding: clamp(1.25rem, 3vw, 1.75rem);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 1rem;
    border: 1px solid;
    border-radius: 14px;
}

.nis2-result:focus {
    outline: none;
}

.nis2-result[hidden] {
    display: none;
}

.nis2-result-positive {
    background: color-mix(in srgb, var(--accent) 10%, var(--surface-raised));
    border-color: color-mix(in srgb, var(--accent-dark) 42%, var(--border));
}

.nis2-result-negative {
    background: color-mix(in srgb, var(--primary) 7%, var(--surface-raised));
    border-color: color-mix(in srgb, var(--primary) 32%, var(--border));
}

.nis2-result-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--primary-dark);
    background: color-mix(in srgb, var(--primary) 14%, var(--surface-raised));
    border-radius: 50%;
    font-size: 1.15rem;
    font-weight: 850;
}

.nis2-result-positive .nis2-result-icon {
    color: #356f1e;
    background: color-mix(in srgb, var(--accent) 24%, var(--surface-raised));
}

.dark .nis2-result-positive .nis2-result-icon {
    color: #c8f6ae;
}

.nis2-result-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nis2-result h3 {
    margin: 0;
    color: var(--heading);
    font-size: 1.3rem;
}

.nis2-result p {
    margin: .45rem 0 1.15rem;
    color: var(--text);
}

.nis2-check-footer {
    padding: 1rem clamp(1.25rem, 4vw, 2.25rem) 1.35rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted);
    border-top: 1px solid var(--border);
}

.nis2-check-footer small {
    max-width: 760px;
}

.nis2-reset {
    padding: .3rem 0;
    flex: 0 0 auto;
    color: var(--primary);
    background: none;
    border: 0;
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
}

.nis2-reset:hover,
.nis2-reset:focus-visible {
    text-decoration: underline;
}

.contact-section {
    background: var(--subtle);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-card {
    min-width: 0;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    background: var(--subtle);
    border: 1px solid transparent;
    border-radius: var(--radius);
    color: inherit;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s ease;
}

a.contact-card:hover,
a.contact-card:focus-visible {
    background: color-mix(in srgb, var(--primary) 5%, var(--subtle));
}

.dark a.contact-card:hover,
.dark a.contact-card:focus-visible {
    background: color-mix(in srgb, var(--primary) 10%, var(--subtle));
}

.contact-icon {
    width: 54px;
    height: 54px;
    margin-bottom: .4rem;
}

.contact-card strong {
    color: var(--heading);
}

.contact-card > span:last-child {
    color: var(--primary);
    overflow-wrap: anywhere;
}

.contact-card:not(a) > span:last-child {
    color: var(--card-muted);
}

.pre-line {
    white-space: pre-line;
}

.form-panel {
    width: 100%;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
}

.form-alert {
    padding: 1rem 1.2rem;
    display: grid;
    gap: .2rem;
    border: 1px solid;
    border-radius: 10px;
}

.form-alert-success {
    color: #245d13;
    background: #edfbe8;
    border-color: #a8df92;
}

.dark .form-alert-success {
    color: #c9f6b7;
    background: #183011;
    border-color: #386927;
}

.form-alert-error {
    margin-bottom: 1.5rem;
    color: #8c2020;
    background: #fff0f0;
    border-color: #efb4b4;
}

.dark .form-alert-error {
    color: #ffc2c2;
    background: #381919;
    border-color: #713333;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.form-field {
    display: grid;
    gap: .45rem;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field label {
    color: var(--heading);
    font-size: .92rem;
    font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: .78rem .9rem;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-field textarea {
    min-height: 155px;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(25, 107, 169, .15);
}

.form-consent {
    margin-top: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    color: var(--muted);
    font-size: .9rem;
}

.form-consent input {
    width: 17px;
    height: 17px;
    margin-top: .22rem;
    flex: 0 0 auto;
    accent-color: var(--primary);
}

.form-consent a,
.legal-copy a,
.rich-text a {
    color: var(--primary);
}

.form-footer {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.form-footer p {
    margin: 0;
    color: var(--muted);
    font-size: .82rem;
}

.honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

.legal-page {
    min-height: 60vh;
    padding: 9.5rem 0 5rem;
}

.legal-inner {
    max-width: 880px;
}

.legal-page h1 {
    margin: 0 0 2.3rem;
    color: var(--heading);
    font-size: clamp(2.1rem, 4vw, 2.8rem);
    line-height: 1.2;
}

.legal-section {
    margin-bottom: 2.3rem;
}

.legal-section h2 {
    margin: 0 0 .75rem;
    color: var(--heading);
    font-size: 1.28rem;
    line-height: 1.35;
}

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

.legal-copy p {
    margin: 0 0 1rem;
}

.legal-copy ul {
    margin: .75rem 0 1rem;
    padding-left: 1.5rem;
}

.legal-date {
    color: var(--muted);
    font-size: .9rem;
}

.site-footer {
    padding: 3rem 0;
    color: #fff;
    background: var(--footer);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-logo {
    width: auto;
    height: 48px;
    margin-bottom: 1rem;
}

.footer-about p {
    max-width: 460px;
    margin: 0;
    color: #9ca3af;
}

.site-footer h2 {
    margin: .3rem 0 .9rem;
    font-size: 1rem;
}

.site-footer ul {
    margin: 0;
    padding: 0;
    display: grid;
    gap: .45rem;
    list-style: none;
}

.site-footer a {
    color: #9ca3af;
    text-decoration: none;
    transition: color .2s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: #fff;
}

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    color: #6b7280;
    border-top: 1px solid #1f2937;
    text-align: center;
    font-size: .9rem;
}

.setup-page {
    width: min(100% - 2rem, 700px);
    min-height: 100vh;
    margin: 0 auto;
    padding: 5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.setup-page img {
    width: auto;
    height: 180px;
}

.setup-page h1 {
    margin: 1rem 0 .5rem;
    color: var(--heading);
    font-size: 2.4rem;
}

.setup-page p {
    color: var(--muted);
    font-size: 1.1rem;
}

.setup-page .button-row {
    margin: 1.2rem 0;
}

.setup-page small {
    color: var(--muted);
}

.error-page {
    min-height: 70vh;
    padding: 11rem 0 6rem;
    text-align: center;
}

.error-page .container {
    max-width: 720px;
}

.error-code {
    margin: 0;
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.error-page h1 {
    margin: .45rem 0 .8rem;
    color: var(--heading);
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.15;
}

.error-page p:not(.error-code) {
    margin: 0 auto 1.8rem;
    color: var(--muted);
    font-size: 1.1rem;
}

@media (max-width: 767px) {
    .hero-section h1 {
        font-size: 1.875rem;
    }

    .section-lead {
        font-size: 1.125rem;
    }

    .metric strong,
    .section-heading h2,
    .about-grid > div > h2,
    .cta-inner h2 {
        font-size: 1.875rem;
        line-height: 1.2;
    }
}

@media (max-width: 900px) {
    .desktop-nav,
    .header-cta {
        display: none;
    }

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

    .header-inner {
        display: flex;
        justify-content: space-between;
    }

    .mobile-nav {
        position: absolute;
        inset: 80px 0 auto;
        padding: 1rem;
        display: grid;
        gap: .4rem;
        background: var(--surface-raised);
        border: 1px solid var(--border);
        border-radius: 0 0 var(--radius) var(--radius);
        box-shadow: var(--shadow-lg);
    }

    .mobile-nav[hidden] {
        display: none;
    }

    .mobile-nav > a:not(.button) {
        padding: .65rem .4rem;
    }

    .mobile-nav .mobile-child-link {
        padding-left: 1.35rem !important;
        font-size: .94rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .footer-about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {
    .container {
        padding-inline: 1rem;
    }

    .header-inner {
        min-height: 72px;
    }

    .logo {
        height: 41px;
    }

    .header-actions {
        gap: .2rem;
    }

    .mobile-nav {
        inset-block-start: 72px;
    }

    .hero-section {
        padding: 7.5rem 0 4.5rem;
    }

    .button-row {
        align-items: stretch;
        flex-direction: column;
    }

    .button-row .button {
        width: 100%;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 2rem;
    }

    .section,
    .content-section {
        padding: 4.5rem 0;
    }

    .section-heading {
        margin-bottom: 2.5rem;
    }

    .product-card {
        padding: 1.4rem;
        flex-direction: column;
    }

    .contact-cards,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .nis2-question {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .nis2-answers {
        margin-left: 0;
        grid-template-columns: repeat(2, 1fr);
    }

    .nis2-choice-field {
        margin-left: 0;
    }

    .nis2-choice-grid {
        grid-template-columns: 1fr;
    }

    .nis2-step-actions {
        margin-left: 0;
        justify-content: space-between;
    }

    .nis2-check-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .form-field-full {
        grid-column: auto;
    }

    .form-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .form-footer .button {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about {
        grid-column: 1 / -1;
    }
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
