/* ═══════════════════════════════════════════════════════════
   MASONPILOT — Production Stylesheet
   Brand: Navy · Blue · Stone · Sand · Gray · Sage
   Light default · Dark toggle · CSS custom properties
   ═══════════════════════════════════════════════════════════ */

/* Fonts load via <link> in index.html head (Inter, Barlow Condensed, JetBrains Mono)
   — @import removed: it blocked first render behind a CSS round-trip. */

/* ─── THEME: LIGHT (default) ────────────────────────────── */
:root {
    --bg: #f6f4ef;
    --bg-card: #ffffff;
    --bg-elevated: #fbfaf7;
    --bg-input: #f1ede3;
    --border: #e2dccc;
    --border-light: #ebe6d8;
    --accent: #2c5282;
    --accent-hover: #234268;
    --accent-soft: rgba(44,82,130,0.07);
    --accent-border: rgba(44,82,130,0.25);
    --accent-text: #ffffff;
    --warm: #c9b99c;
    --warm-soft: rgba(201,185,156,0.20);
    --warm-text: #7a6840;
    --text: #15233a;
    --text-soft: #3d4554;
    --text-muted: #6b7280;
    --green: #2f855a;
    --green-soft: rgba(47,133,90,0.10);
    --red: #b05a5a;
    --red-soft: rgba(176,90,90,0.08);
    --blue: #2c5282;
    --blue-soft: rgba(44,82,130,0.08);
    --shadow: 0 1px 3px rgba(29,36,48,0.06), 0 4px 12px rgba(29,36,48,0.04);
    --shadow-lg: 0 4px 24px rgba(29,36,48,0.10);
    --toggle-bg: #d4ccb8;
    --toggle-knob: #ffffff;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --mono: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;
}

/* ─── THEME: DARK ───────────────────────────────────────── */
[data-theme="dark"] {
    --bg: #10151d;
    --bg-card: #171e28;
    --bg-elevated: #1f2835;
    --bg-input: #131922;
    --border: #28303c;
    --border-light: #323b48;
    --accent: #6fa0cf;
    --accent-hover: #8ab5dd;
    --accent-soft: rgba(111,160,207,0.10);
    --accent-border: rgba(111,160,207,0.22);
    --accent-text: #0f1115;
    --warm: #d4c5a8;
    --warm-soft: rgba(212,197,168,0.10);
    --warm-text: #d4c5a8;
    --text: #e4e6e0;
    --text-soft: #b0b3aa;
    --text-muted: #7e8278;
    --green: #9cb096;
    --green-soft: rgba(156,176,150,0.12);
    --red: #d08484;
    --red-soft: rgba(208,132,132,0.10);
    --blue: #6fa0cf;
    --blue-soft: rgba(111,160,207,0.12);
    --shadow: 0 1px 3px rgba(0,0,0,0.4);
    --shadow-lg: 0 4px 24px rgba(0,0,0,0.5);
    --toggle-bg: #252a32;
    --toggle-knob: #e4e6e0;
}

