/* --- 1. Variables & Reset --- */
/* Define the local font family */
@font-face {
    font-family: 'Space Mono';
    src: url('../assets/fonts/SpaceMono-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Space Mono';
    src: url('../assets/fonts/SpaceMono-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

:root {
    /* Colors */
    --ink: #1C1C1E;        /* Text Color */
    --paper: #F5F5F7;      /* Apple-like light gray background */
    --orange: #FF4F00;     /* Primary Accent */
    --highlight: #E6AC00;  /* Subtitle Highlight */
    
    /* Typography */
    --font-stack: 'Space Mono', monospace,'SF Mono', 'San Francisco Mono', 'Menlo';
    
    /* Layout */
    --max-w: 1200px;
    --gutter: 20px;
    --radius-vid: 32px;    /* Video keeps rounded corners as it's a "Device" */
}

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


body {
    background-color: var(--paper);
    color: var(--ink);
    font-family: var(--font-stack);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.4;
}

/* --- 2. Texture Overlay --- */
.noise-curtain {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background-image: url('../assets/images/noise.png'); /* 5% opacity noise */
    opacity: 0.06;
    pointer-events: none;
    z-index: 900;
}

/* --- 3. Hero Section --- */
.hero-stage {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px var(--gutter);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    width: 100%;
    max-width: var(--max-w);
    align-items: center;
}

/* Left Column: Video */
.media-column {
    position: relative;
    width: 100%;
}

.device-frame {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-radius: var(--radius-vid); /* DEVICE has rounded corners */
    overflow: hidden;
    aspect-ratio: 1440 / 1944;
    box-shadow: 0 25px 50px -12px rgba(28, 28, 30, 0.2);
    transform: translateZ(0);
    background: #000;
}

.device-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.border-inset {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-vid);
    pointer-events: none;
    z-index: 2;
}

/* Right Column: Content */
.content-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

/* Row 1: Icon (Centered) */
.row-icon {
    width: 100%;
    display: flex;
    justify-content: center; 
    margin-bottom: 40px;
}

.row-icon img {
    width: 96px;
    height: 96px;
    border-radius: 16px; /* Slightly tighter radius for icon */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Row 2: Title */
.row-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 32px;
    color: var(--ink);
}

.accent-orange {
    color: var(--orange);
}

/* Row 3: Subtitle */
.row-subtitle {
    font-size: clamp(1rem, 1.2vw, 1.25rem);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 48px;
    max-width: 90%;
    opacity: 0.9;
}

.highlight-text {
    color: #CC9900; 
    font-weight: 700;
    background: rgba(255, 191, 0, 0.15);
    padding: 0 4px;
    /* Removed border-radius to match Brutalist theme */
}

/* Row 4: Brutalist Button */
.row-cta {
    display: flex;
    justify-content: flex-start;
}

.ios-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--ink); /* #1C1C1E */
    color: #fff;
    padding: 14px 28px;
    
    /* BRUTALIST UPDATE: 
       Zero border-radius. Sharp corners. 
    */
    border-radius: 0; 
    
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid var(--ink); /* Defined border for structure */
}

/* Hover Effect: Hard Invert (Terminal Style) instead of Scale/Bounce */
.ios-btn:hover {
    background-color: transparent;
    color: var(--ink);
    border-color: var(--ink);
    transform: none; /* No movement, just state change */
}

.apple-icon {
    width: 28px;
    height: 32px;
    margin-right: 14px;
    margin-bottom: 4px;
    fill: currentColor; /* Inherits color from parent for hover invert */
}

