@import url("https://fonts.googleapis.com/css2?family=Geist:wght@400..700&display=swap");

/* Same tokens as the landing page (index.html) */
:root {
    --paper: #ffffff;
    --ink: #000000;
    --text: #1f1f1f;
    --muted: #6b6b6b;
    --rule: #e8e8e8;
    --surface-muted: #f3f3f3;
    --red: #b21f24;
    --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --max: 760px;
    --wide: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
}


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

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--ink);
    text-decoration-color: var(--rule);
    text-underline-offset: 3px;
}

a:hover {
    text-decoration-color: currentColor;
}

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--paper);
}

.header .container {
    max-width: var(--wide);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

/* Same lockup as the landing page */
.lockup {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
}

.lockup img {
    width: 28px;
    height: 28px;
}

.lockup b {
    font-weight: 700;
    font-size: 17px;
    letter-spacing: .02em;
}

.lockup i {
    width: 1px;
    height: 18px;
    background: var(--red);
}

.lockup span {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .32em;
}

.header nav {
    display: flex;
    gap: 32px;
}

.header nav a {
    text-decoration: none;
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
}

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

/* Document */
.doc-head {
    padding: 80px 0 16px;
}

.doc-head .eyebrow {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    margin-bottom: 20px;
}

.doc-head h1 {
    margin: 0 0 12px;
    font-size: clamp(32px, 4.4vw, 48px);
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -.035em;
    color: var(--ink);
}

.doc-head .meta {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}

.doc {
    padding: 48px 0 96px;
}

.doc h2 {
    margin: 48px 0 12px;
    padding-top: 20px;
    border-top: 1px solid var(--rule);
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -.015em;
    color: var(--ink);
}

.doc h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.doc p {
    margin: 0 0 16px;
}

.doc ul {
    margin: 0 0 16px;
    padding-left: 20px;
}

.doc li {
    margin-bottom: 8px;
}

.doc strong {
    color: var(--ink);
    font-weight: 600;
}

.doc .callout {
    margin: 40px 0;
    padding: 24px;
    background: var(--surface-muted);
    border-radius: 12px;
}

.doc .callout h2 {
    padding-top: 0;
    border-top: 0;
}

.doc .callout p {
    margin: 0;
}

/* Footer */
.footer {
    padding: 32px 0 48px;
    border-top: 1px solid var(--rule);
    font-size: 14px;
    color: var(--muted);
}

.footer .container {
    max-width: var(--wide);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    flex-wrap: wrap;
}

.footer nav {
    display: flex;
    gap: 24px;
}

.footer a {
    color: inherit;
    text-decoration: none;
}

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

@media (max-width: 640px) {
    .header nav {
        display: none;
    }

    .doc-head {
        padding: 48px 0 28px;
    }
}

@media print {
    .header, .footer {
        display: none;
    }

    .doc-head {
        padding-top: 0;
    }
}
