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

:root {
    --bg-primary: #060b18;
    --bg-secondary: #0c1222;
    --bg-card: rgba(15, 23, 42, 0.6);
    --bg-card-solid: #111827;
    --bg-card-hover: #1a2744;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent: #3b82f6;
    --accent-hover: #60a5fa;
    --accent-glow: rgba(59, 130, 246, 0.12);
    --accent-glow-strong: rgba(59, 130, 246, 0.25);
    --gradient: linear-gradient(135deg, #1e40af, #3b82f6, #60a5fa);
    --gradient-subtle: linear-gradient(135deg, rgba(30, 64, 175, 0.15), rgba(59, 130, 246, 0.08));
    --border: rgba(148, 163, 184, 0.08);
    --border-light: rgba(148, 163, 184, 0.15);
    --radius: 16px;
    --radius-sm: 10px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

/* ─── Navbar ─── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 14px 0;
    background: rgba(6, 11, 24, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-logo-img,
.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

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

.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 0 40px var(--accent-glow-strong), 0 4px 16px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

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

.btn-sm { padding: 8px 18px; font-size: 0.84rem; }
.btn-lg { padding: 14px 30px; font-size: 0.95rem; }
.btn-block { width: 100%; }

/* ─── Hero ─── */
.hero {
    padding: 160px 0 100px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-glow);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-hover);
    margin-bottom: 28px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 22px;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero-subtitle {
    font-size: 1.12rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-trust {
    display: flex;
    gap: 24px;
    margin-top: 8px;
}

.hero-trust span {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.01em;
    position: relative;
    padding-left: 14px;
}

.hero-trust span::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #34d399;
    font-weight: 700;
    font-size: 0.72rem;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-window {
    width: 100%;
    max-width: 560px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.5),
        0 0 60px var(--accent-glow);
}

.hero-screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
}

/* ─── Value Props ─── */
.value-props {
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.value-props-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-prop {
    text-align: center;
    padding: 40px 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.value-prop:hover {
    border-color: rgba(59, 130, 246, 0.2);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2), 0 0 32px var(--accent-glow);
}

.value-prop-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 14px;
    margin: 0 auto 18px;
    color: var(--accent-hover);
}

.value-prop h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.value-prop p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* ─── Section Header ─── */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.08rem;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ─── Features ─── */
.features {
    padding: 120px 0;
    position: relative;
}

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

