/* ===== CSS Variables ===== */
:root {
    /* Core colours - clean ink/paper aesthetic */
    --ink: #0a0a0a;
    --paper: #fafaf9;
    --accent: #0066ff;
    --accent-hover: #0052cc;
    --muted: #737373;
    --border: #e5e5e5;
    --success: #16a34a;

    /* Legacy mappings for compatibility */
    --sumlo-primary: var(--ink);
    --sumlo-primary-dark: #262626;
    --sumlo-primary-light: #404040;
    --sumlo-primary-50: #fafafa;
    --sumlo-primary-100: #f5f5f5;
    --sumlo-secondary: var(--ink);
    --sumlo-accent: var(--accent);
    --sumlo-accent-light: #3385ff;

    /* Status colours */
    --sumlo-success: var(--success);
    --sumlo-warning: #f59e0b;
    --sumlo-danger: #dc2626;

    /* Grays - neutral stone palette */
    --sumlo-gray-50: #fafaf9;
    --sumlo-gray-100: #f5f5f4;
    --sumlo-gray-200: #e5e5e5;
    --sumlo-gray-300: #d4d4d4;
    --sumlo-gray-400: #a3a3a3;
    --sumlo-gray-500: #737373;
    --sumlo-gray-600: #525252;
    --sumlo-gray-700: #404040;
    --sumlo-gray-800: #262626;
    --sumlo-gray-900: #0a0a0a;

    /* Typography */
    --sumlo-font: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --sumlo-font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing & Borders */
    --sumlo-radius: 0.5rem;
    --sumlo-radius-lg: 0.75rem;
    --sumlo-radius-xl: 1rem;

    /* Shadows - subtle and refined */
    --sumlo-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.04);
    --sumlo-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.06);
    --sumlo-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.06);
    --sumlo-shadow-lg: 0 8px 24px rgba(0,0,0,0.08), 0 24px 48px rgba(0,0,0,0.04);
    --sumlo-shadow-xl: 0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.08), 0 24px 48px rgba(0,0,0,0.04);
}

/* ===== Base ===== */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--sumlo-font);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    padding-top: 80px; /* Account for fixed header */
    -webkit-font-smoothing: antialiased;
}

/* Container - matches Bootstrap but ensures consistency */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Grid helpers */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.75rem;
}

.row > [class*="col-"] {
    padding: 0 0.75rem;
    margin-bottom: 1.5rem;
}

/* Bootstrap-like columns */
.col-md-6 { flex: 0 0 50%; max-width: 50%; }
.col-lg-3 { flex: 0 0 25%; max-width: 25%; }
.col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }

@media (max-width: 991px) {
    .col-lg-3, .col-lg-4, .col-lg-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.justify-content-center {
    justify-content: center;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--sumlo-gray-900);
    line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--sumlo-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--sumlo-primary-dark);
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(250, 250, 249, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    padding: 1rem 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.header .logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.header .logo span {
    color: var(--accent);
}

.header .nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header .nav-links a {
    color: var(--muted);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
    text-decoration: none;
}

.header .nav-links a:hover,
.header .nav-links a.active {
    color: var(--ink);
}

.header .nav-cta .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
}

/* Mobile nav toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--sumlo-gray-700);
}

.mobile-nav-toggle svg {
    width: 24px;
    height: 24px;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--sumlo-gray-200);
    padding: 1rem;
    z-index: 999;
    box-shadow: var(--sumlo-shadow-lg);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-links li {
    margin-bottom: 0.5rem;
}

.mobile-nav-links a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--sumlo-gray-700);
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--sumlo-radius);
    transition: background 0.2s ease;
}

.mobile-nav-links a:hover {
    background: var(--sumlo-gray-100);
    color: var(--sumlo-primary);
}

/* ===== User Menu & Auth UI ===== */
.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-name {
    font-weight: 500;
    color: var(--sumlo-gray-700);
    font-size: 0.95rem;
}

.user-name-link {
    font-weight: 500;
    color: var(--sumlo-gray-700);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s;
}

.user-name-link:hover {
    color: var(--sumlo-primary);
}

.trial-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    white-space: nowrap;
}

.trial-badge .icon-sm {
    width: 14px;
    height: 14px;
}

.icon-sm {
    width: 16px;
    height: 16px;
}

/* Mobile user info in nav */
.mobile-user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--sumlo-gray-50);
    border-radius: var(--sumlo-radius);
}

.mobile-user-info .user-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--sumlo-gray-900);
    text-decoration: none;
}

.mobile-user-info .user-name:hover {
    color: var(--sumlo-primary);
}

.mobile-user-info .trial-badge {
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: block;
    }

    .header .nav-links,
    .header .nav-cta {
        display: none;
    }
}

