*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

:root,
html[data-theme="light"] {
    --ink: #0a0a0a;
    --paper: #f5f3ee;
    --paper-2: #ebe8e0;
    --line: rgba(10, 10, 10, 0.12);
    --line-2: rgba(10, 10, 10, 0.22);
    --mute: rgba(10, 10, 10, 0.55);
    --mute-2: rgba(10, 10, 10, 0.38);
    --quark: #00e0bc;
    --quark-deep: #00b899;
    --signal: #ff5b1a;
    /* markers sit on cream paper here, so they need their own darker accents */
    --mark-yes: #00705d;
    --mark-no: #c2410c;
    --grain-blend: multiply;
    --serif: "Instrument Serif", ui-serif, Georgia, serif;
    --sans: "Geist", "Inter", -apple-system, system-ui, sans-serif;
    --mono:
        "Geist Mono", "JetBrains Mono", ui-monospace, Menlo,
        monospace;
}
html[data-theme="dark"] {
    --ink: #f3efe6; /* warm paper as foreground */
    --paper: #1a1a3a; /* deep indigo base */
    --paper-2: #252556;
    --line: rgba(243, 239, 230, 0.14);
    --line-2: rgba(243, 239, 230, 0.26);
    --mute: rgba(243, 239, 230, 0.6);
    --mute-2: rgba(243, 239, 230, 0.42);
    --quark: #00e0bc;
    --quark-deep: #1ff0c8;
    --signal: #ff8c5a;
    /* on indigo the bright accents already carry — reuse them */
    --mark-yes: var(--quark);
    --mark-no: var(--signal);
    --grain-blend: screen;
    --abs-dark: #3d3d7a; /* deep indigo — brand surface for inverted sections in dark */
    --abs-light: #f5f3ee;
}
html[data-theme="dark"] .nav {
    background: rgba(26, 26, 58, 0.78);
}
/* light-only override for stable inverted surfaces (CTA, footer, console). Dark inherits its own indigo from above. */
:root,
html[data-theme="light"] {
    --abs-dark: #0a0a0a;
    --abs-light: #f5f3ee;
}

html,
body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-feature-settings: "ss01", "cv11";
    letter-spacing: -0.01em;
}
body {
    overflow-x: hidden;
}
::selection {
    background: var(--quark);
    color: var(--ink);
}

/* ─── grain texture ─── */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1000;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    opacity: 0.06;
    mix-blend-mode: var(--grain-blend);
}

a {
    color: inherit;
    text-decoration: none;
}
button {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

/* ─── shell ─── */
.shell {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
}
@media (max-width: 720px) {
    .shell {
        padding: 0 20px;
    }
}

/* ─── nav ─── */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(245, 243, 238, 0.78);
    backdrop-filter: blur(14px) saturate(1.2);
    border-bottom: 1px solid var(--line);
}
.nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.02em;
}
.brand-logo {
    height: 28px;
    width: auto;
    display: block;
    color: var(--ink);
}
html[data-theme="dark"] .brand-logo {
    color: var(--abs-light);
}
.brand-logo .logo-q {
    fill: var(--abs-light);
}
html[data-theme="dark"] .brand-logo .logo-block {
    fill: var(--quark);
}
html[data-theme="dark"] .brand-logo .logo-q {
    fill: var(--abs-dark);
}
.brand-ipa {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.04em;
    color: var(--mute);
    margin-left: 2px;
    padding: 3px 6px 4px;
    border: 1px solid var(--line);
    border-radius: 2px;
    line-height: 1;
    align-self: center;
}
html[data-theme="dark"] .brand-ipa {
    color: rgba(255, 255, 255, 0.55);
    border-color: rgba(255, 255, 255, 0.18);
}
.brand-word {
    font-family: var(--sans);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.04em;
}
.nav-mid {
    display: flex;
    gap: 28px;
    font-size: 13px;
    color: var(--mute);
}
.nav-mid a {
    position: relative;
    transition: color 0.15s;
}
.nav-mid a:hover {
    color: var(--ink);
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
}
.nav-right .meta {
    font-family: var(--mono);
    color: var(--mute);
    font-size: 11px;
    letter-spacing: 0.02em;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: var(--paper);
    font-weight: 500;
    font-size: 13px;
    border-radius: 0;
    transition:
        transform 0.15s,
        background 0.15s;
}
.btn:hover {
    background: var(--quark);
    color: var(--ink);
    border-color: var(--ink);
}
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line-2);
}
.btn-ghost:hover {
    background: var(--ink);
    color: var(--paper);
}
.btn .arrow {
    display: inline-block;
    transition: transform 0.2s;
}
.btn:hover .arrow {
    transform: translateX(3px);
}
.ctrl {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 32px;
    min-width: 32px;
    padding: 0 10px;
    border: 1px solid var(--line-2);
    background: transparent;
    color: var(--ink);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.15s;
}
.ctrl:hover {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}
.ctrl svg {
    width: 14px;
    height: 14px;
}
.ctrl-lang {
    padding: 0 10px;
}
html[data-theme="light"] .i-moon {
    display: none;
}
html[data-theme="dark"] .i-sun {
    display: none;
}
[lang="ru"] {
    --sans: "Geist", "Inter", system-ui, sans-serif;
}
@media (max-width: 880px) {
    .nav-mid {
        display: none;
    }
}

/* ─── eyebrow / index labels ─── */
.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mute);
}
.eyebrow .dot {
    width: 6px;
    height: 6px;
    background: var(--quark);
    display: inline-block;
    border-radius: 50%;
}
.idx {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.05em;
    color: var(--mute);
    text-transform: uppercase;
}
.rule {
    height: 1px;
    background: var(--ink);
    width: 100%;
    margin: 0;
}
.rule-thin {
    height: 1px;
    background: var(--line);
    width: 100%;
}

