/* ====================================================================
   NexGrid Static Front Layer Styles
   Matte Black & Deep Navy Fintech Luxury Aesthetic
   ==================================================================== */

:root {
    --bg-matte-black: #0B0B0C;
    --bg-deep-navy: #111625;
    --gold-metallic: #C5A880;
    --gold-glow: rgba(197, 168, 128, 0.06); /* Softened for premium restraint */
    --gold-gradient: linear-gradient(135deg, #E6D5B8 0%, #C5A880 50%, #A3855C 100%);
    --text-primary: #F3F4F6;
    --text-muted: #9CA3AF;
    --text-dark: #4B5563;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(197, 168, 128, 0.3);
    
    /* Typography System V1 */
    --font-primary: "Manrope", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-sans: var(--font-primary);
    
    --fs-hero: clamp(3rem, 7vw, 5.8rem);
    --fs-h1: clamp(2.6rem, 5vw, 4.8rem);
    --fs-h2: clamp(2rem, 3.5vw, 3.4rem);
    --fs-h3: clamp(1.1rem, 2vw, 1.4rem);
    --fs-body-lg: clamp(1.05rem, 1.5vw, 1.25rem);
    --fs-body: 1rem;
    --fs-small: 0.86rem;

    --lh-tight: 0.95;
    --lh-heading: 1.12;
    --lh-body: 1.75;

    --tracking-tight: -0.04em;
    --tracking-normal: -0.01em;
    --tracking-wide: 0.04em;

    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset and Global Base Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-matte-black);
    color: var(--text-primary);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Utility classes */
.text-center { text-align: center; }
.bg-dark-navy { background-color: var(--bg-deep-navy); }

/* Typography */
/* Global heading reset - Specificity-safe. Scoped landing classes (.hero-title, .section-title, etc.) and scoped legal classes (.legal-text-body h2) override these properties using Typography V1 tokens to preserve visual consistency and avoid unintended typography regression. */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

/* Header & Navigation Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(11, 11, 12, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    height: 80px;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px; /* Improved mobile horizontal padding */
}

.logo-link {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.03em;
}

.brand-logo-img {
    height: 22px; /* 22px mobile base height */
    width: auto;
    display: block;
    transition: var(--transition-smooth);
}

.brand-logo-img:hover {
    opacity: 0.9;
}

.brand-logo-img.footer-logo-img {
    height: 20px; /* Logo slightly stronger */
    margin-bottom: 20px;
    opacity: 0.85; /* Quiet presence */
}

.gold-dot {
    color: var(--gold-metallic);
}

.main-nav {
    display: none;
}

.main-nav .nav-link {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 16px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.main-nav .nav-link:hover {
    color: var(--gold-metallic);
}

.header-cta {
    display: none;
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-matte-black);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
}

.mobile-nav-overlay.active {
    left: 0;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.mobile-nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.mobile-nav-link:hover {
    color: var(--gold-metallic);
}

/* Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
    max-width: 320px;
}

.btn-gold {
    background: var(--gold-gradient);
    color: #000000;
    box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--gold-glow);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.03);
    border-color: var(--gold-metallic);
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    padding-top: 160px;
    padding-bottom: 100px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(197, 168, 128, 0.08);
    border: 1px solid var(--border-gold);
    color: var(--gold-metallic);
    border-radius: 99px;
    font-size: var(--fs-small);
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: var(--tracking-wide);
}

.hero-title {
    font-size: var(--fs-hero);
    line-height: var(--lh-tight);
    letter-spacing: var(--tracking-tight);
    margin-bottom: 24px;
}

.gold-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: var(--fs-body-lg);
    line-height: var(--lh-body);
    letter-spacing: var(--tracking-normal);
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 320px;
}

.hero-actions .btn {
    width: 100%;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.01) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: center top;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    pointer-events: none;
}

/* Sections General Headers */
.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px auto;
}

.section-title {
    font-size: var(--fs-h2);
    line-height: var(--lh-heading);
    letter-spacing: var(--tracking-tight);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: var(--fs-body-lg);
    line-height: var(--lh-body);
    color: var(--text-muted);
}

/* About Section Styles (PHASE 4.0 INTEGRATION) */
.about-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.about-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 48px;
    border-radius: 8px;
    max-width: 900px;
    margin: 0 auto;
}

