/* ==========================================================================
   bursusofts.com
   --------------------------------------------------------------------------
   Two grounds, alternating: INK is the drafting board the studio works on,
   PAPER is the spec sheet it produces. Every section is one or the other, and
   nothing floats in between — which is what lets the type stay quiet and the
   shipping matrix be the only loud thing on the page.

   Selectors are single-class throughout. Nothing here is scoped by element,
   because a `.band p` rule and a `.prose p` rule cancelling each other out is
   the failure mode this file is shaped to avoid.
   ========================================================================== */

/* ── Fonts ─────────────────────────────────────────────────────────────────
   Self-hosted, subset by unicode-range, no request to anyone else's server.
   Latin and Latin-Extended only: the site is English, and a reader downloads
   three files to see the first screen. Generated from Google's own metadata —
   regenerate rather than hand-edit if a family is added. */

@font-face {
    font-family: 'Geologica';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('/assets/fonts/geologica-latin-300700.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: 'Geologica';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('/assets/fonts/geologica-latin-ext-300700.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: 'Inter';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/assets/fonts/inter-latin-400700.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: 'Inter';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/assets/fonts/inter-latin-ext-400700.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('/assets/fonts/plexmono-latin-400.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: 600;
    font-display: swap;
    src: url('/assets/fonts/plexmono-latin-600.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: 400;
    font-display: swap;
    src: url('/assets/fonts/plexmono-latin-ext-400.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: 600;
    font-display: swap;
    src: url('/assets/fonts/plexmono-latin-ext-600.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;
}

/* ── Tokens ──────────────────────────────────────────────────────────────── */

:root {
    /* Ink: the board. Blue-shifted rather than neutral, so the signal colours
       read as belonging to it instead of sitting on top of it. */
    --ink: #0b1020;
    --ink-2: #101728;
    --ink-3: #161f36;
    --ink-line: #222c47;
    --ink-line-soft: #1a2338;
    --ink-text: #e8edf8;
    --ink-muted: #8fa8c2;

    /* Paper: the sheet. */
    --paper: #edf0f6;
    --paper-2: #ffffff;
    --paper-line: #d3dae8;
    --paper-text: #131a2c;
    --paper-muted: #55627e;

    /* Signal: the three stops of the BURSUsofts mark, used as three roles and
       never as a gradient across text. */
    --signal: #45c7f4;
    --signal-deep: #5267ed;
    --signal-violet: #8062ee;
    --ember: #f0a73b;

    --font-display: 'Geologica', 'Segoe UI', system-ui, sans-serif;
    --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Code', Consolas, monospace;

    --shell: 1180px;
    --gutter: 26px;
    --radius: 14px;
    --radius-sm: 9px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    /* The masthead is sticky, so an in-page anchor would otherwise land under it. */
    scroll-padding-top: 92px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--ink);
    color: var(--ink-text);
    font-family: var(--font-body);
    font-size: 16.5px;
    line-height: 1.62;
    font-synthesis-weight: none;
    -webkit-font-smoothing: antialiased;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.skip {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 60;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: var(--signal-deep);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: top .15s ease;
}
.skip:focus { top: 12px; }

:focus-visible {
    outline: 2px solid var(--signal);
    outline-offset: 3px;
    border-radius: 3px;
}

/* ── Shared type ─────────────────────────────────────────────────────────── */

.eyebrow {
    margin: 0 0 18px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--signal);
}

.inline-link {
    color: var(--signal-deep);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 1px;
}
.inline-link:hover { color: var(--signal-violet); }

.pill {
    display: inline-block;
    margin-inline-start: 7px;
    padding: 1px 7px 2px;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    vertical-align: 2px;
}
.pill-beta {
    background: rgba(240, 167, 59, .14);
    border: 1px solid rgba(240, 167, 59, .42);
    color: var(--ember);
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    padding: 11px 22px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -.005em;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
    background: var(--signal-deep);
    border-color: var(--signal-deep);
    color: #fff;
}
.btn-primary:hover {
    background: #4557d8;
    border-color: #4557d8;
}

.btn-quiet {
    background: transparent;
    border-color: var(--ink-line);
    color: var(--ink-text);
}
.btn-quiet:hover {
    border-color: var(--signal);
    color: var(--signal);
}
.band-paper .btn-quiet,
.product .btn-quiet {
    border-color: var(--paper-line);
    color: var(--paper-text);
}
.band-paper .btn-quiet:hover,
.product .btn-quiet:hover {
    border-color: var(--signal-deep);
    color: var(--signal-deep);
}

/* ── Masthead ────────────────────────────────────────────────────────────── */

.masthead {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(11, 16, 32, .86);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--ink-line-soft);
}

.masthead-inner {
    width: min(100% - (var(--gutter) * 2), var(--shell));
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 70px;
}

.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--ink-text);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -.035em;
    white-space: nowrap;
}
.wordmark-text b { font-weight: 300; color: var(--ink-muted); }
.wordmark:hover .wordmark-text b { color: var(--signal); }

.wordmark-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(138deg, var(--signal) 0%, var(--signal-deep) 55%, var(--signal-violet) 100%);
}
.wordmark-sm .wordmark-mark { width: 30px; height: 30px; border-radius: 9px; }

