:root {
    --bg: #081318;
    --bg-soft: #0d1d24;
    --bg-elevated: rgba(13, 29, 36, 0.84);
    --panel: rgba(9, 19, 24, 0.9);
    --panel-strong: rgba(7, 16, 20, 0.96);
    --line: rgba(135, 243, 217, 0.12);
    --line-strong: rgba(135, 243, 217, 0.25);
    --text: #edf8f5;
    --muted: #9eb9b4;
    --muted-strong: #cce1dc;
    --accent: #7ff0d6;
    --accent-2: #56d7ff;
    --accent-3: #9ff76b;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    --radius-xl: 32px;
    --radius-lg: 22px;
    --radius-md: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Manrope", system-ui, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 16%, rgba(86, 215, 255, 0.14), transparent 26%),
        radial-gradient(circle at 84% 12%, rgba(159, 247, 107, 0.12), transparent 24%),
        radial-gradient(circle at 72% 72%, rgba(127, 240, 214, 0.1), transparent 28%),
        linear-gradient(180deg, #071117 0%, #0a171c 55%, #061015 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(18px);
    background: rgba(5, 12, 15, 0.74);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(127, 240, 214, 0.25), rgba(86, 215, 255, 0.25));
    border: 1px solid rgba(127, 240, 214, 0.35);
    color: var(--accent);
    box-shadow: 0 0 0 1px rgba(127, 240, 214, 0.08) inset;
}

.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-size: 1.3rem; line-height: 1; }
.brand-copy span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--muted);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.site-nav a {
    padding: 0.8rem 1rem;
    border-radius: 999px;
    color: var(--muted-strong);
    font-size: 0.92rem;
    font-weight: 700;
    transition: 0.25s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
    background: rgba(127, 240, 214, 0.08);
    color: var(--text);
}

.header-actions { display: flex; align-items: center; gap: 12px; }

.header-badge {
    border-radius: 999px;
    padding: 0.78rem 1rem;
    background: rgba(159, 247, 107, 0.1);
    border: 1px solid rgba(159, 247, 107, 0.18);
    color: var(--accent-3);
    font-weight: 800;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.mobile-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    font: inherit;
}

.mobile-nav { display: none; padding: 0 0 20px; }
.mobile-nav.is-open { display: grid; gap: 8px; }
.mobile-nav a {
    padding: 0.95rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-weight: 700;
}

.ticker {
    overflow: hidden;
    background: linear-gradient(90deg, rgba(86, 215, 255, 0.15), rgba(127, 240, 214, 0.25), rgba(159, 247, 107, 0.14));
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.ticker-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    min-width: 100%;
    padding: 0.85rem 0;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--muted-strong);
    animation: marquee 26s linear infinite;
}

.page-shell { padding: 32px 0 80px; }

.hero-panel,
.section-panel,
.article-shell,
.faq-shell,
.link-hub,
.footer-shell,
.aside-panel {
    position: relative;
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
    background: var(--bg-elevated);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-panel::before,
.section-panel::before,
.article-shell::before,
.faq-shell::before,
.link-hub::before,
.footer-shell::before,
.aside-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.04), transparent 34%),
        linear-gradient(300deg, rgba(127, 240, 214, 0.04), transparent 40%);
    pointer-events: none;
}

.hero-panel { padding: clamp(28px, 5vw, 58px); margin-bottom: 24px; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    padding: 0.78rem 1rem;
    border-radius: 999px;
    background: rgba(127, 240, 214, 0.08);
    border: 1px solid rgba(127, 240, 214, 0.18);
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.76rem;
    font-weight: 800;
}

.eyebrow::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 20px rgba(127, 240, 214, 0.35);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.9fr);
    gap: 28px;
    align-items: start;
}

.hero-panel h1 {
    margin: 0;
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: clamp(2.7rem, 7vw, 5.35rem);
    line-height: 0.94;
    letter-spacing: -0.06em;
}

.hero-panel h1 .gradient {
    background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
    background-size: 180% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 6s linear infinite;
}