/* ===== Hero ===== */
.hero {
    padding: 10rem 0 6rem;
    background: linear-gradient(180deg, #f0f4ff 0%, var(--paper) 100%);
}

.hero-content {
    max-width: 720px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    color: var(--ink);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--muted);
    max-width: 560px;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.hero-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-cta .btn svg {
    width: 20px;
    height: 20px;
}

.hero-cta-note {
    font-size: 0.875rem;
    color: var(--muted);
}

.hero-image {
    margin-top: 5rem;
}

.hero-image img {
    max-width: 100%;
    border-radius: var(--sumlo-radius-xl);
    box-shadow: var(--sumlo-shadow-xl);
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@media (max-width: 768px) {
    .hero {
        padding: 7.5rem 0 4rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===== Sections ===== */
.section {
    padding: 5rem 0;
}

.section-gray {
    background: var(--sumlo-gray-50);
}

.section-dark {
    background: var(--sumlo-gray-900);
    color: #fff;
}

.section-dark h2,
.section-dark h3 {
    color: #fff;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--sumlo-gray-500);
    font-size: 1.1rem;
}

/* ===== Features ===== */
.features-section {
    padding: 6rem 0;
}

.features-section .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--sumlo-radius-lg);
    border: 1px solid var(--border);
    transition: all 0.2s ease;
    height: 100%;
    text-align: center;
}

.feature-card:hover {
    border-color: var(--ink);
    box-shadow: var(--sumlo-shadow-lg);
    transform: translateY(-2px);
}

.feature-card .feature-icon {
    width: 48px;
    height: 48px;
    background: var(--ink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: #fff;
}

.feature-card .feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--ink);
}

.feature-card p {
    color: var(--muted);
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ===== Pricing ===== */
.pricing-section {
    padding: 6rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

.pricing-card {
    background: #fff;
    border-radius: var(--sumlo-radius-lg);
    padding: 2rem;
    border: 1px solid var(--border);
    text-align: left;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--ink);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.pricing-card.featured::before {
    content: 'Most popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ink);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ink);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    white-space: nowrap;
}

.pricing-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--ink);
}

.pricing-desc {
    color: var(--muted);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.pricing-tier {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.5rem;
}

.pricing-price {
    margin-bottom: 1.5rem;
}

.pricing-price .price,
.pricing-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -0.02em;
}

.pricing-price .frequency,
.pricing-period {
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--muted);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--ink);
}

.pricing-features li::before {
    content: '\2713';
    color: var(--success);
    font-weight: 600;
}

.pricing-features svg {
    width: 18px;
    height: 18px;
    color: var(--success);
    flex-shrink: 0;
}

.pricing-card .btn {
    width: 100%;
}

/* ===== FAQ ===== */
.faq-section {
    padding: 5rem 0;
    background: var(--sumlo-gray-50);
}

.faq-list {
    max-width: 100%;
}

.faq-item {
    border: 1px solid var(--sumlo-gray-200);
    border-radius: var(--sumlo-radius-lg);
    margin-bottom: 1rem;
    background: #fff;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--sumlo-gray-900);
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: var(--sumlo-gray-50);
}

.faq-question span {
    flex: 1;
    padding-right: 1rem;
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: var(--sumlo-gray-400);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--sumlo-primary);
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.25rem;
    color: var(--sumlo-gray-600);
    line-height: 1.7;
}

.faq-answer p {
    margin: 0;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ===== CTA Block ===== */
.cta-section {
    padding: 5rem 0;
}

.cta-block {
    background: linear-gradient(135deg, var(--sumlo-primary) 0%, var(--sumlo-primary-dark) 100%);
    border-radius: var(--sumlo-radius-xl);
    padding: 4rem 3rem;
    text-align: center;
    color: #fff;
}

.cta-block h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.cta-block p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-block .btn {
    background: #fff;
    color: var(--sumlo-primary);
    padding: 1rem 2rem;
    border-radius: var(--sumlo-radius);
    font-weight: 600;
    display: inline-block;
    transition: all 0.2s ease;
}

.cta-block .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--sumlo-shadow-lg);
    color: var(--sumlo-primary-dark);
}

/* ===== Testimonials ===== */
.testimonial-section {
    padding: 5rem 0;
    background: var(--sumlo-gray-50);
}

.testimonial {
    background: #fff;
    border-radius: var(--sumlo-radius-xl);
    padding: 2.5rem;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: var(--sumlo-shadow-md);
}