.masthead-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}
.masthead-nav > a {
    color: var(--ink-muted);
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none;
    transition: color .15s ease;
}
.masthead-nav > a:hover { color: var(--ink-text); }
.masthead-nav > a[aria-current="page"] { color: var(--ink-text); }

.masthead-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    border: 1px solid var(--ink-line);
    border-radius: 999px;
    color: var(--ink-text) !important;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color .15s ease, color .15s ease;
}
.masthead-cta:hover { border-color: var(--signal); color: var(--signal) !important; }

.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nav-burger { display: none; }

/* ── Hero ────────────────────────────────────────────────────────────────── */

.hero {
    position: relative;
    padding: clamp(56px, 8vw, 104px) 0 clamp(60px, 8vw, 108px);
    overflow: hidden;
}

/* The drafting grid. Faint enough to be atmosphere rather than pattern, and
   masked so it never reaches the section boundary as a hard edge. */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(143, 168, 194, .07) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(143, 168, 194, .07) 1px, transparent 1px);
    background-size: 76px 76px;
    -webkit-mask-image: radial-gradient(120% 85% at 22% 8%, #000 0%, transparent 78%);
    mask-image: radial-gradient(120% 85% at 22% 8%, #000 0%, transparent 78%);
    pointer-events: none;
}

.hero-grid { position: relative; }

.hero-copy { max-width: 780px; }

.hero-title {
    margin: 0 0 26px;
    font-family: var(--font-display);
    font-size: clamp(40px, 6.6vw, 84px);
    font-weight: 300;
    line-height: 1.02;
    letter-spacing: -.045em;
}
.hero-title span { display: block; }
.hero-title-accent { color: var(--signal); }

.hero-lead {
    max-width: 62ch;
    margin: 0 0 34px;
    color: var(--ink-muted);
    font-size: clamp(16.5px, 1.5vw, 19px);
    line-height: 1.66;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: clamp(46px, 6vw, 74px);
}

/* ── The shipping matrix: the one loud thing on the page ─────────────────── */

.matrix {
    margin: 0;
    border: 1px solid var(--ink-line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(22, 31, 54, .78), rgba(16, 23, 40, .78));
    overflow: hidden;
}

.matrix table {
    width: 100%;
    border-collapse: collapse;
}

.matrix thead th {
    padding: 14px 20px;
    border-bottom: 1px solid var(--ink-line);
    text-align: start;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--ink-muted);
    white-space: nowrap;
}

.matrix tbody tr {
    border-bottom: 1px solid var(--ink-line-soft);
    transition: background-color .18s ease;
}
.matrix tbody tr:last-child { border-bottom: 0; }
.matrix tbody tr:hover { background: rgba(69, 199, 244, .045); }

.matrix tbody th,
.matrix tbody td {
    padding: 15px 20px;
    text-align: start;
    vertical-align: baseline;
}

.matrix tbody th {
    font-family: var(--font-display);
    font-size: 16.5px;
    font-weight: 500;
    letter-spacing: -.02em;
    color: var(--ink-text);
    white-space: nowrap;
}

.cell-form {
    font-size: 14.5px;
    color: var(--ink-muted);
}
.cell-date {
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--ink-muted);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.cell-none { color: var(--ink-line); }

