/* Russell Security mockup v4 — local contractor, modern execution */

:root {
    --bg-dark: #152238;
    --bg-elevated: #1c2d47;
    --bg-card: #ffffff;
    --bg-light: #f0f4f8;
    --bg-white: #ffffff;
    --accent: #5aaff7;
    --accent-hover: #3d96e8;
    --accent-dim: rgb(90 175 247 / 12%);
    --accent-glow: rgb(90 175 247 / 25%);
    --warm: #e8872b;
    --text: #eef2f7;
    --text-muted: #64748b;
    --text-dark: #1e293b;
    --text-dark-muted: #475569;
    --border: #e2e8f0;
    --border-light: #e2e8f0;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-pill: 999px;
    --font-display: "Space Grotesk", system-ui, sans-serif;
    --font-body: "Inter", system-ui, sans-serif;
    --shadow: 0 12px 40px rgb(21 34 56 / 12%);
    --wrap: min(1140px, calc(100% - 2rem));
    --page-gutter: 1rem;
    --mobile-dock-h: 3.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}
body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.wrap { width: var(--wrap); margin-inline: auto; }

/* Ribbon */
.mockup-ribbon {
    background: #fef3c7;
    border-bottom: 1px solid #fcd34d;
    padding: 0.5rem 1rem;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #92400e;
}
.mockup-ribbon a { color: #b45309; }

/* Nav — light professional header */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
}
@supports (backdrop-filter: blur(12px)) {
    .site-nav {
        background: rgb(255 255 255 / 94%);
        backdrop-filter: blur(12px);
    }
}
.nav-links {
    display: none;
    align-items: center;
    gap: 1.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-dark-muted);
}
.nav-links a:hover { color: var(--text-dark); }
.nav-cta .btn-ghost {
    color: var(--text-dark);
    border-color: var(--border);
}
.nav-cta .btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent-hover);
}
.top-bar {
    background: var(--bg-dark);
    color: rgb(255 255 255 / 80%);
    font-size: 0.8125rem;
    padding: 0.5rem 0;
}
.top-bar .wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    justify-content: space-between;
}
.top-bar a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}
.top-bar a:hover {
    text-decoration: underline;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.25rem;
}
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 0;
}
.logo img {
    height: 2.75rem;
    width: auto;
    max-width: none;
    object-fit: contain;
}
.nav-links a { text-decoration: none; transition: color 0.15s; }
.nav-cta {
    display: none;
    align-items: center;
    gap: 0.75rem;
}
.menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-white);
    color: var(--text-dark);
    font-size: 1.25rem;
    line-height: 1;
}
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    padding-bottom: 1rem;
    border-top: 1px solid var(--border);
    background: var(--bg-white);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    padding: 0.875rem 0;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}
a.btn { text-decoration: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary {
    background: var(--accent);
    color: var(--bg-dark);
    box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost {
    background: transparent;
    color: var(--text-dark);
    border: 1px solid var(--border);
}
.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent-hover);
}
.btn-warm {
    background: var(--warm);
    color: var(--bg-dark);
}

/* Hero */
.hero {
    background: var(--bg-dark);
    color: var(--text);
    padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(1.5rem, 4vw, 2.25rem);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    top: -20%;
    right: -10%;
    width: 55%;
    height: 80%;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}
