/* =========================================================================
   VIONIZ — design system
   Ground is the shield's blue, carried through violet and azure gradients.
   Status colour stays semantic: green means verified, coral means detected —
   neither is ever used decoratively.
   ========================================================================= */

:root {
    /* --- brand blue, taken from the shield mark --- */
    --brand:      #1b3f8f;
    --brand-lit:  #3d75e8;
    --azure:      #21b6f2;
    --violet:     #7a5af5;
    --orchid:     #b45cf0;

    /* --- ground: indigo, never black --- */
    --abyss:      #182a6e;
    --hull:       #23378a;
    --steel:      #2f6bd6;
    --haze:       #cbd9fb;
    --haze-lo:    #97aae4;

    /* --- light ground --- */
    --paper:      #eef2fd;
    --vellum:     #f7f9ff;
    --white:      #ffffff;

    /* --- ink --- */
    --ink:        #10173f;
    --ink-2:      #23305e;
    --ink-3:      #4a5788;
    --ink-4:      #7b87b3;
    --rule:       #dde3f5;
    --rule-soft:  #eaeefb;

    /* --- signal: verified / protected --- */
    --signal:     #2ce08a;
    --signal-dk:  #0d9a5b;
    --signal-wash:#e3fbef;

    /* --- ember: detected / blocked --- */
    --ember:      #ff6b6b;
    --ember-dk:   #cf2b46;
    --ember-wash: #ffeaec;

    /* --- gradients --- */
    --grad-brand: linear-gradient(115deg, #1b3f8f 0%, #2f6bd6 28%, #21b6f2 52%, #7a5af5 78%, #b45cf0 100%);
    --grad-soft:  linear-gradient(115deg, #eaf1ff 0%, #f1ecff 50%, #e6f8ff 100%);

    /* --- caution --- */
    --amber:      #e0a63c;
    --amber-dk:   #96650a;
    --amber-wash: #fdf3e0;

    /* --- type --- */
    --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
    --body:    'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --mono:    'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
    /* system faces carry ✓ / × cleanly; IBM Plex Mono does not */
    --mark:    -apple-system, 'Segoe UI Symbol', 'Segoe UI', system-ui, sans-serif;

    /* --- form --- */
    --r-sm: 4px;
    --r:    8px;
    --r-lg: 14px;
    --shadow:    0 2px 6px rgba(6, 22, 31, 0.06), 0 1px 2px rgba(6, 22, 31, 0.04);
    --shadow-lg: 0 18px 40px -18px rgba(6, 22, 31, 0.28), 0 4px 12px -6px rgba(6, 22, 31, 0.12);
    --shadow-dark: 0 24px 60px -24px rgba(0, 0, 0, 0.7);

    /* --- rhythm --- */
    --gutter: clamp(20px, 4vw, 40px);
    --band:   clamp(64px, 8vw, 108px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--body);
    background: var(--white);
    color: var(--ink-3);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }

::selection { background: var(--azure); color: var(--white); }

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

.container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 999;
    background: var(--signal); color: var(--ink);
    font: 600 13px/1 var(--mono);
    padding: 12px 16px; border-radius: var(--r); text-decoration: none;
    transition: top 0.18s;
}
.skip-link:focus { top: 12px; }

/* =========================================================================
   TYPE PRIMITIVES
   ========================================================================= */

/* Monospace eyebrow — always carries a real label, never filler */
.eyebrow {
    font: 500 11.5px/1 var(--mono);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--steel);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.eyebrow::before {
    content: "";
    width: 18px; height: 1px;
    background: currentColor;
    opacity: 0.55;
}
.band-dark .eyebrow { color: #ffffff; }

.k {
    font: 500 11px/1.4 var(--mono);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-4);
}

code {
    font-family: var(--mono);
    font-size: 12.5px;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: var(--r-sm);
    padding: 2px 7px;
    color: var(--ink-2);
    word-break: break-all;
    user-select: all;
}

.muted { color: var(--ink-4); }
.mt { margin-top: 20px; }

/* =========================================================================
   SECTION HEADS
   ========================================================================= */

.sec-head { max-width: 62ch; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head.centre { margin-inline: auto; text-align: center; }
.sec-head.centre .eyebrow { justify-content: center; }

.sec-title {
    font-family: var(--display);
    font-variation-settings: 'wdth' 116, 'wght' 700;
    font-weight: 700;
    font-size: clamp(28px, 3.6vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin: 14px 0 14px;
    text-wrap: balance;
}
.sec-sub { font-size: clamp(15px, 1.5vw, 17px); color: var(--ink-3); max-width: 58ch; }
.sec-head.centre .sec-sub { margin-inline: auto; }

.band { padding-block: var(--band); position: relative; }
.band-paper { background: var(--paper); }
.band-vellum {
    background: var(--grad-soft);
    background-size: 240% 240%;
    animation: drift-brand 30s ease-in-out infinite;
}
.band-dark {
    background: var(--grad-brand);
    background-size: 260% 260%;
    animation: drift-brand 26s ease-in-out infinite;
    color: var(--haze);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.band-dark::before {
    /* slow aurora blooms so the band breathes instead of sitting flat */
    content: ""; position: absolute; inset: -20%; z-index: -1;
    background:
        radial-gradient(38% 46% at 18% 28%, rgba(33, 182, 242, 0.55), transparent 70%),
        radial-gradient(34% 44% at 82% 68%, rgba(180, 92, 240, 0.5), transparent 70%),
        radial-gradient(30% 38% at 60% 12%, rgba(44, 224, 138, 0.28), transparent 72%);
    animation: aurora 24s ease-in-out infinite alternate;
    pointer-events: none;
}
.band-dark > .container { position: relative; }
.band-dark .sec-title { color: var(--white); }
.band-dark .sec-sub { color: #e6ecff; }

@keyframes aurora {
    0%   { transform: translate3d(-4%, -3%, 0) scale(1); }
    50%  { transform: translate3d(5%, 4%, 0) scale(1.12); }
    100% { transform: translate3d(-2%, 6%, 0) scale(1.04); }
}

/* =========================================================================
   ANNOUNCE BAR — scrolls away; the sticky header takes over from here
   ========================================================================= */

.announce {
    position: relative;
    background: linear-gradient(90deg, #0f2a6b, #2f6bd6 30%, #7a5af5 62%, #21b6f2);
    background-size: 300% 100%;
    animation: drift-line 20s linear infinite;
    color: var(--white);
    text-align: center;
}
.announce .container {
    display: flex; align-items: center; justify-content: center;
    gap: 10px 14px; flex-wrap: wrap;
    padding-block: 11px;
    font: 500 12.5px/1.5 var(--mono);
    letter-spacing: 0.06em;
}
.announce .tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 30px; padding: 4px 11px;
    font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
    white-space: nowrap;
}
.announce .tag .beacon {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--signal);
    box-shadow: 0 0 0 0 rgba(44, 224, 138, 0.55);
    animation: beacon 2.6s ease-out infinite;
}
.announce b { font-weight: 600; }

@keyframes beacon {
    0%   { box-shadow: 0 0 0 0 rgba(44, 224, 138, 0.5); }
    70%  { box-shadow: 0 0 0 9px rgba(44, 224, 138, 0); }
    100% { box-shadow: 0 0 0 0 rgba(44, 224, 138, 0); }
}

@media (max-width: 620px) {
    .announce .container { font-size: 11.5px; padding-block: 9px; }
}

/* =========================================================================
   HEADER / NAV
   ========================================================================= */

header {
    position: sticky; top: 0; z-index: 100;
    background: var(--grad-brand);
    background-size: 260% 260%;
    animation: drift-brand 22s ease-in-out infinite;
    box-shadow: 0 6px 26px -14px rgba(27, 63, 143, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
header::after {
    /* a hairline of the accent so the bar reads as lit, not painted */
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
    background: linear-gradient(90deg, var(--azure), var(--violet), var(--orchid), var(--azure));
    background-size: 300% 100%;
    animation: drift-line 14s linear infinite;
    opacity: 0.85;
}

@keyframes drift-brand {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}
@keyframes drift-line {
    from { background-position: 0% 0; }
    to   { background-position: 300% 0; }
}

.nav {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 92px;
}

.brand {
    display: inline-flex; align-items: center; gap: 14px;
    text-decoration: none; flex-shrink: 0;
}
.brand img {
    width: 56px; height: 56px; border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    padding: 2px;
    box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.5);
}
.brand .t {
    font-family: var(--display);
    font-variation-settings: 'wdth' 122, 'wght' 800;
    font-weight: 800;
    font-size: 42px; line-height: 1;
    color: var(--white);
    letter-spacing: -0.02em;
    display: block;
    text-shadow: 0 2px 14px rgba(10, 22, 60, 0.35);
}
footer .brand img { width: 46px; height: 46px; }
footer .brand .t { font-size: 34px; }

.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 26px; }
.nav-links a {
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--r);
    transition: color 0.16s, background-color 0.16s;
}
.nav-links a:hover { color: var(--white); background: rgba(255, 255, 255, 0.16); }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after {
    content: ""; display: block; height: 2px; margin-top: 5px;
    background: var(--white); border-radius: 2px;
}

.nav .spacer { flex: 1; }

.btn-nav {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--white); color: var(--brand);
    border: none; border-radius: 40px;
    font-family: var(--body); font-size: 15px; font-weight: 700;
    padding: 12px 22px; cursor: pointer; text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.55);
    transition: box-shadow 0.16s, transform 0.16s, color 0.16s;
}
.btn-nav:hover { transform: translateY(-2px); color: var(--violet); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.6); }

