/* ==========================================================================
   Caretaker Pulse — marketing site
   Hand-rolled CSS (no framework). Brand tokens mirror the product frontend:
   blue-600 primary, slate scale, heat orange / cool sky mode accents.
   ========================================================================== */

:root {
    /* Brand */
    --blue-700: #1d4ed8;
    --blue-600: #2563eb;
    --blue-500: #3b82f6;
    --blue-400: #60a5fa;
    --blue-100: #dbeafe;
    --blue-50: #eff6ff;

    /* Slate scale */
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;

    /* Mode / status accents (match the console) */
    --heat: #f97316;
    --cool: #38bdf8;
    --ok: #10b981;
    --warn: #f59e0b;
    --bad: #f43f5e;

    --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    --radius: 14px;
    --radius-sm: 9px;
    --shadow-card: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px rgba(15, 23, 42, .07);
    --shadow-pop: 0 2px 6px rgba(2, 6, 23, .25), 0 24px 60px rgba(2, 6, 23, .35);

    --header-h: 68px;
}

/* ---------- Reset & base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16.5px;
    line-height: 1.65;
    color: var(--slate-700);
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { color: var(--slate-900); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.28rem; font-weight: 700; }
h4 { font-size: 1.02rem; font-weight: 700; margin-bottom: .25em; }
p  { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; max-width: 100%; }
::selection { background: rgba(37, 99, 235, .18); }

.container { max-width: 1120px; margin-inline: auto; padding-inline: 24px; }
.container-narrow { max-width: 780px; }

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 100;
    background: var(--slate-900); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 13px 26px; border-radius: 10px;
    font-weight: 600; font-size: .98rem; line-height: 1.2;
    border: 1.5px solid transparent; cursor: pointer;
    transition: background-color .18s, border-color .18s, color .18s, transform .12s, box-shadow .18s;
    white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--blue-600); color: #fff;
    box-shadow: 0 6px 18px rgba(37, 99, 235, .28);
}
.btn-primary:hover { background: var(--blue-700); }

.btn-ghost { background: #fff; color: var(--slate-800); border-color: var(--slate-300); }
.btn-ghost:hover { border-color: var(--slate-400); background: var(--slate-50); }

.btn-light { background: #fff; color: var(--slate-900); }
.btn-light:hover { background: var(--slate-100); }

.btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.btn-sm { padding: 9px 18px; font-size: .9rem; }

/* ---------- Header ---------- */

.site-header {
    position: fixed; inset-inline: 0; top: 0; z-index: 50;
    height: var(--header-h);
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--slate-200); box-shadow: 0 4px 20px rgba(15, 23, 42, .06); }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }

