

:root {
    --ground: #0e1424;
    --surface: #141c30;
    --surface-edge: #222e4a;
    --surface-elevated: #1a243d;
    --surface-highlight: #233152;
    --ink: #f1f4f9;
    --ink-muted: #909eb6;
    --ink-faint: #9eb0cc;
    --electric: #0df5e3;
    --electric-dim: rgba(13, 245, 227, 0.12);
    --electric-glow: rgba(13, 245, 227, 0.28);
    --safety-line: #ff5e5b;
    --safety-dim: rgba(255, 94, 91, 0.14);
    --concrete-wash: #1d263b;
    --concrete-rule: #293652;


    --fina-a41: 'Big Shoulders Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Impact, sans-serif;
    --fina-a93: 'Crimson Pro', Garamond, Georgia, 'Times New Roman', serif;
    --fina-54b: 'IBM Plex Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;


    --text-2xs: clamp(0.7rem, 0.68rem + 0.1vw, 0.75rem);
    --text-xs: clamp(0.78rem, 0.75rem + 0.15vw, 0.84rem);
    --text-sm: clamp(0.875rem, 0.84rem + 0.2vw, 0.95rem);
    --text-base: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
    --text-md: clamp(1.2rem, 1.12rem + 0.45vw, 1.4rem);
    --text-lg: clamp(1.38rem, 1.26rem + 0.7vw, 1.7rem);
    --text-xl: clamp(1.7rem, 1.45rem + 1.2vw, 2.25rem);
    --text-2xl: clamp(2.15rem, 1.8rem + 1.8vw, 3.1rem);
    --text-3xl: clamp(2.8rem, 2.2rem + 2.8vw, 4.4rem);
    --text-display: clamp(3.4rem, 2.6rem + 4.5vw, 6.8rem);
    --text-jumbo: clamp(4.2rem, 3.2rem + 6.5vw, 9.4rem);


    --space-3xs: clamp(0.25rem, 0.22rem + 0.15vw, 0.35rem);
    --space-2xs: clamp(0.5rem, 0.45rem + 0.25vw, 0.65rem);
    --space-xs: clamp(0.75rem, 0.7rem + 0.3vw, 0.9rem);
    --space-sm: clamp(1rem, 0.9rem + 0.5vw, 1.3rem);
    --space-md: clamp(1.5rem, 1.3rem + 0.9vw, 2.1rem);
    --space-lg: clamp(2.2rem, 1.8rem + 1.6vw, 3.2rem);
    --space-xl: clamp(3.2rem, 2.6rem + 2.6vw, 4.8rem);
    --space-2xl: clamp(4.5rem, 3.5rem + 4.2vw, 7.2rem);
    --space-3xl: clamp(6.5rem, 5rem + 6vw, 10.5rem);


    --container-max: 1380px;
    --container-wide: 1540px;
    --container-prose: 780px;
    --pad-inline: clamp(1.25rem, 0.9rem + 1.8vw, 3.25rem);


    --dur-quick: 140ms;
    --dur-normal: 200ms;
    --dur-deliberate: 360ms;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);


    --border-width: 1px;
    --border-heavy: 2px;
    --radius-none: 0px;
    --radius-sharp: 2px;


    --z-canvas: -1;
    --z-base: 1;
    --z-sticky: 100;
    --z-header: 500;
    --z-chat: 800;
    --z-consent: 900;
    --z-overlay: 1000;
}


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


html {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    scroll-behavior: smooth;
    background-color: var(--ground);
    color: var(--ink);
}


body {
    background-color: var(--ground);
    color: var(--ink);

    font-family: var(--fina-a93);
    font-size: var(--text-base);
    line-height: 1.68;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}


img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}


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

    color: inherit;
    background: none;
    border: none;
}


a {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color var(--dur-quick) var(--ease-out), text-decoration-color var(--dur-quick) var(--ease-out);
}


a:hover {
    color: var(--electric);
    text-decoration-color: var(--electric);
}


a:focus-visible {
    outline: 2px solid var(--electric);
    outline-offset: 3px;
}


h1, h2, h3, h4, h5, h6 {
    font-family: var(--fina-a41);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--ink);
    text-wrap: balance;
    word-break: break-word;
}


h1 {
    font-size: var(--text-display);
    font-weight: 900;
    letter-spacing: 0.01em;
}


h2 {
    font-size: var(--text-2xl);
    font-weight: 800;
}


