/* ============ YOLO247 MARKETERS — SHARED STYLES ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
:root {
    --bg: #0a0a0a;
    --bg-alt: #111111;
    --fg: #f5f5f0;
    --muted: #8a8a82;
    --accent: #d4ff3a;
    --accent-soft: rgba(212, 255, 58, 0.12);
    --line: rgba(245, 245, 240, 0.08);
    --line-strong: rgba(245, 245, 240, 0.18);
    --serif: 'Fraunces', Georgia, serif;
    --sans: 'Geist', -apple-system, sans-serif;
    --mono: 'Geist Mono', monospace;
}
body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--fg);
    line-height: 1.5;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--accent); color: var(--bg); }

body::before {
    content: '';
    position: fixed; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1000;
    opacity: 0.5;
    mix-blend-mode: overlay;
}

.container { max-width: 1440px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 768px) { .container { padding: 0 20px; } }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 768px) { .container-narrow { padding: 0 20px; } }

/* ============ NAV ============ */
.nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 20px 0;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(10, 10, 10, 0.6);
    border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.02em;
    display: flex;
    align-items: baseline;
    gap: 2px;
}
.logo-mark { color: var(--accent); font-style: italic; }
.logo-sub { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-left: 8px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 400; }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
    font-size: 14px;
    color: var(--muted);
    transition: color 0.2s;
    position: relative;
}
.nav-links a:hover { color: var(--fg); }
.nav-links a.active { color: var(--fg); }
.nav-cta {
    padding: 10px 22px;
    background: var(--accent);
    color: var(--bg) !important;
    border-radius: 100px;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.2s;
}
.nav-cta:hover { transform: translateY(-2px); }
.nav-toggle { display: none; }
@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; font-family: var(--mono); font-size: 13px; }
    .nav-links.open {
        display: flex; flex-direction: column;
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--bg); padding: 24px;
        border-bottom: 1px solid var(--line);
        gap: 18px;
    }
}

/* ============ BUTTONS ============ */
.btn-primary {
    padding: 18px 32px;
    background: var(--accent);
    color: var(--bg);
    border-radius: 100px;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}
.btn-primary:hover { background: var(--fg); transform: translateY(-2px); }
.btn-secondary {
    padding: 18px 32px;
    border: 1px solid var(--line-strong);
    border-radius: 100px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ============ SECTION BASE ============ */
section { padding: 120px 0; position: relative; }
@media (max-width: 768px) { section { padding: 80px 0; } }

.section-label {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.section-label::before {
    content: ''; width: 32px; height: 1px; background: var(--accent);
}
.section-title {
    font-family: var(--serif);
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 32px;
}
.section-title em { font-style: italic; color: var(--accent); }

/* ============ PAGE HERO (for inner pages) ============ */
.page-hero {
    padding: 180px 0 100px;
    border-bottom: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at top, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at top, black 20%, transparent 70%);
}
.page-hero-inner { position: relative; }
.page-hero h1 {
    font-family: var(--serif);
    font-size: clamp(48px, 8vw, 120px);
    font-weight: 300;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}
.page-hero h1 em { font-style: italic; color: var(--accent); }
.page-hero p.lead {
    max-width: 640px;
    font-size: 18px;
    color: var(--muted);
    line-height: 1.6;
}

/* ============ PROSE (legal/about content) ============ */
.prose {
    font-size: 16px;
    line-height: 1.75;
    color: var(--fg);
}
.prose h2 {
    font-family: var(--serif);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 400;
    letter-spacing: -0.02em;
    margin: 64px 0 20px;
    line-height: 1.15;
}
.prose h2:first-child { margin-top: 0; }
.prose h2 em { font-style: italic; color: var(--accent); }
.prose h3 {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    margin: 40px 0 16px;
    letter-spacing: -0.01em;
}
.prose p { margin-bottom: 20px; color: var(--muted); }
.prose p strong { color: var(--fg); font-weight: 500; }
.prose ul, .prose ol { margin: 0 0 24px 24px; color: var(--muted); }
.prose li { margin-bottom: 10px; }
.prose a {
    color: var(--accent);
    border-bottom: 1px solid var(--accent-soft);
    transition: border-color 0.2s;
}
.prose a:hover { border-color: var(--accent); }
.prose hr { border: none; border-top: 1px solid var(--line); margin: 60px 0; }
.prose .meta {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

/* ============ FOOTER ============ */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--line);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--line);
}
.footer-brand { max-width: 360px; }
.footer-brand .logo { font-size: 32px; margin-bottom: 24px; }
.footer-brand p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.footer-col h4 {
    font-family: var(--mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted);
    margin-bottom: 24px;
    font-weight: 400;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 15px; color: var(--fg); transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-legal {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-legal a { transition: color 0.2s; }
.footer-legal a:hover { color: var(--accent); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Skip link a11y */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent);
    color: var(--bg);
    padding: 12px 20px;
    z-index: 1001;
    font-weight: 600;
}
.skip-link:focus { top: 0; }
