/* =====================================================================
   SF Innovations — modern fiber ISP site
   Palette: deep navy + electric cyan + mint
   ===================================================================== */

:root {
    /* Brand */
    --c-cyan-50:  #E6FBFF;
    --c-cyan-200: #7DE5FF;
    --c-cyan-400: #00D4FF;
    --c-cyan-500: #00B4DB;
    --c-cyan-600: #0091B4;

    --c-mint-300: #A8FFE0;
    --c-mint-400: #7CF8C5;
    --c-mint-500: #34D399;

    --c-indigo: #6366F1;
    --c-amber:  #FFB020;
    --c-rose:   #F43F5E;

    /* Surfaces — dark default */
    --bg:        #07101F;
    --bg-elev:   #0D1A2E;
    --bg-soft:   #0F2138;
    --bg-alt:    #0A1729;

    --surface:    rgba(255, 255, 255, .035);
    --surface-2:  rgba(255, 255, 255, .06);
    --surface-3:  rgba(255, 255, 255, .09);

    --border:     rgba(255, 255, 255, .07);
    --border-2:   rgba(255, 255, 255, .14);
    --border-bright: rgba(0, 212, 255, .35);

    /* Type */
    --fg:        #E6EDF7;
    --fg-strong: #FFFFFF;
    --fg-muted:  #94A3B8;
    --fg-dim:    #64748B;

    /* Brand gradients (cyan → mint, single signature) */
    --grad-brand:
        linear-gradient(120deg, var(--c-cyan-400) 0%, var(--c-mint-400) 100%);
    --grad-brand-soft:
        linear-gradient(120deg, rgba(0, 212, 255, .14), rgba(124, 248, 197, .14));
    --grad-brand-glow:
        radial-gradient(60% 80% at 50% 0%, rgba(0, 212, 255, .35), transparent 70%);

    /* Layout */
    --radius-xs: 8px;
    --radius-sm: 12px;
    --radius:    16px;
    --radius-lg: 22px;
    --radius-xl: 32px;

    --shadow-card:     0 1px 0 0 rgba(255, 255, 255, .04) inset, 0 18px 50px -25px rgba(0, 0, 0, .55);
    --shadow-elev:     0 1px 0 0 rgba(255, 255, 255, .05) inset, 0 30px 80px -30px rgba(0, 0, 0, .7);
    --shadow-glow-cy:  0 14px 40px -14px rgba(0, 212, 255, .55);
    --shadow-glow-mn:  0 14px 40px -14px rgba(124, 248, 197, .35);

    --container: 1180px;
    --header-h:  68px;
    --announce-h: 36px;

    --ease: cubic-bezier(.22, 1, .36, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);

    --font-sans:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
    --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* Light theme */
html[data-theme="light"] {
    --bg:         #F4F7FB;
    --bg-elev:    #FFFFFF;
    --bg-soft:    #ECF1F8;
    --bg-alt:     #F8FAFD;

    --surface:    rgba(15, 23, 42, .04);
    --surface-2:  rgba(15, 23, 42, .07);
    --surface-3:  rgba(15, 23, 42, .10);

    --border:     rgba(15, 23, 42, .08);
    --border-2:   rgba(15, 23, 42, .15);
    --border-bright: rgba(0, 145, 180, .35);

    --fg:        #0B1220;
    --fg-strong: #050912;
    --fg-muted:  #475569;
    --fg-dim:    #64748B;

    --shadow-card:     0 1px 0 0 rgba(15, 23, 42, .03) inset, 0 12px 30px -18px rgba(15, 23, 42, .25);
    --shadow-elev:     0 1px 0 0 rgba(15, 23, 42, .05) inset, 0 24px 60px -24px rgba(15, 23, 42, .3);
}

/* ===================== Base ===================== */

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + var(--announce-h));
    background: var(--bg);
    color-scheme: dark;
}

html[data-theme="light"] { color-scheme: light; }

body {
    margin: 0;
    background: transparent;
    color: var(--fg);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }

a {
    color: inherit;
    text-decoration: none;
    transition: color .2s var(--ease);
}
a:hover { color: var(--c-cyan-400); }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.1;
    margin: 0 0 .5em;
    color: var(--fg-strong);
}

p { margin: 0 0 1em; color: var(--fg-muted); }
em { font-style: italic; color: var(--fg-strong); }

::selection {
    background: rgba(0, 212, 255, .35);
    color: var(--fg-strong);
}

/* Lift content above fixed orbs */
main, .site-footer { position: relative; z-index: 1; }
.announce { position: relative; z-index: 2; }

.skip-link {
    position: absolute;
    top: -100px; left: 16px;
    background: var(--c-cyan-400);
    color: #001620;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 600;
    z-index: 1000;
    transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

.container {
    width: min(100% - 2.5rem, var(--container));
    margin-inline: auto;
}

/* ===================== Background ===================== */

.bg-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 80%);
    opacity: .9;
}

html[data-theme="light"] .bg-grid {
    background-image:
        linear-gradient(to right, rgba(15, 23, 42, .06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 23, 42, .06) 1px, transparent 1px);
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: .55;
}
.bg-orb--cyan {
    width: 640px; height: 640px;
    top: -260px; left: -180px;
    background: radial-gradient(circle, var(--c-cyan-400), transparent 65%);
}
.bg-orb--mint {
    width: 560px; height: 560px;
    top: 8%; right: -200px;
    background: radial-gradient(circle, var(--c-mint-400), transparent 65%);
    opacity: .35;
}
html[data-theme="light"] .bg-orb { opacity: .25; }
html[data-theme="light"] .bg-orb--mint { opacity: .18; }

