/* ==========================================================================
   PENNY LANDING PAGE - DESIGN SYSTEM
   Clinical Tenderness: Medical precision meets human empathy
   ========================================================================== */

/* ==========================================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ========================================================================== */

:root {
    /* Primary Colors */
    --primary-purple: #8B7FA8;
    --primary-blue: #7B8FAA;
    --purple-blue: #7B8FAA;
    --soft-lavender: #9B8FC9;

    /* Neutral Palette */
    --slate-50: #F8F9FA;
    --slate-100: #F1F5F9;
    --slate-200: #E2E8F0;
    --slate-400: #94A3B8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --white: #FFFFFF;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #8B7FA8 0%, #7B8FAA 100%);
    --gradient-beta: linear-gradient(135deg, #7B8FAA 0%, #8B7FA8 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(139, 127, 168, 0.15) 0%, rgba(123, 143, 170, 0.15) 100%);
    --gradient-founder: linear-gradient(135deg, rgba(139, 127, 168, 0.08) 0%, rgba(123, 143, 170, 0.08) 100%);

    /* Typography - Font Families */
    --font-headline: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Typography - Font Sizes */
    --text-xs: 0.875rem;     /* 14px */
    --text-sm: 0.9375rem;    /* 15px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.25rem;      /* 20px */
    --text-2xl: 1.5rem;      /* 24px */

    /* Spacing System */
    --space-xs: 1rem;        /* 16px */
    --space-sm: 1.5rem;      /* 24px */
    --space-md: 2rem;        /* 32px */
    --space-lg: 3rem;        /* 48px */
    --space-xl: 3.75rem;     /* 60px */
    --space-2xl: 5rem;       /* 80px */

    /* Section Padding */
    --section-padding-lg: 6.25rem;   /* 100px */
    --section-padding-md: 5rem;      /* 80px */
    --section-padding-sm: 3.75rem;   /* 60px */

    /* Border Radius */
    --radius-sm: 0.5rem;     /* 8px */
    --radius-md: 0.75rem;    /* 12px */
    --radius-lg: 1rem;       /* 16px */
    --radius-xl: 1.25rem;    /* 20px */

    /* Shadows */
    --shadow-subtle: 0 2px 12px rgba(139, 127, 168, 0.1);
    --shadow-medium: 0 4px 20px rgba(139, 127, 168, 0.12);
    --shadow-strong: 0 8px 28px rgba(139, 127, 168, 0.3);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;

    /* Layout */
    --max-width-content: 1200px;
    --max-width-wide: 1400px;
    --max-width-hero: 900px;
    --max-width-form: 600px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 1.7;
    color: var(--slate-600);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    padding-top: 80px;
}

@media (max-width: 768px) {
    main {
        padding-top: 50px !important;
    }

    .hero-section {
        min-height: 100vh;
        min-height: 100dvh; /* Dynamic viewport height - accounts for mobile browser chrome */
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-top: 80px; /* Account for fixed header */
        padding-bottom: 2rem;
    }

    .hero-section .eyebrow {
        margin-bottom: 24px !important;
        font-size: 0.875rem !important;
        display: block !important;
    }

    .hero-section h1 {
        padding-top: 0 !important;
        margin-top: 0 !important;
        font-size: 2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 24px !important;
    }

    .hero-section .subhead {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        margin: 0 auto 1.5rem !important;
    }

    .hero-section .btn-primary {
        display: block !important;
        width: fit-content !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 24px !important;
    }

    .hero-section .launch-info {
        display: block !important;
        margin-top: 0 !important;
        margin-bottom: 16px !important;
        font-size: 0.875rem !important;
        opacity: 0.9 !important;
    }

    .hero-section .hero-disclaimer {
        font-size: 0.875rem !important;
        margin-top: 2rem !important;
        opacity: 0.85 !important;
        line-height: 1.4 !important;
    }
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

ul,
ol {
    list-style: none;
}

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

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

/* Visually hidden but accessible to screen readers */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip link for keyboard navigation */
.skip-link {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.skip-link:focus {
    position: fixed !important;
    top: 10px !important;
    left: 10px !important;
    width: auto !important;
    height: auto !important;
    padding: 12px 20px !important;
    background: var(--primary-purple) !important;
    color: var(--white) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    z-index: 10000 !important;
    outline: 2px solid var(--white) !important;
    outline-offset: 2px !important;
    clip: auto !important;
    clip-path: none !important;
    white-space: normal !important;
}

/* Focus states */
:focus-visible {
    outline: 2px solid var(--primary-purple);
    outline-offset: 2px;
}

/* Reduced motion */
@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;
    }
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

/* Headlines (Poppins) */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headline);
    color: var(--slate-800);
    font-weight: 700;
}