/* ─── HERO ─── */
.hero {
    padding: 60px 0 80px;
    border-bottom: 1px solid var(--ink);
    position: relative;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: end;
}
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

.hero-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--mute);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}
.hero-meta .left {
    display: flex;
    gap: 24px;
}
.hero-meta .v {
    color: var(--ink);
}

.hero-h1 {
    font-family: var(--sans);
    font-weight: 500;
    font-size: clamp(48px, 7.4vw, 118px);
    line-height: 0.92;
    letter-spacing: -0.045em;
    margin-top: 48px;
}
.hero-h1 .ital {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.02em;
}
.hero-h1 .swatch {
    display: inline-block;
    vertical-align: -2px;
    width: 0.84em;
    height: 0.84em;
    background: var(--quark);
    margin: 0 0.04em;
}
.hero-sub {
    font-size: 18px;
    line-height: 1.45;
    color: var(--mute);
    max-width: 520px;
    margin-top: 28px;
    letter-spacing: -0.005em;
}
.hero-sub b {
    color: var(--ink);
    font-weight: 600;
}
.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.hero-side {
    position: relative;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* live console */
.console {
    background: var(--abs-dark);
    color: var(--abs-light);
    border: 1px solid var(--ink);
    font-family: var(--mono);
    font-size: 12.5px;
    line-height: 1.7;
    position: relative;
}
.console-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.console-bar .lights {
    display: flex;
    gap: 6px;
}
.console-bar .lights span {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    display: inline-block;
    border-radius: 50%;
}
.console-bar .lights span:first-child {
    background: var(--signal);
}
.console-bar .lights span:nth-child(2) {
    background: #ffc14a;
}
.console-bar .lights span:nth-child(3) {
    background: var(--quark);
}
.console-body {
    padding: 18px 18px 22px;
    min-height: 300px;
}
.console-body .c-mute {
    color: rgba(255, 255, 255, 0.42);
}
.console-body .c-q {
    color: var(--quark);
}
.console-body .c-w {
    color: #ffc14a;
}
.console-body .c-r {
    color: var(--signal);
}
.console-body .c-fade {
    color: rgba(255, 255, 255, 0.7);
}
.console-body .row {
    display: block;
    white-space: pre-wrap;
}
.cur {
    display: inline-block;
    width: 7px;
    height: 14px;
    background: var(--quark);
    vertical-align: -2px;
    animation: blink 1.05s steps(2, start) infinite;
    margin-left: 2px;
}
@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* metadata mutation card */
.mutate {
    margin-top: -1px;
    border: 1px solid var(--ink);
    background: var(--paper);
    border-top: none;
    position: relative;
}
.mutate-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--ink);
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.mutate-stage {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--line);
}
.mutate-stage .step {
    flex: 1;
    padding: 10px 14px;
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--mute);
    border-right: 1px solid var(--line);
    position: relative;
    text-align: center;
}
.mutate-stage .step:last-child {
    border-right: none;
}
.mutate-stage .step.is-active {
    color: var(--ink);
    background: var(--quark);
}
.mutate-stage .step.is-done {
    color: var(--ink);
}
.mutate-stage .step.is-done::before {
    content: "✓ ";
    color: var(--quark-deep);
}

.mutate-rows {
    font-family: var(--mono);
    font-size: 12.5px;
}
.mutate-rows .mr {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    padding: 9px 16px;
    border-bottom: 1px solid var(--line);
    align-items: center;
}
.mutate-rows .mr:last-child {
    border-bottom: none;
}
.mutate-rows .mr .tag {
    padding: 2px 6px;
    font-size: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid var(--line-2);
    color: var(--mute);
}
.mutate-rows .mr.add .tag {
    background: var(--quark);
    border-color: var(--quark);
    color: var(--ink);
}
.mutate-rows .mr.mod .tag {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
}
html[data-theme="dark"] .console-bar {
    border-bottom-color: rgba(245, 243, 238, 0.1);
}
html[data-theme="dark"] .viz-ver .vv-row.draft {
    background: rgba(0, 224, 188, 0.15);
}
.mutate-rows .mr.del .tag {
    background: var(--paper);
    border: 1px solid var(--signal);
    color: var(--signal);
}
.mutate-rows .mr .path {
    color: var(--ink);
}
.mutate-rows .mr .meta {
    color: var(--mute);
    font-size: 11px;
}

