/* ─── reset ─── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }

/* ===================================================================
   Device Cloud — site design system

   Inherited from the app's own palette (Resources/Styles/Colors.xaml,
   theme name "Signal"). Its one law is carried onto the web intact:

       indigo carries the chrome, cyan marks anything live.

   So the icon chips here are two-tone, not a rainbow: indigo for a
   surface or a capability, cyan for anything that is a radio, a
   listener or an address. The signature element is the STATUS SPINE —
   a 3px rail down the left of a card, inert until hover, cyan on the
   things that broadcast. Colour stays scarce, which is the only
   reason it stays legible.
   =================================================================== */

:root {
    /* ---- brand, straight from Colors.xaml ---- */
    --indigo: #4F46E5;
    --indigo-deep: #3730A3;
    --indigo-soft: #A5B4FC;
    --cyan: #06B6D4;
    --cyan-deep: #0E7490;
    --cyan-soft: #67E8F9;
    --ok: #10B981;
    --warn: #F59E0B;
    --stop: #EF4444;

    /* ---- the night band: identical in both themes, because a hero that
       flips is a hero with no identity ---- */
    --night: #0C0E16;
    --night-2: #171A26;
    --night-ink: #ECEEF7;
    --night-ink-2: #9BA2BC;
    --night-line: rgba(236, 238, 247, 0.10);
    --night-line-strong: rgba(236, 238, 247, 0.18);
    --hero: linear-gradient(158deg, #0C0E16 0%, #14133F 40%, #221E63 66%, #101228 100%);

    /* ---- themed surfaces: light ---- */
    --bg: #F4F5FA;
    --surface: #FFFFFF;
    --surface-2: #EDEFF7;
    --ink: #131629;
    --ink-2: #5C6280;
    --ink-3: #8A90AC;
    --line: #E3E5EF;
    --line-soft: rgba(19, 22, 41, 0.05);
    --nav-bg: rgba(255, 255, 255, 0.82);
    --chip-indigo-bg: rgba(79, 70, 229, 0.09);
    --chip-cyan-bg: rgba(6, 182, 212, 0.11);
    --chip-cyan-ink: #0E7490;
    --shadow-card: 0 1px 2px rgba(19, 22, 41, 0.04);

    /* ---- scale ---- */
    --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem; --s5: 1.25rem;
    --s6: 1.5rem; --s8: 2rem; --s10: 2.5rem; --s12: 3rem; --s16: 4rem;
    --s20: 5rem; --s24: 6rem;

    --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 22px;

    --font-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
    --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --fast: 140ms; --normal: 260ms;
    --max: 1180px;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #0C0E16;
        --surface: #171A26;
        --surface-2: #10131E;
        --ink: #ECEEF7;
        --ink-2: #9BA2BC;
        --ink-3: #6E7590;
        --line: #262A3A;
        --line-soft: rgba(236, 238, 247, 0.06);
        --nav-bg: rgba(12, 14, 22, 0.82);
        --chip-indigo-bg: rgba(165, 180, 252, 0.12);
        --chip-cyan-bg: rgba(103, 232, 249, 0.12);
        --chip-cyan-ink: #67E8F9;
        --indigo: #A5B4FC;
        --shadow-card: none;
    }
}

:root[data-theme="dark"] {
    --bg: #0C0E16;
    --surface: #171A26;
    --surface-2: #10131E;
    --ink: #ECEEF7;
    --ink-2: #9BA2BC;
    --ink-3: #6E7590;
    --line: #262A3A;
    --line-soft: rgba(236, 238, 247, 0.06);
    --nav-bg: rgba(12, 14, 22, 0.82);
    --chip-indigo-bg: rgba(165, 180, 252, 0.12);
    --chip-cyan-bg: rgba(103, 232, 249, 0.12);
    --chip-cyan-ink: #67E8F9;
    --indigo: #A5B4FC;
    --shadow-card: none;
}

/* ─── base ─── */
* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    letter-spacing: -0.025em;
    text-wrap: balance;
    margin: 0;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

code, .mono { font-family: var(--font-mono); font-size: 0.9em; }

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

.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--s6);
}