.about-lead {
    font-size: var(--fs-body-lg);
    color: var(--text-primary);
    line-height: var(--lh-body);
    margin-bottom: 40px;
    text-align: center;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.about-feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.about-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: rgba(197, 168, 128, 0.05);
    border: 1px solid var(--border-gold);
    color: var(--gold-metallic);
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.about-feature-item h4 {
    font-size: var(--fs-h3);
    line-height: var(--lh-heading);
    margin-bottom: 8px;
    color: var(--text-primary);
}

.about-feature-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .about-features {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

/* Core Values Section */
.values-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.value-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 40px 32px;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.value-card:hover {
    border-color: var(--border-gold);
    background-color: rgba(255, 255, 255, 0.03);
}

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: rgba(197, 168, 128, 0.05);
    border: 1px solid var(--border-gold);
    color: var(--gold-metallic);
    border-radius: 6px;
    margin-bottom: 24px;
}

.value-card h3 {
    font-size: var(--fs-h3);
    line-height: var(--lh-heading);
    margin-bottom: 12px;
    color: var(--text-primary);
}

.value-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* How It Works Section */
.how-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.steps-flow {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.step-card {
    background-color: var(--bg-matte-black);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 8px;
    position: relative;
    transition: var(--transition-smooth);
}

.step-card:hover {
    border-color: var(--border-gold);
}

.step-number {
    position: absolute;
    top: 28px;
    right: 24px; /* Slightly closer to corner */
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--gold-metallic);
    opacity: 0.045; /* Quiet background mark restraint */
    z-index: 0;
    pointer-events: none;
    margin: 0;
    line-height: 1;
}

.step-card h3 {
    font-size: var(--fs-h3);
    line-height: var(--lh-heading);
    margin-bottom: 12px;
    padding-right: 110px; /* Safe padding prevention from background mark overlap */
    position: relative;
    z-index: 1;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Trust Layer Section */
.trust-section {
    padding: 100px 0;
}

.trust-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

.trust-badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(197, 168, 128, 0.05);
    border: 1px solid var(--border-gold);
    color: var(--gold-metallic);
    border-radius: 4px;
    font-size: var(--fs-small);
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: var(--tracking-wide);
}

.trust-content h2 {
    font-size: var(--fs-h2);
    line-height: var(--lh-heading);
    letter-spacing: var(--tracking-tight);
    margin-bottom: 20px;
}

.trust-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

.trust-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.trust-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.trust-feature-item svg {
    flex-shrink: 0;
    margin-top: 4px;
}

.trust-feature-item span {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.btn-inline-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Elegant Wireframe Mockup */
.trust-visual {
    display: flex;
    justify-content: center;
}

.wireframe-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    width: 100%;
    max-width: 450px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.wireframe-header {
    background-color: rgba(255, 255, 255, 0.02);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    gap: 8px;
}

.wireframe-header .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--text-dark);
}

.wireframe-header .title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-right: auto;
    letter-spacing: 0.1em;
}

.wireframe-body {
    padding: 32px 24px;
}

.metric-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.metric {
    background-color: rgba(255,255,255,0.01);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
}

.metric .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.metric .value {
    font-size: 1.1rem;
    font-weight: 700;
}

.metric .value.active {
    color: #10B981;
}

.metric .value.gold {
    color: var(--gold-metallic);
}

.chart-mock {
    height: 120px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.bar-mock {
    flex: 1;
    background-color: rgba(197, 168, 128, 0.08);
    border: 1px solid var(--border-gold);
    border-radius: 3px 3px 0 0;
    transition: var(--transition-smooth);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-indicator .pulse {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    position: relative;
}

.status-indicator .pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #10B981;
    border-radius: 50%;
    animation: statusPulse 2s infinite ease-out;
}

.status-indicator .text {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@keyframes statusPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}

/* FAQ Accordion Section */
.faq-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--bg-matte-black);
    overflow: hidden;
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition-smooth);
}

.faq-question:hover {
    color: var(--gold-metallic);
}

.faq-question .faq-icon {
    font-size: 1.25rem;
    color: var(--gold-metallic);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    background-color: rgba(255, 255, 255, 0.01);
    opacity: 0;
}

.faq-answer p {
    padding: 0 24px 24px 24px;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 300px; /* Large enough default for smooth expansion */
    opacity: 1;
}

.faq-item.active .faq-question .faq-icon {
    transform: rotate(45deg);
}

/* Risk Disclosure Section */
.risk-section {
    padding: 60px 0;
}

.risk-box {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(255,255,255,0.01);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 8px;
}

.risk-box h3 {
    font-size: var(--fs-h3);
    line-height: var(--lh-heading);
    color: var(--text-primary);
    margin-bottom: 16px;
}

.risk-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Final Ultimate CTA Section */
.final-cta-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.final-cta-card {
    background-color: var(--bg-matte-black);
    border: 1px solid var(--border-gold);
    padding: 60px 24px;
    border-radius: 12px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(197, 168, 128, 0.03); /* Softened deep volumetric shadow */
}

.cta-badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(197, 168, 128, 0.05);
    border: 1px solid var(--border-gold);
    color: var(--gold-metallic);
    border-radius: 4px;
    font-size: var(--fs-small);
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: var(--tracking-wide);
}

.final-cta-card h2 {
    font-size: var(--fs-h2);
    line-height: var(--lh-heading);
    letter-spacing: var(--tracking-tight);
    margin-bottom: 16px;
}

.final-cta-card p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    justify-content: center;
}

/* Footer Section */
.main-footer {
    background-color: var(--bg-matte-black);
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 40px; /* Better vertical separation */
    align-items: center;
    text-align: center;
}

.footer-brand .logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: inline-block;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--gold-metallic);
}

.footer-copy p {
    font-size: 0.8rem;
    color: #828A94; /* Increased brightness from var(--text-dark) (#4B5563) to achieve WCAG AA contrast (4.5:1) while preserving premium dark look */
}

