/* ============================================
   NexuFrame — Redesigned Styles
   Dark navy premium aesthetic. Open Design.
   ============================================ */

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

:root {
    /* Surface */
    --bg: #0a0f1e;
    --bg-card: #111827;
    --bg-elevated: #1a2332;

    /* Text */
    --text: #ffffff;
    --text-secondary: #f8fafc;
    --muted: #6b7280;

    /* Accent */
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --accent-muted: rgba(59, 130, 246, 0.1);

    /* Border */
    --border: #253040;
    --border-light: #374151;
    --border-hover: #3b82f6;

    /* Semantic */
    --success-bg: rgba(16, 185, 129, 0.1);
    --success-border: rgba(16, 185, 129, 0.3);
    --success-text: #10b981;
    --danger: #ef4444;

    /* Type */
    --font: 'Geist Sans', 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'Geist Mono', 'JetBrains Mono', ui-monospace, monospace;

    /* Radius */
    --radius: 8px;
    --radius-lg: 12px;

    /* Shadow */
    --shadow-border: 0px 0px 0px 1px rgba(0, 0, 0, 0.08);
    --shadow-card: 0px 0px 0px 1px var(--border), 0 4px 24px rgba(0, 0, 0, 0.2);
    --shadow-card-hover: 0px 0px 0px 1px var(--accent), 0 8px 32px rgba(0, 0, 0, 0.3);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 32px;
}

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

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Skip Link
   ============================================ */
.skip-link {
    position: absolute;
    top: -48px;
    left: 16px;
    background: var(--accent);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 0 0 var(--radius) var(--radius);
    z-index: 10000;
    font-size: 0.875rem;
    font-weight: 500;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* ============================================
   Focus Visible
   ============================================ */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 15, 30, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.nav.scrolled {
    border-bottom-color: var(--border);
}

.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo img {
    height: 28px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.2s ease;
    letter-spacing: 0.01em;
}

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

.nav-cta {
    background: var(--accent) !important;
    color: #ffffff !important;
    padding: 8px 20px !important;
    border-radius: var(--radius);
    font-weight: 600 !important;
    transition: background 0.2s ease, transform 0.15s ease !important;
}

.nav-cta:hover {
    background: var(--accent-hover) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    transition: all 0.25s ease;
}

.nav-toggle.active span:first-child {
    transform: rotate(45deg) translate(2.5px, 2.5px);
}

.nav-toggle.active span:last-child {
    transform: rotate(-45deg) translate(2.5px, -2.5px);
}

/* ============================================
   Hero
   ============================================ */
.hero {
    padding: 140px 0 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-label {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin-bottom: 28px;
    color: var(--text);
    text-wrap: balance;
}

.hero-body {
    font-size: 1.125rem;
    color: var(--muted);
    line-height: 1.65;
    max-width: 480px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 64px;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--accent);
    color: #ffffff;
    font-family: var(--font);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.25);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 12px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-ghost:hover {
    color: var(--text);
    border-color: var(--muted);
    background: rgba(255, 255, 255, 0.04);
}

.btn-full {
    width: 100%;
}

.btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Hero Metrics */
.hero-metrics {
    display: flex;
    align-items: center;
    gap: 32px;
}

.metric-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.02em;
}

.metric-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--muted);
    margin-top: 2px;
}

.metric-sep {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* Hero Visual — abstract geometric shapes */
.hero-visual {
    position: relative;
    width: 100%;
    height: 480px;
}

.geo-shape {
    position: absolute;
    border: 1px solid var(--border);
}

.geo-1 {
    width: 320px;
    height: 320px;
    top: 40px;
    left: 20px;
    background: var(--bg-card);
    transform: rotate(6deg);
    box-shadow: var(--shadow-card);
}

.geo-2 {
    width: 200px;
    height: 200px;
    bottom: 40px;
    right: 0;
    background: var(--accent);
    opacity: 0.08;
    transform: rotate(-12deg);
    box-shadow: 0px 0px 0px 1px var(--border);
}

.geo-3 {
    width: 120px;
    height: 120px;
    top: 20px;
    right: 40px;
    background: var(--bg-elevated);
    transform: rotate(20deg);
    box-shadow: 0px 0px 0px 1px var(--border);
}

/* ============================================
   Logo Strip
   ============================================ */
.logos-strip {
    padding: 64px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.logos-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
    text-align: center;
    margin-bottom: 32px;
}

.logos-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.logo-placeholder {
    width: 120px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--muted);
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-border);
}

