/* ==========================================================================
   AtListen Pages & Sections
   Layouts and page-specific styles
   ========================================================================== */

/* Section Background Variants
   ========================================================================== */
.section-light {
    background-color: var(--color-white);
}

.section-dark {
    background-color: var(--color-charcoal);
}

.section-gradient {
    background: var(--gradient-subtle);
}

/* Main Content (revealed after opening sequence) */
.main-content {
    opacity: 0;
    transition: opacity 0.5s var(--ease-out);
}

.opening-complete .main-content {
    opacity: 1;
}

/* Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    pointer-events: none;
}

.hero-container {
    width: 100%;
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: var(--space-12) var(--space-6);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
        padding: var(--space-16) var(--space-12);
    }
}

.hero-content {
    max-width: 600px;
    min-width: 0; /* grid item default min-width:auto would floor this at the title's unwrapped content width */
}

.particle-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-title-particle {
    display: block;
    width: 14em;
    max-width: none;
    height: 2.05em;
    line-height: 2.6;
    position: relative;
}

@media (max-width: 640px) {
    /* Fixed 14em overflows a narrow viewport (the canvas sizes its particle text off this
       width, per the createParticleText sizing gotcha) — cap it to the available column
       width here only; desktop keeps the tuned 14em above. */
    .hero-title-particle {
        width: 100%;
        max-width: 100%;
    }
}

.hero-eyebrow {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    /* Solid dark token, not the gradient-clip treatment, so this small text meets contrast on white */
    color: var(--color-purple-dark);
    margin-bottom: var(--space-6);
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
    line-height: var(--leading-tight);
    color: var(--color-text-primary);
    margin-bottom: var(--space-1);
    min-width: 0;
    max-width: 100%;
}

.title-line {
    max-width: 100%;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: var(--text-6xl);
    }
}

@media (min-width: 1280px) {
    .hero-title {
        font-size: var(--text-7xl);
    }
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-8);
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
}

.hero-trust {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.trust-text {
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-6);
}

.trust-logo {
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--color-text-secondary);
    opacity: 0.7;
}

