/* =========================================================================
   VIONIZ — homepage components
   Depends on site.css for tokens.
   ========================================================================= */

/* -------------------------------------------------------------------------
   HERO — the citizen mesh is the signature. Everything else here stays quiet.
   ------------------------------------------------------------------------- */

.hero {
    position: relative;
    background: var(--grad-brand);
    background-size: 260% 260%;
    animation: drift-brand 20s ease-in-out infinite;
    color: var(--haze);
    padding: clamp(56px, 7vw, 96px) 0 0;
    overflow: hidden;
    isolation: isolate;
}

/* colour field: three slow blooms, the page's ambient light */
.hero::before {
    content: "";
    position: absolute; inset: -25%; z-index: -2;
    background:
        radial-gradient(38% 44% at 22% 26%, rgba(33, 182, 242, 0.75), transparent 68%),
        radial-gradient(34% 42% at 78% 66%, rgba(180, 92, 240, 0.65), transparent 70%),
        radial-gradient(30% 36% at 62% 10%, rgba(44, 224, 138, 0.4), transparent 72%),
        radial-gradient(28% 34% at 8% 82%, rgba(61, 117, 232, 0.6), transparent 72%);
    animation: aurora 20s ease-in-out infinite alternate;
    pointer-events: none;
}

#mesh {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    z-index: -1;
    opacity: 0.75;
}

.hero::after {
    /* keeps the left column legible over the mesh without dimming the network */
    content: "";
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(100deg, rgba(20, 36, 96, 0.58) 4%, rgba(28, 50, 130, 0.3) 42%, rgba(28, 50, 130, 0) 70%);
    pointer-events: none;
}

/* --- the hero is the one place the edition name is spoken --- */
.hero-brand {
    display: inline-flex; align-items: baseline; gap: 12px;
    font-family: var(--display);
    font-variation-settings: 'wdth' 118, 'wght' 800;
    font-weight: 800;
    font-size: clamp(22px, 2.6vw, 34px);
    line-height: 1;
    letter-spacing: 0.01em;
    color: var(--white);
    margin-bottom: 18px;
}
.hero-brand .ed {
    background: linear-gradient(92deg, #9df9cf, #7ee8ff 55%, #d3b6ff);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.14fr 0.86fr;
    gap: clamp(32px, 4vw, 56px);
    align-items: center;
    padding-bottom: clamp(48px, 6vw, 76px);
}

.hero-flag {
    display: inline-flex; align-items: center; gap: 10px;
    font: 500 11.5px/1 var(--mono);
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 40px; padding: 8px 15px;
    margin-bottom: 26px;
}
.hero-flag .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;
}
@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); }
}

