:root {
    --bg: #070a12;
    --panel: #0e1422;
    --panel-strong: #131b2f;
    --ink: #f4f7fb;
    --muted: #a7b1c4;
    --soft: #6f7c93;
    --cyan: #35d5e8;
    --teal: #1fb89d;
    --violet: #8b5cf6;
    --rose: #f15b83;
    --line: rgba(244, 247, 251, 0.12);
    --shadow: rgba(0, 0, 0, 0.36);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(135deg, rgba(53, 213, 232, 0.1), transparent 28%),
        linear-gradient(215deg, rgba(139, 92, 246, 0.14), transparent 32%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 96px),
        var(--bg);
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.55;
}

a {
    color: inherit;
}

h1,
h2,
h3,
p,
dt,
dd {
    overflow-wrap: anywhere;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px clamp(18px, 5vw, 76px);
    border-bottom: 1px solid var(--line);
    background: rgba(7, 10, 18, 0.78);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-weight: 900;
    text-decoration: none;
}

.brand span {
    font-size: 1.05rem;
}

nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
    color: var(--muted);
    font-size: 0.93rem;
}

nav a {
    text-decoration: none;
}

nav a:hover {
    color: var(--cyan);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.78fr);
    gap: clamp(34px, 6vw, 92px);
    align-items: center;
    min-height: calc(100svh - 73px);
    padding: clamp(56px, 8vw, 112px) clamp(18px, 5vw, 76px) 66px;
}

.hero-copy {
    max-width: 900px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--cyan);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1 {
    max-width: 980px;
    margin: 0;
    font-size: clamp(4rem, 10vw, 9.5rem);
    line-height: 0.88;
    letter-spacing: 0;
}

h2 {
    margin: 0;
    max-width: 900px;
    font-size: clamp(2.05rem, 5vw, 4.8rem);
    line-height: 1;
    letter-spacing: 0;
}

h3 {
    margin: 0;
    font-size: 1.08rem;
}

.lead {
    max-width: 720px;
    margin: 28px 0 0;
    color: #d4dae7;
    font-size: clamp(1.09rem, 1.75vw, 1.34rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.button,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border: 0;
    border-radius: 8px;
    font: inherit;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.primary,
button {
    color: #051017;
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    box-shadow: 0 18px 42px rgba(31, 184, 157, 0.24);
}

.secondary {
    color: var(--ink);
    border: 1px solid rgba(53, 213, 232, 0.35);
    background: rgba(255, 255, 255, 0.06);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 720px;
    margin: 38px 0 0;
}

.hero-stats div {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
}

.hero-stats dt {
    color: var(--cyan);
    font-size: 1.65rem;
    font-weight: 950;
    line-height: 1;
}

.hero-stats dd {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.terminal-panel {
    border: 1px solid rgba(53, 213, 232, 0.24);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(19, 27, 47, 0.96), rgba(9, 14, 25, 0.96)),
        repeating-linear-gradient(0deg, rgba(53, 213, 232, 0.04) 0 1px, transparent 1px 28px);
    box-shadow: 0 34px 90px var(--shadow);
    overflow: hidden;
}

.terminal-top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
}

.terminal-top span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--rose);
}

.terminal-top span:nth-child(2) {
    background: var(--violet);
}

.terminal-top span:nth-child(3) {
    background: var(--cyan);
}

.terminal-top strong {
    margin-left: auto;
    color: var(--muted);
    font-size: 0.78rem;
}

.signal-stack {
    display: grid;
    gap: 18px;
    padding: 26px;
}

.signal-row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) 36px;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 0.9rem;
}

.signal-row b {
    color: var(--ink);
    text-align: right;
}

meter {
    width: 100%;
    height: 12px;
}

meter::-webkit-meter-bar {
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
}

meter::-webkit-meter-optimum-value {
    border-radius: 999px;
    background: linear-gradient(90deg, var(--cyan), var(--violet));
}

.pattern-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 0 26px 26px;
}

.pattern-grid i {
    aspect-ratio: 1;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(53, 213, 232, 0.12), transparent),
        rgba(255, 255, 255, 0.04);
}

.pattern-grid i:nth-child(3n) {
    background:
        linear-gradient(135deg, rgba(139, 92, 246, 0.2), transparent),
        rgba(255, 255, 255, 0.04);
}