/* ─── MARQUEE ─── */
.marquee {
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    background: var(--paper);
}
.marquee-track {
    display: flex;
    gap: 64px;
    padding: 18px 0;
    white-space: nowrap;
    animation: marq 38s linear infinite;
    will-change: transform;
}
.marquee span {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--mute);
    display: inline-flex;
    align-items: center;
    gap: 64px;
}
.marquee span::after {
    content: "●";
    color: var(--quark);
}
@keyframes marq {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* ─── SECTIONS ─── */
section {
    padding: 120px 0;
    position: relative;
}
section.tight {
    padding: 96px 0;
}
.sec-head {
    display: grid;
    grid-template-columns: 140px 1fr 1fr;
    gap: 32px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--ink);
}
.sec-head .col-idx {
    padding-top: 6px;
}
.sec-head h2 {
    font-family: var(--sans);
    font-weight: 500;
    font-size: clamp(36px, 4.6vw, 68px);
    line-height: 0.96;
    letter-spacing: -0.035em;
}
.sec-head h2 .ital {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
}
.sec-head .col-desc {
    align-self: end;
    font-size: 15px;
    line-height: 1.5;
    color: var(--mute);
    max-width: 420px;
}
@media (max-width: 880px) {
    .sec-head {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .sec-head .col-desc {
        max-width: none;
    }
}

/* ─── PROBLEM (2010 vs 2026) ─── */
.compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 64px;
    border: 1px solid var(--ink);
}
.cmp-col {
    padding: 40px;
    border-right: 1px solid var(--ink);
}
.cmp-col:last-child {
    border-right: none;
    background: var(--abs-dark);
    color: var(--abs-light);
}
.cmp-col:last-child .cmp-stat {
    color: var(--quark);
}
.cmp-col:last-child .cmp-h {
    color: var(--abs-light);
}
.cmp-tag {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--mute);
}
.cmp-col:last-child .cmp-tag {
    color: rgba(255, 255, 255, 0.5);
}
.cmp-h {
    font-family: var(--sans);
    font-weight: 500;
    font-size: 32px;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin-top: 16px;
}
.cmp-h .ital {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
}
.cmp-stat {
    font-family: var(--sans);
    font-weight: 300;
    font-size: 96px;
    line-height: 1;
    letter-spacing: -0.05em;
    margin-top: 48px;
}
.cmp-stat sub {
    font-family: var(--mono);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--mute);
    text-transform: uppercase;
    vertical-align: 8px;
    margin-left: 8px;
}
.cmp-col:last-child .cmp-stat sub {
    color: rgba(255, 255, 255, 0.55);
}
.cmp-list {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
    line-height: 1.5;
}
.cmp-list .li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    color: var(--mute);
}
.cmp-col:last-child .cmp-list .li {
    color: rgba(255, 255, 255, 0.7);
}
.cmp-list .li i {
    color: var(--signal);
    font-style: normal;
    font-family: var(--mono);
    font-size: 11px;
    line-height: 1.4;
}
.cmp-col:last-child .cmp-list .li i {
    color: var(--quark);
}
@media (max-width: 880px) {
    .compare {
        grid-template-columns: 1fr;
    }
    .cmp-col {
        border-right: none;
        border-bottom: 1px solid var(--ink);
    }
    .cmp-col:last-child {
        border-bottom: none;
    }
}

/* ─── HOW IT WORKS — timeline editorial ─── */
.steps {
    margin-top: 48px;
    border-top: 1px solid var(--line);
}
.step-row {
    display: grid;
    grid-template-columns: 140px 280px 1fr 1.1fr;
    gap: 32px;
    padding: 48px 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
}
.step-row .day {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mute);
}
.step-row .day b {
    display: block;
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 600;
    font-size: 46px;
    letter-spacing: -0.04em;
    margin-top: 6px;
    line-height: 1;
}
.step-row h3 {
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -0.03em;
    font-weight: 500;
}
.step-row h3 .ital {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
}
.step-row p {
    font-size: 15px;
    line-height: 1.55;
    color: var(--mute);
    max-width: 380px;
}
.step-row .visual {
    align-self: stretch;
    min-height: 160px;
    border: 1px solid var(--ink);
    background: var(--paper);
    position: relative;
    overflow: hidden;
}
@media (max-width: 1024px) {
    .step-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .step-row .visual {
        min-height: 200px;
    }
}

/* visual: photo upload */
.viz-photo {
    padding: 18px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    height: 100%;
}
.viz-photo .fakeimg {
    height: 120px;
    background: repeating-linear-gradient(
        45deg,
        var(--paper-2) 0 6px,
        var(--paper) 6px 12px
    );
    border: 1px solid var(--line);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--mute);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.viz-photo .fakeimg::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px dashed var(--line-2);
}
.viz-photo .det {
    display: flex;
    gap: 6px;
    font-family: var(--mono);
    font-size: 10px;
    color: var(--mute);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-wrap: wrap;
}
.viz-photo .det span {
    padding: 3px 7px;
    border: 1px solid var(--line);
    background: var(--paper);
}
.viz-photo .det span.q {
    background: var(--quark);
    border-color: var(--quark);
    color: var(--ink);
}