h1 {
    font-size: clamp(2.75rem, 5vw, 3.75rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    line-height: 1.3;
}

h4 {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Body text */
.text-large {
    font-size: clamp(var(--text-lg), 2vw, var(--text-xl));
    line-height: 1.7;
}

.text-small {
    font-size: var(--text-sm);
    color: var(--slate-400);
}

/* Eyebrow text */
.eyebrow {
    font-family: var(--font-headline);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* Section hint */
.section-hint {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    color: var(--slate-400);
    margin-bottom: var(--space-lg);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-headline);
    font-weight: 700;
    letter-spacing: 0.01em;
    border: none;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

/* Primary CTA - White background */
.btn-primary {
    background: var(--white);
    color: var(--primary-purple);
    padding: 1.25rem 3rem;
    font-size: var(--text-xl);
    border-radius: var(--radius-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* Secondary CTA - Dark background */
.btn-secondary {
    background: var(--slate-800);
    color: var(--white);
    padding: 1.25rem;
    font-size: var(--text-lg);
    border-radius: var(--radius-md);
    width: 100%;
}

.btn-secondary:hover {
    background: #0f172a;
    transform: translateY(-2px);
}

/* ==========================================================================
   LAYOUT CONTAINERS
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--max-width-content);
    margin: 0 auto;
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
}

.container-wide {
    max-width: var(--max-width-wide);
}

.container-narrow {
    max-width: var(--max-width-hero);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-subtle);
    transition: background var(--transition-medium);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-subtle);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: var(--space-sm) 2.5rem;
}

.logo {
    font-family: var(--font-headline);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--slate-800);
}

.logo-p {
    color: var(--primary-purple);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-links a {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--slate-600);
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--primary-purple);
}

.nav-cta {
    background: var(--primary-purple);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
}

.nav-cta:hover {
    background: var(--purple-blue);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--slate-800);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--slate-800);
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* ==========================================================================
   SECTIONS - BASE STYLES
   ========================================================================== */

section {
    padding: var(--section-padding-lg) 2.5rem;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-sm);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    background: var(--gradient-hero);
    color: var(--white);
    text-align: center;
    padding: 120px 2.5rem 6.25rem;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section h1 {
    color: var(--slate-50);
    padding-top: 40px;
    margin-top: 0;
}

.hero-section .eyebrow {
    color: var(--slate-50);
    opacity: 0.9;
    margin-bottom: 0;
    font-weight: 700;
    letter-spacing: 0.1em;
    display: block;
}

.hero-section .subhead {
    font-size: var(--text-xl);
    color: var(--slate-50);
    opacity: 0.95;
    line-height: 1.7;
    max-width: 800px;
    margin: var(--space-sm) auto var(--space-md);
}

.hero-section .launch-info {
    font-size: var(--text-base);
    font-weight: 500;
    opacity: 0.9;
    margin-top: 1.5rem;
    margin-bottom: var(--space-md);
}

.hero-container {
    max-width: var(--max-width-hero);
    margin: 0 auto;
}

.hero-disclaimer {
    font-size: var(--text-sm);
    opacity: 0.8;
    margin-top: var(--space-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ==========================================================================
   VALIDATION SECTION
   ========================================================================== */

.validation-section {
    background: var(--white);
    text-align: center;
    padding: var(--section-padding-md) 2.5rem;
}

.validation-container {
    max-width: var(--max-width-content);
    margin: 0 auto;
}

.validation-intro {
    font-size: var(--text-xl);
    font-weight: 500;
    color: var(--slate-600);
    max-width: 700px;
    margin: var(--space-sm) auto 0;
    line-height: 1.7;
}

/* ==========================================================================
   CHALLENGE SECTION - The Whole Story Comparison
   ========================================================================== */

.challenge-section {
    background: var(--gradient-subtle);
}

.challenge-container {
    max-width: 900px;
    margin: 0 auto;
}

.challenge-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--slate-700);
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

/* Comparison Wrapper */
.comparison-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: start;
}

.comparison-card {
    background: var(--white);
    padding: 1.75rem;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.comparison-card-before {
    border-top: 4px solid var(--slate-400);
}

.comparison-card-after {
    border-top: 4px solid var(--primary-purple);
}

.comparison-label {
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--slate-500);
    text-align: center;
}

.comparison-label-after {
    color: var(--primary-purple);
}

/* Steps Container */
.comparison-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

/* Step Items */
.comparison-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    width: 100%;
    max-width: 280px;
}

.comparison-step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.comparison-step-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.comparison-step-title {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--slate-700);
}

.comparison-step-subtext {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--slate-500);
}

.comparison-arrow {
    opacity: 0.4;
}

/* Before Steps - Gray */
.comparison-step-before {
    background: #f1f5f9;
    border-left: 3px solid var(--slate-400);
}

.comparison-step-number-before {
    background: var(--slate-400);
    color: white;
}

.comparison-arrow-before {
    color: var(--slate-400);
}

/* Penny Steps - Purple */
.comparison-step-penny {
    background: linear-gradient(135deg, rgba(139, 127, 168, 0.1), rgba(123, 143, 170, 0.1));
    border-left: 3px solid var(--primary-purple);
}

.comparison-step-number-penny {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    color: white;
}

.comparison-arrow-penny {
    color: var(--primary-purple);
}

/* Results */
.comparison-result {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--slate-200);
    text-align: center;
    font-size: 0.875rem;
}

.comparison-result-before {
    color: var(--slate-500);
}

.comparison-result-penny {
    color: var(--primary-purple);
    font-weight: 500;
}

/* Mobile Connector - Hidden on desktop */
.comparison-connector {
    display: none;
}

.challenge-conclusion {
    text-align: center;
    font-weight: 500;
    color: var(--slate-800);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
    font-size: 1.0625rem;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .challenge-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .comparison-wrapper {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .comparison-card {
        padding: 1.5rem 1.25rem;
    }

    .comparison-card-before {
        border-radius: 16px 16px 0 0;
    }

    .comparison-card-after {
        border-radius: 0 0 16px 16px;
        border-top: none;
    }

    .comparison-connector {
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(90deg, var(--slate-400) 0%, var(--primary-purple) 100%);
        padding: 0.75rem;
    }

    .comparison-connector span {
        color: white;
        font-weight: 600;
        font-size: 0.875rem;
        letter-spacing: 0.05em;
    }

    .comparison-step {
        padding: 0.625rem 0.875rem;
        max-width: 100%;
    }

    .comparison-step-number {
        width: 24px;
        height: 24px;
        font-size: 0.875rem;
    }

    .comparison-step-title {
        font-size: 0.875rem;
    }

    .comparison-step-subtext {
        font-size: 0.875rem;
    }

    .challenge-conclusion {
        font-size: 0.9375rem;
    }
}

/* ==========================================================================
   FEATURES SECTION (What Penny Works)
   ========================================================================== */

.features-section {
    background: var(--gradient-subtle);
    color: var(--slate-800);
    padding: 0 2.5rem var(--section-padding-lg);
}

.features-header {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    padding: 4rem 1.5rem 3rem;
    text-align: center;
    margin: 0 -2.5rem;
}

.features-header .section-title {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.features-header .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .features-section {
        padding: 0 1.5rem var(--section-padding-sm);
    }

    .features-header {
        padding: 3rem 1rem 2rem;
        margin: 0 -1.5rem;
    }
}

.features-section h2 {
    color: var(--slate-800);
}

.features-section .section-hint {
    color: var(--slate-600);
    text-align: center;
}

.features-container {
    max-width: var(--max-width-content);
    margin: 0 auto;
}

.features-grid {
    margin-top: var(--space-xl);
}

.feature-card {
    text-align: left;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-200);
    border-left: 4px solid var(--primary-purple);
    box-shadow: var(--shadow-subtle);
}

.feature-card h3 {
    text-align: center;
}

.feature-icon-large {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(139, 127, 168, 0.15), rgba(123, 143, 170, 0.15));
    border-radius: var(--radius-md);
    border: 1px solid rgba(139, 127, 168, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-medium), border-color var(--transition-medium);
}

