:root {
    color-scheme: light;
    --background: #f5f7fb;
    --paper: #fff;
    --ink: #171c2d;
    --muted: #505b72;
    --line: #d8deea;
    --accent: #294fdb;
    --accent-hover: #1638b4;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--background); min-height: 100svh; display: flex; flex-direction: column; }
a { color: var(--accent-hover); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
button, a { touch-action: manipulation; }
:focus-visible { outline: 3px solid #375ee9; outline-offset: 4px; }
.wrap { width: min(70rem, calc(100% - 5rem)); margin-inline: auto; }
.page-header { display: flex; justify-content: space-between; align-items: center; min-height: 6.25rem; gap: 1.25rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; padding-block: 0.65rem; }
.brand img { display: block; width: clamp(8rem, 25vw, 13.25rem); height: auto; }
.page-header nav { justify-content: flex-end; font-weight: 650; }
.skip-link { position: absolute; z-index: 4; top: 0.5rem; left: 0.5rem; padding: 0.75rem; background: white; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
main { flex: 1; }

.hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(16rem, 0.75fr); gap: clamp(2rem, 7vw, 7rem); align-items: start; position: relative; isolation: isolate; padding: clamp(4rem, 8vw, 7.5rem) 0; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0 0 0 10%; pointer-events: none; background: radial-gradient(ellipse at 72% 43%, #e1e9ff 0%, transparent 64%); }
.hero-main { min-width: 0; }
.eyebrow { color: var(--muted); font-weight: 650; margin: 0 0 1.15rem; }
h1, h2, p { overflow-wrap: anywhere; }
h1 { line-height: 0.97; letter-spacing: -0.065em; margin: 0 0 1.65rem; font-size: clamp(3.45rem, 9.2vw, 7.65rem); font-weight: 780; }
.hero h1 { font-size: clamp(3.2rem, 7.1vw, 6rem); }
h1 span { color: var(--accent); }
.intro { max-width: 34rem; color: var(--muted); font-size: clamp(1.125rem, 2vw, 1.4rem); line-height: 1.55; margin: 0; }
.services { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; list-style: none; padding: 0; margin: 2.1rem 0 0; color: var(--ink); font-size: 0.95rem; font-weight: 650; }
.contact-panel { background: var(--paper); border: 1px solid var(--line); border-radius: 1.35rem; padding: clamp(1.4rem, 3.2vw, 2rem); box-shadow: 0 1rem 3rem rgba(33, 61, 132, 0.08); scroll-margin-top: 1rem; }
.contact-panel h2, .cookie-banner h2 { margin: 0 0 0.55rem; font-size: 1.35rem; line-height: 1.18; }
.contact-panel p, .cookie-banner p { color: var(--muted); line-height: 1.55; margin: 0 0 1.15rem; }
.phone { display: block; width: fit-content; margin-top: 1rem; font-weight: 650; }
.button { appearance: none; display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; border-radius: 0.65rem; border: 1px solid transparent; padding: 0.65rem 1rem; text-decoration: none; font: inherit; line-height: 1.2; font-weight: 650; cursor: pointer; text-align: center; }
.button-accent { background: var(--accent); color: white; }
.button-accent:hover { background: var(--accent-hover); }
.button-neutral { background: var(--paper); border-color: #a5b0c8; color: var(--ink); }
.button-neutral:hover { background: #edf1ff; border-color: var(--accent); }

.document { max-width: 49rem; margin-block: clamp(2.5rem, 8vw, 5.5rem); line-height: 1.65; }
.document h1 { font-size: clamp(2.25rem, 6.25vw, 4.5rem); letter-spacing: -0.05em; line-height: 1.02; }
.document h2 { font-size: 1.32rem; line-height: 1.2; margin-top: 2rem; }
.document p { color: var(--muted); }
.contact-address { font-style: normal; }
.document code { font-size: 0.95em; overflow-wrap: anywhere; }
.page-footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 0.75rem 1.5rem; flex-wrap: wrap; padding-block: 1.35rem 1.8rem; color: var(--muted); font-size: 0.9rem; }
.page-header nav, .page-footer nav, .cookie-banner nav { display: flex; gap: 0.6rem 1.15rem; flex-wrap: wrap; }
.cookie-banner { margin: 0 1.5rem 1.5rem; align-self: center; width: min(calc(100% - 3rem), 70rem); background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 1.1rem; padding: 1.25rem; }
.cookie-banner nav { margin-top: 0.8rem; font-size: 0.9rem; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.consent-actions .button { flex: 1 1 11.25rem; }
.cookie-banner .consent-actions { max-width: 34rem; }

@media (min-width: 48rem) and (min-height: 40rem) {
    body:has(.cookie-banner) { padding-bottom: 10rem; }
    .cookie-banner {
        position: fixed;
        right: 1.5rem;
        bottom: 1.5rem;
        z-index: 1;
        width: min(calc(100% - 3rem), 32rem);
        margin: 0;
        box-shadow: 0 1rem 3rem rgba(33, 61, 132, 0.13);
    }
}
@media (max-width: 47rem) {
    .wrap { width: calc(100% - 2.5rem); }
    .page-header { min-height: 4.5rem; }
    .hero { grid-template-columns: 1fr; gap: 2rem; padding: 3.5rem 0; }
    .hero::before { inset: 0; }
    .contact-panel { width: min(100%, 24rem); }
}
@media (max-width: 24rem) {
    h1 { font-size: 2.95rem; }
    .hero h1 { font-size: 2.65rem; }
    .wrap { width: calc(100% - 2rem); }
    .button { width: 100%; }
}