/* ===================== Announcement bar ===================== */

.announce {
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    font-size: .82rem;
    color: var(--fg-muted);
}
.announce-row {
    height: var(--announce-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.status {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-family: var(--font-mono);
    font-size: .78rem;
    letter-spacing: .01em;
}
.status strong { color: var(--fg); font-weight: 500; }
.status-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--c-mint-400);
    box-shadow: 0 0 0 0 rgba(124, 248, 197, .55);
    animation: pulse 2.4s ease-out infinite;
    display: inline-block;
}
.status-dot--inline { vertical-align: middle; margin-right: .35em; }
.status-dot--amber { background: var(--c-amber); box-shadow: none; animation: none; }

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(124, 248, 197, .5); }
    70%  { box-shadow: 0 0 0 8px rgba(124, 248, 197, 0); }
    100% { box-shadow: 0 0 0 0 rgba(124, 248, 197, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .status-dot { animation: none; }
}

.announce-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: var(--fg-muted);
    font-weight: 500;
}
.announce-link svg { width: 14px; height: 14px; }
.announce-link:hover { color: var(--c-cyan-400); }

@media (max-width: 640px) {
    .announce-link span { display: none; }
    .status > span:last-child { font-size: .72rem; }
}

/* ===================== Header ===================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: color-mix(in srgb, var(--bg) 70%, transparent);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s var(--ease), background .25s var(--ease);
}
.site-header.is-scrolled {
    background: color-mix(in srgb, var(--bg) 90%, transparent);
    border-bottom-color: var(--border);
}

.header-inner {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--fg-strong);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -.02em;
}
.logo:hover { color: var(--fg-strong); }
.logo-mark { width: 26px; height: 26px; }
.logo-text { display: inline-block; }
.logo-text em {
    font-style: normal;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.primary-nav ul {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    gap: 2rem;
    font-weight: 500;
    font-size: .92rem;
}
.primary-nav a {
    position: relative;
    color: var(--fg-muted);
    padding: 6px 0;
}
.primary-nav a::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 2px;
    background: var(--grad-brand);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .25s var(--ease);
}
.primary-nav a:hover { color: var(--fg-strong); }
.primary-nav a:hover::after,
.primary-nav a.is-active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.theme-toggle, .menu-toggle, .menu-close {
    width: 38px; height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--fg);
    border: 1px solid var(--border);
    background: var(--surface);
    transition: background .2s var(--ease), border-color .2s var(--ease);
}
.theme-toggle:hover, .menu-toggle:hover, .menu-close:hover {
    background: var(--surface-2);
    border-color: var(--border-2);
}
.theme-toggle .icon { width: 16px; height: 16px; }
.theme-toggle .icon-moon { display: none; }
html[data-theme="light"] .theme-toggle .icon-sun  { display: none; }
html[data-theme="light"] .theme-toggle .icon-moon { display: block; }

.menu-toggle { display: none; }
.menu-toggle svg { width: 18px; height: 18px; }

@media (max-width: 940px) {
    .primary-nav { display: none; }
    .menu-toggle { display: inline-flex; }
}
@media (max-width: 520px) {
    .header-cta { display: none; }
}

/* ===================== Mobile nav ===================== */

.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: color-mix(in srgb, var(--bg) 95%, transparent);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s var(--ease);
}
.mobile-nav.is-open {
    opacity: 1;
    pointer-events: auto;
}
.mobile-nav-inner {
    width: min(100% - 2rem, 480px);
    margin: 1rem auto 0;
    padding: 1rem 0 2rem;
}
.mobile-nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 .25rem 1.5rem;
}
.mobile-nav ul {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    gap: .25rem;
}
.mobile-nav a {
    display: block;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--fg-strong);
    border: 1px solid transparent;
    transition: background .2s var(--ease), border-color .2s var(--ease);
}
.mobile-nav a:hover {
    background: var(--surface);
    border-color: var(--border);
}
.mobile-cta {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

/* ===================== Buttons ===================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .8rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .92rem;
    line-height: 1;
    border: 1px solid transparent;
    transition:
        transform .2s var(--ease),
        box-shadow .2s var(--ease),
        background .2s var(--ease),
        color .2s var(--ease),
        border-color .2s var(--ease);
    white-space: nowrap;
    cursor: pointer;
}
.btn svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
    color: #061824;
    background: var(--grad-brand);
    box-shadow: var(--shadow-glow-cy);
}
.btn--primary:hover {
    color: #061824;
    transform: translateY(-1px);
    box-shadow: 0 18px 48px -14px rgba(0, 212, 255, .65);
}

.btn--ghost {
    color: var(--fg-strong);
    background: var(--surface);
    border-color: var(--border-2);
    backdrop-filter: blur(8px);
}
.btn--ghost:hover {
    color: var(--fg-strong);
    background: var(--surface-2);
    border-color: var(--c-cyan-400);
    transform: translateY(-1px);
}

.btn--sm  { padding: .6rem 1rem;    font-size: .85rem; }
.btn--lg  { padding: 1rem 1.6rem;   font-size: 1rem; }
.btn--block { display: flex; width: 100%; }

/* ===================== Hero ===================== */

.hero {
    position: relative;
    padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2rem, 5vw, 4rem);
}

