:root {
    color-scheme: dark;
    --bg: #06111f;
    --panel: rgba(10, 24, 43, 0.86);
    --panel-strong: rgba(15, 32, 55, 0.96);
    --text: #f7fbff;
    --muted: #b7c8d8;
    --line: rgba(255, 255, 255, 0.14);
    --brand: #55d6ff;
    --brand-2: #7cf4c7;
    --ink: #05101d;
    --shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.marketing-page {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 18% 8%, rgba(85, 214, 255, 0.24), transparent 34rem),
        radial-gradient(circle at 78% 14%, rgba(124, 244, 199, 0.17), transparent 28rem),
        linear-gradient(140deg, #030814 0%, #06111f 42%, #0c1e35 100%);
}

a {
    color: inherit;
}

a:focus-visible,
.btn:focus-visible {
    outline: 3px solid var(--brand-2);
    outline-offset: 4px;
}

.site-nav,
.site-footer,
.hero-section,
.split-section,
.program-section,
.contact-section,
.contact-hero {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    gap: 12px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: -0.03em;
    font-size: 1.2rem;
}

.brand-mark {
    width: 42px;
    height: 42px;
    filter: drop-shadow(0 8px 26px rgba(85, 214, 255, 0.28));
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 0.95rem;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 2px;
    text-decoration: none;
}

.nav-links a:hover,
.email-link:hover,
.site-footer a:hover {
    color: var(--brand-2);
}

.hero-section {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
    gap: 28px;
    align-items: stretch;
    padding: 58px 0 34px;
}

.hero-copy,
.hero-panel,
.split-section,
.program-section,
.contact-section,
.contact-hero {
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    border-radius: 32px;
}

.hero-copy {
    padding: clamp(28px, 5vw, 58px);
}

.eyebrow {
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--brand-2);
    font-weight: 800;
    font-size: 0.74rem;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 880px;
    margin-bottom: 22px;
    font-size: clamp(2.55rem, 6.4vw, 5.45rem);
    line-height: 0.98;
    letter-spacing: -0.058em;
}

h2 {
    margin-bottom: 16px;
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: 0.98;
    letter-spacing: -0.065em;
}

h3 {
    margin-bottom: 10px;
    font-size: 1.22rem;
}

.hero-lede,
.split-section > div > p,
.program-copy > p,
.contact-section > div > p,
.contact-hero > p {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.72;
}

.hero-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.btn:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.32);
}

.btn-primary {
    color: #03121f;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    border-color: transparent;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
}

.btn-dark {
    background: #f5f8fb;
    color: #071523;
    border-color: transparent;
}

.btn-light {
    background: rgba(124, 244, 199, 0.1);
    border-color: rgba(124, 244, 199, 0.32);
}

.btn-full {
    width: 100%;
    margin-top: 10px;
}

.hero-note,
.small-copy,
.contact-card small,
.signal-grid span {
    color: var(--muted);
}

.hero-note,
.small-copy {
    margin: 20px 0 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.small-copy a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.hero-panel {
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background:
        linear-gradient(180deg, rgba(85, 214, 255, 0.13), transparent 40%),
        var(--panel-strong);
}

.panel-pill {
    width: fit-content;
    padding: 9px 14px;
    border-radius: 999px;
    color: var(--brand-2);
    border: 1px solid rgba(124, 244, 199, 0.26);
    background: rgba(124, 244, 199, 0.09);
    font-weight: 800;
    font-size: 0.82rem;
}

.flow-diagram {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 10px;
    align-items: center;
    margin: 30px 0 18px;
    padding: 18px;
    border: 1px solid rgba(85, 214, 255, 0.24);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(85, 214, 255, 0.12), rgba(124, 244, 199, 0.08));
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 850;
    text-align: center;
}

.flow-diagram span:nth-child(even) {
    color: var(--brand-2);
}

.signal-grid,
.card-grid,
.contact-grid {
    display: grid;
    gap: 14px;
}

.signal-grid {
    margin-top: 28px;
}

.signal-grid div,
.feature-card,
.program-card,
.contact-card {
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.055);
}

.signal-grid div {
    padding: 18px;
}

.signal-grid strong,
.signal-grid span,
.contact-card span,
.contact-card strong,
.contact-card small {
    display: block;
}

.signal-grid strong {
    margin-bottom: 6px;
}

.split-section,
.program-section,
.contact-section,
.contact-hero {
    padding: clamp(24px, 4vw, 44px);
    margin-top: 24px;
}

.split-section,
.program-section {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}

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

.feature-card,
.program-card,
.contact-card {
    padding: 20px;
}

.feature-card p,
.program-card p,
.check-list,
.contact-card small {
    line-height: 1.6;
}

.check-list {
    margin: 20px 0 0;
    padding-left: 20px;
    color: var(--muted);
}

.check-list li + li {
    margin-top: 10px;
}

.contact-card {
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.contact-card:hover,
.contact-card.is-active {
    transform: translateY(-2px);
    border-color: rgba(85, 214, 255, 0.58);
    background: rgba(85, 214, 255, 0.1);
}

.contact-card span {
    font-weight: 850;
    margin-bottom: 6px;
}

.contact-card strong,
.email-link {
    color: var(--brand);
}

.contact-card small {
    margin-top: 10px;
}

.contact-hero {
    margin-top: 48px;
    text-align: left;
}

.email-link {
    display: inline-flex;
    margin-top: 8px;
    font-size: clamp(1.6rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.06em;
    text-decoration: none;
}

.contact-directory {
    margin-top: 24px;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 28px 0 44px;
    color: var(--muted);
}

.site-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    text-decoration: none;
}

@media (max-width: 860px) {
    .site-nav,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-section,
    .split-section,
    .program-section,
    .card-grid,
    .contact-grid,
    .flow-diagram {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding-top: 24px;
    }
}