/* ============================================
   Section Label
   ============================================ */
.section-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 20px;
}

/* ============================================
   Services
   ============================================ */
.services {
    padding: 120px 0;
}

.services-header {
    max-width: 640px;
    margin-bottom: 80px;
}

.services-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--text);
    text-wrap: balance;
}

.services-list {
    border-top: 1px solid var(--border);
}

.service-row {
    display: grid;
    grid-template-columns: 80px 1fr 48px;
    gap: 40px;
    align-items: start;
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s ease, padding 0.2s ease, margin 0.2s ease;
}

.service-row:hover {
    background: var(--bg-card);
    margin: 0 -32px;
    padding-left: 32px;
    padding-right: 32px;
}

.service-num {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--accent);
    padding-top: 6px;
    letter-spacing: 0.04em;
}

.service-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.015em;
}

.service-body p {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.65;
    max-width: 560px;
}

.service-price {
    display: inline-block;
    margin-top: 16px;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    padding: 4px 12px;
    border-radius: 9999px;
    letter-spacing: 0.02em;
}

.service-arrow {
    padding-top: 6px;
    text-align: right;
}

.service-arrow a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--muted);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.2s ease;
    font-size: 1rem;
}

.service-arrow a:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-muted);
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials {
    padding: 120px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--shadow-border);
}

.testimonial:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
}

.testimonial p {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
}

.testimonial span {
    font-size: 0.8125rem;
    color: var(--muted);
}

/* ============================================
   Industries
   ============================================ */
.industries {
    padding: 120px 0;
}

.industries-heading {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 64px;
    max-width: 560px;
    text-wrap: balance;
}

.industries-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.industry-row {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--shadow-border);
}

.industry-row:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
}

.industry-row--tint {
    /* No special tint in dark theme — cards are self-contained */
}

.industry-name {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
    color: var(--text);
}

.industry-desc {
    font-size: 0.9375rem;
    color: var(--muted);
    line-height: 1.65;
    max-width: 560px;
}

/* ============================================
   Process (How It Works)
   ============================================ */
.process {
    padding: 120px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.process .section-label {
    color: var(--accent);
}

.process-header {
    margin-bottom: 80px;
}

.process-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: start;
}

.step {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--shadow-border);
}

.step:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-card-hover);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--accent);
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 50%;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.015em;
}

.step p {
    font-size: 0.9375rem;
    color: var(--muted);
    line-height: 1.65;
}

.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    padding-top: 48px;
    color: var(--border-light);
    font-size: 1.25rem;
}

.step-connector::before {
    content: '→';
    display: block;
}

/* ============================================
   About
   ============================================ */
.about {
    padding: 120px 0;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 80px;
    align-items: start;
}

.about-text h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.025em;
    margin-bottom: 32px;
    text-wrap: balance;
}

.about-text p {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 8px;
}

.about-stat {
    border-left: 2px solid var(--accent);
    padding-left: 20px;
}

.about-stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 4px;
    color: var(--text);
}

.about-stat-label {
    font-size: 0.875rem;
    color: var(--muted);
}

/* ============================================
   Contact
   ============================================ */
.contact {
    padding: 120px 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.025em;
    margin-bottom: 24px;
    text-wrap: balance;
}

.contact-email {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.contact-email a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: rgba(59, 130, 246, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s ease;
}

.contact-email a:hover {
    text-decoration-color: var(--accent);
}

.contact-note {
    font-size: 0.9375rem;
    color: var(--muted);
    line-height: 1.65;
}

/* Form */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
    color: var(--muted);
}

.optional {
    color: var(--muted);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    font-family: var(--font);
}

