:root {
    /* Pitch Deck Presentation Tokens (Dark Theme Default) */
    --bg-dark: #09090b;
    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --brand-primary: #3b82f6;
    --brand-emerald: #10b981;
    --brand-purple: #8b5cf6;
    --brand-amber: #f59e0b;
    --brand-red: #ef4444;
    --glass-bg: rgba(24, 24, 27, 0.65);
    --glass-border: rgba(255, 255, 255, 0.1);
}

.marketing-page,
.legal-page {
    /* =========================================================
       GOOGLE MATERIAL 3 EXPRESSIVE - LIGHT THEME DESIGN TOKENS
    ========================================================= */

    /* M3 Dynamic Tonal Palette (Light Theme) */
    --md-sys-color-primary: #006a60;               /* Signature Teal/Emerald */
    --md-sys-color-on-primary: #ffffff;
    --md-sys-color-primary-container: #e0f2f1;     /* Soft Mint Container */
    --md-sys-color-on-primary-container: #00201d;

    --md-sys-color-secondary: #00639b;             /* Safety Blue */
    --md-sys-color-on-secondary: #ffffff;
    --md-sys-color-secondary-container: #e1f0ff;
    --md-sys-color-on-secondary-container: #001d33;

    --md-sys-color-tertiary: #735c00;              /* Warning Amber */
    --md-sys-color-on-tertiary: #ffffff;
    --md-sys-color-tertiary-container: #fff0b3;
    --md-sys-color-on-tertiary-container: #241a00;

    --md-sys-color-error: #ba1a1a;                 /* Critical Alert */
    --md-sys-color-on-error: #ffffff;
    --md-sys-color-error-container: #ffdad6;
    --md-sys-color-on-error-container: #410002;

    /* M3 Light Surface & Canvas System */
    --md-sys-color-background: #f8fafa;            /* Clean light background */
    --md-sys-color-on-background: #191c1c;
    --md-sys-color-surface: #f8fafa;
    --md-sys-color-surface-dim: #d8dbdb;
    --md-sys-color-surface-bright: #ffffff;
    --md-sys-color-surface-container-lowest: #ffffff;
    --md-sys-color-surface-container-low: #f2f5f4;
    --md-sys-color-surface-container: #ecefef;
    --md-sys-color-surface-container-high: #e6eae9;
    --md-sys-color-surface-container-highest: #e0e4e3;
    --md-sys-color-on-surface: #191c1c;            /* Crisp Charcoal text */
    --md-sys-color-on-surface-variant: #3f4947;    /* Subtle readable secondary text */
    --md-sys-color-outline: #707977;
    --md-sys-color-outline-variant: #e0e5e4;       /* Subtle 1px borders */

    /* M3 Expressive Shapes (Corner Radii) */
    --md-shape-corner-none: 0px;
    --md-shape-corner-extra-small: 4px;
    --md-shape-corner-small: 8px;
    --md-shape-corner-medium: 12px;
    --md-shape-corner-large: 16px;
    --md-shape-corner-extra-large: 28px;
    --md-shape-corner-extra-large-increased: 36px;
    --md-shape-corner-full: 9999px;

    /* M3 Expressive Elevation (Light Theme Natural Ambient Shadows) */
    --md-elevation-1: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    --md-elevation-2: 0 3px 6px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
    --md-elevation-3: 0 8px 18px rgba(0, 0, 0, 0.07), 0 3px 6px rgba(0, 0, 0, 0.03);
    --md-elevation-4: 0 14px 28px rgba(0, 0, 0, 0.08), 0 6px 10px rgba(0, 0, 0, 0.04);
    --md-elevation-5: 0 20px 42px rgba(0, 0, 0, 0.10), 0 8px 14px rgba(0, 0, 0, 0.05);

    /* M3 Motion */
    --md-sys-motion-easing-emphasized: cubic-bezier(0.2, 0, 0, 1);
    --md-sys-motion-easing-emphasized-decelerate: cubic-bezier(0.05, 0.7, 0.1, 1);
    --md-sys-motion-easing-emphasized-accelerate: cubic-bezier(0.3, 0, 0.8, 0.15);
    --md-sys-motion-duration-short: 150ms;
    --md-sys-motion-duration-medium: 300ms;
    --md-sys-motion-duration-long: 500ms;

    /* Typography */
    --md-sys-typescale-font: 'Plus Jakarta Sans', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    max-width: 100%;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.marketing-page,
body.legal-page {
    background-color: #f8fafa;
    color: #191c1c;
    font-family: var(--md-sys-typescale-font);
}
/* =========================================================
   Slide 0: Hero Header
========================================================= */

.slide-hero {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    padding: 0;
    max-width: none; /* Force full edge-to-edge width */
}

.hero-bg-wrapper {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -2;
    overflow: hidden;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: slow-pan 40s infinite alternate ease-in-out;
    opacity: 0.8;
}

@keyframes slow-pan {
    0% { transform: scale(1.05) translate(0, 0); }
    100% { transform: scale(1.15) translate(-2%, 2%); }
}

.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(9, 9, 11, 0.45) 0%, rgba(9, 9, 11, 0.98) 100%);
    box-shadow: inset 0 0 150px rgba(0,0,0,0.9);
    z-index: -1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.hero-logo {
    width: 220px;
    height: auto;
    margin-bottom: 2rem;
    mix-blend-mode: screen; /* Magic to remove the black logo background! */
    filter: drop-shadow(0 0 25px rgba(59, 130, 246, 0.6));
    animation: pulse-glow 4s infinite alternate ease-in-out;
}

@keyframes pulse-glow {
    0% { filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.5)); }
    100% { filter: drop-shadow(0 0 40px rgba(16, 185, 129, 0.6)); }
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.hero-tagline {
    font-size: 1.8rem;
    font-weight: 300;
    color: #e4e4e7;
    letter-spacing: 1px;
}