/* Mobile menu — native disclosure, no JS */
.nav-toggle { display: none; margin-left: auto; position: relative; }
.nav-toggle > summary {
    list-style: none; cursor: pointer;
    width: 40px; height: 40px; border-radius: var(--r);
    display: grid; place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
}
.nav-toggle > summary::-webkit-details-marker { display: none; }
.nav-toggle[open] > summary { background: rgba(255, 255, 255, 0.2); color: var(--white); }
.nav-drawer {
    position: absolute; right: 0; top: 50px; width: min(74vw, 260px);
    background: linear-gradient(150deg, #23378a, #3a2f8f);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-dark);
    padding: 10px;
    display: grid; gap: 2px;
}
.nav-drawer a {
    color: var(--haze); text-decoration: none;
    font-size: 15px; padding: 11px 14px; border-radius: var(--r);
}
.nav-drawer a:hover { background: rgba(203, 217, 251, 0.12); color: var(--white); }

/* =========================================================================
   BUTTONS
   ========================================================================= */

.btn-dl {
    display: inline-flex; align-items: center; gap: 13px;
    background: var(--white); color: var(--ink);
    border: 1px solid transparent; border-radius: var(--r-lg);
    padding: 13px 22px;
    text-decoration: none; cursor: pointer;
    font-family: var(--body);
    transition: transform 0.16s, box-shadow 0.16s;
    box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.55);
}
.btn-dl:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -14px rgba(0, 0, 0, 0.6); }
.btn-dl .os-svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--ink); }
.btn-dl .l1 {
    display: block;
    font: 500 10px/1 var(--mono);
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--ink-4);
}
.btn-dl .l2 { display: block; font-size: 15px; font-weight: 600; color: var(--ink); margin-top: 4px; }
.btn-dl.centered { justify-content: center; width: 100%; }
.btn-dl.dark { background: var(--ink); }
.btn-dl.dark .l1 { color: var(--haze-lo); }
.btn-dl.dark .l2 { color: var(--white); }
.btn-dl.dark .os-svg { color: var(--white); }