.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
    position: relative;
}
@media (min-width: 900px) {
    .hero-grid { grid-template-columns: 1fr 1fr; }
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    background: var(--accent-dim);
    border: 1px solid rgb(90 175 247 / 25%);
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1.25rem;
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin: 0 0 1.25rem;
}
.hero h1 em {
    font-style: normal;
    color: var(--accent);
}
.hero-sub {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 32rem;
    margin: 0 0 1.5rem;
    line-height: 1.65;
}
.hero-checks {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: grid;
    gap: 0.6rem;
}
.hero-checks li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.9375rem;
    color: var(--text);
}
.hero-checks li::before {
    content: "✓";
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    color: var(--accent);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-visual {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.hero-visual img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}
.hero-visual-caption {
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
}

/* Stats row — Save Me pattern */
.stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
@media (min-width: 768px) {
    .stats-row { grid-template-columns: repeat(4, 1fr); }
}
.stat {
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 1rem + 1.5vw, 2rem);
    font-weight: 700;
    color: var(--accent);
    line-height: 1.1;
    margin-bottom: 0.35rem;
}
.stat span {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Section utilities */
.section { padding: clamp(2.5rem, 4.5vw, 3.5rem) 0; }
.section-light + .section-light,
.section-dark + .section-dark {
    padding-top: clamp(1rem, 2.5vw, 1.5rem);
}
.section-dark { background: var(--bg-dark); color: var(--text); }
.section-light { background: var(--bg-light); }
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}
.section-dark .section-label { color: var(--accent); }
.section-light .section-label { color: var(--accent); }
.section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 1rem;
}
.section-dark h2 { color: var(--text); }
.section-intro {
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 40rem;
    margin-bottom: 1.5rem;
}
.section-light .section-intro { color: var(--text-dark-muted); }

/* Problem list */
.problem-list {
    display: grid;
    gap: 1rem;
    max-width: 36rem;
}
.problem-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
    font-size: 0.9375rem;
}
.problem-item::before {
    content: "×";
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(224 66 66 / 15%);
    color: #e04242;
    border-radius: 8px;
    font-weight: 700;
}

/* Portal mockup — Save Me interactive demo style */
.portal-mock {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.portal-mock-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1rem;
    background: #0d1118;
    border-bottom: 1px solid var(--border);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.portal-mock-bar .live {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #34d399;
}
.portal-mock-bar .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34d399;
    animation: blink 1.5s infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.portal-mock-body {
    display: grid;
    gap: 0;
}
@media (min-width: 640px) {
    .portal-mock-body { grid-template-columns: 1fr 1fr; }
}
.portal-screen {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border);
}
@media (min-width: 640px) {
    .portal-screen:first-child { border-right: 1px solid var(--border); border-bottom: none; }
}
.portal-screen-label {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}
.portal-feed {
    display: grid;
    gap: 0.5rem;
}
.portal-event {
    padding: 0.65rem 0.75rem;
    background: var(--bg-card);
    border-radius: 10px;
    font-size: 0.75rem;
    border-left: 3px solid var(--accent);
}
.portal-event time {
    display: block;
    color: var(--text-muted);
    font-size: 0.625rem;
    margin-bottom: 0.2rem;
}
.portal-map {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #1a2535 0%, #0d1520 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    position: relative;
}
.portal-map::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-glow);
}
.portal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem;
    background: #0d1118;
    border-top: 1px solid var(--border);
}
.portal-actions span {
    padding: 0.4rem 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Two-col product */
.split {
    display: grid;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 900px) {
    .split { grid-template-columns: 1fr 1fr; }
}
.split ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: grid;
    gap: 0.75rem;
}
.split li {
    display: flex;
    gap: 0.65rem;
    font-size: 0.9375rem;
    color: var(--text-dark-muted);
}
.section-dark .split li {
    color: rgb(255 255 255 / 72%);
}
.section-dark .split li a {
    color: var(--accent);
}
.split li::before {
    content: "→";
    color: var(--accent);
    font-weight: 700;
}
.photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.photo-grid img {
    border-radius: var(--radius);
    aspect-ratio: 4/3;
    object-fit: cover;
    border: 1px solid var(--border);
}
.photo-grid figcaption {
    grid-column: 1 / -1;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

/* Feature cards grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
    padding: 1.5rem;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.section-dark .feature-card {
    background: var(--bg-card);
    border-color: var(--border);
}
.feature-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 32px var(--accent-glow);
}
.feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    border-radius: 12px;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}
.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}
.section-dark .feature-card h3 { color: var(--text); }
.feature-card p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-dark-muted);
    line-height: 1.55;
}
.section-dark .feature-card p { color: var(--text-muted); }

/* Split feature panels */
.feature-panel {
    display: grid;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
    .feature-panel { grid-template-columns: 1fr 1fr; padding: 2.5rem; }
    .feature-panel.reverse .feature-panel-visual { order: 2; }
}
.feature-panel-visual {
    background: var(--bg-dark);
    border-radius: var(--radius);
    padding: 1.25rem;
    border: 1px solid var(--border);
}
.alert-mock {
    background: var(--bg-card);
    border-left: 4px solid var(--warm);
    padding: 1rem;
    border-radius: 0 10px 10px 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
}
.alert-mock strong {
    display: block;
    color: var(--warm);
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
}
.admin-mock {
    background: var(--bg-card);
    padding: 1rem;
    border-radius: 10px;
    font-size: 0.8125rem;
    color: var(--text-muted);
    border: 1px solid var(--border);
}

/* Benefits numbered */
.benefits-grid {
    display: grid;
    gap: 1rem;
}
@media (min-width: 768px) {
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .benefits-grid { grid-template-columns: repeat(3, 1fr); }
}
.benefit {
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.benefit-num {
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.75rem;
}
.benefit h3 {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.35rem;
}
.benefit p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Monitoring band */
.monitoring-band {
    display: grid;
    gap: 2rem;
    align-items: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-dark) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
@media (min-width: 900px) {
    .monitoring-band { grid-template-columns: 1fr 1fr; }
}
.monitoring-band img {
    border-radius: var(--radius);
    aspect-ratio: 16/10;
    object-fit: cover;
}

/* Reviews */
.reviews-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 2rem;
    margin-bottom: 2rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
}
.reviews-score {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}
.reviews-meta { font-size: 0.875rem; color: var(--text-dark-muted); }
.reviews-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
}
@media (min-width: 768px) {
    .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}