.hero h1 {
    font-family: var(--display);
    font-variation-settings: 'wdth' 114, 'wght' 700;
    font-weight: 700;
    font-size: clamp(38px, 4.6vw, 62px);
    line-height: 1.0;
    letter-spacing: -0.04em;
    color: var(--white);
}
.hero h1 .ln { display: block; overflow: hidden; }
.hero h1 .ln > span { display: block; }
.hero h1 .free {
    background: linear-gradient(92deg, #9df9cf 0%, #7ee8ff 48%, #e0c4ff 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}

.hero-sub {
    font-size: clamp(16px, 1.7vw, 19px);
    line-height: 1.55;
    color: #e7ecff;
    max-width: 48ch;
    margin: 26px 0 32px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-note {
    font: 500 12px/1.8 var(--mono);
    letter-spacing: 0.05em;
    color: #c6d2f8;
    margin-top: 26px;
}
.hero-note b { color: var(--white); font-weight: 500; }

/* --- load sequence: one orchestrated moment, not a per-section fade --- */
@media (prefers-reduced-motion: no-preference) {
    .hero h1 .ln > span,
    .hero-brand, .hero-flag, .hero-sub, .hero-ctas, .hero-note, .hero-visual {
        animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) backwards;
    }
    .hero-brand                 { animation-delay: 0.02s; }
    .hero-flag                  { animation-delay: 0.10s; }
    .hero h1 .ln:nth-child(1) > span { animation-delay: 0.14s; }
    .hero h1 .ln:nth-child(2) > span { animation-delay: 0.22s; }
    .hero h1 .ln:nth-child(3) > span { animation-delay: 0.30s; }
    .hero-sub                   { animation-delay: 0.40s; }
    .hero-ctas                  { animation-delay: 0.48s; }
    .hero-note                  { animation-delay: 0.56s; }
    .hero-visual                { animation-delay: 0.34s; }
    @keyframes rise {
        from { opacity: 0; transform: translateY(min(22px, 1.4em)); }
        to   { opacity: 1; transform: none; }
    }
}

/* --- app mock --- */
.hero-visual { position: relative; }

.app-mock {
    background: linear-gradient(160deg, rgba(23, 34, 92, 0.86), rgba(46, 34, 110, 0.86));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-dark);
    overflow: hidden;
}
.mock-titlebar {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 16px;
    background: rgba(24, 42, 110, 0.6);
    border-bottom: 1px solid rgba(203, 217, 251, 0.14);
}
.mock-titlebar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(203, 217, 251, 0.3); }
.mock-titlebar .t {
    font: 500 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--haze-lo); margin-left: 8px;
}
.mock-body { padding: 18px; }

.mock-state {
    display: flex; align-items: center; gap: 14px;
    background: linear-gradient(120deg, rgba(44, 224, 138, 0.14), rgba(47, 107, 214, 0.14));
    border: 1px solid rgba(44, 224, 138, 0.3);
    border-radius: var(--r); padding: 16px 18px;
}
.mock-state .glyph { width: 38px; height: 38px; color: var(--signal); flex-shrink: 0; }
.mock-state .mt { font-size: 16px; font-weight: 600; color: var(--white); }
.mock-state .ms { font: 500 11px/1.5 var(--mono); letter-spacing: 0.08em; color: var(--haze); }
.mock-state .chip {
    margin-left: auto;
    font: 500 10.5px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--signal);
    border: 1px solid rgba(44, 224, 138, 0.4);
    border-radius: 30px; padding: 6px 11px;
}

.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 14px 0; background: rgba(203, 217, 251, 0.16); border: 1px solid rgba(203, 217, 251, 0.16); border-radius: var(--r); overflow: hidden; }
.mock-stat { background: rgba(23, 34, 92, 0.72); padding: 13px 14px; }
.mock-stat .n {
    font-family: var(--display); font-variation-settings: 'wdth' 112, 'wght' 700;
    font-size: 21px; color: var(--white); line-height: 1;
}
.mock-stat .n.good { color: var(--signal); }
.mock-stat .l { font: 500 9.5px/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--haze-lo); margin-top: 6px; }

.mock-row {
    display: flex; align-items: center; gap: 12px;
    border: 1px solid rgba(203, 217, 251, 0.16);
    border-radius: var(--r); padding: 11px 14px;
}
.mock-row + .mock-row { margin-top: 8px; }
.mock-row .fname { font: 500 12px/1 var(--mono); color: var(--haze); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-row .verdict { font: 500 10px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 9px; border-radius: 30px; }
.mock-row .verdict.bad  { background: rgba(255, 107, 107, 0.16); color: var(--ember); }
.mock-row .verdict.good { background: rgba(44, 224, 138, 0.14); color: var(--signal); }
.mock-row .state { font: 500 10px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--haze-lo); }