.hero::before {
    content: "";
    position: absolute;
    inset: -10% 0 auto 0;
    height: 100%;
    background: var(--grad-brand-glow);
    pointer-events: none;
    opacity: .8;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    position: relative;
}
@media (max-width: 940px) {
    .hero-grid { grid-template-columns: 1fr; }
}

.hero-copy { max-width: 620px; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .8rem .4rem .55rem;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border-2);
    color: var(--fg);
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .01em;
    margin-bottom: 1.5rem;
}
.badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--c-mint-400);
    box-shadow: 0 0 0 4px rgba(124, 248, 197, .15);
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.4rem, 5.6vw, 4.4rem);
    line-height: 1.05;
    letter-spacing: -.035em;
    margin: 0 0 1.25rem;
}
.hero-title em {
    font-style: italic;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lede {
    font-size: clamp(1rem, 1.3vw, 1.13rem);
    color: var(--fg-muted);
    max-width: 540px;
    margin: 0 0 2rem;
}

/* Coverage form */
.coverage-form {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .5rem;
    padding: .35rem .35rem .35rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border-2);
    border-radius: 999px;
    max-width: 520px;
    margin-bottom: 2rem;
    transition: border-color .2s var(--ease), background .2s var(--ease);
}
.coverage-form:focus-within {
    border-color: var(--c-cyan-400);
    background: var(--surface-2);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, .12);
}
.coverage-form input {
    appearance: none;
    background: transparent;
    border: 0;
    outline: none;
    color: var(--fg-strong);
    font: 500 1rem / 1.2 var(--font-sans);
    padding: .85rem .25rem .85rem 1.6rem;
    width: 100%;
    letter-spacing: .02em;
}
.coverage-form input::placeholder { color: var(--fg-dim); }
.coverage-icon {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--fg-dim);
    pointer-events: none;
}
.coverage-icon svg { width: 16px; height: 16px; }
.coverage-feedback {
    position: absolute;
    left: 1.5rem;
    top: calc(100% + .5rem);
    margin: 0;
    font-size: .85rem;
    color: var(--fg-muted);
    min-height: 1.2em;
}
.coverage-feedback.is-success { color: var(--c-mint-400); }
.coverage-feedback.is-error   { color: var(--c-rose); }
.coverage-feedback.is-info    { color: var(--c-amber); }

@media (max-width: 520px) {
    .coverage-form {
        grid-template-columns: 1fr;
        border-radius: var(--radius-lg);
        padding: .8rem;
    }
    .coverage-icon { left: 1.5rem; top: 1.4rem; transform: none; }
    .coverage-form input { padding: .65rem .25rem .65rem 1.6rem; }
    .coverage-form .btn { width: 100%; }
}

.hero-meta {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
}
.hero-meta li {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}
.hero-meta strong {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--fg-strong);
    font-weight: 700;
    letter-spacing: -.01em;
}
.hero-meta span {
    font-size: .78rem;
    color: var(--fg-dim);
    text-transform: uppercase;
    letter-spacing: .12em;
}

/* Hero visual: dashboard mock */
.card {
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-elev);
    overflow: hidden;
    position: relative;
}
.card--mock {
    backdrop-filter: blur(10px);
    background: color-mix(in srgb, var(--bg-elev) 88%, transparent);
}
.card--mock::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(0,212,255,.35), transparent 40%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.mock-head {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .85rem 1.1rem;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}
.mock-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--surface-3);
}
.mock-dot:first-child { background: var(--c-rose); opacity: .85; }
.mock-dot:nth-child(2) { background: var(--c-amber); opacity: .85; }
.mock-dot:nth-child(3) { background: var(--c-mint-400); opacity: .85; }
.mock-title {
    margin-left: .75rem;
    font-family: var(--font-mono);
    font-size: .75rem;
    color: var(--fg-dim);
}
.mock-body {
    padding: 1.25rem 1.4rem;
    display: grid;
    gap: .85rem;
}
.mock-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}
.mock-label {
    font-family: var(--font-mono);
    font-size: .72rem;
    color: var(--fg-dim);
    text-transform: uppercase;
    letter-spacing: .12em;
}
.mock-value { color: var(--fg); font-weight: 500; }
.mock-mono { font-family: var(--font-mono); font-size: .85rem; }
.mock-stat {
    align-items: stretch;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem 1.1rem;
}
.mock-stat > div {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    flex: 1;
}
.mock-stat > div + div {
    border-left: 1px solid var(--border);
    padding-left: 1.1rem;
}
.mock-big {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--fg-strong);
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.mock-meter {
    position: relative;
    height: 6px;
    border-radius: 999px;
    background: var(--surface);
    overflow: hidden;
}
.mock-meter > span {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--w, 50%);
    background: var(--grad-brand);
    border-radius: inherit;
}

/* ===================== Marquee ===================== */

.marquee {
    border-block: 1px solid var(--border);
    background: var(--bg-alt);
    padding: 1rem 0;
    overflow: hidden;
}
.marquee-fade {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: marquee 40s linear infinite;
    white-space: nowrap;
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--fg-muted);
    letter-spacing: -.01em;
}
.marquee-track span:nth-child(odd) { color: var(--fg-strong); }
.marquee-track span:nth-child(even) { color: var(--c-cyan-400); }

@keyframes marquee {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
}

/* ===================== Section system ===================== */