.cell-ship { white-space: nowrap; }
.ship-version {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 600;
    color: var(--ink-text);
    font-variant-numeric: tabular-nums;
}
.ship-continuous {
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--ink-muted);
}

.matrix figcaption {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    align-items: baseline;
    justify-content: space-between;
    padding: 13px 20px;
    border-top: 1px solid var(--ink-line);
    background: rgba(11, 16, 32, .5);
    font-size: 13px;
    color: var(--ink-muted);
}
.matrix-stamp {
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--signal);
    text-decoration: none;
    white-space: nowrap;
}
.matrix-stamp:hover { color: var(--ink-text); }

/* The rows arrive in order, the way a build script fills a table. Held to one
   short fade per row: the animation is here to say "this was read just now",
   not to be watched. */
@media (prefers-reduced-motion: no-preference) {
    [data-matrix] tbody tr {
        animation: row-in .45s cubic-bezier(.2, .7, .3, 1) both;
        animation-delay: calc(var(--row, 0) * 65ms + 180ms);
    }
}
@keyframes row-in {
    from { opacity: 0; transform: translateY(7px); }
    to   { opacity: 1; transform: none; }
}

/* ── Bands ───────────────────────────────────────────────────────────────── */

.band { padding: clamp(58px, 7.5vw, 100px) 0; }

.band-paper {
    background: var(--paper);
    color: var(--paper-text);
}
.band-paper .eyebrow { color: var(--signal-deep); }

.band-ink {
    background: var(--ink-2);
    border-block: 1px solid var(--ink-line-soft);
}

.band-close {
    background: var(--ink);
    padding: clamp(52px, 6vw, 84px) 0;
}

.band-head {
    max-width: 66ch;
    margin-bottom: clamp(34px, 4vw, 52px);
}
.band-head h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(27px, 3.4vw, 40px);
    font-weight: 400;
    line-height: 1.14;
    letter-spacing: -.035em;
}
.band-lead {
    margin: 16px 0 0;
    font-size: 17px;
    color: var(--ink-muted);
}
.band-paper .band-lead { color: var(--paper-muted); }

.band-more { margin: clamp(30px, 4vw, 44px) 0 0; }
.band-ink .band-more .inline-link { color: var(--signal); }
.band-ink .band-more .inline-link:hover { color: var(--ink-text); }

/* ── Product cards ───────────────────────────────────────────────────────── */

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.card {
    display: flex;
    flex-direction: column;
    padding: 26px 24px 24px;
    border: 1px solid var(--paper-line);
    border-radius: var(--radius);
    background: var(--paper-2);
    transition: border-color .18s ease, transform .18s ease;
}
.card:hover {
    border-color: #b7c4dc;
    transform: translateY(-2px);
}

.card-kind {
    margin: 0 0 14px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--signal-deep);
}
.card-title {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 500;
    letter-spacing: -.03em;
}
.card-lead {
    margin: 0 0 18px;
    color: var(--paper-muted);
    font-size: 15.5px;
}
.card-facts {
    flex: 1;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--paper-line);
}
.card-facts li {
    padding: 11px 0 11px 20px;
    border-bottom: 1px solid var(--paper-line);
    font-size: 14px;
    color: var(--paper-text);
    position: relative;
}
.card-facts li::before {
    content: "";
    position: absolute;
    inset-inline-start: 2px;
    top: 19px;
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background: var(--signal);
}
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--signal-deep);
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
}
.card-link:hover { color: var(--signal-violet); }

/* ── Rules (the principles) ──────────────────────────────────────────────── */

.rules {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--ink-line-soft);
    border: 1px solid var(--ink-line-soft);
    border-radius: var(--radius);
    overflow: hidden;
}
.band-paper .rules {
    background: var(--paper-line);
    border-color: var(--paper-line);
}

.rule {
    padding: 28px 28px 30px;
    background: var(--ink-2);
}

/* An odd number of rules in a two-column grid leaves a hole in the corner. Let the last one span
   the row instead — it reads as a closing statement rather than as a missing card, and the set is
   genuinely odd (five) on the page that shows all of them. */
.rules-full .rule:last-child:nth-child(odd) { grid-column: 1 / -1; }
.band-paper .rule { background: var(--paper); }

.rule-key {
    margin: 0 0 14px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--signal);
}
.band-paper .rule-key { color: var(--signal-deep); }