/* --- readout rail: the hero's live telemetry, structured as data --- */
.readout {
    position: relative;
    border-top: 1px solid rgba(203, 217, 251, 0.16);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.readout .cell {
    padding: 22px 0 26px;
    display: flex; align-items: baseline; gap: 12px;
}
.readout .cell + .cell { border-left: 1px solid rgba(203, 217, 251, 0.16); padding-left: clamp(18px, 3vw, 40px); }
.readout .cell:not(:last-child) { padding-right: clamp(18px, 3vw, 40px); }
.readout .lbl {
    font: 500 10.5px/1.4 var(--mono); letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--haze-lo); flex-shrink: 0;
}
.readout .val { font-size: 14.5px; color: var(--white); font-weight: 500; }
.readout .val .stamp { font: 500 11px/1 var(--mono); color: var(--haze-lo); display: block; margin-top: 5px; letter-spacing: 0.06em; }
.readout .val .flag-bad  { color: var(--ember); }
.readout .val .flag-good { color: var(--signal); }

/* -------------------------------------------------------------------------
   METRICS STRIP
   ------------------------------------------------------------------------- */

.metrics {
    background: var(--white);
    border-bottom: 1px solid var(--rule);
}
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding-block: clamp(36px, 4vw, 52px);
}
.metric { padding-inline: clamp(14px, 2.4vw, 32px); }
.metric + .metric { border-left: 1px solid var(--rule); }
.metric:first-child { padding-left: 0; }
.metric:last-child { padding-right: 0; }
.metric .n {
    font-family: var(--display);
    font-variation-settings: 'wdth' 120, 'wght' 700;
    font-size: clamp(34px, 4.4vw, 52px);
    line-height: 0.95; letter-spacing: -0.04em;
    color: var(--ink);
}
.metric .n .unit { color: var(--steel); }
.metric .l {
    font-size: 13.5px; color: var(--ink-4);
    margin-top: 12px; max-width: 22ch;
}

/* -------------------------------------------------------------------------
   CROWD SHIELD — a real sequence, so it earns its numbering
   ------------------------------------------------------------------------- */

.crowd-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: clamp(36px, 5vw, 72px);
    align-items: center;
}

.steps { margin-top: 36px; border-left: 1px solid var(--rule); }
.step { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 0 0 28px 26px; position: relative; }
.step:last-child { padding-bottom: 0; }
.step::before {
    content: ""; position: absolute; left: -4.5px; top: 7px;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--steel);
    outline: 4px solid var(--white);
}
.step:last-child::before { background: var(--signal-dk); }
.step .n {
    font: 500 11px/1.5 var(--mono); letter-spacing: 0.16em;
    color: var(--ink-4);
    padding-top: 2px;
}
.step h4 { font-size: 17px; font-weight: 600; color: var(--ink); }
.step p { font-size: 14.5px; color: var(--ink-3); margin-top: 5px; }

.crowd-figure {
    background: linear-gradient(145deg, #1b3f8f, #3b2f9e 55%, #6b3fbf);
    border-radius: var(--r-lg);
    padding: clamp(20px, 3vw, 34px);
    overflow: hidden;
}
.crowd-figure svg { width: 100%; height: auto; display: block; }
.crowd-figure figcaption {
    font: 500 10.5px/1.6 var(--mono); letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--haze-lo);
    margin-top: 20px; padding-top: 16px;
    border-top: 1px solid rgba(203, 217, 251, 0.16);
}