/* Hero Visual - Interactive 3D Carousel */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carousel-3d {
    position: relative;
    width: 100%;
    height: 420px;
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-3d:focus-visible {
    outline: 2px solid var(--color-purple);
    outline-offset: 6px;
    border-radius: var(--radius-xl);
}

.carousel-card {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 280px;
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    padding: var(--space-5);
    cursor: grab;
    transition:
        transform 0.8s cubic-bezier(0.65, 0, 0.35, 1),
        opacity 0.8s cubic-bezier(0.65, 0, 0.35, 1),
        filter 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    transform-style: preserve-3d;
    backface-visibility: hidden;
    pointer-events: none;
}

.carousel-card.is-front {
    opacity: 1;
    pointer-events: all;
    filter: blur(0);
    z-index: 10;
}

.carousel-card.is-front:active {
    cursor: grabbing;
}

.carousel-card.is-side {
    opacity: 0.45;
    filter: blur(2px);
    z-index: 5;
}

.carousel-card.is-back {
    opacity: 0.18;
    filter: blur(3px);
    z-index: 1;
}

.carousel-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    border: 2px solid transparent;
    border-radius: inherit;
    background-image: radial-gradient(220px circle at var(--glow-x, 50%) var(--glow-y, 50%), var(--color-purple) 0%, var(--color-blue) 45%, transparent 75%);
    background-origin: border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.carousel-card:hover::after {
    opacity: 1;
}

.carousel-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(260px circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(139, 92, 246, 0.10), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.carousel-card:hover::before {
    opacity: 1;
}

/* Card Preview Styles */
.card-preview {
    background: var(--color-gray-50);
    border-radius: var(--radius-xl);
    padding: var(--space-4);
    margin-bottom: var(--space-4);
    min-height: 140px;
}

.preview-header {
    margin-bottom: var(--space-4);
}

.preview-badge {
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.preview-source {
    display: block;
    font-size: var(--text-xs);
    color: var(--color-text-tertiary);
    margin-top: var(--space-1);
}

/* Summary Text Preview */
.summary-text {
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-text-primary);
}

.summary-para {
    margin: 0 0 var(--space-2) 0;
}

.summary-para:last-child {
    margin-bottom: 0;
}

.summary-para strong {
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
}

.summary-para mark {
    background: rgba(139, 92, 246, 0.12);
    color: var(--color-purple-dark);
    padding: 1px 4px;
    border-radius: 3px;
    font-weight: var(--font-medium);
    font-size: 12px;
}

.preview-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.preview-line {
    height: 8px;
    background: var(--color-gray-200);
    border-radius: var(--radius-full);
    width: 100%;
    animation: shimmer 2s infinite;
}

.preview-line.short {
    width: 60%;
}

.preview-line.medium {
    width: 80%;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

/* Concepts Preview */
.concepts-preview .preview-content {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    gap: var(--space-2);
}

.concept-tag {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    line-height: 1;
    white-space: nowrap;
    font-size: var(--text-xs);
    padding: var(--space-2) var(--space-3);
    background: var(--gradient-subtle);
    color: var(--color-purple);
    border-radius: var(--radius-full);
    font-weight: var(--font-medium);
}

/* Flashcard Preview */
.flashcard-content {
    align-items: center;
    justify-content: center;
    height: 100%;
}

.flashcard-mini {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    text-align: center;
    width: 100%;
}

.mini-q {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--color-text-primary);
    margin-bottom: var(--space-3);
}

.mini-hint {
    font-size: var(--text-xs);
    color: var(--color-text-tertiary);
}

/* Practice Preview */
.quiz-option {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-gray-200);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    transition: all var(--duration-fast) var(--ease-out);
}

.quiz-option.correct {
    border-color: var(--color-green);
    background: rgba(16, 185, 129, 0.05);
    color: var(--color-green);
}

.option-letter {
    width: 24px;
    height: 24px;
    background: var(--color-gray-100);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
}

.quiz-option.correct .option-letter {
    background: var(--color-green);
    color: var(--color-white);
}

.check-mark {
    width: 16px;
    height: 16px;
    margin-left: auto;
    color: var(--color-green);
}

/* Card Info */
.card-info {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-gray-100);
}

.card-info .card-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-subtle);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-info .card-icon svg {
    width: 20px;
    height: 20px;
    color: var(--color-purple);
}

.card-info .card-label {
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
}

/* Carousel Navigation */
.carousel-nav {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-top: var(--space-6);
}

.carousel-btn {
    width: 44px;
    height: 44px;
    background: var(--color-white);
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
}

.carousel-btn:hover {
    border-color: var(--color-purple);
    background: var(--color-gray-50);
    transform: scale(1.05);
}

.carousel-btn:focus-visible {
    outline: 2px solid var(--color-purple);
    outline-offset: 2px;
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
    color: var(--color-text-secondary);
}

.carousel-btn:hover svg {
    color: var(--color-purple);
}

.carousel-dots {
    display: flex;
    gap: var(--space-2);
}

.carousel-dots .dot {
    box-sizing: content-box;
    width: 10px;
    height: 10px;
    padding: 17px;
    background: var(--color-gray-300);
    background-clip: content-box;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
}

.carousel-dots .dot:focus-visible {
    outline: 2px solid var(--color-purple);
    outline-offset: 2px;
}

.carousel-dots .dot.active {
    background: var(--gradient-brand);
    background-clip: content-box;
    width: 28px;
    border-radius: var(--radius-full);
}

@media (max-width: 640px) {
    .carousel-container {
        height: 460px;
    }

    .carousel-card {
        width: 220px;
        padding: var(--space-4);
    }
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
}

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--color-gray-400);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    animation: mouseBounce 2s ease-in-out infinite;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-gray-400);
    border-radius: 2px;
    animation: wheelScroll 2s ease-in-out infinite;
}

