:root {
    color-scheme: dark;
    --background: #111415;
    --surface-lowest: #0c0f10;
    --surface-low: #191c1d;
    --surface-high: #282a2b;
    --surface-variant: #323536;
    --primary: #b1c8e9;
    --primary-strong: #d7e6ff;
    --on-primary: #1a324c;
    --text: #e1e3e4;
    --muted: #c4c6ce;
    --muted-2: #8e9198;
    --line: rgba(177, 200, 233, .12);
    --line-strong: rgba(177, 200, 233, .3);
    --critical: #ff8a91;
    --high: #ffb59e;
    --medium: #f0c674;
    --low: #a9c7ff;
    --review: #a8c7c1;
    --clear: #91d4a0;
    --shell: 1440px;
    --ease: cubic-bezier(.16, 1, .3, 1);
}

* {
    box-sizing: border-box;
    font-family: Poppins, system-ui, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 104px;
    background: var(--background);
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 80% 2%, rgba(31, 71, 123, .18), transparent 30rem),
        var(--background);
    color: var(--text);
    font-family: Poppins, system-ui, sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.is-scanning {
    cursor: progress;
}

::selection {
    background: var(--primary);
    color: var(--on-primary);
}

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

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

button {
    border: 0;
}

img,
svg {
    display: block;
}

svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3,
strong,
a,
p,
span {
    overflow-wrap: anywhere;
}

.shell {
    width: min(var(--shell), calc(100% - 10rem));
    margin-inline: auto;
}

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

.skip-link {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 999;
    padding: .8rem 1rem;
    background: var(--primary);
    color: var(--on-primary);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    transform: translateY(-200%);
    transition: transform .2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 120;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    background: rgba(17, 20, 21, .9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

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

.brand {
    justify-self: start;
}

.brand img,
.site-footer img {
    width: 230px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 3.2vw, 3.5rem);
}

.main-nav a,
.header-contact {
    position: relative;
    color: var(--muted);
    font-size: .63rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    transition: color .2s ease;
}

.header-contact {
    justify-self: end;
    letter-spacing: .08em;
    text-transform: none;
}

.main-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -.55rem;
    left: 0;
    height: 1px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.header-contact:hover,
.header-contact:focus-visible {
    color: var(--primary);
}

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

.hero-section {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent 49.94%, rgba(177, 200, 233, .07) 50%, transparent 50.06%),
        radial-gradient(circle at 72% 24%, rgba(177, 200, 233, .055), transparent 27rem);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(36rem, 1.18fr);
    align-items: center;
    min-height: calc(100vh - 84px);
    gap: clamp(3rem, 6vw, 8rem);
}

.hero-copy {
    padding: clamp(5rem, 8vw, 9rem) 0;
}

.eyebrow,
.panel-label {
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: .61rem;
    font-weight: 700;
    letter-spacing: .26em;
    text-transform: uppercase;
}

.hero-copy h1 {
    max-width: 13ch;
    margin-bottom: 2rem;
    color: #fff;
    font-size: clamp(2.75rem, 4vw, 4.6rem);
    font-weight: 700;
    letter-spacing: -.055em;
    line-height: 1.02;
}

.hero-intro {
    max-width: 41rem;
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    line-height: 1.75;
}

.hero-note {
    max-width: 41rem;
    margin-bottom: 2.7rem;
    color: var(--muted-2);
    font-size: .8rem;
    line-height: 1.75;
}

.security-features {
    display: grid;
    gap: 1px;
    max-width: 42rem;
    border: 1px solid rgba(255, 255, 255, .06);
    background: rgba(255, 255, 255, .05);
}

.feature-line {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.2rem;
    background: rgba(25, 28, 29, .82);
    color: var(--muted);
    font-size: .72rem;
}

.feature-index,
.level-index {
    color: rgba(177, 200, 233, .62);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .14em;
}

.scanner-panel {
    align-self: center;
    margin-block: clamp(3rem, 6vw, 6rem);
    border: 1px solid var(--line);
    background: rgba(12, 15, 16, .84);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.6rem 1.8rem;
    border-bottom: 1px solid var(--line);
}

.panel-head .panel-label {
    display: block;
    margin-bottom: .45rem;
    color: var(--muted-2);
}

.panel-head h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.2rem, 2vw, 1.75rem);
    line-height: 1.25;
}

.status-badge {
    flex: 0 0 auto;
    border: 1px solid rgba(177, 200, 233, .25);
    padding: .5rem .7rem;
    color: var(--primary);
    font-size: .55rem;
    font-weight: 800;
    letter-spacing: .16em;
}

#scan-form {
    display: grid;
    gap: 1.15rem;
    padding: 1.35rem;
}

.field-group > label,
.level-preview legend {
    display: block;
    margin-bottom: .65rem;
    color: var(--muted);
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.url-field {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    min-height: 4rem;
    border: 1px solid var(--line-strong);
    background: var(--surface-lowest);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.url-field:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(177, 200, 233, .08);
}

.url-field > span {
    padding-left: 1.1rem;
    color: var(--muted-2);
    font-size: .82rem;
}

.url-field input,
.captcha-row input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
}

.url-field input {
    min-height: 3.9rem;
    padding: .9rem 1.1rem .9rem .2rem;
    font-size: .9rem;
}

.url-field input::placeholder,
.captcha-row input::placeholder {
    color: rgba(196, 198, 206, .36);
}

.field-help {
    margin: .55rem 0 0;
    color: var(--muted-2);
    font-size: .62rem;
}

