:root {
    --p50:#FAF5FF; --p100:#F3E8FF; --p500:#9333EA; --p600:#7E22CE; --p700:#6B21A8; --p900:#3B0764;
    --a500:#EC4899; --a700:#BE185D;
    --n0:#FFF; --n50:#F8FAFC; --n100:#F1F5F9; --n200:#E2E8F0;
    --n500:#64748B; --n700:#334155; --n900:#0F172A;
    --success:#059669;
    --hero: linear-gradient(135deg,#9333EA 0%,#EC4899 100%);
    --ai:   linear-gradient(90deg,#EC4899 0%,#9333EA 100%);
    --glow: radial-gradient(circle at 30% 20%,rgba(236,72,153,0.28),transparent 60%);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--n900); line-height: 1.55; background: var(--n0); }
a { color: var(--p500); text-decoration: none; }
a:hover { color: var(--p700); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.centered { text-align: center; }
.muted { color: var(--n500); }

/* NAV */
.nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.9); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--n200);
}
.nav-inner {
    max-width: 1200px; margin: 0 auto; padding: 1rem 2rem;
    display: flex; align-items: center; justify-content: space-between;
    position: relative;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.125rem; color: var(--n900); letter-spacing: -0.02em; }
.logo:hover { color: var(--p500); }
.nav-links { display: flex; gap: 1.75rem; align-items: center; }
.nav-links a:not(.btn) { color: var(--n700); font-weight: 500; font-size: 0.9375rem; }
.nav-links a:not(.btn):hover { color: var(--p500); }
.nav-toggle {
    display: none; background: none; border: none; padding: 0.5rem;
    cursor: pointer; flex-direction: column; gap: 5px; width: 40px; height: 40px;
    align-items: center; justify-content: center;
}
.nav-toggle span {
    display: block; width: 22px; height: 2px; background: var(--n900);
    border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease;
    transform-origin: center;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* BUTTONS */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.75rem 1.5rem; border-radius: 10px; font-weight: 600; font-size: 0.9375rem;
    border: none; cursor: pointer; transition: transform 0.1s ease, box-shadow 0.2s ease, background 0.2s;
    font-family: var(--font-sans);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--p500); color: #fff; }