@keyframes mouseBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

@keyframes wheelScroll {
    0% { 
        transform: translateY(0);
        opacity: 1;
    }
    50% { 
        transform: translateY(12px);
        opacity: 0.3;
    }
    100% { 
        transform: translateY(0);
        opacity: 1;
    }
}

.scroll-text {
    font-size: var(--text-xs);
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Problem Section
   ========================================================================== */
.problem-section {
    padding: var(--space-24) 0;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .problem-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Solution Section
   ========================================================================== */
.solution-section {
    padding: var(--space-24) 0;
}

.solution-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-16);
    align-items: center;
}

@media (min-width: 1024px) {
    .solution-layout {
        grid-template-columns: 1fr 1fr;
    }
}

.solution-content {
    max-width: 540px;
}

.solution-lead {
    font-size: var(--text-xl);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-8);
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.solution-feature {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-base);
    color: var(--color-text-primary);
}

.feature-check {
    width: 24px;
    height: 24px;
    background: var(--gradient-brand);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-check svg {
    width: 14px;
    height: 14px;
    color: var(--color-white);
}

.solution-visual {
    display: flex;
    justify-content: center;
}

/* Showcase Section (voice demo + stacked display cards)
   ========================================================================== */
.showcase-section {
    padding: var(--space-24) 0;
}

.voice-demo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
}

.voice-demo-orb {
    position: relative;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 1px solid rgba(139, 92, 246, 0.14);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%);
    box-shadow: 0 16px 40px -16px rgba(139, 92, 246, 0.25), 0 4px 12px -4px rgba(0, 0, 0, 0.06);
    color: var(--color-purple);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.voice-demo-orb:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 50px -16px rgba(139, 92, 246, 0.35), 0 6px 16px -4px rgba(0, 0, 0, 0.08);
}

.voice-demo-orb:focus-visible {
    outline: 2px solid var(--color-purple);
    outline-offset: 3px;
}

.voice-demo-orb-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.voice-demo-orb-icon svg {
    width: 100%;
    height: 100%;
}

.voice-demo-orb-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--color-purple);
    opacity: 0;
}

.voice-demo-orb.is-listening {
    border-color: rgba(139, 92, 246, 0.35);
    box-shadow: 0 20px 50px -16px rgba(139, 92, 246, 0.4), 0 6px 16px -4px rgba(0, 0, 0, 0.08);
}

.voice-demo-orb.is-listening .voice-demo-orb-ring {
    opacity: 1;
    animation: voiceDemoPulseRing 1.6s ease-out infinite;
}

@keyframes voiceDemoPulseRing {
    0% { transform: scale(0.9); opacity: 0.6; }
    100% { transform: scale(1.25); opacity: 0; }
}

.voice-demo-record-dot {
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background: var(--gradient-brand);
    animation: voiceDemoSpin 3s linear infinite;
}

@keyframes voiceDemoSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.voice-demo-timer {
    font-family: var(--font-mono, monospace);
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
    min-width: 48px;
    text-align: center;
    transition: color 0.3s ease;
}

.voice-demo-orb.is-listening + .voice-demo-timer {
    color: var(--color-purple);
}

.voice-demo-bars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 32px;
    width: 100%;
    max-width: 320px;
}

.voice-demo-bar {
    width: 3px;
    height: 8%;
    min-height: 4px;
    border-radius: 999px;
    background: rgba(139, 92, 246, 0.18);
    transition: height 0.5s ease, background 0.3s ease;
}

.voice-demo-bars.is-active .voice-demo-bar {
    background: var(--gradient-brand);
    animation: voiceDemoBarPulse 1s ease-in-out infinite;
}

@keyframes voiceDemoBarPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.voice-demo-status {
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
    height: 1.25rem;
    margin: 0;
}

.voice-demo-arrow {
    display: flex;
    justify-content: center;
    color: rgba(139, 92, 246, 0.4);
    margin: var(--space-2) 0 var(--space-6);
}

