:root {
    --ink: #0b0d0c;
    --ink-soft: #151917;
    --paper: #f3f0e8;
    --paper-strong: #fffdf7;
    --muted: #656a65;
    --line: rgba(11, 13, 12, 0.16);
    --line-dark: rgba(255, 255, 255, 0.17);
    --signal: #c8ff52;
    --max: 1120px;
    --gutter: clamp(20px, 4vw, 60px);
    --header-height: 76px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
}

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

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    background: var(--signal);
    color: var(--ink);
    font-weight: 800;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 180ms ease;
}

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

.shell {
    width: min(calc(100% - (2 * var(--gutter))), var(--max));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    height: var(--header-height);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--ink);
    color: var(--paper-strong);
    transition: background-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
    background: rgba(11, 13, 12, 0.94);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(14px);
}

.site-nav {
    display: flex;
    width: min(calc(100% - (2 * var(--gutter))), var(--max));
    height: 100%;
    align-items: center;
    justify-content: space-between;
    margin-inline: auto;
}

.site-mark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
    font-weight: 850;
    line-height: 1.05;
    text-decoration: none;
    text-transform: uppercase;
}

.mark-symbol {
    position: relative;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
}

.mark-symbol::before,
.mark-symbol::after {
    position: absolute;
    border-radius: 50%;
    content: "";
}

.mark-symbol::before {
    top: 7px;
    left: 7px;
    width: 8px;
    height: 8px;
    background: var(--signal);
}

.mark-symbol::after {
    right: 6px;
    bottom: 6px;
    width: 8px;
    height: 8px;
    border: 1px solid var(--paper-strong);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(17px, 2.5vw, 32px);
}

.nav-links a {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: var(--signal);
}

.nav-links .nav-contact {
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 999px;
    color: var(--paper-strong);
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(86px, 13vw, 160px);
    background: var(--ink);
    color: var(--paper-strong);
}

.page-hero::before {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: clamp(44px, 6vw, 76px) clamp(44px, 6vw, 76px);
    content: "";
    mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
}

.page-hero::after {
    position: absolute;
    width: min(50vw, 620px);
    aspect-ratio: 1;
    border: 1px solid rgba(200, 255, 82, 0.22);
    border-radius: 50%;
    content: "";
    right: -20vw;
    top: -25vw;
    box-shadow: 0 0 0 12vw rgba(200, 255, 82, 0.025);
}

.page-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.42fr 1fr;
    gap: clamp(38px, 8vw, 120px);
    align-items: end;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 28px;
    height: 2px;
    background: currentColor;
    content: "";
}

.page-hero h1 {
    max-width: 850px;
    margin-bottom: 24px;
    font-size: clamp(3.7rem, 9vw, 8.4rem);
    font-weight: 900;
    letter-spacing: -0.08em;
    line-height: 0.88;
}

.page-hero .lead {
    max-width: 710px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    line-height: 1.65;
}

.page-content {
    padding-block: clamp(82px, 11vw, 140px);
    background: var(--paper-strong);
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
    gap: clamp(44px, 9vw, 130px);
}

.section-index {
    position: sticky;
    top: calc(var(--header-height) + 32px);
    height: fit-content;
    color: var(--muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.prose {
    max-width: 760px;
}

.prose > p:first-child {
    color: #343834;
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
    font-weight: 620;
    line-height: 1.5;
}

.content-section {
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}

.content-section:first-of-type {
    margin-top: 52px;
}

.content-section h2 {
    margin-bottom: 20px;
    font-size: clamp(1.75rem, 3vw, 2.6rem);
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.content-section h3 {
    margin: 30px 0 10px;
    font-size: 1rem;
}

.content-section p,
.content-section li {
    color: #4b504b;
}

.content-section a {
    font-weight: 750;
    text-underline-offset: 3px;
}

.content-section ul {
    padding-left: 1.2rem;
}

.content-section li + li {
    margin-top: 10px;
}

.founder-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 28px;
}

.founder-mark {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at 36% 30%, rgba(205, 255, 77, 0.34), transparent 24%),
        var(--ink);
    color: var(--signal);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.84rem;
    letter-spacing: 0.08em;
}

.founder-row p {
    margin: 0;
}

.founder-row strong {
    display: block;
    color: var(--ink);
}

.fact-list {
    margin-top: 24px;
    border-top: 1px solid var(--line);
}

.fact-row {
    display: grid;
    grid-template-columns: minmax(130px, 0.34fr) 1fr;
    gap: 22px;
    padding-block: 17px;
    border-bottom: 1px solid var(--line);
}

.fact-row span:first-child {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.fact-row span:last-child {
    font-size: 0.9rem;
    font-weight: 680;
}

.policy-meta {
    margin-top: 30px;
    color: var(--muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.site-footer {
    padding-block: 52px 28px;
    background: var(--ink);
    color: var(--paper-strong);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: clamp(38px, 8vw, 100px);
    padding-bottom: 44px;
}

.footer-name {
    max-width: 320px;
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    font-weight: 880;
    letter-spacing: -0.045em;
    line-height: 1;
    text-transform: uppercase;
}

.footer-group h2 {
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-group a {
    display: block;
    width: fit-content;
    margin-bottom: 9px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.8rem;
    text-decoration: none;
}

.footer-group a:hover {
    color: var(--signal);
}

.footer-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line-dark);
    color: rgba(255, 255, 255, 0.43);
    font-size: 0.72rem;
    line-height: 1.6;
}

.footer-bottom p {
    max-width: 610px;
    margin-bottom: 0;
}

@media (max-width: 780px) {
    :root {
        --header-height: 68px;
    }

    .site-mark span:last-child {
        display: none;
    }

    .nav-links a:nth-child(2) {
        display: none;
    }

    .page-hero-inner,
    .content-layout {
        grid-template-columns: 1fr;
    }

    .page-hero h1 {
        font-size: clamp(3.5rem, 17vw, 6rem);
    }

    .section-index {
        position: static;
    }

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

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

    .footer-bottom {
        display: block;
    }

    .footer-bottom p + p {
        margin-top: 16px;
    }
}

@media (max-width: 430px) {
    .nav-links {
        gap: 13px;
    }

    .nav-links a:first-child {
        display: none;
    }

    .nav-links .nav-contact {
        padding: 7px 11px;
    }

    .fact-row {
        grid-template-columns: 108px 1fr;
    }

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

    .footer-name {
        grid-column: auto;
    }
}

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

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
