/* ── SolidNetics · "Instrument Panel" marketing design language ─────────
   Used by the landing page (/) and intended as the base for the rest of
   the marketing site as it is rolled over from am-pages.css.

   The visual signature is an engineering drawing, not a SaaS card deck:
     · a two-level blueprint grid on the page ground
     · 2px radii — never the 14-16px pill-rounding of a template
     · corner registration ticks on every framed element
     · IBM Plex Mono for every label, reference and readout
     · § section references hung on a hairline rule
     · information laid out as datasheets and tables rather than cards

   Everything is namespaced .sn-*, which cannot collide with am-pages.css
   (.am-*), still the owner of the /am/* product pages.

   Careful: base.html's footer predates this file and also uses an sn-
   prefix (.sn-footer, .sn-links, .sn-pill, .sn-lead, .sn-aws ...). Those
   rules live in base.html's inline <style>, and the footer renders
   OUTSIDE the .sn wrapper — so a name reused here would leak into it.
   There is no overlap today; check before adding a generic-sounding
   selector (.sn-links, .sn-lead, .sn-pill are taken).                    */

.sn {
    /* Ink family — continuous with the dark navbar/footer chrome that
       base.html paints, but pushed darker so media reads as the light
       source on the page. */
    --sn-ink:       #0B1220;
    --sn-ink-2:     #070C16;
    --sn-panel:     #0E1729;
    --sn-panel-2:   #101B31;
    --sn-line:      #1E2E4A;
    --sn-line-soft: rgba(30, 46, 74, 0.55);

    --sn-txt:       #EAF0FA;
    --sn-muted:     #8FA3C0;
    --sn-dim:       #55688A;

    --sn-accent:    #6550ff;   /* brand purple — the AM module */
    --sn-accent-2:  #5BA8F0;   /* process blue */
    --sn-hot:       #FF7A93;   /* stress / thermal */
    --sn-warm:      #FFB454;   /* melt pool */
    --sn-ok:        #5FD8A6;   /* microstructure / pass */
    --sn-gold:      #F4D770;   /* qualification */

    --sn-grid:      rgba(30, 46, 74, 0.30);
    --sn-grid-fine: rgba(30, 46, 74, 0.14);
    --sn-tick:      rgba(143, 163, 192, 0.45);

    --sn-mono: 'IBM Plex Mono', SFMono-Regular, Menlo, monospace;
    --sn-disp: 'Archivo', system-ui, sans-serif;
    --sn-body: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;

    font-family: var(--sn-body);
    color: var(--sn-txt);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    background-color: var(--sn-ink);
    /* Two-level engineering grid: a 96px major rule over a 24px minor
       rule, with accent bloom in the corners. */
    background-image:
        radial-gradient(1100px 620px at 82% -10%, rgba(101, 80, 255, 0.16), transparent 66%),
        radial-gradient(820px 520px at 2% 12%,  rgba(91, 168, 240, 0.07), transparent 70%),
        linear-gradient(var(--sn-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--sn-grid) 1px, transparent 1px),
        linear-gradient(var(--sn-grid-fine) 1px, transparent 1px),
        linear-gradient(90deg, var(--sn-grid-fine) 1px, transparent 1px);
    background-size: auto, auto, 96px 96px, 96px 96px, 24px 24px, 24px 24px;
    background-position: center top;
}

.sn a { color: inherit; text-decoration: none; }
.sn *, .sn *::before, .sn *::after { box-sizing: border-box; }

.sn-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
}
@media (max-width: 760px) { .sn-wrap { padding: 0 20px; } }

/* ── Registration ticks ────────────────────────────────────────────────
   Eight 1px hairlines drawn as background layers form an L at each
   corner — the mark a framed element gets in a technical drawing.
   Applied via .sn-ticks on any positioned element.                      */
.sn-ticks { position: relative; }
.sn-ticks::before {
    content: '';
    position: absolute;
    inset: -1px;
    pointer-events: none;
    z-index: 3;
    background:
        linear-gradient(var(--sn-tick), var(--sn-tick)) top left     / 11px 1px no-repeat,
        linear-gradient(var(--sn-tick), var(--sn-tick)) top left     / 1px 11px no-repeat,
        linear-gradient(var(--sn-tick), var(--sn-tick)) top right    / 11px 1px no-repeat,
        linear-gradient(var(--sn-tick), var(--sn-tick)) top right    / 1px 11px no-repeat,
        linear-gradient(var(--sn-tick), var(--sn-tick)) bottom left  / 11px 1px no-repeat,
        linear-gradient(var(--sn-tick), var(--sn-tick)) bottom left  / 1px 11px no-repeat,
        linear-gradient(var(--sn-tick), var(--sn-tick)) bottom right / 11px 1px no-repeat,
        linear-gradient(var(--sn-tick), var(--sn-tick)) bottom right / 1px 11px no-repeat;
}