.brand { display: flex; align-items: center; gap: 11px; color: var(--slate-900); }
.brand:hover { text-decoration: none; }
.brand-mark {
    width: 34px; height: 34px; flex: none;
    /* soft blue glow, as on the product AppHeader (shadow-lg shadow-blue-600/20) */
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, .2), 0 4px 6px -4px rgba(37, 99, 235, .2);
}
.brand-name { font-size: 1.14rem; font-weight: 800; letter-spacing: -0.02em; }
/* Product wordmark: bold "Caretaker" + light "Labs" (AppHeader.tsx) */
.brand-labs { font-weight: 300; color: var(--slate-500); }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: var(--slate-600); font-weight: 500; font-size: .95rem; }
.site-nav a:hover { color: var(--slate-900); text-decoration: none; }
.site-nav .btn { color: #fff; margin-left: 6px; }
.site-nav .btn:hover { color: #fff; }

.nav-toggle { display: none; }

@media (max-width: 860px) {
    .nav-toggle {
        display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
        width: 44px; height: 44px; padding: 10px;
        background: none; border: 0; cursor: pointer;
    }
    .nav-toggle span {
        display: block; height: 2px; width: 100%;
        background: var(--slate-800); border-radius: 2px;
        transition: transform .2s, opacity .2s;
    }
    .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .site-nav {
        position: absolute; top: var(--header-h); left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: #fff; border-bottom: 1px solid var(--slate-200);
        box-shadow: 0 20px 40px rgba(15, 23, 42, .12);
        padding: 8px 24px 20px;
        display: none;
    }
    .nav-open .site-nav { display: flex; }
    .site-nav a { padding: 12px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--slate-100); }
    .site-nav .btn { margin: 14px 0 0; border-bottom: 0; text-align: center; }
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    padding: calc(var(--header-h) + 72px) 0 88px;
    background:
        radial-gradient(900px 480px at 85% -10%, rgba(37, 99, 235, .09), transparent 65%),
        linear-gradient(180deg, var(--slate-50) 0%, #ffffff 100%);
    overflow: hidden;
}
.hero::before {
    /* faint blueprint grid */
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, .035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 75%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 75%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 56px; align-items: center;
}
@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

.eyebrow {
    display: inline-block;
    font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: var(--blue-700);
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
    padding: 6px 12px; border-radius: 999px;
    margin-bottom: 22px;
    text-wrap: balance;
}

.hero-intro { font-size: 1.08rem; color: var(--slate-600); margin: 0 0 14px; }
.hero-intro strong { color: var(--blue-700); font-weight: 800; }

.lede { font-size: 1.17rem; color: var(--slate-600); max-width: 34em; margin-bottom: 28px; }
.lede strong { color: var(--slate-900); }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.hero-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 9px; }
.hero-chips li {
    font-size: .86rem; font-weight: 500; color: var(--slate-700);
    background: #fff; border: 1px solid var(--slate-200);
    padding: 7px 13px; border-radius: 999px;
    display: inline-flex; align-items: center; gap: 7px;
}
.hero-chips li::before {
    content: ""; width: 7px; height: 7px; border-radius: 50%;
    background: var(--ok); flex: none;
}

/* ---------- Console mock (hero) ---------- */

.hero-visual { position: relative; }

.console {
    background: var(--slate-900);
    border: 1px solid var(--slate-700);
    border-radius: var(--radius);
    box-shadow: var(--shadow-pop);
    overflow: hidden;
    font-size: .84rem;
}
.console-bar {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 16px;
    background: var(--slate-950);
    border-bottom: 1px solid var(--slate-800);
    color: var(--slate-400);
}
.console-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--slate-700); flex: none; }
.console-title { font-weight: 600; color: var(--slate-300); }
.console-live {
    margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
    font-size: .68rem; font-weight: 700; letter-spacing: .08em; color: var(--ok);
}
.pulse {
    width: 7px; height: 7px; border-radius: 50%; background: var(--ok);
    animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .5); }
    70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .pulse { animation: none; }
}