.btn-content {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.btn-tiny {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.9;
}

.btn-label {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Separator */
.separator-line {
    text-align: center;
    color: var(--ink);
    opacity: 0.2;
    font-size: 12px;
    letter-spacing: 6px;
    overflow: hidden;
    white-space: nowrap;
    padding-bottom: 80px;
    user-select: none;
}

/* --- 4. Animation Classes --- */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- 5. Responsive Design --- */
@media (max-width: 900px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .content-column {
        align-items: center;
        text-align: center;
    }

    .row-cta {
        justify-content: center; /* Center button on mobile */
    }

    .row-subtitle {
        max-width: 100%;
        font-size: 1rem;
    }

    .row-title {
        font-size: 2.5rem;
    }
    
    .media-column {
        max-width: 350px;
        margin: 0 auto;
    }
}

/* --- Receipt Styling --- */
.receipt-container {
    margin-bottom: 40px;
    font-size: 0.95rem;
    letter-spacing: -0.02em;
    border-left: 2px solid var(--ink); /* Visual marker */
    padding-left: 15px;
}

.receipt-header {
    font-weight: 700;
    margin-bottom: 10px;
    opacity: 0.6;
}

.receipt-line {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}

.step-num {
    font-weight: 700;
    flex-shrink: 0;
}

.receipt-footer {
    opacity: 0.2;
    margin-top: 10px;
}

/* --- Brutalist Button Update --- */
.brutalist-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--ink);
    color: #fff;
    padding: 16px 32px;
    border-radius: 0; /* Strict requirement: no rounded corners */
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid var(--ink);
    transition: all 0.2s ease;
}

.brutalist-btn:hover {
    background-color: transparent;
    color: var(--ink);
}

.apple-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
}

/* --- Title Emphasis --- */
.row-title strong {
    color: #FFBF00;
    font-weight: 800;
}

/* --- 6. Feature Grid (New Section) --- */

.features-stage {
    padding: 0 var(--gutter) 100px var(--gutter);
    display: flex;
    justify-content: center;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    max-width: var(--max-w);
}

/* Card Styling: Dark Monoliths */
.bento-card {
    background-color: #0E0E0F; /* Almost black, lighter than pure black */
    color: #F5F5F7;
    border-radius: 24px; /* Apple-style rounding */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, opacity;
}

/* Hover Effect: Slight Lift */
.bento-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.2);
}

/* Card Image Area */
.card-visual {
    width: 100%;
    height: 380px; /* Fixed height for uniformity */
    background-color: #000;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Subtly zoom image on hover for kinetic feel */
    transition: transform 0.8s ease; 
}

.bento-card:hover .card-visual img {
    transform: scale(1.03);
}