.voice-demo-arrow svg {
    width: 22px;
    height: 22px;
    animation: voiceDemoArrowBounce 2s ease-in-out infinite;
}

@keyframes voiceDemoArrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

@media (prefers-reduced-motion: reduce) {
    .voice-demo-orb.is-listening .voice-demo-orb-ring,
    .voice-demo-record-dot,
    .voice-demo-bars.is-active .voice-demo-bar,
    .voice-demo-arrow svg {
        animation: none;
    }
}

.display-cards-wrapper {
    display: flex;
    justify-content: center;
    padding: var(--space-12) 0 var(--space-8);
}

.display-cards {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 230px;
}

.display-card {
    position: absolute;
    top: 0;
    left: 50%;
    width: 320px;
    height: 144px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--space-1);
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-xl);
    background: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(6px);
    overflow: hidden;
    user-select: none;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease, filter 0.4s ease;
}

.display-card::after {
    content: '';
    position: absolute;
    right: -1px;
    top: -5%;
    height: 110%;
    width: 96px;
    background: linear-gradient(to left, #f8f9ff 0%, transparent 100%);
    pointer-events: none;
}

.display-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.display-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
}

.display-card-icon svg {
    width: 15px;
    height: 15px;
}

.display-card-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    white-space: nowrap;
}

.display-card-description {
    font-size: var(--text-base);
    color: var(--color-text-primary);
    white-space: nowrap;
}

.display-card-date {
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
}

.display-card--back, .display-card--middle {
    filter: grayscale(100%);
}
.display-card--back:hover, .display-card--middle:hover {
    filter: grayscale(0%);
}

.display-card--back {
    z-index: 1;
    transform: translateX(-50%) skewY(-6deg) translateY(0);
}
.display-card--back:hover {
    transform: translateX(-50%) skewY(-6deg) translateY(-32px);
}

.display-card--middle {
    z-index: 2;
    transform: translateX(-50%) skewY(-6deg) translate(56px, 36px);
}
.display-card--middle:hover {
    transform: translateX(-50%) skewY(-6deg) translate(56px, -4px);
}

.display-card--front {
    z-index: 3;
    transform: translateX(-50%) skewY(-6deg) translate(112px, 72px);
}
.display-card--front:hover {
    transform: translateX(-50%) skewY(-6deg) translate(112px, 40px);
}

.display-card--purple .display-card-icon { background: rgba(139, 92, 246, 0.16); color: var(--color-purple); }
.display-card--purple .display-card-title { color: var(--color-purple); }
.display-card--purple { border-color: rgba(139, 92, 246, 0.18); }
.display-card--purple:hover { border-color: rgba(139, 92, 246, 0.4); box-shadow: 0 24px 60px -20px rgba(139, 92, 246, 0.35); }

.display-card--blue .display-card-icon { background: rgba(59, 130, 246, 0.16); color: var(--color-blue); }
.display-card--blue .display-card-title { color: var(--color-blue); }
.display-card--blue { border-color: rgba(59, 130, 246, 0.18); }
.display-card--blue:hover { border-color: rgba(59, 130, 246, 0.4); box-shadow: 0 24px 60px -20px rgba(59, 130, 246, 0.35); }

.display-card--green .display-card-icon { background: rgba(16, 185, 129, 0.16); color: var(--color-green); }
.display-card--green .display-card-title { color: var(--color-green); }
.display-card--green { border-color: rgba(16, 185, 129, 0.18); }
.display-card--green:hover { border-color: rgba(16, 185, 129, 0.4); box-shadow: 0 24px 60px -20px rgba(16, 185, 129, 0.35); }