.review-card {
    padding: 1.5rem;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
}
.review-card p {
    margin: 0 0 1rem;
    font-size: 0.9375rem;
    color: var(--text-dark);
    line-height: 1.6;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.review-avatar {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--accent-dim);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}
.review-author strong {
    display: block;
    font-size: 0.875rem;
}
.review-author span {
    font-size: 0.75rem;
    color: var(--text-dark-muted);
}

/* FAQ accordion */
.faq-list { width: 100%; }
.faq-item {
    border-bottom: 1px solid var(--border-light);
}
.section-dark .faq-item { border-color: var(--border); }
.faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 0;
    text-align: left;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}
.section-dark .faq-q { color: var(--text); }
.faq-q::after {
    content: "+";
    font-size: 1.25rem;
    color: var(--accent);
    flex-shrink: 0;
}
.faq-item.open .faq-q::after { content: "−"; }
.faq-a {
    display: none;
    padding: 0 0 1.25rem;
    font-size: 0.9375rem;
    color: var(--text-dark-muted);
    line-height: 1.65;
}
.section-dark .faq-a { color: var(--text-muted); }
.faq-item.open .faq-a { display: block; }
.faq-a a { color: var(--accent); }

/* CTA + form */
.cta-section {
    background: var(--bg-dark);
    color: var(--text);
    padding: 2rem 0;
}
.cta-band {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: stretch;
    padding: 1.5rem 1.75rem;
    background: var(--bg-elevated);
    border: 1px solid rgb(255 255 255 / 8%);
    border-radius: var(--radius-lg);
}
@media (min-width: 768px) {
    .cta-band {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
        padding: 1.75rem 2rem;
    }
}
.cta-band__text { min-width: 0; }
.cta-section h2 {
    font-size: clamp(1.125rem, 0.9rem + 1vw, 1.375rem);
    margin: 0 0 0.35rem;
    color: var(--text);
}
.cta-section .section-label {
    margin-bottom: 0.35rem;
    font-size: 0.6875rem;
}
.cta-band__emails {
    margin: 0;
    font-size: 0.8125rem;
    color: rgb(255 255 255 / 55%);
    line-height: 1.5;
}
.cta-band__emails a {
    color: var(--accent);
    text-decoration: none;
}
.cta-band__emails a:hover { text-decoration: underline; }
.cta-band__phone {
    flex-shrink: 0;
    align-self: flex-start;
}
@media (min-width: 768px) {
    .cta-band__phone { align-self: center; }
}
@media (max-width: 767px) {
    .cta-band__phone { width: 100%; }
}
.cta-grid {
    display: grid;
    gap: 3rem;
}
@media (min-width: 900px) {
    .cta-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}