.band { padding: var(--s24) 0; }
.band--tight { padding: var(--s16) 0; }

.band--night {
    background: var(--night);
    color: var(--night-ink);
    position: relative;
}

/* ─── nav ─── */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    background: var(--nav-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}

.nav__inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--s6);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s6);
}

.brand {
    display: flex;
    align-items: center;
    gap: var(--s3);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.06rem;
    letter-spacing: -0.02em;
}

.brand svg { width: 30px; height: 30px; flex: none; }

.nav__links {
    display: flex;
    align-items: center;
    gap: var(--s6);
}

.nav__links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink-2);
    transition: color var(--fast) var(--ease);
}

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

.nav__gh {
    display: inline-flex;
    align-items: center;
    gap: var(--s2);
    padding: var(--s2) var(--s4);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    font-size: 0.85rem;
    font-weight: 500;
    transition: border-color var(--fast) var(--ease), color var(--fast) var(--ease);
}

.nav__gh svg { width: 15px; height: 15px; }
.nav__gh:hover { border-color: var(--ink-3); }

.nav__burger {
    display: none;
    background: none;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    color: var(--ink);
    width: 38px; height: 34px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.nav__burger svg { width: 18px; height: 18px; }

/* ─── buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--s2);
    padding: var(--s3) var(--s6);
    border-radius: var(--r-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease),
                background var(--fast) var(--ease), border-color var(--fast) var(--ease);
}

.btn svg { width: 17px; height: 17px; flex: none; }

.btn--primary {
    background: #4F46E5;
    color: #fff;
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.38);
}
.btn--primary:hover { background: #4338CA; transform: translateY(-1px); }

.btn--ghost {
    background: rgba(236, 238, 247, 0.06);
    color: var(--night-ink);
    border-color: var(--night-line-strong);
}
.btn--ghost:hover { background: rgba(236, 238, 247, 0.12); transform: translateY(-1px); }

.btn--lg { padding: var(--s4) var(--s8); font-size: 1rem; }

/* ─── hero ─── */
.hero {
    position: relative;
    background: var(--hero);
    color: var(--night-ink);
    padding: calc(64px + var(--s24)) 0 var(--s24);
    overflow: hidden;
    isolation: isolate;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 60% 50% at 22% 40%, rgba(79, 70, 229, 0.35) 0%, transparent 62%),
        radial-gradient(ellipse 45% 40% at 78% 22%, rgba(6, 182, 212, 0.18) 0%, transparent 60%);
}

.hero__field {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.hero__field i {
    position: absolute;
    width: 2px; height: 2px;
    border-radius: 50%;
    background: rgba(236, 238, 247, 0.45);
    animation: blink 4s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 0.15; }
    50% { opacity: 0.9; }
}

.hero__inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--s6);
    text-align: center;
    position: relative;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--s2);
    padding: var(--s1) var(--s4);
    border: 1px solid var(--night-line-strong);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--night-ink-2);
    margin-bottom: var(--s8);
}

.hero h1 {
    font-size: clamp(2.6rem, 6.4vw, 4.4rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.045em;
    color: #fff;
    margin-bottom: var(--s6);
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(120deg, var(--indigo-soft) 0%, var(--cyan-soft) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__sub {
    font-size: clamp(1.05rem, 2.2vw, 1.24rem);
    color: rgba(236, 238, 247, 0.72);
    max-width: 630px;
    margin: 0 auto var(--s10);
    line-height: 1.65;
}

.hero__actions {
    display: flex;
    gap: var(--s4);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--s12);
}

/* the live address chip — the hero's thesis: the product IS an address */
.addressbar {
    display: inline-flex;
    align-items: center;
    gap: var(--s4);
    max-width: 100%;
    padding: var(--s3) var(--s3) var(--s3) var(--s5);
    background: rgba(12, 14, 22, 0.55);
    border: 1px solid var(--night-line-strong);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.pulse {
    position: relative;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--cyan);
    flex: none;
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7);
    animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.65); }
    70% { box-shadow: 0 0 0 11px rgba(6, 182, 212, 0); }
    100% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
}