.console-rows { display: flex; flex-direction: column; }
.crow {
    display: grid; grid-template-columns: 104px 112px 1fr; gap: 10px; align-items: center;
    padding: 12px 14px;
    font-size: .8rem;
    border-bottom: 1px solid var(--slate-800);
    color: var(--slate-300);
}
.crow:last-child { border-bottom: 0; }
.crow-site { font-weight: 600; color: var(--slate-100); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crow-issue { color: var(--slate-400); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crow-urgent { background: rgba(244, 63, 94, .07); }

@media (max-width: 560px) {
    .crow { grid-template-columns: auto 1fr; row-gap: 5px; }
    .crow-issue { grid-column: 1 / -1; white-space: normal; }
}

.mode-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.mode-heat { background: var(--heat); }

/* Triage chips — shared between mocks */
.chip {
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .68rem; font-weight: 700; letter-spacing: .04em;
    padding: 4px 9px; border-radius: 999px;
    white-space: nowrap;
}
.crow .chip { font-size: .62rem; padding: 3px 7px; }
.chip-truck { background: rgba(244, 63, 94, .14); color: #fb7185; border: 1px solid rgba(244, 63, 94, .35); }
.chip-phone { background: rgba(245, 158, 11, .13); color: #fbbf24; border: 1px solid rgba(245, 158, 11, .35); }
.chip-wait  { background: rgba(56, 189, 248, .12); color: #7dd3fc; border: 1px solid rgba(56, 189, 248, .3); }
.chip-ok    { background: rgba(16, 185, 129, .12); color: #34d399; border: 1px solid rgba(16, 185, 129, .3); }

.float-card {
    position: absolute; right: -14px; bottom: -34px;
    width: min(280px, 82%);
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-card), 0 20px 50px rgba(15, 23, 42, .16);
    padding: 14px 16px;
    font-size: .82rem;
}
.float-title {
    font-weight: 800; color: var(--slate-900); margin-bottom: 5px;
    display: flex; align-items: center; gap: 7px;
}
.float-title::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--blue-600); }
.float-body { color: var(--slate-600); margin-bottom: 6px; }
.float-parts { margin: 0; color: var(--slate-700); }

@media (max-width: 980px) {
    .float-card { position: static; width: auto; margin-top: 14px; }
}

/* ---------- Stats strip ---------- */

.stats { background: var(--slate-900); color: #fff; padding: 42px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stats-grid { grid-template-columns: 1fr; gap: 24px; } }

.stat-number { font-size: 2rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; margin-bottom: 4px; }
.stat-label { font-size: .84rem; color: var(--slate-400); margin: 0; line-height: 1.5; }

/* ---------- Positioning band ---------- */

.band { padding: 84px 0; background: #fff; }
.band-inner { max-width: 820px; margin-inline: auto; text-align: center; }
.band blockquote { margin: 0 0 22px; }
.band blockquote p {
    font-size: clamp(1.35rem, 2.8vw, 1.9rem);
    font-weight: 700; line-height: 1.35; color: var(--slate-900);
    letter-spacing: -0.015em; margin: 0;
}
.band blockquote em { color: var(--slate-400); font-style: normal; }
.band blockquote strong { color: var(--blue-600); }
.band-sub { color: var(--slate-600); font-size: 1.04rem; margin: 0; }
@media (max-width: 640px) {
    /* the two-line quote break is desktop typography; let it flow on phones */
    .band blockquote br { display: none; }
}

/* ---------- Sections ---------- */

.section { padding: 92px 0; }
.section-alt { background: var(--slate-50); }

.section-head { max-width: 720px; margin-bottom: 52px; }
.kicker {
    font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
    color: var(--blue-600); margin-bottom: 10px;
}
.section-sub { color: var(--slate-600); font-size: 1.04rem; margin: 0; }

/* ---------- Steps ---------- */

.steps {
    list-style: none; padding: 0; margin: 0;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
    counter-reset: step;
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

.step {
    background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius);
    padding: 28px 26px; box-shadow: var(--shadow-card);
}
.step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 10px;
    background: var(--blue-50); color: var(--blue-700);
    font-weight: 800; font-size: 1.05rem;
    margin-bottom: 16px;
}
.step h3 { margin-bottom: .4em; }
.step p { margin: 0; font-size: .96rem; color: var(--slate-600); }

/* ---------- Feature rows (four pitches) ---------- */

.feature {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 60px; align-items: center;
    padding: 44px 0;
}
.feature + .feature { border-top: 1px solid var(--slate-200); }
.feature-flip .feature-copy { order: 2; }
.feature-flip .feature-visual { order: 1; }
@media (max-width: 900px) {
    .feature { grid-template-columns: 1fr; gap: 34px; }
    .feature-flip .feature-copy { order: 1; }
    .feature-flip .feature-visual { order: 2; }
}

.feature-copy h3 { font-size: 1.55rem; letter-spacing: -0.02em; }
.feature-copy > p { color: var(--slate-600); }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
    position: relative; padding-left: 30px; margin-bottom: 12px;
    color: var(--slate-700); font-size: .97rem;
}
.checklist li::before {
    content: ""; position: absolute; left: 0; top: 4px;
    width: 18px; height: 18px; border-radius: 6px;
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
}
.checklist li::after {
    content: ""; position: absolute; left: 5px; top: 8px;
    width: 8px; height: 5px;
    border-left: 2px solid var(--blue-600); border-bottom: 2px solid var(--blue-600);
    transform: rotate(-45deg);
}

/* ---------- Phone mock ---------- */

.feature-visual { display: flex; justify-content: center; }

.phone {
    width: min(320px, 100%);
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: 26px;
    box-shadow: var(--shadow-card), 0 30px 70px rgba(15, 23, 42, .12);
    padding: 20px 18px;
}
.phone-head { text-align: center; margin-bottom: 16px; }
.phone-brand { font-weight: 700; font-size: .92rem; color: var(--slate-900); }

.phone-health {
    display: flex; align-items: center; gap: 13px;
    background: var(--slate-50); border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm); padding: 13px 14px; margin-bottom: 14px;
}
.health-ring {
    width: 40px; height: 40px; border-radius: 50%;
    border: 4px solid var(--ok);
    background: radial-gradient(circle, rgba(16,185,129,.14), transparent 70%);
    flex: none;
}
.health-status { font-weight: 700; color: var(--slate-900); font-size: .93rem; margin: 0; }
.health-sub { font-size: .76rem; color: var(--slate-500); margin: 0; }

.phone-chart {
    border: 1px solid var(--slate-200); border-radius: var(--radius-sm);
    padding: 12px 12px 9px; margin-bottom: 14px;
}
.phone-chart svg { width: 100%; height: 72px; }
.phone-chart-label { font-size: .72rem; color: var(--slate-500); margin: 6px 0 0; }

.phone-notice {
    font-size: .82rem; color: var(--slate-700);
    background: var(--blue-50); border: 1px solid var(--blue-100);
    border-radius: var(--radius-sm); padding: 11px 13px; margin-bottom: 14px;
}
.phone-btn {
    width: 100%; padding: 13px; border: 0; border-radius: 11px;
    background: var(--slate-900); color: #fff;
    font-family: var(--font); font-weight: 600; font-size: .93rem;
    cursor: default; pointer-events: none;
}

/* ---------- Diagnostic card mock ---------- */

.diagcard {
    width: min(420px, 100%);
    background: var(--slate-900);
    border: 1px solid var(--slate-700);
    border-radius: var(--radius);
    box-shadow: var(--shadow-pop);
    padding: 18px 20px;
    font-size: .85rem;
    color: var(--slate-300);
}
.diagcard-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.diagcard-title { font-weight: 700; color: var(--slate-100); }

.diagcard-section { margin-bottom: 14px; }
.diagcard-label {
    font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
    color: var(--slate-500); margin-bottom: 8px;
}
.cause { display: flex; align-items: center; gap: 12px; margin-bottom: 7px; }
.cause-name { flex: none; width: 172px; color: var(--slate-200); }
.cause-bar {
    flex: 1; height: 7px; border-radius: 99px; background: var(--slate-800);
    overflow: hidden;
}
.cause-bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--blue-500), var(--blue-400)); }