.level-preview {
    display: grid;
    gap: 1px;
    margin: 0;
    padding: 0;
    border: 0;
    background: var(--line);
}

.level-preview legend {
    width: 100%;
    padding: 0 0 .65rem;
    background: var(--surface-lowest);
}

.level-preview article {
    display: grid;
    grid-template-columns: 2.7rem minmax(0, 1fr);
    align-items: center;
    gap: .75rem;
    padding: .8rem 1rem;
    background: var(--surface-low);
}

.level-preview strong,
.level-preview small {
    display: block;
}

.level-preview strong {
    color: #fff;
    font-size: .72rem;
}

.level-preview small {
    margin-top: .1rem;
    color: var(--muted-2);
    font-size: .57rem;
}

.captcha-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 7rem 2.8rem;
    align-items: stretch;
    border: 1px solid var(--line);
    background: var(--surface-low);
}

.captcha-question {
    padding: .85rem 1rem;
}

.captcha-question .panel-label {
    display: block;
    margin: 0 0 .2rem;
    color: var(--muted-2);
    font-size: .5rem;
}

.captcha-question strong {
    color: var(--text);
    font-size: .72rem;
    font-weight: 600;
}

.captcha-question strong span {
    color: var(--primary);
}

.captcha-row input {
    border-left: 1px solid var(--line);
    padding: .75rem;
    text-align: center;
    font-size: .85rem;
}

.captcha-refresh {
    border-left: 1px solid var(--line);
    background: transparent;
    color: var(--primary);
    font-size: 1.15rem;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

.captcha-refresh:hover,
.captcha-refresh:focus-visible {
    background: var(--primary);
    color: var(--on-primary);
    outline: none;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    min-height: 3.7rem;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    padding: .9rem 1.4rem;
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
}

.primary-button {
    width: 100%;
    background: var(--primary);
    color: var(--on-primary);
}

.primary-button svg {
    width: 1.2rem;
    height: 1.2rem;
}

.primary-button:hover:not(:disabled),
.primary-button:focus-visible:not(:disabled) {
    background: #fff;
    transform: translateY(-2px);
    outline: none;
}

.primary-button:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.primary-button.compact,
.secondary-button {
    width: auto;
}

.secondary-button {
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--primary);
}

.secondary-button:hover,
.secondary-button:focus-visible {
    border-color: var(--primary);
    background: rgba(177, 200, 233, .07);
    outline: none;
}

.scan-progress {
    padding: 1.5rem 1.8rem 1.8rem;
    border-top: 1px solid var(--line);
}

.scan-progress[hidden],
.form-status[hidden],
.report-section[hidden] {
    display: none;
}

.progress-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.progress-head .panel-label {
    display: block;
    margin-bottom: .25rem;
    color: var(--muted-2);
}

.progress-head strong {
    color: var(--text);
    font-size: .72rem;
    font-weight: 500;
}

.progress-percent {
    color: var(--primary);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -.04em;
}

.progress-track {
    position: relative;
    height: 4px;
    margin-top: 1.15rem;
    overflow: hidden;
    background: rgba(255, 255, 255, .08);
}

.progress-track span {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    background: var(--primary);
    box-shadow: 0 0 18px rgba(177, 200, 233, .45);
    transition: width .38s var(--ease);
}

.progress-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: .9rem;
    color: rgba(196, 198, 206, .32);
    font-size: .48rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.progress-steps span {
    position: relative;
    padding-top: .5rem;
}

.progress-steps span::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 3px;
    background: currentColor;
}

.progress-steps span.is-active,
.progress-steps span.is-complete {
    color: var(--primary);
}

.form-status {
    margin: 0 1.35rem 1.35rem;
    border: 1px solid rgba(255, 138, 145, .35);
    padding: 1rem;
    background: rgba(147, 0, 10, .18);
    color: #ffdad6;
    font-size: .75rem;
    line-height: 1.65;
}

.form-status.is-info {
    border-color: var(--line-strong);
    background: rgba(31, 71, 123, .18);
    color: var(--primary);
}

.report-section {
    padding: clamp(5rem, 8vw, 9rem) 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    background: var(--surface-lowest);
}

.report-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 2rem;
}

.report-heading .eyebrow {
    margin-bottom: .55rem;
}

.report-heading h2 {
    margin-bottom: .5rem;
    color: #fff;
    font-size: clamp(1.75rem, 3vw, 3rem);
    letter-spacing: -.045em;
    line-height: 1.1;
}

.report-heading p:last-child {
    max-width: 52rem;
    margin-bottom: 0;
    color: var(--muted);
    font-size: .82rem;
}

.report-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .65rem;
}

.level-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    border: 1px solid var(--line);
    background: var(--line);
}

.level-result {
    position: relative;
    min-height: 18rem;
    padding: 1.5rem;
    background: var(--surface-low);
}

.level-result::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--review);
}

.level-result[data-status="fail"]::before {
    background: var(--critical);
}

.level-result[data-status="pass"]::before {
    background: var(--clear);
}

.level-result-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.level-result .panel-label {
    display: block;
    margin-bottom: .45rem;
    color: var(--muted-2);
}

.level-result h3 {
    margin-bottom: .3rem;
    color: #fff;
    font-size: 1.15rem;
}

.level-result .level-standard {
    color: var(--primary);
    font-size: .64rem;
    font-weight: 600;
}

.level-score {
    flex: 0 0 auto;
    color: #fff;
    font-size: 2.6rem;
    font-weight: 700;
    line-height: .9;
    letter-spacing: -.07em;
}