@media (max-width: 640px) {
    .display-cards {
        height: 200px;
    }
    .display-card {
        width: 240px;
        height: 128px;
        padding: var(--space-3) var(--space-4);
    }
    .display-card-title {
        font-size: var(--text-base);
    }
    .display-card-description {
        font-size: var(--text-sm);
    }
    .display-card--middle {
        transform: translateX(-50%) skewY(-6deg) translate(32px, 28px);
    }
    .display-card--middle:hover {
        transform: translateX(-50%) skewY(-6deg) translate(32px, -4px);
    }
    .display-card--front {
        transform: translateX(-50%) skewY(-6deg) translate(64px, 56px);
    }
    .display-card--front:hover {
        transform: translateX(-50%) skewY(-6deg) translate(64px, 32px);
    }
}

/* Features Section
   ========================================================================== */
.features-section {
    padding: var(--space-24) 0;
}

.feature-category {
    margin-bottom: var(--space-20);
}

.feature-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-8);
    text-align: center;
}

/* Input Grid */
.input-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

@media (min-width: 640px) {
    .input-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .input-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.input-card {
    background-color: var(--color-white);
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    text-align: center;
    cursor: pointer;
}

.input-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-4);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px -4px rgba(0, 0, 0, 0.25);
}

.input-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-white);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.input-icon.video-icon { background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%); }
.input-icon.audio-icon { background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%); }
.input-icon.pdf-icon { background: linear-gradient(135deg, #EF4444 0%, #B91C1C 100%); }
.input-icon.text-icon { background: linear-gradient(135deg, #6B7280 0%, #374151 100%); }
.input-icon.youtube-icon { background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%); }
.input-icon.link-icon { background: var(--gradient-brand); }

.input-label {
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--color-text-primary);
}

/* Output Grid */
.output-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
}

@media (min-width: 640px) {
    .output-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .output-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.output-card {
    background-color: var(--color-gray-50);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    display: flex;
    gap: var(--space-5);
}

.output-number {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.output-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-2);
}

.output-desc {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
}

/* How It Works Section
   ========================================================================== */
.how-it-works-section {
    padding: var(--space-24) 0;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

@media (min-width: 1024px) {
    .steps-container {
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
        gap: 0;
    }
}

.step-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    padding: var(--space-6) var(--space-5);
    text-align: center;
    flex: 1;
    width: 300px;
    min-width: 300px;
    max-width: 300px;
    min-height: 340px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .step-card {
        margin: 0;
    }
}

.step-number {
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    color: var(--color-purple);
    background: rgba(139, 92, 246, 0.2);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: var(--space-4);
}

.step-visual {
    margin-bottom: var(--space-4);
}

.step-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-brand);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.step-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-white);
}

.step-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--color-white);
    margin-bottom: var(--space-2);
}

.step-desc {
    font-size: var(--text-sm);
    color: var(--color-gray-400);
    line-height: 1.6;
    margin: 0;
}

.step-connector {
    display: none;
}

@media (min-width: 1024px) {
    .step-connector {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 60px;
        min-height: 340px;
        position: relative;
    }
    
    .connector-line {
        width: 100%;
        height: 3px;
        background: var(--gradient-brand-horizontal);
        position: relative;
        overflow: hidden;
        box-shadow: 
            0 0 10px rgba(139, 92, 246, 0.5),
            0 0 20px rgba(59, 130, 246, 0.3),
            0 0 30px rgba(16, 185, 129, 0.2);
    }
    
    .connector-line::after {
        content: '';
        position: absolute;
        top: -2px;
        left: -100%;
        width: 40%;
        height: 7px;
        background: linear-gradient(90deg, 
            transparent 0%, 
            rgba(255, 255, 255, 0.9) 30%,
            rgba(255, 255, 255, 1) 50%,
            rgba(255, 255, 255, 0.9) 70%,
            transparent 100%);
        animation: beamMove 1.5s ease-in-out infinite;
        filter: blur(3px);
    }
    
    @keyframes beamMove {
        0% { left: -100%; }
        100% { left: 200%; }
    }
}

/* Depth Section
   ========================================================================== */
.depth-section {
    padding: var(--space-24) 0;
}

