@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
    --bg: #0a0e17;
    --bg-2: #0d1322;
    --surface: #111827;
    --surface-2: #141b2d;
    --border: rgba(201, 162, 39, 0.16);
    --border-soft: rgba(255, 255, 255, 0.07);
    --gold: #c9a227;
    --gold-bright: #e3c56a;
    --text: #f2efe8;
    --muted: #9aa3ba;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    overflow-x: hidden;
    min-height: 100vh;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(201, 162, 39, 0.10), transparent 60%),
        radial-gradient(ellipse 60% 40% at 90% 100%, rgba(94, 120, 180, 0.08), transparent 60%),
        var(--bg);
}

h1, h2, h3 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    margin: 0;
}

a { text-decoration: none; color: inherit; }

/* ── Background layers ─────────────────────────────────────────── */

#bg-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

#node-canvas {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    display: block;
    width: 100%;
    height: 100%;
}

main, header.nav, footer, section {
    position: relative;
    z-index: 2;
}

/* ── Nav ────────────────────────────────────────────────────────── */

header.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 5vw;
    background: rgba(10, 14, 23, 0.68);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-soft);
}

.wordmark {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.02em;
    color: var(--text);
}
.wordmark span.accent { color: var(--gold-bright); }

#buy_now_link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 10px 20px;
    border: 1px solid var(--gold);
    border-radius: 999px;
    color: var(--gold-bright);
    background: rgba(201, 162, 39, 0.06);
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
#buy_now_link:hover,
#buy_now_link:focus-visible {
    background: var(--gold);
    color: #0a0e17;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(201, 162, 39, 0.25);
}
#buy_now_link:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }

@media (max-width: 650px) {
    header.nav { padding: 14px 5vw; }
    .wordmark { font-size: 1.1rem; }
    #buy_now_link { padding: 8px 14px; font-size: 0.72rem; }
}

/* ── Hero ───────────────────────────────────────────────────────── */

.hero {
    padding: 14vh 6vw 10vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 74vh;
    justify-content: center;
    z-index: 2;
}

.hero .eyebrow {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 22px;
}

.hero h1 {
    font-weight: 700;
    font-size: clamp(2rem, 6vw, 5rem);
    line-height: 1.08;
    letter-spacing: -0.01em;
    max-width: 15ch;
    color: var(--text);
}

.hero h1 .line2 {
    display: block;
    color: var(--gold-bright);
}

.hero p.sub {
    margin: 28px 0 0;
    max-width: 680px;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    color: var(--muted);
}

@media (max-width: 480px) {
    .hero { padding: 12vh 6vw 8vh; min-height: 60vh; }
    .hero p.sub { font-size: 0.95rem; }
}

/* ── Cards ──────────────────────────────────────────────────────── */

.cards-section {
    padding: 6vh 6vw 10vh;
    z-index: 2;
}

.cards-section .section-head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 48px;
}
.cards-section .section-head h2 {
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 600;
    color: var(--text);
}
.cards-section .section-head p {
    color: var(--muted);
    margin-top: 12px;
    font-size: 0.98rem;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto;
}

.card {
    background: linear-gradient(165deg, var(--surface-2), var(--surface));
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 38px 35px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-6px);
    border-color: var(--border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.card .mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid var(--border);
    color: var(--gold-bright);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.card p {
    color: var(--muted);
    font-size: 0.96rem;
    margin: 0;
}

@media (max-width: 480px) {
    .cards-section { padding: 4vh 6vw 8vh; }
    .card { padding: 30px 26px; }
}

/* ── Signal line / CTA ─────────────────────────────────────────── */

.signal-line {
    padding: 12vh 6vw 14vh;
    text-align: center;
    z-index: 2;
}

.signal-inner {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.signal-status {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.signal-status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold-bright);
    box-shadow: 0 0 10px var(--gold-bright);
}

.signal-cta {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(1rem, 1.6vw, 1.3rem);
    letter-spacing: 0.03em;
    padding: 18px 46px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    color: #0a0e17;
    box-shadow: 0 12px 32px rgba(201, 162, 39, 0.28);
    transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.2s ease;
}
.signal-cta:hover,
.signal-cta:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(201, 162, 39, 0.4);
    filter: brightness(1.05);
}
.signal-cta:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 4px; }

.signal-sub {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

@media (max-width: 480px) {
    .signal-line { padding: 8vh 6vw 10vh; }
    .signal-cta { padding: 16px 32px; }
}

/* ── Footer ─────────────────────────────────────────────────────── */
/* Footer markup itself is injected via SSI and shouldn't be edited per-domain -
   spacing and contrast against the dark theme live here instead. */

footer {
    position: relative;
    z-index: 5;
    padding: 30px 20px 40px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted);
    background: rgba(10, 14, 23, 0.6);
    border-top: 1px solid var(--border-soft);
}

footer div {
    margin: 4px 0;
}

footer a {
    color: var(--gold-bright);
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