.form-group input,
.form-group textarea {
    width: 100%;
    font-family: var(--font);
    font-size: 0.9375rem;
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    background: var(--bg);
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted);
    opacity: 0.6;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.form-group input.error,
.form-group textarea.error {
    border-color: var(--danger);
}

.form-success {
    display: none;
    margin-top: 20px;
    padding: 16px;
    background: var(--success-bg);
    border: 1px solid var(--success-border);
    color: var(--success-text);
    font-size: 0.9375rem;
    border-radius: var(--radius);
}

.form-success.active {
    display: block;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo img {
    height: 24px;
    width: auto;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 0.8125rem;
    color: var(--muted);
    transition: color 0.2s ease;
}

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

.footer-copy {
    font-size: 0.8125rem;
    color: var(--muted);
}

/* ============================================
   Scroll Animations
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ============================================
   Responsive — Tablet
   ============================================ */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-visual {
        display: none;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-stats {
        flex-direction: row;
        gap: 48px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .step-connector {
        width: 1px;
        height: 40px;
        margin: 0 auto;
        padding-top: 0;
    }

    .step-connector::before {
        content: '↓';
    }

    .step {
        padding: 32px;
    }

    .industries-list {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Responsive — Mobile
   ============================================ */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 15, 30, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 32px;
        gap: 0;
        border-top: 1px solid var(--border);
    }

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

    .nav-links a {
        font-size: 1rem;
        padding: 16px 0;
        width: 100%;
        border-bottom: 1px solid var(--border);
    }

    .nav-cta {
        margin-top: 16px;
        text-align: center;
        border-bottom: none !important;
        display: inline-flex !important;
        width: auto !important;
        justify-content: center;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 120px 0 80px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-metrics {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .metric-sep {
        display: none;
    }

    .services {
        padding: 96px 0;
    }

    .services-header {
        margin-bottom: 48px;
    }

    .service-row {
        grid-template-columns: 48px 1fr 36px;
        gap: 16px;
        padding: 32px 0;
    }

    .service-row:hover {
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .testimonials {
        padding: 96px 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial {
        padding: 24px;
    }

    .industries {
        padding: 96px 0;
    }

    .industries-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .industry-row {
        padding: 24px;
    }

    .industry-row--tint {
        /* No special treatment needed in dark theme */
    }

    .process {
        padding: 96px 0;
    }

    .step-connector {
        padding-top: 0;
    }

    .step {
        padding: 24px;
    }

    .about {
        padding: 96px 0;
    }

    .about-stats {
        flex-direction: column;
        gap: 24px;
    }

    .contact {
        padding: 96px 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

/* ============================================
   Legal Pages (Privacy Policy / Terms of Service)
   ============================================ */
.legal-page {
    padding: 120px 0 80px;
}

.legal-back {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 32px;
    transition: color 0.2s ease;
}

.legal-back:hover {
    color: var(--accent-hover);
}

.legal-page h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: var(--text);
}

.legal-meta {
    font-size: 0.9375rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.legal-page h2 {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-top: 48px;
    margin-bottom: 16px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.legal-page h2:first-of-type {
    border-top: none;
    padding-top: 0;
}

.legal-page h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text);
    margin-top: 28px;
    margin-bottom: 12px;
}

.legal-page p {
    color: #d1d5db;
    line-height: 1.75;
    margin-bottom: 16px;
}

.legal-page a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-page a:hover {
    color: var(--accent-hover);
}

.legal-page ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-page ul li {
    color: #d1d5db;
    line-height: 1.75;
    margin-bottom: 8px;
}

.legal-disclaimer {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--muted) !important;
    font-size: 0.8125rem;
}

@media (max-width: 768px) {
    .legal-page {
        padding: 100px 0 60px;
    }

    .legal-page h2 {
        margin-top: 36px;
    }
}

/* ============================================
   Responsive — Small Mobile
   ============================================ */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-body {
        font-size: 1rem;
    }

    .service-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .service-num {
        padding-top: 0;
    }

    .service-arrow {
        text-align: left;
    }
}

/* ============================================
   Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .fade-in {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