.depth-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-16);
    align-items: center;
}

@media (min-width: 1024px) {
    .depth-layout {
        grid-template-columns: 1fr 1fr;
    }
}

.depth-content {
    max-width: 540px;
}

.depth-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    margin-top: var(--space-10);
}

.depth-option {
    background-color: var(--color-white);
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    cursor: pointer;
}

.depth-option:hover {
    border-color: var(--color-purple);
}

.depth-badge {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-3);
}

.depth-badge.quick {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--color-green-dark);
}

.depth-badge.guide {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--color-blue-dark);
}

.depth-badge.guide.active {
    background-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 0 0 2px var(--color-blue);
}

.depth-badge.mastery {
    background-color: rgba(139, 92, 246, 0.1);
    color: var(--color-purple);
}

.depth-option-desc {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-4);
}

.depth-specs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.depth-specs .spec {
    font-size: var(--text-xs);
    color: var(--color-text-tertiary);
    background-color: var(--color-gray-100);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-md);
}

.depth-visual {
    display: flex;
    justify-content: center;
}

.depth-demo {
    width: 100%;
    max-width: 400px;
}

/* Use Cases Section
   ========================================================================== */
.use-cases-section {
    padding: var(--space-24) 0;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 640px) {
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .use-cases-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Pricing Section
   ========================================================================== */
.pricing-section {
    padding: var(--space-24) 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* About Section
   ========================================================================== */
.about-section {
    padding: var(--space-24) 0;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-16);
    align-items: center;
}

@media (min-width: 1024px) {
    .about-layout {
        grid-template-columns: 1.5fr 1fr;
    }
}

.about-content {
    max-width: 600px;
}

.about-lead {
    font-size: var(--text-xl);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
}

.about-text {
    font-size: var(--text-xl);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
}

/* About runs as a dark section (restores the light→dark→gradient rhythm the removed
   testimonials section used to give, and separates it from the white pricing section). */
.about-section.section-dark .section-title {
    color: var(--color-white);
}

.about-section.section-dark .about-lead {
    color: rgba(255, 255, 255, 0.9);
}

.about-section.section-dark .about-text {
    color: rgba(255, 255, 255, 0.9);
}

.about-stats {
    display: flex;
    gap: var(--space-12);
    margin-top: var(--space-10);
    padding-top: var(--space-10);
    border-top: 1px solid var(--color-gray-200);
}

.about-stat {
    text-align: center;
}

.about-stat .stat-number {
    display: block;
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-1);
}

.about-stat .stat-label {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.about-visual {
    display: flex;
    justify-content: center;
}

/* Founder Section
   ========================================================================== */
/* Deliberately its own dark/cinematic world rather than the site's light-mode-by-
   default look — a single moment on the page, so it doesn't need a light-theme
   variant. Cyan (--color-cyan, otherwise unused elsewhere on the site) is this
   section's own accent, kept separate from the purple/blue/green brand gradient
   used for the eyebrow + everywhere else, so it doesn't compete for attention. */
.founder-section {
    position: relative;
    padding: var(--space-24) 0;
    background:
        radial-gradient(ellipse 900px 520px at 12% 8%, rgba(139, 92, 246, 0.18), transparent 60%),
        radial-gradient(ellipse 800px 520px at 90% 95%, rgba(6, 182, 212, 0.16), transparent 60%),
        #0A0B0F;
    overflow: hidden;
}

.founder-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-brand-horizontal);
}

.founder-section .section-title {
    color: var(--color-white);
}

.founder-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-16);
    align-items: center;
}

@media (min-width: 1024px) {
    .founder-layout {
        grid-template-columns: 1fr 0.9fr;
        gap: var(--space-20);
    }
}

.founder-content {
    max-width: 560px;
}

.founder-lead {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.7);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-5);
}

.founder-text {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.7);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-8);
}