.feature-card {
    padding: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.feature-card:hover {
    border-color: rgba(59, 130, 246, 0.2);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 0 40px var(--accent-glow);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 14px;
    margin-bottom: 22px;
    color: var(--accent-hover);
}

.feature-card h3 {
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ─── Comparison ─── */
.comparison {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

.comparison::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.comparison-table-wrap {
    border-radius: var(--radius);
    border: 2px solid rgba(148, 163, 184, 0.2);
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 20px 28px;
    text-align: left;
    font-size: 0.88rem;
    vertical-align: top;
}

.comparison-table thead th {
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    background: #0a0f1e;
    border-bottom: 2px solid rgba(148, 163, 184, 0.15);
    padding: 22px 28px;
}

.comparison-table thead th.col-hero {
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.12);
}

.comparison-table tbody tr {
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.comparison-table td.row-label {
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    width: 180px;
    font-size: 0.9rem;
}

.comparison-table td {
    color: var(--text-secondary);
    line-height: 1.55;
}

.comparison-table td.col-hero {
    color: var(--text-primary);
    font-weight: 500;
    background: rgba(59, 130, 246, 0.08);
    border-left: 2px solid rgba(59, 130, 246, 0.25);
    border-right: 2px solid rgba(59, 130, 246, 0.25);
}

.comparison-table thead th.col-hero {
    border-left: 2px solid rgba(59, 130, 246, 0.25);
    border-right: 2px solid rgba(59, 130, 246, 0.25);
}

.check { color: #34d399; font-weight: 700; margin-right: 8px; font-size: 1rem; }
.cross { color: #f87171; font-weight: 700; margin-right: 8px; font-size: 1rem; }
.meh { color: #fbbf24; font-weight: 700; margin-right: 8px; font-size: 1rem; }

/* ─── How It Works ─── */
.how-it-works {
    padding: 120px 0;
}

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

.step {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: all 0.3s ease;
}

.step:hover {
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.step-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: var(--accent-glow);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    font-weight: 800;
    color: var(--accent-hover);
    font-size: 1.05rem;
}

.step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.step p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* ─── FAQ ─── */
.faq {
    padding: 100px 0 120px;
    background: var(--bg-secondary);
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
    padding-top: 0;
}

.faq-item h3 {
    font-size: 1.02rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.faq-item a {
    color: var(--accent-hover);
    text-decoration: none;
}

.faq-item a:hover {
    text-decoration: underline;
}

/* ─── CTA ─── */
.cta-section {
    padding: 120px 0;
}

.cta-card {
    text-align: center;
    padding: 80px 48px;
    border-radius: 24px;
    border: 1px solid var(--border-light);
    background: var(--bg-card);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.12), transparent 70%);
    pointer-events: none;
}

.cta-card h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.03em;
    position: relative;
}

.cta-card p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 1.05rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    position: relative;
}

.cta-card .btn {
    position: relative;
}

/* ─── Pricing ─── */
.pricing-hero {
    padding: 160px 0 80px;
}

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

.pricing-card {
    display: flex;
    flex-direction: column;
    padding: 44px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 48px var(--accent-glow), 0 16px 48px rgba(0, 0, 0, 0.2);
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.06), var(--bg-card-solid));
}

.pricing-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 16px;
    background: var(--accent);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pricing-tier {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pricing-price { margin-bottom: 8px; }

.pricing-annual {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pricing-annual strong {
    color: var(--text-primary);
    font-weight: 700;
}

.pricing-save {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--accent-glow);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.pricing-annual-muted {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.price-amount {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.price-period {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.pricing-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 28px;
    line-height: 1.6;
}

.pricing-features {
    list-style: none;
    margin-bottom: 36px;
    flex: 1 0 auto;
}

/* keep every CTA on the same baseline regardless of feature count */
.pricing-card .btn-block {
    margin-top: auto;
}

.pricing-features li {
    padding: 10px 0 10px 20px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    position: relative;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.8rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.pricing-note {
    max-width: 720px;
    margin: 40px auto 0;
    text-align: center;
    font-size: 0.82rem;
    line-height: 1.7;
    color: var(--text-secondary);
    opacity: 0.8;
}

/* ─── Demo ─── */
.demo-section {
    padding: 160px 0 80px;
}

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

.demo-info h1 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: -0.03em;
}

.demo-info > p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 44px;
    line-height: 1.7;
}

.demo-benefits {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.demo-benefit {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.benefit-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 12px;
}

.demo-benefit h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.demo-benefit p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

.demo-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 44px;
    backdrop-filter: blur(12px);
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.2);
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

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

.form-group select {
    appearance: none;
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-tagline {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.6;
}

.footer-company {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
}

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

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.78rem;
}

/* ─── Responsive ─── */
@media (max-width: 960px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    .features-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border);
        padding: 24px 32px;
        gap: 20px;
    }
    .mobile-menu-btn { display: flex; }

    .hero { padding: 130px 0 60px; }
    .hero h1 { font-size: 2.2rem; }
    .hero-cta { flex-direction: column; }

    .value-props-grid { grid-template-columns: 1fr; gap: 20px; }
    .comparison-table-wrap { overflow-x: auto; }
    .comparison-table { min-width: 700px; }
    .steps { grid-template-columns: 1fr; gap: 20px; }
    .pricing-grid { grid-template-columns: 1fr; }
    .section-header h2 { font-size: 2rem; }

    .comparison-table th,
    .comparison-table td { padding: 14px 16px; font-size: 0.82rem; }

    .footer-content { flex-direction: column; gap: 40px; }
    .footer-links { flex-wrap: wrap; gap: 36px; }
}

/* ─── Legal pages (privacy / terms / support) ─── */
.legal-page {
    padding: 140px 0 100px;
}

.legal-content {
    max-width: 780px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 0.94rem;
    line-height: 1.8;
}

.legal-content h1 {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.legal-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin: 52px 0 16px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.legal-content h3 {
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 32px 0 12px;
}

.legal-content p { margin-bottom: 18px; }

.legal-content ul,
.legal-content ol {
    margin: 0 0 18px 22px;
}

.legal-content li {
    margin-bottom: 10px;
    padding-left: 4px;
}

.legal-content a {
    color: var(--accent-hover);
    text-decoration: none;
    border-bottom: 1px solid rgba(96, 165, 250, 0.3);
}

.legal-content a:hover {
    border-bottom-color: var(--accent-hover);
}

.legal-content strong { color: var(--text-primary); font-weight: 600; }

.legal-content code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.85em;
    padding: 2px 6px;
    border-radius: 5px;
    background: rgba(148, 163, 184, 0.1);
    color: var(--text-primary);
}

.legal-content hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 40px 0;
}

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 24px;
    font-size: 0.88rem;
}

.legal-content th {
    text-align: left;
    padding: 12px 14px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-weight: 600;
    border-bottom: 1px solid var(--border-light);
}

.legal-content td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.legal-content em { color: var(--text-muted); }

@media (max-width: 768px) {
    .legal-page { padding: 110px 0 70px; }
    .legal-content h1 { font-size: 1.9rem; }
    .legal-content table { display: block; overflow-x: auto; }
}