.feature-icon-large:hover {
    background: linear-gradient(135deg, rgba(139, 127, 168, 0.25), rgba(123, 143, 170, 0.25));
    border-color: var(--primary-purple);
}

.feature-icon-large svg {
    width: 40px;
    height: 40px;
    color: var(--primary-purple);
}

.feature-title {
    font-family: var(--font-headline);
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 700;
    color: var(--slate-800);
    margin: var(--space-sm) 0 var(--space-xs);
}

.feature-description {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--slate-600);
    line-height: 1.7;
}

/* Feature Accordion - Desktop: show everything, hide accordion controls */
.feature-accordion-trigger {
    display: contents; /* Makes button invisible as container on desktop */
    background: none;
    border: none;
    width: 100%;
    cursor: default;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(139, 127, 168, 0.15), rgba(123, 143, 170, 0.15));
    border-radius: var(--radius-md);
    border: 1px solid rgba(139, 127, 168, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-medium), border-color var(--transition-medium);
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    color: var(--primary-purple);
}

.feature-trigger-content h3 {
    font-family: var(--font-headline);
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 700;
    color: var(--slate-800);
    margin: var(--space-sm) 0 var(--space-xs);
}

.feature-chevron {
    display: none;
}

.feature-tagline {
    display: none; /* Hide taglines on desktop */
}

.feature-accordion-content {
    display: block; /* Always visible on desktop */
}

.feature-card ul,
.feature-accordion-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.feature-card li,
.feature-accordion-content li {
    text-align: left;
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: var(--slate-600);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.feature-card li::before,
.feature-accordion-content li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: var(--primary-purple);
}

.feature-accordion-content li:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   WHO IT'S FOR SECTION
   ========================================================================== */

.who-section {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    min-height: 700px;
    padding: 0;
}

.who-section-left {
    background: var(--gradient-hero);
    padding: var(--section-padding-lg) 3.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
}

.who-section-left h2 {
    color: var(--white);
}