.contact-form h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin: 0 0 0.35rem;
    color: var(--text);
}
.contact-form > p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0 0 1.5rem;
}
.form-field { margin-bottom: 1rem; }
.form-field label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--text-muted);
}
.form-field input,
.form-field textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.9375rem;
}
.form-field textarea { min-height: 5rem; resize: vertical; }
.contact-form .btn { width: 100%; margin-top: 0.5rem; }

/* Footer */
.site-footer {
    background: var(--bg-dark);
    color: rgb(255 255 255 / 78%);
    padding: 3rem 0 1.5rem;
    font-size: 0.875rem;
    line-height: 1.55;
}
.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}
.footer-brand img {
    height: 2.5rem;
    width: auto;
    max-width: none;
    object-fit: contain;
    margin-bottom: 0.75rem;
}
.footer-brand p {
    margin: 0;
    max-width: 16rem;
    color: rgb(255 255 255 / 68%);
}
.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 0.75rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li {
    color: rgb(255 255 255 / 75%);
}
.footer-col li + li { margin-top: 0.5rem; }
.footer-col a {
    color: rgb(255 255 255 / 88%);
    text-decoration: none;
    transition: color 0.15s;
}
.footer-col a:hover { color: var(--accent); }
.footer-base {
    padding-top: 1.5rem;
    border-top: 1px solid rgb(255 255 255 / 12%);
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
    font-size: 0.8125rem;
    color: rgb(255 255 255 / 58%);
}
.footer-base a {
    color: rgb(255 255 255 / 75%);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.footer-base a:hover { color: var(--accent); }

/* Mobile dock */
.mobile-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    background: var(--bg-dark);
    border-top: 1px solid rgb(255 255 255 / 12%);
    padding: 0.35rem 0.35rem max(0.35rem, env(safe-area-inset-bottom));
    min-height: var(--mobile-dock-h);
}
.mobile-dock a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 10px;
}
.mobile-dock a.primary {
    background: var(--accent);
    color: var(--bg-dark);
}

/* Service page */
.page-hero-sm {
    background: var(--bg-dark);
    color: var(--text);
    padding: 3rem 0;
}
.page-hero-sm h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
    margin: 0 0 0.75rem;
}
.breadcrumb {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.page-hero-sm .breadcrumb a {
    color: var(--accent);
    text-decoration: none;
}
.page-hero-sm .breadcrumb a:hover {
    text-decoration: underline;
}
/* Legal pages */
.legal-page {
    padding-top: 2rem;
    padding-bottom: 3rem;
}
.legal-content {
    max-width: 48rem;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-dark-muted);
}
.legal-content p {
    margin: 0 0 1rem;
}
.legal-content ul,
.legal-content ol {
    margin: 0 0 1.25rem 1.25rem;
    padding: 0;
}
.legal-content li {
    margin-bottom: 0.5rem;
}
.legal-content li + li {
    margin-top: 0.35rem;
}
.legal-content b,
.legal-content strong {
    color: var(--text-dark);
    font-weight: 600;
}
.legal-content a {
    color: var(--accent-hover);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.legal-content a:hover {
    color: var(--accent);
}
.page-hero-sm .hero-sub {
    color: var(--text-muted);
    margin: 0;
    max-width: 36rem;
}

/* City landing pages */
.city-page {
    display: grid;
    gap: 2rem;
}
@media (min-width: 900px) {
    .city-page {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
        align-items: start;
        gap: 2.5rem;
    }
}
.city-page__content h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin: 1.75rem 0 0.75rem;
    color: var(--text-dark);
}
.city-cta-card {
    padding: 1.5rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgb(21 34 56 / 6%);
}
.city-cta-card h2 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    margin: 0.5rem 0 0.75rem;
    color: var(--text-dark);
}
.city-cta-card p {
    color: var(--text-dark-muted);
    margin: 0 0 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.5;
}
.city-cta-card .btn {
    width: 100%;
    margin-bottom: 0.5rem;
}
.city-cta-card .btn:last-child {
    margin-bottom: 0;
}
.area-tags a {
    color: inherit;
    text-decoration: none;
}
.area-tags a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