.btn-line {
    display: inline-flex; align-items: center; gap: 9px;
    background: transparent; color: var(--white);
    border: 1px solid rgba(203, 217, 251, 0.4);
    border-radius: var(--r-lg); padding: 14px 22px;
    font-family: var(--body); font-size: 15px; font-weight: 500;
    cursor: pointer; text-decoration: none;
    transition: border-color 0.16s, background-color 0.16s;
}
.btn-line:hover { border-color: var(--signal); background: rgba(44, 224, 138, 0.08); }

.btn-submit {
    background: var(--ink); color: var(--white);
    border: none; border-radius: var(--r);
    font-family: var(--body); font-size: 15px; font-weight: 600;
    padding: 13px 24px; cursor: pointer; white-space: nowrap;
    transition: background-color 0.16s, transform 0.16s;
}
.btn-submit:hover { background: var(--ink-2); transform: translateY(-1px); }

.btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--white); color: var(--ink-2);
    border: 1px solid var(--rule); border-radius: var(--r);
    font-family: var(--body); font-size: 14px; font-weight: 500;
    padding: 10px 18px; text-decoration: none;
    transition: border-color 0.16s, background-color 0.16s;
}
.btn-secondary:hover { border-color: var(--steel); background: var(--vellum); }

/* =========================================================================
   PAGE HERO (subpages)
   ========================================================================= */