.rule-title {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-size: 19.5px;
    font-weight: 500;
    line-height: 1.24;
    letter-spacing: -.03em;
}
.rule-body {
    margin: 0;
    font-size: 15.5px;
    color: var(--ink-muted);
}
.band-paper .rule-body { color: var(--paper-muted); }

/* ── Closing band ────────────────────────────────────────────────────────── */

.close-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr);
    gap: 34px;
    align-items: center;
}
.close-title {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 400;
    line-height: 1.16;
    letter-spacing: -.035em;
}
.close-lead {
    margin: 0;
    max-width: 60ch;
    color: var(--ink-muted);
    font-size: 16.5px;
}
.close-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

/* ── Page heads (every page except home) ─────────────────────────────────── */

.page-head {
    position: relative;
    padding: clamp(52px, 7vw, 92px) 0 clamp(44px, 6vw, 74px);
    overflow: hidden;
}
.page-head::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(143, 168, 194, .06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(143, 168, 194, .06) 1px, transparent 1px);
    background-size: 76px 76px;
    -webkit-mask-image: radial-gradient(110% 90% at 18% 0%, #000 0%, transparent 74%);
    mask-image: radial-gradient(110% 90% at 18% 0%, #000 0%, transparent 74%);
    pointer-events: none;
}
.page-head .shell { position: relative; }

.page-title {
    margin: 0 0 20px;
    max-width: 20ch;
    font-family: var(--font-display);
    font-size: clamp(34px, 5.2vw, 64px);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -.045em;
}
.page-lead {
    max-width: 66ch;
    margin: 0;
    color: var(--ink-muted);
    font-size: clamp(16.5px, 1.4vw, 18.5px);
}

/* ── Product sections ────────────────────────────────────────────────────── */

.product {
    padding: clamp(50px, 6.5vw, 84px) 0;
    background: var(--paper);
    color: var(--paper-text);
    border-top: 1px solid var(--paper-line);
}
.product-alt { background: var(--paper-2); }

.product-grid {
    display: grid;
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
    gap: clamp(28px, 4vw, 62px);
    align-items: start;
}

.product-kind {
    margin: 0 0 12px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--signal-deep);
}
.product-name {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -.04em;
}

.spec {
    margin: 26px 0 0;
    border-top: 1px solid var(--paper-line);
}
.spec-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0;
    border-bottom: 1px solid var(--paper-line);
}
.spec dt {
    font-size: 14px;
    color: var(--paper-muted);
}
.spec dd {
    margin: 0;
    white-space: nowrap;
}
.spec .ship-version { color: var(--paper-text); font-size: 14px; }
.spec-value {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--paper-text);
    text-align: end;
}

.product-lead {
    margin: 0 0 20px;
    font-family: var(--font-display);
    font-size: clamp(18px, 1.9vw, 22px);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -.025em;
}
.product-text {
    margin: 0 0 24px;
    color: var(--paper-muted);
    font-size: 16.5px;
}
.product-facts {
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--paper-line);
}
.product-facts li {
    position: relative;
    padding: 12px 0 12px 22px;
    border-bottom: 1px solid var(--paper-line);
    font-size: 15.5px;
}
.product-facts li::before {
    content: "";
    position: absolute;
    inset-inline-start: 2px;
    top: 21px;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--signal-deep);
}

/* ── Channels table (engineering) ────────────────────────────────────────── */

.channels {
    border: 1px solid var(--ink-line);
    border-radius: var(--radius);
    overflow: hidden;
}
.channels table { width: 100%; border-collapse: collapse; }
.channels thead th {
    padding: 13px 20px;
    border-bottom: 1px solid var(--ink-line);
    background: rgba(11, 16, 32, .45);
    text-align: start;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--ink-muted);
}
.channels tbody tr { border-bottom: 1px solid var(--ink-line-soft); }
.channels tbody tr:last-child { border-bottom: 0; }
.channels tbody th,
.channels tbody td {
    padding: 14px 20px;
    text-align: start;
    vertical-align: baseline;
    font-size: 15px;
}
.channels tbody th {
    font-weight: 600;
    color: var(--ink-text);
    white-space: nowrap;
}
.channels tbody td { color: var(--ink-muted); }
.cell-mono {
    font-family: var(--font-mono);
    font-size: 13.5px;
    color: var(--signal) !important;
}