.level-score small {
    color: var(--muted-2);
    font-size: .65rem;
    letter-spacing: 0;
}

.level-score > span {
    display: block;
    margin-top: .28rem;
    color: var(--muted-2);
    font-size: .46rem;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.2;
    text-align: right;
    text-transform: uppercase;
}

.level-status {
    display: inline-flex;
    margin: 1.4rem 0 1rem;
    border: 1px solid var(--line-strong);
    padding: .5rem .65rem;
    color: var(--review);
    font-size: .56rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.level-result[data-status="fail"] .level-status {
    border-color: rgba(255, 138, 145, .38);
    color: var(--critical);
}

.level-result[data-status="pass"] .level-status {
    border-color: rgba(145, 212, 160, .35);
    color: var(--clear);
}

.level-result > p {
    margin-bottom: 1.3rem;
    color: var(--muted);
    font-size: .7rem;
}

.level-counts {
    display: flex;
    gap: 1.2rem;
    color: var(--muted-2);
    font-size: .58rem;
}

.level-counts strong {
    display: block;
    color: #fff;
    font-size: 1.05rem;
}


.level-score-note {
    margin: 1.1rem 0 0 !important;
    padding-top: .85rem;
    border-top: 1px solid var(--line);
    color: var(--muted-2) !important;
    font-size: .56rem !important;
    line-height: 1.55 !important;
}

.report-summary {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    margin-top: 1px;
    background: var(--line);
}

.summary-card {
    min-height: 6.5rem;
    padding: 1.15rem 1.3rem;
    background: var(--surface-low);
}

.summary-card span {
    display: block;
    color: var(--muted-2);
    font-size: .56rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.summary-card strong {
    display: block;
    margin-top: .35rem;
    color: #fff;
    font-size: 1.65rem;
}

.summary-card[data-kind="critical"] strong { color: var(--critical); }
.summary-card[data-kind="high"] strong { color: var(--high); }
.summary-card[data-kind="medium"] strong { color: var(--medium); }
.summary-card[data-kind="review"] strong { color: var(--review); }

.report-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(20rem, .65fr);
    gap: 1px;
    margin-top: 1px;
    background: var(--line);
}

.findings-panel,
.report-sidebar {
    background: var(--surface-lowest);
}

.section-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 5.3rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--line);
}

.section-bar .panel-label {
    display: block;
    margin: 0 0 .25rem;
    color: var(--muted-2);
}

.section-bar h3 {
    margin: 0;
    color: #fff;
    font-size: 1rem;
}

.filter-label {
    color: var(--muted-2);
    font-size: .56rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.filter-label select {
    min-height: 2.6rem;
    margin-left: .5rem;
    border: 1px solid var(--line);
    border-radius: 0;
    outline: none;
    background: var(--surface-lowest);
    color: var(--text);
    padding: .55rem 2rem .55rem .7rem;
    font-size: .65rem;
    cursor: pointer;
}

.filter-label select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(177, 200, 233, .1);
}

.findings-list {
    display: grid;
}

.finding {
    border-bottom: 1px solid var(--line);
    background: var(--surface-lowest);
}

.finding[hidden] {
    display: none;
}

.finding summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    min-height: 5.2rem;
    padding: 1rem 1.5rem;
    list-style: none;
    cursor: pointer;
    transition: background-color .2s ease;
}

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

.finding summary:hover,
.finding summary:focus-visible {
    background: var(--surface-low);
    outline: none;
}

.finding-marker {
    width: .55rem;
    height: .55rem;
    background: var(--review);
    box-shadow: 0 0 0 4px rgba(168, 199, 193, .08);
}

.finding[data-severity="critical"] .finding-marker { background: var(--critical); }
.finding[data-severity="high"] .finding-marker { background: var(--high); }
.finding[data-severity="medium"] .finding-marker { background: var(--medium); }
.finding[data-severity="low"] .finding-marker { background: var(--low); }

.finding-title strong,
.finding-title small {
    display: block;
}

.finding-title strong {
    color: #fff;
    font-size: .78rem;
}

.finding-title small {
    margin-top: .25rem;
    color: var(--muted-2);
    font-size: .56rem;
}

.finding-badge {
    border: 1px solid var(--line);
    padding: .4rem .55rem;
    color: var(--muted);
    font-size: .5rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.finding-body {
    display: grid;
    gap: 1rem;
    padding: 0 1.5rem 1.5rem 3.05rem;
    color: var(--muted);
    font-size: .7rem;
}

.finding-body p {
    margin: 0;
}

.finding-body h4 {
    margin: 0 0 .3rem;
    color: var(--primary);
    font-size: .56rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.finding-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
}

.finding-meta div {
    padding: .75rem;
    background: var(--surface-low);
}

.finding-meta span,
.finding-meta strong {
    display: block;
}

.finding-meta span {
    color: var(--muted-2);
    font-size: .5rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.finding-meta strong {
    margin-top: .2rem;
    color: var(--text);
    font-size: .62rem;
    font-weight: 500;
}

.code-fragment {
    margin: 0;
    overflow: auto;
    border: 1px solid var(--line);
    padding: .8rem;
    background: #080a0b;
    color: var(--muted);
    font-size: .6rem;
    white-space: pre-wrap;
    word-break: break-word;
}

.empty-findings {
    padding: 3rem 1.5rem;
    color: var(--muted);
    font-size: .8rem;
}

.report-sidebar {
    padding: 1.5rem;
}

.sidebar-block {
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--line);
}

.sidebar-block:first-child {
    padding-top: 0;
}

.sidebar-block:last-child {
    border-bottom: 0;
}

.sidebar-block .panel-label {
    display: block;
    margin-bottom: .65rem;
    color: var(--muted-2);
}

.sidebar-block h3 {
    margin-bottom: .8rem;
    color: #fff;
    font-size: .9rem;
}

.sidebar-block p,
.sidebar-block li,
.sidebar-block a {
    color: var(--muted);
    font-size: .66rem;
    line-height: 1.75;
}

.sidebar-block a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: .2em;
}