.who-section-right {
    background: var(--white);
    padding: var(--section-padding-lg) 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.icp-card {
    background: var(--slate-50);
    border-left: 4px solid var(--primary-purple);
    border-radius: var(--radius-sm);
    padding: var(--space-md);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.icp-card:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 16px rgba(139, 127, 168, 0.15);
}

.icp-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.icp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(139, 127, 168, 0.15);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-xs);
}

.icp-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-purple);
}

.icp-title {
    font-family: var(--font-headline);
    font-size: clamp(1.125rem, 1.5vw, 1.25rem);
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 0.75rem;
}

.icp-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.icp-list li {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--slate-600);
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.6;
}

.icp-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: var(--primary-purple);
    border-radius: 50%;
}

.who-conclusion {
    font-size: clamp(var(--text-base), 1.5vw, var(--text-lg));
    color: var(--slate-600);
    line-height: 1.7;
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--slate-200);
}

.who-conclusion strong {
    color: var(--slate-800);
}

.conditions-paragraph {
    font-size: clamp(var(--text-base), 1.5vw, var(--text-lg));
    color: var(--slate-600);
    line-height: 1.7;
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--slate-200);
}

.condition-name {
    color: var(--primary-purple);
    font-weight: 500;
}

/* ==========================================================================
   PRIVACY SECTION - Accordion (Branded)
   ========================================================================== */

.privacy-section {
    background: var(--gradient-subtle);
    padding: 4rem 1.5rem;
}

.privacy-section .section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.privacy-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--slate-600);
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.privacy-accordion {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.accordion-item {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border-left: 3px solid var(--primary-purple);
    overflow: hidden;
}

.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 1.25rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background 0.2s ease;
}

.accordion-trigger:hover {
    background: linear-gradient(135deg, rgba(139, 127, 168, 0.05), rgba(123, 143, 170, 0.05));
}

.accordion-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 127, 168, 0.15), rgba(123, 143, 170, 0.15));
    border-radius: 10px;
    flex-shrink: 0;
}

.accordion-icon svg {
    color: var(--primary-purple);
}

.accordion-title {
    flex-grow: 1;
    font-size: 1rem;
    font-weight: 500;
    color: var(--slate-700);
}

.accordion-chevron {
    color: var(--primary-purple);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.accordion-item.active .accordion-chevron {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    padding: 0 1.25rem 1.25rem 4.25rem;
}

.accordion-item.active .accordion-content {
    display: block;
}

.accordion-content p {
    font-size: 0.9375rem;
    color: var(--slate-600);
    line-height: 1.6;
    margin: 0;
}

/* Desktop: Always show content, hide chevrons, disable clicks */
@media (min-width: 769px) {
    .privacy-accordion .accordion-trigger {
        cursor: default;
        pointer-events: none;
    }

    .privacy-accordion .accordion-chevron {
        display: none;
    }

    .privacy-accordion .accordion-content {
        display: block !important;
    }
}

/* Stack vertically on mobile */
@media (max-width: 768px) {
    .privacy-accordion {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
}

/* ==========================================================================
   FOUNDER SECTION
   ========================================================================== */

.founder-section {
    background: var(--white);
    padding: var(--section-padding-sm) 3.75rem var(--section-padding-lg);
}

.founder-outer-container {
    max-width: var(--max-width-content);
    margin: 0 auto;
}

.founder-container {
    background: var(--gradient-founder);
    padding: 5rem 6.25rem;
    border-radius: var(--radius-lg);
    border-left: 6px solid var(--primary-purple);
    box-shadow: var(--shadow-medium);
    position: relative;
    text-align: center;
}

.founder-container::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 40px;
    font-size: 5rem;
    font-family: var(--font-headline);
    font-weight: 700;
    color: rgba(139, 127, 168, 0.2);
    line-height: 1;
}

.founder-quote {
    margin: 0;
}

.founder-quote p {
    font-family: var(--font-body);
    font-size: clamp(var(--text-lg), 2vw, var(--text-xl));
    font-style: italic;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.founder-attribution {
    font-family: var(--font-headline);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--primary-purple);
    font-style: normal;
}

.founder-eyebrow {
    display: block;
    font-family: var(--font-headline);
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-purple);
    margin-bottom: var(--space-md);
    text-align: center;
}

.founder-credentials {
    display: block;
    font-size: var(--text-sm);
    font-weight: 400;
    font-style: normal;
    color: var(--slate-600);
    margin-top: var(--space-xs);
}

/* ==========================================================================
   BETA CTA SECTION
   ========================================================================== */

.beta-section {
    background: var(--gradient-beta);
    padding: 7.5rem 2.5rem;
    color: var(--white);
    text-align: center;
}

.beta-section h2 {
    color: var(--white);
}

.beta-container {
    max-width: var(--max-width-form);
    margin: 0 auto;
}

.beta-description {
    font-size: var(--text-lg);
    opacity: 0.95;
    margin-bottom: var(--space-md);
}

.beta-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-group input {
    width: 100%;
    padding: 1.25rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    background: rgba(255, 255, 255, 0.95);
    transition: border-color var(--transition-fast);
}

