/* =========================================================
   OfferCopilot — B2B agent platform marketing site.
   Technical, confident, grid-forward. Blue/slate palette
   mirrors the B2B dashboard (apps/b2b-dashboard) so agents
   move from marketing → product without a visual break.
   ========================================================= */

:root {
    --ink:        #0f172a;   /* slate-900 */
    --ink-soft:   #1e293b;   /* slate-800 */
    --body:       #334155;   /* slate-700 */
    --muted:      #64748b;   /* slate-500 */
    --whisper:    #94a3b8;   /* slate-400 */
    --line:       #e2e8f0;   /* slate-200 */
    --line-strong:#cbd5e1;   /* slate-300 */
    --paper:      #ffffff;
    --surface:    #f8fafc;   /* slate-50 */
    --surface-2:  #f1f5f9;   /* slate-100 */

    --brand:       #2563eb;  /* blue-600 — dashboard primary */
    --brand-deep:  #1d4ed8;  /* blue-700 */
    --brand-soft:  #eff6ff;  /* blue-50 */
    --brand-tint:  #dbeafe;  /* blue-100 */
    --brand-glow:  rgba(37, 99, 235, 0.18);

    /* legacy aliases so unmigrated rules keep working */
    --indigo:      var(--brand);
    --indigo-deep: var(--brand-deep);
    --indigo-soft: var(--brand-soft);
    --indigo-glow: var(--brand-glow);

    --accent:     #059669;   /* emerald-600 — mirrors dashboard success chips */
    --success:    #10b981;
    --danger:     #ef4444;

    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono:    'JetBrains Mono', ui-monospace, monospace;
}

[data-theme="dark"] {
    --ink:        #f8fafc;
    --ink-soft:   #e2e8f0;
    --body:       #cbd5e1;
    --muted:      #94a3b8;
    --whisper:    #64748b;
    --line:       #1e293b;
    --line-strong:#334155;
    --paper:      #0b1020;
    --surface:    #0f172a;
    --surface-2:  #111a32;

    --brand:       #60a5fa;  /* blue-400 — softer on dark */
    --brand-deep:  #3b82f6;  /* blue-500 */
    --brand-soft:  rgba(37, 99, 235, 0.14);
    --brand-tint:  rgba(37, 99, 235, 0.22);
    --brand-glow:  rgba(96, 165, 250, 0.3);

    --indigo:      var(--brand);
    --indigo-deep: var(--brand-deep);
    --indigo-soft: var(--brand-soft);
    --indigo-glow: var(--brand-glow);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--paper);
    color: var(--body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--ink);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.75rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 0.95rem; letter-spacing: 0.01em; }

p { margin-bottom: 1rem; }

a { color: var(--indigo); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.75rem;
}

.container--narrow {
    max-width: 740px;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--indigo);
    padding: 0.35rem 0.7rem;
    background: var(--indigo-soft);
    border-radius: 3px;
    margin-bottom: 1.5rem;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.35rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.18s ease;
    text-decoration: none;
    white-space: nowrap;
}
.btn:hover { text-decoration: none; }

.btn-primary {
    background: var(--indigo);
    color: #fff;
    box-shadow: 0 4px 14px -4px var(--indigo-glow);
}
.btn-primary:hover {
    background: var(--indigo-deep);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px -6px var(--indigo-glow);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: transparent;
}
.btn-ghost:hover { color: var(--indigo); }

.btn-outline {
    background: transparent;
    color: var(--ink);
    border-color: var(--line-strong);
}
.btn-outline:hover { border-color: var(--indigo); color: var(--indigo); }

.btn-lg { padding: 0.95rem 1.75rem; font-size: 1rem; }
.btn-full { width: 100%; }

/* ---------- Header ---------- */
.site-header {
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] .site-header {
    background: rgba(11, 16, 32, 0.8);
}

.site-header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.01em;
}
.logo:hover { text-decoration: none; color: var(--indigo); }

.logo-mark {
    font-size: 1rem;
    color: var(--indigo);
    transform: rotate(45deg);
    display: inline-block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.75rem;
    margin: 0 auto;
}
.nav-links a {
    color: var(--body);
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.15s;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--indigo);
    text-decoration: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.theme-toggle {
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 6px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--body);
}
.theme-toggle:hover { color: var(--indigo); border-color: var(--indigo); }
.theme-toggle .moon-icon { display: none; }
[data-theme="dark"] .theme-toggle .sun-icon { display: none; }
[data-theme="dark"] .theme-toggle .moon-icon { display: inline-block; }

.mobile-menu-toggle {
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 6px;
    width: 36px;
    height: 36px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--body);
}

.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--paper);
    z-index: 100;
    padding: 1.5rem 0;
    flex-direction: column;
}
.mobile-nav.active { display: flex; }
.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}
.mobile-nav-close {
    background: transparent;
    border: none;
    color: var(--ink);
    cursor: pointer;
}
.mobile-nav-links {
    list-style: none;
    padding: 1.5rem 1.75rem;
    flex: 1;
}
.mobile-nav-links li { padding: 0.5rem 0; }
.mobile-nav-links a {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ink);
}
.mobile-nav-actions { padding: 1rem 1.75rem; }