/* ─── RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background 0.3s, color 0.3s;
}

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

/* ─── LAYOUT ────────────────────────────────────────────── */
.app-shell {
    max-width: 430px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-main { flex: 1; padding: 0 16px 40px; }

/* ─── NAVBAR ────────────────────────────────────────────── */
.navbar {
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: var(--bg);
    z-index: 100;
    transition: background 0.3s;
}
.brand-link { display: flex; align-items: center; text-decoration: none; }
.brand-link:hover { text-decoration: none; }
.brand-logo { height: 28px; width: auto; display: block; }
.brand-logo-dark { display: none; }
[data-theme="dark"] .brand-logo-light { display: none; }
[data-theme="dark"] .brand-logo-dark { display: block; }
.navbar .nav-right { display: flex; align-items: center; gap: 10px; }

/* ─── THEME TOGGLE ──────────────────────────────────────── */
.theme-toggle {
    width: 48px; height: 26px; border-radius: 13px; border: none;
    background: var(--toggle-bg); position: relative; cursor: pointer;
    transition: background 0.3s; flex-shrink: 0;
}
.theme-toggle .knob {
    width: 20px; height: 20px; border-radius: 10px;
    background: var(--toggle-knob);
    position: absolute; top: 3px; left: 3px;
    transition: left 0.25s cubic-bezier(0.4,0,0.2,1);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
[data-theme="dark"] .theme-toggle .knob { left: 25px; }

/* ─── PROGRESS BAR ──────────────────────────────────────── */
.progress-bar {
    padding: 8px 16px 0;
    display: flex;
    gap: 4px;
}
.progress-bar .step {
    flex: 1; height: 3px; border-radius: 2px;
    background: var(--border-light);
    transition: background 0.3s;
}
.progress-bar .step.active { background: var(--accent); }

/* ─── CARDS ─────────────────────────────────────────────── */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    margin-bottom: 16px;
    overflow: hidden;
    transition: background 0.3s, border-color 0.3s;
}
.card-body { padding: 16px; }
.card-header {
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    gap: 8px;
}
.card-header .icon { font-size: 15px; }
.card-header .label {
    font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
    color: var(--accent); text-transform: uppercase;
}

/* ─── FORMS ─────────────────────────────────────────────── */
.form-label {
    display: block; font-size: 10px; font-weight: 700;
    color: var(--text-muted); letter-spacing: 0.05em;
    text-transform: uppercase; margin-bottom: 4px;
}
.form-input, .form-select {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 11px 14px;
    color: var(--text);
    font-size: 14px;
    font-family: var(--font);
    outline: none;
    transition: border-color 0.15s;
}
.form-input:focus, .form-select:focus { border-color: var(--accent); }
.form-select { appearance: auto; }
.form-group { margin-bottom: 14px; }
.form-row { display: grid; gap: 10px; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }

.dim-input { display: flex; gap: 4px; }
.dim-input .form-input { width: auto; }
.dim-input .ft { flex: 2; }
.dim-input .in { flex: 1; }

/* ─── BUTTONS ───────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 6px; padding: 13px 24px; border-radius: 12px;
    font-size: 14px; font-weight: 700; border: none; cursor: pointer;
    font-family: var(--font); transition: all 0.15s; line-height: 1.3;
    text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--accent-text); box-shadow: var(--shadow-lg); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { background: transparent; border: 2px solid var(--accent); color: var(--accent); }
.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--text-muted); font-weight: 600; }
.btn-sm { padding: 7px 14px; font-size: 12px; border-radius: 8px; }
.btn-full { width: 100%; }
.btn-new { background: var(--accent-soft); border: 1px solid var(--accent-border); padding: 4px 10px; font-size: 10px; font-weight: 600; color: var(--accent); border-radius: 8px; }
.btn-back { background: none; border: none; color: var(--text-muted); font-size: 12px; cursor: pointer; padding: 12px 0; font-family: var(--font); }

.btn-row { display: flex; gap: 8px; }
.btn-row .btn-ghost { flex: 1; }
.btn-row .btn-primary { flex: 2; }

/* ─── PILL BUTTONS (shape picker, soil, etc.) ───────────── */
.pill-group { display: flex; gap: 6px; flex-wrap: wrap; }
.pill {
    flex: 1; min-width: 0; padding: 9px 4px; border-radius: 8px;
    font-size: 11px; font-weight: 600; cursor: pointer;
    font-family: var(--font); border: none; text-align: center;
    background: transparent; color: var(--text-muted);
    outline: 1px solid var(--border); transition: all 0.15s;
}
.pill.active {
    background: var(--accent-soft); color: var(--accent);
    outline: 2px solid var(--accent);
}

/* ─── SHAPE PICKER ──────────────────────────────────────── */
.shape-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.shape-btn {
    padding: 10px 4px 8px; border-radius: 10px; cursor: pointer;
    font-family: var(--font); border: none; text-align: center;
    background: transparent; outline: 1px solid var(--border);
    transition: all 0.15s;
}
.shape-btn.active { background: var(--accent-soft); outline: 2px solid var(--accent); }
.shape-btn svg { display: block; margin: 0 auto 4px; width: 28px; height: 28px; }
.shape-btn .shape-label { font-size: 9px; font-weight: 700; line-height: 1.2; }
.shape-btn.active .shape-label { color: var(--accent); }
.shape-btn:not(.active) .shape-label { color: var(--text-muted); }

/* ─── COLOR SWATCHES ────────────────────────────────────── */
.swatch-grid { display: flex; gap: 6px; flex-wrap: wrap; }
.swatch {
    width: 34px; height: 34px; border-radius: 8px; cursor: pointer;
    border: 1px solid var(--border); transition: all 0.15s;
}
.swatch.active { border: 2px solid var(--accent); box-shadow: 0 0 0 2px var(--accent-border); }
.swatch-name { font-size: 11px; color: var(--accent); font-weight: 500; margin-top: 4px; }

/* ─── MANUFACTURER TABS ─────────────────────────────────── */
.mfr-tabs { display: flex; gap: 4px; }
.mfr-tab {
    flex: 1; padding: 7px 2px; border-radius: 8px; font-size: 10px;
    font-weight: 700; cursor: pointer; font-family: var(--font);
    border: none; text-align: center; transition: all 0.15s;
    background: transparent; color: var(--text-muted);
    outline: 1px solid var(--border);
}
.mfr-tab.active { background: var(--accent); color: var(--accent-text); outline: none; }

/* ─── STAT CARDS ────────────────────────────────────────── */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.stat-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 10px; padding: 12px 8px; text-align: center;
    box-shadow: var(--shadow); transition: all 0.3s;
}
.stat-card.hl { border-color: var(--accent-border); }
.stat-label { font-size: 9px; font-weight: 700; letter-spacing: 0.06em; color: var(--text-muted); text-transform: uppercase; margin-bottom: 2px; }
.stat-card.hl .stat-label { color: var(--accent); }
.stat-value { font-size: 20px; font-weight: 800; font-family: var(--mono); color: var(--text); }
.stat-card.hl .stat-value { color: var(--accent); }
.stat-unit { font-size: 9px; color: var(--text-muted); }

/* ─── RESULT ROWS ───────────────────────────────────────── */
.result-row {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 9px 0; border-bottom: 1px solid var(--border-light);
}
.result-row:last-child { border-bottom: none; }
.result-label { color: var(--text-soft); font-size: 13px; flex: 1; }
.result-sub { color: var(--text-muted); font-size: 11px; margin-top: 1px; }
.result-value { font-family: var(--mono); font-weight: 700; font-size: 14px; color: var(--text); margin-left: 12px; white-space: nowrap; }
.result-value.hl { color: var(--accent); }