/* propagation pulse — the diagram animates the thing it describes */
@media (prefers-reduced-motion: no-preference) {
    .wave { transform-box: fill-box; transform-origin: center; animation: wave 4.2s ease-out infinite; }
    .wave-2 { animation-delay: 1.4s; }
    .wave-3 { animation-delay: 2.8s; }
    @keyframes wave {
        0%   { r: 6px;  opacity: 0.9; }
        100% { r: 128px; opacity: 0; }
    }
    .node-lit { animation: lit 4.2s ease-out infinite; }
    @keyframes lit {
        0%, 6%  { fill: #ff6b6b; }
        40%,100%{ fill: #2ce08a; }
    }
}

/* -------------------------------------------------------------------------
   PRIVACY LEDGER — the disclosure rendered as an actual record
   ------------------------------------------------------------------------- */

.ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.ledger-panel {
    /* a dark plate under the light band: the record has to be readable first */
    background: rgba(11, 20, 62, 0.62);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--r-lg);
    box-shadow: 0 20px 44px -24px rgba(6, 12, 40, 0.75);
    overflow: hidden;
}
.ledger-panel .lp-head {
    display: flex; align-items: center; gap: 11px;
    padding: 18px 24px;
    background: rgba(0, 0, 0, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    font: 600 12px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase;
}
.ledger-panel.deny .lp-head { color: #ffa9a9; }
.ledger-panel.allow .lp-head { color: #7dffc2; }
.ledger-panel ul { list-style: none; padding: 8px 24px 22px; }
.ledger-panel li {
    display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 15px; color: #f4f7ff;
}
.ledger-panel li:last-child { border-bottom: none; }
.ledger-panel .mark { font-family: var(--mark); font-size: 15px; font-weight: 700; line-height: 1.4; }
.ledger-panel.deny .mark { color: #ff9090; }
.ledger-panel.allow .mark { color: #6cf9b4; }
.ledger-panel.deny li span:last-child { color: #dbe3ff; text-decoration: line-through; text-decoration-color: rgba(255, 144, 144, 0.7); text-decoration-thickness: 1px; }
.ledger-panel .val { display: block; font: 500 12px/1.5 var(--mono); color: #9df7cd; margin-top: 6px; word-break: break-all; letter-spacing: 0.02em; }

/* -------------------------------------------------------------------------
   ENTERPRISE
   ------------------------------------------------------------------------- */

.ent-card {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: var(--r-lg);
    overflow: hidden;
}
.ent-figure {
    background: linear-gradient(145deg, #1b3f8f, #2f6bd6 60%, #21b6f2);
    padding: clamp(28px, 3vw, 44px);
    display: flex; flex-direction: column; justify-content: center; gap: 24px;
}
.ent-figure svg { width: 100%; height: auto; }
.ent-figure .legend {
    display: flex; flex-wrap: wrap; gap: 8px 20px;
    font: 500 10.5px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--haze-lo);
}
.ent-figure .legend span { display: inline-flex; align-items: center; gap: 8px; }
.ent-figure .legend i { width: 8px; height: 8px; border-radius: 2px; }

.ent-body { padding: clamp(28px, 3.4vw, 48px); }
.ent-tag {
    display: inline-flex; align-items: center; gap: 9px;
    background: var(--amber-wash); color: var(--amber-dk);
    border: 1px solid #f0dcb4;
    font: 500 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase;
    border-radius: 40px; padding: 8px 14px;
}
.ent-body h2 {
    font-family: var(--display);
    font-variation-settings: 'wdth' 114, 'wght' 700;
    font-weight: 700; font-size: clamp(26px, 3.2vw, 38px);
    line-height: 1.06; letter-spacing: -0.03em;
    color: var(--ink); margin: 20px 0 14px;
}
.ent-body h2 .accent { color: var(--steel); }
.ent-body > p { font-size: 15.5px; color: var(--ink-3); margin-bottom: 26px; }

.ent-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; margin-bottom: 30px; }
.ent-feats li { list-style: none; background: var(--white); padding: 13px 15px; font-size: 13.5px; color: var(--ink-2); display: flex; gap: 10px; align-items: center; }
.ent-feats .ck { color: var(--signal-dk); font-family: var(--mark); font-size: 13px; }

.waitlist { display: flex; gap: 10px; }
.waitlist input {
    flex: 1; min-width: 0;
    font-family: var(--body); font-size: 15px; color: var(--ink);
    border: 1px solid var(--rule); border-radius: var(--r);
    padding: 13px 15px; outline: none;
    transition: border-color 0.16s, box-shadow 0.16s;
}
.waitlist input:focus { border-color: var(--steel); box-shadow: 0 0 0 3px rgba(47, 107, 214, 0.14); }
.ent-note { font: 500 12px/1.7 var(--mono); color: var(--ink-4); margin-top: 16px; }

/* -------------------------------------------------------------------------
   DOWNLOAD — release artifacts, described like release artifacts
   ------------------------------------------------------------------------- */

.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.dl-card {
    border: 1px solid var(--rule);
    border-radius: var(--r-lg);
    background: var(--white);
    padding: clamp(28px, 3vw, 38px);
    transition: border-color 0.18s, box-shadow 0.18s;
}
.dl-card:hover { border-color: var(--steel); box-shadow: var(--shadow-lg); }
.dl-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.dl-card .os-svg-lg { width: 42px; height: 42px; color: var(--ink); flex-shrink: 0; }
.dl-card h3 {
    font-family: var(--display);
    font-variation-settings: 'wdth' 118, 'wght' 700;
    font-weight: 700; font-size: 26px; letter-spacing: -0.025em;
    color: var(--ink); line-height: 1;
}
.dl-card .ver { font: 500 11px/1.5 var(--mono); letter-spacing: 0.1em; color: var(--ink-4); margin-top: 7px; }
.dl-card .free-flag { margin-left: auto; }

.dl-meta { list-style: none; margin-top: 24px; border-top: 1px solid var(--rule-soft); }
.dl-meta li {
    display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
    padding: 12px 0; border-bottom: 1px solid var(--rule-soft);
    font-size: 14px; color: var(--ink-2);
}
.dl-meta .mk { font: 500 10.5px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-4); }
.dl-foot { text-align: center; margin-top: 28px; font-size: 14px; color: var(--ink-4); }
.dl-foot a { color: var(--steel); }

/* -------------------------------------------------------------------------
   COMPARISON
   ------------------------------------------------------------------------- */

.compare-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--r-lg); background: var(--white); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 780px; }
.compare-table thead th {
    background: linear-gradient(100deg, #1b3f8f, #2f6bd6 55%, #6b4de6); color: var(--white);
    padding: 18px; text-align: left; vertical-align: top;
    font: 500 11.5px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase;
}
.compare-table thead th.us { background: #1f2f7d; border-inline: 1px solid rgba(44, 224, 138, 0.35); border-top: 2px solid var(--signal); }
.compare-table thead .th-sub { display: block; font-size: 10.5px; letter-spacing: 0.1em; color: var(--haze-lo); margin-top: 7px; text-transform: none; }
.compare-table thead .free-pill {
    display: inline-block; margin-top: 10px;
    background: var(--signal); color: var(--ink);
    font-size: 10px; letter-spacing: 0.12em; padding: 4px 10px; border-radius: 20px;
}
.compare-table tbody td, .compare-table tbody th { padding: 15px 18px; border-top: 1px solid var(--rule-soft); color: var(--ink-3); vertical-align: middle; }
.compare-table tbody tr:hover td, .compare-table tbody tr:hover th { background: var(--vellum); }
.compare-table .feat { text-align: left; font-weight: 600; color: var(--ink); }
.compare-table td.us { background: var(--signal-wash); border-inline: 1px solid rgba(44, 224, 138, 0.35); color: var(--ink-2); }
.compare-table tbody tr:hover td.us { background: #d3f8e5; }
.compare-table tbody tr:last-child td.us { border-bottom: 1px solid rgba(44, 224, 138, 0.35); }
.compare-table .mark { font-family: var(--mark); font-size: 16px; font-weight: 600; }
.compare-table .mark.yes  { color: var(--signal-dk); }
.compare-table .mark.no   { color: var(--ink-4); }
.compare-table .mark.part { color: var(--amber-dk); }
.compare-table .qual { font: 500 11px/1 var(--mono); letter-spacing: 0.08em; color: var(--ink-4); margin-left: 6px; }
.compare-footnote { margin-top: 20px; font: 500 11.5px/1.7 var(--mono); color: var(--ink-4); text-align: center; max-width: 70ch; margin-inline: auto; }

/* -------------------------------------------------------------------------
   FAQ — native disclosure, no JS
   ------------------------------------------------------------------------- */

.faq-list { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary {
    list-style: none; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    padding: 22px 4px;
    font-size: clamp(16px, 1.8vw, 19px); font-weight: 500; color: var(--ink);
    transition: color 0.16s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--steel); }
.faq-item .sign {
    flex-shrink: 0; width: 22px; height: 22px; position: relative;
    color: var(--steel);
}
.faq-item .sign::before, .faq-item .sign::after {
    content: ""; position: absolute; inset: 50% 0 auto 0;
    height: 1.5px; background: currentColor; transition: transform 0.22s ease;
}
.faq-item .sign::after { transform: rotate(90deg); }
.faq-item[open] .sign::after { transform: rotate(0deg); }
.faq-item[open] summary { color: var(--steel); }
.faq-answer { overflow: hidden; }
.faq-answer p { padding: 0 60px 24px 4px; font-size: 15.5px; color: var(--ink-3); max-width: 68ch; }

/* -------------------------------------------------------------------------
   CTA BAND
   ------------------------------------------------------------------------- */

.cta-band {
    background: var(--grad-brand);
    background-size: 260% 260%;
    animation: drift-brand 22s ease-in-out infinite;
    color: var(--haze);
    text-align: center;
    padding-block: clamp(64px, 8vw, 108px);
    position: relative; overflow: hidden; isolation: isolate;
}
.cta-band::after {
    content: ""; position: absolute; inset: -25%; z-index: -1;
    background:
        radial-gradient(38% 46% at 24% 30%, rgba(33, 182, 242, 0.6), transparent 70%),
        radial-gradient(34% 44% at 76% 70%, rgba(180, 92, 240, 0.55), transparent 70%);
    animation: aurora 22s ease-in-out infinite alternate;
    pointer-events: none;
}
.cta-band::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(70% 70% at 50% 50%, #000 0%, transparent 78%);
    -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 0%, transparent 78%);
}
.cta-band > .container { position: relative; }
.cta-band h2 {
    font-family: var(--display);
    font-variation-settings: 'wdth' 114, 'wght' 700;
    font-weight: 700;
    font-size: clamp(30px, 4.6vw, 56px);
    line-height: 1.02; letter-spacing: -0.035em;
    color: var(--white);
    max-width: 18ch; margin-inline: auto;
    text-wrap: balance;
}
.cta-band p { color: #f0f3ff; margin: 22px auto 34px; max-width: 46ch; font-size: 16.5px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* -------------------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------------------- */

@media (max-width: 980px) {
    .hero { padding-top: 48px; }
    .hero::after { background: linear-gradient(180deg, rgba(24, 42, 110, 0.6) 0%, rgba(24, 42, 110, 0.42) 100%); }
    .hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .crowd-grid, .ent-card, .dl-grid, .ledger { grid-template-columns: 1fr; }
    .metrics-grid { grid-template-columns: 1fr 1fr; gap: 32px 0; }
    .metric:nth-child(odd) { padding-left: 0; border-left: none; }
    .metric:nth-child(even) { padding-right: 0; }
    .metric { padding-inline: 24px; }
    .readout { grid-template-columns: 1fr; }
    .readout .cell + .cell { border-left: none; border-top: 1px solid rgba(203, 217, 251, 0.16); padding-left: 0; }
    .readout .cell { padding-block: 16px; }
    .readout .cell:not(:last-child) { padding-right: 0; }
    .ent-figure { order: 2; }
}

@media (max-width: 620px) {
    .ent-feats { grid-template-columns: 1fr; }
    .waitlist { flex-direction: column; }
    .waitlist .btn-submit { width: 100%; }
    .faq-answer p { padding-right: 4px; }
    .hero-ctas .btn-dl, .hero-ctas .btn-line { flex: 1 1 100%; justify-content: center; }
}