/* ── Prose + aside ───────────────────────────────────────────────────────── */

.prose-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, .75fr);
    gap: clamp(30px, 4.5vw, 64px);
    align-items: start;
}

.prose h2 {
    margin: 0 0 14px;
    font-family: var(--font-display);
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.035em;
}
.prose h2 + p { margin-top: 0; }
.prose p {
    margin: 0 0 30px;
    font-size: 16.5px;
    color: var(--paper-muted);
}
.prose p:last-child { margin-bottom: 0; }
.prose-ink p { color: var(--ink-muted); }

.prose-aside {
    padding: 26px 24px;
    border: 1px solid var(--paper-line);
    border-radius: var(--radius);
    background: var(--paper-2);
}
.prose-aside-ink {
    border-color: var(--ink-line);
    background: var(--ink-3);
}

.aside-key {
    margin: 0 0 16px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--signal-deep);
}
.prose-aside-ink .aside-key { color: var(--signal); }

.aside-list {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}
.aside-list li {
    padding: 9px 0;
    border-bottom: 1px solid var(--paper-line);
    font-size: 14.5px;
    color: var(--paper-muted);
}
.prose-aside-ink .aside-list li {
    border-color: var(--ink-line);
    color: var(--ink-muted);
}
.aside-list li:last-child { border-bottom: 0; }
.aside-list a { color: inherit; text-decoration: none; }
.aside-list a:hover { color: var(--signal); }
.aside-list-mono li {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--paper-text);
}

/* ── Stats + feeds (about) ───────────────────────────────────────────────── */

.stat-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--ink-line-soft);
    border: 1px solid var(--ink-line-soft);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: clamp(30px, 4vw, 46px);
}
.stat {
    padding: 26px 22px;
    background: var(--ink-2);
}
.stat-value {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.045em;
    color: var(--ink-text);
}
.stat-label {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.feeds {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.feed {
    padding: 24px 22px;
    border: 1px solid var(--ink-line);
    border-radius: var(--radius);
}
.feed-title {
    margin: 0 0 14px;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -.03em;
}
.feed-count {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 600;
    color: var(--signal);
}
.feed-since {
    margin: 2px 0 12px;
    font-size: 14px;
    color: var(--ink-muted);
}
.feed-note {
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid var(--ink-line);
    font-size: 14px;
    color: var(--ink-muted);
}

/* ── Contact ─────────────────────────────────────────────────────────────── */

.mailrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
    padding: 18px 20px;
    border: 1px solid var(--ink-line);
    border-radius: var(--radius);
    background: var(--ink-2);
}
.mailrow-address {
    font-family: var(--font-mono);
    font-size: clamp(16px, 2.2vw, 22px);
    font-weight: 600;
    color: var(--signal);
    text-decoration: none;
    word-break: break-all;
}
.mailrow-address:hover { color: var(--ink-text); }

.mailrow-copy {
    margin-inline-start: auto;
    padding: 8px 14px;
    border: 1px solid var(--ink-line);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--ink-muted);
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color .15s ease, color .15s ease;
}
.mailrow-copy:hover { border-color: var(--signal); color: var(--signal); }
.mailrow-copy.is-done { border-color: var(--signal); color: var(--signal); }

/* ── Error page ──────────────────────────────────────────────────────────── */

.page-head-error { padding-bottom: clamp(60px, 8vw, 110px); }
.error-code {
    font-size: 12px;
    letter-spacing: .2em;
    color: var(--ember);
}
.error-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid var(--ink-line);
}
.error-nav a {
    color: var(--ink-muted);
    font-size: 15px;
    text-decoration: none;
}
.error-nav a:hover { color: var(--signal); }

/* ── Footer ──────────────────────────────────────────────────────────────── */

.footer {
    padding: clamp(46px, 5vw, 68px) 0 26px;
    background: var(--ink-2);
    border-top: 1px solid var(--ink-line-soft);
}
.footer-inner {
    width: min(100% - (var(--gutter) * 2), var(--shell));
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    gap: clamp(30px, 5vw, 70px);
}
.footer-line {
    max-width: 34ch;
    margin: 16px 0 0;
    color: var(--ink-muted);
    font-size: 14.5px;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h2 {
    margin: 0 0 6px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--ink-muted);
}
.footer-col a {
    color: var(--ink-text);
    font-size: 14.5px;
    text-decoration: none;
    width: fit-content;
}
.footer-col a:hover { color: var(--signal); }