.form-group input:focus {
    outline: none;
    border-color: var(--white);
}

.form-group input::placeholder {
    color: var(--slate-400);
}

.form-message {
    margin-top: var(--space-sm);
    font-size: var(--text-base);
    min-height: 24px;
}

.form-message.success {
    color: #10b981;
}

.form-message.error {
    color: #fecaca;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */

.cta-section {
    background: var(--gradient-hero);
    text-align: center;
    padding: 6.25rem 2.5rem;
}

/* Tally Form Container - Critical for Visibility */
.cta-section iframe[data-tally-src] {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 600px;
    margin: 2rem auto 0;
    display: block;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .cta-section iframe[data-tally-src] {
        padding: 1.5rem;
        margin: 1.5rem auto 0;
        border-radius: 12px;
    }
}

.cta-section h2 {
    margin-bottom: var(--space-sm);
    color: var(--white);
}

.cta-section p {
    font-size: var(--text-lg);
    max-width: 700px;
    margin: 0 auto var(--space-md);
    color: var(--white);
    opacity: 0.95;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    background: var(--slate-800);
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 2.5rem 2.5rem;
    border-top: 3px solid var(--purple-blue);
}

.footer-container {
    max-width: var(--max-width-wide);
    margin: 0 auto;
}

.footer-brand {
    margin-bottom: var(--space-md);
}

.footer-logo {
    font-family: var(--font-headline);
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--white);
    display: inline-block;
    margin-bottom: 0.5rem;
}

.footer-logo .logo-p {
    color: var(--soft-lavender);
}

.footer-tagline {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--slate-300);
    transition: all 0.2s ease;
}

.social-link:hover {
    background: rgba(139, 127, 168, 0.3);
    color: var(--white);
}

.social-link-placeholder {
    position: relative;
    cursor: default;
    opacity: 0.5;
}

.social-link-placeholder:hover {
    opacity: 0.7;
    background: rgba(255, 255, 255, 0.1);
    color: var(--slate-300);
}

.social-link-placeholder::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 12px;
    background: var(--slate-800, #1e293b);
    color: white;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    margin-bottom: 8px;
}

.social-link-placeholder:hover::after {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .social-link-placeholder::after {
        display: none;
    }
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin: var(--space-lg) 0;
}

.footer-heading {
    font-family: var(--font-headline);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xs);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact {
    margin: var(--space-md) 0;
}

.footer-contact a {
    color: var(--soft-lavender);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-disclaimer {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
    margin: var(--space-md) 0;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--space-md);
}

.copyright {
    font-size: var(--text-sm);
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   CARDS (Generic)
   ========================================================================== */

.card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 3.125rem 2.8125rem;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(139, 127, 168, 0.25);
}

.card-highlight {
    border: 3px solid rgba(123, 143, 170, 0.3);
}