@media (min-width: 768px) {
    .nav-links, .nav-cta { display: flex; }
    .menu-btn { display: none; }
    .mobile-menu { display: none !important; }
    .mobile-dock { display: none; }
    body { padding-bottom: 0; }
}
@media (max-width: 767px) {
    body.has-dock {
        padding-bottom: var(--mobile-dock-h);
    }
}

/* Device frame */
.device-page {
    background: #e8ecf1;
    min-height: 100vh;
    padding: 2rem 1rem;
}
/* v4 — contractor site components */
.hero--light {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
    color: var(--text-dark);
}
.hero--light .hero-sub { color: var(--text-dark-muted); }
.hero--light .hero-sub a {
    color: var(--accent-hover);
    font-weight: 600;
    text-decoration: none;
}
.hero--light .hero-sub a:hover { text-decoration: underline; }
.hero--light .btn-ghost {
    color: var(--text-dark);
    border-color: var(--border);
}
.hero--light .btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent-hover);
}
.hero--light .hero-badge {
    background: var(--accent-dim);
    color: var(--accent-hover);
    border-color: rgb(90 175 247 / 30%);
}
.hero--light h1 { color: var(--text-dark); }
.hero--light .hero-visual {
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.hero--light .hero-visual-caption {
    background: var(--bg-white);
    color: var(--text-dark-muted);
    border-top: 1px solid var(--border);
}
.pillars {
    display: grid;
    gap: 1.25rem;
    margin-top: 1.25rem;
}
@media (min-width: 768px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar {
    padding: 1.5rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.pillar-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-hover);
    margin-bottom: 0.5rem;
}
.pillar h3 {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
    color: var(--text-dark);
}
.pillar ul {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.875rem;
    color: var(--text-dark-muted);
}
.pillar li + li { margin-top: 0.35rem; }
.about-band {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 900px) {
    .about-band {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
        align-items: center;
        gap: 2rem;
    }
}
.about-band__intro {
    margin-bottom: 0;
    max-width: none;
}
.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.about-highlights li {
    padding: 1rem 1.125rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 1px 2px rgb(21 34 56 / 4%);
}
.about-highlights strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    line-height: 1.25;
}
.about-highlights span {
    display: block;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--text-dark-muted);
}
#about.section {
    padding-bottom: clamp(1rem, 2.5vw, 1.5rem);
}
.hero--light + #about.section {
    padding-top: clamp(1rem, 2.5vw, 1.5rem);
}
#about .section-label {
    margin-bottom: 0.5rem;
}
#about h2 {
    margin-bottom: 0.65rem;
}
.section-light .section-intro { color: var(--text-dark-muted); }
.service-grid {
    display: grid;
    gap: 1rem;
    margin-top: 0.5rem;
}
@media (min-width: 640px) {
    .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .service-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
}
.service-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 1px 2px rgb(21 34 56 / 4%);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
    border-color: rgb(90 175 247 / 35%);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.service-card--cta {
    background: linear-gradient(145deg, var(--bg-dark) 0%, #1c2d47 100%);
    border-color: transparent;
    color: var(--text);
}
.service-card--cta:hover {
    border-color: rgb(90 175 247 / 40%);
}
.service-card--cta .service-card__icon {
    background: rgb(90 175 247 / 18%);
    color: var(--accent);
}
.service-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 10px;
    background: var(--accent-dim);
    color: var(--accent-hover);
}
.service-card__icon svg {
    width: 1.375rem;
    height: 1.375rem;
}
.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.25;
    margin: 0;
    color: var(--text-dark);
}
.service-card p {
    flex: 1;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text-dark-muted);
}
.service-card.service-card--cta h3 {
    color: #fff;
}
.service-card.service-card--cta p {
    color: rgb(255 255 255 / 88%);
}
.service-card.service-card--cta .service-card__link {
    color: var(--accent);
    font-size: 0.9375rem;
}
.service-card__link {
    margin-top: auto;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent-hover);
    text-decoration: none;
    transition: color 0.15s;
}
.service-card__link:hover { color: var(--accent); }
.service-card__link::after {
    content: " →";
}
.service-card--cta .service-card__link::after { content: ""; }
.callout-band {
    background: var(--bg-dark);
    color: var(--text);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 5vw, 3rem);
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .callout-band { grid-template-columns: 1fr auto; align-items: center; }
}
.callout-band h2 {
    font-family: var(--font-display);
    font-size: clamp(1.375rem, 1rem + 1.5vw, 1.75rem);
    margin: 0 0 0.5rem;
    color: var(--text);
}
.callout-band p {
    margin: 0;
    color: rgb(255 255 255 / 75%);
    font-size: 0.9375rem;
    max-width: 36rem;
}
.callout-band .btn-outline-light {
    display: inline-flex;
    padding: 0.75rem 1.25rem;
    border: 1px solid rgb(255 255 255 / 25%);
    border-radius: var(--radius-pill);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
}
.areas-section h2 {
    margin-bottom: 1.25rem;
}
.areas-panel {
    display: grid;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 1px 2px rgb(21 34 56 / 4%);
}
@media (min-width: 900px) {
    .areas-panel {
        grid-template-columns: minmax(0, 18rem) 1fr;
        align-items: stretch;
        gap: 2rem;
        padding: 1.75rem 2rem;
    }

    .areas-panel__intro {
        display: flex;
        flex-direction: column;
    }

    .areas-panel__cta {
        margin-top: auto;
        width: 100%;
        justify-content: center;
    }
}
.areas-hq {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-dark-muted);
}
.areas-hq strong {
    color: var(--text-dark);
}
.areas-panel__map {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-height: 0;
}
.areas-panel__details {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}
.areas-panel__desc {
    margin: 0 0 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-dark-muted);
}
.areas-panel__cta {
    width: 100%;
    justify-content: center;
}
@media (min-width: 900px) {
    .areas-panel__cta {
        width: 100%;
    }
}
.area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    align-content: flex-start;
}
.area-tags li {
    padding: 0.4rem 0.8rem;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    line-height: 1.2;
    color: var(--text-dark-muted);
    white-space: nowrap;
}
.area-tags__hq {
    background: var(--accent-dim);
    border-color: rgb(90 175 247 / 35%);
    color: var(--accent-hover);
    font-weight: 600;
}
.area-tags__more {
    border-style: dashed;
    color: var(--text-dark-muted);
    font-style: italic;
}
.careers-band {
    background: var(--accent-dim);
    border: 1px solid rgb(90 175 247 / 25%);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: grid;
    gap: 1rem;
}
@media (min-width: 768px) {
    .careers-band { grid-template-columns: 1fr auto; align-items: center; }
}
.careers-band h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin: 0 0 0.35rem;
}
.careers-band p { margin: 0; color: var(--text-dark-muted); font-size: 0.9375rem; }
.quote-feature {
    margin-top: 1.25rem;
    padding: 1.5rem 1.75rem;
    background: var(--bg-light);
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
}
.quote-feature p {
    margin: 0 0 0.75rem;
    font-size: 1.0625rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
}
.quote-feature cite {
    font-size: 0.875rem;
    font-style: normal;
    color: var(--text-dark-muted);
}
.stat--light {
    background: var(--bg-white);
    border-color: var(--border);
}
.stat--light strong { color: var(--accent-hover); }
.stat--light span { color: var(--text-dark-muted); }
.section-dark .section-intro { color: rgb(255 255 255 / 70%); }
.section-dark .section-intro a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.section-dark h2 a {
    color: var(--accent);
    text-decoration: none;
}
.section-dark h2 a:hover { text-decoration: underline; }
.stars-pro-panel {
    display: grid;
    gap: 2rem;
    margin-top: 0.5rem;
}
@media (min-width: 900px) {
    .stars-pro-panel { grid-template-columns: 1.1fr 1fr; align-items: start; }
}
.stars-pro-panel__main .section-intro {
    margin-bottom: 1.25rem;
    max-width: none;
}
.stars-pro-panel__main .section-intro strong { color: var(--text); }
.stars-pro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.btn-ghost--on-dark,
.section-dark .btn-ghost {
    color: var(--text);
    border-color: rgb(255 255 255 / 22%);
}
.btn-ghost--on-dark:hover,
.section-dark .btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.stars-pro-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}
.stars-pro-features li {
    padding: 1rem 1.125rem;
    background: rgb(255 255 255 / 5%);
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: var(--radius);
}
.stars-pro-features strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}
.stars-pro-features span {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: rgb(255 255 255 / 65%);
}
.stars-pro-features a {
    color: var(--accent);
    text-decoration: none;
}
.stars-pro-features a:hover { text-decoration: underline; }
.quote-feature--dark {
    background: rgb(255 255 255 / 6%);
    border-left-color: var(--accent);
}
.quote-feature--dark p { color: var(--text); }
.quote-feature--dark cite { color: rgb(255 255 255 / 55%); }
.section-light .section-label { color: var(--accent-hover); }