.ruledout { margin: 0 0 5px; color: var(--slate-400); }
.ruledout::before { content: "✕ "; color: var(--slate-600); }
.ruledout span { color: var(--slate-500); }

.diagcard-foot {
    border-top: 1px solid var(--slate-800); padding-top: 11px;
    color: var(--blue-400); font-weight: 600;
}

/* ---------- Triage stack mock ---------- */

.triage-stack { width: min(420px, 100%); display: flex; flex-direction: column; gap: 13px; }
.triage-item {
    display: flex; align-items: flex-start; gap: 13px;
    background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-sm);
    box-shadow: var(--shadow-card);
    padding: 15px 16px;
    font-size: .88rem;
}
.triage-item .chip { margin-top: 2px; flex: none; }
.triage-item .chip-truck { background: rgba(244, 63, 94, .1); color: #e11d48; }
.triage-item .chip-phone { background: rgba(245, 158, 11, .12); color: #b45309; }
.triage-item .chip-wait { background: rgba(56, 189, 248, .12); color: #0369a1; }
.triage-item p { margin: 0; color: var(--slate-600); }

/* ---------- Timeline mock ---------- */

.timeline {
    width: min(420px, 100%);
    position: relative;
    padding-left: 26px;
}
.timeline::before {
    content: ""; position: absolute; left: 7px; top: 8px; bottom: 24px;
    width: 2px; background: var(--slate-200);
}
.tl-item { position: relative; padding-bottom: 20px; font-size: .9rem; }
.tl-item::before {
    content: ""; position: absolute; left: -25px; top: 5px;
    width: 12px; height: 12px; border-radius: 50%;
    background: #fff; border: 3px solid var(--slate-300);
}
.tl-alert::before { border-color: var(--bad); }
.tl-ok::before { border-color: var(--ok); }
.tl-time { font-weight: 800; color: var(--slate-900); font-size: .8rem; letter-spacing: .03em; }
.tl-item p { margin: 2px 0 0; color: var(--slate-600); }
.tl-quote { padding-bottom: 0; }
.tl-quote::before { border-color: var(--blue-500); }
.tl-quote p { color: var(--slate-800); font-weight: 600; font-style: italic; }

/* ---------- Detection grid ---------- */

.detect-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
    margin-bottom: 60px;
}
@media (max-width: 1000px) { .detect-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .detect-grid { grid-template-columns: 1fr; } }

.detect-card {
    background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius);
    border-top: 4px solid var(--slate-300);
    box-shadow: var(--shadow-card);
    padding: 24px 22px;
}
.detect-em { border-top-color: var(--bad); }
.detect-fail { border-top-color: var(--warn); }
.detect-wear { border-top-color: var(--cool); }
.detect-consult { border-top-color: var(--ok); }

.detect-class { font-weight: 800; color: var(--slate-900); font-size: 1.05rem; margin-bottom: 1px; }
.detect-speed {
    font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--slate-400); margin-bottom: 14px;
}
.detect-card ul { list-style: none; padding: 0; margin: 0; }
.detect-card li {
    font-size: .89rem; color: var(--slate-600);
    padding: 8px 0; border-top: 1px solid var(--slate-100);
}
.detect-card li:first-child { border-top: 0; padding-top: 0; }