.hero-tagline em {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-style: italic;
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Base structural containers */
.slide-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 10rem 2rem 5rem 2rem; /* Adjusted for floating nav and up-indicator */
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* =========================================================
   Floating Navigation
========================================================= */

.floating-nav {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
    padding: 0.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 9999px; /* Pill shape */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    overflow: hidden;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem 1rem;
    outline: none;
    transition: transform 0.3s ease;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Desktop-only: center the nav pill and animate it in */
@media (min-width: 969px) {
    .floating-nav {
        top: 1.5rem;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        transition: all 0.3s ease;
        opacity: 0;
        animation: navFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        animation-delay: 0.5s;
    }
}

@keyframes navFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

/* Atmospheric Glows */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.15;
    animation: drift 20s infinite alternate ease-in-out;
}
.blue-glow {
    top: 5%;
    left: 10%;
    width: 600px;
    height: 600px;
    background: var(--brand-primary);
}
.purple-glow {
    bottom: -10%;
    right: 5%;
    width: 800px;
    height: 800px;
    background: var(--brand-purple);
    animation-delay: -5s;
}

/* Layout Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    width: 100%;
    z-index: 1;
}

/* Typography & Content Block */
.pill-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.text-block {
    margin-bottom: 3rem;
}

.text-block h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-block p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    font-weight: 300;
    max-width: 90%;
}

.text-block p em {
    color: #e4e4e7;
    font-style: normal;
    font-weight: 500;
}

/* Right Column Visuals */
.stats-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-visual {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--glass-border);
    height: 280px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}

.visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: hard-light;
    opacity: 0.9;
    transition: transform 10s ease;
}
.hero-visual:hover .visual-img {
    transform: scale(1.05);
}