/* Mobile layout fixes */
@media (max-width: 767px) {
    :root {
        --page-gutter: 1.25rem;
    }

    .wrap {
        width: 100%;
        max-width: 1140px;
        padding-inline: var(--page-gutter);
    }

    .site-footer {
        margin-bottom: calc(-1 * var(--mobile-dock-h));
        padding-top: 2.5rem;
        padding-bottom: calc(1.5rem + var(--mobile-dock-h));
    }

    #software .section-label,
    #faq .section-label {
        display: block;
    }

    .faq-q {
        padding: 1rem 0;
    }

    .faq-a {
        padding: 0 0 1rem;
    }

    .stars-pro-features li {
        padding: 1rem 1.125rem;
    }

    .mockup-ribbon {
        font-size: 0.75rem;
        line-height: 1.4;
        padding: 0.45rem 0.75rem;
    }

    .top-bar {
        font-size: 0.6875rem;
        line-height: 1.45;
        padding: 0.5rem 0;
    }

    .top-bar .wrap {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 0.2rem;
    }

    .top-bar__email,
    .top-bar__sep {
        display: none;
    }

    .top-bar a {
        word-break: normal;
    }

    .logo img {
        height: 2.25rem;
        max-width: none;
    }

    .nav-inner { min-height: 3.75rem; }

    .section {
        padding: 1.75rem 0;
    }

    #about.section {
        padding: 1rem 0 0.75rem;
    }

    .section-light + .section-light,
    .section-dark + .section-dark {
        padding-top: 0.75rem;
    }

    .section h2 {
        font-size: clamp(1.375rem, 1.1rem + 1.5vw, 1.75rem);
    }

    .section-intro {
        font-size: 0.9375rem;
        margin-bottom: 1.25rem;
    }

    .hero {
        padding: 2rem 0 1.5rem;
    }

    .hero h1 {
        font-size: clamp(1.625rem, 1.2rem + 2vw, 2.125rem);
    }

    .hero-sub {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-visual {
        margin-top: 0.5rem;
    }

    .pillars {
        margin-top: 1.25rem;
    }

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

    .stars-pro-panel {
        gap: 1.25rem;
    }

    .stars-pro-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .stars-pro-actions .btn {
        width: 100%;
        justify-content: center;
    }

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

    .careers-band {
        padding: 1.5rem;
        text-align: left;
    }

    .careers-band .btn {
        width: 100%;
        justify-content: center;
    }

    .quote-feature {
        margin-top: 1.25rem;
        padding: 1.25rem;
    }

    .quote-feature p {
        font-size: 0.9375rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-base {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding-bottom: 0.25rem;
    }

    .split {
        gap: 1.5rem;
    }

    .split img {
        width: 100%;
    }

    .cta-band {
        padding: 1.25rem;
    }
}
