:root {
    --bg-dark: #0f0f10;
    --bg-card: #18181b;
    --bg-card-2: #1f1f23;
    --accent: #22c55e;
    --accent-dim: #16a34a;
    --accent-soft: rgba(34, 197, 94, 0.12);
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --border: #27272a;
}

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

body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; font-weight: 600; line-height: 1.2; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.narrow > * { max-width: 820px; }
.center { text-align: center; }
.center .section-intro { margin-left: auto; margin-right: auto; }

/* Navigation */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 20px 0;
    background: rgba(15, 15, 16, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
nav .container { display: flex; justify-content: space-between; align-items: center; }
.logo {
    font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700;
    color: var(--text-primary); letter-spacing: -0.02em; text-decoration: none; white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-link { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.nav-link:hover, .nav-link.active { color: var(--text-primary); }
.nav-cta {
    background: var(--accent); color: var(--bg-dark); padding: 10px 20px; border-radius: 6px;
    text-decoration: none; font-weight: 500; font-size: 0.9rem; transition: background 0.2s; white-space: nowrap;
}
.nav-cta:hover { background: var(--accent-dim); }

/* Buttons and links */
.btn {
    display: inline-block; background: var(--accent); color: var(--bg-dark); padding: 16px 32px;
    border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 1rem;
    transition: background 0.2s, transform 0.2s;
}
.btn:hover { background: var(--accent-dim); transform: translateY(-2px); }
.btn-lg { padding: 18px 40px; font-size: 1.1rem; }
.text-link { color: var(--accent); text-decoration: none; font-weight: 500; }
.text-link:hover { text-decoration: underline; }

/* Hero */
.hero { padding: 150px 0 50px; text-align: center; }
.hero-tagline {
    display: inline-block; background: var(--bg-card); border: 1px solid var(--border);
    padding: 8px 16px; border-radius: 50px; font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 32px;
}
.hero h1 { font-size: clamp(2.5rem, 6vw, 4rem); margin: 0 auto 24px; max-width: 820px; }
.hero h1 .accent { color: var(--accent); }
.hero-sub { font-size: 1.2rem; color: var(--text-secondary); max-width: 640px; margin: 0 auto 40px; }

.trust-strip {
    list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
    gap: 10px 28px; margin-top: 36px; font-size: 0.88rem; color: var(--text-muted);
}
.trust-strip li::before { content: "✓"; color: var(--accent); margin-right: 8px; }

/* Page hero (inner pages) */
.page-hero { padding: 150px 0 40px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 20px; }
.page-hero .hero-sub { margin: 0; max-width: 680px; }

/* Client logos */
.clients { padding: 0 0 56px; text-align: center; }
.clients-label {
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--text-muted); margin-bottom: 24px;
}
.client-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 56px; }
.client-logos img { display: block; height: 34px; width: auto; max-width: 200px; object-fit: contain; opacity: 0.65; transition: opacity 0.2s; }
.client-logos img.wide { height: 26px; }
.client-logos img:hover { opacity: 1; }

/* Sections */
section { padding: 64px 0; }
.band { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.rule { border-top: 1px solid var(--border); }
.section-label {
    display: inline-block; font-size: 0.8rem; font-weight: 600; color: var(--accent);
    text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px;
}
.section-title { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 20px; }
.section-intro { font-size: 1.1rem; color: var(--text-secondary); max-width: 660px; }

/* Card grids */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 36px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.card { background: var(--bg-dark); border: 1px solid var(--border); border-radius: 12px; padding: 32px; }
.on-dark .card { background: var(--bg-card); }
.card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.card p { color: var(--text-secondary); font-size: 0.97rem; }
.card .card-label {
    font-family: 'Outfit', sans-serif; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.card.accent { border-left: 3px solid var(--accent); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; margin-top: 36px; }
.step-number { font-family: 'Outfit', sans-serif; font-size: 3rem; font-weight: 700; color: var(--accent); opacity: 0.3; margin-bottom: 8px; }
.step h3 { font-size: 1.3rem; margin-bottom: 12px; }
.step p { color: var(--text-secondary); font-size: 0.97rem; }

/* Results */
.results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 36px 0 28px; }
.result { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; }
.result .stat { white-space: nowrap; font-family: 'Outfit', sans-serif; font-size: 1.55rem; font-weight: 700; color: var(--accent); line-height: 1.1; margin-bottom: 6px; }
.result .who { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 14px; }
.result p { color: var(--text-secondary); font-size: 0.93rem; }

/* Feature list */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split p { color: var(--text-secondary); margin-bottom: 16px; }
.features { list-style: none; }
.features li { padding: 16px 0; border-bottom: 1px solid var(--border); display: flex; align-items: flex-start; gap: 12px; }
.features li:last-child { border-bottom: none; }
.features .tick { color: var(--accent); font-size: 1.2rem; flex-shrink: 0; line-height: 1.4; }
.features h4 { font-size: 1rem; margin-bottom: 4px; }
.features p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* About */
.about-content { display: grid; grid-template-columns: 2fr 1fr; gap: 64px; align-items: start; }
.about-text p { color: var(--text-secondary); margin-bottom: 16px; font-size: 1.05rem; }
.about-text p:first-of-type { color: var(--text-primary); font-size: 1.2rem; }
.founder-name { color: var(--text-primary); font-weight: 500; }
.about-stats { display: flex; flex-direction: column; gap: 24px; }
.stat-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
.stat-box .stat-number { font-family: 'Outfit', sans-serif; font-size: 2.5rem; font-weight: 700; color: var(--accent); }
.stat-box .stat-label { color: var(--text-secondary); font-size: 0.9rem; }

/* Adviser band */
.adviser-band { padding: 40px 0; }
.adviser-box {
    display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
    background: var(--accent-soft); border: 1px solid var(--accent-dim); border-radius: 14px; padding: 28px 32px;
}
.adviser-box h3 { font-size: 1.2rem; margin-bottom: 4px; }
.adviser-box p { color: var(--text-secondary); font-size: 0.95rem; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.faq-item { background: var(--bg-dark); border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 10px; }
.faq-item p { color: var(--text-secondary); font-size: 0.95rem; }

/* Insights */
.insights-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 40px; }
.insights-column h3 { font-size: 1.1rem; margin-bottom: 24px; color: var(--text-secondary); font-weight: 500; }
.article-list { display: flex; flex-direction: column; gap: 16px; }
.article-card { background: var(--bg-dark); border: 1px solid var(--border); border-radius: 10px; padding: 20px; text-decoration: none; transition: border-color 0.2s, transform 0.2s; }
.article-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.article-card h4 { color: var(--text-primary); font-size: 1rem; margin-bottom: 8px; line-height: 1.4; }
.article-card p { color: var(--text-muted); font-size: 0.85rem; }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.video-card { aspect-ratio: 9/16; background: var(--bg-dark); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.video-card iframe { width: 100%; height: 100%; border: none; }

/* Case study detail */
.story { padding: 56px 0; border-top: 1px solid var(--border); }
.story-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.story-head h2 { font-size: clamp(1.6rem, 3.5vw, 2.1rem); }
.story-head .who { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 8px; }
.story-stat {
    font-family: 'Outfit', sans-serif; font-size: 1.6rem; font-weight: 700; color: var(--accent);
    background: var(--accent-soft); border: 1px solid var(--accent-dim); border-radius: 10px; padding: 10px 18px; white-space: nowrap;
}
.story-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.story-cols .card { background: var(--bg-card); padding: 26px; }
.story-cols h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 10px; }
.note { color: var(--text-muted); font-size: 0.9rem; margin-top: 16px; }

/* Partner list */
.partner-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 28px; }
.partner-list li { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 16px 20px; }
.partner-list li::before { content: "✓"; color: var(--accent); margin-right: 10px; }

/* CTA */
.cta { text-align: center; padding: 84px 0; }
.cta h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px; }
.cta p { font-size: 1.2rem; color: var(--text-secondary); max-width: 540px; margin: 0 auto 40px; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 40px 0; text-align: center; }
footer p { color: var(--text-muted); font-size: 0.9rem; }
footer a { color: var(--text-secondary); text-decoration: none; }
footer a:hover { color: var(--accent); }
.footer-legal { margin-top: 10px; font-size: 0.8rem !important; line-height: 1.7; }