.founder-age {
    font-weight: var(--font-bold);
    background: var(--gradient-brand-horizontal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.founder-signoff {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    max-width: 280px;
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.founder-name {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    background: var(--gradient-brand-horizontal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.founder-role {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
}

.founder-visual {
    display: flex;
    justify-content: center;
    position: relative;
    perspective: 1600px;
}

/* Speed-streak trails for the card-throw entrance (see FounderCard in main.js +
   founderCardThrow/founderTrailA/B in animations.css). Static/hidden until
   .founder-visual gains .is-thrown; brand-gradient colored, positioned along the
   incoming trajectory so they read as a comet tail rather than needing per-frame
   motion-path precision. */
.founder-visual::before,
.founder-visual::after {
    content: '';
    position: absolute;
    top: 30%;
    right: 6%;
    width: 260px;
    height: 8px;
    border-radius: 999px;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    filter: blur(4px);
    background: linear-gradient(90deg, transparent 0%, rgba(103, 232, 249, 0.85) 55%, rgba(139, 92, 246, 0.9) 100%);
}

.founder-visual::after {
    top: 42%;
    right: 2%;
    width: 190px;
    height: 5px;
    background: linear-gradient(90deg, transparent 0%, rgba(16, 185, 129, 0.7) 60%, rgba(103, 232, 249, 0.85) 100%);
}

.founder-card {
    position: relative;
    isolation: isolate;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 360px;
    min-height: 440px;
    padding: var(--space-8) var(--space-6);
    border-radius: var(--radius-3xl);
    background: linear-gradient(165deg, #1A1B21 0%, #0D0E12 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 40px 80px -24px rgba(0, 0, 0, 0.65),
        0 0 120px -30px rgba(6, 182, 212, 0.3);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    /* Pre-throw hidden state — same one-shot-reveal convention as .scroll-reveal;
       FounderCard's IntersectionObserver (main.js) adds .is-thrown once, which
       plays founderCardThrow (animations.css) to this rest state. */
    opacity: 0;
    backface-visibility: hidden;
    will-change: transform, filter, opacity;
}

/* Cursor-tracking glow border — the same technique as .carousel-card::after on the
   hero, recolored to this section's cyan/purple accent (see FounderCard in main.js
   for the --glow-x/--glow-y mousemove listener). */
.founder-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border: 1px solid transparent;
    border-radius: inherit;
    background-image: radial-gradient(240px circle at var(--glow-x, 50%) var(--glow-y, 50%), var(--color-cyan) 0%, var(--color-purple) 50%, transparent 75%);
    background-origin: border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.founder-card:hover::after {
    opacity: 1;
}

.founder-glow {
    position: absolute;
    left: 50%;
    bottom: -8%;
    z-index: 1;
    width: 150%;
    height: 46%;
    transform: translateX(-50%);
    border-radius: 60% 60% 0 0;
    background: linear-gradient(180deg, rgba(6, 182, 212, 0.24) 0%, rgba(139, 92, 246, 0.1) 55%, transparent 100%);
    box-shadow: 0 0 160px 40px rgba(6, 182, 212, 0.16);
    pointer-events: none;
}

/* Replay control for the card-throw entrance (founderCardThrow, animations.css) —
   a child of .founder-card (not .founder-visual) so it rides along with the
   throw/land motion instead of needing a separate reveal, and stays clipped to
   the card's own rounded corners. Placed inset from the corner (not poking past
   the edge) since .founder-card has overflow:hidden. */
.founder-replay-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(13, 14, 18, 0.7);
    backdrop-filter: blur(6px);
    color: var(--color-cyan);
    cursor: pointer;
    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.6);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.founder-replay-btn svg {
    width: 18px;
    height: 18px;
}

.founder-replay-btn:hover,
.founder-replay-btn:focus-visible {
    transform: scale(1.08);
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.6), 0 0 22px -4px rgba(6, 182, 212, 0.5);
}

.founder-replay-btn:focus-visible {
    outline: 2px solid var(--color-cyan);
    outline-offset: 2px;
}

.founder-replay-btn:active {
    transform: scale(0.96);
}

.founder-replay-btn:disabled {
    opacity: 0.45;
    cursor: default;
    transform: none;
    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.6);
}

.founder-photo-frame {
    position: relative;
    z-index: 2;
    padding: 3px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 28px -4px rgba(6, 182, 212, 0.4);
}

.founder-photo {
    position: relative;
    width: 240px;
    height: 360px;
    border-radius: 25px;
    overflow: hidden;
    background: linear-gradient(160deg, #23252C 0%, #121317 100%);
}

.founder-outline-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.founder-outline-track {
    fill: none;
    stroke: rgba(6, 182, 212, 0.22);
    stroke-width: 3;
}

.founder-outline-scan {
    fill: none;
    stroke: var(--color-cyan);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    filter: drop-shadow(0 0 6px var(--color-cyan));
    animation: founderOutlineDraw 4.5s ease-in-out infinite;
}

.founder-photo-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-card-footer {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
    margin-top: var(--space-5);
}

.founder-card-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.founder-card-name {
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--color-white);
    letter-spacing: -0.01em;
}

.founder-checkmark {
    display: block;
    width: 16px;
    height: 16px;
    line-height: 0;
}

.founder-checkmark svg {
    width: 100%;
    height: 100%;
}

.founder-card-role {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.5);
}

/* CTA Section
   ========================================================================== */
.cta-section {
    padding: var(--space-24) 0;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
    .cta-title {
        font-size: var(--text-5xl);
    }
}

.cta-subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-8);
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
}