.section {
    padding: clamp(3.5rem, 8vw, 7rem) 0;
    position: relative;
}
.section--tight  { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.section--alt    { background: var(--bg-alt); }
html[data-theme="light"] .section--alt { background: #EEF3F9; }

.section-head {
    max-width: 720px;
    margin-bottom: 3rem;
}
.section-head--center {
    margin-inline: auto;
    text-align: center;
}
.section-head .eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--c-cyan-400);
    margin-bottom: .85rem;
}
.section-head h2 {
    font-size: clamp(1.85rem, 3.6vw, 2.85rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}
.section-head p {
    font-size: 1.02rem;
    line-height: 1.65;
}

/* ===================== KPIs ===================== */

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
@media (max-width: 940px) {
    .kpi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .kpi-grid { grid-template-columns: 1fr; }
}
.kpi {
    padding: 1.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color .25s var(--ease), background .25s var(--ease);
}
.kpi:hover {
    background: var(--surface-2);
    border-color: var(--border-bright);
}
.kpi-num {
    display: flex;
    align-items: baseline;
    gap: .25rem;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--fg-strong);
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: .85rem;
    letter-spacing: -.02em;
}
.kpi-num small {
    font-size: .9rem;
    font-weight: 500;
    color: var(--fg-muted);
    background: none;
    -webkit-text-fill-color: initial;
    margin-left: .15rem;
}
.kpi p {
    margin: 0;
    color: var(--fg-muted);
    font-size: .95rem;
    line-height: 1.55;
}

/* ===================== Offerings ===================== */

.offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
@media (max-width: 940px) {
    .offer-grid { grid-template-columns: 1fr; }
}
.offer-card {
    position: relative;
    padding: 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.offer-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-2);
    background: var(--surface-2);
}
.offer-card--featured {
    background: linear-gradient(180deg, rgba(0, 212, 255, .08), transparent 60%), var(--surface);
    border-color: var(--border-bright);
}
.offer-tag {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-family: var(--font-mono);
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #061824;
    background: var(--grad-brand);
    padding: .3rem .6rem;
    border-radius: 999px;
    font-weight: 600;
}
.offer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--surface-2);
    border: 1px solid var(--border-2);
    color: var(--c-cyan-400);
    margin-bottom: 1.25rem;
}
.offer-icon svg { width: 22px; height: 22px; }
.offer-card h3 {
    font-size: 1.25rem;
    margin-bottom: .5rem;
}
.offer-card > p {
    color: var(--fg-muted);
    margin-bottom: 1rem;
    flex-grow: 0;
}
.offer-list {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: grid;
    gap: .5rem;
    color: var(--fg);
    font-size: .92rem;
}
.offer-list li {
    position: relative;
    padding-left: 1.4rem;
}
.offer-list li::before {
    content: "";
    position: absolute;
    left: 0; top: .55em;
    width: 14px; height: 2px;
    background: var(--grad-brand);
    border-radius: 2px;
}

.link-arrow {
    align-self: flex-start;
    margin-top: auto;
    color: var(--c-cyan-400);
    font-weight: 500;
    font-size: .92rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: border-color .2s var(--ease), gap .2s var(--ease);
}
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover { border-bottom-color: currentColor; gap: .55rem; }

/* ===================== Feature (storytelling) ===================== */

.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
}
.feature--reverse .viz { order: 2; }
@media (max-width: 880px) {
    .feature { grid-template-columns: 1fr; }
    .feature--reverse .viz { order: 0; }
}
.feature-copy h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    margin-bottom: 1rem;
}
.feature-copy > p {
    color: var(--fg-muted);
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.check-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .65rem;
}
.check-list li {
    position: relative;
    padding-left: 2rem;
    color: var(--fg);
    font-size: .98rem;
}
.check-list li::before {
    content: "";
    position: absolute;
    left: 0; top: .35em;
    width: 18px; height: 18px;
    border-radius: 6px;
    background:
        linear-gradient(135deg, rgba(0,212,255,.18), rgba(124,248,197,.18)),
        var(--surface-2);
    border: 1px solid var(--border-bright);
}
.check-list li::after {
    content: "";
    position: absolute;
    left: 4px; top: calc(.35em + 4px);
    width: 10px; height: 6px;
    border-left: 2px solid var(--c-mint-400);
    border-bottom: 2px solid var(--c-mint-400);
    transform: rotate(-45deg);
}

/* Symmetric viz */
.symmetric-vis {
    margin-top: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.4rem;
    display: grid;
    gap: .9rem;
    font-family: var(--font-mono);
    font-size: .8rem;
}
.symmetric-row {
    display: grid;
    grid-template-columns: 60px 1fr 90px;
    align-items: center;
    gap: 1rem;
}
.symmetric-label {
    color: var(--fg-dim);
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: .7rem;
}
.bar {
    position: relative;
    height: 8px;
    border-radius: 999px;
    background: var(--surface-2);
    overflow: hidden;
}
.bar-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--p, 0%);
    background: var(--grad-brand);
    border-radius: inherit;
}
.bar-fill--muted { background: var(--c-amber); opacity: .65; }
.symmetric-num {
    text-align: right;
    color: var(--fg-strong);
    font-size: .85rem;
}
.symmetric-num--muted { color: var(--c-amber); }
.symmetric-row--cable .symmetric-label,
.symmetric-row--cable .symmetric-num { opacity: .8; }

/* ===================== Tiers (info-style, no card boxes) ===================== */

.tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-block: 1px solid var(--border);
}
@media (max-width: 940px) {
    .tiers {
        grid-template-columns: 1fr;
        border-block: 0;
    }
}

.tier {
    position: relative;
    padding: 2.5rem 2rem;
    border-right: 1px solid var(--border);
    background: transparent;
    transition: background .25s var(--ease);
}
.tier:last-child { border-right: 0; }
.tier:hover { background: var(--surface); }