.hero-copy {
    max-width: 62ch;
    margin: 20px 0 0;
    font-size: 1.06rem;
    line-height: 1.86;
    color: var(--muted-strong);
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1rem 1.25rem;
    border-radius: 18px;
    font-weight: 800;
    transition: 0.25s ease;
    min-width: 190px;
}

.button.primary {
    background: linear-gradient(90deg, rgba(127, 240, 214, 0.92), rgba(86, 215, 255, 0.92));
    color: #04222b;
}

.button.secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
}

.button:hover { transform: translateY(-2px); }

.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.stat-card {
    padding: 18px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.stat-card strong {
    display: block;
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: 2rem;
    line-height: 1;
    color: var(--accent);
}
.stat-card span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 800;
}

.section-panel, .faq-shell, .link-hub, .footer-shell { padding: 26px; margin-top: 24px; }

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.section-head h2, .article-shell h2, .faq-shell h2, .link-hub h2 {
    margin: 0;
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: clamp(1.7rem, 4vw, 2.55rem);
    letter-spacing: -0.05em;
}

.section-head p, .article-shell p, .aside-panel p, .faq-shell p, .link-hub p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.site-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.site-card {
    display: grid;
    gap: 0;
    min-height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--panel-strong);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.site-media {
    position: relative;
    aspect-ratio: 1.2 / 1;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.site-media img { width: 100%; height: 100%; object-fit: cover; }
.site-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(4, 13, 16, 0.88) 100%);
}

.site-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(7, 16, 20, 0.86);
    border: 1px solid rgba(127, 240, 214, 0.18);
    color: var(--accent);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 800;
}

.site-body { display: grid; gap: 14px; padding: 18px; }
.site-title { margin: 0; font-size: 1.08rem; font-weight: 800; }
.site-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.76rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800;
}

.site-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(127, 240, 214, 0.18), rgba(86, 215, 255, 0.18));
    border: 1px solid rgba(127, 240, 214, 0.18);
    font-weight: 800;
}

.content-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.8fr);
    gap: 24px;
    margin-top: 24px;
}

.article-shell, .aside-panel { padding: 26px; }
.article-shell > * + * { margin-top: 18px; }
.article-shell p { font-size: 1rem; }

.insight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.insight-card {
    padding: 18px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.insight-card strong { display: block; margin-bottom: 10px; color: var(--accent); font-size: 0.95rem; letter-spacing: -0.01em; }

.note-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }

.note-list li {
    padding: 14px 14px 14px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--muted-strong);
    line-height: 1.7;
    position: relative;
}

.note-list li::before {
    content: "";
    position: absolute;
    top: 17px;
    left: 8px;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent-2);
}

.faq-list { display: grid; gap: 12px; margin-top: 22px; }
.faq-item {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}
.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 20px;
    font-weight: 800;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { padding: 0 20px 18px; color: var(--muted-strong); }

.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.link-tile {
    padding: 20px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: 0.25s ease;
}
.link-tile:hover {
    transform: translateY(-3px);
    border-color: rgba(127, 240, 214, 0.18);
}
.link-tile strong { display: block; margin-bottom: 10px; font-size: 1rem; }

.footer-shell { display: grid; gap: 16px; margin-top: 32px; }

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.footer-copy { color: var(--muted); line-height: 1.8; max-width: 72ch; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-pill {
    padding: 0.72rem 0.92rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--muted-strong);
    font-size: 0.82rem;
    font-weight: 800;
}

.footer-legal {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 180% center; }
}

@media (max-width: 980px) {
    .site-nav, .header-badge { display: none; }
    .mobile-toggle { display: inline-grid; place-items: center; }
    .hero-grid, .content-shell { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .wrap { width: min(100% - 24px, 1180px); }
    .hero-panel, .section-panel, .article-shell, .faq-shell, .link-hub, .footer-shell, .aside-panel { border-radius: 24px; padding: 20px; }
    .hero-actions, .footer-top { flex-direction: column; align-items: stretch; }
    .button { width: 100%; }
    .insight-grid, .stat-grid { grid-template-columns: 1fr; }
    .section-head { flex-direction: column; align-items: start; }
}