/* ── Title block ───────────────────────────────────────────────────────
   The strip directly under the navbar. Reads like the title block of a
   drawing sheet and sets the register for the whole page.               */
.sn-revbar {
    border-bottom: 1px solid var(--sn-line);
    background: rgba(7, 12, 22, 0.55);
}
.sn-revbar-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 0;
    font-family: var(--sn-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--sn-dim);
}
.sn-revbar-in b { color: var(--sn-muted); font-weight: 500; }
.sn-revbar-mid { color: var(--sn-muted); }
.sn-revbar-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--sn-accent-2);
}
.sn-revbar-live::before {
    content: '';
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--sn-accent-2);
    box-shadow: 0 0 0 0 rgba(91, 168, 240, 0.6);
    animation: sn-pulse 2.4s ease-out infinite;
}
@keyframes sn-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(91, 168, 240, 0.55); }
    70%  { box-shadow: 0 0 0 7px rgba(91, 168, 240, 0); }
    100% { box-shadow: 0 0 0 0 rgba(91, 168, 240, 0); }
}
@media (max-width: 860px) { .sn-revbar-mid { display: none; } }
@media (max-width: 560px) { .sn-revbar-in > span:last-child { display: none; } }

/* ── Type ──────────────────────────────────────────────────────────── */
.sn-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--sn-mono);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sn-accent);
}
.sn-eyebrow::before {
    content: '';
    width: 30px; height: 1px;
    background: currentColor;
    flex-shrink: 0;
}

.sn-h1 {
    font-family: var(--sn-disp);
    font-weight: 900;
    font-size: clamp(44px, 6.4vw, 82px);
    line-height: 0.93;
    letter-spacing: -0.035em;
    color: var(--sn-txt);
    margin: 22px 0 0;
    text-wrap: balance;
}
.sn-h1 em {
    font-style: normal;
    color: var(--sn-dim);
}
.sn-h1 .sn-mark { color: var(--sn-accent); }

.sn-h2 {
    font-family: var(--sn-disp);
    font-weight: 800;
    font-size: clamp(27px, 3.3vw, 42px);
    line-height: 1.05;
    letter-spacing: -0.028em;
    color: var(--sn-txt);
    margin: 0;
    text-wrap: balance;
}

.sn-lede {
    font-size: 16.5px;
    line-height: 1.62;
    color: var(--sn-muted);
    max-width: 56ch;
    margin: 24px 0 0;
}
.sn-lede b { color: var(--sn-txt); font-weight: 600; }

.sn-sub {
    font-size: 15.5px;
    line-height: 1.62;
    color: var(--sn-muted);
    max-width: 74ch;
    margin: 20px 0 44px;
}
.sn-sub b { color: var(--sn-txt); font-weight: 600; }

/* ── Section reference — "§ 02" hung on the rule ────────────────────── */
.sn-section { padding: 96px 0 0; }
.sn-sec-head {
    display: flex;
    align-items: baseline;
    gap: 20px;
    border-top: 1px solid var(--sn-line);
    padding-top: 20px;
    margin-bottom: 4px;
}
.sn-sec-no {
    font-family: var(--sn-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--sn-accent);
    flex-shrink: 0;
    padding-top: 6px;
}
.sn-sec-meta {
    margin-left: auto;
    font-family: var(--sn-mono);
    font-size: 10.5px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--sn-dim);
    text-align: right;
    flex-shrink: 0;
    padding-top: 8px;
}
@media (max-width: 720px) {
    .sn-section { padding-top: 68px; }
    .sn-sec-meta { display: none; }
    .sn-sec-head { gap: 14px; }
}

/* ── Buttons ───────────────────────────────────────────────────────── */
.sn-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}
.sn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 22px;
    border-radius: 2px;
    font-family: var(--sn-mono);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid transparent;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.sn-cta i { font-size: 13px; transition: transform 0.18s ease; }