.testimonial-quote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--sumlo-gray-700);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    position: relative;
    padding-left: 1.5rem;
    border-left: 4px solid var(--sumlo-primary);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sumlo-primary) 0%, var(--sumlo-accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.testimonial-info strong {
    display: block;
    color: var(--sumlo-gray-900);
}

.testimonial-info span {
    color: var(--sumlo-gray-500);
    font-size: 0.9rem;
}

/* ===== Rich Text Block ===== */
.rich-text-section {
    padding: 4rem 0;
}

.rich-text-content {
    max-width: 700px;
    margin: 0 auto;
}

.rich-text-content h2 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
}

.rich-text-content h3 {
    font-size: 1.25rem;
    margin: 2rem 0 0.75rem;
}

.rich-text-content ul,
.rich-text-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.rich-text-content li {
    margin-bottom: 0.5rem;
}

.rich-text-content strong {
    color: var(--sumlo-gray-900);
}

/* ===== Content / Legal Pages ===== */
.content-body {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 0;
}

.content-body h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.content-body h2 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
}

.content-body h3 {
    font-size: 1.25rem;
    margin: 2rem 0 0.75rem;
}

.content-body ul,
.content-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.content-body li {
    margin-bottom: 0.5rem;
}

.content-body strong {
    color: var(--sumlo-gray-900);
}

/* ===== Footer ===== */
.site-footer {
    background: var(--sumlo-gray-900);
    color: var(--sumlo-gray-400);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .site-logo {
    color: #fff;
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.9rem;
    max-width: 280px;
}

.footer-heading {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--sumlo-gray-400);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid var(--sumlo-gray-800);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--sumlo-radius);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--ink);
    color: #fff;
}

.btn-primary:hover {
    background: #262626;
    color: #fff;
    transform: translateY(-1px);
}

.btn-secondary {
    background: white;
    color: var(--ink);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--ink);
}

.btn-outline,
.btn-outline-primary {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--ink);
}

.btn-outline:hover,
.btn-outline-primary:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ===== Utilities ===== */
.text-center { text-align: center; }
.text-muted { color: var(--sumlo-gray-500); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

/* ===== Page Hero (Sub-pages) ===== */
.page-hero {
    background: linear-gradient(180deg, #f0f4ff 0%, var(--paper) 100%);
    padding: 8rem 0 4rem;
    text-align: center;
}

.page-hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.page-hero p {
    font-size: 1.125rem;
    color: var(--muted);
    margin-bottom: 0;
}

/* ===== Legal Page ===== */
.legal-page {
    padding: 4rem 0;
    background: #fff;
}

.legal-content {
    max-width: 100%;
}

.legal-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--sumlo-gray-200);
}

.legal-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--sumlo-gray-900);
    margin-bottom: 0.5rem;
}

.legal-meta {
    color: var(--sumlo-gray-500);
    font-size: 0.9rem;
}

.legal-body {
    line-height: 1.8;
}

.legal-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    color: var(--sumlo-gray-900);
}

.legal-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
    color: var(--sumlo-gray-800);
}

.legal-body p {
    margin-bottom: 1.25rem;
    color: var(--sumlo-gray-700);
}

.legal-body ul,
.legal-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-body li {
    margin-bottom: 0.5rem;
}

.legal-body strong {
    color: var(--sumlo-gray-900);
}

.legal-body a {
    color: var(--sumlo-primary);
    text-decoration: underline;
}

.legal-body a:hover {
    color: var(--sumlo-primary-dark);
}

/* ===== Testimonial Card (Updated) ===== */
.testimonial-card {
    background: #fff;
    border-radius: var(--sumlo-radius-xl);
    padding: 3rem;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: var(--sumlo-shadow-lg);
    text-align: center;
}

.testimonial-card .quote-icon {
    width: 48px;
    height: 48px;
    color: var(--sumlo-primary);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-card blockquote {
    font-size: 1.35rem;
    font-style: italic;
    color: var(--sumlo-gray-700);
    line-height: 1.7;
    margin: 0 0 2rem;
    border: none;
    padding: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.author-avatar-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sumlo-primary) 0%, var(--sumlo-accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.author-info {
    text-align: left;
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--sumlo-gray-900);
}

.author-role {
    display: block;
    font-size: 0.9rem;
    color: var(--sumlo-gray-500);
}

/* ===== CTA Section (Full-width) ===== */
.cta-section {
    background: var(--ink);
    color: #fff;
    padding: 6rem 0;
    text-align: center;
}

.cta-content {
    max-width: 480px;
    margin: 0 auto;
}

.cta-section h2,
.cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-section p,
.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
}

.cta-section .btn-primary {
    background: #fff;
    color: var(--ink);
}

.cta-section .btn-primary:hover {
    background: #f5f5f5;
    color: var(--ink);
}