/* visual: studio diff */
/* horizontal proof strip — scroll-snap, no JS */
.strip {
    margin-top: 64px;
}
.strip-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ink);
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--mute);
}
.strip-head b {
    color: var(--ink);
    font-weight: 600;
}
.strip-nav {
    display: flex;
    gap: 6px;
}
.strip-nav button {
    width: 30px;
    height: 26px;
    background: none;
    border: 1px solid var(--line-2);
    color: var(--ink);
    font-family: var(--mono);
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.strip-nav button:hover {
    background: var(--ink);
    color: var(--paper);
}
.strip-nav button:focus-visible,
.zoomable:focus-visible {
    outline: 2px solid var(--quark-deep);
    outline-offset: 2px;
}
.strip-rail {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 28px 0 22px;
    scrollbar-width: thin;
    scrollbar-color: var(--line-2) transparent;
}
.strip-rail::-webkit-scrollbar {
    height: 6px;
}
.strip-rail::-webkit-scrollbar-thumb {
    background: var(--line-2);
}
.strip-card {
    flex: 0 0 auto;
    scroll-snap-align: start;
    min-width: 260px;
}
/* plates hang at one height, each at its own true ratio — no crop, no letterbox */
.strip-card img {
    display: block;
    height: clamp(240px, 33vw, 430px);
    width: auto;
    max-width: none;
    object-fit: contain;
    background: #0d0e22;
    border: 1px solid var(--line-2);
}
.strip-card p {
    margin-top: 12px;
    max-width: 46ch;
    font-family: var(--mono);
    font-size: 11px;
    line-height: 1.55;
    letter-spacing: 0.04em;
    color: var(--mute);
}
.strip-card p b {
    display: block;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 600;
    margin-bottom: 3px;
}

/* click any screenshot to see it full size */
.zoomable {
    cursor: zoom-in;
}

/* screenshots are heavy — hold their place, shimmer, and reveal only when whole.
   The frame is added by JS, so without it the images simply show as normal. */
.shot-frame {
    display: block;
    position: relative;
    background-color: var(--paper-2);
    background-image: linear-gradient(
        100deg,
        transparent 20%,
        var(--line) 46%,
        var(--line) 54%,
        transparent 80%
    );
    background-size: 260% 100%;
    background-repeat: no-repeat;
    animation: shot-shimmer 1.5s linear infinite;
}
.shot-frame img {
    opacity: 0;
    transition: opacity 0.4s ease;
}
.shot-frame.is-loaded {
    background-image: none;
    animation: none;
}
.shot-frame.is-loaded img {
    opacity: 1;
}
@keyframes shot-shimmer {
    from {
        background-position: 160% 0;
    }
    to {
        background-position: -60% 0;
    }
}
@media (prefers-reduced-motion: reduce) {
    .shot-frame {
        animation: none;
    }
    .shot-frame img {
        transition: none;
    }
}
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    flex-direction: column;
    background: rgba(8, 8, 8, 0.975);
    padding: 20px 20px 16px;
}
.lightbox[open] {
    display: flex;
}
.lb-stage {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lb-stage img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border: 1px solid rgba(245, 243, 238, 0.22);
}
.lb-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 10px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(245, 243, 238, 0.62);
}
.lb-bar strong {
    color: #f5f3ee;
    font-weight: 600;
}
.lb-btns {
    display: flex;
    gap: 6px;
    flex: 0 0 auto;
}
.lb-btns button {
    min-width: 32px;
    height: 28px;
    padding: 0 9px;
    background: none;
    border: 1px solid rgba(245, 243, 238, 0.32);
    color: #f5f3ee;
    font-family: var(--mono);
    font-size: 12px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.lb-btns button:hover {
    background: #f5f3ee;
    color: #0a0a0a;
}
.lb-btns button:focus-visible {
    outline: 2px solid var(--quark);
    outline-offset: 2px;
}
.lb-cap {
    padding-top: 12px;
    font-family: var(--mono);
    font-size: 12px;
    line-height: 1.5;
    color: rgba(245, 243, 238, 0.72);
}
.lb-cap b {
    display: block;
    margin-bottom: 3px;
    color: #f5f3ee;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}
@media (max-width: 620px) {
    .lightbox {
        padding: 12px;
    }
    .lb-bar {
        font-size: 10px;
    }
}

/* real product screenshots */
.figure {
    margin-top: 56px;
}
.figure img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--line-2);
}
.figure figcaption {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 12px;
    font-family: var(--mono);
    font-size: 11px;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--mute);
}
.figure figcaption b {
    color: var(--ink);
    font-weight: 600;
    letter-spacing: 0;
}
.fig-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}
/* dense tables are unreadable when squeezed — let the reader pan instead */
@media (max-width: 720px) {
    .figure {
        overflow-x: auto;
        scrollbar-width: thin;
        scrollbar-color: var(--line-2) transparent;
    }
    .figure img {
        width: 900px;
        max-width: none;
    }
    .figure figcaption {
        position: sticky;
        left: 0;
        max-width: 100vw;
    }
}
@media (max-width: 880px) {
    .fig-pair {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
/* a refusal never wears the affirmative colour */
.aud .check .li i.no,
.cmp-list .li i.no {
    color: var(--mark-no);
}
/* … except inside the inverted card, which is dark in both themes */
.cmp-col:last-child .cmp-list .li i {
    color: var(--quark);
}

/* founder's own voice — set as prose, not as a card */
.founder {
    max-width: 68ch;
    margin-top: 48px;
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    text-wrap: pretty;
}
.founder p + p {
    margin-top: 20px;
}
.founder i {
    font-family: var(--serif);
    font-style: italic;
}
.founder b {
    font-weight: 600;
}
.founder .sign {
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mute);
}

/* schematic figures — drawn in the page's own ink, not photographed */
.schematic svg {
    display: block;
    width: 100%;
    max-width: 760px;
    height: auto;
    border: 1px solid var(--line-2);
    background: var(--paper);
}
.sch-box {
    fill: none;
    stroke: var(--ink);
    stroke-width: 1;
}
.sch-fill {
    fill: var(--quark);
    stroke: var(--ink);
    stroke-width: 1;
}
.sch-line {
    fill: none;
    stroke: var(--line-2);
    stroke-width: 1;
}
.sch-line.on {
    stroke: var(--mark-yes);
    stroke-width: 1.5;
}
.sch-hair {
    stroke: var(--line);
    stroke-width: 1;
}
.sch-t {
    fill: var(--ink);
    font-family: var(--mono);
    font-size: 11px;
}
.sch-t.nm {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
}
.sch-t.mu {
    fill: var(--mute);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.sch-t.ac {
    fill: var(--mark-yes);
}
.sch-t.on-fill {
    fill: #0a0a0a;
}
.sch-t.on-fill-mu {
    fill: rgba(10, 10, 10, 0.6);
}

/* standfirst — the whole answer in fifteen seconds, for someone who already met us */
.standfirst {
    padding: 0;
    border-bottom: 1px solid var(--ink);
}
.sf-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.sf-cell {
    padding: 32px 28px 34px;
    border-right: 1px solid var(--line);
}
.sf-cell:last-child {
    border-right: none;
}
.sf-k {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mute);
    padding-bottom: 10px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--line);
}
.sf-v {
    font-size: 14px;
    line-height: 1.55;
    color: var(--ink);
    text-wrap: pretty;
}
.sf-v a {
    color: var(--mark-yes);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}
.sf-v a:hover {
    color: var(--ink);
}
@media (max-width: 1024px) {
    .sf-grid {
        grid-template-columns: 1fr 1fr;
    }
    .sf-cell:nth-child(2n) {
        border-right: none;
    }
    .sf-cell:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }
}
@media (max-width: 640px) {
    .sf-grid {
        grid-template-columns: 1fr;
    }
    .sf-cell {
        border-right: none;
        border-bottom: 1px solid var(--line);
        padding: 24px 0 26px;
    }
    .sf-cell:last-child {
        border-bottom: none;
    }
}