.sn-cta:hover i { transform: translateX(3px); }
.sn-cta--primary {
    background: var(--sn-accent);
    color: #fff;
    border-color: var(--sn-accent);
}
.sn-cta--primary:hover {
    background: #7a68ff;
    border-color: #7a68ff;
    color: #fff;
}
.sn-cta--ghost {
    color: var(--sn-muted);
    border-color: var(--sn-line);
    background: rgba(16, 27, 49, 0.5);
}
.sn-cta--ghost:hover {
    color: var(--sn-txt);
    border-color: var(--sn-muted);
}

/* ── Media frame ───────────────────────────────────────────────────────
   The one component every GIF / video / still on the site goes through.
   Rendered by the media() macro in templates/_media.html.               */
.sn-frame {
    position: relative;
    border: 1px solid var(--sn-line);
    border-radius: 2px;
    background: var(--sn-panel-2);
}
.sn-frame-media {
    position: relative;
    overflow: hidden;
    line-height: 0;
    background:
        radial-gradient(120% 120% at 50% 0%, rgba(101, 80, 255, 0.06), transparent 60%),
        var(--sn-ink-2);
}
.sn-frame-media > video,
.sn-frame-media > img {
    display: block;
    width: 100%;
    height: auto;
}

/* Caption / dimension bar — cells divided like a measurement line. */
.sn-frame-cap {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    border-top: 1px solid var(--sn-line);
    background: rgba(7, 12, 22, 0.45);
}
.sn-frame-cap > span {
    padding: 9px 12px;
    font-family: var(--sn-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--sn-dim);
    text-align: center;
    border-right: 1px solid var(--sn-line-soft);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sn-frame-cap > span:last-child { border-right: none; }
.sn-frame-cap b { color: var(--sn-muted); font-weight: 500; }

/* Overlay chip pinned inside the media — the leader-line callout. */
.sn-frame-tag {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 11px;
    border: 1px solid var(--sn-line);
    border-radius: 2px;
    background: rgba(7, 12, 22, 0.72);
    backdrop-filter: blur(8px);
    font-family: var(--sn-mono);
    font-size: 10.5px;
    letter-spacing: 0.08em;
    color: var(--sn-muted);
    line-height: 1.4;
}
.sn-frame-tag::before {
    content: '';
    width: 14px; height: 1px;
    background: var(--sn-accent);
    flex-shrink: 0;
}

/* Empty asset slot — hatched like a section cut, so an unfilled slot
   still reads as a deliberate part of the drawing. */
.sn-slot {
    aspect-ratio: var(--sn-ar, 16 / 10);
    display: grid;
    place-items: center;
    text-align: center;
    padding: 24px;
    background-image: repeating-linear-gradient(
        45deg,
        rgba(143, 163, 192, 0.05) 0 1px,
        transparent 1px 10px
    );
}
.sn-slot-glyph {
    width: 46px; height: 46px;
    margin: 0 auto 16px;
    border: 1px solid var(--sn-line);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--sn-dim);
    font-size: 15px;
    background: rgba(11, 18, 32, 0.7);
}
.sn-slot-kind {
    font-family: var(--sn-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--sn-accent);
    margin-bottom: 8px;
}
.sn-slot-name {
    font-family: var(--sn-disp);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.01em;
    color: var(--sn-muted);
    margin-bottom: 7px;
}
.sn-slot-spec {
    font-family: var(--sn-mono);
    font-size: 10.5px;
    letter-spacing: 0.06em;
    color: var(--sn-dim);
    line-height: 1.6;
}
/* Marks a frame whose media is a stand-in awaiting a real capture. */
.sn-frame-pending {
    position: absolute;
    top: 12px; right: 12px;
    z-index: 2;
    padding: 4px 9px;
    border: 1px solid rgba(255, 180, 84, 0.35);
    border-radius: 2px;
    background: rgba(255, 180, 84, 0.11);
    font-family: var(--sn-mono);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sn-warm);
}

/* ── Hero ──────────────────────────────────────────────────────────── */
.sn-hero { padding: 72px 0 0; }
.sn-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.02fr;
    gap: 64px;
    align-items: center;
}
.sn-hero-copy { min-width: 0; }
@media (max-width: 1000px) {
    .sn-hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .sn-hero { padding-top: 52px; }
}

