/* =====================================================
   Lokale Schriften – kein externer CDN, DSGVO-konform
   ===================================================== */
@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/ibmplexmono-0.woff2) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/ibmplexmono-1.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/ibmplexmono-2.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/ibmplexmono-3.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/ibmplexmono-4.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(fonts/ibmplexmono-5.woff2) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(fonts/ibmplexmono-6.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(fonts/ibmplexmono-7.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(fonts/ibmplexmono-8.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(fonts/ibmplexmono-9.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/spacegrotesk-0.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/spacegrotesk-1.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/spacegrotesk-2.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(fonts/spacegrotesk-0.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(fonts/spacegrotesk-1.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(fonts/spacegrotesk-2.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(fonts/spacegrotesk-0.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(fonts/spacegrotesk-1.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(fonts/spacegrotesk-2.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(fonts/spacegrotesk-0.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(fonts/spacegrotesk-1.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(fonts/spacegrotesk-2.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --bg: #f6fbfd;
    --bg-alt: #ebf4f8;
    --ink: #0e2a34;
    --ink-soft: #44616d;
    --brand: #008db8;
    --brand-strong: #00729a;
    --line: #c7dfe7;
    --surface: #ffffff;
    --surface-strong: #f0f8fb;
    --accent: #13b6d8;
    --shadow: 0 24px 44px rgba(9, 36, 47, 0.12);
    --shell-max: 1120px;
    --h1-max: 4rem;
    --h2-max: 2.7rem;
    --h3-max: 1.3rem;
    --lead-max: 1.16rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 5%, rgba(19, 182, 216, 0.14), transparent 24%),
        radial-gradient(circle at 90% 8%, rgba(0, 141, 184, 0.13), transparent 22%),
        linear-gradient(180deg, var(--bg) 0%, #f9fcfe 40%, var(--bg-alt) 100%);
    line-height: 1.55;
    min-height: 100dvh;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

.shell {
    width: min(var(--shell-max), calc(100% - 40px));
    margin: 0 auto;
}

.section {
    padding: clamp(52px, 8vw, 96px) 0;
}

.eyebrow {
    margin: 0 0 12px;
    font-family: "IBM Plex Mono", "Consolas", monospace;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-strong);
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.15;
}

h1 {
    font-size: clamp(2rem, 5.6vw, var(--h1-max));
    max-width: 16ch;
}

h2 {
    font-size: clamp(1.6rem, 3.4vw, var(--h2-max));
    max-width: 20ch;
}

h3 {
    font-size: clamp(1.05rem, 2vw, var(--h3-max));
}

p {
    margin: 0;
    color: var(--ink-soft);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 40;
    border-bottom: 1px solid rgba(11, 55, 70, 0.08);
    background: rgba(246, 251, 253, 0.9);
    backdrop-filter: blur(12px);
}

main {
    padding-top: 86px;
}

section[id] {
    scroll-margin-top: 102px;
}

.nav-shell {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-logo {
    width: clamp(92px, 11vw, 132px);
    height: auto;
}

.brand-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-text strong {
    color: var(--ink);
    font-size: clamp(1rem, 1.6vw, 1.28rem);
}

.brand-text span {
    color: var(--brand-strong);
    font-family: "IBM Plex Mono", "Consolas", monospace;
    font-size: clamp(0.62rem, 0.92vw, 0.72rem);
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.site-nav-dropdown {
    position: relative;
}

.site-nav-dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 12px;
}

.site-nav a {
    text-decoration: none;
    color: var(--ink);
    font-family: "IBM Plex Mono", "Consolas", monospace;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.75rem;
    padding: 8px 10px;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover {
    background: #dff2f8;
    color: var(--brand-strong);
}

.site-nav-trigger {
    display: inline-flex;
    align-items: center;
}

.site-nav-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    max-width: calc(100vw - 24px);
    padding: 8px;
    border: 1px solid rgba(184, 216, 229, 0.9);
    border-radius: 16px;
    background: rgba(248, 252, 254, 0.98);
    box-shadow: 0 18px 34px rgba(9, 36, 47, 0.12);
    display: grid;
    gap: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(0.98);
    transform-origin: top left;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    pointer-events: none;
    z-index: 5;
}

.site-nav-menu a {
    border-radius: 12px;
    padding: 10px 12px;
    background: transparent;
    white-space: nowrap;
}

.site-nav-dropdown:hover .site-nav-menu,
.site-nav-dropdown:focus-within .site-nav-menu,
.site-nav-dropdown.is-open .site-nav-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.hero {
    padding-top: clamp(64px, 10vw, 112px);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(22px, 4.2vw, 62px);
    align-items: center;
}

.lead {
    margin-top: 18px;
    max-width: 58ch;
    font-size: clamp(1rem, 1.5vw, var(--lead-max));
}

@supports (padding: max(0px)) {
    body {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
    }

    .scroll-top {
        right: max(clamp(14px, 2.2vw, 24px), env(safe-area-inset-right));
        bottom: max(clamp(16px, 2.4vw, 28px), env(safe-area-inset-bottom));
    }
}

@media (min-width: 1600px) {
    :root {
        --shell-max: 1320px;
        --h1-max: 4.4rem;
        --h2-max: 2.95rem;
        --h3-max: 1.4rem;
        --lead-max: 1.22rem;
    }

    .hero-grid,
    .system-grid {
        gap: clamp(30px, 3vw, 72px);
    }
}

@media (min-width: 2200px) {
    :root {
        --shell-max: 1520px;
        --h1-max: 4.9rem;
        --h2-max: 3.2rem;
        --h3-max: 1.5rem;
        --lead-max: 1.28rem;
    }
}

@media (min-width: 3200px) {
    :root {
        --shell-max: 1860px;
        --h1-max: 5.35rem;
        --h2-max: 3.55rem;
        --h3-max: 1.64rem;
        --lead-max: 1.36rem;
    }
}

@media (min-width: 6000px) {
    :root {
        --shell-max: 2480px;
        --h1-max: 6rem;
        --h2-max: 4rem;
        --h3-max: 1.85rem;
        --lead-max: 1.48rem;
    }
}

@media (min-width: 7600px) {
    :root {
        --shell-max: 2800px;
        --h1-max: 6.4rem;
        --h2-max: 4.35rem;
        --h3-max: 2rem;
        --lead-max: 1.58rem;
    }
}

.hero-actions {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button.primary {
    background: linear-gradient(135deg, var(--brand), var(--accent));
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(0, 141, 184, 0.22);
}

.button.ghost {
    color: var(--brand-strong);
    background: #e4f5fb;
    border: 1px solid #b8d8e5;
}

.hero-metrics {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.hero-metrics li {
    padding: 0;
}

.hero-metric-link {
    height: 100%;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 12px;
    padding: 12px;
    display: grid;
    gap: 4px;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.topic-link {
    height: 100%;
    display: grid;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}

.topic-link:focus-visible {
    outline: 3px solid #8cd9ef;
    outline-offset: 3px;
    border-radius: 10px;
}

.metric-hint {
    margin-top: 6px;
    justify-self: start;
    font-style: normal;
    font-family: "IBM Plex Mono", "Consolas", monospace;
    font-size: 0.64rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-strong);
    border: 1px dashed #9ecbdb;
    border-radius: 999px;
    padding: 2px 8px;
    background: #eef8fc;
}

.hero-metric-link:focus-visible {
    outline: 3px solid #8cd9ef;
    outline-offset: 2px;
}

.hero-metrics li {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 12px;
    display: grid;
    gap: 0;
}

.hero-metrics strong {
    font-size: 1.1rem;
    color: var(--ink);
}

.hero-metrics span {
    color: var(--ink-soft);
    font-size: 0.86rem;
}

.hero-visual {
    position: relative;
}

.hero-visual img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 26px;
    border: 1px solid #c5deea;
    box-shadow: var(--shadow);
}

.hero-badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid #b8d8e5;
    border-radius: 999px;
    padding: 8px 14px;
    font-family: "IBM Plex Mono", "Consolas", monospace;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-strong);
}

.section-intro {
    margin-top: 14px;
    max-width: 70ch;
}

.problem-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
    display: grid;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(9, 36, 47, 0.08);
}

.system-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: clamp(20px, 4vw, 46px);
    align-items: start;
}

.system-actions {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.steps {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.steps li {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px;
}

.steps li .topic-link {
    gap: 7px;
}

.steps p {
    margin-top: 7px;
}

.system-visual img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 24px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.services {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(234, 246, 251, 0.6));
}

.service-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.service-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
}

.service-card .topic-link {
    gap: 10px;
}

.service-card p {
    margin-top: 10px;
}

.service-card ul {
    margin: 14px 0 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
    color: var(--ink-soft);
}

.about-shell {
    display: grid;
    gap: 16px;
}

.about-stage {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(18px, 3.4vw, 36px);
    align-items: start;
}

.about-stage-media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 24px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.about-stage-logo {
    margin-top: 12px;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    padding: 12px;
    background: #ffffff;
}

.about-stage-copy {
    display: grid;
    gap: 10px;
}

.about-grid-blocks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.about-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px;
    display: grid;
    gap: 10px;
}

.about-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
    color: var(--ink-soft);
}

.about-quote {
    margin: 0;
    padding: 12px 16px;
    border-left: 3px solid var(--brand);
    background: #e8f6fb;
    border-radius: 0 10px 10px 0;
    color: var(--ink);
    font-style: italic;
}

.about-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.about-pillar {
    background: #edf7fb;
    border: 1px solid #c2dde8;
    border-radius: 12px;
    padding: 14px 12px;
    display: grid;
    gap: 6px;
}

.about-pillar h4 {
    margin: 0;
    font-size: 0.95rem;
    color: var(--ink);
    line-height: 1.2;
}

.about-team {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.about-member {
    background: #edf7fb;
    border: 1px solid #c2dde8;
    border-radius: 12px;
    padding: 14px 12px;
    display: grid;
    gap: 4px;
}

.about-member .topic-link {
    gap: 6px;
}

.about-member .metric-hint {
    margin-top: 8px;
}

.about-member strong {
    color: var(--ink);
    font-size: 0.96rem;
}

.about-member span {
    color: var(--brand-strong);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.testimonials {
    background: linear-gradient(180deg, rgba(234, 246, 251, 0.48), rgba(255, 255, 255, 0.65));
}

.testimonial-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.quote-card {
    border: 1px solid var(--line);
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    display: grid;
    gap: 12px;
}

.quote-card span {
    color: var(--brand-strong);
    font-family: "IBM Plex Mono", "Consolas", monospace;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.faq-list {
    margin-top: 24px;
    display: grid;
    gap: 10px;
}

.faq-list details {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 16px;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--ink);
}

.faq-list p {
    margin-top: 10px;
}

.cta {
    background: linear-gradient(135deg, #0f3644, #184f64);
}

.cta h2,
.cta p,
.cta .eyebrow,
.cta .cta-note {
    color: #e9faff;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(18px, 4vw, 42px);
    align-items: center;
}

.cta-actions {
    display: grid;
    gap: 10px;
}

.cta .button.ghost {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.pricing-section {
    background: linear-gradient(180deg, #f7fbfd 0%, #eef7fb 100%);
}

.pricing-shell {
    display: grid;
    gap: 18px;
}

.pricing-table-wrap {
    overflow-x: auto;
}

.pricing-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid #c7dfe7;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 14px 28px rgba(9, 36, 47, 0.06);
}

.pricing-table th,
.pricing-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #d6e8ef;
    text-align: left;
    vertical-align: top;
    font-size: 0.95rem;
}

.pricing-table thead th {
    background: #eaf5f9;
    color: var(--ink);
    font-weight: 700;
}

.pricing-table tbody th {
    width: 28%;
    color: var(--ink);
    font-weight: 700;
    background: #f7fbfd;
}

.pricing-table td {
    color: var(--ink-soft);
}

.pricing-table tbody tr {
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    transform-origin: center center;
}

.pricing-table tbody tr:hover {
    transform: scale(1.01);
}

.pricing-table tbody tr:hover th,
.pricing-table tbody tr:hover td {
    background: #f0f8fb;
    box-shadow: inset 0 0 0 1px rgba(122, 179, 200, 0.16);
}

.pricing-table tr:last-child th,
.pricing-table tr:last-child td {
    border-bottom: none;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(10px, 2vw, 28px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
    z-index: 80;
}

.modal-overlay:target {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 22, 31, 0.6);
    backdrop-filter: blur(6px);
}

.modal-card {
    position: relative;
    width: min(1080px, 96vw);
    max-height: min(92vh, 1000px);
    overflow: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    border-radius: 20px;
    border: 1px solid #b9d8e4;
    background: linear-gradient(180deg, #f9fdff, #edf8fc);
    box-shadow: 0 28px 54px rgba(6, 29, 39, 0.24);
    padding: clamp(18px, 3.2vw, 38px);
    z-index: 1;
    display: grid;
    gap: 14px;
}

.modal-logo {
    width: clamp(92px, 14vw, 136px);
    height: auto;
}

.modal-eyebrow {
    margin: 2px 0 0;
    font-family: "IBM Plex Mono", "Consolas", monospace;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-strong);
}

.modal-card h2 {
    font-size: clamp(1.3rem, 2.8vw, 2.1rem);
    max-width: none;
}

.modal-card h3 {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: var(--ink);
    margin-top: 6px;
    max-width: none;
}

.modal-card p {
    color: var(--ink-soft);
}

.modal-card a {
    color: var(--brand-strong);
}

.modal-list {
    margin: 6px 0 0;
    padding-left: 20px;
    display: grid;
    gap: 5px;
    color: var(--ink-soft);
    font-size: clamp(0.9rem, 1.2vw, 1rem);
}

.modal-hint {
    font-size: 0.88rem;
    color: var(--ink-soft);
    font-style: italic;
}

.modal-crosslink {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid #b8d8e5;
    background: #e4f5fb;
    color: var(--brand-strong);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: background 0.18s ease, transform 0.18s ease;
}

.modal-crosslink:hover {
    background: #cdedf8;
    transform: translateY(-1px);
}

.modal-close {
    justify-self: start;
    text-decoration: none;
    color: var(--brand-strong);
    border: 1px solid #b8d8e5;
    background: #e6f4f9;
    border-radius: 999px;
    padding: 8px 14px;
    font-family: "IBM Plex Mono", "Consolas", monospace;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.metric-modal {
    width: min(760px, 96vw);
    max-height: min(88vh, 900px);
}

.member-modal {
    width: min(920px, 96vw);
}

.member-modal-grid {
    display: grid;
    grid-template-columns: minmax(130px, 180px) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.member-photo {
    width: min(100%, 170px);
    max-width: 170px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid #bfd9e5;
    box-shadow: 0 12px 22px rgba(9, 36, 47, 0.12);
    justify-self: start;
}

.member-table-wrap {
    overflow-x: auto;
}

.member-data-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid #c7dfe7;
    border-radius: 12px;
    overflow: hidden;
}

.member-data-table th,
.member-data-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #d6e8ef;
    text-align: left;
    vertical-align: top;
    font-size: 0.92rem;
}

.member-data-table th {
    width: 34%;
    color: var(--ink);
    font-weight: 700;
    background: #f1f8fb;
}

.member-data-table td {
    color: var(--ink-soft);
}

.member-data-table tr:last-child th,
.member-data-table tr:last-child td {
    border-bottom: none;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #f3f9fc;
}

.footer-shell {
    min-height: 88px;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 14px 0;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand img {
    width: 88px;
    height: auto;
}

.footer-brand p {
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-links a {
    text-decoration: none;
    color: var(--brand-strong);
    font-family: "IBM Plex Mono", "Consolas", monospace;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.scroll-top {
    position: fixed;
    right: clamp(14px, 2.2vw, 24px);
    bottom: clamp(16px, 2.4vw, 28px);
    width: 46px;
    height: 46px;
    border: 1px solid #a8cfdd;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 22px rgba(0, 141, 184, 0.24);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 50;
}

.scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-2px);
}

.scroll-top:focus-visible {
    outline: 3px solid #8cd9ef;
    outline-offset: 2px;
}

.panel,
.steps li,
.service-card,
.about-card,
.about-pillar,
.about-member,
.quote-card,
.faq-list details,
.hero-metric-link {
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

@media (hover: hover) {

    .panel:hover,
    .steps li:hover,
    .service-card:hover,
    .about-card:hover,
    .about-pillar:hover,
    .about-member:hover,
    .quote-card:hover,
    .faq-list details:hover,
    .hero-metric-link:hover {
        transform: translateY(-3px);
        border-color: #9fc8d8;
        box-shadow: 0 14px 24px rgba(9, 36, 47, 0.12);
    }

    .panel:focus-within,
    .steps li:focus-within,
    .service-card:focus-within,
    .about-card:focus-within,
    .about-pillar:focus-within,
    .about-member:focus-within,
    .quote-card:focus-within,
    .faq-list details:focus-within,
    .hero-metric-link:focus-visible {
        transform: translateY(-2px);
        border-color: #9fc8d8;
    }
}

@media (max-width: 1100px) {

    .hero-grid,
    .system-grid,
    .about-stage,
    .cta-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual img,
    .system-visual img,
    .about-stage-media img {
        aspect-ratio: 16 / 10;
    }

    .service-grid,
    .problem-grid,
    .testimonial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 840px) {
    .shell {
        width: min(1120px, calc(100% - 26px));
    }

    main {
        padding-top: 148px;
    }

    section[id] {
        scroll-margin-top: 162px;
    }

    .nav-shell {
        min-height: auto;
        padding: 10px 0;
        flex-direction: column;
        align-items: stretch;
    }

    .brand {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 8px;
    }

    .brand-text {
        align-items: center;
    }

    .site-nav {
        justify-content: center;
    }

    .site-nav-dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .site-nav-menu {
        left: 50%;
        min-width: 0;
        width: min(260px, calc(100vw - 24px));
        max-width: calc(100vw - 24px);
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateX(-50%) translateY(8px) scale(0.98);
        pointer-events: none;
        box-shadow: 0 18px 34px rgba(9, 36, 47, 0.12);
        background: rgba(248, 252, 254, 0.98);
    }

    .site-nav-dropdown:hover .site-nav-menu,
    .site-nav-dropdown:focus-within .site-nav-menu,
    .site-nav-dropdown.is-open .site-nav-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0) scale(1);
        pointer-events: auto;
    }

    .site-nav-menu a {
        font-size: 0.66rem;
        line-height: 1.2;
        white-space: normal;
        text-align: center;
        width: 100%;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .about-grid-blocks,
    .about-pillars,
    .about-team,
    .service-grid,
    .problem-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .about-stage {
        grid-template-columns: 1fr;
    }

    .member-modal-grid {
        grid-template-columns: 1fr;
    }

    .member-photo {
        width: min(100%, 280px);
        max-width: 280px;
        aspect-ratio: 4 / 5;
        justify-self: center;
    }

    .member-data-table th,
    .member-data-table td {
        font-size: 0.88rem;
    }

    .modal-overlay {
        align-items: flex-start;
        padding: 8px;
    }

    .modal-card {
        width: min(100%, 860px);
        max-height: calc(100dvh - 16px);
        margin-top: 0;
        border-radius: 16px;
        padding: 18px;
        gap: 12px;
    }

    .metric-modal,
    .member-modal {
        width: 100%;
        max-width: none;
    }

    .modal-card h2 {
        font-size: clamp(1.15rem, 4.2vw, 1.55rem);
    }

    .modal-card h3 {
        font-size: clamp(0.95rem, 2.8vw, 1.08rem);
    }

    .modal-list {
        gap: 6px;
    }

    .member-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .pricing-table-wrap {
        overflow: visible;
    }

    .pricing-table {
        min-width: 0;
        border: none;
        background: transparent;
        box-shadow: none;
    }

    .pricing-table thead {
        display: none;
    }

    .pricing-table,
    .pricing-table tbody,
    .pricing-table tr,
    .pricing-table th,
    .pricing-table td {
        display: block;
        width: 100%;
    }

    .pricing-table tbody {
        display: grid;
        gap: 14px;
    }

    .pricing-table tr {
        border: 1px solid #bfd9e5;
        border-radius: 18px;
        overflow: hidden;
        background: #ffffff;
        box-shadow: 0 12px 24px rgba(9, 36, 47, 0.08);
        padding: 0;
        transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }

    .pricing-table tbody tr:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 28px rgba(9, 36, 47, 0.12);
        border-color: #9fc8d8;
    }

    .pricing-table th,
    .pricing-table td {
        border-bottom: 1px solid #d6e8ef;
        padding: 12px 14px;
    }

    .pricing-table th {
        background: #f0f8fb;
        width: 100%;
    }

    .pricing-table td:last-child {
        border-bottom: none;
    }
}

@media (max-width: 700px) {
    .brand-logo {
        display: block;
    }

    .brand-text {
        display: flex;
        align-items: center;
    }

    .brand-text strong {
        display: none;
    }

    .brand-text span {
        font-size: 0.68rem;
        letter-spacing: 0.05em;
    }
}

@media (max-width: 560px) {
    .section {
        padding: 46px 0;
    }

    main {
        padding-top: 156px;
    }

    section[id] {
        scroll-margin-top: 170px;
    }

    .site-nav a {
        font-size: 0.68rem;
        padding: 8px 9px;
    }

    .site-nav-menu {
        min-width: 0;
        width: min(240px, calc(100vw - 20px));
        max-width: calc(100vw - 20px);
        top: calc(100% + 6px);
    }

    .site-nav-menu a {
        font-size: 0.64rem;
        padding: 9px 10px;
    }

    .modal-overlay {
        padding: 6px;
    }

    .modal-card {
        max-height: calc(100dvh - 12px);
        padding: 14px;
        gap: 10px;
        border-radius: 13px;
    }

    .modal-card h2 {
        font-size: clamp(1.05rem, 5.4vw, 1.34rem);
    }

    .modal-card h3 {
        font-size: clamp(0.9rem, 4.1vw, 1rem);
    }

    .modal-list {
        padding-left: 18px;
        font-size: 0.89rem;
        line-height: 1.4;
    }

    .modal-close {
        padding: 7px 11px;
        font-size: 0.67rem;
    }

    .modal-crosslink {
        width: 100%;
        justify-content: center;
    }

    .button {
        width: 100%;
    }

    .hero-badge {
        left: 10px;
        right: 10px;
        text-align: center;
    }

    .footer-shell {
        justify-content: center;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
    }

    .scroll-top {
        width: 42px;
        height: 42px;
        font-size: 1.12rem;
    }

}