/* ==========================================================================
   GRID LAYOUTS
   ========================================================================== */

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Tablet */
@media (max-width: 1024px) {
    .who-section {
        grid-template-columns: 1fr;
    }

    .who-section-left,
    .who-section-right {
        padding: var(--section-padding-md) 2.5rem;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .founder-container {
        padding: 3rem 2.5rem;
    }

    .founder-container::before {
        font-size: 3rem;
        top: 10px;
        left: 20px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding-lg: 2.5rem;
        --section-padding-md: 2rem;
        --section-padding-sm: 2.5rem;
    }

    section {
        padding: var(--section-padding-sm) 1.5rem;
    }

    .nav-container {
        padding: var(--space-xs) 1.5rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: var(--space-sm);
        box-shadow: var(--shadow-medium);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .who-section-left,
    .who-section-right {
        padding: var(--section-padding-sm) 1.5rem;
    }

    .who-section-left {
        text-align: center;
        padding: 2.5rem 1.5rem 1rem;
    }

    .who-section-left .section-hint {
        margin-bottom: 0;
    }

    /* Feature cards accordion on mobile */
    .feature-card {
        padding: 0;
        overflow: hidden;
    }

    .feature-accordion-trigger {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1rem;
        width: 100%;
        text-align: left;
        cursor: pointer;
        background: var(--white);
        border: none;
        font-family: inherit;
    }

    .feature-accordion-trigger:hover {
        background: rgba(139, 127, 168, 0.05);
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        margin: 0;
    }

    .feature-icon svg {
        width: 20px;
        height: 20px;
    }

    .feature-trigger-content {
        flex-grow: 1;
    }

    .feature-trigger-content h3 {
        font-size: 1rem;
        margin: 0 0 0.25rem 0;
        text-align: left;
    }

    .feature-tagline {
        display: block;
        font-size: 0.875rem;
        font-style: italic;
        color: var(--slate-500);
        margin: 0;
        text-align: left;
        padding-left: 0;
    }

    .feature-chevron {
        display: block;
        color: var(--primary-purple);
        transition: transform 0.2s ease;
        flex-shrink: 0;
        margin-top: 0.25rem;
    }

    .feature-card.active .feature-chevron {
        transform: rotate(180deg);
    }

    .feature-accordion-content {
        display: none;
        padding: 0 1rem 1rem 3.5rem;
    }

    .feature-card.active .feature-accordion-content {
        display: block;
    }

    .feature-accordion-content ul {
        list-style: disc;
        padding-left: 1.25rem;
        margin: 0;
    }

    .feature-accordion-content li {
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
        color: var(--slate-600);
        padding-left: 0;
    }

    .feature-accordion-content li::before {
        display: none;
    }

    .feature-accordion-content li:last-child {
        margin-bottom: 0;
    }

    /* Fix 5: Tighten CTA section spacing on mobile */
    .cta-section {
        padding-top: 3rem;
    }

    .cta-section h2 {
        margin-bottom: 0.75rem;
    }

    .cta-section p {
        margin-bottom: 1.5rem;
    }

    .footer-nav {
        grid-template-columns: 1fr;
    }

    .btn-primary {
        padding: 1rem 2rem;
        font-size: var(--text-lg);
    }

    .privacy-section {
        padding: 3rem 1rem;
    }

    .privacy-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .accordion-trigger {
        padding: 1rem;
    }

    .accordion-icon {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }

    .accordion-content {
        padding: 0 1rem 1rem 3.5rem;
    }

    .founder-section {
        padding: var(--section-padding-sm) 1.5rem;
    }

    .founder-container {
        padding: 2.5rem 1.5rem;
        border-left-width: 4px;
    }

    .founder-container::before {
        display: none;
    }

    .footer-logo,
    .footer-brand {
        text-align: left;
        align-items: flex-start;
    }

    .footer-logo img,
    .footer-brand img {
        margin-left: 0;
        margin-right: auto;
    }

    .footer-tagline {
        max-width: 100%;
        margin: 0;
    }

    .footer-social {
        justify-content: flex-start;
    }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.text-center {
    text-align: center;
}

.text-white {
    color: var(--white);
}

.mb-sm {
    margin-bottom: var(--space-sm);
}

.mb-md {
    margin-bottom: var(--space-md);
}

.mb-lg {
    margin-bottom: var(--space-lg);
}

/* ==========================================================================
   FAQ PAGE STYLES
   ========================================================================== */

/* FAQ Page Body */
.faq-page {
    background: var(--white);
}

/* Solid Header for FAQ Page */
.site-header-solid {
    background: var(--white);
    box-shadow: var(--shadow-subtle);
}

.site-header-solid .logo {
    color: var(--slate-800);
}

.site-header-solid .hamburger,
.site-header-solid .hamburger::before,
.site-header-solid .hamburger::after {
    background: var(--slate-800);
}

/* FAQ Hero Section */
.faq-hero {
    background: var(--gradient-hero);
    padding: 8rem 2.5rem 5rem;
    text-align: center;
    color: var(--white);
}

.faq-hero-container {
    max-width: var(--max-width-hero);
    margin: 0 auto;
}

.faq-hero h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: var(--space-sm);
}

.faq-hero-subhead {
    font-size: var(--text-xl);
    opacity: 0.95;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* FAQ Content Section */
.faq-content {
    background: var(--white);
    padding: var(--section-padding-lg) 2.5rem;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

/* FAQ Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.faq-item {
    background: var(--slate-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--slate-200);
    overflow: hidden;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item:hover {
    border-color: rgba(139, 127, 168, 0.3);
}

.faq-item.active {
    border-color: var(--primary-purple);
    box-shadow: 0 4px 16px rgba(139, 127, 168, 0.15);
}

/* FAQ Question Heading (H2) */
.faq-question-heading {
    margin: 0;
}

/* FAQ Question Button */
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-headline);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    font-weight: 600;
    color: var(--slate-800);
    line-height: 1.4;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary-purple);
}

.faq-question:focus-visible {
    outline: 2px solid var(--primary-purple);
    outline-offset: -2px;
}

.faq-question span {
    flex: 1;
}

/* FAQ Chevron Icon */
.faq-chevron {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--slate-400);
    transition: transform var(--transition-medium), color var(--transition-fast);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--primary-purple);
}

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-medium) ease-out;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    transition: max-height var(--transition-medium) ease-in;
}

.faq-answer-content {
    padding: 0 var(--space-md) var(--space-md);
    border-top: 1px solid var(--slate-200);
    padding-top: var(--space-sm);
}

.faq-answer-content p {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--slate-600);
    line-height: 1.7;
    margin-bottom: var(--space-xs);
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

.faq-answer-content ul {
    margin: var(--space-xs) 0;
    padding-left: 0;
}

.faq-answer-content li {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--slate-600);
    line-height: 1.7;
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.faq-answer-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    background: var(--primary-purple);
    border-radius: 50%;
}

.faq-answer-content li:last-child {
    margin-bottom: 0;
}

.faq-answer-content strong {
    color: var(--slate-800);
    font-weight: 600;
}