/* ---------- Hero ---------- */
.hero {
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 10%, black, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 10%, black, transparent 70%);
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    background: var(--brand-soft);
    border: 1px solid var(--brand-tint);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--brand-deep);
    margin-bottom: 1.75rem;
    font-family: var(--font-mono);
}

.pulse {
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 0 rgba(16,185,129,0.6);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
    70% { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
    100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

.hero-title {
    max-width: 16ch;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.gradient-word {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lede {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--body);
    max-width: 42em;
    margin-bottom: 2.25rem;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-proof {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
}

.proof-num {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.proof-label {
    font-size: 0.85rem;
    color: var(--muted);
    font-family: var(--font-mono);
}

/* ---------- Pain ---------- */
.pain {
    padding: 5rem 0;
    background: var(--surface);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.pain-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.pain-copy .eyebrow { color: var(--muted); background: transparent; border: 1px solid var(--line-strong); }
.pain-copy h2 { margin-bottom: 1.25rem; }
.pain-copy p { color: var(--body); margin-bottom: 1rem; }

.pain-list {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.5rem 0;
}

.pain-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--line);
    color: var(--body);
    font-size: 0.95rem;
}
.pain-row:last-child { border-bottom: none; }

.pain-x {
    font-weight: 700;
    color: var(--danger);
    font-size: 1.05rem;
    flex-shrink: 0;
    width: 18px;
}

.pain-check {
    font-weight: 700;
    color: var(--success);
    font-size: 1.1rem;
    flex-shrink: 0;
    width: 18px;
}

.pain-row--check {
    font-weight: 600;
    color: var(--ink);
    background: var(--indigo-soft);
}

/* ---------- Section Head ---------- */
.section-head {
    margin-bottom: 3rem;
    max-width: 56ch;
}
.section-head h2 { margin-bottom: 1rem; }
.section-lede {
    font-size: 1.1rem;
    color: var(--body);
}

/* ---------- Features ---------- */
.features {
    padding: 6rem 0;
}

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

.feature-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 1.75rem;
    transition: border-color 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
}
.feature-card:hover {
    border-color: var(--indigo);
    transform: translateY(-3px);
}

.feature-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--indigo-soft);
    color: var(--indigo);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--body);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    flex: 1;
}

.feature-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
}

/* ---------- How it works ---------- */
.how-it-works {
    padding: 6rem 0;
    background: var(--surface);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.step {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-num {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--indigo);
    padding: 0.35rem 0.6rem;
    background: var(--indigo-soft);
    border-radius: 4px;
    flex-shrink: 0;
}

.step-body h3 {
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}
.step-body p { color: var(--body); font-size: 0.95rem; margin: 0; }

.section-cta {
    text-align: center;
}

/* ---------- Pricing ---------- */
.pricing {
    padding: 6rem 0;
}

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

.price-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.price-card--featured {
    border-color: var(--indigo);
    box-shadow: 0 20px 50px -25px var(--indigo-glow);
    transform: translateY(-4px);
}

.price-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--indigo);
    color: white;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
}

.price-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.75rem;
}

.price-amount {
    margin-bottom: 0.35rem;
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
}