.sidebar-block dl {
    display: grid;
    gap: .75rem;
    margin: 0;
}

.sidebar-block dt {
    color: var(--muted-2);
    font-size: .5rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sidebar-block dd {
    margin: .15rem 0 0;
    color: var(--text);
    font-size: .64rem;
    overflow-wrap: anywhere;
}

.levels-section,
.methodology-section {
    padding: clamp(5rem, 8vw, 9rem) 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

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

.section-intro {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(20rem, 1.2fr);
    gap: clamp(3rem, 7vw, 8rem);
    align-items: end;
    margin-bottom: 3rem;
}

.section-intro .eyebrow {
    grid-column: 1 / -1;
    margin-bottom: -1rem;
}

.section-intro h2,
.methodology-grid h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 3.5vw, 3.7rem);
    letter-spacing: -.05em;
    line-height: 1.08;
}

.section-intro > p:last-child,
.methodology-copy p {
    margin: 0;
    color: var(--muted);
    font-size: .85rem;
    line-height: 1.85;
}

.level-explainer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    border: 1px solid var(--line);
    background: var(--line);
}

.level-explainer-grid article {
    min-height: 19rem;
    padding: 1.6rem;
    background: var(--surface-low);
}

.level-explainer-grid article > span {
    display: inline-block;
    margin-bottom: 4rem;
    color: rgba(177, 200, 233, .6);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .15em;
}

.level-explainer-grid h3 {
    color: #fff;
    font-size: 1.15rem;
}

.level-explainer-grid p {
    margin: 0;
    color: var(--muted);
    font-size: .72rem;
    line-height: 1.8;
}

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

.methodology-grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(20rem, 1.2fr);
    gap: clamp(3rem, 8vw, 9rem);
}

.methodology-copy {
    display: grid;
    gap: 1.2rem;
}

.methodology-copy strong {
    color: #fff;
}

.site-footer {
    padding: 2rem 0;
    background: var(--background);
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(14rem, 1fr) auto minmax(14rem, 1fr);
    align-items: center;
    gap: 2rem;
}

.footer-inner > p,
.footer-inner > div {
    margin: 0;
    color: var(--muted-2);
    font-size: .62rem;
}

.footer-inner > div {
    justify-self: end;
    text-align: right;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: .35rem 1rem;
}

.footer-inner > div p {
    flex-basis: 100%;
    margin: .1rem 0 0;
}

.privacy-policy-link {
    border: 0;
    padding: .25rem 0;
    background: transparent;
    color: var(--muted-2);
    font-size: .62rem;
    text-decoration: underline;
    text-decoration-color: rgba(177, 200, 233, .35);
    text-underline-offset: .25rem;
    cursor: pointer;
}

.footer-inner a:hover,
.footer-inner a:focus-visible,
.privacy-policy-link:hover,
.privacy-policy-link:focus-visible {
    color: var(--primary);
    outline: none;
}


body.privacy-open {
    overflow: hidden;
}

.privacy-notice {
    position: fixed;
    right: clamp(.75rem, 2.5vw, 2rem);
    bottom: clamp(.75rem, 2.5vw, 2rem);
    z-index: 240;
    display: grid;
    width: min(34rem, calc(100vw - 1.5rem));
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: end;
    border: 1px solid rgba(177, 200, 233, .28);
    padding: 1.1rem;
    background: rgba(225, 227, 228, .98);
    color: #1d2021;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .45);
}

.privacy-notice[hidden],
.privacy-modal[hidden] {
    display: none !important;
}

.privacy-notice strong {
    display: block;
    margin-bottom: .25rem;
    font-size: .8rem;
}

.privacy-notice p {
    margin: 0;
    color: #43474d;
    font-size: .68rem;
    line-height: 1.6;
}