.page-hero {
    position: relative;
    background: var(--grad-brand);
    background-size: 260% 260%;
    animation: drift-brand 24s ease-in-out infinite;
    color: var(--haze);
    padding: clamp(52px, 7vw, 88px) 0 clamp(48px, 6vw, 76px);
    overflow: hidden;
    isolation: isolate;
    border-bottom: 2px solid rgba(255, 255, 255, 0.22);
}
.page-hero::before {
    content: ""; position: absolute; inset: -15%; z-index: -1;
    background:
        radial-gradient(40% 50% at 20% 25%, rgba(33, 182, 242, 0.6), transparent 70%),
        radial-gradient(36% 46% at 84% 70%, rgba(180, 92, 240, 0.5), transparent 70%);
    animation: aurora 22s ease-in-out infinite alternate;
    pointer-events: none;
}
.page-hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(120% 90% at 78% 0%, #000 0%, transparent 72%);
    -webkit-mask-image: radial-gradient(120% 90% at 78% 0%, #000 0%, transparent 72%);
    pointer-events: none;
}
.page-hero > .container { position: relative; }

.crumb {
    font: 500 11.5px/1 var(--mono);
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--haze-lo); margin-bottom: 22px;
}
.crumb a { color: var(--haze); text-decoration: none; }
.crumb a:hover { color: var(--signal); }

.page-hero h1 {
    font-family: var(--display);
    font-variation-settings: 'wdth' 116, 'wght' 700;
    font-weight: 700;
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.04; letter-spacing: -0.03em;
    color: var(--white);
    text-wrap: balance;
}
.page-hero h1 .accent { color: var(--signal); }
.page-hero p { font-size: clamp(15px, 1.6vw, 18px); color: var(--haze); margin-top: 18px; max-width: 60ch; }

.updated {
    display: inline-flex; align-items: center; gap: 9px;
    margin-top: 26px;
    font: 500 12px/1 var(--mono); letter-spacing: 0.08em;
    color: var(--haze);
    background: rgba(203, 217, 251, 0.1);
    border: 1px solid rgba(203, 217, 251, 0.24);
    padding: 9px 15px; border-radius: 40px;
}

/* =========================================================================
   SECTIONS / CARDS / GRIDS
   ========================================================================= */

.section { padding-block: var(--band); }
.section.alt { background: var(--paper); }