/* ─── BADGES ────────────────────────────────────────────── */
.badge {
    display: inline-block; padding: 3px 10px; border-radius: 20px;
    font-size: 10px; font-weight: 700; letter-spacing: 0.04em;
    background: var(--accent-soft); color: var(--accent); text-transform: uppercase;
}
.badge-warm { background: var(--warm-soft); color: var(--warm); }
.badge-green { background: var(--green-soft); color: var(--green); }
.badge-red { background: var(--red-soft); color: var(--red); }
.badge-free { background: var(--warm-soft); border: 1px solid rgba(122,104,64,0.35); color: var(--warm-text); font-size: 10px; font-weight: 600; padding: 4px 14px; }
[data-theme="dark"] .badge-free { color: var(--warm-text); border-color: rgba(212,197,168,0.30); font-weight: 500; }

/* ─── ALERTS / NOTES ────────────────────────────────────── */
.alert {
    border-radius: 10px; padding: 9px 14px;
    font-size: 11px; line-height: 1.5;
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 12px;
}
.alert-green { background: var(--green-soft); border: 1px solid rgba(127,143,119,0.20); color: var(--green); }
.alert-warm { background: var(--warm-soft); border: 1px solid rgba(201,185,156,0.30); color: var(--warm); }
.alert-accent { background: var(--accent-soft); border-radius: 8px; padding: 8px 12px; font-size: 11px; color: var(--accent); line-height: 1.4; }
.alert-red { background: var(--red-soft); border: 1px solid rgba(176,90,90,0.15); color: var(--red); }

/* ─── CTA BANNER ────────────────────────────────────────── */
.cta-banner {
    background: var(--accent);
    border-radius: 12px; padding: 14px 16px;
    cursor: pointer; text-align: center; margin-bottom: 16px;
}
.cta-banner .cta-sub { font-size: 10px; font-weight: 600; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.04em; }
.cta-banner .cta-main { font-size: 16px; font-weight: 800; color: var(--accent-text); margin-top: 2px; }
.cta-banner .cta-note { font-size: 10px; color: rgba(255,255,255,0.6); margin-top: 2px; }