/* ---------- Quiet band ---------- */

.quiet-band {
    background: var(--slate-900); color: var(--slate-300);
    border-radius: var(--radius);
    padding: 40px 40px 30px;
}
.quiet-band > h3 { color: #fff; margin-bottom: 26px; }
.quiet-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
@media (max-width: 1000px) { .quiet-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .quiet-grid { grid-template-columns: 1fr; } }
.quiet-item h4 { color: var(--blue-400); }
.quiet-item p { font-size: .88rem; color: var(--slate-400); margin: 0; }
@media (max-width: 560px) { .quiet-band { padding: 28px 22px 20px; } }

/* ---------- Platform panels ---------- */

.platform-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 26px; align-items: stretch; }
@media (max-width: 900px) { .platform-grid { grid-template-columns: 1fr; } }

.platform-panel { border-radius: var(--radius); padding: 36px 34px; }
@media (max-width: 560px) { .platform-panel { padding: 26px 22px; } }

.platform-dark { background: var(--slate-900); color: var(--slate-300); box-shadow: var(--shadow-pop); }
.platform-dark h3 { color: #fff; }
.platform-dark .panel-sub { color: var(--slate-400); }
.platform-dark .panel-list li { border-top: 1px solid var(--slate-800); }
.platform-dark .panel-list strong { color: var(--blue-400); }

.platform-light { background: #fff; border: 1px solid var(--slate-200); box-shadow: var(--shadow-card); }
.platform-light .panel-sub { color: var(--slate-500); }
.platform-light .panel-list li { border-top: 1px solid var(--slate-100); }
.platform-light .panel-list strong { color: var(--slate-900); }

.panel-sub { font-size: .93rem; margin-bottom: 18px; }
.panel-list { list-style: none; padding: 0; margin: 0; }
.panel-list li { padding: 12px 0; font-size: .93rem; }
.panel-list li:first-child { border-top: 0 !important; padding-top: 0; }

.trust-note {
    margin-top: 20px;
    background: var(--blue-50); border: 1px solid var(--blue-100);
    border-radius: var(--radius-sm); padding: 16px 18px;
}
.trust-note p { margin: 0; font-size: .9rem; color: var(--slate-700); }

.platform-scene { margin: 26px auto 0; max-width: 860px; }
.platform-scene img {
    width: 100%; height: auto;
    border-radius: var(--radius); border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-card);
    background: #fff;
}
.platform-scene figcaption { text-align: center; font-size: .88rem; color: var(--slate-500); margin-top: 12px; }

/* ---------- New England band ---------- */

.ne-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .ne-grid { grid-template-columns: 1fr; } }

.ne-card {
    background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius);
    border-top: 4px solid var(--slate-300);
    box-shadow: var(--shadow-card);
    padding: 26px 24px;
}
.ne-oil { border-top-color: var(--heat); }
.ne-hp { border-top-color: var(--cool); }
.ne-winter { border-top-color: var(--blue-600); }
.ne-card h3 { font-size: 1.12rem; margin-bottom: .4em; }
.ne-card p { margin: 0; font-size: .94rem; color: var(--slate-600); }

/* ---------- Homeowner section ---------- */

.ho-grid {
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 56px; align-items: start;
}
@media (max-width: 900px) { .ho-grid { grid-template-columns: 1fr; gap: 36px; } }