.sn-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 26px;
}
.sn-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border: 1px solid var(--sn-line);
    border-radius: 2px;
    background: rgba(16, 27, 49, 0.6);
    font-family: var(--sn-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--sn-muted);
}
.sn-chip--accent {
    color: var(--sn-accent);
    border-color: rgba(101, 80, 255, 0.38);
    background: rgba(101, 80, 255, 0.1);
}

/* Metric strip under the hero — the readout row. */
.sn-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--sn-line);
    border-radius: 2px;
    background: rgba(14, 23, 41, 0.6);
    margin-top: 72px;
}
.sn-metric {
    padding: 24px 24px 22px;
    border-right: 1px solid var(--sn-line);
}
.sn-metric:last-child { border-right: none; }
.sn-metric-val {
    font-family: var(--sn-disp);
    font-weight: 800;
    font-size: 34px;
    letter-spacing: -0.03em;
    color: var(--sn-txt);
    line-height: 1;
    margin-bottom: 10px;
}
.sn-metric-val small {
    font-size: 0.5em;
    font-weight: 600;
    color: var(--sn-accent);
    margin-left: 2px;
    letter-spacing: 0;
}
.sn-metric-lbl {
    font-family: var(--sn-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--sn-muted);
    margin-bottom: 5px;
}
.sn-metric-note {
    font-size: 12px;
    color: var(--sn-dim);
    line-height: 1.5;
}
@media (max-width: 860px) {
    .sn-metrics { grid-template-columns: repeat(2, 1fr); margin-top: 52px; }
    .sn-metric:nth-child(2) { border-right: none; }
    .sn-metric:nth-child(-n+2) { border-bottom: 1px solid var(--sn-line); }
}
@media (max-width: 460px) {
    .sn-metrics { grid-template-columns: 1fr; }
    .sn-metric { border-right: none; }
    .sn-metric:not(:last-child) { border-bottom: 1px solid var(--sn-line); }
}

/* ── Numbered rows (Physics-AI loop) — hairlines, not cards ─────────── */
.sn-split {
    display: grid;
    grid-template-columns: 1fr 0.92fr;
    gap: 60px;
    align-items: start;
}
@media (max-width: 1000px) { .sn-split { grid-template-columns: 1fr; gap: 40px; } }

.sn-rows { border-top: 1px solid var(--sn-line-soft); }
.sn-row {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 20px;
    padding: 22px 12px 22px 0;
    border-bottom: 1px solid var(--sn-line-soft);
    transition: background 0.18s ease;
}
.sn-row:hover { background: rgba(101, 80, 255, 0.04); }
.sn-row-no {
    font-family: var(--sn-mono);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--sn-row-c, var(--sn-accent));
    padding-top: 3px;
}
.sn-row h4 {
    font-family: var(--sn-disp);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.015em;
    color: var(--sn-txt);
    margin: 0 0 6px;
}
.sn-row p {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--sn-muted);
    margin: 0 0 10px;
}
.sn-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.sn-tool {
    font-family: var(--sn-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--sn-row-c, var(--sn-accent));
    border: 1px solid color-mix(in srgb, var(--sn-row-c, var(--sn-accent)) 32%, transparent);
    background: color-mix(in srgb, var(--sn-row-c, var(--sn-accent)) 11%, transparent);
    border-radius: 2px;
    padding: 3px 8px;
}

/* ── Pipeline · sticky stage viewer ────────────────────────────────── */
.sn-stage-grid {
    display: grid;
    grid-template-columns: 232px 1fr;
    gap: 64px;
    align-items: start;
    margin-top: 40px;
}

/* Grid children default to min-width:auto, which lets wide media and the
   mono I/O rows blow the column out instead of shrinking. */
.sn-stage-flow { min-width: 0; }