/* ─── CONFIDENCE ────────────────────────────────────────── */
.confidence { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.confidence .dot { font-size: 13px; }
.confidence .msg { font-size: 11px; font-weight: 600; }
.confidence-high { color: var(--green); }

/* ─── WARNING LIST ──────────────────────────────────────── */
.warning-item { color: var(--text-muted); font-size: 11px; line-height: 1.5; margin-bottom: 4px; }
.warning-item::before { content: '• '; }

/* ─── DIFFICULTY ────────────────────────────────────────── */
.difficulty-card { padding: 14px; }
.difficulty-card .diff-title { font-size: 12px; font-weight: 700; margin-bottom: 2px; }
.difficulty-card .diff-msg { color: var(--text-muted); font-size: 11px; line-height: 1.4; }

/* ─── FEATURE LIST (landing page) ───────────────────────── */
.feature-item {
    display: flex; gap: 10px; padding: 9px 0;
    border-bottom: 1px solid var(--border-light);
}
.feature-item:last-child { border-bottom: none; }
.feature-icon { font-size: 18px; line-height: 1.4; }
.feature-title { color: var(--text); font-size: 13px; font-weight: 600; }
.feature-desc { color: var(--text-muted); font-size: 11px; line-height: 1.4; margin-top: 1px; }

/* ─── TRUST STATS ───────────────────────────────────────── */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 28px; }
.trust-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 10px; padding: 12px 6px; text-align: center;
    box-shadow: var(--shadow);
}
.trust-num { font-size: 20px; font-weight: 800; font-family: var(--mono); color: var(--accent); }
.trust-label { font-size: 9px; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

/* ─── BRAND PILLS ───────────────────────────────────────── */
.brand-row { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.brand-pill {
    padding: 5px 12px; border-radius: 8px;
    background: var(--accent-soft); border: 1px solid var(--accent-border);
    font-size: 11px; font-weight: 600; color: var(--accent);
}

/* ─── ADD SECTION BUTTON ────────────────────────────────── */
.add-section-btn {
    margin-top: 14px; background: transparent;
    border: 1px dashed var(--border); border-radius: 8px;
    padding: 9px; width: 100%; color: var(--text-muted);
    font-size: 12px; cursor: pointer; font-family: var(--font);
}
.add-section-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ─── PRODUCT DETAIL ────────────────────────────────────── */
.product-detail { margin-top: 14px; }
.product-detail h3 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.product-detail p { font-size: 11px; color: var(--text-muted); line-height: 1.5; margin-bottom: 8px; }
.product-badges { display: flex; gap: 8px; flex-wrap: wrap; }

/* ─── FOOTER ────────────────────────────────────────────── */
.app-footer {
    padding: 16px 16px 28px; text-align: center;
    border-top: 1px solid var(--border);
}
.app-footer p { color: var(--text-muted); font-size: 9px; line-height: 1.6; }
.app-footer .tagline { color: var(--accent); font-weight: 600; font-size: 10px; margin-bottom: 4px; }

/* ─── HERO ──────────────────────────────────────────────── */
.hero { text-align: center; padding-top: 40px; margin-bottom: 32px; }
.hero h1 { font-size: 26px; font-weight: 800; line-height: 1.2; margin-bottom: 10px; letter-spacing: -0.02em; }
.hero h1 .accent { color: var(--accent); }
.hero .subtitle { color: var(--text-soft); font-size: 14px; line-height: 1.6; max-width: 320px; margin: 0 auto 24px; }

/* ─── LOADING ───────────────────────────────────────────── */
.loading-spinner {
    display: inline-block; width: 18px; height: 18px;
    border: 2px solid var(--border); border-top-color: var(--accent);
    border-radius: 50%; animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.calculating-overlay {
    text-align: center; padding: 60px 20px;
}
.calculating-overlay .msg { color: var(--text-soft); font-size: 14px; margin-top: 16px; }

/* ─── ANIMATIONS ────────────────────────────────────────── */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeIn 0.4s ease forwards; }

/* ─── SCREEN VISIBILITY ─────────────────────────────────── */
.screen { display: none; }
.screen.active { display: block; }

/* ─── PROJECT TYPE PICKER (NEW) ─────────────────────────── */
.type-grid { display: grid; gap: 12px; margin-top: 8px; }
.type-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px 18px;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.15s;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    text-align: left;
    font-family: var(--font);
}
.type-card:hover { border-color: var(--accent); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.type-card .type-icon { font-size: 32px; flex-shrink: 0; }
.type-card .type-title { font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 2px; }
.type-card .type-sub { font-size: 11px; color: var(--text-muted); line-height: 1.4; }

/* ─── BULK MATERIAL PICKER (NEW) ────────────────────────── */
.material-cat { margin-bottom: 16px; }
.material-cat-label {
    font-size: 10px; font-weight: 700; color: var(--text-muted);
    letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 6px;
}
.material-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.material-btn {
    padding: 10px 12px; border-radius: 8px; cursor: pointer;
    font-family: var(--font); border: none; text-align: left;
    background: var(--bg-card); outline: 1px solid var(--border);
    transition: all 0.15s; font-size: 12px; font-weight: 600;
    color: var(--text);
}
.material-btn:hover { outline-color: var(--accent); }
.material-btn.active { background: var(--accent-soft); outline: 2px solid var(--accent); color: var(--accent); }
.material-btn .mb-sub { font-size: 9px; color: var(--text-muted); font-weight: 500; margin-top: 1px; }
.material-btn.active .mb-sub { color: var(--accent); }

/* Mulch color preview swatch in material button */
.mulch-swatch {
    display: inline-block; width: 12px; height: 12px;
    border-radius: 3px; margin-right: 6px; vertical-align: middle;
    border: 1px solid rgba(0,0,0,0.1);
}

/* ─── PHOTO UPLOAD (NEW) ────────────────────────────────── */
.photo-section {
    margin-top: 14px;
    border: 1px dashed var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.photo-section.has-photos { border-color: var(--accent); border-style: solid; }
.photo-toggle {
    width: 100%; padding: 12px 14px;
    background: transparent; border: none; cursor: pointer;
    font-family: var(--font); text-align: left;
    color: var(--text-soft); font-size: 13px; font-weight: 600;
    display: flex; justify-content: space-between; align-items: center;
}
.photo-toggle:hover { color: var(--accent); }
.photo-toggle .chev { font-size: 14px; transition: transform 0.2s; color: var(--text-muted); }
.photo-section.open .photo-toggle .chev { transform: rotate(90deg); color: var(--accent); }
.photo-toggle .count {
    background: var(--accent-soft); color: var(--accent);
    border-radius: 10px; padding: 2px 8px; font-size: 10px; font-weight: 700;
    margin-left: 6px;
}
.photo-body {
    display: none;
    padding: 0 14px 14px;
    border-top: 1px solid var(--border-light);
}
.photo-section.open .photo-body { display: block; }

.photo-cat { margin-top: 14px; }
.photo-cat:first-child { margin-top: 10px; }
.photo-cat-title {
    font-size: 11px; font-weight: 700; color: var(--text);
    margin-bottom: 2px;
}
.photo-cat-desc {
    font-size: 10px; color: var(--text-muted); margin-bottom: 8px;
}
.photo-drop {
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 6px;
    padding: 18px 12px;
    border: 1px dashed var(--border);
    border-radius: 8px;
    background: var(--bg-elevated);
    cursor: pointer;
    transition: all 0.15s;
    color: var(--text-muted);
    font-size: 11px;
}
.photo-drop:hover, .photo-drop.dragging {
    border-color: var(--accent); color: var(--accent); background: var(--accent-soft);
}
.photo-drop .icon { font-size: 20px; opacity: 0.7; }
.photo-drop input[type="file"] { display: none; }

.photo-thumbs {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 6px; margin-top: 8px;
}
.photo-thumb {
    position: relative;
    aspect-ratio: 1;
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg-input);
    border: 1px solid var(--border);
}
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-thumb .remove {
    position: absolute; top: 3px; right: 3px;
    width: 20px; height: 20px; border-radius: 50%;
    background: rgba(0,0,0,0.6); color: #fff; border: none;
    cursor: pointer; font-size: 12px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    line-height: 1; padding: 0;
}
.photo-thumb .remove:hover { background: rgba(176,90,90,0.95); }
.photo-thumb.uploading::after {
    content: ''; position: absolute; inset: 0;
    background: rgba(255,255,255,0.6);
    display: flex; align-items: center; justify-content: center;
}
.photo-error {
    color: var(--red); font-size: 10px;
    margin-top: 4px; padding: 4px 8px;
    background: var(--red-soft); border-radius: 6px;
    display: none;
}
.photo-error.visible { display: block; }

.photo-help {
    font-size: 9px; color: var(--text-muted); line-height: 1.5;
    margin-top: 10px; padding-top: 10px;
    border-top: 1px solid var(--border-light);
}

/* ─── PRINT ─────────────────────────────────────────────── */
@media print {
    .navbar, .btn, .btn-row, .progress-bar, .theme-toggle, .cta-banner { display: none !important; }
    body { background: #fff; color: #000; }
    .card { border: 1px solid #ccc; box-shadow: none; }
}

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 380px) {
    .shape-grid { grid-template-columns: repeat(3, 1fr); }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .mfr-tabs { flex-wrap: wrap; }
    .material-grid { grid-template-columns: 1fr; }
    .photo-thumbs { grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); }
}


/* ═══════════════════════════════════════════════════════════
   PHASE 4 — V2 identity components
   ═══════════════════════════════════════════════════════════ */

h1, h2 { letter-spacing: -0.02em; }

.hero-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    border-radius: 100px;
    padding: 5px 12px;
}

/* Audience selector (landing) */
.audience-row { display: flex; gap: 10px; margin: 18px 0 6px; }
.audience-card {
    flex: 1; cursor: pointer; text-align: left;
    background: var(--bg-card); border: 1.5px solid var(--border);
    border-radius: 12px; padding: 12px 14px;
    transition: border-color .15s ease, background .15s ease;
    font-family: var(--font); color: var(--text);
}
.audience-card:hover { border-color: var(--accent-border); }
.audience-card.active {
    border-color: var(--accent); background: var(--accent-soft);
}
.audience-card .aud-title { font-weight: 700; font-size: 14px; }
.audience-card .aud-desc { font-size: 11.5px; color: var(--text-muted); margin-top: 2px; line-height: 1.45; }

/* Pattern auto-correction notice (product screen) */
.pattern-notice {
    display: flex; gap: 10px; align-items: flex-start;
    background: var(--warm-soft); border: 1px solid var(--warm);
    border-radius: 10px; padding: 12px 14px; margin-bottom: 14px;
    font-size: 13px; line-height: 1.5; color: var(--text-soft);
}
.pattern-notice .pn-icon { flex-shrink: 0; font-size: 16px; line-height: 1.3; }
.pattern-notice strong { color: var(--text); }
.pattern-notice .pn-dismiss {
    margin-left: auto; flex-shrink: 0; background: none; border: none;
    color: var(--text-muted); cursor: pointer; font-size: 16px; padding: 0 2px;
}

/* Results extras: what-can-change + secondary CTAs */
.results-extras { margin: 4px 0 18px; }
.what-changes {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 12px; margin-bottom: 12px; overflow: hidden;
}
.what-changes summary {
    cursor: pointer; list-style: none; padding: 13px 16px;
    font-size: 13.5px; font-weight: 600; color: var(--text);
    display: flex; align-items: center; gap: 8px;
}
.what-changes summary::-webkit-details-marker { display: none; }
.what-changes summary::after {
    content: '+'; margin-left: auto; color: var(--text-muted);
    font-size: 16px; font-weight: 500;
}
.what-changes[open] summary::after { content: '–'; }
.what-changes .wc-body {
    padding: 2px 16px 14px; font-size: 12.5px; line-height: 1.6;
    color: var(--text-soft);
}
.what-changes .wc-body ul { margin: 0; padding-left: 18px; }
.what-changes .wc-body li { margin-bottom: 5px; }

.extras-row { display: flex; gap: 10px; }
.btn-secondary-cta {
    flex: 1; cursor: pointer; font-family: var(--font);
    background: var(--bg-card); border: 1.5px solid var(--border);
    border-radius: 10px; padding: 11px 10px; text-align: center;
    font-size: 12.5px; font-weight: 600; color: var(--text-soft);
    transition: border-color .15s ease, color .15s ease;
}
.btn-secondary-cta:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 480px) {
    .audience-row { flex-direction: column; }
    .extras-row { flex-direction: column; }
}