@media (max-width: 940px) {
    .tier {
        border-right: 0;
        border-bottom: 1px solid var(--border);
        padding: 2rem 0;
    }
    .tier:last-child { border-bottom: 0; }
}

.tier--featured::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: var(--grad-brand);
}
@media (max-width: 940px) {
    .tier--featured::before { display: none; }
    .tier--featured {
        border-left: 2px solid;
        border-image: var(--grad-brand) 1;
        padding-left: 1.25rem;
    }
}

.tier-badge {
    position: absolute;
    top: -.7rem;
    left: 1.8rem;
    font-family: var(--font-mono);
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .15em;
    background: var(--grad-brand);
    color: #061824;
    padding: .25rem .65rem;
    border-radius: 999px;
    font-weight: 600;
}
@media (max-width: 940px) {
    .tier-badge { position: static; display: inline-block; margin-bottom: .85rem; }
}

.tier-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--c-cyan-400);
    margin-bottom: .5rem;
}
.tier h3 {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 700;
    margin: 0 0 .5rem;
    letter-spacing: -.02em;
    color: var(--fg-strong);
}
.tier-tagline {
    margin: 0 0 1.75rem;
    color: var(--fg-muted);
    font-size: .95rem;
    line-height: 1.55;
}

.tier-speed {
    display: flex;
    align-items: baseline;
    gap: .55rem;
    padding: 1rem 0;
    margin: 0 0 1.25rem;
    border-block: 1px solid var(--border);
}
.tier-speed strong {
    font-family: var(--font-display);
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -.03em;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.tier-speed span {
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--fg-dim);
}

.tier-equipment {
    margin: 0 0 .75rem;
    color: var(--fg);
    font-size: .95rem;
    line-height: 1.5;
}
.tier-best {
    margin: 0;
    color: var(--fg-muted);
    font-size: .9rem;
    line-height: 1.55;
}

.tiers-fineprint {
    margin: 2rem auto 0;
    text-align: center;
    color: var(--fg-muted);
    font-size: .92rem;
    line-height: 1.65;
    max-width: 64ch;
}
.tiers-fineprint strong { color: var(--fg); font-weight: 600; }

.tiers-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin: 3rem 0 0;
    padding: 1.5rem 1.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.tiers-cta p {
    margin: 0;
    color: var(--fg-muted);
    font-size: .95rem;
    max-width: 50ch;
}
.tiers-cta a:not(.btn) { color: var(--c-cyan-400); }

/* ===================== Visualizations (replace stock photos) ===================== */

.viz {
    position: relative;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-elev);
    overflow: hidden;
    isolation: isolate;
}
.viz::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(0,212,255,.35), transparent 40%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.viz-head {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .85rem 1.1rem;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}
.viz-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--surface-3);
}
.viz-dot:first-child  { background: var(--c-rose);     opacity: .85; }
.viz-dot:nth-child(2) { background: var(--c-amber);    opacity: .85; }
.viz-dot:nth-child(3) { background: var(--c-mint-400); opacity: .85; }
.viz-title {
    margin-left: .75rem;
    font-family: var(--font-mono);
    font-size: .75rem;
    color: var(--fg-dim);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.viz-body { padding: 1.4rem 1.5rem; }
.viz-body--ring {
    display: grid;
    gap: 1.25rem;
}

.viz-foot {
    padding: .85rem 1.1rem;
    border-top: 1px solid var(--border);
    background: var(--surface);
    font-family: var(--font-mono);
    font-size: .78rem;
    color: var(--fg-muted);
    text-align: center;
}
.viz-foot strong { color: var(--fg-strong); }

.viz-mono {
    font-family: var(--font-mono);
    font-size: .85rem;
    color: var(--fg);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.viz-meta {
    font-family: var(--font-mono);
    font-size: .78rem;
    color: var(--fg-dim);
    text-align: right;
    white-space: nowrap;
}
.viz-time {
    font-family: var(--font-mono);
    font-size: .78rem;
    color: var(--c-mint-400);
    white-space: nowrap;
}

.viz-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Ring topology (section 1) */
.ring-svg {
    width: 100%;
    max-width: 280px;
    height: auto;
    margin: 0 auto;
    display: block;
    aspect-ratio: 240 / 200;
}
.ring-path {
    fill: none;
    stroke: url(#ringgrad);
    stroke-width: 1.5;
    opacity: .35;
    stroke-dasharray: 4 4;
}
.ring-nodes circle {
    fill: var(--bg-elev);
    stroke: url(#ringgrad);
    stroke-width: 2;
}
.ring-pulse {
    fill: var(--c-cyan-400);
    filter: drop-shadow(0 0 6px var(--c-cyan-400));
}
@media (prefers-reduced-motion: reduce) {
    .ring-pulse animateMotion { display: none; }
}

.viz-list--pops li {
    display: grid;
    grid-template-columns: 16px 1fr auto;
    align-items: center;
    gap: .75rem;
    padding: .55rem 0;
    border-top: 1px solid var(--border);
}
.viz-list--pops li:first-child { border-top: 0; }
.viz-list--pops .status-dot { margin: 0; }

/* Transfer log (section 2) */
.viz-list--transfers li {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 1rem;
    padding: .65rem 0;
    border-top: 1px solid var(--border);
}
.viz-list--transfers li:first-child { border-top: 0; }

/* Event log (section 3) */
.viz-list--events {
    display: grid;
    gap: 1rem;
    padding: 0;
    list-style: none;
    counter-reset: ev;
}
.viz-list--events li {
    display: grid;
    grid-template-columns: 64px 12px 1fr;
    align-items: start;
    gap: .75rem;
    font-family: var(--font-mono);
    font-size: .82rem;
    color: var(--fg);
    line-height: 1.5;
}
.viz-list--events .viz-time {
    color: var(--fg-dim);
}
.viz-event-marker {
    width: 10px; height: 10px;
    border-radius: 50%;
    margin-top: .35rem;
    background: var(--c-cyan-400);
    box-shadow: 0 0 8px rgba(0, 212, 255, .55);
}
.viz-event-marker--ok    { background: var(--c-mint-400); box-shadow: 0 0 8px rgba(124, 248, 197, .55); }
.viz-event-marker--warn  { background: var(--c-amber);    box-shadow: 0 0 8px rgba(255, 176, 32, .55); }
.viz-event-marker--info  { background: var(--c-cyan-400); }

/* ===================== Coverage ===================== */

.city-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
@media (max-width: 940px) {
    .city-grid { grid-template-columns: 1fr; }
}
.city-card {
    padding: 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color .25s var(--ease), background .25s var(--ease);
}
.city-card:hover {
    border-color: var(--border-bright);
    background: var(--surface-2);
}
.city-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .35rem;
}
.city-head h3 {
    font-size: 1.5rem;
    margin: 0;
}
.city-tag {
    font-family: var(--font-mono);
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--c-cyan-400);
    border: 1px solid var(--border-bright);
    padding: .25rem .55rem;
    border-radius: 999px;
}
.city-tag--new {
    color: #062018;
    background: var(--grad-brand);
    border-color: transparent;
    font-weight: 600;
}
.city-meta {
    color: var(--fg-muted);
    font-size: .9rem;
    margin: 0 0 1.25rem;
}
.city-neighborhoods {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}
.city-neighborhoods li {
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--fg);
    padding: .3rem .65rem;
    border-radius: 999px;
    font-size: .82rem;
    font-family: var(--font-sans);
}
.city-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}
.city-stats > div {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}
.city-stats strong {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--fg-strong);
    font-weight: 700;
}
.city-stats span {
    font-size: .75rem;
    color: var(--fg-dim);
    text-transform: uppercase;
    letter-spacing: .1em;
}