h3 {
    font-size: var(--text-xl);
    font-weight: 800;
}


h4 {
    font-size: var(--text-lg);
    font-weight: 700;
}


p {
    margin-bottom: var(--space-sm);
    color: var(--ink);
}


p:last-child {
    margin-bottom: 0;
}


p.lead {
    font-size: var(--text-md);
    line-height: 1.55;
    color: var(--ink);
}


strong, b {
    font-weight: 600;

    color: var(--ink);
}


em, i {
    font-style: italic;
}


small {
    font-size: var(--text-sm);
    line-height: 1.4;
}


hr {
    border: none;
    height: var(--border-width);
    background-color: var(--surface-edge);
    margin-block: var(--space-lg);
}


ul, ol {
    padding-left: 1.4em;
    margin-bottom: var(--space-sm);
}


li {
    margin-bottom: var(--space-2xs);
}


li:last-child {
    margin-bottom: 0;
}


blockquote {
    border-left: 3px solid var(--electric);
    padding-left: var(--space-md);
    margin-block: var(--space-md);
    font-style: italic;
    font-size: var(--text-md);
    color: var(--ink);
}


code, kbd, samp, pre {
    font-family: var(--fina-54b);
    font-size: 0.9em;
}


.mono {
    font-family: var(--fina-54b);
    letter-spacing: 0.02em;
}


.mono-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--fina-54b);
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--electric);
    line-height: 1.2;
    white-space: nowrap;
}


.mono-tag::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--electric);
}


.mono-tag--safety {
    color: var(--safety-line);
}


.mono-tag--safety::before {
    background-color: var(--safety-line);
}


.mono-tag--muted {
    color: var(--ink-muted);
}


.mono-tag--muted::before {
    background-color: var(--ink-faint);
}


.stat-num {
    font-family: var(--fina-a41);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}


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


.container--wide {
    max-width: var(--container-wide);
}


.container--prose {
    max-width: var(--container-prose);
}


.measure-wide {
    max-width: 1100px;
}


.measure-prose {
    max-width: 780px;
}


.site-main {
    flex: 1 0 auto;
    position: relative;
    z-index: var(--z-base);
    width: 100%;
}


.generative-depth-canvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: var(--z-canvas);
    background-color: var(--ground);
}


.skip-link {
    position: absolute;
    top: -120px;
    left: var(--pad-inline);
    z-index: 9999;
    padding: 0.75rem 1.4rem;
    background-color: var(--electric);
    color: var(--ground);
    font-family: var(--fina-54b);
    font-weight: 600;
    font-size: var(--text-xs);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--electric);
    transition: top var(--dur-quick) var(--ease-out);
}


.skip-link:focus {
    top: 1rem;
    outline: 2px solid var(--ink);
    outline-offset: 2px;
}


.sr-only, .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;
}


.lezae0b {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-block: var(--space-md);
    border: var(--border-width) solid var(--surface-edge);
}


.lezae0b table {
    width: 100%;
}


@media (max-width: 820px) {
    .lezae0b > table,
    .lezae0b > table > thead,
    .lezae0b > table > tbody,
    .lezae0b > table > tfoot,
    .lezae0b > table tr,
    .lezae0b > table th,
    .lezae0b > table td {
        display: block !important;
        inline-size: auto !important;
        width: 100% !important;
        min-inline-size: 0 !important;
    }
    .lezae0b > table > thead {
        display: none !important;
    }
    .lezae0b > table tr {
        margin-bottom: 1rem !important;
        border-bottom: 2px solid var(--surface-edge) !important;
        padding-bottom: 0.5rem !important;
    }
    .lezae0b > table td {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.25rem !important;
        padding: 0.5rem 0.5rem !important;
        width: 100% !important;
    }
    .lezae0b > table td[data-label]::before {
        content: attr(data-label);
        font-size: var(--text-2xs);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--electric);
        opacity: 0.85;
    }
}


.lezae0b:focus-visible {
    outline: 2px solid var(--electric);
    outline-offset: 2px;
}


.hazard-strip {
    height: 4px;
    width: 100%;
    background: repeating-linear-gradient(
        -45deg,
        var(--safety-line),
        var(--safety-line) 8px,
        var(--ground) 8px,
        var(--ground) 16px
    );
}


.hazard-strip--electric {
    background: repeating-linear-gradient(
        -45deg,
        var(--electric),
        var(--electric) 8px,
        var(--surface) 8px,
        var(--surface) 16px
    );
}


@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}