.privacy-notice-actions {
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

.privacy-understand,
.privacy-policy-button {
    min-height: 2.45rem;
    padding: .65rem .9rem;
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
}

.privacy-understand {
    background: #1a324c;
    color: #fff;
}

.privacy-policy-button {
    border: 1px solid rgba(29, 32, 33, .22);
    background: transparent;
    color: #1a324c;
}

.privacy-understand:hover,
.privacy-understand:focus-visible {
    background: #324863;
    outline: 2px solid #1a324c;
    outline-offset: 2px;
}

.privacy-policy-button:hover,
.privacy-policy-button:focus-visible {
    border-color: #1a324c;
    background: rgba(26, 50, 76, .08);
    outline: 2px solid #1a324c;
    outline-offset: 2px;
}

.privacy-modal {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: grid;
    place-items: center;
    padding: clamp(.75rem, 3vw, 2rem);
}

.privacy-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 5, 6, .78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.privacy-dialog {
    position: relative;
    z-index: 1;
    width: min(58rem, 100%);
    max-height: min(90vh, 56rem);
    max-height: min(90dvh, 56rem);
    overflow: hidden;
    border: 1px solid rgba(177, 200, 233, .28);
    background: #e1e3e4;
    color: #1d2021;
    box-shadow: 0 40px 120px rgba(0, 0, 0, .65);
}

.privacy-close {
    position: absolute;
    top: .85rem;
    right: .85rem;
    z-index: 2;
    display: grid;
    width: 2.65rem;
    height: 2.65rem;
    place-items: center;
    border-radius: 50%;
    background: rgba(29, 32, 33, .08);
    color: #1d2021;
    cursor: pointer;
}

.privacy-close svg {
    width: 1rem;
    height: 1rem;
    stroke-width: 2;
}

.privacy-close:hover,
.privacy-close:focus-visible {
    background: #1a324c;
    color: #fff;
    outline: 2px solid #1a324c;
    outline-offset: 2px;
}

.privacy-policy-scroll {
    max-height: min(90vh, 56rem);
    max-height: min(90dvh, 56rem);
    overflow-y: auto;
    padding: clamp(1.5rem, 4vw, 3.2rem) clamp(3.8rem, 6vw, 5rem) clamp(2rem, 4vw, 3.2rem) clamp(1.5rem, 4vw, 3.2rem);
    scrollbar-width: thin;
    overscroll-behavior: contain;
}

.privacy-kicker {
    margin-bottom: .6rem !important;
    color: #324863 !important;
    font-size: .58rem !important;
    font-weight: 800;
    letter-spacing: .18em;
}

.privacy-policy-scroll h2 {
    margin: 0 0 .2rem;
    color: #111415;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    letter-spacing: -.05em;
    line-height: 1.05;
}

.privacy-policy-scroll h3 {
    margin: 1.55rem 0 .35rem;
    color: #1a324c;
    font-size: .92rem;
}

.privacy-policy-scroll p {
    margin: 0;
    color: #43474d;
    font-size: .76rem;
    line-height: 1.75;
}

.privacy-policy-scroll a {
    color: #1a324c;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: .2rem;
}

.privacy-policy-scroll code {
    border: 1px solid rgba(26, 50, 76, .14);
    padding: .08rem .3rem;
    background: rgba(26, 50, 76, .06);
    color: #1a324c;
    font-size: .72rem;
}

.privacy-updated {
    margin-bottom: 1.3rem !important;
    opacity: .7;
}

.reveal {
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

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

.copy-toast {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    z-index: 300;
    border: 1px solid var(--line-strong);
    padding: .9rem 1.1rem;
    background: var(--surface-high);
    color: #fff;
    font-size: .68rem;
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
}

@media (max-width: 1180px) {
    .shell {
        width: min(var(--shell), calc(100% - 4rem));
    }

    .header-inner {
        grid-template-columns: 1fr auto;
    }

    .main-nav {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-copy {
        padding-bottom: 0;
    }

    .scanner-panel {
        width: 100%;
        max-width: 54rem;
        justify-self: center;
        margin-top: 1rem;
    }

    .report-layout {
        grid-template-columns: 1fr;
    }

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

    .footer-inner > p {
        display: none;
    }
}

@media (max-width: 860px) {
    .shell {
        width: min(var(--shell), calc(100% - 2rem));
    }

    .site-header {
        position: relative;
    }

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

    .brand img,
    .site-footer img {
        width: 190px;
    }

    .header-contact {
        font-size: .55rem;
    }

    .hero-section::before {
        background: radial-gradient(circle at 72% 24%, rgba(177, 200, 233, .055), transparent 27rem);
    }

    .hero-copy {
        padding-top: 4.5rem;
    }

    .hero-copy h1 {
        font-size: clamp(2.5rem, 11vw, 4rem);
    }

    .level-results,
    .level-explainer-grid,
    .section-intro,
    .methodology-grid {
        grid-template-columns: 1fr;
    }

    .section-intro .eyebrow {
        grid-column: auto;
        margin-bottom: -2rem;
    }

    .report-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .report-actions {
        justify-content: flex-start;
    }

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

    .level-explainer-grid article > span {
        margin-bottom: 2rem;
    }

    .level-explainer-grid article {
        min-height: 14rem;
    }
}

@media (max-width: 620px) {
    .shell {
        width: min(var(--shell), calc(100% - 1.2rem));
    }

    .header-contact {
        display: none;
    }

    .header-inner {
        grid-template-columns: 1fr;
    }

    .panel-head,
    .scan-progress,
    .report-sidebar,
    .section-bar,
    .finding summary {
        padding-inline: 1rem;
    }

    #scan-form {
        padding: 1rem;
    }

    .captcha-row {
        grid-template-columns: 1fr 5.5rem 2.7rem;
    }

    .captcha-question strong {
        font-size: .63rem;
    }

    .progress-steps {
        font-size: .38rem;
    }

    .level-results,
    .report-summary {
        grid-template-columns: 1fr;
    }

    .report-actions {
        width: 100%;
    }

    .report-actions button {
        flex: 1 1 100%;
        width: 100%;
    }

    .section-bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .filter-label {
        width: 100%;
    }

    .filter-label select {
        width: 100%;
        margin: .5rem 0 0;
    }

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

    .finding-badge {
        grid-column: 2;
        justify-self: start;
    }

    .finding-body {
        padding-left: 2.55rem;
        padding-right: 1rem;
    }

    .finding-meta {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-inner > a,
    .footer-inner > div {
        justify-self: center;
        text-align: center;
    }
}


@media (max-width: 620px) {
    .privacy-notice {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .privacy-notice-actions {
        flex-direction: row;
    }

    .privacy-notice-actions button {
        flex: 1 1 50%;
    }

    .privacy-modal {
        padding: .5rem;
    }

    .privacy-dialog,
    .privacy-policy-scroll {
        max-height: calc(100vh - 1rem);
        max-height: calc(100dvh - 1rem);
    }

    .privacy-policy-scroll {
        padding: 1.35rem 3.6rem 1.5rem 1.25rem;
    }

    .footer-legal {
        justify-content: center;
    }
}

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

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

    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 620px) {
    .security-features {
        display: none;
    }

    .hero-copy {
        padding-bottom: 1.5rem;
    }

    .scanner-panel {
        margin-top: 0;
    }
}

@media print { .privacy-notice, .privacy-modal, .privacy-policy-link { display: none !important; } }

/* 3.2.0: mobile navigation, quick contact and language control */
.header-tools{display:flex;justify-self:end;align-items:center;gap:.75rem}.language-select{min-height:2.75rem;border:1px solid var(--line-strong);border-radius:0;background:var(--surface-lowest);color:var(--text);padding:.55rem 2rem .55rem .75rem;font:600 .68rem Poppins,sans-serif}.language-select:focus-visible{outline:3px solid var(--primary);outline-offset:2px}.menu-toggle,.mobile-nav-label,.mobile-quick-contact,.mobile-menu-overlay,.google-translate-element{display:none}.menu-toggle{width:2.8rem;height:2.8rem;align-items:center;justify-content:center;border:1px solid var(--line-strong);background:var(--surface-lowest);color:var(--primary);cursor:pointer}.menu-toggle>span{position:relative;width:1.2rem;height:.9rem}.menu-toggle i{position:absolute;left:0;width:100%;height:2px;background:currentColor;transition:.2s}.menu-toggle i:nth-child(1){top:0}.menu-toggle i:nth-child(2){top:.4rem}.menu-toggle i:nth-child(3){top:.8rem}.menu-toggle.is-open i:nth-child(1){top:.4rem;transform:rotate(45deg)}.menu-toggle.is-open i:nth-child(2){opacity:0}.menu-toggle.is-open i:nth-child(3){top:.4rem;transform:rotate(-45deg)}
.url-field input{padding-left:1rem}.nav-privacy{background:none;border:0;color:var(--muted);font:700 .63rem Poppins,sans-serif;letter-spacing:.2em;text-transform:uppercase;cursor:pointer;padding:0}
@media(max-width:1180px){.header-inner{grid-template-columns:1fr auto}.menu-toggle{display:flex}.header-contact{display:none}.main-nav{display:flex;position:fixed;z-index:130;top:0;right:0;width:min(24rem,88vw);height:100dvh;padding:6rem 2rem 2rem;flex-direction:column;align-items:stretch;gap:0;background:var(--surface-lowest);border-left:1px solid var(--line-strong);transform:translateX(105%);visibility:hidden;transition:transform .25s var(--ease),visibility .25s}.main-nav.is-open{transform:none;visibility:visible}.main-nav a,.nav-privacy{display:block;padding:1.1rem 0;border-bottom:1px solid var(--line);font-size:.72rem;text-align:left}.mobile-nav-label{display:block;margin-bottom:1rem;color:var(--primary);font-size:.6rem;font-weight:800;letter-spacing:.22em}.mobile-quick-contact{display:flex;gap:.75rem;margin-top:auto;padding-top:2rem}.mobile-quick-contact a{display:grid;width:3.2rem;height:3.2rem;padding:0;place-items:center;border:1px solid var(--line-strong);color:var(--primary)}.mobile-quick-contact svg{width:1.35rem;height:1.35rem}.mobile-menu-overlay{position:fixed;inset:0;z-index:125;background:rgba(0,0,0,.62)}.mobile-menu-overlay.is-open{display:block}.header-tools{gap:.55rem}body.menu-open{overflow:hidden}}
@media(max-width:620px){.language-select{width:7.2rem;min-height:2.55rem;padding:.45rem 1.5rem .45rem .55rem}.brand img{width:155px}.header-inner{grid-template-columns:1fr auto;gap:.5rem}.header-tools{justify-self:end}.menu-toggle{width:2.55rem;height:2.55rem}}

/* Privacy layout matched to the supplied Barcoo page */
.privacy-notice{left:1rem;right:auto;bottom:1rem;width:min(39rem,calc(100% - 2rem));padding:1.4rem;border:1px solid var(--line-strong);background:rgba(12,15,16,.97);box-shadow:0 24px 70px rgba(0,0,0,.55);backdrop-filter:blur(18px)}.privacy-notice strong{font-size:1.05rem}.privacy-notice-actions{justify-content:flex-start;flex-wrap:wrap}.privacy-modal{padding:clamp(1rem,4vw,3rem);background:rgba(3,5,6,.82);backdrop-filter:blur(12px)}.privacy-dialog{width:min(68rem,100%);max-height:min(88vh,54rem);border:1px solid var(--line-strong);background:var(--surface-lowest);box-shadow:0 35px 100px rgba(0,0,0,.65)}.privacy-policy-scroll{padding:clamp(2rem,5vw,5rem);scrollbar-gutter:stable}.privacy-close{top:1rem;right:1rem;width:3rem;height:3rem;background:var(--surface-low);border:1px solid var(--line-strong)}

/* explicit keyboard focus and motion handling */
:where(a,button,input,select,summary):focus-visible{outline:3px solid var(--primary);outline-offset:3px} @media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.main-nav,.menu-toggle i{transition:none!important}}

/* 3.3.0 — final mobile navigation, contact, privacy and accessibility layer */

/* Poppins is the only visible typeface used by the interface. */
body,
button,
input,
select,
textarea,
pre,
code,
.code-fragment,
.scan-card span:last-child {
    font-family: Poppins, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[hidden] {
    display: none !important;
}

:where(a, button, input, select, summary, [tabindex]):focus-visible {
    outline: 3px solid #d5e4fa;
    outline-offset: 3px;
}

.mobile-nav-head,
.mobile-menu-close,
.mobile-contact-dock {
    display: none;
}

html,
body {
    top: 0 !important;
}

/* Privacy panel — deliberately mirrors the earlier Barcoo implementation. */
.cookie-panel {
    position: fixed;
    left: clamp(.75rem, 2.5vw, 2rem);
    bottom: clamp(.75rem, 2.5vw, 2rem);
    z-index: 220;
    width: min(25rem, calc(100vw - 1.5rem));
    max-height: calc(100dvh - 1.5rem);
    overflow: hidden;
    border: 1px solid rgba(17, 20, 21, .14);
    border-radius: .75rem;
    background: rgba(255, 255, 255, .97);
    color: #1d2021;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 1;
    transform: translateY(0);
    transition: width .26s ease, max-height .26s ease, opacity .22s ease, transform .22s ease;
}

.cookie-panel.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(1rem);
}

.cookie-panel.is-policy-open {
    width: min(46rem, calc(100vw - 2rem));
    max-height: min(80dvh, 48rem);
}

.cookie-consent-view {
    padding: 1.15rem;
}

.cookie-heading-row {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: .75rem;
}

.privacy-icon {
    width: 1.3rem;
    height: 1.3rem;
    flex: 0 0 auto;
    fill: none;
    stroke: #324863;
    stroke-width: 1.7;
}

.cookie-heading-row h2,
.privacy-policy-view h2 {
    margin: 0;
    color: #1d2021;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -.02em;
}

.cookie-consent-view > p {
    margin: 0;
    color: #43474d;
    font-size: .78rem;
    line-height: 1.65;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem;
    margin-top: 1rem;
}

.cookie-btn,
.cookie-policy-btn {
    min-height: 2.75rem;
    border-radius: .25rem;
    font-family: inherit;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
}

.cookie-btn {
    border: 1px solid rgba(29, 32, 33, .32);
    padding: .7rem .95rem;
    background: transparent;
    color: #1d2021;
}

.cookie-btn:hover,
.cookie-btn:focus-visible {
    border-color: #1a324c;
    background: rgba(50, 72, 99, .1);
}

.cookie-btn-primary {
    border-color: #1a324c;
    background: #1a324c;
    color: #fff;
}

.cookie-btn-primary:hover,
.cookie-btn-primary:focus-visible {
    background: #324863;
    color: #fff;
}

.cookie-policy-btn {
    border: 0;
    padding: .7rem .3rem;
    background: transparent;
    color: #1a324c;
    text-decoration: underline;
    text-underline-offset: .25rem;
}

.cookie-policy-btn:hover,
.cookie-policy-btn:focus-visible {
    color: #0d2238;
}

.privacy-policy-view {
    position: relative;
    height: 100%;
}

.cookie-panel .privacy-close {
    position: absolute;
    top: .75rem;
    right: .75rem;
    z-index: 2;
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(29, 32, 33, .08);
    color: #1d2021;
    cursor: pointer;
}

.cookie-panel .privacy-close:hover,
.cookie-panel .privacy-close:focus-visible {
    background: #1a324c;
    color: #fff;
}

.cookie-panel .privacy-close svg {
    width: 1rem;
    height: 1rem;
    stroke: currentColor;
    stroke-width: 2;
}

.cookie-panel .privacy-policy-scroll {
    max-height: min(80dvh, 48rem);
    overflow-y: auto;
    padding: 1.5rem 3.75rem 1.5rem 1.5rem;
    color: #1d2021;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    overscroll-behavior: contain;
}

.cookie-panel .privacy-policy-view h2 {
    margin-bottom: .25rem;
    color: #1d2021;
    font-size: clamp(1.35rem, 3vw, 2rem);
}

.cookie-panel .privacy-policy-view h3 {
    margin: 1.35rem 0 .35rem;
    color: #1d2021;
    font-size: .9rem;
    font-weight: 700;
}

.cookie-panel .privacy-policy-view p {
    margin: 0;
    color: #43474d;
    font-size: .78rem;
    line-height: 1.7;
}

.cookie-panel .privacy-policy-view a {
    color: #173d65;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: .2rem;
}

.cookie-panel .privacy-policy-view code {
    border: 1px solid rgba(29, 32, 33, .18);
    background: #edf1f5;
    color: #1d2021;
}

.cookie-panel .privacy-updated {
    opacity: .78;
}

@media (max-width: 1180px) {
    .main-nav {
        display: flex;
        position: fixed;
        z-index: 140;
        top: 0;
        right: 0;
        width: min(24rem, 88vw);
        height: 100dvh;
        padding: 1.25rem 2rem 2rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        overflow-y: auto;
        background: #0c0f10;
        border-left: 1px solid var(--line-strong);
        box-shadow: -30px 0 70px rgba(0, 0, 0, .45);
        transform: translateX(105%);
        visibility: hidden;
        transition: transform .25s var(--ease), visibility .25s;
    }

    .main-nav.is-open {
        transform: none;
        visibility: visible;
    }

    .mobile-nav-head {
        display: flex;
        min-height: 3.25rem;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        margin-bottom: 1.5rem;
        border-bottom: 1px solid var(--line);
    }

    .mobile-nav-label {
        display: block;
        margin: 0;
        color: var(--primary);
        font-size: .63rem;
        font-weight: 800;
        letter-spacing: .22em;
    }

    .mobile-menu-close {
        display: grid;
        width: 2.75rem;
        height: 2.75rem;
        place-items: center;
        border: 1px solid var(--line-strong);
        background: transparent;
        color: var(--primary);
        cursor: pointer;
    }

    .mobile-menu-close svg {
        width: 1.25rem;
        height: 1.25rem;
        stroke-width: 2;
    }

    .main-nav a,
    .main-nav .nav-privacy {
        display: flex;
        min-height: 3.25rem;
        align-items: center;
        padding: .9rem 0;
        border-bottom: 1px solid var(--line);
        font-size: .72rem;
        text-align: left;
    }

    .mobile-quick-contact {
        display: flex;
        gap: .75rem;
        margin-top: auto;
        padding-top: 2rem;
    }

    .mobile-quick-contact a {
        display: grid;
        width: 3.25rem;
        height: 3.25rem;
        padding: 0;
        place-items: center;
        border: 1px solid var(--line-strong);
        color: var(--primary);
    }

    .mobile-menu-overlay {
        position: fixed;
        inset: 0;
        z-index: 135;
        background: rgba(0, 0, 0, .68);
    }

    .mobile-menu-overlay.is-open {
        display: block;
    }

    .menu-toggle {
        position: relative;
        z-index: 145;
    }

    .mobile-contact-dock {
        position: fixed;
        top: 52%;
        right: .65rem;
        z-index: 110;
        display: grid;
        gap: .5rem;
        transform: translateY(-50%);
    }

    .mobile-contact-dock[aria-hidden="true"] {
        display: none;
    }

    .mobile-contact-dock a {
        display: grid;
        width: 3rem;
        height: 3rem;
        place-items: center;
        border: 1px solid rgba(177, 200, 233, .52);
        background: rgba(12, 15, 16, .96);
        color: #d5e4fa;
        box-shadow: 0 12px 32px rgba(0, 0, 0, .35);
    }

    .mobile-contact-dock svg {
        width: 1.3rem;
        height: 1.3rem;
    }
}

@media (max-width: 620px) {
    .header-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: .4rem;
    }

    .brand img {
        width: clamp(112px, 36vw, 138px);
    }

    .header-tools {
        gap: .35rem;
    }

    .language-select {
        width: 5.8rem;
        min-height: 2.75rem;
        padding: .45rem 1.2rem .45rem .45rem;
        font-size: .62rem;
    }

    .menu-toggle {
        width: 2.75rem;
        height: 2.75rem;
    }

    .mobile-contact-dock {
        right: .45rem;
    }

    .mobile-contact-dock a {
        width: 2.8rem;
        height: 2.8rem;
    }

    .cookie-panel.is-policy-open {
        left: .75rem;
        width: calc(100vw - 1.5rem);
        max-height: calc(100dvh - 1.5rem);
    }

    .cookie-panel .privacy-policy-scroll {
        max-height: calc(100dvh - 1.5rem);
        padding: 1.25rem 3.5rem 1.25rem 1.25rem;
    }
}

@media (max-width: 390px) {
    .brand img {
        width: 108px;
    }

    .language-select {
        width: 5.15rem;
        font-size: .58rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-panel,
    .main-nav,
    .menu-toggle i,
    .progress-track span,
    .reveal {
        transition: none !important;
        animation: none !important;
    }
}

@media print {
    .cookie-panel,
    .mobile-contact-dock,
    .mobile-menu-overlay,
    .menu-toggle {
        display: none !important;
    }
}

/* 3.3.0 audit corrections */
html,
body {
    overflow-x: clip;
}

@media (max-width: 1180px) {
    .main-nav {
        transition: transform .25s var(--ease), visibility 0s linear .25s;
    }

    .main-nav.is-open {
        transition-delay: 0s;
    }

    .mobile-menu-overlay {
        z-index: 115;
    }

    .menu-toggle.is-open {
        visibility: hidden;
        pointer-events: none;
    }

    body.menu-open .cookie-panel {
        visibility: hidden;
        pointer-events: none;
    }
}

.noscript-message {
    position: relative;
    z-index: 500;
    border-bottom: 1px solid #ffb59e;
    padding: 1rem;
    background: #48170f;
    color: #fff4f0;
    font-size: .85rem;
    font-weight: 600;
    text-align: center;
}

/* Contrast and target-size corrections verified against WCAG 2.2 AA. */
.feature-index,
.level-index,
.level-explainer-grid article > span {
    color: rgba(177, 200, 233, .78);
}

@media (min-width: 1181px) {
    .main-nav a,
    .main-nav .nav-privacy,
    .header-contact {
        display: inline-flex;
        min-height: 2.75rem;
        align-items: center;
    }
}

.footer-legal > a,
.footer-legal > .privacy-policy-link {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
}


/* 3.4.0 — transparent scope statement and built-in language layer. */
.scanner-limitations {
    border-top: 1px solid rgba(177, 200, 233, .14);
    padding-block: 1.25rem 1.6rem;
}

.scanner-limitations p {
    max-width: 110rem;
    margin: 0;
    color: #c4c6ce;
    font-size: .72rem;
    line-height: 1.75;
}

.scanner-limitations strong {
    color: #e1e3e4;
    font-weight: 700;
}

@media (max-width: 760px) {
    .scanner-limitations {
        padding-block: 1rem 5.5rem;
    }

    .scanner-limitations p {
        font-size: .7rem;
        line-height: 1.7;
    }
}