.coming-soon {
    margin: 2.5rem auto 0;
    text-align: center;
    font-size: .95rem;
    color: var(--fg-muted);
}
.coming-soon strong { color: var(--fg-strong); margin-right: .35em; }
.coming-soon a { color: var(--c-cyan-400); margin-left: .35em; }

/* ===================== Process / Steps ===================== */

.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    counter-reset: step;
}
@media (max-width: 940px) {
    .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .steps { grid-template-columns: 1fr; }
}
.step {
    padding: 1.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}
.step::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: var(--grad-brand);
    opacity: .35;
}
.step-num {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: .85rem;
    color: var(--c-cyan-400);
    margin-bottom: .85rem;
    letter-spacing: .12em;
}
.step h3 {
    font-size: 1.15rem;
    margin-bottom: .5rem;
}
.step p {
    font-size: .9rem;
    color: var(--fg-muted);
    margin: 0;
    line-height: 1.6;
}

/* ===================== Quotes ===================== */

.quotes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
@media (max-width: 940px) {
    .quotes-grid { grid-template-columns: 1fr; }
}
.quote {
    margin: 0;
    padding: 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
}
.quote::before {
    content: "\201C";
    position: absolute;
    top: -.25em;
    left: .8rem;
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--c-cyan-400);
    opacity: .25;
    line-height: 1;
}
.quote p {
    color: var(--fg);
    font-size: 1rem;
    line-height: 1.65;
    margin: 0 0 1.5rem;
    position: relative;
}
.quote footer {
    display: flex;
    flex-direction: column;
    font-size: .88rem;
}
.quote footer strong {
    color: var(--fg-strong);
    font-weight: 600;
    font-size: .92rem;
}
.quote footer span {
    color: var(--fg-muted);
}

/* ===================== FAQ ===================== */

.faq-row {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}
@media (max-width: 880px) {
    .faq-row { grid-template-columns: 1fr; }
}
.faq-list {
    border-top: 1px solid var(--border);
}
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.4rem .25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--fg-strong);
    transition: color .2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--c-cyan-400); }
.faq-chevron {
    width: 18px; height: 18px;
    color: var(--fg-muted);
    transition: transform .25s var(--ease);
    flex-shrink: 0;
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); color: var(--c-cyan-400); }
.faq-item > p {
    margin: 0 0 1.4rem;
    padding: 0 .25rem;
    color: var(--fg-muted);
    font-size: .98rem;
    line-height: 1.7;
    max-width: 60ch;
}

/* ===================== About ===================== */

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
@media (max-width: 880px) {
    .about-grid { grid-template-columns: 1fr; }
}
.about-stats {
    list-style: none;
    margin: 0;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
}
.about-stats li {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}
.about-stats strong {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--fg-strong);
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -.02em;
    line-height: 1;
}
.about-stats span {
    font-size: .82rem;
    color: var(--fg-dim);
    text-transform: uppercase;
    letter-spacing: .12em;
}

/* ===================== Final CTA ===================== */