/* Card Text Area */
.card-content {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Ensures text areas stretch evenly */
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.card-body {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.6;
    color: #A1A1A6; /* Apple gray text */
}

.card-body strong {
    color: #fff;
    font-weight: 700;
}

.text-dark {
    color: var(--ink); /* For the highlighted title */
}

/* Animation State */
.reveal-card {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive: Stack on mobile */
@media (max-width: 900px) {
    .grid-layout {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .card-visual {
        height: 300px; /* Slightly shorter on mobile */
    }
}

/* Color Consistency */
.amber-text {
    color: #FFBF00; /* Matches hero emphasis exactly */
}

/* Card Visual Fix */
.card-visual {
    width: 100%;
    /* Maintain the tall aspect ratio of your 660x1434 images */
    aspect-ratio: 660 / 800; 
    background-color: #000;
    overflow: hidden;
    display: flex;
    align-items: flex-start; /* Aligns image to top */
}

.card-visual img {
    width: 100%;
    height: auto;
    object-fit: contain; /* Shows the full "iPhone screen" look */
}

/* Dashed Divider */
.card-divider {
    font-size: 10px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
    user-select: none;
}

/* Underline Utility */
.u-line {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(255, 255, 255, 0.4);
}

/* Update Card Body for better readability */
.card-body {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #E0E0E0; /* Slightly brighter for contrast on dark background */
}
/* --- Footer Styling --- */
.site-footer {
    display: flex;
    justify-content: space-between;
    padding: 40px var(--gutter);
    max-width: var(--max-w);
    margin: 0 auto;
    font-size: 0.8rem;
    opacity: 0.6;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-right a {
    color: var(--ink);
    text-decoration: none;
    margin-left: 24px;
    font-weight: 700;
}

.footer-right a:hover {
    text-decoration: underline;
}

/* --- Floating Toolbar --- */
.floating-toolbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(245, 245, 247, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 15px var(--gutter);
}

.toolbar-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-btn {
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
    font-size: 0.9rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

/* --- Story Page Layout --- */
.story-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px var(--gutter);
}

.header-image {
    width: 100%;
    height: auto;
    border-radius: 24px;
    margin-bottom: 40px;
}

.story-header h1 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
}

.story-content h3 {
    margin: 40px 0 15px 0;
    font-size: 1.2rem;
    color: var(--ink);
}

.story-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    opacity: 0.9;
}

.story-footer {
    margin-top: 80px;
    text-align: center;
    padding: 40px;
    background: #0E0E0F;
    color: #fff;
    border-radius: 24px;
}

/* Override for Story Footer to ensure brutalist rectangular shape */
.story-page .story-footer {
    border-radius: 0 !important; /* Forces rectangular shape */
    border: 2px solid var(--ink); /* Sharp border to match top-level buttons */
    margin-top: 80px;
    text-align: center;
    padding: 60px 40px;
    background: #0E0E0F;
    color: #fff;
}

/* Ensure the commitment title matches the header style */
.story-footer h2.amber-text {
    font-size: 1.8rem;
    margin-bottom: 24px;
}
.bottom-cta-stage {
    padding: 100px var(--gutter); /* Uniform space above and below the button */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--paper); /* Ensures it matches the page background */
}

/* --- 1. Variables & Theme Adaptation --- */
:root {
    /* --- LIGHT MODE (Default) --- */
    --ink: #1C1C1E;        
    --paper: #F5F5F7;      
    --orange: #FF4F00;     
    --highlight: #E6AC00;  
    
    /* Card Specifics */
    --card-bg: #0E0E0F;    
    --card-text: #F5F5F7;
    --card-border: rgba(255, 255, 255, 0.08);
    
    /* Layout Constants */
    --font-stack: 'Space Mono', monospace, 'SF Mono', 'Menlo';
    --max-w: 1200px;
    --gutter: 20px;
    --radius-vid: 32px;
}

/* --- DARK MODE OVERRIDE --- */
@media (prefers-color-scheme: dark) {
    :root {
        --ink: #F5F5F7;        /* Light Gray/White text */
        --paper: #000000;      /* Pure Black background */
        
        /* Adjust cards for dark-on-dark depth */
        --card-bg: #1C1C1C;    
        --card-border: rgba(255, 255, 255, 0.12);
    }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0s !important;
        scroll-behavior: auto !important;
    }
}

body {
    background-color: var(--paper);
    color: var(--ink);
    font-family: var(--font-stack);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.4;
    /* Smooth transition when system theme toggles */
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* --- Updates to Existing Selectors to use Variables --- */

.brutalist-btn {
    background-color: var(--ink);
    color: var(--paper); /* Now swaps automatically */
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    border-radius: 0; 
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid var(--ink);
    transition: all 0.2s ease;
}

.brutalist-btn:hover {
    background-color: transparent;
    color: var(--ink);
}

.bento-card {
    background-color: var(--card-bg);
    color: var(--card-text);
    border: 1px solid var(--card-border);
    /* ... existing layout properties ... */
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, opacity;
}

.story-page .story-footer {
    background-color: var(--card-bg);
    color: var(--card-text);
    border-radius: 0 !important;
    border: 2px solid var(--ink);
    margin-top: 80px;
    text-align: center;
    padding: 60px 40px;
}

/* --- 7. Evidence Section (Scientific Cards) --- */

.evidence-stage {
    padding: 80px var(--gutter) 100px var(--gutter);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.evidence-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.section-subtitle {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.6;
    color: var(--ink);
}

.evidence-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    width: 100%;
    max-width: var(--max-w);
}

/* Evidence Card Styling - Brutalist Clinical Aesthetic */
.evidence-card {
    background-color: var(--card-bg);
    color: var(--card-text);
    border: 1px solid var(--card-border);
    border-radius: 0; /* Sharp corners for brutalist feel */
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), 
                border-color 0.3s ease;
    will-change: transform;
}

.evidence-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 191, 0, 0.4);
}

.evidence-header-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.evidence-num {
    font-size: 1.4rem;
    font-weight: 700;
    color: #FFBF00;
    flex-shrink: 0;
    line-height: 1;
    min-width: 40px;
}

.evidence-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.3;
    color: #FFBF00;
    text-transform: uppercase;
}