/* marginal plates — small specimens in the outer column, not holes in the text */
.mfig {
    margin: 0;
    align-self: start;
}
.mfig img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--line-2);
    background: #0d0e22;
}
.mfig figcaption {
    margin-top: 8px;
    font-family: var(--mono);
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--mute);
}
/* on a phone the margin is gone, so the specimen rejoins the flow rather than vanishing */
@media (max-width: 1024px) {
    .mfig {
        max-width: 420px;
        margin-top: 24px;
    }
}

/* each plate is shot in the theme it will be read in, so neither fights the page.
   these must out-specify `.figure img`, which also sets display */
.figure img.shot-light {
    display: block;
}
.figure img.shot-dark {
    display: none;
}
html[data-theme="dark"] .figure img.shot-light {
    display: none;
}
html[data-theme="dark"] .figure img.shot-dark {
    display: block;
}
/* a light plate already sits at the paper's value — it needs no single-ink treatment */
.figure img.shot-light {
    filter: none;
}

/* plates are printed in one ink: near-monochrome at rest, so a dark UI sits on
   cream paper instead of punching a hole in it. Colour returns on hover, and the
   viewer always shows the shot as it really is. */
.figure img,
.mfig img {
    filter: grayscale(0.9) sepia(0.08) contrast(0.92) brightness(1.1);
    transition: filter 0.35s ease;
}
.figure:hover img,
.mfig:hover img,
.figure img:focus-visible,
.mfig img:focus-visible {
    filter: none;
}
.lb-stage img {
    filter: none;
}
@media (prefers-reduced-motion: reduce) {
    .figure img,
    .mfig img {
        transition: none;
    }
}

/* paired plates hang at one height — nothing cropped, portrait shots matted */
.fig-pair .figure {
    margin-top: 40px;
}
.fig-pair .figure img {
    height: clamp(260px, 30vw, 420px);
    object-fit: contain;
    background: #0d0e22;
}
.strip-head a {
    color: var(--ink);
    font-weight: 600;
}
.strip-head a:hover {
    color: var(--quark-deep);
}
@media (max-width: 720px) {
    .fig-pair .figure {
        overflow-x: visible;
    }
    .fig-pair .figure img {
        height: auto;
        width: 100%;
    }
}

.viz-ver {
    padding: 0;
    font-family: var(--mono);
    font-size: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.viz-ver .vv-bar {
    padding: 8px 12px;
    border-bottom: 1px solid var(--ink);
    font-size: 11px;
    color: var(--mute);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: flex;
    justify-content: space-between;
}
.viz-ver .vv-bar b {
    color: var(--ink);
    font-weight: 600;
    letter-spacing: 0;
}
.viz-ver .vv-row {
    padding: 10px 12px;
    border-bottom: 1px dashed var(--line);
}
.viz-ver .vv-row:last-child {
    border-bottom: none;
}
.viz-ver .vv-row.draft {
    background: rgba(0, 224, 188, 0.12);
}
.viz-ver .vv-head {
    display: flex;
    align-items: center;
    gap: 8px;
}
.viz-ver .vv-n {
    color: var(--ink);
    font-weight: 700;
}
.viz-ver .vv-s {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 1px 6px;
    border: 1px solid var(--line-2);
    color: var(--mute);
}
.viz-ver .vv-s.live {
    border-color: var(--mark-yes);
    color: var(--mark-yes);
}
.viz-ver .vv-s.draft {
    border-color: var(--mark-no);
    color: var(--mark-no);
}
.viz-ver .vv-note {
    margin-top: 6px;
    color: var(--ink);
}
.viz-ver .vv-meta {
    margin-top: 4px;
    font-size: 11px;
    color: var(--mute);
}
.viz-ver .vv-btns {
    margin-top: 8px;
    display: flex;
    gap: 6px;
}
.viz-ver .vv-btns u {
    text-decoration: none;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border: 1px solid var(--line-2);
    color: var(--mute);
}
.viz-ver .vv-btns u.ok {
    border-color: var(--mark-yes);
    color: var(--mark-yes);
}

/* visual: telegram approve */
.viz-tg {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    justify-content: center;
}
.viz-tg .bubble {
    background: var(--paper-2);
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1.45;
    width: 100%;
    font-family: var(--sans);
    border: 1px solid var(--line);
}
.viz-tg .bubble b {
    font-weight: 600;
}
.viz-tg .bubble.you {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    border-left: 2px solid var(--quark);
    padding: 6px 0 6px 12px;
    color: var(--ink);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.viz-tg .bubble.you::before {
    content: "✓";
    color: var(--quark-deep);
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
}
.viz-tg .bubble .ts {
    display: block;
    font-family: var(--mono);
    font-size: 9px;
    color: var(--mute);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.viz-tg .bubble.you .ts {
    display: inline;
    margin: 0 0 0 auto;
    color: var(--mute);
    font-size: 9px;
}
.viz-tg .bubble .btns {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}
.viz-tg .bubble .btns u {
    flex: 1;
    text-align: center;
    padding: 6px 8px;
    font-family: var(--mono);
    font-size: 10px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid var(--ink);
    color: var(--ink);
    background: var(--paper);
}
.viz-tg .bubble .btns u.ok {
    background: var(--quark);
    border-color: var(--quark);
    color: var(--abs-dark);
}
html[data-theme="dark"] .viz-tg .bubble.you {
    background: transparent;
    color: var(--abs-light);
    border-left-color: var(--quark);
}
html[data-theme="dark"] .viz-tg .bubble.you::before {
    color: var(--quark);
}
html[data-theme="dark"] .viz-tg .bubble.you .ts {
    color: rgba(255, 255, 255, 0.45);
}

/* ─── PRINCIPLES ─── */
.principles {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0;
    margin-top: 48px;
    border-top: 1px solid var(--ink);
    border-left: 1px solid var(--ink);
    background: var(--ink);
}
.principle {
    grid-column: span 4;
    padding: 36px 32px;
    background: var(--paper);
    border-right: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 340px;
    position: relative;
    transition:
        background 0.25s,
        color 0.25s;
}
.principle:hover {
    background: var(--abs-dark);
    color: var(--abs-light);
}
.principle:hover .p-h,
.principle:hover .p-d {
    color: var(--abs-light);
}
.principle:hover .p-num,
.principle:hover .p-meta {
    color: rgba(245, 243, 238, 0.55);
}
.principle:hover .p-glyph {
    background: var(--quark);
    color: var(--abs-dark);
    border-color: var(--quark);
}
.principle.span6 {
    grid-column: span 6;
}
.principle.span12 {
    grid-column: span 12;
    min-height: auto;
    padding: 48px 40px;
}
.principle .p-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.p-num {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--mute);
    text-transform: uppercase;
}
.p-glyph {
    width: 44px;
    height: 44px;
    border: 1px solid var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--paper);
    transition: all 0.25s;
}
.p-glyph svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 1.4;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.p-h {
    font-family: var(--sans);
    font-weight: 500;
    font-size: 24px;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-top: auto;
}
.p-h .ital {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
}
.p-d {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--mute);
}
.principle:hover .p-d {
    color: rgba(255, 255, 255, 0.7);
}
.p-meta {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--mute);
    border-top: 1px dashed var(--line);
    padding-top: 10px;
    margin-top: 8px;
}
.principle.p-final {
    background: var(--abs-dark);
    color: var(--abs-light);
}
.principle.span12.p-final {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr;
    gap: 56px;
    align-items: start;
    row-gap: 24px;
}
.principle.span12.p-final .p-top {
    grid-column: 1/-1;
}
.principle.span12.p-final .p-h {
    align-self: start;
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.05;
    margin: 0;
}
.principle.span12.p-final .p-d {
    margin: 0;
    max-width: none;
    font-size: 15px;
    line-height: 1.6;
}
.principle.span12.p-final .p-meta {
    grid-column: 1/-1;
    justify-self: start;
}
@media (max-width: 900px) {
    .principle.span12.p-final {
        grid-template-columns: 1fr;
    }
}
.principle.p-final .p-h,
.principle.p-final .p-d {
    color: var(--abs-light);
}
.principle.p-final .p-d {
    color: rgba(245, 243, 238, 0.65);
}
.principle.p-final .p-h .ital {
    color: var(--quark);
}
.principle.p-final .p-num {
    color: rgba(245, 243, 238, 0.55);
}
.principle.p-final .p-glyph-q {
    background: var(--quark);
    border-color: var(--quark);
    color: var(--abs-dark);
}
.principle.p-final .p-meta {
    color: var(--quark);
    border-top-color: rgba(245, 243, 238, 0.15);
}
.principle.p-final:hover {
    background: var(--abs-dark);
    color: var(--abs-light);
}
@media (max-width: 1024px) {
    .principle {
        grid-column: span 6;
    }
    .principle.span6 {
        grid-column: span 6;
    }
    .principle.span12 {
        grid-column: span 12;
    }
}
@media (max-width: 680px) {
    .principle,
    .principle.span6,
    .principle.span12 {
        grid-column: span 12;
    }
}