.final-cta {
    position: relative;
    padding: clamp(3rem, 7vw, 5rem) clamp(1.5rem, 5vw, 3rem);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-bright);
    overflow: hidden;
    text-align: center;
    background: var(--surface);
    isolation: isolate;
}
.final-cta-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(60% 80% at 50% 0%, rgba(0,212,255,.20), transparent 65%),
        radial-gradient(50% 80% at 50% 100%, rgba(124,248,197,.18), transparent 65%);
}
.final-cta h2 {
    font-size: clamp(1.85rem, 3.6vw, 2.85rem);
    max-width: 22ch;
    margin: 0 auto 1rem;
}
.final-cta p {
    color: var(--fg-muted);
    max-width: 50ch;
    margin: 0 auto 2rem;
    font-size: 1.05rem;
}
.final-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .85rem;
}

/* ===================== Contact ===================== */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
@media (max-width: 940px) {
    .contact-grid { grid-template-columns: 1fr; }
}
.contact-card {
    padding: 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.contact-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-bright);
    background: var(--surface-2);
}
.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--surface-2);
    border: 1px solid var(--border-2);
    color: var(--c-cyan-400);
    margin-bottom: 1.25rem;
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-card h3 {
    font-size: 1.1rem;
    margin: 0 0 .5rem;
}
.contact-card p {
    margin: 0 0 .35rem;
    color: var(--fg);
    font-size: .98rem;
    line-height: 1.55;
}
.contact-mono {
    font-family: var(--font-mono);
    font-size: 1.05rem !important;
}
.contact-mono a { color: var(--c-cyan-400); }
.contact-meta {
    color: var(--fg-muted) !important;
    font-size: .85rem !important;
    margin-top: .5rem !important;
}

/* ===================== Footer ===================== */

.site-footer {
    border-top: 1px solid var(--border);
    background: var(--bg-alt);
    padding-top: 4rem;
    margin-top: 2rem;
}
html[data-theme="light"] .site-footer { background: #ECF1F8; }

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2.6fr;
    gap: clamp(2rem, 5vw, 4rem);
    padding-bottom: 3rem;
}
@media (max-width: 1000px) {
    .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand p {
    color: var(--fg-muted);
    font-size: .95rem;
    max-width: 36ch;
    margin: 1rem 0 1.25rem;
}
.footer-status {
    font-family: var(--font-mono);
    font-size: .82rem;
    color: var(--fg);
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
@media (max-width: 720px) {
    .footer-cols { grid-template-columns: 1fr 1fr; }
}
.footer-col h4 {
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--fg-strong);
    margin-bottom: 1rem;
    font-family: var(--font-mono);
    font-weight: 500;
}
.footer-col ul {
    list-style: none;
    margin: 0; padding: 0;
    display: grid;
    gap: .65rem;
    color: var(--fg-muted);
    font-size: .92rem;
}
.footer-col a:hover { color: var(--c-cyan-400); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    color: var(--fg-dim);
    font-size: .85rem;
}
.footer-bottom p { margin: 0; color: inherit; }
.footer-made span {
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
}

/* ===================== Back to top ===================== */

.back-to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 42px; height: 42px;
    border-radius: 999px;
    background: var(--grad-brand);
    color: #061824;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow-cy);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
    z-index: 80;
}
.back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.back-to-top:hover { color: #061824; transform: translateY(-3px); }
.back-to-top svg { width: 18px; height: 18px; }

/* ===================== Reveal ===================== */

html.js-ready [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
html.js-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    html.js-ready [data-reveal] {
        opacity: 1; transform: none; transition: none;
    }
    html { scroll-behavior: auto; }
    .marquee-track { animation: none; }
}

body.menu-open { overflow: hidden; }

/* =====================================================================
   Legal pages — readable two-column layout with sticky ToC
   ===================================================================== */

.legal-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--border);
}
.legal-header-inner {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.legal-back {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--fg-muted);
    font-size: .9rem;
    font-weight: 500;
}
.legal-back:hover { color: var(--c-cyan-400); }
.legal-back svg { width: 14px; height: 14px; }

.legal-main {
    padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem);
    position: relative;
    z-index: 1;
}

.legal-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}
@media (max-width: 940px) {
    .legal-layout { grid-template-columns: 1fr; }
}

.legal-toc {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
    align-self: start;
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
}
@media (max-width: 940px) {
    .legal-toc {
        position: static;
        margin-bottom: 2rem;
    }
}
.legal-toc h4 {
    font-family: var(--font-mono);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--fg-dim);
    margin: 0 0 .85rem;
}
.legal-toc ul {
    list-style: none;
    margin: 0; padding: 0;
    display: grid;
    gap: .15rem;
}
.legal-toc a {
    display: block;
    padding: .5rem .65rem;
    border-radius: 8px;
    color: var(--fg-muted);
    font-size: .9rem;
    line-height: 1.3;
    transition: background .2s var(--ease), color .2s var(--ease);
}
.legal-toc a:hover {
    color: var(--fg-strong);
    background: var(--surface-2);
}
.legal-toc a.is-current {
    color: var(--c-cyan-400);
    background: var(--surface-2);
    font-weight: 500;
    border-left: 2px solid var(--c-cyan-400);
    padding-left: calc(.65rem - 2px);
    border-radius: 6px 8px 8px 6px;
}

.legal-doc {
    max-width: 70ch;
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--fg);
}
.legal-doc-head {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}
.legal-doc-head .eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--c-cyan-400);
    margin-bottom: .75rem;
}
.legal-doc-head h1 {
    font-size: clamp(2.1rem, 4vw, 3rem);
    line-height: 1.1;
    letter-spacing: -.025em;
    margin: 0 0 .75rem;
}
.legal-meta {
    margin: 0;
    font-family: var(--font-mono);
    font-size: .82rem;
    color: var(--fg-dim);
}
.legal-meta time { color: var(--fg); }