/* Contact Section
   ========================================================================== */
.contact-section {
    padding: var(--space-24) 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-16);
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr 1.5fr;
    }
}

.contact-info {
    padding-top: var(--space-4);
}

.contact-form {
    position: relative;
    background-color: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    border: 1px solid rgba(139, 92, 246, 0.08);
    box-shadow:
        0 20px 60px -20px rgba(139, 92, 246, 0.15),
        0 10px 30px -10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-brand);
    opacity: 0.8;
}

/* Terms & Privacy Pages
   ========================================================================== */
.legal-section {
    padding: calc(var(--nav-height) + var(--space-16)) 0 var(--space-24);
}

.legal-content {
    max-width: 70ch;
    margin: 0 auto;
}

.legal-header {
    margin-bottom: var(--space-12);
    padding-bottom: var(--space-8);
    border-bottom: 1px solid var(--color-gray-200);
}

.legal-title {
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-4);
}

.legal-date {
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
}

.legal-body h2 {
    font-size: var(--text-2xl);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    margin-top: var(--space-10);
    margin-bottom: var(--space-4);
}

.legal-body h3 {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    margin-top: var(--space-8);
    margin-bottom: var(--space-3);
}

.legal-body p {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
}

.legal-body ul {
    list-style: disc;
    margin-left: var(--space-6);
    margin-bottom: var(--space-4);
}

.legal-body li {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-2);
}

.legal-body a {
    color: var(--color-purple-dark);
    text-decoration: underline;
}

.legal-table-wrap {
    overflow-x: auto;
    margin-bottom: var(--space-6);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-md);
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
}

.legal-table th,
.legal-table td {
    text-align: left;
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--color-gray-200);
    vertical-align: top;
    line-height: var(--leading-relaxed);
    color: var(--color-text-secondary);
}

.legal-table th {
    background: var(--color-gray-50);
    color: var(--color-text-primary);
    font-weight: var(--font-semibold);
    white-space: nowrap;
}

.legal-table tr:last-child td {
    border-bottom: none;
}

.legal-draft-banner {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #92400e;
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-8);
}

.legal-todo {
    background: rgba(245, 158, 11, 0.18);
    color: #92400e;
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: var(--radius-sm);
    padding: 0 6px;
    font-weight: var(--font-semibold);
}

.legal-body a.legal-todo {
    text-decoration: none;
    white-space: normal;
}