/* ─── ARCH visual ─── */
.arch {
    margin-top: 64px;
    border: 1px solid var(--ink);
    background: var(--paper);
    position: relative;
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.arch::before {
    content: "FIG.01";
    position: absolute;
    top: 14px;
    right: 18px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    color: var(--mute);
}
.arch-svg {
    width: 100%;
    height: auto;
    max-height: 520px;
}
.arch-side h4 {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: 34px;
    line-height: 1.05;
    letter-spacing: -0.02em;
}
.arch-side ol {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    list-style: none;
    counter-reset: archnum;
}
.arch-side li {
    counter-increment: archnum;
    display: grid;
    grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto;
    gap: 4px 12px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink);
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--line);
}
.arch-side li::before {
    content: "0" counter(archnum);
    font-family: var(--mono);
    font-size: 11px;
    color: var(--mute);
    letter-spacing: 0.05em;
    padding-top: 3px;
    grid-column: 1;
    grid-row: 1 / span 2;
}
.arch-side li b {
    font-weight: 600;
    grid-column: 2;
    grid-row: 1;
    display: block;
}
.arch-side li span {
    color: var(--mute);
    grid-column: 2;
    grid-row: 2;
    display: block;
}
@media (max-width: 1024px) {
    .arch {
        grid-template-columns: 1fr;
        padding: 32px;
    }
}

/* ─── AUDIENCE split ─── */
.audience {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 64px;
    border: 1px solid var(--ink);
}
.aud {
    padding: 48px;
    border-right: 1px solid var(--ink);
    position: relative;
}
.aud:last-child {
    border-right: none;
}
.aud .num {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--mute);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.aud h3 {
    margin-top: 14px;
    font-family: var(--sans);
    font-weight: 500;
    font-size: 36px;
    line-height: 1.02;
    letter-spacing: -0.03em;
}
.aud h3 .ital {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
}
.aud p {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--mute);
    max-width: 460px;
}
.aud .check {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
}
.aud .check .li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    align-items: start;
}
.aud .check .li i {
    color: var(--mark-yes);
    font-style: normal;
    font-family: var(--mono);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
}
.aud .pull {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: 42px;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-top: 32px;
    border-left: 2px solid var(--quark);
    padding-left: 18px;
    color: var(--ink);
}
@media (max-width: 1024px) {
    .audience {
        grid-template-columns: 1fr;
    }
    .aud {
        border-right: none;
        border-bottom: 1px solid var(--ink);
    }
    .aud:last-child {
        border-bottom: none;
    }
}