.addressbar__url {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--cyan-soft);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.addressbar__tag {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--night-ink-2);
    padding: var(--s1) var(--s3);
    border: 1px solid var(--night-line);
    border-radius: 999px;
    white-space: nowrap;
}

.hero__caption {
    margin-top: var(--s4);
    font-size: 0.84rem;
    color: rgba(236, 238, 247, 0.45);
}

/* ─── the device skyline divider ─── */
.skyline {
    line-height: 0;
    background: var(--hero);
}

.skyline svg { width: 100%; height: 110px; display: block; }

/* ─── section headers ─── */
.head {
    max-width: 660px;
    margin: 0 auto var(--s12);
    text-align: center;
}

.head--left { text-align: left; margin-left: 0; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--s2);
    padding: var(--s1) var(--s4);
    border-radius: 999px;
    background: var(--chip-indigo-bg);
    color: var(--indigo);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    margin-bottom: var(--s4);
}

.band--night .badge {
    background: rgba(165, 180, 252, 0.14);
    color: var(--indigo-soft);
}

.head h2 {
    font-size: clamp(1.9rem, 3.6vw, 2.7rem);
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: var(--s4);
}

.head p {
    color: var(--ink-2);
    font-size: 1.06rem;
    line-height: 1.7;
}

.band--night .head p { color: var(--night-ink-2); }

/* ─── the status spine card ─── */
.card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: var(--s8);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform var(--normal) var(--ease), border-color var(--normal) var(--ease);
}

.card::before {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 3px; height: 100%;
    background: var(--indigo);
    opacity: 0;
    transition: opacity var(--normal) var(--ease);
}

.card--live::before { background: var(--cyan); }

.card:hover { transform: translateY(-2px); border-color: var(--ink-3); }
.card:hover::before { opacity: 1; }

.chip {
    width: 44px; height: 44px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--s5);
    background: var(--chip-indigo-bg);
    color: var(--indigo);
}

.chip svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.chip--live { background: var(--chip-cyan-bg); color: var(--chip-cyan-ink); }

.card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--s2);
}

.card p {
    font-size: 0.93rem;
    color: var(--ink-2);
    line-height: 1.65;
}

.card p code {
    background: var(--surface-2);
    padding: 1px 5px;
    border-radius: 4px;
    color: var(--ink);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: var(--s6);
}

.card p b { color: var(--ink); font-weight: 600; }

em { font-style: normal; font-weight: 600; color: var(--ink); }
.band--night em, .openers em { color: var(--cyan-soft); font-weight: 500; }

/* ─── routes ─── */
.routes { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: var(--s6); }

.route {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: var(--s6) var(--s6) var(--s6) var(--s8);
    box-shadow: var(--shadow-card);
    transition: border-color var(--normal) var(--ease), transform var(--normal) var(--ease);
}

.route::before {
    content: '';
    position: absolute;
    left: 0; top: var(--s6); bottom: var(--s6);
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--line);
    transition: background var(--normal) var(--ease);
}

.route:hover { transform: translateY(-2px); border-color: var(--ink-3); }
.route:hover::before { background: var(--indigo); }
.route--live:hover::before { background: var(--cyan); }

.route__reach {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: var(--s3);
}

.route--live .route__reach { color: var(--chip-cyan-ink); }

.route h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: var(--s2); }
.route p { font-size: 0.9rem; color: var(--ink-2); line-height: 1.6; }
.route p code { font-family: var(--font-mono); font-size: 0.86em; color: var(--ink); }

/* ─── openers table ─── */
.table-scroll { overflow-x: auto; }

.openers {
    width: 100%;
    border-collapse: collapse;
    min-width: 620px;
    text-align: left;
}

.openers th {
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--night-ink-2);
    padding: 0 var(--s6) var(--s4) 0;
    border-bottom: 1px solid var(--night-line-strong);
}

.openers td {
    padding: var(--s5) var(--s6) var(--s5) 0;
    border-bottom: 1px solid var(--night-line);
    vertical-align: top;
    color: var(--night-ink-2);
    font-size: 0.95rem;
    line-height: 1.6;
}

.openers tr:last-child td { border-bottom: none; }