.terminal-note {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 26px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.terminal-note strong {
    color: var(--cyan);
}

.market-section,
.split-section,
.coverage-section,
.access-section,
footer {
    padding-inline: clamp(18px, 5vw, 76px);
}

.market-section {
    padding-block: clamp(54px, 8vw, 104px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.75fr);
    gap: clamp(26px, 5vw, 70px);
    align-items: end;
    margin-bottom: 30px;
}

.section-head p:last-child {
    margin: 0;
    color: var(--muted);
}

.compact {
    display: block;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.market-card {
    min-height: 190px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
}

.market-card div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
}

.market-card strong {
    color: var(--ink);
    font-size: 1.15rem;
}

.market-card p {
    margin: 38px 0 8px;
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    font-weight: 950;
    line-height: 1;
}

.market-card em {
    display: inline-flex;
    margin-bottom: 16px;
    color: #051017;
    border-radius: 999px;
    padding: 4px 10px;
    background: var(--cyan);
    font-style: normal;
    font-weight: 900;
}

.market-card small {
    display: block;
    color: var(--soft);
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.7fr);
    gap: clamp(28px, 6vw, 92px);
    padding-block: clamp(62px, 9vw, 118px);
}

.copy-stack {
    display: grid;
    gap: 18px;
    color: #d5dbe7;
    font-size: 1.08rem;
}

.copy-stack p {
    margin: 0;
}

.module-table {
    margin: 0 clamp(18px, 5vw, 76px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    overflow: hidden;
}

.table-header,
.table-row {
    display: grid;
    grid-template-columns: 0.75fr 1fr 1.2fr;
    gap: 18px;
    align-items: start;
    padding: 18px 22px;
}

.table-header {
    color: var(--cyan);
    border-bottom: 1px solid var(--line);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.table-row {
    border-bottom: 1px solid var(--line);
}

.table-row:last-child {
    border-bottom: 0;
}

.table-row p {
    margin: 0;
    color: var(--muted);
}

.risk-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: clamp(54px, 8vw, 92px) 0;
    background: var(--line);
}

.risk-band div {
    padding: clamp(24px, 4vw, 42px) clamp(18px, 4vw, 34px);
    background: var(--panel);
}

.risk-band span {
    color: var(--rose);
    font-weight: 950;
}

.risk-band h3 {
    margin-top: 18px;
}

.risk-band p {
    margin: 12px 0 0;
    color: var(--muted);
}

.coverage-section {
    padding-block: clamp(50px, 8vw, 96px);
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 30px;
}

.coverage-grid article {
    min-height: 220px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(53, 213, 232, 0.08), transparent 46%),
        rgba(255, 255, 255, 0.035);
}

.coverage-grid span {
    display: block;
    color: var(--cyan);
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.coverage-grid strong {
    display: block;
    margin-top: 36px;
    font-size: 1.35rem;
    line-height: 1.1;
}

.coverage-grid p {
    margin: 16px 0 0;
    color: var(--muted);
}

.access-section {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.72fr);
    gap: clamp(30px, 6vw, 90px);
    align-items: start;
    padding-block: clamp(60px, 9vw, 120px);
    background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.08));
}

.access-copy p:not(.eyebrow) {
    max-width: 620px;
    color: var(--muted);
    font-size: 1.05rem;
}

.disclaimer {
    margin-top: 26px;
    padding-left: 16px;
    border-left: 3px solid var(--rose);
}

form {
    display: grid;
    gap: 16px;
    padding: clamp(20px, 4vw, 30px);
    border: 1px solid rgba(53, 213, 232, 0.2);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(19, 27, 47, 0.95), rgba(10, 15, 26, 0.95));
    box-shadow: 0 30px 90px var(--shadow);
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid rgba(244, 247, 251, 0.14);
    border-radius: 8px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.07);
    font: inherit;
}

input,
select {
    min-height: 48px;
    padding: 0 13px;
}

textarea {
    resize: vertical;
    padding: 13px;
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid rgba(53, 213, 232, 0.42);
    outline-offset: 2px;
}

select option {
    color: #111827;
}

.hp-field {
    position: absolute;
    left: -9999px;
}

.notice {
    padding: 13px 15px;
    border-radius: 8px;
    font-weight: 800;
}

.notice p {
    margin: 0;
}

.notice p + p {
    margin-top: 6px;
}

.success {
    color: #09251f;
    background: rgba(53, 213, 232, 0.86);
}

.error {
    color: #fff4f6;
    background: rgba(241, 91, 131, 0.22);
    border: 1px solid rgba(241, 91, 131, 0.45);
}

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-block: 28px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

footer span {
    color: var(--ink);
    font-weight: 950;
}

footer p {
    margin: 0;
}

@media (max-width: 1000px) {
    .hero,
    .section-head,
    .split-section,
    .access-section {
        grid-template-columns: 1fr;
    }

    .market-grid,
    .coverage-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .site-header {
        position: static;
        align-items: flex-start;
        flex-direction: column;
    }

    nav {
        justify-content: flex-start;
    }

    .hero {
        min-height: auto;
    }

    .hero-stats,
    .market-grid,
    .coverage-grid,
    .risk-band,
    .field-grid {
        grid-template-columns: 1fr;
    }

    .signal-row,
    .table-header,
    .table-row {
        grid-template-columns: 1fr;
    }

    .table-header {
        display: none;
    }

    .pattern-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    footer {
        align-items: flex-start;
        flex-direction: column;
    }
}