/* ─── §06 PRODUCT FAMILY (Standard Model) ─── */
.family {
    background: var(--abs-dark);
    color: var(--abs-light);
    padding: 140px 0 120px;
    border-top: 1px solid var(--ink);
    position: relative;
    overflow: hidden;
}
.family::before {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        var(--quark) 0%,
        transparent 65%
    );
    opacity: 0.12;
    top: -200px;
    right: -160px;
    filter: blur(80px);
    pointer-events: none;
}
.family::after {
    content: "";
    position: absolute;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        #7d6cf2 0%,
        transparent 65%
    );
    opacity: 0.1;
    bottom: -180px;
    left: -120px;
    filter: blur(80px);
    pointer-events: none;
}
.family .shell {
    position: relative;
}
.family .sec-head {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding-bottom: 48px;
    margin-bottom: 48px;
}
.family .sec-head h2 {
    color: var(--abs-light);
}
.family .sec-head .col-desc {
    color: rgba(255, 255, 255, 0.62);
}
.fam-h2 .ital {
    color: var(--quark);
}
.fam-desc {
    max-width: 48ch;
}

.fam-legend {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 32px;
}
.fam-legend .leg {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.fam-legend .leg i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.leg-core i {
    background: var(--quark);
}
.leg-ops i {
    background: #f1c84b;
}
.leg-fn i {
    background: #7d6cf2;
}
.leg-fut i {
    background: rgba(255, 255, 255, 0.28);
    border: 1px dashed rgba(255, 255, 255, 0.5);
    box-sizing: border-box;
}

/* particle grid */
.particles {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}
.particle {
    padding: 28px 26px 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    grid-column: span 2;
    position: relative;
    display: flex;
    flex-direction: column;
    background: transparent;
    transition:
        background 0.25s,
        border-color 0.25s;
    overflow: hidden;
    min-height: 240px;
}
.particle:hover {
    background: rgba(255, 255, 255, 0.025);
}
.particle .p-symbol {
    font-family: var(--serif);
    font-size: 72px;
    font-weight: 400;
    line-height: 0.85;
    letter-spacing: -0.04em;
    color: var(--abs-light);
    font-feature-settings: "liga" 0;
    margin-bottom: 22px;
    font-style: italic;
}
.particle .p-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.particle .p-cls {
    color: rgba(255, 255, 255, 0.5);
}
.particle .p-tag {
    padding: 3px 8px;
    border: 1px solid currentColor;
    border-radius: 2px;
    line-height: 1;
}
.p-tag-shipped {
    color: var(--quark);
}
.p-tag-roadmap {
    color: #f1c84b;
}
.p-tag-future {
    color: rgba(255, 255, 255, 0.4);
    border-style: dashed;
}
.particle .p-name {
    font-family: var(--sans);
    font-weight: 500;
    font-size: 28px;
    letter-spacing: -0.025em;
    color: var(--abs-light);
    margin: 0 0 10px;
}
.particle .p-role {
    font-family: var(--sans);
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.62);
    text-wrap: pretty;
    margin: 0;
    flex: 1;
}
.particle .p-trace {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 42px;
    color: rgba(74, 228, 194, 0.22);
    pointer-events: none;
    opacity: 0.7;
}
.particle .p-trace svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* color-coded class accents */
.p-core .p-symbol {
    color: var(--quark);
}
.p-core {
    box-shadow: inset 3px 0 0 var(--quark);
}
.p-ops .p-symbol {
    color: #f1c84b;
}
.p-ops {
    box-shadow: inset 3px 0 0 #f1c84b;
}
.p-fn .p-symbol {
    color: #a89bff;
}
.p-fn {
    box-shadow: inset 3px 0 0 #7d6cf2;
}
.p-fut {
    opacity: 0.62;
}
.p-fut .p-symbol {
    color: rgba(255, 255, 255, 0.42);
}
.p-fut .p-name {
    color: rgba(255, 255, 255, 0.78);
}
.p-fut {
    box-shadow: inset 3px 0 0 rgba(255, 255, 255, 0.18);
}
.p-fut .p-trace {
    display: none;
}

/* Phonon hero — span 4, taller */
.p-hero {
    grid-column: span 4;
    background: linear-gradient(
        135deg,
        rgba(74, 228, 194, 0.06) 0%,
        rgba(125, 108, 242, 0.04) 100%
    );
    box-shadow:
        inset 3px 0 0 var(--quark),
        inset 0 0 0 1px rgba(74, 228, 194, 0.12);
}
.p-hero .p-symbol {
    font-size: 108px;
    color: var(--quark);
    margin-bottom: 20px;
}
.p-hero .p-name {
    font-size: 44px;
    letter-spacing: -0.03em;
}
.p-hero .p-role {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.78);
    max-width: 60ch;
}
.p-hero .p-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.p-hero .p-stat b {
    display: block;
    font-family: var(--sans);
    font-weight: 400;
    font-size: 24px;
    letter-spacing: -0.025em;
    color: var(--quark);
    font-feature-settings:
        "tnum" 1,
        "lnum" 1;
    margin-bottom: 4px;
}
.p-hero .p-stat span {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}
.p-hero .p-trace {
    height: 60px;
    color: rgba(74, 228, 194, 0.32);
    opacity: 0.85;
}