.openers td:first-child {
    color: var(--night-ink);
    font-weight: 600;
    white-space: nowrap;
    width: 1%;
}

.openers em { font-style: normal; color: var(--cyan-soft); }

/* ─── security ─── */
.security {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: var(--s16);
    align-items: start;
}

.locks { display: flex; flex-direction: column; gap: var(--s5); }

.lock {
    display: flex;
    gap: var(--s4);
    align-items: flex-start;
}

.lock__mark {
    flex: none;
    width: 22px; height: 22px;
    margin-top: 2px;
    border-radius: 50%;
    background: var(--chip-indigo-bg);
    color: var(--indigo);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lock__mark svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.lock p { font-size: 0.96rem; color: var(--ink-2); line-height: 1.65; }
.lock b { color: var(--ink); font-weight: 600; }

.switches {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: var(--s6);
    box-shadow: var(--shadow-card);
}

.switches__title {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: var(--s5);
}

.switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s4);
    padding: var(--s4) 0;
    border-bottom: 1px solid var(--line-soft);
}

.switch:last-child { border-bottom: none; padding-bottom: 0; }

.switch__label { font-size: 0.94rem; font-weight: 500; }
.switch__note { font-size: 0.82rem; color: var(--ink-3); }

.toggle {
    flex: none;
    width: 40px; height: 23px;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    position: relative;
}

.toggle::after {
    content: '';
    position: absolute;
    top: 3px; left: 3px;
    width: 15px; height: 15px;
    border-radius: 50%;
    background: var(--ink-3);
}

.toggle--on { background: var(--cyan-deep); border-color: var(--cyan-deep); }
.toggle--on::after { left: auto; right: 3px; background: #fff; }

/* ─── platforms ─── */
.platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
    gap: var(--s5);
}

.platform {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--s2);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: var(--s6) var(--s5) var(--s5);
    box-shadow: var(--shadow-card);
    transition: border-color var(--fast) var(--ease), transform var(--fast) var(--ease);
}

.platform--soon { background: transparent; border-style: dashed; box-shadow: none; }

.platform__glyph { display: block; color: var(--ink); margin-bottom: var(--s1); line-height: 0; }
.platform__glyph svg { width: 26px; height: 26px; fill: currentColor; }
.platform--soon .platform__glyph { color: var(--ink-3); }
.platform__name { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; }
.platform__meta { font-size: 0.8rem; color: var(--ink-3); }
.platform__spacer { flex: 1; min-height: var(--s4); }

.status {
    display: inline-flex;
    align-items: center;
    gap: var(--s2);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px var(--s3);
    border-radius: 999px;
    margin-bottom: var(--s2);
}

.status--live { background: var(--chip-cyan-bg); color: var(--chip-cyan-ink); }
.status--live::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: currentColor;
}
.status--soon { border: 1px solid var(--line); color: var(--ink-3); }

/* ─── store buttons ─── */
.stores { display: flex; gap: var(--s4); flex-wrap: wrap; }
.stores--center { justify-content: center; }

.store {
    display: inline-flex;
    align-items: center;
    gap: var(--s3);
    padding: var(--s3) var(--s5);
    border-radius: var(--r-md);
    background: var(--ink);
    color: var(--bg);
    border: 1px solid var(--ink);
    transition: transform var(--fast) var(--ease), opacity var(--fast) var(--ease);
    white-space: nowrap;
}