/* ─── V2.0.1 HOTFIX: dimension input rows overflowing the card ──────────
   Number inputs have a large intrinsic min-width; grid/flex children won't
   shrink below it unless explicitly allowed. This lets ft/in pairs share
   the row on any viewport. Applies to wall, paver, and bulk dims alike. */
.form-row-2 { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.form-row-3 { grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1fr); }
.form-row-2 > div, .form-row-3 > div { min-width: 0; }
.dim-input .form-input { min-width: 0; }


/* ─── V2.0.2: brand line icons replace emoji ─────────────────────── */
.type-icon { color: var(--accent); display: flex; align-items: center; }
.type-icon svg { width: 30px; height: 30px; }
.feature-icon { color: var(--accent); display: flex; margin-top: 1px; }
.feature-icon svg { width: 20px; height: 20px; }
.btn-secondary-cta svg { width: 15px; height: 15px; vertical-align: -3px; margin-right: 5px; color: var(--accent); }
.what-changes summary svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }


/* ═══════════════════════════════════════════════════════════
   V3 — HOMEPAGE + APP-MODE
   Static marketing homepage lives in #home; the calculator SPA
   lives in .app-shell. body.app-mode switches between them.
   ═══════════════════════════════════════════════════════════ */

:root {
    --display: 'Barlow Condensed', 'Inter', sans-serif;
}

/* Mode switching */
.app-shell { display: none; }
body.app-mode .app-shell { display: flex; }
body.app-mode #home { display: none; }

/* Wider app column on larger screens — 430px phone-column on desktop
   read as an unfinished beta. Forms stay comfortable at 560. */