.legal-tldr {
    background: var(--surface);
    border: 1px solid var(--border-bright);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin: 0 0 2.5rem;
}
.legal-tldr h2 {
    margin: 0 0 .35rem;
    font-size: .95rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: .2em;
    color: var(--c-cyan-400);
}
.legal-tldr p {
    margin: 0;
    color: var(--fg);
    font-size: 1rem;
    line-height: 1.65;
}

.legal-anchors {
    margin-bottom: 3rem;
    padding: 1.25rem 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.legal-anchors h2 {
    margin: 0 0 .75rem;
    font-size: .82rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: .18em;
    color: var(--fg-dim);
    font-weight: 500;
}
.legal-anchors ol {
    margin: 0;
    padding-left: 1.25rem;
    columns: 2;
    column-gap: 2rem;
    font-size: .95rem;
}
@media (max-width: 540px) {
    .legal-anchors ol { columns: 1; }
}
.legal-anchors a {
    color: var(--fg);
    line-height: 1.9;
    border-bottom: 1px solid transparent;
    transition: border-color .2s var(--ease), color .2s var(--ease);
}
.legal-anchors a:hover {
    color: var(--c-cyan-400);
    border-color: currentColor;
}

.legal-doc section {
    scroll-margin-top: calc(var(--header-h) + 1.5rem);
    margin-bottom: 2.5rem;
}
.legal-doc h2 {
    font-size: 1.5rem;
    margin: 0 0 1rem;
    letter-spacing: -.015em;
    color: var(--fg-strong);
}
.legal-doc h2 .legal-num {
    font-family: var(--font-mono);
    font-size: .9rem;
    font-weight: 500;
    color: var(--c-cyan-400);
    margin-right: .55rem;
    letter-spacing: .04em;
}
.legal-doc h3 {
    font-size: 1.1rem;
    margin: 1.75rem 0 .75rem;
    color: var(--fg-strong);
}
.legal-doc p {
    margin: 0 0 1rem;
    color: var(--fg);
}
.legal-doc p strong { color: var(--fg-strong); font-weight: 600; }
.legal-doc a { color: var(--c-cyan-400); }
.legal-doc a:hover { text-decoration: underline; }
.legal-doc ul, .legal-doc ol {
    margin: 0 0 1rem;
    padding-left: 1.4rem;
    color: var(--fg);
}
.legal-doc li { margin-bottom: .4rem; }
.legal-doc li::marker { color: var(--c-cyan-400); }

.legal-callout {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--c-cyan-400);
    border-radius: var(--radius-sm);
    font-size: .95rem;
    line-height: 1.65;
}
.legal-callout p { margin: 0; }
.legal-callout strong { color: var(--c-cyan-400); }

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: .95rem;
}
.legal-table th, .legal-table td {
    text-align: left;
    padding: .85rem 1rem;
    border-bottom: 1px solid var(--border);
}
.legal-table th {
    font-family: var(--font-mono);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--fg-dim);
    font-weight: 500;
}
.legal-table tr:hover td { background: var(--surface); }

/* Legal hub: index list of all documents */
.legal-index {
    margin: 0 0 2rem;
    border-top: 1px solid var(--border);
}
.legal-index-item {
    padding: 1.5rem .25rem;
    border-bottom: 1px solid var(--border);
    display: grid;
    gap: .65rem;
}
.legal-index-item header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .5rem 1rem;
}
.legal-index-item h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--fg-strong);
}
.legal-index-item h3 a {
    color: inherit;
    border-bottom: 1px solid transparent;
    transition: color .2s var(--ease), border-color .2s var(--ease);
}
.legal-index-item h3 a:hover {
    color: var(--c-cyan-400);
    border-color: currentColor;
}
.legal-index-meta {
    font-family: var(--font-mono);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--fg-dim);
    white-space: nowrap;
}
.legal-index-item p {
    margin: 0;
    color: var(--fg-muted);
    font-size: .98rem;
    line-height: 1.65;
    max-width: 64ch;
}
.legal-index-item .link-arrow {
    margin-top: .25rem;
    align-self: flex-start;
}

/* Homepage footer: "All legal documents →" link gets a subtle gradient arrow accent */
.footer-all-legal {
    color: var(--fg);
    font-weight: 500;
}
.footer-all-legal:hover { color: var(--c-cyan-400); }
.footer-all-legal span {
    margin-left: .25rem;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: margin .2s var(--ease);
}
.footer-all-legal:hover span { margin-left: .5rem; }

.legal-contact-block {
    margin-top: 3rem;
    padding: 1.5rem 1.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-mono);
    font-size: .9rem;
    line-height: 1.8;
    color: var(--fg);
}
.legal-contact-block strong { color: var(--fg-strong); }
.legal-contact-block a { color: var(--c-cyan-400); }

.legal-footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    margin-top: 2rem;
    background: var(--bg-alt);
    color: var(--fg-dim);
    font-size: .9rem;
}
html[data-theme="light"] .legal-footer { background: #ECF1F8; }
.legal-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.legal-footer-inner p { margin: 0; color: inherit; }
.legal-footer a { color: var(--fg-muted); margin-left: 1.25rem; }
.legal-footer a:hover { color: var(--c-cyan-400); }

