/* Quantic v1.2 · shared overrides that sit on top of each page's own styles.
   Colours come from tokens.css. Light-first, high contrast for older readers. */

html { font-size: 106.25%; } /* 17px base: body copy lands at 17-18px */
body { font-family: var(--font-main); }
h1, h2, h3, h4 { font-family: var(--font-main); font-weight: 600; letter-spacing: -0.01em; }

/* Logo */
.nav-logo { display: inline-flex; align-items: center; line-height: 0; }
.nav-logo img { width: 240px; height: auto; display: block; }
.nav-logo picture { display: block; line-height: 0; }
@media (max-width: 600px) { .nav-logo img { width: 170px; } } /* plain wordmark below 240px, per the logo rules */

/* Eyebrows and small labels: Poppins 600 caps, never below 14px */
.hero-tag, .stag, [class*="-tag"]:not(img), .quote-attr, .contact-info h3, .magnet-preview-tag {
    font-family: var(--font-main) !important;
    font-weight: 600;
    letter-spacing: 0.2em;
}
.hero-tag, .stag { font-size: 0.8rem !important; }

/* Buttons are pills */
.btn-primary, .btn-outline, .btn-secondary, .nav-cta, .form-submit, [class^="btn"], [class*=" btn"] {
    border-radius: var(--radius-pill) !important;
    font-family: var(--font-main);
    font-weight: 600;
}

/* Cards */
.program-card, .testimonial-card, .founder-card, .faq-item, .stat-card, .science-feature { border-radius: var(--radius-card); }

/* Visible focus everywhere */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
    outline: 3px solid var(--nebula-purple);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Home hero: night-sky radial and the v1.2 lockup (static until Mapa's animated SVG arrives) */
.hero { background: radial-gradient(120% 90% at 50% 0%, var(--deep-nebula) 0%, var(--void) 70%) !important; }
.hero-logo-wrap { display: flex; justify-content: center; padding: 1rem 2rem 0; }
.hero-logo.hero-logo-v12 { width: min(720px, 86vw); height: auto; }

/* Light grounds: turquoise is decoration only, never text (1.6:1 on white).
   These elements sit on white or moonlight, so they take Nebula Purple. */
.trust-item .trust-num,
.founder-link,
.post-tag,
.event-card:not(.featured) .event-date,
.whw-label, .whw.pink .whw-label,
.testimonial-stars { color: var(--nebula-purple) !important; }
.founder-link { text-decoration: underline; text-underline-offset: 3px; }
.founder-link:hover { color: var(--ink-muted) !important; }
.badge-soon { color: var(--nebula-purple) !important; background: var(--surface-tint) !important; }

/* Primary button on a light section: Nebula Purple pill, white text (13:1) */
.magnet .btn-primary { background: var(--nebula-purple) !important; color: #fff !important; }
.magnet .btn-primary:hover { background: var(--deep-nebula) !important; box-shadow: var(--shadow-card) !important; }

/* Announcement bar: one neon per piece */
.announcement-bar strong { color: var(--moonlight) !important; }

.mission .stag-cyan, .bios .stag-cyan, .programs .stag-cyan, .testimonials .stag-cyan,
.magnet .stag-cyan, .founders .stag-cyan, .faq .stag-cyan { color: var(--nebula-purple) !important; }
.movement-num { color: var(--aurora-turquoise) !important; }