/* FAQ CTA Section */
.faq-cta {
    background: var(--gradient-beta);
    padding: var(--section-padding-lg) 2.5rem;
    text-align: center;
    color: var(--white);
}

.faq-cta-container {
    max-width: var(--max-width-form);
    margin: 0 auto;
}

.faq-cta h2 {
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.faq-cta-description {
    font-size: var(--text-lg);
    opacity: 0.95;
    margin-bottom: var(--space-md);
}

.faq-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    max-width: 350px;
    margin: 0 auto;
}

/* Outline Button Style for FAQ */
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-headline);
    font-weight: 700;
    letter-spacing: 0.01em;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: transparent;
    color: var(--white);
    padding: 1.125rem 2.5rem;
    font-size: var(--text-lg);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-outline:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

/* FAQ Page Responsive Styles */
@media (max-width: 768px) {
    .faq-hero {
        padding: 6rem 1.5rem 3rem;
    }

    .faq-content {
        padding: var(--section-padding-sm) 1.5rem;
    }

    .faq-question {
        padding: var(--space-xs) var(--space-sm);
        font-size: var(--text-base);
    }

    .faq-answer-content {
        padding: 0 var(--space-sm) var(--space-sm);
    }

    .faq-cta {
        padding: var(--section-padding-sm) 1.5rem;
    }

    .faq-cta-buttons {
        max-width: 100%;
    }

    .btn-outline {
        padding: 1rem 2rem;
        font-size: var(--text-base);
    }
}

/* ==========================================================================
   LEGAL PAGE STYLES
   ========================================================================== */

/* Legal Page Body */
.legal-page {
    background: var(--white);
}

/* Legal Page Hero */
.legal-hero {
    background: var(--gradient-hero);
    padding: 8rem 2.5rem 4rem;
    text-align: center;
    color: var(--white);
}

.legal-hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-hero h1 {
    color: var(--white);
    font-size: clamp(2.25rem, 4vw, 3rem);
    margin-bottom: var(--space-sm);
}

.legal-meta {
    font-size: var(--text-base);
    opacity: 0.9;
    line-height: 1.6;
}

/* Legal Content Section */
.legal-content {
    background: var(--white);
    padding: var(--section-padding-lg) 2.5rem;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Legal Typography */
.legal-container h2 {
    font-size: clamp(1.5rem, 2.5vw, 1.875rem);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid var(--slate-200);
    color: var(--slate-800);
}

.legal-container h2:first-of-type {
    margin-top: 0;
}

/* Legal dates moved to body content */
.legal-dates-body {
    font-size: 0.875rem;
    color: var(--slate-500);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--slate-200);
}

.legal-container h3 {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-xs);
    color: var(--slate-800);
}

.legal-container h4 {
    font-size: var(--text-lg);
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    margin-top: var(--space-md);
    margin-bottom: var(--space-xs);
    color: var(--slate-800);
}

.legal-container p {
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--slate-600);
    margin-bottom: var(--space-xs);
}

.legal-container ul,
.legal-container ol {
    margin: var(--space-xs) 0 var(--space-sm);
    padding-left: 0;
}

.legal-container li {
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--slate-600);
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.legal-container ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    background: var(--primary-purple);
    border-radius: 50%;
}

.legal-container ol {
    counter-reset: legal-counter;
}

.legal-container ol li {
    counter-increment: legal-counter;
}

.legal-container ol li::before {
    content: counter(legal-counter) ".";
    position: absolute;
    left: 0;
    font-weight: 600;
    color: var(--primary-purple);
}

.legal-container strong {
    color: var(--slate-800);
    font-weight: 600;
}