/* Glass Stat Cards */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media(min-width: 1100px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    /* 4 stats naturally form a perfect 2x2 grid */
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.glass:hover {
    background: rgba(39, 39, 42, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.stat-icon {
    display: inline-flex;
    padding: 0.75rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.pulse-icon {
    color: var(--brand-red);
    background: rgba(239, 68, 68, 0.1);
    animation: gentle-pulse 3s infinite;
}

.stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.25rem;
    letter-spacing: -1px;
}

.gradient-text-red {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-blue {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-purple {
    background: linear-gradient(135deg, #c084fc 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-orange {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #f4f4f5;
    margin-bottom: 0.75rem;
}

.stat-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.staggered-1 { animation-delay: 0.1s; }
.staggered-2 { animation-delay: 0.3s; }
.staggered-3 { animation-delay: 0.5s; }
.staggered-4 { animation-delay: 0.7s; }
.staggered-5 { animation-delay: 0.8s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 30px) scale(1.1); }
}

@keyframes gentle-pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Responsive */
@media (max-width: 968px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .scroll-indicator {
        display: none !important;
    }
    
    .reverse-mobile {
        display: flex;
        flex-direction: column-reverse;
    }

    .iphone-frame {
        margin: 0 auto 3rem auto;
    }
    
    .text-block h2 {
        font-size: 1.75rem;
    }
    
    .text-block p {
        max-width: 100%;
    }
    
    .slide-container {
        padding: 8rem 1.5rem 4rem 1.5rem; /* Prevents mobile nav collisions */
    }
}

/* =========================================================
   Slide 2 Specific Styles
========================================================= */

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

.center-column {
    display: flex;
    justify-content: center;
    align-items: center;
}

.emerald-glow {
    top: 20%;
    right: 15%;
    width: 600px;
    height: 600px;
    background: #10b981;
    animation-delay: -3s;
}

.cyan-glow {
    bottom: -10%;
    left: 10%;
    width: 700px;
    height: 700px;
    background: #06b6d4;
    animation-delay: -7s;
}

.gradient-text-emerald {
    background: linear-gradient(135deg, #34d399 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* iPhone Frame */
.iphone-frame {
    width: 320px;
    height: 650px;
    border: 14px solid #18181b; 
    border-radius: 44px;
    position: relative;
    box-shadow: 0 30px 60px -12px rgba(0,0,0,0.8), inset 0 0 0 2px rgba(255,255,255,0.1);
    background: #000;
    overflow: hidden;
    transition: transform 0.5s ease;
}

.iphone-frame:hover {
    transform: translateY(-10px);
}

.iphone-notch {
    position: absolute;
    top: 12px; /* Floats off the top edge */
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 28px;
    background: #000;
    border-radius: 20px; /* Fully rounded capsule */
    z-index: 10;
    box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.1);
}

.iphone-notch::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.08); /* Camera lens reflection */
    border-radius: 50%;
}

.iphone-screen {
    position: absolute;
    top: 8px;
    left: 0;
    width: 100%;
    height: calc(100% - 8px);
    object-fit: cover;
    border-radius: 36px;
}

/* Feature List */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 16px;
    transition: background 0.3s ease;
}

.feature-item:hover {
    background: rgba(255,255,255,0.03);
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.emerald-bg { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.teal-bg { background: rgba(20, 184, 166, 0.15); color: #2dd4bf; }
.blue-bg { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.purple-bg { background: rgba(139, 92, 246, 0.15); color: #a78bfa; }
.orange-bg { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.red-bg { background: rgba(239, 68, 68, 0.15); color: #ef4444; }

.feature-text h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 0.25rem;
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Scroll Indicators */
.scroll-indicator {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.3s ease, color 0.3s ease;
    z-index: 10;
}

.scroll-indicator:hover {
    opacity: 1 !important;
    color: var(--text-primary);
}

.down-indicator {
    bottom: 2rem;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards, bounce-subtle-down 2.5s infinite;
    animation-delay: 1.2s, 2s;
}

.up-indicator {
    top: 5.5rem; /* Sits nicely between the nav bar and the content */
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards, bounce-subtle-up 2.5s infinite;
    animation-delay: 1.2s, 2s;
}

.up-indicator svg { margin-bottom: 4px; }
.down-indicator svg { margin-top: 4px; }

@keyframes bounce-subtle-down {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes bounce-subtle-up {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(10px); }
    60% { transform: translateX(-50%) translateY(5px); }
}

/* =========================================================
   Slide 3: Market
========================================================= */

.slide-market {
    flex-direction: column;
}

.market-layout {
    width: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

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

.market-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-gold {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gold-glow {
    top: 10%;
    left: 15%;
    width: 600px;
    height: 600px;
    background: #d97706;
    animation-delay: -2s;
}

.blue-glow-2 {
    bottom: -5%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: #3b82f6;
    animation-delay: -8s;
}

/* Market Cards Grid */
.market-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    width: 100%;
}

.market-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 3.5rem 2.5rem;
    overflow: hidden;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.market-card:hover {
    transform: translateY(-15px);
}

.card-glow {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 180px;
    filter: blur(60px);
    opacity: 0.15;
    z-index: -1;
    transition: opacity 0.5s ease;
}

.market-card:hover .card-glow {
    opacity: 0.4;
}

.gold-glow-hover { background: #fbbf24; }
.blue-glow-hover { background: #3b82f6; }
.emerald-glow-hover { background: #10b981; }

.market-label {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: 1px;
}

.market-sublabel {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 0.25rem;
    margin-bottom: 3rem;
}

.market-value {
    font-family: 'Outfit', sans-serif;
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.market-card p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
}

/* Accent Bar */
.market-accent {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 2rem 3rem;
    border-radius: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.accent-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.accent-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
}

.accent-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.accent-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
}

/* Gold Icon Background */
.gold-bg { background: rgba(217, 119, 6, 0.15); color: #fbbf24; }

/* Revenue Highlight */
.revenue-highlight {
    margin-top: 2rem;
    text-align: center;
    padding: 2rem;
}

.revenue-value {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.revenue-label {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================================
   Slide 4: Business Model
========================================================= */

.projections-dashboard {
    width: 100%;
    max-width: 500px;
    border-radius: 24px;
    padding: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.projections-dashboard::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, #10b981 0%, #3b82f6 50%, #fbbf24 100%);
}

.border-bottom {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-header {
    padding: 1.5rem 2rem;
    text-align: center;
}

.dashboard-main-metric {
    padding: 3rem 2rem;
    text-align: center;
}

.dashboard-main-metric .label {
    display: block;
    font-size: 1rem;
    color: #f8fafc;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.dashboard-main-metric .value {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    line-height: 1;
}

.dashboard-breakdown {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
}

.breakdown-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #f8fafc;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin: 0.25rem 0 0.5rem 0;
}

.stat-revenue {
    font-weight: 600;
    font-size: 1.1rem;
}

.breakdown-divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
}

.dashboard-arpa {
    display: flex;
    justify-content: space-around;
    padding: 1.5rem 2rem;
    padding-bottom: 3.5rem; /* Room for badge */
}

.arpa-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.arpa-val {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f8fafc;
}

.arpa-type {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

.assumption-badge {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: rgba(0,0,0,0.3);
    padding: 1rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* =========================================================
   Slide 5: Scaling The App
========================================================= */

.slide-scaling {
    align-items: flex-start;
}

.scaling-layout {
    width: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    padding-top: 4rem;
}

.scaling-timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
    position: relative;
    padding-top: 2rem;
}

/* The Animated Growth Line */
.timeline-connection {
    position: absolute;
    top: 40%;
    left: 5%;
    width: 90%;
    height: 100%;
    z-index: -1;
    opacity: 0.7;
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.4));
}

.phase-card {
    position: relative;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    background: var(--glass-bg);
    height: 100%;
}

.phase-card:hover {
    transform: translateY(-15px) !important;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    z-index: 5;
}

/* Stepped staircase ascending transformation */
.scaling-timeline-grid .phase-card:nth-of-type(1) { transform: translateY(60px); }
.scaling-timeline-grid .phase-card:nth-of-type(2) { transform: translateY(20px); }
.scaling-timeline-grid .phase-card:nth-of-type(3) { transform: translateY(-20px); }
.scaling-timeline-grid .phase-card:nth-of-type(4) { transform: translateY(-60px); }

/* SVG Connection Dots overlaying each card */
.phase-card::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 4px solid;
    z-index: 2;
    box-shadow: 0 0 15px currentColor;
    transition: transform 0.3s ease;
}

.phase-card:hover::before {
    transform: translateX(-50%) scale(1.3);
}

.phase-card:nth-of-type(1)::before { border-color: #fbbf24; color: #fbbf24; top: -12px; }
.phase-card:nth-of-type(2)::before { border-color: #3b82f6; color: #3b82f6; top: -12px; }
.phase-card:nth-of-type(3)::before { border-color: #10b981; color: #10b981; top: -12px; }
.phase-card:nth-of-type(4)::before { border-color: #a855f7; color: #a855f7; top: -12px; }


.phase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.phase-badge {
    padding: 0.4rem 1rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.phase-timeline {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
    padding: 0.4rem 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
}

.phase-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 0.5rem;
}

.phase-metric {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.02);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.phase-metric::after {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0; width: 4px;
}
.phase-card:nth-of-type(1) .phase-metric::after { background: #fbbf24; }
.phase-card:nth-of-type(2) .phase-metric::after { background: #3b82f6; }
.phase-card:nth-of-type(3) .phase-metric::after { background: #10b981; }
.phase-card:nth-of-type(4) .phase-metric::after { background: #a855f7; }

.metric-value {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.phase-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
}

.phase-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: #e4e4e7;
    line-height: 1.5;
}

.phase-bullets li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* =========================================================
   Slide 6: The Team
========================================================= */

.slide-team {
    flex-direction: column;
}

.team-layout {
    width: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    padding-top: 2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    width: 100%;
}

.team-member {
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top; /* CSS Magic to anchor the cropping on the face! */
    aspect-ratio: 1 / 1;
    margin-bottom: 1.5rem;
    border: 3px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    background: #09090b;
}

.team-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 0.25rem;
}

.team-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.team-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive: Slide 3, 4, 5 & 6 */
@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .floating-nav {
        width: 50px;
        height: 50px;
        padding: 0;
        border-radius: 50%;
        overflow: visible;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        background: transparent;
        border: none;
        position: relative;
        z-index: 1002;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 70px;
        right: 1rem;
        left: auto;
        width: 220px;
        flex-direction: column;
        padding: 1.5rem 1rem;
        background: rgba(24, 24, 27, 0.95);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border: 1px solid var(--glass-border);
        border-radius: 20px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        z-index: 1001;
    }

    .floating-nav.nav-open .nav-links {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }

    .market-cards-grid,
    .scaling-timeline-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-connection {
        display: none;
    }

    .scaling-timeline-grid .phase-card:nth-of-type(1),
    .scaling-timeline-grid .phase-card:nth-of-type(2),
    .scaling-timeline-grid .phase-card:nth-of-type(3),
    .scaling-timeline-grid .phase-card:nth-of-type(4) {
        transform: translateY(0);
        margin-bottom: 2rem;
    }

    .phase-card::before {
        display: none;
    }

    .market-value {
        font-size: 4rem;
    }

    .market-accent {
        flex-direction: column;
        gap: 1.5rem;
    }

    .accent-divider {
        width: 48px;
        height: 1px;
    }

    .market-title {
        font-size: 2rem;
    }
}
/* =========================================================
   GOOGLE MATERIAL 3 EXPRESSIVE - LIGHT THEME (MARKETING & LEGAL)
========================================================= */

/* --- M3 Helper Utilities & Text Gradients ---
   Scoped to the light-theme pages. These M3 tones are tuned for a light
   surface and drop to ~3:1 contrast on the pitch deck's near-black
   background, so the deck keeps the brighter gradients defined above. */
.marketing-page .gradient-text-emerald,
.legal-page .gradient-text-emerald {
    background: linear-gradient(135deg, #006a60 0%, #008779 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.marketing-page .gradient-text-blue,
.legal-page .gradient-text-blue {
    background: linear-gradient(135deg, #00639b 0%, #1a73e8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.marketing-page .gradient-text-gold,
.legal-page .gradient-text-gold {
    background: linear-gradient(135deg, #735c00 0%, #b06000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.marketing-page .gradient-text-red,
.legal-page .gradient-text-red {
    background: linear-gradient(135deg, #ba1a1a 0%, #d93025 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.marketing-page .glass,
.legal-page .glass {
    background: #ffffff !important;
    border: 1px solid #e4e8e7 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.marketing-page .glass:hover,
.legal-page .glass:hover {
    background: #ffffff !important;
    border-color: var(--md-sys-color-primary) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
}

/* =========================================================
   M3 EXPRESSIVE FLOATING APP BAR / NAVIGATION
========================================================= */

.marketing-page .floating-nav {
    position: fixed;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: min(1200px, calc(100% - 2.5rem));
    padding: 0.5rem 1rem 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--md-shape-corner-full);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: all var(--md-sys-motion-duration-medium) var(--md-sys-motion-easing-emphasized);
    opacity: 1;
    animation: none;
}

.marketing-page .nav-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    flex-shrink: 0;
    padding: 0;
}

.marketing-page .nav-logo {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 2px 4px rgba(0, 106, 96, 0.25));
}

.marketing-page .nav-brand-text {
    font-family: var(--md-sys-typescale-font);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--md-sys-color-on-surface);
    letter-spacing: -0.5px;
}

.marketing-page .menu-toggle {
    display: none;
}

.marketing-page .nav-links {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.marketing-page .nav-link {
    color: var(--md-sys-color-on-surface-variant);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.5rem 1.1rem;
    border-radius: var(--md-shape-corner-full);
    transition: all var(--md-sys-motion-duration-short) var(--md-sys-motion-easing-emphasized);
    text-transform: none;
    letter-spacing: normal;
}

.marketing-page .nav-link:hover {
    color: var(--md-sys-color-primary);
    background: var(--md-sys-color-primary-container);
}

/* M3 Filled Primary Action Button */
.marketing-page .nav-cta-btn {
    background: var(--md-sys-color-primary);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.6rem 1.45rem;
    border-radius: var(--md-shape-corner-full);
    transition: all var(--md-sys-motion-duration-short) var(--md-sys-motion-easing-emphasized);
    box-shadow: 0 2px 8px rgba(0, 106, 96, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.marketing-page .nav-cta-btn:hover {
    transform: translateY(-1px);
    background: #005048;
    box-shadow: 0 4px 14px rgba(0, 106, 96, 0.4);
}

/* =========================================================
   M3 EXPRESSIVE HERO SECTION (LIGHT CANVAS)
========================================================= */

.marketing-page {
    background-color: var(--md-sys-color-background);
    color: var(--md-sys-color-on-surface);
}

.marketing-page .marketing-hero {
    min-height: 88vh;
    padding: 8.5rem 1.5rem 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    background: radial-gradient(1000px circle at 85% 15%, rgba(0, 106, 96, 0.07) 0%, rgba(248, 250, 250, 0) 60%),
                radial-gradient(800px circle at 10% 85%, rgba(0, 99, 155, 0.05) 0%, rgba(248, 250, 250, 0) 50%),
                #f8fafa;
}

.marketing-page .marketing-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.marketing-page .marketing-hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* M3 Assist Badge / Pill Chip */
.marketing-page .pill-badge,
.legal-page .pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.15rem;
    border-radius: var(--md-shape-corner-full);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    box-shadow: var(--md-elevation-1);
    margin-bottom: 1.35rem;
}

.pill-badge.emerald-bg {
    background: #e0f2f1;
    color: #004d40;
    border: 1px solid #b2dfdb;
}

.pill-badge.blue-bg {
    background: #e1f0ff;
    color: #003366;
    border: 1px solid #bbdefb;
}

.pill-badge.teal-bg {
    background: #e0f7fa;
    color: #004d40;
    border: 1px solid #b2ebf2;
}

.pill-badge.gold-bg {
    background: #fff8e1;
    color: #664d00;
    border: 1px solid #ffe082;
}

.pill-badge.purple-bg {
    background: #f3e5f5;
    color: #4a148c;
    border: 1px solid #e1bee7;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #008779;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(0, 135, 121, 0.6);
    animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
}

.marketing-page .hero-title-main {
    font-family: var(--md-sys-typescale-font);
    font-size: 4.25rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -2px;
    margin: 0.5rem 0 1.5rem;
    color: #191c1c;
}

.marketing-page .hero-subtext {
    font-size: 1.2rem;
    line-height: 1.75;
    color: var(--md-sys-color-on-surface-variant);
    margin-bottom: 2.75rem;
    max-width: 600px;
}

/* M3 Store Badge Buttons */
.marketing-page .hero-cta-group {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 2.75rem;
}

.marketing-page .store-badge-btn {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.85rem 1.65rem;
    border-radius: var(--md-shape-corner-large);
    background: #ffffff;
    border: 1px solid #dce2e0;
    color: #191c1c;
    text-decoration: none;
    transition: all var(--md-sys-motion-duration-short) var(--md-sys-motion-easing-emphasized);
    box-shadow: var(--md-elevation-1);
}

.marketing-page .store-badge-btn:hover {
    transform: translateY(-3px);
    background: #ffffff;
    border-color: var(--md-sys-color-primary);
    box-shadow: var(--md-elevation-3), 0 4px 18px rgba(0, 106, 96, 0.15);
}

.marketing-page .store-text {
    display: flex;
    flex-direction: column;
}

.marketing-page .store-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    color: #707977;
    letter-spacing: 0.5px;
    line-height: 1;
    margin-bottom: 3px;
    font-weight: 600;
}

.marketing-page .store-name {
    font-family: var(--md-sys-typescale-font);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.1;
    color: #191c1c;
}

/* Trust Bar */
.marketing-page .hero-trust-bar {
    display: flex;
    gap: 1.75rem;
    flex-wrap: wrap;
}

.marketing-page .trust-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.94rem;
    color: var(--md-sys-color-on-surface-variant);
    font-weight: 600;
}

/* M3 Device Enclosure & Floating Badges */
.marketing-page .marketing-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.marketing-page .iphone-frame {
    width: 290px;
    height: 590px;
    border-radius: 44px;
    border: 10px solid #1e2423;
    background: #000000;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.marketing-page .iphone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 28px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
}

.marketing-page .iphone-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.marketing-page .floating-stat-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.95rem 1.35rem;
    border-radius: var(--md-shape-corner-large);
    background: #ffffff;
    border: 1px solid #e0e5e4;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    z-index: 10;
    white-space: nowrap;
    animation: m3FloatBadge 4s ease-in-out infinite alternate;
}

.marketing-page .stat-badge-left {
    bottom: 12%;
    left: -20px;
}

.marketing-page .stat-badge-right {
    top: 12%;
    right: -20px;
    animation-delay: 2s;
}

@keyframes m3FloatBadge {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

.marketing-page .badge-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: var(--md-shape-corner-medium);
    display: flex;
    align-items: center;
    justify-content: center;
}

.marketing-page .badge-icon-wrap.red-bg {
    background: #fce8e6;
    color: #c5221f;
}

.marketing-page .badge-icon-wrap.emerald-bg {
    background: #e6f4ea;
    color: #137333;
}

.marketing-page .badge-title {
    font-family: var(--md-sys-typescale-font);
    font-weight: 700;
    font-size: 0.95rem;
    color: #191c1c;
}

.marketing-page .badge-desc {
    font-size: 0.82rem;
    color: #5a6563;
}

/* =========================================================
   M3 EXPRESSIVE SECTIONS & CARDS (LIGHT THEME)
========================================================= */

.marketing-page .marketing-section {
    padding: 6.5rem 1.5rem;
    position: relative;
    z-index: 2;
}

.marketing-page .section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.marketing-page .section-header-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4.5rem;
}

.marketing-page .section-title {
    font-family: var(--md-sys-typescale-font);
    font-size: 3.25rem;
    font-weight: 800;
    letter-spacing: -1.25px;
    line-height: 1.12;
    margin: 1rem 0;
    color: #191c1c;
}

.marketing-page .section-subtitle {
    font-size: 1.15rem;
    color: var(--md-sys-color-on-surface-variant);
    line-height: 1.75;
}

/* M3 Expressive Feature Grid & Cards */
.marketing-page .features-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    max-width: 1200px;
    margin: 0 auto;
}

.marketing-page .feature-card {
    background: #ffffff;
    border: 1px solid #e4e8e7;
    border-radius: var(--md-shape-corner-extra-large); /* 28px */
    padding: 2.25rem;
    transition: all var(--md-sys-motion-duration-medium) var(--md-sys-motion-easing-emphasized);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.marketing-page .feature-card:hover {
    transform: translateY(-5px);
    background: #ffffff;
    border-color: var(--md-sys-color-primary);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08), 0 4px 14px rgba(0, 106, 96, 0.1);
}

.marketing-page .feature-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--md-shape-corner-large); /* 16px */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.marketing-page .feature-card-icon.emerald-bg {
    background: #e6f4ea;
    color: #137333;
}

.marketing-page .feature-card-icon.teal-bg {
    background: #e0f2f1;
    color: #00796b;
}

.marketing-page .feature-card-icon.purple-bg {
    background: #f3e8fd;
    color: #7b1fa2;
}

.marketing-page .feature-card-icon.red-bg {
    background: #fce8e6;
    color: #c5221f;
}

.marketing-page .feature-card-icon.gold-bg {
    background: #fef7e0;
    color: #b06000;
}

.marketing-page .feature-card-icon.blue-bg {
    background: #e8f0fe;
    color: #1a73e8;
}

.marketing-page .feature-card-title {
    font-family: var(--md-sys-typescale-font);
    font-size: 1.35rem;
    font-weight: 700;
    color: #191c1c;
    margin-bottom: 0.85rem;
    letter-spacing: -0.25px;
}

.marketing-page .feature-card-desc {
    color: var(--md-sys-color-on-surface-variant);
    font-size: 1rem;
    line-height: 1.7;
}

/* =========================================================
   M3 DEEP DIVE & SHOWCASE
========================================================= */

.marketing-page .deep-dive-section {
    background: #f2f5f4;
    padding: 6rem 1.5rem;
}

.marketing-page .split-showcase-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 4.5rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.marketing-page .showcase-visual {
    display: flex;
    justify-content: center;
}

.marketing-page .showcase-title {
    font-family: var(--md-sys-typescale-font);
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1px;
    margin: 1.25rem 0 1rem;
    color: #191c1c;
}

.marketing-page .showcase-lead {
    font-size: 1.15rem;
    color: var(--md-sys-color-on-surface-variant);
    line-height: 1.75;
    margin-bottom: 2.25rem;
}

.marketing-page .showcase-steps {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.marketing-page .step-row {
    display: flex;
    gap: 1.35rem;
    align-items: flex-start;
}

.marketing-page .step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0f2f1;
    color: #004d40;
    font-family: var(--md-sys-typescale-font);
    font-weight: 800;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #b2dfdb;
    box-shadow: var(--md-elevation-1);
}

.marketing-page .step-text h4 {
    font-family: var(--md-sys-typescale-font);
    font-size: 1.2rem;
    font-weight: 700;
    color: #191c1c;
    margin-bottom: 0.35rem;
}

.marketing-page .step-text p {
    color: var(--md-sys-color-on-surface-variant);
    font-size: 1rem;
    line-height: 1.65;
}

/* =========================================================
   M3 HOW IT WORKS (3 STEPS)
========================================================= */

.marketing-page .how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    max-width: 1200px;
    margin: 0 auto;
}

.marketing-page .how-card {
    background: #ffffff;
    border: 1px solid #e4e8e7;
    border-radius: var(--md-shape-corner-extra-large); /* 28px */
    padding: 2.5rem 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all var(--md-sys-motion-duration-short) var(--md-sys-motion-easing-emphasized);
}

.marketing-page .how-card:hover {
    transform: translateY(-4px);
    border-color: var(--md-sys-color-primary);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
}

.marketing-page .how-number {
    font-family: var(--md-sys-typescale-font);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1.25rem;
}

.marketing-page .how-title {
    font-family: var(--md-sys-typescale-font);
    font-size: 1.4rem;
    font-weight: 700;
    color: #191c1c;
    margin-bottom: 0.75rem;
}

.marketing-page .how-desc {
    color: var(--md-sys-color-on-surface-variant);
    font-size: 1rem;
    line-height: 1.7;
}

/* =========================================================
   M3 SECURITY & PRIVACY BANNER
========================================================= */

.marketing-page .security-banner {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 3.5rem;
    border-radius: 28px;
    border: 1px solid #b8e4dc;
    background: #e6f5f2;
    box-shadow: 0 4px 20px rgba(0, 106, 96, 0.06);
    max-width: 1200px;
    margin: 0 auto;
}

.marketing-page .security-shield-large {
    width: 90px;
    height: 90px;
    border-radius: var(--md-shape-corner-large);
    background: #ffffff;
    border: 1px solid #b8e4dc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #006a60;
    box-shadow: var(--md-elevation-2);
    flex-shrink: 0;
}

.marketing-page .security-heading {
    font-family: var(--md-sys-typescale-font);
    font-size: 2.25rem;
    font-weight: 800;
    color: #003734;
    margin: 0.75rem 0 1rem;
    letter-spacing: -0.5px;
}

.marketing-page .security-desc {
    font-size: 1.12rem;
    line-height: 1.75;
    color: #2b504c;
    margin-bottom: 2rem;
}

.marketing-page .security-action-links {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.marketing-page .btn-legal-link {
    color: #006a60;
    background: #ffffff;
    border: 1px solid #b8e4dc;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 0.7rem 1.4rem;
    border-radius: var(--md-shape-corner-full);
    transition: all var(--md-sys-motion-duration-short) var(--md-sys-motion-easing-emphasized);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.marketing-page .btn-legal-link:hover {
    background: #006a60;
    color: #ffffff;
    border-color: #006a60;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 106, 96, 0.25);
}

/* =========================================================
   M3 EXPRESSIVE LEGAL PAGES (LIGHT THEME)
========================================================= */

.legal-page {
    background-color: var(--md-sys-color-background);
    color: var(--md-sys-color-on-surface);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.legal-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--md-sys-color-outline-variant);
    padding: 1.1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.legal-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legal-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--md-sys-color-on-surface);
}

.legal-brand-logo {
    width: 38px;
    height: 38px;
    filter: drop-shadow(0 2px 4px rgba(0, 106, 96, 0.25));
}

.legal-brand-name {
    font-family: var(--md-sys-typescale-font);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
    color: #191c1c;
}

.legal-nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.legal-back-btn,
.legal-alt-btn {
    padding: 0.55rem 1.35rem;
    border-radius: var(--md-shape-corner-full);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--md-sys-motion-duration-short) var(--md-sys-motion-easing-emphasized);
}

.legal-back-btn {
    background: #f2f5f4;
    color: #191c1c;
    border: 1px solid var(--md-sys-color-outline-variant);
}

.legal-back-btn:hover {
    background: #e6eae9;
    color: var(--md-sys-color-primary);
}

.legal-alt-btn {
    background: #e1f0ff;
    color: #00639b;
    border: 1px solid #bbdefb;
}

.legal-alt-btn:hover {
    background: #cbe3ff;
}

.legal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 6rem;
    flex: 1;
    width: 100%;
}

.legal-title-section {
    margin-bottom: 3.5rem;
    max-width: 900px;
}

.legal-main-title {
    font-family: var(--md-sys-typescale-font);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -1.5px;
    margin: 1rem 0 0.5rem;
    color: #191c1c;
}

.legal-effective-date {
    color: var(--md-sys-color-on-surface-variant);
    font-size: 0.98rem;
    margin-bottom: 1.5rem;
}

.legal-intro-lead {
    font-size: 1.2rem;
    line-height: 1.75;
    color: var(--md-sys-color-on-surface-variant);
}

.legal-layout-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

.legal-toc-sidebar {
    position: sticky;
    top: 100px;
}

.legal-toc-card {
    background: #ffffff;
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--md-shape-corner-large); /* 16px */
    padding: 1.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.legal-toc-title {
    font-family: var(--md-sys-typescale-font);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #191c1c;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.legal-toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.toc-link {
    color: var(--md-sys-color-on-surface-variant);
    text-decoration: none;
    font-size: 0.92rem;
    line-height: 1.45;
    transition: all var(--md-sys-motion-duration-short) var(--md-sys-motion-easing-emphasized);
    display: block;
    padding: 0.45rem 0.75rem;
    border-radius: var(--md-shape-corner-small);
}

.toc-link:hover {
    color: var(--md-sys-color-primary);
    background: var(--md-sys-color-primary-container);
    transform: translateX(4px);
}

.toc-link.highlight {
    color: #00639b;
    font-weight: 600;
    background: #e1f0ff;
}

.toc-link.highlight-emerald {
    color: #004d40;
    font-weight: 600;
    background: #e0f2f1;
}

.toc-link.highlight-red {
    color: #ba1a1a;
    font-weight: 600;
    background: #ffdad6;
}

/* Document Body */
.legal-content-body {
    background: #ffffff;
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--md-shape-corner-extra-large); /* 28px */
    padding: 3.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.legal-section {
    margin-bottom: 3.75rem;
    scroll-margin-top: 120px;
}

.section-heading {
    font-family: var(--md-sys-typescale-font);
    font-size: 1.95rem;
    font-weight: 800;
    color: #191c1c;
    margin-bottom: 1.35rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--md-sys-color-outline-variant);
    letter-spacing: -0.5px;
}

.subsection-heading {
    font-family: var(--md-sys-typescale-font);
    font-size: 1.35rem;
    font-weight: 700;
    color: #191c1c;
    margin: 2rem 0 0.85rem;
}

.legal-section p {
    color: #37413f;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.35rem;
}

.legal-section a {
    color: var(--md-sys-color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}

.legal-bullet-list,
.legal-ordered-list {
    margin: 1.25rem 0 1.75rem 1.75rem;
    color: #37413f;
    line-height: 1.8;
}

.legal-bullet-list li,
.legal-ordered-list li {
    margin-bottom: 0.75rem;
    font-size: 1.02rem;
}

.legal-quote {
    background: #e0f2f1;
    border-left: 4px solid #006a60;
    padding: 1.5rem 1.75rem;
    margin: 1.5rem 0;
    border-radius: 0 var(--md-shape-corner-medium) var(--md-shape-corner-medium) 0;
    color: #003734;
    font-size: 1.1rem;
    line-height: 1.75;
}

.legal-highlight-box {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: var(--md-shape-corner-large);
    margin-bottom: 2.25rem;
}

.legal-highlight-box.blue-border {
    border-left: 4px solid #1a73e8;
    background: #e8f0fe;
    color: #174ea6;
}

.legal-highlight-box.emerald-border {
    border-left: 4px solid #137333;
    background: #e6f4ea;
    color: #0d652d;
}

.legal-highlight-box.red-border {
    border-left: 4px solid #c5221f;
    background: #fce8e6;
    color: #a50e0e;
}

.legal-highlight-box.gold-border {
    border-left: 4px solid #b06000;
    background: #fef7e0;
    color: #7c4d00;
}

.section-heading-inner {
    font-family: var(--md-sys-typescale-font);
    font-size: 1.55rem;
    font-weight: 800;
    color: #191c1c;
    margin-bottom: 0.75rem;
}

.permission-item {
    background: #f8fafa;
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--md-shape-corner-large);
    padding: 1.75rem;
    margin-bottom: 1.75rem;
}

.permission-title {
    font-family: var(--md-sys-typescale-font);
    font-size: 1.25rem;
    font-weight: 700;
    color: #191c1c;
    margin-bottom: 0.85rem;
}

.permission-title code {
    background: #e0f2f1;
    color: #004d40;
    padding: 0.2rem 0.5rem;
    border-radius: var(--md-shape-corner-extra-small);
    font-size: 0.88rem;
    font-family: monospace;
    font-weight: 600;
}

.table-container {
    overflow-x: auto;
    margin: 1.75rem 0 2.25rem;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.98rem;
    text-align: left;
}

.legal-table th,
.legal-table td {
    padding: 1.15rem 1.35rem;
    border-bottom: 1px solid var(--md-sys-color-outline-variant);
}

.legal-table th {
    background: #f2f5f4;
    color: #191c1c;
    font-weight: 700;
    font-family: var(--md-sys-typescale-font);
}

.legal-table td {
    color: #37413f;
}

/* M3 Deletion Form Styling */
.deletion-form-container {
    padding: 2.5rem;
    border-radius: var(--md-shape-corner-large);
    border: 1px solid #dce2e0;
    background: #f8fafa;
    margin: 2rem 0;
    box-shadow: var(--md-elevation-1);
}

.deletion-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #191c1c;
}

.form-input,
.form-select {
    padding: 0.95rem 1.15rem;
    background: #ffffff;
    border: 1px solid #c4ccca;
    border-radius: var(--md-shape-corner-medium); /* 12px */
    color: #191c1c;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: all var(--md-sys-motion-duration-short) var(--md-sys-motion-easing-emphasized);
}

.form-input:focus,
.form-select:focus {
    border-color: #006a60;
    box-shadow: 0 0 0 2px rgba(0, 106, 96, 0.2);
}

.form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 0.95rem;
    color: #37413f;
    cursor: pointer;
}

.form-checkbox {
    margin-top: 0.25rem;
    accent-color: #006a60;
    width: 18px;
    height: 18px;
}

/* M3 Filled Button */
.submit-deletion-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    background: #006a60;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.95rem 2rem;
    border: none;
    border-radius: var(--md-shape-corner-full);
    cursor: pointer;
    transition: all var(--md-sys-motion-duration-short) var(--md-sys-motion-easing-emphasized);
    align-self: flex-start;
    box-shadow: 0 2px 8px rgba(0, 106, 96, 0.3);
}

.submit-deletion-btn:hover {
    transform: translateY(-2px);
    background: #005048;
    box-shadow: 0 6px 18px rgba(0, 106, 96, 0.4);
}

.form-status {
    padding: 1.15rem;
    border-radius: var(--md-shape-corner-medium);
    font-size: 0.98rem;
    margin-top: 0.5rem;
}

.form-status.success {
    background: #e0f2f1;
    border: 1px solid #006a60;
    color: #004d40;
}

.form-status.error {
    background: #ffdad6;
    border: 1px solid #ba1a1a;
    color: #410002;
}

.deletion-note {
    font-size: 0.92rem;
    color: #707977;
    margin-top: 1.5rem;
}

.contact-box {
    padding: 2rem;
    border-radius: var(--md-shape-corner-large);
    background: #f8fafa;
    border: 1px solid var(--md-sys-color-outline-variant);
    margin-top: 1.25rem;
}

/* =========================================================
   M3 EXPRESSIVE FOOTER (LIGHT THEME)
========================================================= */

.marketing-page .marketing-footer,
.legal-footer {
    background: #eef2f1;
    border-top: 1px solid #dce2e0;
    padding: 5rem 1.5rem 3rem;
    position: relative;
    z-index: 2;
}

.legal-footer {
    padding: 2.5rem 1.5rem;
    margin-top: auto;
}

.marketing-page .footer-top-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1.25fr 1fr;
    gap: 3.5rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
}

/* Footer brand mark — shared by the marketing and legal page footers.
   Without an explicit size this renders at the asset's natural 1024x1024. */
.footer-logo {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 106, 96, 0.25));
}

.marketing-page .footer-logo-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.35rem;
}

.marketing-page .footer-brand-title {
    font-family: var(--md-sys-typescale-font);
    font-weight: 800;
    font-size: 1.45rem;
    color: #191c1c;
}

.marketing-page .footer-brand-bio {
    color: var(--md-sys-color-on-surface-variant);
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.marketing-page .footer-app-links {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.marketing-page .footer-store-link {
    color: #006a60;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
}

.marketing-page .footer-store-link:hover {
    text-decoration: underline;
}

.marketing-page .footer-link-divider {
    color: #707977;
}

.marketing-page .footer-heading {
    font-family: var(--md-sys-typescale-font);
    font-size: 1.1rem;
    font-weight: 700;
    color: #191c1c;
    margin-bottom: 1.35rem;
    letter-spacing: 0.5px;
}

.marketing-page .footer-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 0;
    margin: 0;
}

.marketing-page .footer-nav-list a {
    color: var(--md-sys-color-on-surface-variant);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--md-sys-motion-duration-short) var(--md-sys-motion-easing-emphasized);
}

.marketing-page .footer-nav-list a:hover {
    color: var(--md-sys-color-primary);
}

.marketing-page .footer-legal-buttons-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.marketing-page .footer-btn-legal {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: #ffffff;
    border: 1px solid #cdd5d3;
    color: #191c1c;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.75rem 1.15rem;
    border-radius: var(--md-shape-corner-full);
    transition: all var(--md-sys-motion-duration-short) var(--md-sys-motion-easing-emphasized);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.marketing-page .footer-btn-legal:hover {
    background: #e1f0ff;
    color: #00639b;
    border-color: #bbdefb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.marketing-page .footer-btn-legal.secondary {
    background: #ffffff;
    border-color: #cdd5d3;
    color: #006a60;
}

.marketing-page .footer-btn-legal.secondary:hover {
    background: #e0f2f1;
    color: #004d40;
    border-color: #b2dfdb;
}

.marketing-page .footer-bottom-bar,
.legal-footer-inner {
    padding-top: 2.25rem;
    border-top: 1px solid #dce2e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
}

.marketing-page .footer-bottom-bar p,
/* Logo + copyright pair in the legal page footers. Without this the div
   defaults to block and the mark stacks above the text, unlike the
   marketing footer's equivalent .footer-logo-row. */
.footer-left {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.legal-footer-inner p {
    color: #707977;
    font-size: 0.88rem;
}

.marketing-page .footer-bottom-links,
.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.marketing-page .footer-bottom-links a,
.footer-links a {
    color: var(--md-sys-color-on-surface-variant);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color var(--md-sys-motion-duration-short) var(--md-sys-motion-easing-emphasized);
}

.marketing-page .footer-bottom-links a:hover,
.footer-links a:hover {
    color: var(--md-sys-color-primary);
}

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

@media (max-width: 1024px) {
    .legal-layout-grid {
        grid-template-columns: 1fr;
    }

    .legal-toc-sidebar {
        display: none;
    }

    .marketing-page .features-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .marketing-page .marketing-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3.5rem;
    }

    .marketing-page .marketing-hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .marketing-page .hero-cta-group,
    .marketing-page .hero-trust-bar {
        justify-content: center;
    }

    .marketing-page .split-showcase-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3.5rem;
    }

    .marketing-page .showcase-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .marketing-page .how-it-works-grid {
        grid-template-columns: 1fr;
    }

    .marketing-page .security-banner {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 1.5rem;
    }

    .marketing-page .security-action-links {
        justify-content: center;
    }

    .marketing-page .footer-top-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 860px) {
    .marketing-page .floating-nav {
        width: calc(100% - 2rem);
        padding: 0.5rem 1rem;
    }

    .marketing-page .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        /* Explicit size: the shared .menu-toggle rule sets width/height 100%
           for the pitch deck's collapsed circular nav, which would otherwise
           stretch this button across the marketing nav bar. */
        width: 44px;
        height: 44px;
        flex-shrink: 0;
        background: transparent;
        border: none;
        color: var(--md-sys-color-on-surface);
        cursor: pointer;
        padding: 0.4rem;
    }

    .marketing-page .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 0.75rem);
        left: 0;
        right: 0;
        flex-direction: column;
        background: #ffffff;
        border: 1px solid var(--md-sys-color-outline-variant);
        border-radius: 20px;
        padding: 1.25rem 1rem;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
        gap: 0.5rem;
    }

    .marketing-page .floating-nav.nav-open .nav-links {
        display: flex;
    }

    .marketing-page .nav-link {
        width: 100%;
        text-align: center;
    }

    .marketing-page .nav-cta-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .marketing-page .features-cards-grid {
        grid-template-columns: 1fr;
    }

    .marketing-page .footer-top-grid {
        grid-template-columns: 1fr;
    }

    .marketing-page .hero-title-main {
        font-size: 2.65rem;
        letter-spacing: -1px;
    }

    .marketing-page .section-title {
        font-size: 2.2rem;
    }

    .legal-main-title {
        font-size: 2.5rem;
    }

    .legal-content-body {
        padding: 1.75rem 1.25rem;
    }

    .marketing-page .stat-badge-left,
    .marketing-page .stat-badge-right {
        display: none;
    }
}

