:root {
    color-scheme: light;
    --ink: #0b0b0b;
    --paper: #ffffff;
    --paper-soft: #f5f5f2;
    --muted: #575750;
    --gold: #f0bd41;
    --focus: #1c6cff;
    font-family:
        "Avenir Next", "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--paper);
    color: var(--ink);
}

a {
    color: inherit;
}

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

.skip-link {
    position: absolute;
    top: 0;
    left: 16px;
    z-index: 20;
    transform: translateY(-130%);
    padding: 10px 12px;
    border: 2px solid var(--ink);
    background: var(--paper);
    color: var(--ink);
    font-weight: 900;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 78px;
    padding: 16px clamp(18px, 4vw, 56px);
    border-bottom: 2px solid var(--ink);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 950;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 2px solid var(--ink);
    background: var(--paper);
    box-shadow: 4px 4px 0 var(--ink);
    font-size: 24px;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.site-nav a,
.button,
.pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 850;
    line-height: 1;
}

.site-nav a:hover,
.button-secondary:hover {
    background: var(--ink);
    color: var(--paper);
}

.site-nav a {
    min-height: 30px;
    padding: 0 10px;
    border-width: 1.5px;
    font-size: 0.74rem;
    font-weight: 760;
}

.section,
.hero {
    padding: clamp(48px, 7vw, 96px) clamp(18px, 4vw, 56px);
    border-bottom: 2px solid var(--ink);
}

.section-grid,
.hero {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
}

.hero {
    min-height: clamp(620px, calc(100vh - 78px), 780px);
    align-items: center;
}

.hero-copy,
.section-copy,
.manual-card,
.deploy-step,
.note-panel {
    display: grid;
    gap: 18px;
}

.kicker,
.eyebrow {
    margin: 0;
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.kicker {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.kicker::before {
    content: "";
    width: 44px;
    height: 10px;
    border: 2px solid var(--ink);
    background: var(--gold);
    box-shadow: 3px 3px 0 var(--ink);
}

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

h1 {
    max-width: 10ch;
    font-size: clamp(4rem, 10vw, 10.5rem);
    line-height: 0.82;
    letter-spacing: -0.05em;
    font-weight: 950;
    text-wrap: balance;
}

h2 {
    max-width: 15ch;
    font-size: clamp(2.35rem, 4.5vw, 4.8rem);
    line-height: 0.95;
    letter-spacing: -0.035em;
    font-weight: 850;
    text-wrap: balance;
}

h3 {
    font-size: clamp(1.3rem, 2vw, 2rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
    font-weight: 850;
    text-wrap: balance;
}

.lead {
    max-width: 54ch;
    color: #252521;
    font-size: clamp(1.08rem, 1.75vw, 1.42rem);
    line-height: 1.38;
    font-weight: 620;
    text-wrap: pretty;
}

.section-title {
    display: grid;
    align-content: start;
    gap: clamp(14px, 1.6vw, 22px);
}

.section-copy {
    align-content: start;
}

.section-copy p,
.proof-card p,
.list-panel li,
.deploy-step p,
.note-panel p {
    color: #30302b;
    font-size: clamp(1rem, 1.35vw, 1.14rem);
    line-height: 1.5;
    font-weight: 500;
    text-wrap: pretty;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

#hero-title {
    margin-bottom: 0.2em;
}

.button {
    min-height: 46px;
    padding: 0 18px;
    font-size: 0.94rem;
    box-shadow: 5px 5px 0 var(--ink);
}

.button-primary {
    background: var(--ink);
    color: var(--paper);
}

.manual-card,
.proof-card,
.list-panel,
.deploy-step,
.note-panel {
    border: 2px solid var(--ink);
    background: var(--paper);
    box-shadow: 8px 8px 0 var(--ink);
}

.manual-card {
    padding: clamp(20px, 4vw, 34px);
}

.manual-card-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 18px;
}

.manual-card-head h2 {
    max-width: 13ch;
    margin-top: 10px;
    font-size: clamp(1.7rem, 3vw, 3rem);
    line-height: 0.95;
    font-weight: 880;
}

.manual-card-note {
    max-width: 34ch;
    margin-top: 12px;
    color: var(--muted);
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    line-height: 1.35;
    font-weight: 560;
}

.stamp {
    flex: none;
    padding: 8px 10px;
    border: 2px solid var(--ink);
    background: var(--gold);
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 3px 3px 0 var(--ink);
}

.flow-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.flow-list li {
    min-height: 132px;
    display: grid;
    align-content: space-between;
    gap: 14px;
    padding: 14px;
    border: 2px solid var(--ink);
    background: var(--paper);
}

.flow-list span {
    color: var(--muted);
    line-height: 1.35;
    font-weight: 560;
}

pre {
    margin: 0;
    overflow-x: auto;
    border: 2px solid var(--ink);
    background: var(--ink);
    color: var(--paper);
    padding: 16px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

code {
    font:
        0.84rem/1.55 ui-monospace,
        SFMono-Regular,
        Menlo,
        Consolas,
        monospace;
}

.section-intro {
    margin-bottom: clamp(34px, 5vw, 58px);
}

.proof-grid,
.fit-grid,
.deploy-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.fit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.proof-card,
.deploy-step,
.note-panel {
    padding: 20px;
}

.deploy-step {
    align-content: space-between;
    min-height: 286px;
}

.deploy-step-head {
    display: grid;
    gap: 14px;
}

.proof-card {
    min-height: 250px;
    display: grid;
    align-content: space-between;
    gap: 22px;
}

.proof-card .pill {
    min-height: 28px;
    width: fit-content;
    padding: 0 11px;
    font-size: 0.72rem;
    font-weight: 760;
    letter-spacing: 0.01em;
}

.list-panel h3 {
    padding: 16px;
    border-bottom: 2px solid var(--ink);
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.list-panel ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.list-panel li {
    padding: 16px;
    border-bottom: 2px solid var(--ink);
}

.list-panel li:last-child {
    border-bottom: 0;
}

.step-number {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 2px solid var(--ink);
    background: var(--gold);
    font-weight: 950;
    box-shadow: 3px 3px 0 var(--ink);
}

.note-panel {
    margin-top: 14px;
    background: var(--paper-soft);
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 26px clamp(18px, 4vw, 56px);
    font-weight: 800;
}

.site-footer a {
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

@media (max-width: 980px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .section-grid,
    .hero,
    .proof-grid,
    .fit-grid,
    .deploy-grid,
    .flow-list {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }
}

@media (max-width: 680px) {
    h1 {
        font-size: clamp(4rem, 22vw, 7rem);
    }

    .manual-card,
    .proof-card,
    .list-panel,
    .deploy-step,
    .note-panel {
        box-shadow: 5px 5px 0 var(--ink);
    }

    .manual-card-head,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

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