.store:hover { transform: translateY(-1px); opacity: 0.9; }
.store svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.store__lines { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store__small { font-size: 0.66rem; letter-spacing: 0.04em; opacity: 0.75; }
.store__big { font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; letter-spacing: -0.01em; }

.store--night { background: #fff; color: #0C0E16; border-color: #fff; }
.platform .store { width: 100%; justify-content: center; }
.platform .store__lines { text-align: left; }

/* ─── spec panel ─── */
.spec {
    background: var(--night);
    border: 1px solid var(--night-line-strong);
    border-radius: var(--r-md);
    overflow: hidden;
}

.spec__bar {
    padding: var(--s3) var(--s5);
    border-bottom: 1px solid var(--night-line);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--night-ink-2);
}

.spec__rows { padding: var(--s3) var(--s5) var(--s5); }

.spec__row {
    display: flex;
    gap: var(--s5);
    padding: var(--s3) 0;
    border-bottom: 1px solid var(--night-line);
    font-size: 0.88rem;
}

.spec__row:last-child { border-bottom: none; }

.spec__k {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    color: var(--cyan-soft);
    width: 96px;
    flex: none;
    padding-top: 2px;
    letter-spacing: 0.04em;
}

.spec__v { color: var(--night-ink-2); line-height: 1.6; }
.spec__v b { color: var(--night-ink); font-weight: 600; }

/* ─── build block ─── */
.build {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: var(--s12);
    align-items: center;
}

.code {
    background: var(--night);
    border: 1px solid var(--night-line-strong);
    border-radius: var(--r-md);
    overflow: hidden;
}

.code__bar {
    display: flex;
    align-items: center;
    gap: var(--s2);
    padding: var(--s3) var(--s4);
    border-bottom: 1px solid var(--night-line);
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--night-ink-2);
}

.code__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--night-line-strong); }
.code__bar span { margin-left: var(--s3); }

.code pre {
    margin: 0;
    padding: var(--s5);
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 0.84rem;
    line-height: 1.9;
    color: var(--night-ink);
}

.code .c { color: var(--night-ink-2); }
.code .p { color: var(--cyan-soft); }

.facts { display: flex; flex-direction: column; gap: var(--s5); }
.fact { display: flex; gap: var(--s4); }
.fact__k {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--ink-3);
    width: 92px;
    flex: none;
    padding-top: 3px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.fact__v { font-size: 0.95rem; color: var(--ink-2); }
.fact__v b { color: var(--ink); font-weight: 600; }

/* ─── closer ─── */
.closer {
    background: var(--hero);
    border-radius: var(--r-xl);
    padding: var(--s16) var(--s8);
    text-align: center;
    color: var(--night-ink);
    position: relative;
    overflow: hidden;
}

.closer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(6, 182, 212, 0.16), transparent 65%);
}

.closer > * { position: relative; }

.closer h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--s4);
}

.closer p {
    color: rgba(236, 238, 247, 0.7);
    max-width: 540px;
    margin: 0 auto var(--s8);
}

/* ─── footer ─── */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--line);
    padding: var(--s12) 0 var(--s8);
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--s10);
}

.footer__cols { display: flex; gap: var(--s16); flex-wrap: wrap; }

.footer__col h4 {
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: var(--s4);
}

.footer__col ul { display: flex; flex-direction: column; gap: var(--s2); }
.footer__col a { font-size: 0.9rem; color: var(--ink-2); transition: color var(--fast) var(--ease); }
.footer__col a:hover { color: var(--indigo); }

.footer__blurb {
    max-width: 300px;
    font-size: 0.88rem;
    color: var(--ink-3);
    margin-top: var(--s4);
    line-height: 1.6;
}

.footer__bottom {
    margin-top: var(--s10);
    padding-top: var(--s6);
    border-top: 1px solid var(--line-soft);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--s4);
    font-size: 0.84rem;
    color: var(--ink-3);
}

/* ─── reveal ─── */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero__field i, .pulse { animation: none; }
    * { scroll-behavior: auto !important; }
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

/* ─── responsive ─── */
@media (max-width: 900px) {
    .security, .build { grid-template-columns: 1fr; gap: var(--s10); }
    .footer__cols { gap: var(--s10); }
}

@media (max-width: 760px) {
    .band { padding: var(--s16) 0; }
    .nav__links {
        display: none;
        position: absolute;
        top: 64px; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--nav-bg);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border-bottom: 1px solid var(--line);
        padding: var(--s3) var(--s6) var(--s5);
    }
    .nav__links.open { display: flex; }
    .nav__links li { padding: var(--s3) 0; }
    .nav__burger { display: flex; }
    .addressbar { flex-wrap: wrap; border-radius: var(--r-lg); justify-content: center; }
    .fact__k { width: 78px; }
    .skyline svg { height: 70px; }
}