.sn-rail {
    position: sticky;
    top: 100px;   /* navbar goes fixed at 76px after 100px of scroll */
    align-self: start;
}
.sn-rail-head {
    font-family: var(--sn-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--sn-dim);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--sn-line);
    margin-bottom: 4px;
}
.sn-rail-list { position: relative; }
/* the spine the stage markers sit on */
.sn-rail-list::before {
    content: '';
    position: absolute;
    left: 4px; top: 14px; bottom: 14px;
    width: 1px;
    background: var(--sn-line);
}
.sn-rail-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 9px 0 9px 20px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    color: var(--sn-dim);
    transition: color 0.2s ease;
}
.sn-rail-item::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 9px; height: 9px;
    border-radius: 50%;
    border: 1px solid var(--sn-line);
    background: var(--sn-ink);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.sn-rail-no {
    font-family: var(--sn-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    width: 22px;
    flex-shrink: 0;
}
.sn-rail-lbl {
    font-family: var(--sn-disp);
    font-weight: 600;
    font-size: 13.5px;
    letter-spacing: -0.01em;
}
.sn-rail-item:hover { color: var(--sn-muted); }
.sn-rail-item.is-active { color: var(--sn-txt); }
.sn-rail-item.is-active::before {
    border-color: var(--sn-rail-c, var(--sn-accent));
    background: var(--sn-rail-c, var(--sn-accent));
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--sn-rail-c, var(--sn-accent)) 20%, transparent);
}
.sn-rail-item.is-active .sn-rail-no { color: var(--sn-rail-c, var(--sn-accent)); }
.sn-rail-foot {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--sn-line);
    font-family: var(--sn-mono);
    font-size: 10px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--sn-dim);
}
.sn-rail-foot b { color: var(--sn-accent); font-weight: 500; }

.sn-stage {
    padding-bottom: 96px;
    scroll-margin-top: 110px;
}
.sn-stage:last-child { padding-bottom: 40px; }
.sn-stage-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.sn-stage-ref {
    font-family: var(--sn-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--sn-stage-c, var(--sn-accent));
}
.sn-stage-rule {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--sn-stage-c, var(--sn-accent)) 45%, transparent), transparent);
}
.sn-tag {
    font-family: var(--sn-mono);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 2px;
    white-space: nowrap;
    flex-shrink: 0;
}
.sn-tag--ent { background: rgba(101, 80, 255, 0.14); color: #9B8EFF; border: 1px solid rgba(101, 80, 255, 0.4); }
.sn-tag--int { background: rgba(143, 163, 192, 0.08); color: var(--sn-muted); border: 1px solid var(--sn-line); }
.sn-tag--new { background: rgba(95, 216, 166, 0.14); color: var(--sn-ok); border: 1px solid rgba(95, 216, 166, 0.4); }

.sn-stage h3 {
    font-family: var(--sn-disp);
    font-weight: 800;
    font-size: clamp(24px, 2.6vw, 32px);
    letter-spacing: -0.028em;
    color: var(--sn-txt);
    margin: 0 0 10px;
}
.sn-stage-lede {
    font-size: 14.5px;
    line-height: 1.62;
    color: var(--sn-muted);
    margin: 0 0 22px;
    max-width: 62ch;
}
.sn-stage-lede b { color: var(--sn-txt); font-weight: 600; }

/* I/O contract — what this stage reads and what it hands on. */
.sn-io {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--sn-line);
    border-top: none;
    border-radius: 0 0 2px 2px;
    margin-top: -1px;
}
.sn-io > div { padding: 13px 16px; min-width: 0; }
.sn-io > div:first-child { border-right: 1px solid var(--sn-line); }
.sn-io-k {
    display: block;
    font-family: var(--sn-mono);
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--sn-dim);
    margin-bottom: 5px;
}
.sn-io-v {
    font-family: var(--sn-mono);
    font-size: 11.5px;
    line-height: 1.55;
    color: var(--sn-muted);
}
.sn-io > div:last-child .sn-io-v { color: var(--sn-stage-c, var(--sn-accent)); }
@media (max-width: 520px) {
    .sn-io { grid-template-columns: 1fr; }
    .sn-io > div:first-child { border-right: none; border-bottom: 1px solid var(--sn-line); }
}

.sn-caps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.sn-cap {
    font-size: 11.5px;
    color: var(--sn-muted);
    background: rgba(255, 255, 255, 0.022);
    border: 1px solid var(--sn-line);
    border-radius: 2px;
    padding: 4px 9px;
}
.sn-stage-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    font-family: var(--sn-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sn-stage-c, var(--sn-accent));
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: border-color 0.18s ease;
}
.sn-stage-link:hover { border-bottom-color: currentColor; }
.sn-stage-link i { transition: transform 0.18s ease; }
.sn-stage-link:hover i { transform: translateX(3px); }