.footer-rule {
    width: min(100% - (var(--gutter) * 2), var(--shell));
    margin: clamp(38px, 5vw, 58px) auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--ink-line-soft);
    display: flex;
    flex-wrap: wrap;
    gap: 8px 26px;
    justify-content: space-between;
    color: var(--ink-muted);
    font-size: 13px;
}
.footer-rule p { margin: 0; }
.footer-built { font-family: var(--font-mono); font-size: 11.5px; }

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 1080px) {
    .masthead-nav { gap: 18px; }
    .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feeds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 940px) {
    .prose-grid { grid-template-columns: minmax(0, 1fr); }
    .product-grid { grid-template-columns: minmax(0, 1fr); }
    .close-grid { grid-template-columns: minmax(0, 1fr); }
    .close-actions { justify-content: flex-start; }
    .footer-inner { grid-template-columns: minmax(0, 1fr); }
    .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .matrix .col-date { display: none; }
}

/* The navigation collapses into a sheet. The checkbox is the state, so it works
   with JavaScript switched off — which also means the same markup carries the
   burger and the desktop row, and only the layout changes. */
@media (max-width: 860px) {
    .nav-burger {
        display: grid;
        gap: 5px;
        width: 40px;
        height: 40px;
        align-content: center;
        justify-items: center;
        border: 1px solid var(--ink-line);
        border-radius: var(--radius-sm);
        cursor: pointer;
    }
    .nav-burger span {
        display: block;
        width: 17px;
        height: 1.5px;
        background: var(--ink-text);
        transition: transform .2s ease;
    }
    .nav-toggle:focus-visible + .nav-burger {
        outline: 2px solid var(--signal);
        outline-offset: 3px;
    }

    .masthead-nav {
        position: absolute;
        inset-inline: 0;
        top: 100%;
        z-index: 35;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px var(--gutter) 20px;
        background: var(--ink);
        border-bottom: 1px solid var(--ink-line);
    }
    .nav-toggle:checked ~ .masthead-nav { display: flex; }

    .masthead { position: relative; }
    .masthead-inner { position: static; flex-wrap: nowrap; }

    .masthead-nav > a {
        padding: 13px 2px;
        border-bottom: 1px solid var(--ink-line-soft);
        font-size: 16px;
    }
    .masthead-cta {
        margin-top: 16px;
        justify-content: center;
        padding: 12px 15px;
    }
    .rules { grid-template-columns: minmax(0, 1fr); }
    .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    :root { --gutter: 18px; }
    .cards { grid-template-columns: minmax(0, 1fr); }
    .feeds { grid-template-columns: minmax(0, 1fr); }

    /* The matrix stops being a table and becomes six records. Five columns do
       not survive a phone, and a horizontally scrolling hero is worse than no
       hero at all. */
    .matrix table,
    .matrix tbody,
    .matrix tbody tr,
    .matrix tbody th,
    .matrix tbody td { display: block; }
    .matrix thead { display: none; }

    .matrix tbody tr {
        position: relative;
        padding: 16px 18px 18px;
    }
    .matrix tbody th,
    .matrix tbody td { padding: 0; }
    .matrix tbody th { font-size: 19px; margin-bottom: 3px; }
    .matrix .cell-form { font-size: 13px; padding-inline-end: 92px; }
    .matrix .cell-date { display: none; }
    .matrix .cell-ship {
        position: absolute;
        inset-inline-end: 18px;
        top: 16px;
    }
    .matrix figcaption { flex-direction: column; }

    .channels table,
    .channels tbody,
    .channels tbody tr,
    .channels tbody th,
    .channels tbody td { display: block; }
    .channels thead { display: none; }
    .channels tbody tr { padding: 15px 18px; }
    .channels tbody th,
    .channels tbody td { padding: 0; }
    .channels tbody th { margin-bottom: 4px; }
}

@media (max-width: 460px) {
    .stat-row { grid-template-columns: minmax(0, 1fr); }
    .footer-cols { grid-template-columns: minmax(0, 1fr); }
    .hero-actions .btn,
    .close-actions .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}