.card {
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: var(--r-lg);
    padding: clamp(22px, 2.4vw, 30px);
}
.card + .card { margin-top: 20px; }
.card h3 {
    font-family: var(--display);
    font-variation-settings: 'wdth' 112, 'wght' 650;
    font-weight: 650;
    font-size: 19px; line-height: 1.2; letter-spacing: -0.015em;
    color: var(--ink);
    margin-bottom: 12px;
    display: flex; align-items: center; gap: 10px;
}
.card p { font-size: 15px; color: var(--ink-3); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2.top, .grid-3.top { align-items: start; }
.top { align-items: start; }

/* =========================================================================
   PANEL — an instrument grid of shared hairlines. Used wherever a set of
   peer capabilities is listed, so features read as one apparatus.
   ========================================================================= */

.panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    border-radius: var(--r-lg);
    overflow: hidden;
}
.panel-cell {
    background: var(--white);
    padding: clamp(26px, 2.8vw, 36px);
    transition: background-color 0.18s;
}
.panel-cell:hover { background: var(--vellum); }
.panel-cell .glyph { width: 44px; height: 44px; color: var(--steel); margin-bottom: 20px; }
.panel-cell:hover .glyph { color: var(--signal-dk); }
.panel-cell h3 {
    font-family: var(--display);
    font-variation-settings: 'wdth' 112, 'wght' 650;
    font-weight: 650; font-size: 19px; letter-spacing: -0.015em;
    color: var(--ink); margin-bottom: 10px;
}
.panel-cell p { font-size: 14.5px; color: var(--ink-3); }
.panel-cell .tag {
    display: inline-block; margin-top: 16px;
    font: 500 10.5px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--ink-4);
}

/* =========================================================================
   TABLES
   ========================================================================= */

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--rule);
    border-radius: var(--r-lg);
    background: var(--white);
}
table { width: 100%; border-collapse: collapse; font-size: 14px; }
/* scroll rather than crush the columns on narrow screens */
.table-wrap table { min-width: 660px; }
thead th {
    background: linear-gradient(100deg, #1b3f8f, #2f6bd6 55%, #6b4de6); color: var(--white);
    text-align: left; padding: 15px 18px;
    font: 500 11.5px/1.3 var(--mono);
    letter-spacing: 0.14em; text-transform: uppercase;
    white-space: nowrap;
}
tbody td {
    padding: 15px 18px;
    border-top: 1px solid var(--rule-soft);
    color: var(--ink-3);
    vertical-align: top;
}
tbody td b { color: var(--ink); font-weight: 600; }
tbody tr { transition: background-color 0.14s; }
tbody tr:hover td { background: var(--vellum); }
tbody td .k { display: block; margin-top: 4px; }

/* =========================================================================
   PILLS / DOTS — semantic only
   ========================================================================= */

.pill {
    display: inline-flex; align-items: center; gap: 7px;
    font: 500 11px/1 var(--mono);
    letter-spacing: 0.1em; text-transform: uppercase;
    padding: 6px 11px; border-radius: 40px; white-space: nowrap;
}
.pill.ok     { background: var(--signal-wash); color: var(--signal-dk); }
.pill.warn   { background: var(--amber-wash);  color: var(--amber-dk); }
.pill.danger { background: var(--ember-wash);  color: var(--ember-dk); }
.pill.neutral{ background: var(--paper);       color: var(--ink-3); }

.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.dot.ok     { background: var(--signal-dk); box-shadow: 0 0 0 4px rgba(44, 224, 138, 0.2); }
.dot.warn   { background: var(--amber);     box-shadow: 0 0 0 4px rgba(224, 166, 60, 0.2); }
.dot.danger { background: var(--ember);     box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.2); }
.dot.maint  { background: var(--steel);     box-shadow: 0 0 0 4px rgba(47, 107, 214, 0.2); }

/* =========================================================================
   STATUS ROWS
   ========================================================================= */

.status-row {
    display: flex; align-items: center; gap: 16px;
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: var(--r);
    padding: 16px 20px;
    transition: border-color 0.16s;
}
.status-row + .status-row { margin-top: 8px; }
.status-row:hover { border-color: var(--steel); }
.status-row .s-name { font-weight: 600; color: var(--ink); font-size: 15px; }
.status-row .s-desc { font-size: 13.5px; color: var(--ink-4); }
.status-row .s-last {
    margin-left: auto; text-align: right; white-space: nowrap;
    font: 500 11.5px/1.8 var(--mono); color: var(--ink-4);
}

/* =========================================================================
   FORMS
   ========================================================================= */