/* ====================================================================
   RESPONSIVE OVERRIDES - TABLET & DESKTOP FIRST
   ==================================================================== */

@media (min-width: 768px) {
    /* Main Grid & Container Adjustments */
    .container {
        padding: 0 40px;
    }

    .brand-logo-img {
        height: 26px; /* 26px desktop height */
    }

    .header-container {
        padding: 0 48px; /* 48px desktop horizontal padding */
    }

    /* Typo Escalation governed by V1 System */
    .hero-title {
        font-size: var(--fs-hero);
    }

    .section-title {
        font-size: var(--fs-h2);
    }

    /* Hero */
    .hero-subtitle {
        font-size: var(--fs-body-lg);
    }

    .hero-actions {
        flex-direction: row;
        max-width: 500px;
    }

    /* Grid Layouts */
    .values-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .steps-flow {
        flex-direction: row;
    }

    .step-card {
        flex: 1;
    }

    .trust-container {
        grid-template-columns: 1.2fr 1fr;
    }

    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        text-align: right;
    }

    .footer-links {
        order: 2;
    }

    .footer-brand {
        order: 1;
        max-width: 300px;
    }

    .footer-copy {
        order: 3;
    }
}

@media (min-width: 1025px) {
    /* Header Menu reveal */
    .mobile-menu-toggle {
        display: none;
    }

    .main-nav {
        display: flex;
    }

    .header-cta {
        display: block;
    }

    /* Grid Layout Escalation */
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Custom Header Login and Footer Links Refinements */
.btn-header-login {
    font-size: 0.85rem !important;
    padding: 8px 16px !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

.btn-header-login:hover {
    border-color: var(--gold-metallic) !important;
    background-color: rgba(197, 168, 128, 0.05) !important;
}

.footer-login-link {
    color: var(--gold-metallic) !important;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-login-link:hover {
    color: var(--text-primary) !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

/* Minimal Nav Login Text Link Override */
.minimal-nav-login {
    color: var(--text-muted) !important;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    padding: 8px 12px;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.minimal-nav-login:hover {
    color: var(--gold-metallic) !important;
    border-bottom-color: var(--border-gold);
}

/* Legal Pages Visual Framework */
.legal-page {
    background-color: var(--bg-matte-black);
    color: var(--text-primary);
    line-height: 1.8;
}

.legal-content-section {
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 70vh;
}

.legal-box-full {
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    padding: 50px 30px;
    border-radius: 12px;
    max-width: 820px; /* Comfortable reading width */
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.legal-badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(197, 168, 128, 0.05);
    border: 1px solid var(--border-gold);
    color: var(--gold-metallic);
    border-radius: 4px;
    font-size: var(--fs-small);
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: var(--tracking-wide);
}

.legal-box-full h1 {
    font-size: 2.25rem;
    margin-bottom: 12px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.last-updated {
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.legal-text-body h2 {
    font-size: 1.25rem;
    color: var(--gold-metallic);
    margin-top: 44px; /* Calmer H2 spacing */
    margin-bottom: 14px;
    font-weight: 600;
}

.legal-text-body p {
    font-size: 0.96rem;
    color: var(--text-muted);
    margin-bottom: 22px; /* Better paragraph spacing */
    line-height: 1.85; /* Comfortable reading height */
    text-align: left; /* Premium LTR readability clarity */
}

.legal-actions {
    margin-top: 50px;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
}

@media (min-width: 768px) {
    .legal-box-full {
        padding: 60px 50px;
    }
}

/* ====================================================================
   LUXURY POLISH SPRINT (PHASE 2.6C)
   Soft Scroll Fade-In & Motion Governance
   ==================================================================== */

.reveal-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
                transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal-section.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Motion Governance - Respect user accessibility preferences */
@media (prefers-reduced-motion: reduce) {
    .reveal-section {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    .faq-answer {
        transition: none !important;
        max-height: none !important;
        opacity: 1 !important;
    }
    
    .faq-question .faq-icon {
        transition: none !important;
    }
    
    .bar-mock {
        transition: none !important;
    }
}

/* Scoped Step Card mobile overrides to prevent text overlap */
@media (max-width: 767px) {
    .step-card h3 {
        padding-right: 82px; /* Subtle responsive text safety spacing */
    }

    .step-number {
        font-size: 2.4rem;
        top: 28px;
        right: 24px;
        opacity: 0.055; /* Quiet and restrained mobile backdrop */
    }
}

/* Premium 3-column closing grid system for desktop/tablet footer */
@media (min-width: 768px) {
    .footer-container {
        display: grid;
        grid-template-columns: 1.2fr 1fr 1.4fr;
        align-items: start;
        gap: 72px;
        text-align: left;
    }

    .footer-brand {
        text-align: left;
        max-width: 340px;
    }

    .footer-brand p {
        margin-bottom: 0;
    }

    .footer-links {
        display: flex;
        gap: 32px;
        justify-content: center;
        justify-self: center;
    }

    .footer-copy {
        text-align: right;
        max-width: 420px;
        justify-self: end;
    }
}