.evidence-divider {
    font-size: 10px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
    user-select: none;
}

.evidence-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.evidence-body p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #E0E0E0;
    margin: 0;
}

.pathology strong,
.protocol strong {
    color: #fff;
    font-weight: 700;
}

.pathology {
    opacity: 0.85;
}

.protocol {
    opacity: 0.95;
}

/* Scroll Reveal Animation for Evidence Cards */
.reveal-evidence {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-evidence.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive: Stack to single column on mobile */
@media (max-width: 900px) {
    .evidence-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .evidence-card {
        padding: 28px 24px;
    }

    .evidence-num {
        font-size: 1.2rem;
    }

    .evidence-title {
        font-size: 0.9rem;
    }

    .evidence-body p {
        font-size: 0.85rem;
    }
}

/* Dark Mode Adjustments for Evidence Section */
@media (prefers-color-scheme: dark) {
    .evidence-card {
        background-color: #1C1C1C;
        border-color: rgba(255, 255, 255, 0.12);
    }

    .evidence-card:hover {
        border-color: rgba(255, 191, 0, 0.5);
    }
}

/* --- 8. FAQ Section (Expandable Accordions) --- */

.faq-stage {
    padding: 80px var(--gutter) 100px var(--gutter);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faq-container {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Individual FAQ Item */
.faq-item {
    border-bottom: 1px solid rgba(28, 28, 30, 0.1);
    transition: border-color 0.3s ease;
}

.faq-item:first-of-type {
    border-top: 1px solid rgba(28, 28, 30, 0.1);
}

/* Question Button */
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font-stack);
    text-align: left;
    transition: opacity 0.2s ease;
}

.faq-question:hover {
    opacity: 0.7;
}

.faq-q-text {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.4;
    color: var(--ink);
    text-transform: uppercase;
    padding-right: 20px;
}

/* Chevron Icon */
.faq-icon {
    font-size: 2rem;
    font-weight: 300;
    color: var(--ink);
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(90deg);
}

/* Answer Container */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer.is-open {
    max-height: 500px; /* Generous max for longest answers */
}

.faq-answer-content {
    padding: 0 0 32px 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--ink);
    opacity: 0.85;
}

.faq-answer-content strong {
    font-weight: 700;
    opacity: 1;
}

/* Embedded CTA after Q6 */
.faq-cta-embed {
    padding: 32px 0;
    text-align: center;
    border-bottom: 1px solid rgba(28, 28, 30, 0.1);
}

.faq-cta-link {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #FFBF00;
    text-decoration: none;
    padding: 16px 32px;
    border: 2px solid #FFBF00;
    border-radius: 0;
    transition: all 0.2s ease;
}

.faq-cta-link:hover {
    background-color: #FFBF00;
    color: var(--ink);
}

/* FAQ Footer */
.faq-footer {
    padding: 48px 0 0 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.faq-footer-text {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    opacity: 0.4;
    text-transform: uppercase;
}

.faq-footer-link {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--ink);
    text-decoration: none;
    padding: 14px 28px;
    border: 2px solid var(--ink);
    border-radius: 0;
    transition: all 0.2s ease;
}

.faq-footer-link:hover {
    background-color: var(--ink);
    color: var(--paper);
}

/* Scroll Reveal Animation for FAQ Items */
.reveal-faq {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, 
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-faq.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 900px) {
    .faq-container {
        max-width: 100%;
    }

    .faq-q-text {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .faq-question {
        padding: 24px 0;
    }

    .faq-answer-content {
        font-size: 0.9rem;
        padding-bottom: 28px;
    }

    .faq-icon {
        font-size: 1.6rem;
    }

    .faq-cta-link {
        font-size: 1rem;
        padding: 14px 24px;
    }
}

/* Dark Mode Adjustments for FAQ */
@media (prefers-color-scheme: dark) {
    .faq-item,
    .faq-item:first-of-type,
    .faq-cta-embed {
        border-color: rgba(255, 255, 255, 0.1);
    }

    .faq-answer-content {
        color: #E0E0E0;
    }
}

.floating-toolbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--paper); /* Matches theme */
    opacity: 0.95;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 15px var(--gutter);
}