.fam-foot {
    margin-top: 56px;
    font-family: var(--sans);
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.55);
    max-width: 78ch;
    text-wrap: pretty;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.fam-foot .fam-foot-k {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-right: 6px;
}
.fam-foot .mono {
    font-family: var(--mono);
    color: var(--quark);
    font-size: 0.92em;
}
.fam-foot i {
    font-family: var(--serif);
    font-style: italic;
    color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 1100px) {
    .particles {
        grid-template-columns: repeat(4, 1fr);
    }
    .particle {
        grid-column: span 2;
    }
    .p-hero {
        grid-column: span 4;
    }
}
@media (max-width: 760px) {
    .particles {
        grid-template-columns: repeat(2, 1fr);
    }
    .particle {
        grid-column: span 2;
    }
    .p-hero {
        grid-column: span 2;
    }
    .p-hero .p-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ─── CTA ─── */
.cta {
    background: var(--abs-dark);
    color: var(--abs-light);
    padding: 120px 0;
    border-top: 1px solid var(--ink);
    position: relative;
    overflow: hidden;
}
.cta h2 {
    color: var(--abs-light);
}
.cta .btn {
    background: var(--quark);
    color: var(--abs-dark);
    border-color: var(--quark);
}
.cta .btn:hover {
    background: var(--abs-light);
    color: var(--abs-dark);
    border-color: var(--abs-light);
}
.cta .btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: var(--abs-light);
    border: 1px solid rgba(245, 243, 238, 0.55);
}
.cta .btn-ghost:hover {
    background: var(--abs-light);
    color: var(--abs-dark);
    border-color: var(--abs-light);
}
.cta::before {
    content: "";
    position: absolute;
    width: 680px;
    height: 680px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        var(--quark) 0%,
        transparent 65%
    );
    opacity: 0.18;
    top: -280px;
    right: -160px;
    filter: blur(20px);
}
.cta-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 64px;
    align-items: end;
}
.cta h2 {
    font-family: var(--sans);
    font-weight: 500;
    font-size: clamp(48px, 6vw, 96px);
    line-height: 0.95;
    letter-spacing: -0.04em;
}
.cta h2 .ital {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
}
.cta h2 .swatch {
    display: inline-block;
    vertical-align: -2px;
    width: 0.84em;
    height: 0.84em;
    background: var(--quark);
    margin: 0 0.04em;
}
.cta-sub {
    font-size: 16px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.6);
    max-width: 440px;
    margin-top: 24px;
}
.cta-side {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 8px 24px;
}
.cta-side .row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 18px;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    font-family: var(--mono);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    align-items: baseline;
}
.cta-side .row:first-child {
    border-top: none;
}
.cta-side .row b {
    color: #fff;
    font-family: var(--sans);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: -0.01em;
    text-transform: none;
}
.cta-actions {
    display: flex;
    gap: 12px;
    margin-top: 48px;
    flex-wrap: wrap;
}
.cta .btn {
    background: var(--quark);
    color: var(--ink);
    border-color: var(--quark);
    padding: 14px 22px;
    font-size: 14px;
}
.cta .btn:hover {
    background: var(--paper);
    color: var(--ink);
    border-color: var(--paper);
}
.cta .btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: var(--paper);
    border: 1px solid rgba(255, 255, 255, 0.55);
}
.cta .btn-ghost:hover {
    background: var(--paper);
    color: var(--ink);
    border-color: var(--paper);
}
@media (max-width: 1024px) {
    .cta-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ─── waitlist ─── */
.wl {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.wl-eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--quark);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.wl-eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--quark);
    display: inline-block;
}
.wl h3 {
    font-family: var(--sans);
    font-weight: 500;
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--abs-light);
    margin-bottom: 10px;
}
.wl p.wl-sub {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.6);
    max-width: 460px;
    margin-bottom: 22px;
}
.wl-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 560px;
}
.wl-form input,
.wl-form select {
    flex: 1 1 200px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: var(--abs-light);
    font-family: var(--sans);
    font-size: 14px;
    padding: 13px 15px;
    border-radius: 0;
    outline: none;
    transition: border-color 0.15s;
}
.wl-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}
.wl-form input:focus,
.wl-form select:focus {
    border-color: var(--quark);
}
.wl-form select {
    color: rgba(255, 255, 255, 0.75);
}
.wl-form select option {
    background: #252556;
    color: #f3efe6;
}
.wl-form button {
    flex: 0 0 auto;
    background: var(--quark);
    color: #0a0a0a;
    border: 1px solid var(--quark);
    font-family: var(--sans);
    font-weight: 600;
    font-size: 14px;
    padding: 13px 26px;
    border-radius: 0;
    cursor: pointer;
    transition:
        background 0.15s,
        color 0.15s;
}
.wl-form button:hover {
    background: var(--abs-light);
    color: #0a0a0a;
    border-color: var(--abs-light);
}
.wl-note {
    font-family: var(--mono);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 12px;
    letter-spacing: 0.02em;
}
.wl-msg {
    font-size: 14px;
    margin-top: 16px;
    color: var(--quark);
    font-weight: 500;
    display: none;
}
.wl-msg.show {
    display: block;
}
@media (max-width: 560px) {
    .wl-form input,
    .wl-form select,
    .wl-form button {
        flex: 1 1 100%;
    }
}

/* ─── FOOTER ─── */
.foot {
    background: var(--abs-dark);
    color: rgba(245, 243, 238, 0.55);
    padding: 48px 0 64px;
    border-top: 1px solid rgba(245, 243, 238, 0.1);
    font-size: 13px;
}
.foot .brand-word,
.foot-brand .brand {
    color: var(--abs-light);
}
.foot-row {
    display: grid;
    grid-template-columns: 1.4fr repeat(2, 1fr);
    gap: 32px;
    align-items: start;
}
.foot-row .col h5 {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 14px;
}
.foot-row .col a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    padding: 4px 0;
    transition: color 0.15s;
}
.foot-row .col a:hover {
    color: var(--quark);
}
.foot-brand .brand-word {
    color: var(--paper);
    font-size: 24px;
}
.foot-brand p {
    margin-top: 16px;
    max-width: 320px;
    line-height: 1.55;
}
.foot-bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-wrap: wrap;
    gap: 12px;
}
@media (max-width: 880px) {
    .foot-row {
        grid-template-columns: 1fr 1fr;
    }
}