.price-num {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.price-unit {
    font-size: 0.9rem;
    color: var(--muted);
    font-family: var(--font-mono);
}

.price-sub {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.price-features {
    list-style: none;
    margin-bottom: 2rem;
    flex: 1;
}

.price-features li {
    padding: 0.55rem 0;
    font-size: 0.92rem;
    color: var(--body);
    border-top: 1px solid var(--line);
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
}

.price-features li::before {
    content: '✓';
    color: var(--indigo);
    font-weight: 700;
    flex-shrink: 0;
}

/* ---------- Waitlist ---------- */
.waitlist-section {
    padding: 5rem 0 7rem;
    background: linear-gradient(180deg, var(--paper) 0%, var(--surface) 100%);
    border-top: 1px solid var(--line);
}

.waitlist-card {
    max-width: 640px;
    margin: 0 auto;
    background: var(--paper);
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: 0 30px 60px -30px rgba(15, 23, 42, 0.15);
}

.waitlist-meta {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--indigo);
    margin-bottom: 0.75rem;
}

.waitlist-card h2 {
    margin-bottom: 0.75rem;
}

.waitlist-card > p {
    color: var(--body);
    margin-bottom: 1.75rem;
}

.form-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.form-row input {
    flex: 1;
    padding: 0.85rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    background: var(--paper);
    color: var(--ink);
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.form-row input:focus {
    border-color: var(--indigo);
    box-shadow: 0 0 0 3px var(--indigo-glow);
}

.form-notice {
    font-size: 0.82rem;
    color: var(--muted);
    margin: 0;
}

.waitlist-success .success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.waitlist-success h3 { margin-bottom: 0.5rem; }

/* ---------- Long-form pages (How It Works, FAQ) ---------- */
.long-form {
    padding: 4rem 0 6rem;
}

.long-form-head {
    max-width: 640px;
    margin: 0 auto 4rem;
    text-align: center;
}
.long-form-head h1 { margin-bottom: 1rem; }
.long-form-head .lede {
    font-size: 1.15rem;
    color: var(--body);
}

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

.wt-step {
    margin-bottom: 3.5rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid var(--line);
}
.wt-step:last-of-type { border-bottom: none; }

.wt-num {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--indigo);
    margin-bottom: 0.75rem;
    letter-spacing: 0.1em;
}

.wt-step h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.wt-step p { color: var(--body); font-size: 1.05rem; }

.wt-note {
    background: var(--surface);
    border-left: 3px solid var(--indigo);
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    color: var(--muted);
    border-radius: 0 4px 4px 0;
}

.cta-strip {
    max-width: 640px;
    margin: 4rem auto 0;
    padding: 3rem 2.5rem;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.cta-strip h2 { margin-bottom: 0.75rem; }
.cta-strip p { color: var(--body); margin-bottom: 1.5rem; }

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

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

.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary h2 {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
}

.chev {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    color: var(--indigo);
    transition: transform 0.2s;
    flex-shrink: 0;
}

.faq-item[open] .chev { transform: rotate(45deg); }

.faq-body { padding-top: 1rem; }
.faq-body p { color: var(--body); font-size: 0.98rem; margin: 0; }

/* ---------- Blog ---------- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
}

.blog-card {
    display: block;
    padding: 2rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s, border-color 0.2s;
}
.blog-card:hover {
    transform: translateY(-2px);
    border-color: var(--indigo);
    text-decoration: none;
}

.blog-card-cat {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--indigo);
    margin-bottom: 0.75rem;
}

.blog-card h2 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    color: var(--ink);
}

.blog-card p {
    color: var(--body);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.blog-card-meta {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--muted);
    display: flex;
    gap: 0.5rem;
}

.pagination {
    max-width: 720px;
    margin: 3rem auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 0.88rem;
    color: var(--muted);
}

/* ---------- Post (single blog) ---------- */
.post { padding: 4rem 0 6rem; }

.post-head {
    margin-bottom: 3rem;
    text-align: center;
}
.post-head h1 { margin-bottom: 1rem; font-size: clamp(2rem, 4vw, 3rem); }

.post-meta {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--muted);
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.post-body {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--body);
}
.post-body h2 {
    font-size: 1.6rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--ink);
}
.post-body h3 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--ink);
}
.post-body p { margin-bottom: 1.25rem; }
.post-body ul, .post-body ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}
.post-body li { margin-bottom: 0.5rem; }
.post-body strong { color: var(--ink); }
.post-body em { font-style: italic; }
.post-body a { color: var(--indigo); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.post-foot {
    max-width: 720px;
    margin: 4rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.post-back {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    color: var(--muted);
}
.post-back:hover { color: var(--indigo); text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer {
    padding: 4rem 0 2rem;
    background: var(--ink);
    color: #cbd5e1;
}
[data-theme="dark"] .site-footer { background: #05080f; border-top: 1px solid var(--line); }

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #1e293b;
}

.site-footer .logo {
    color: white;
    margin-bottom: 1rem;
}
.site-footer .logo-mark { color: var(--indigo); }

.footer-brand p {
    color: #94a3b8;
    font-size: 0.92rem;
    max-width: 34ch;
}
.parent-link { font-size: 0.85rem; margin-top: 0.5rem; }
.parent-link a { color: white; text-decoration: underline; }

.footer-links h4 {
    color: white;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 600;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: #94a3b8; font-size: 0.92rem; }
.footer-links a:hover { color: var(--indigo); text-decoration: none; }

.footer-bottom {
    padding-top: 2rem;
    font-size: 0.82rem;
    color: #64748b;
    font-family: var(--font-mono);
}

/* ---------- Static pages ---------- */
.static-page {
    max-width: 720px;
    margin: 4rem auto 6rem;
    padding: 0 1.75rem;
}
.static-page h1 { margin-bottom: 1.5rem; }
.static-page h2 { margin-top: 2.5rem; margin-bottom: 0.75rem; font-size: 1.25rem; }
.static-page p { margin-bottom: 1rem; }
.static-page a { color: var(--indigo); text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .price-card--featured { transform: none; }
}

@media (max-width: 860px) {
    .nav-links { display: none; }
    .mobile-menu-toggle { display: inline-flex; }
    .nav-actions .btn { display: none; }
    .pain-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .steps { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .hero { padding: 4rem 0 3.5rem; }
    .hero-proof { gap: 1.5rem; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; }
    .form-row { flex-direction: column; }
    .waitlist-card { padding: 2rem 1.5rem; }
}