.btn-white {
    background: #fff;
    color: var(--ink);
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-white:hover {
    background: #f5f5f5;
    color: var(--ink);
    transform: translateY(-1px);
}

/* ===== Footer (Simple) ===== */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    background: var(--paper);
}

.footer-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-simple .logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--ink);
    text-decoration: none;
}

.footer-simple .logo span {
    color: var(--accent);
}

.footer-simple-links {
    display: flex;
    gap: 2rem;
}

.footer-simple-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-simple-links a:hover {
    color: var(--ink);
}

.footer-simple small {
    color: var(--muted);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .footer-simple {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* Legacy footer (4-column) */
.footer-legacy {
    background: var(--ink);
    color: #a3a3a3;
    padding: 4rem 0 2rem;
}

.footer-legacy .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.footer-logo span {
    color: var(--accent);
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #262626;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a3a3a3;
    transition: all 0.2s ease;
}

.social-links a:hover {
    background: var(--accent);
    color: #fff;
}

.social-links svg {
    width: 18px;
    height: 18px;
}

.footer-legacy .footer-links h4 {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.footer-legacy .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-legacy .footer-links li {
    margin-bottom: 0.75rem;
}

.footer-legacy .footer-links a {
    color: #a3a3a3;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legacy .footer-links a:hover {
    color: #fff;
}

.footer-legacy .footer-bottom {
    border-top: 1px solid #262626;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
}

.footer-legacy .footer-bottom p {
    margin: 0;
}

@media (max-width: 991px) {
    .footer-legacy .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 2;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .footer-legacy .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .page-hero h1 {
        font-size: 2rem;
    }
}

/* ===== Landing Page: Demo Visual ===== */
.demo-visual {
    margin-top: 5rem;
    position: relative;
}

.demo-window {
    background: #fff;
    border-radius: var(--sumlo-radius-lg);
    box-shadow: var(--sumlo-shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border);
}

.demo-header {
    padding: 0.75rem 1rem;
    background: #f5f5f5;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 0.5rem;
}

.demo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
}

.demo-content {
    padding: 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

@media (max-width: 768px) {
    .demo-content {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
}

.demo-input, .demo-output {
    padding: 1.5rem;
    border-radius: var(--sumlo-radius);
}

.demo-input {
    background: #f9fafb;
    border: 1px dashed var(--border);
}

.demo-output {
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.demo-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin-bottom: 1rem;
}

.demo-arrow {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    z-index: 10;
}

@media (max-width: 768px) {
    .demo-arrow {
        display: none;
    }
}

.toggl-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
}

.toggl-row:last-child {
    border-bottom: none;
}

.toggl-time {
    font-family: var(--sumlo-font-mono);
    color: var(--muted);
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--ink);
}

.report-title {
    font-weight: 700;
    font-size: 1rem;
}

.report-date {
    font-size: 0.75rem;
    color: var(--muted);
}

.report-logo {
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--accent);
}

.report-line {
    display: flex;
    justify-content: space-between;
    padding: 0.375rem 0;
    font-size: 0.8125rem;
}

.report-total {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    font-weight: 600;
}

/* ===== Landing Page: Problem/Solution ===== */
.problem-section {
    padding: 6rem 0;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

@media (max-width: 768px) {
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.problem-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.problem-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 1rem;
    align-items: start;
}

.problem-list li:last-child {
    border-bottom: none;
}

.problem-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.875rem;
    font-weight: 600;
}

.icon-bad {
    background: #fef2f2;
    color: #dc2626;
}

.icon-good {
    background: #f0fdf4;
    color: var(--success);
}

/* ===== Landing Page: How It Works ===== */
.how-it-works {
    padding: 6rem 0;
    background: #f9fafb;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

.step {
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--ink);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.step p {
    color: var(--muted);
    font-size: 0.9375rem;
}

/* ===== Landing Page: Testimonials Grid ===== */
.testimonials-section {
    padding: 6rem 0;
    background: #f9fafb;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.testimonial-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--sumlo-radius-lg);
    padding: 2rem;
}

.testimonial-text {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    background: var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--muted);
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.9375rem;
}

.testimonial-role {
    color: var(--muted);
    font-size: 0.8125rem;
}

/* ===== Landing Page: FAQ Grid ===== */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 4rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

.faq-item-simple h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.faq-item-simple p {
    color: var(--muted);
    font-size: 0.9375rem;
    margin: 0;
}

/* ===== Social Proof ===== */
.social-proof {
    padding: 5rem 0;
    border-bottom: 1px solid var(--border);
}

.proof-header {
    text-align: center;
    margin-bottom: 3rem;
}

.proof-header p {
    color: var(--muted);
    font-size: 0.9375rem;
}

.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    opacity: 0.6;
}

.logos span {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--muted);
}