/* Mobile: the rail becomes a horizontal scroller pinned under the nav. */
@media (max-width: 1000px) {
    .sn-stage-grid { grid-template-columns: 1fr; gap: 0; }
    /* Bleed past .sn-wrap's gutter so the pinned bar spans the viewport
       instead of floating with gaps at each edge. */
    .sn-rail {
        top: 76px;
        z-index: 5;
        margin: 0 -28px 32px;
        background: rgba(11, 18, 32, 0.93);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--sn-line);
        padding: 10px 28px;
    }
    .sn-rail-head, .sn-rail-foot { display: none; }
    .sn-rail-list {
        display: flex;
        gap: 6px;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .sn-rail-list::-webkit-scrollbar { display: none; }
    .sn-rail-list::before { display: none; }
    .sn-rail-item {
        width: auto;
        flex-shrink: 0;
        padding: 7px 12px;
        border: 1px solid var(--sn-line);
        border-radius: 2px;
        gap: 8px;
    }
    .sn-rail-item::before { display: none; }
    .sn-rail-item.is-active {
        border-color: var(--sn-rail-c, var(--sn-accent));
        background: color-mix(in srgb, var(--sn-rail-c, var(--sn-accent)) 12%, transparent);
    }
    .sn-rail-no { width: auto; }
    .sn-stage { padding-bottom: 64px; }
}
/* Must follow the 1000px block: at ≤760px both queries match, and the
   gutter the rail bleeds past is 20px there rather than 28px. */
@media (max-width: 760px) {
    .sn-rail { margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; }
}

/* ── Datasheet ─────────────────────────────────────────────────────── */
.sn-spec-wrap {
    border: 1px solid var(--sn-line);
    border-radius: 2px;
    background: rgba(14, 23, 41, 0.55);
    overflow-x: auto;
}
.sn-spec {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}
.sn-spec th {
    font-family: var(--sn-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sn-dim);
    text-align: left;
    padding: 14px 18px;
    border-bottom: 1px solid var(--sn-line);
    white-space: nowrap;
}
.sn-spec th.sn-col-us {
    color: var(--sn-accent);
    background: rgba(101, 80, 255, 0.07);
    border-left: 1px solid rgba(101, 80, 255, 0.3);
    border-right: 1px solid rgba(101, 80, 255, 0.3);
}
.sn-spec td {
    padding: 15px 18px;
    font-size: 13.5px;
    line-height: 1.5;
    border-bottom: 1px solid var(--sn-line-soft);
    vertical-align: top;
}
.sn-spec tbody tr:last-child td { border-bottom: none; }
.sn-spec tbody tr:hover { background: rgba(101, 80, 255, 0.035); }
.sn-spec .sn-spec-k {
    font-family: var(--sn-mono);
    font-size: 11.5px;
    letter-spacing: 0.04em;
    color: var(--sn-muted);
    white-space: nowrap;
}
.sn-spec td.sn-col-us {
    color: var(--sn-txt);
    font-weight: 600;
    background: rgba(101, 80, 255, 0.05);
    border-left: 1px solid rgba(101, 80, 255, 0.3);
    border-right: 1px solid rgba(101, 80, 255, 0.3);
}
.sn-spec tbody tr:last-child td.sn-col-us { border-bottom: 1px solid rgba(101, 80, 255, 0.3); }
.sn-spec td.sn-col-them { color: var(--sn-dim); }

/* ── Industry table ────────────────────────────────────────────────── */
.sn-inds { border-top: 1px solid var(--sn-line); }
.sn-ind-hd, .sn-ind-row {
    display: grid;
    grid-template-columns: 34px 0.72fr 1.14fr 1.14fr;
    gap: 26px;
    align-items: start;
}
.sn-ind-hd {
    padding: 13px 12px 13px 0;
    border-bottom: 1px solid var(--sn-line);
}
.sn-ind-hd span {
    font-family: var(--sn-mono);
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--sn-dim);
}
.sn-ind-hd span:nth-child(3) { color: var(--sn-warm); }
.sn-ind-hd span:nth-child(4) { color: var(--sn-ok); }
.sn-ind-row {
    padding: 24px 12px 24px 0;
    border-bottom: 1px solid var(--sn-line-soft);
    transition: background 0.18s ease;
}
.sn-ind-row:hover { background: rgba(101, 80, 255, 0.04); }
.sn-ind-row:hover .sn-ind-no { color: var(--sn-accent); }
.sn-ind-no {
    font-family: var(--sn-mono);
    font-size: 11px;
    color: var(--sn-dim);
    padding-top: 3px;
    transition: color 0.18s ease;
}
.sn-ind-name {
    font-family: var(--sn-disp);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.018em;
    color: var(--sn-txt);
}
.sn-ind-name small {
    display: block;
    font-family: var(--sn-mono);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--sn-dim);
    margin-top: 6px;
}
.sn-ind-row p {
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0;
    color: var(--sn-muted);
}
.sn-ind-row p.sn-ind-fix { color: var(--sn-txt); }
@media (max-width: 900px) {
    .sn-ind-hd { display: none; }
    .sn-ind-row {
        grid-template-columns: 30px 1fr;
        gap: 8px 18px;
        padding: 22px 0;
    }
    .sn-ind-name { grid-column: 2; }
    .sn-ind-row p { grid-column: 2; margin-top: 10px; }
    .sn-ind-row p::before {
        display: block;
        font-family: var(--sn-mono);
        font-size: 9.5px;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        margin-bottom: 5px;
    }
    .sn-ind-row p.sn-ind-issue::before { content: 'Failure mode'; color: var(--sn-warm); }
    .sn-ind-row p.sn-ind-fix::before { content: 'SolidNetics response'; color: var(--sn-ok); }
}