.legal-container a {
    color: var(--primary-purple);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-container a:hover {
    color: var(--purple-blue);
}

/* Legal Highlight Box */
.legal-highlight {
    background: rgba(155, 143, 201, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
    border-left: 4px solid var(--primary-purple);
}

.legal-highlight h2 {
    margin-top: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.legal-highlight p:last-child,
.legal-highlight ul:last-child {
    margin-bottom: 0;
}

/* Legal Warning Box */
.legal-warning {
    background: rgba(239, 68, 68, 0.05);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin: var(--space-sm) 0;
    border-left: 4px solid #ef4444;
}

.legal-warning p {
    color: var(--slate-800);
    margin-bottom: var(--space-xs);
}

.legal-warning p:last-child {
    margin-bottom: 0;
}

/* Table of Contents List */
.toc-list {
    background: var(--slate-50);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-sm) var(--space-sm) var(--space-md);
    margin: var(--space-sm) 0;
}

.toc-list li {
    margin-bottom: 0.375rem;
}

.toc-list a {
    color: var(--primary-purple);
}

.toc-list a:hover {
    color: var(--purple-blue);
}

/* Nested lists in legal content */
.legal-container ul ul,
.legal-container ol ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.legal-container ul ul li,
.legal-container ol ul li {
    margin-bottom: 0.25rem;
}

/* Legal Consent Box */
.legal-consent {
    background: var(--slate-50);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-top: var(--space-xl);
    border: 1px solid var(--slate-200);
}

.legal-consent h2 {
    margin-top: 0;
    border-bottom: none;
    padding-bottom: 0;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.legal-consent p:last-child {
    margin-bottom: 0;
}

/* Legal Footer Info */
.legal-footer-info {
    margin-top: var(--space-xl);
    padding-top: var(--space-md);
    border-top: 1px solid var(--slate-200);
    text-align: center;
}

.legal-footer-info p {
    color: var(--slate-400);
    font-size: var(--text-sm);
}

/* Legal Page Responsive Styles */
@media (max-width: 768px) {
    .legal-hero {
        padding: 6rem 1.5rem 3rem;
    }

    .legal-content {
        padding: var(--section-padding-sm) 1.5rem;
    }

    .legal-highlight {
        padding: var(--space-sm);
    }

    .legal-consent {
        padding: var(--space-sm);
    }

    .legal-container h2 {
        margin-top: var(--space-lg);
    }

    .legal-container h3 {
        margin-top: var(--space-md);
    }
}

/* ==========================================================================
   MICRO-INTERACTIONS & POLISH
   ========================================================================== */

/* A. Enhanced Button Interactions */
.btn {
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 127, 168, 0.3);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(139, 127, 168, 0.2);
}

.btn:focus-visible {
    outline: 3px solid var(--primary-purple);
    outline-offset: 2px;
}

/* B. Link Underline Animation */
.footer-links a,
.nav-links a:not(.nav-cta) {
    position: relative;
    text-decoration: none;
}

.footer-links a::after,
.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-purple);
    transition: width 0.3s ease;
}

.footer-links a:hover::after,
.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

/* C. Card Hover Effects */
/* Feature cards */
.feature-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 769px) {
    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }
}

/* ICP cards */
.icp-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.icp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* D. Smooth Accordion Transitions */
/* Desktop: always visible */
.accordion-content,
.feature-accordion-content {
    opacity: 1;
}

/* FAQ answers use accordion behavior on all screens */
.faq-answer {
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    opacity: 1;
}

/* Mobile only: accordion behavior for feature and privacy sections */
@media (max-width: 768px) {
    .accordion-content,
    .feature-accordion-content {
        transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
        opacity: 0;
    }

    .accordion-item.active .accordion-content,
    .feature-card.active .feature-accordion-content {
        opacity: 1;
    }
}

/* Chevron rotation */
.accordion-chevron,
.feature-chevron,
.faq-chevron {
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-chevron,
.feature-card.active .feature-chevron,
.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

/* E. Subtle Scroll Fade-In */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .fade-in-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ==========================================================================
   ENHANCED FOCUS STATES FOR KEYBOARD NAVIGATION
   ========================================================================== */

/* Global focus-visible styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--primary-purple);
    outline-offset: 2px;
}

/* Remove default focus ring, keep focus-visible */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

/* Skip link enhancement */
.skip-link:focus {
    top: 10px;
    left: 10px;
    z-index: 10000;
    padding: 16px 24px;
    background: var(--primary-purple);
    color: white;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   COOKIE CONSENT BANNER
   ========================================================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--slate-800, #1e293b);
    color: white;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cookie-title {
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
}

.cookie-description {
    font-size: 0.875rem;
    margin: 0;
    opacity: 0.9;
    flex: 1;
    min-width: 200px;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.cookie-banner .btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
    width: auto;
}

.cookie-banner .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cookie-link {
    color: var(--primary-purple, #8B7FA8);
    font-size: 0.875rem;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   LEGAL PAGE UPDATES
   ========================================================================== */

.legal-updated {
    font-size: 0.875rem;
    color: var(--slate-500, #64748b);
    margin-top: -16px;
    margin-bottom: 32px;
}

/* =====================================================
   IN-APP BROWSER FIXES (Instagram, Facebook)
   Triggered by .in-app-browser class added via JS
   ===================================================== */

/* Force all accordion/expandable content visible */
.in-app-browser .accordion-content,
.in-app-browser .feature-accordion-content,
.in-app-browser .privacy-accordion-content,
.in-app-browser .faq-answer {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    max-height: none !important;
    height: auto !important;
}

/* Comparison boxes with explicit colors (no CSS variables) */
.in-app-browser .comparison-box {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
    opacity: 1 !important;
}

.in-app-browser .comparison-box.without {
    background: #f8f9fa !important;
    border-left: 4px solid #94a3b8 !important;
}

.in-app-browser .comparison-box.with {
    background: #f5f3ff !important;
    border-left: 4px solid #8B7FA8 !important;
}

/* Feature and privacy cards */
.in-app-browser .feature-card,
.in-app-browser .privacy-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    padding: 1.5rem !important;
    opacity: 1 !important;
}

/* Ensure all list content visible */
.in-app-browser ul,
.in-app-browser li {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Account for banner at top - push content down */
.in-app-browser .site-header {
    margin-top: 52px !important;
}