.ho-copy .checklist li { margin-bottom: 14px; }
.ho-copy .checklist li strong { color: var(--slate-900); }
.ho-copy .trust-note { margin-top: 8px; }

.ho-cta { font-size: 1.02rem; color: var(--slate-700); margin: 20px 0 0; }

.ho-moments { display: flex; flex-direction: column; gap: 14px; }
.moment {
    background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-sm);
    box-shadow: var(--shadow-card);
    padding: 17px 19px;
    font-size: .92rem;
}
.moment h4 { margin-bottom: .3em; }
.moment p { margin: 0; color: var(--slate-600); }
.moment-note {
    font-size: .76rem; color: var(--slate-400); font-style: italic;
    text-align: right; margin: 0;
}

/* ---------- Pricing ---------- */

.pricing-card {
    display: grid; grid-template-columns: 1.35fr 1fr; gap: 0;
    background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}
@media (max-width: 860px) { .pricing-card { grid-template-columns: 1fr; } }

.pricing-main { padding: 40px 38px; }
@media (max-width: 560px) { .pricing-main { padding: 28px 22px; } }
.pricing-line { font-size: 1.45rem; font-weight: 800; color: var(--slate-900); letter-spacing: -0.02em; margin-bottom: 6px; }
.pricing-sub { color: var(--slate-500); margin-bottom: 20px; }
.pricing-main .checklist { margin-bottom: 26px; }

.pricing-aside {
    background: var(--slate-50); border-left: 1px solid var(--slate-200);
    padding: 40px 32px;
}
@media (max-width: 860px) { .pricing-aside { border-left: 0; border-top: 1px solid var(--slate-200); } }
@media (max-width: 560px) { .pricing-aside { padding: 28px 22px; } }
.pricing-aside h3 { font-size: 1.1rem; }
.pricing-aside p { font-size: .93rem; color: var(--slate-600); }
.pricing-hint { font-weight: 600; color: var(--blue-700) !important; margin-bottom: 0; }

/* ---------- FAQ ---------- */

.faq-item {
    background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-sm);
    margin-bottom: 12px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.faq-item summary {
    cursor: pointer; list-style: none;
    padding: 18px 48px 18px 22px;
    font-weight: 600; color: var(--slate-900); font-size: 1.02rem;
    position: relative;
    user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: ""; position: absolute; right: 20px; top: 50%;
    width: 9px; height: 9px;
    border-right: 2px solid var(--slate-400); border-bottom: 2px solid var(--slate-400);
    transform: translateY(-70%) rotate(45deg);
    transition: transform .2s;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-item p { padding: 0 22px 20px; margin: 0; color: var(--slate-600); font-size: .96rem; }

/* ---------- Final CTA ---------- */

.cta-final {
    background:
        radial-gradient(700px 340px at 20% 0%, rgba(37, 99, 235, .28), transparent 65%),
        var(--slate-950);
    color: #fff;
    padding: 96px 0;
}
.cta-inner { max-width: 760px; text-align: center; margin-inline: auto; }
.cta-inner h2 { color: #fff; }
.cta-inner > p { color: var(--slate-400); font-size: 1.08rem; margin-bottom: 30px; }
.cta-inner .hero-ctas { justify-content: center; margin-bottom: 0; }

/* ---------- Footer ---------- */

.site-footer { background: var(--slate-950); color: var(--slate-400); padding: 52px 0 34px; }
.footer-inner {
    display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap;
    padding-bottom: 34px; border-bottom: 1px solid var(--slate-800);
}
.footer-brand { display: flex; gap: 13px; align-items: flex-start; }
.footer-brand .brand-mark { width: 36px; height: 36px; margin-top: 2px; }
.footer-name { font-weight: 800; color: #fff; margin: 0; }
.footer-name .brand-labs { color: var(--slate-300); }
.footer-tag { font-size: .85rem; margin: 2px 0 0; max-width: 34em; text-wrap: balance; }

.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
.footer-links a { color: var(--slate-400); font-size: .9rem; }
.footer-links a:hover { color: #fff; text-decoration: none; }

.footer-legal { padding-top: 22px; font-size: .82rem; color: var(--slate-600); }
.footer-legal p { margin: 0; }

/* ---------- Reveal animation ---------- */

.js .reveal {
    opacity: 0; transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
}
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
}