/* ── How it works — slim numbered band ─────────────────────────────── */
.sn-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--sn-line);
    border-radius: 2px;
    background: rgba(14, 23, 41, 0.5);
}
.sn-step {
    padding: 26px 24px;
    border-right: 1px solid var(--sn-line);
}
.sn-step:last-child { border-right: none; }
.sn-step-no {
    font-family: var(--sn-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--sn-accent);
    margin-bottom: 12px;
}
.sn-step h5 {
    font-family: var(--sn-disp);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.015em;
    color: var(--sn-txt);
    margin: 0 0 7px;
}
.sn-step p {
    font-size: 13px;
    line-height: 1.58;
    color: var(--sn-muted);
    margin: 0;
}
@media (max-width: 800px) {
    .sn-steps { grid-template-columns: 1fr; }
    .sn-step { border-right: none; border-bottom: 1px solid var(--sn-line); }
    .sn-step:last-child { border-bottom: none; }
}

/* ── Core module strip ─────────────────────────────────────────────── */
.sn-core {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 48px;
    border: 1px solid var(--sn-line);
    border-radius: 2px;
    background: rgba(7, 12, 22, 0.5);
    padding: 32px;
}
.sn-core h3 {
    font-family: var(--sn-disp);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.02em;
    color: var(--sn-txt);
    margin: 12px 0 8px;
}
.sn-core p {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--sn-muted);
    margin: 0;
}
.sn-core-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--sn-line);
    border: 1px solid var(--sn-line);
    border-radius: 2px;
    align-self: center;
}
.sn-core-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: var(--sn-ink);
    font-size: 13px;
    color: var(--sn-muted);
    transition: background 0.18s ease, color 0.18s ease;
}
.sn-core-link span {
    font-family: var(--sn-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sn-dim);
    display: block;
    margin-bottom: 3px;
}
.sn-core-link i { color: var(--sn-dim); transition: transform 0.18s ease, color 0.18s ease; }
.sn-core-link:hover { background: var(--sn-panel); color: var(--sn-txt); }
.sn-core-link:hover i { transform: translateX(3px); color: var(--sn-accent-2); }
@media (max-width: 860px) {
    .sn-core { grid-template-columns: 1fr; gap: 28px; padding: 26px; }
    .sn-core-links { grid-template-columns: 1fr; }
}

/* ── Final CTA ─────────────────────────────────────────────────────── */
.sn-final {
    margin-top: 110px;
    border-top: 1px solid var(--sn-line);
    padding: 90px 0 100px;
    text-align: center;
    background:
        radial-gradient(760px 300px at 50% 0%, rgba(101, 80, 255, 0.16), transparent 70%);
}
.sn-final h2 {
    font-family: var(--sn-disp);
    font-weight: 900;
    font-size: clamp(30px, 4.4vw, 54px);
    line-height: 1.02;
    letter-spacing: -0.035em;
    color: var(--sn-txt);
    margin: 22px auto 0;
    max-width: 18ch;
    text-wrap: balance;
}
.sn-final p {
    font-size: 15.5px;
    line-height: 1.62;
    color: var(--sn-muted);
    max-width: 60ch;
    margin: 22px auto 0;
}
.sn-final .sn-cta-row { justify-content: center; }
.sn-final .sn-eyebrow { justify-content: center; }

/* ── Motion ────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .sn *, .sn *::before, .sn *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}