@media (max-width: 768px) {
    .split, .about-content, .insights-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
    .logo { font-size: 1.6rem; }
    .video-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn, .nav-cta, .article-card { transition: none; }
}
.narrow > .story-cols { max-width: none; }

/* Click-to-play video thumbnails */
.video-play {
    width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; position: relative;
    background-color: var(--bg-dark); background-size: cover; background-position: center;
}
.video-play::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.25); transition: background 0.2s; }
.video-play:hover::after { background: rgba(0, 0, 0, 0.1); }
.play-icon {
    position: absolute; z-index: 1; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
    border-radius: 50%; background: var(--accent);
}
.play-icon::before {
    content: ""; position: absolute; top: 50%; left: 50%; margin: -11px 0 0 -7px;
    border-style: solid; border-width: 11px 0 11px 19px; border-color: transparent transparent transparent var(--bg-dark);
}

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 0.95rem; font-weight: 500; }
.field .optional { color: var(--text-muted); font-weight: 400; }
.field input, .field textarea {
    font: inherit; color: var(--text-primary); background: var(--bg-card);
    border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; transition: border-color 0.2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.contact-form .btn { align-self: flex-start; border: 0; cursor: pointer; font-family: inherit; }
.contact-form .btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5em; font-size: 0.95rem; color: var(--text-secondary); }
.form-status.success { color: var(--accent); }
.form-status.error { color: #f87171; }
.form-note { font-size: 0.85rem; color: var(--text-muted); }
.form-note a { color: var(--text-secondary); }
.form-alt { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-secondary); }
.cta-alt { margin-top: 18px; font-size: 0.95rem; color: var(--text-muted); }
.cta-alt a { color: var(--text-secondary); }
.cta-alt a:hover { color: var(--accent); }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }

/* Mobile menu */
.nav-right { display: flex; align-items: center; gap: 24px; }
.menu-toggle {
    display: none; width: 44px; height: 44px; position: relative; cursor: pointer;
    background: transparent; border: 1px solid var(--border); border-radius: 8px;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
    content: ""; position: absolute; width: 20px; height: 2px; background: var(--text-primary);
    transition: transform 0.2s, background 0.2s;
}
.menu-toggle span { top: 20px; left: 11px; }
.menu-toggle span::before { top: -6px; left: 0; }
.menu-toggle span::after { top: 6px; left: 0; }
nav.menu-open .menu-toggle span { background: transparent; }
nav.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
nav.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 640px) {
    .menu-toggle { display: block; }
    .nav-right { gap: 12px; }
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: #0f0f10; border-bottom: 1px solid var(--border); padding: 4px 24px 12px;
    }
    nav.menu-open .nav-links { display: flex; }
    .nav-links .nav-link { display: block; padding: 14px 0; font-size: 1.05rem; color: var(--text-primary); border-bottom: 1px solid var(--border); }
    .nav-links .nav-link:last-child { border-bottom: none; }
}

.footer-tagline { font-family: 'Playfair Display', serif; font-size: 1.05rem !important; color: var(--text-secondary) !important; margin-bottom: 10px; }