@media (min-width: 720px) {
    .app-shell { max-width: 560px; }
    #screen-results, #screen-quote { margin: 0 auto; }
}
@media (min-width: 1024px) {
    body.app-mode { background: var(--bg); }
    .app-shell { max-width: 600px; }
}

/* ─── ACCESSIBILITY FLOOR ───────────────────────────────── */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ─── TOAST (replaces alert()) ──────────────────────────── */
.mp-toast {
    position: fixed;
    left: 50%; bottom: 24px;
    transform: translate(-50%, 12px);
    background: var(--text);
    color: var(--bg);
    padding: 11px 18px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    max-width: min(92vw, 440px);
    text-align: center;
    line-height: 1.45;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    z-index: 500;
}
.mp-toast.show { opacity: 1; transform: translate(-50%, 0); }
.mp-toast.error { background: var(--red); color: #fff; }

/* Inline field error (dims validation) */
.field-error {
    background: var(--red-soft);
    border: 1px solid rgba(176,90,90,0.30);
    color: var(--red);
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
}

/* ═══════════════════════════════════════════════════════════
   HOMEPAGE (.hp-*) — all styles scoped, no bleed into app
   ═══════════════════════════════════════════════════════════ */

#home { min-height: 100vh; }
#home main { max-width: 1120px; margin: 0 auto; padding: 0 22px; }

/* ─── NAV ───────────────────────────────────────────────── */
.hp-nav {
    position: sticky; top: 0; z-index: 100;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}
.hp-nav-inner {
    max-width: 1120px; margin: 0 auto; padding: 12px 22px;
    display: flex; align-items: center; gap: 26px;
}
.hp-nav-links { display: flex; gap: 22px; margin-left: 8px; }
.hp-nav-links a {
    color: var(--text-soft); font-size: 14px; font-weight: 600;
    text-decoration: none;
}
.hp-nav-links a:hover { color: var(--accent); }
.hp-nav-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.hp-nav-cta { padding: 9px 18px; font-size: 13.5px; }

/* ─── HERO ──────────────────────────────────────────────── */
.hp-hero {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 48px;
    align-items: center;
    padding: 64px 0 56px;
}
.hp-eyebrow {
    display: inline-block;
    font-family: var(--display);
    font-size: 15px; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--warm-text);
    border-bottom: 2px solid var(--warm);
    padding-bottom: 4px;
    margin-bottom: 18px;
}
.hp-hero h1 {
    font-family: var(--display);
    font-size: clamp(38px, 4.6vw, 58px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: 0;
    color: var(--text);
    margin-bottom: 18px;
    text-wrap: balance;
}
.hp-sub {
    color: var(--text-soft);
    font-size: 16.5px;
    line-height: 1.65;
    max-width: 520px;
    margin-bottom: 26px;
}
.hp-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hp-cta-main { padding: 14px 26px; font-size: 15.5px; }
.hp-cta-alt { padding: 14px 22px; font-size: 15px; }
.hp-cta-note { color: var(--text-muted); font-size: 12.5px; margin-top: 14px; }

/* ─── SIGNATURE: SAMPLE TAKEOFF SHEET ───────────────────── */
.hp-takeoff {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: 3px solid var(--accent);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 20px 22px 16px;
}
.hp-takeoff-head {
    display: flex; justify-content: space-between; align-items: baseline;
    gap: 12px; flex-wrap: wrap;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border);
    margin-bottom: 6px;
}
.hp-takeoff-title {
    font-family: var(--display);
    font-size: 17px; font-weight: 700;
    letter-spacing: 0.10em; text-transform: uppercase;
    color: var(--text);
}
.hp-takeoff-meta { font-size: 12px; color: var(--text-muted); font-weight: 600; }
.hp-tr {
    display: flex; justify-content: space-between; align-items: baseline;
    gap: 16px;
    padding: 9px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 13.5px;
}
.hp-tr:last-child { border-bottom: none; }
.hp-tr span { color: var(--text-soft); }
.hp-tr span em { color: var(--text-muted); font-style: normal; font-size: 11.5px; }
.hp-tr b {
    font-family: var(--mono);
    font-weight: 600;
    font-size: 13px;
    color: var(--text);
    white-space: nowrap;
}
.hp-takeoff-stamp {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px dashed var(--border);
    font-family: var(--display);
    font-size: 13px; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--warm-text);
    text-align: center;
}

/* ─── SECTIONS ──────────────────────────────────────────── */
.hp-section { padding: 54px 0; border-top: 1px solid var(--border-light); }
.hp-section-head { margin-bottom: 30px; }
.hp-section-head h2, .hp-split h2, .hp-final h2 {
    font-family: var(--display);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text);
}
.hp-section-head p { color: var(--text-muted); font-size: 15px; margin-top: 8px; }

/* ─── PROJECT CARDS ─────────────────────────────────────── */
.hp-projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.hp-project {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 20px 16px;
    text-align: left;
    cursor: pointer;
    font-family: var(--font);
    display: flex; flex-direction: column; gap: 6px;
    transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
    box-shadow: var(--shadow);
}
.hp-project:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.hp-project-name { font-size: 16px; font-weight: 700; color: var(--text); line-height: 1.3; }
.hp-project-sub { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; flex: 1; }
.hp-project-go { font-size: 13px; font-weight: 700; color: var(--accent); margin-top: 8px; }