.field { margin-bottom: 18px; }
.field label {
    display: block;
    font: 500 11px/1 var(--mono);
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--ink-3); margin-bottom: 8px;
}
.field input, .field select, .field textarea {
    width: 100%;
    font-family: var(--body); font-size: 15px; color: var(--ink);
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: var(--r);
    padding: 12px 14px;
    outline: none;
    transition: border-color 0.16s, box-shadow 0.16s;
}
.field input:focus, .field select:focus, .field textarea:focus {
    border-color: var(--steel);
    box-shadow: 0 0 0 3px rgba(47, 107, 214, 0.14);
}
.field textarea { min-height: 140px; resize: vertical; }
.field .hint { font-size: 13px; color: var(--ink-4); margin-top: 7px; }

.form-ok, .waitlist-ok {
    display: none;
    font: 500 13px/1.5 var(--mono);
    color: var(--signal-dk); margin-top: 14px;
}
.form-ok.show, .waitlist-ok.show { display: block; }

/* =========================================================================
   PROSE
   ========================================================================= */

.prose { font-size: 15.5px; color: var(--ink-3); }
.prose h3 {
    font-family: var(--display);
    font-variation-settings: 'wdth' 112, 'wght' 650;
    font-weight: 650; font-size: 19px; letter-spacing: -0.015em;
    color: var(--ink); margin: 28px 0 12px;
}
.prose h3:first-child { margin-top: 0; }
.prose h4 { font-size: 15.5px; font-weight: 600; color: var(--ink-2); margin: 20px 0 6px; }
.prose p { margin-bottom: 14px; }
.prose p:last-child { margin-bottom: 0; }
.prose ul, .prose ol { margin: 0 0 14px 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--steel); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose b { color: var(--ink); font-weight: 600; }

/* =========================================================================
   FOOTER
   ========================================================================= */

footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(150deg, #1b3f8f 0%, #2f6bd6 30%, #5a4ee6 62%, #b45cf0 100%);
    background-size: 240% 240%;
    animation: drift-brand 28s ease-in-out infinite;
    color: #d7e0fb;
    padding: clamp(52px, 6vw, 76px) 0 36px;
    border-top: 2px solid rgba(255, 255, 255, 0.22);
}
footer::before {
    content: ""; position: absolute; inset: -25%; z-index: -1;
    background:
        radial-gradient(40% 48% at 12% 20%, rgba(33, 182, 242, 0.5), transparent 70%),
        radial-gradient(36% 44% at 88% 76%, rgba(44, 224, 138, 0.3), transparent 70%);
    animation: aurora 26s ease-in-out infinite alternate;
    pointer-events: none;
}
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px; }
footer .brand-desc { font-size: 14px; color: #d7e0fb; margin-top: 16px; max-width: 34ch; }
.foot-col h4 {
    font: 500 11px/1 var(--mono);
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--white); margin-bottom: 18px;
}
.foot-col a {
    display: block; color: var(--haze); text-decoration: none;
    font-size: 14.5px; padding: 6px 0;
    transition: color 0.16s;
}
.foot-col a:hover { color: var(--white); }
.foot-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    margin-top: 48px; padding-top: 24px;
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    font: 500 11.5px/1.6 var(--mono);
    letter-spacing: 0.06em;
    color: #c3d0f5;
}

.independence {
    display: inline-flex; align-items: center; gap: 9px;
    margin-top: 20px;
    background: rgba(11, 20, 62, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font: 500 11.5px/1 var(--mono); letter-spacing: 0.06em;
    border-radius: 40px; padding: 9px 15px;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */

@media (max-width: 1080px) {
    .panel { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
    .nav-links { display: none; }
    .nav .spacer { display: none; }
    .nav .btn-nav { margin-left: auto; }
    .nav-toggle { display: block; margin-left: 10px; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 860px) {
    .nav { height: 76px; }
    .brand img { width: 44px; height: 44px; border-radius: 11px; }
    .brand .t { font-size: 30px; }
}

@media (max-width: 620px) {
    .nav { height: 68px; }
    .brand img { width: 38px; height: 38px; border-radius: 10px; }
    .brand .t { font-size: 25px; }
    .brand { gap: 10px; }
    .panel { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr; }
    .btn-nav { font-size: 13px; padding: 9px 14px; }
    .foot-bottom { flex-direction: column; gap: 8px; }
}

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