.btn-primary:hover { background: var(--p600); color: #fff; box-shadow: 0 8px 20px rgba(147,51,234,0.3); }
.btn-secondary { background: #fff; color: var(--p500); border: 1px solid var(--p500); }
.btn-secondary:hover { background: var(--p50); color: var(--p500); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* HERO */
.hero {
    background: var(--hero); color: #fff; padding: 6rem 2rem 5rem;
    position: relative; overflow: hidden;
}
.hero::before { content: ""; position: absolute; inset: 0; background: var(--glow); pointer-events: none; }
.hero-inner { max-width: 1200px; margin: 0 auto; position: relative; }
.eyebrow { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--p500); margin-bottom: 1rem; }
.hero .eyebrow { color: rgba(255,255,255,0.85); }
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800;
    letter-spacing: -0.03em; line-height: 1.05; max-width: 820px;
}
.lead { font-size: 1.25rem; color: var(--n700); max-width: 640px; line-height: 1.5; margin-top: 1.25rem; }
.hero .lead { color: rgba(255,255,255,0.9); }
.hero-ctas { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-ctas .btn-primary { background: #fff; color: var(--p600); }
.hero-ctas .btn-primary:hover { background: #fff; color: var(--p700); }
.hero-proof {
    margin-top: 3rem; display: flex; gap: 3rem; flex-wrap: wrap;
    padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.2);
}
.hero-proof > div { display: flex; flex-direction: column; }
.hero-proof b { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; }
.hero-proof span { font-size: 0.8125rem; opacity: 0.8; }

/* SECTIONS */
section { padding: 6rem 0; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
.eyebrow.centered { display: block; margin-bottom: 0.75rem; }

/* HAV acronym accent — H, A, V with brand gradient fill */
.hav-accent {
    display: inline-block;
    font-size: 1.35em; font-weight: 900; line-height: 1;
    background: var(--hero);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    vertical-align: baseline;
}
/* "with IQ" — small gradient pill representing intelligence & AI */
.iq-badge-lg {
    display: inline-block; vertical-align: middle;
    margin-left: 0.5em;
    padding: 0.3em 0.85em;
    border-radius: 999px;
    background: var(--hero);
    color: #fff; -webkit-text-fill-color: #fff;
    font-size: 0.42em; font-weight: 700;
    letter-spacing: 0.16em; text-transform: uppercase;
    box-shadow: 0 6px 20px rgba(147,51,234,0.3);
}

/* PILLARS */
.pillars { background: var(--n50); }
.pillar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.pillar { background: #fff; padding: 2rem; border-radius: 16px; border: 1px solid var(--n200); transition: all 0.2s; position: relative; }
.pillar:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(147,51,234,0.12); border-color: var(--p500); }
.pillar-icon { font-size: 2rem; margin-bottom: 1rem; }
.pillar h3 { font-size: 1.375rem; }
.pillar p { color: var(--n500); font-size: 0.9375rem; }
.pillar-ai { background: var(--hero); color: #fff; border: none; }
.pillar-ai:hover { box-shadow: 0 20px 48px rgba(236,72,153,0.35); }
.pillar-ai p { color: rgba(255,255,255,0.9); }
.ai-badge {
    display: inline-block; background: rgba(255,255,255,0.2); color: #fff;
    font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em;
    padding: 0.2rem 0.6rem; border-radius: 999px; margin-bottom: 0.75rem; text-transform: uppercase;
}
.feature.ai .ai-badge { background: var(--ai); color: #fff; }

/* FEATURES */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.feature { background: #fff; padding: 2rem; border-radius: 16px; border: 1px solid var(--n200); transition: all 0.2s; }
.feature:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(147,51,234,0.1); border-color: var(--p500); }
.feature-icon { font-size: 2rem; margin-bottom: 1rem; }
.feature p { color: var(--n500); font-size: 0.9375rem; }

/* IRIS SPOTLIGHT */
.iris-spotlight { background: var(--hero); color: #fff; position: relative; overflow: hidden; }
.iris-logo {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 140px; height: 140px; margin: 0 auto 1.5rem;
}
.iris-heart {
    font-size: 5rem; line-height: 1; position: relative; z-index: 3;
    transform-origin: center;
    filter: drop-shadow(0 0 10px rgba(192,132,252,0.7));
    animation: iris-heartbeat 1.1s ease-in-out infinite;
}
.iris-ring {
    position: absolute; top: 50%; left: 50%; width: 110px; height: 110px;
    margin: -55px 0 0 -55px; border-radius: 50%;
    border: 2px solid rgba(192,132,252,0.7);
    animation: iris-pulse-ring 1.6s ease-out infinite;
    z-index: 1;
}
.iris-ring-2 { animation-delay: 0.5s; border-color: rgba(236,72,153,0.55); }
.iris-ring-3 { animation-delay: 1s; border-color: rgba(255,255,255,0.5); }
@keyframes iris-heartbeat {
    0%   { transform: scale(1);    filter: drop-shadow(0 0 8px rgba(147,51,234,0.55)); }
    14%  { transform: scale(1.28); filter: drop-shadow(0 0 22px rgba(192,132,252,1)); }
    28%  { transform: scale(1.0);  filter: drop-shadow(0 0 10px rgba(147,51,234,0.65)); }
    42%  { transform: scale(1.18); filter: drop-shadow(0 0 18px rgba(192,132,252,0.9)); }
    70%, 100% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(147,51,234,0.55)); }
}
@keyframes iris-pulse-ring {
    0%   { transform: scale(0.7); opacity: 0.85; }
    100% { transform: scale(1.9); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .iris-heart, .iris-ring { animation: none; }
    .iris-ring { opacity: 0.25; }
}
.iris-whisper {
    position: absolute; white-space: nowrap; z-index: 4;
    padding: 0.5rem 0.9rem; border-radius: 999px;
    background: rgba(255,255,255,0.10); backdrop-filter: blur(10px);
    border: 1px solid rgba(192,132,252,0.45);
    color: #fff; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.01em;
    box-shadow: 0 6px 24px rgba(147,51,234,0.28);
    opacity: 0; pointer-events: none;
    transition: opacity 0.45s ease, transform 0.45s ease;
}
.iris-whisper.show { opacity: 1; }
.iris-whisper.pos-tl { top: 4px;    right: calc(100% + 12px); transform: translateX(6px); }
.iris-whisper.pos-tr { top: 4px;    left:  calc(100% + 12px); transform: translateX(-6px); }
.iris-whisper.pos-bl { bottom: 4px; right: calc(100% + 12px); transform: translateX(6px); }
.iris-whisper.pos-br { bottom: 4px; left:  calc(100% + 12px); transform: translateX(-6px); }
.iris-whisper.show.pos-tl,
.iris-whisper.show.pos-tr,
.iris-whisper.show.pos-bl,
.iris-whisper.show.pos-br { transform: translateX(0); }
.iris-spotlight::before { content: ""; position: absolute; inset: 0; background: var(--glow); pointer-events: none; }
.iris-spotlight .wrap { position: relative; }
.iris-hero { max-width: 820px; margin: 0 auto 3rem; text-align: center; }
.iris-hero .eyebrow { color: #C084FC; font-size: 1rem; letter-spacing: 0.18em; }
.iris-hero h2 { color: #fff; }
.iris-hero .lead { color: rgba(255,255,255,0.88); margin-top: 1rem; }
.surfaces-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.surface {
    background: rgba(255,255,255,0.06); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.18); border-radius: 16px; padding: 2rem;
    transition: all 0.2s;
}
.surface:hover { transform: translateY(-4px); background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.35); }
.surface-icon { font-size: 2rem; margin-bottom: 1rem; }
.surface h3 { color: #fff; }
.surface p { color: rgba(255,255,255,0.85); font-size: 0.9375rem; }
.surface .ai-badge { background: rgba(255,255,255,0.2); }

/* HOW IT WORKS */
.how .lead { margin-top: 1rem; margin-bottom: 3rem; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.step {
    display: flex; gap: 1rem; align-items: flex-start;
    padding: 1.25rem; background: var(--n50); border-radius: 12px;
    border-left: 4px solid var(--p500);
}
.step b { color: var(--p500); font-size: 1.5rem; font-weight: 800; font-family: var(--font-mono); }
.step span { font-size: 0.9375rem; color: var(--n700); }

/* PRICING */
.pricing { background: var(--n50); }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.tier { background: #fff; padding: 2.5rem 2rem; border-radius: 16px; border: 1px solid var(--n200); position: relative; display: flex; flex-direction: column; }
.tier.featured { border-color: var(--p500); box-shadow: 0 16px 40px rgba(147,51,234,0.14); transform: scale(1.02); }
.tier h3 { font-size: 1.25rem; }
.tier .price { font-size: 2.5rem; font-weight: 800; color: var(--p500); letter-spacing: -0.025em; margin: 0.5rem 0 1.5rem; }
.tier .price small { font-size: 0.875rem; font-weight: 500; color: var(--n500); }
.tier ul { list-style: none; margin-bottom: 1.5rem; flex: 1; }
.tier li { padding: 0.5rem 0; font-size: 0.9375rem; color: var(--n700); border-bottom: 1px solid var(--n100); }
.tier li:last-child { border-bottom: none; }
.tier li::before { content: "✓"; color: var(--success); margin-right: 0.75rem; font-weight: 700; }
.ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--hero); color: #fff; font-size: 0.75rem; letter-spacing: 0.08em; font-weight: 700; padding: 5px 14px; border-radius: 999px; text-transform: uppercase; }

/* WAITLIST */
.waitlist { background: var(--n900); color: #fff; position: relative; overflow: hidden; }
.waitlist::before { content: ""; position: absolute; inset: 0; background: var(--glow); pointer-events: none; }
.waitlist-inner { position: relative; text-align: center; max-width: 640px; }
.waitlist h2 { color: #fff; }
.waitlist .eyebrow { color: var(--a500); }
.waitlist .lead { color: rgba(255,255,255,0.85); margin: 1rem auto 2rem; }
.form { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.form input {
    width: 100%; padding: 0.875rem 1rem; border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.08);
    color: #fff; font-family: var(--font-sans); font-size: 0.9375rem;
}
.form input::placeholder { color: rgba(255,255,255,0.5); }
.form input:focus { outline: none; border-color: var(--a500); background: rgba(255,255,255,0.12); }
.form button { margin-top: 0.5rem; }
.form-note { font-size: 0.8125rem; color: rgba(255,255,255,0.6); margin-top: 0.75rem; }

/* FOOTER */
.footer { background: var(--n900); color: rgba(255,255,255,0.7); padding: 4rem 0 2rem; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .logo { color: #fff; margin-bottom: 1rem; }
.footer-brand .logo:hover { color: var(--a500); }
.footer-brand p { font-size: 0.875rem; line-height: 1.6; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-cols h4 { color: #fff; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-cols a { display: block; color: rgba(255,255,255,0.65); font-size: 0.9375rem; padding: 0.35rem 0; }
.footer-cols a:hover { color: var(--a500); }
.footer-copy { max-width: 1200px; margin: 2rem auto 0; padding: 0 2rem; display: flex; justify-content: space-between; font-size: 0.8125rem; color: rgba(255,255,255,0.5); }

/* RESPONSIVE */
@media (max-width: 768px) {
    /* NAV — hamburger */
    .nav-inner { padding: 0.75rem 1.25rem; padding-left: max(1.25rem, env(safe-area-inset-left)); padding-right: max(1.25rem, env(safe-area-inset-right)); }
    .nav-toggle { display: inline-flex; }
    .nav-links {
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: #fff; border-top: 1px solid var(--n100);
        box-shadow: 0 12px 32px rgba(15,23,42,0.08);
        padding: 0.5rem 1rem 1rem;
        max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease;
    }
    .nav-links.open { max-height: 480px; padding: 0.5rem 1rem 1rem; }
    .nav-links a:not(.btn) { display: block; padding: 0.875rem 0.5rem; border-bottom: 1px solid var(--n100); font-size: 1rem; }
    .nav-links a:not(.btn):last-of-type { border-bottom: none; }
    .nav-links .btn { margin-top: 0.75rem; width: 100%; }

    /* HERO */
    .hero { padding: 4rem 1.25rem 3rem; padding-left: max(1.25rem, env(safe-area-inset-left)); padding-right: max(1.25rem, env(safe-area-inset-right)); }
    .hero h1 { font-size: clamp(2rem, 8vw, 2.75rem); }
    .hero .lead { font-size: 1rem; }
    .hero-ctas { flex-direction: column; gap: 0.75rem; align-items: stretch; }
    .hero-ctas .btn { width: 100%; justify-content: center; }
    .hero-proof {
        margin-top: 2.5rem; padding-top: 1.75rem;
        display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem;
    }
    .hero-proof b { font-size: 1.5rem; }
    .hero-proof span { font-size: 0.75rem; }

    /* SECTIONS */
    section { padding: 3.5rem 0; }
    .wrap { padding: 0 1.25rem; padding-left: max(1.25rem, env(safe-area-inset-left)); padding-right: max(1.25rem, env(safe-area-inset-right)); }
    h2 { font-size: clamp(1.75rem, 6vw, 2.25rem); }

    /* PILLARS & FEATURES — tighter cards */
    .pillar, .feature, .surface { padding: 1.5rem; }
    .pillar-grid, .feature-grid, .surfaces-grid { gap: 1rem; margin-top: 2rem; }

    /* IRIS — smaller heart, whispers re-parented below */
    .iris-hero { margin-bottom: 2rem; }
    .iris-logo { width: 120px; height: 120px; margin-bottom: 2.25rem; }
    .iris-heart { font-size: 3.75rem; }
    .iris-ring { width: 95px; height: 95px; margin: -47.5px 0 0 -47.5px; }
    .iris-whisper {
        display: inline-flex; align-items: center;
        left: 50% !important; right: auto !important;
        transform: translateX(-50%) translateY(6px);
        white-space: nowrap; max-width: calc(100vw - 32px);
        font-size: 0.75rem; padding: 0.4rem 0.75rem;
        overflow: hidden; text-overflow: ellipsis;
    }
    .iris-whisper.pos-tl, .iris-whisper.pos-tr {
        bottom: calc(100% + 14px) !important; top: auto !important;
    }
    .iris-whisper.pos-bl, .iris-whisper.pos-br {
        top: calc(100% + 14px) !important; bottom: auto !important;
    }
    .iris-whisper.show { transform: translateX(-50%) translateY(0); }

    /* PRICING */
    .tier { padding: 2rem 1.5rem; }
    .tier.featured { transform: none; }

    /* WAITLIST */
    .waitlist { padding: 4rem 1.25rem; }

    /* FOOTER */
    .footer { padding: 3rem 0 1.5rem; }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .footer-copy { flex-direction: column; gap: 0.5rem; text-align: center; padding: 0 1.25rem; }
}

/* Small phones */
@media (max-width: 380px) {
    .hero-proof { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .iris-logo { width: 100px; height: 100px; }
    .iris-heart { font-size: 3.25rem; }
    .iris-ring { width: 80px; height: 80px; margin: -40px 0 0 -40px; }
    .footer-cols { grid-template-columns: 1fr; }
}

/* ACADEMY */
.academy { background: linear-gradient(180deg, var(--n0) 0%, var(--n50) 100%); }
.academy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 1rem; }
.acad-card {
    background: #fff; border: 1px solid var(--n200); border-radius: 20px;
    padding: 2.5rem 2rem; text-align: center;
    display: flex; flex-direction: column; align-items: center;
    transition: all 0.25s ease;
    position: relative;
}
.acad-card:hover { transform: translateY(-8px); border-color: var(--p500); box-shadow: 0 24px 60px rgba(147,51,234,0.15); }
.acad-card--featured {
    border-color: var(--p500);
    box-shadow: 0 16px 40px rgba(147,51,234,0.18);
    background: linear-gradient(180deg, #fff 0%, var(--p50) 100%);
}
.acad-badge {
    width: 180px; height: 180px;
    filter: drop-shadow(0 12px 24px rgba(147,51,234,0.18));
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}
.acad-card:hover .acad-badge { transform: scale(1.05); }
.acad-meta {
    font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.2em;
    color: var(--p500); margin-bottom: 0.5rem;
}
.acad-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; letter-spacing: -0.01em; }
.acad-card p { color: var(--n500); font-size: 0.9375rem; line-height: 1.5; margin-bottom: 1.5rem; flex: 1; }
.acad-cta { margin-top: 1rem; align-self: center; }
.acad-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 0.5rem; }
.acad-tags span {
    font-size: 0.75rem; font-weight: 600; padding: 0.3rem 0.75rem;
    border-radius: 999px; background: var(--n100); color: var(--n700);
}
.acad-card--featured .acad-tags span { background: var(--p100); color: var(--p700); }
.acad-coming {
    display: inline-block; padding: 0.6rem 1.25rem; border-radius: 999px;
    background: var(--hero); color: #fff; font-weight: 600; font-size: 0.875rem;
    letter-spacing: 0.02em;
}