/* ─── STEPS ─────────────────────────────────────────────── */
.hp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.hp-step-num {
    font-family: var(--mono);
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px;
    border: 1.5px solid var(--accent);
    color: var(--accent);
    border-radius: 8px;
    font-size: 15px; font-weight: 600;
    margin-bottom: 12px;
}
.hp-step h3 { font-size: 16.5px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.hp-step p { font-size: 13.5px; color: var(--text-soft); line-height: 1.6; }

/* ─── SPLIT: WHAT YOU GET / WHY REVIEW ──────────────────── */
.hp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.hp-checks { list-style: none; margin-top: 18px; }
.hp-checks li {
    position: relative;
    padding: 8px 0 8px 30px;
    font-size: 14.5px;
    color: var(--text-soft);
    line-height: 1.5;
    border-bottom: 1px solid var(--border-light);
}
.hp-checks li:last-child { border-bottom: none; }
.hp-checks li::before {
    content: '';
    position: absolute; left: 2px; top: 13px;
    width: 14px; height: 8px;
    border-left: 2.5px solid var(--green);
    border-bottom: 2.5px solid var(--green);
    transform: rotate(-45deg);
}
.hp-why-review {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 30px 32px;
    box-shadow: var(--shadow);
    align-self: start;
}
.hp-why-review p { font-size: 14.5px; color: var(--text-soft); line-height: 1.7; margin: 14px 0; }

/* ─── PATHS ─────────────────────────────────────────────── */
.hp-paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hp-path {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 26px 24px;
    box-shadow: var(--shadow);
    display: flex; flex-direction: column;
}
.hp-path h3 {
    font-family: var(--display);
    font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 8px;
}
.hp-path p { font-size: 13.5px; color: var(--text-soft); line-height: 1.65; margin-bottom: 18px; flex: 1; }
.hp-path .btn { align-self: flex-start; }

/* ─── BRANDS ────────────────────────────────────────────── */
.hp-brands { text-align: center; }
.hp-brands-label {
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.10em; text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 14px;
}
.hp-brands-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.hp-brands-row span {
    font-family: var(--display);
    font-size: 19px; font-weight: 600;
    color: var(--text-soft);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 7px 20px;
    background: var(--bg-card);
}

/* ─── FAQ ───────────────────────────────────────────────── */
.hp-faq { max-width: 760px; }
.hp-faq details {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}
.hp-faq summary {
    cursor: pointer; list-style: none;
    padding: 15px 18px;
    font-size: 15px; font-weight: 700; color: var(--text);
    display: flex; align-items: center;
}
.hp-faq summary::-webkit-details-marker { display: none; }
.hp-faq summary::after {
    content: '+'; margin-left: auto;
    color: var(--text-muted); font-size: 18px; font-weight: 500;
}
.hp-faq details[open] summary::after { content: '–'; }
.hp-faq details p { padding: 0 18px 16px; font-size: 14px; color: var(--text-soft); line-height: 1.65; }

/* ─── FINAL CTA + FOOTER ────────────────────────────────── */
.hp-final { text-align: center; }
.hp-final h2 { margin-bottom: 22px; }
.hp-footer {
    border-top: 1px solid var(--border);
    margin-top: 24px;
    padding: 30px 22px 40px;
    text-align: center;
}
.hp-footer p { color: var(--text-muted); font-size: 12px; line-height: 1.7; margin-bottom: 8px; }
.hp-footer a { color: var(--accent); text-decoration: none; }

/* ─── HOMEPAGE RESPONSIVE ───────────────────────────────── */
@media (max-width: 920px) {
    .hp-hero { grid-template-columns: 1fr; gap: 34px; padding: 40px 0 44px; }
    .hp-projects, .hp-steps, .hp-paths { grid-template-columns: 1fr 1fr; }
    .hp-split { grid-template-columns: 1fr; gap: 34px; }
    .hp-nav-links { display: none; }
}
@media (max-width: 600px) {
    .hp-projects, .hp-steps, .hp-paths { grid-template-columns: 1fr; }
    .hp-hero { padding: 30px 0 36px; }
    .hp-cta-row .btn { width: 100%; }
    .hp-nav-cta { display: none; }
    #home main { padding: 0 16px; }
    .hp-section { padding: 40px 0; }
}

/* ═══ Project Report card (Phase 1 report platform) ═══ */
.report-card{background:linear-gradient(135deg,#1D2430 0%,#26374a 100%);border-radius:14px;padding:20px;margin:14px 0;color:#F2EFEA;}
.report-card .rc-title{font-size:14px;font-weight:700;letter-spacing:.02em;color:#fff;margin-bottom:2px;}
.report-card .rc-no{font-size:11px;font-weight:600;letter-spacing:.14em;color:#C9B99C;margin-bottom:8px;}
.report-card .rc-sub{font-size:12.5px;line-height:1.55;color:#B9C4D0;margin:0 0 14px;}
.report-card .rc-actions{display:flex;gap:8px;flex-wrap:wrap;}
.report-card .rc-actions .btn{flex:0 0 auto;}
.report-card .btn-outline{background:transparent;color:#E6DFD1;border:1.5px solid #4A7DA1;}
.report-card .rc-err{margin-top:8px;font-size:12.5px;color:#f0b9b9;font-weight:600;min-height:1em;}

/* ═══ Trace-on-map entry banner (Phase 2) ═══ */
.trace-banner{display:flex;align-items:center;gap:12px;background:linear-gradient(135deg,#4A7DA1 0%,#3a6486 100%);border-radius:12px;padding:14px 16px;margin-bottom:16px;cursor:pointer;color:#fff;transition:transform .12s ease;}
.trace-banner:active{transform:translateY(1px);}
.trace-banner .tb-ic{font-size:22px;flex-shrink:0;width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.16);border-radius:9px;}
.trace-banner .tb-title{font-size:14px;font-weight:700;}
.trace-banner .tb-sub{font-size:11.5px;color:#DCE6EE;line-height:1.4;margin-top:2px;}
.trace-banner .tb-arrow{margin-left:auto;font-size:18px;flex-shrink:0;}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION — mobile panel + Pro entry
   The header previously collapsed to a logo and a theme toggle:
   .hp-nav-links went display:none at 900px and .hp-nav-cta at 600px,
   leaving phones with no navigation at all.
   ═══════════════════════════════════════════════════════════════ */
.hp-nav-pro {
    padding: 6px 13px; border: 1px solid var(--border); border-radius: 20px;
    font-weight: 600; white-space: nowrap;
}
.hp-nav-pro:hover { border-color: var(--accent); color: var(--accent); }

.hp-nav-burger {
    display: none; flex-direction: column; gap: 4px; justify-content: center;
    width: 40px; height: 40px; padding: 9px; margin-left: 4px;
    background: transparent; border: 1px solid var(--border); border-radius: 9px; cursor: pointer;
}
.hp-nav-burger span { display: block; height: 2px; width: 100%; background: var(--text-soft); border-radius: 2px; }
.hp-nav-burger:hover { border-color: var(--accent); }
.hp-nav-burger:hover span { background: var(--accent); }

.hp-nav-panel { display: none; }
.hp-nav-panel[hidden] { display: none !important; }
body.nav-open { overflow: hidden; }

@media (max-width: 900px) {
    .hp-nav-burger { display: flex; }
    .hp-nav-panel {
        display: flex; flex-direction: column; gap: 2px;
        padding: 12px 16px 18px;
        background: var(--bg-elevated);
        border-top: 1px solid var(--border);
        box-shadow: 0 12px 24px rgba(0,0,0,.10);
    }
    .hp-nav-panel a {
        padding: 13px 4px; font-size: 15px; font-weight: 600;
        color: var(--text); text-decoration: none;
        border-bottom: 1px solid var(--border-light);
    }
    .hp-nav-panel a:last-of-type { border-bottom: 0; }
    .hp-nav-panel-pro { color: var(--accent) !important; }
    .hp-nav-panel .btn { width: 100%; margin-top: 10px; }
}

/* ═══ FOR CONTRACTORS / PRO ═══ */
.hp-pro { background: var(--bg-elevated); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.hp-pro-inner { max-width: 1040px; margin: 0 auto; }
.hp-pro h2 { margin: 6px 0 10px; }
.hp-pro-lead { font-size: 16px; line-height: 1.65; color: var(--text-soft); max-width: 620px; margin: 0 0 26px; }
.hp-pro-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 30px; align-items: start; }
.hp-pro-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.hp-pro-list li { font-size: 14.5px; line-height: 1.55; color: var(--text-soft); padding-left: 22px; position: relative; }
.hp-pro-list li::before { content: '→'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.hp-pro-list strong { color: var(--text); }

.hp-pro-example {
    margin: 0; padding: 18px 20px; border-radius: 12px;
    background: var(--bg-card, var(--bg)); border: 1px solid var(--border);
}
.hp-pro-example figcaption {
    font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    color: var(--text-muted); margin-bottom: 12px;
}
.hp-pro-ex-row {
    display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
    padding: 9px 0; border-top: 1px solid var(--border-light); font-size: 14px;
}
.hp-pro-ex-row:first-of-type { border-top: 0; }
.hp-pro-ex-row span { color: var(--text-soft); }
.hp-pro-ex-row b { color: var(--text); font-weight: 700; }
.hp-pro-ex-priv b { color: var(--accent); }

.hp-pro-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.hp-pro-cta .btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.hp-pro-note { font-size: 12.5px; color: var(--text-muted); margin: 12px 0 0; }

@media (max-width: 820px) {
    .hp-pro-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
    .hp-pro-cta .btn { width: 100%; }
}

/* ═══ NEXT STEPS — three outcomes, not one funnel ═══ */
.next-steps { margin: 16px 0; }
.ns-head { margin-bottom: 12px; }
.ns-title { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.ns-sub { font-size: 13.5px; color: var(--text-soft); margin-top: 3px; line-height: 1.5; }
.ns-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ns-card {
    display: flex; flex-direction: column; gap: 5px; text-align: left;
    padding: 15px 16px; border-radius: 11px; cursor: pointer;
    background: var(--bg-elevated); border: 1px solid var(--border);
    font-family: var(--font); text-decoration: none;
    transition: border-color .15s, transform .15s;
}
.ns-card:hover { border-color: var(--accent); transform: translateY(-1px); }
.ns-card.ns-primary { border-color: var(--accent); background: var(--accent-soft); }
.ns-k { font-size: 14.5px; font-weight: 700; color: var(--text); }
.ns-d { font-size: 12.5px; line-height: 1.5; color: var(--text-soft); }
.rc-pro-note { font-size: 11.5px; color: #B9C4D0; margin: 10px 0 0; line-height: 1.5; }
@media (max-width: 720px) { .ns-grid { grid-template-columns: 1fr; } }
