/* Mobile-First CSS for Smart.Homes */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --accent-color: #0ea5e9;
    --text-dark: #0f172a;
    --text-medium: #334155;
    --text-light: #64748b;
    --bg-light: #f1f5f9;
    --bg-section: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #cbd5e1;
    --success-color: #059669;
    --spacing-unit: 1rem;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Logo Header - common include, sticky */
#header-container {
    min-height: 4.5rem;
    background-color: #ffffff;
}

.logo-header {
    background-color: #ffffff;
    padding: 0rem 1rem;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;
}

.logo-nav-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo-nav-wrap .logo-container {
    width: auto;
    justify-content: flex-start;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    align-items: center;
}

.main-nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.main-nav a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Desktop dropdowns */
.main-nav .nav-item.has-dropdown {
    position: relative;
}
.main-nav .nav-chevron {
    display: inline-block;
    font-size: 0.65em;
    margin-left: 2px;
    vertical-align: middle;
    transition: transform 0.2s ease;
}
.main-nav .has-dropdown:hover .nav-chevron {
    transform: rotate(-180deg);
}
.main-nav .nav-dropdown-panel {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 4px;
    min-width: 220px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.4rem 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 60;
}
.main-nav .has-dropdown:hover .nav-dropdown-panel {
    opacity: 1;
    visibility: visible;
}
.main-nav .nav-dropdown-panel a {
    display: block;
    padding: 0.45rem 1rem;
    font-size: 0.875rem;
    white-space: nowrap;
    color: var(--text-dark);
    border: none;
    border-bottom: none;
}
.main-nav .nav-dropdown-panel a:hover {
    background: var(--bg-section);
    color: var(--primary-color);
}
.main-nav .nav-dropdown-label {
    display: block;
    padding: 0.5rem 1rem 0.2rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    border-top: 1px solid var(--border-color);
    margin-top: 0.25rem;
}

@media (max-width: 1000px) {
    .main-nav a { font-size: 0.8125rem; }
    .main-nav { gap: 0.5rem 1rem; }
}

/* Hamburger: hidden on desktop */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s;
}
.hamburger-btn:hover {
    background: rgba(0, 0, 0, 0.06);
}
.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 1px;
    transition: transform 0.25s, opacity 0.2s;
}
.hamburger-btn.is-open .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.is-open .hamburger-line:nth-child(2) {
    opacity: 0;
}
.hamburger-btn.is-open .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Slider overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}
body.nav-open .nav-overlay {
    opacity: 1;
    visibility: visible;
}

/* Slider panel (right) */
.nav-slider {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 300px;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    z-index: 102;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}
body.nav-open .nav-slider {
    transform: translateX(0);
}
.nav-slider-inner {
    display: flex;
    flex-direction: column;
    padding: 5rem 1.5rem 2rem;
    gap: 0;
}
.nav-slider-inner a {
    display: block;
    padding: 0.75rem 0;
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: color 0.2s;
}
.nav-slider-inner a:hover,
.nav-slider-inner a.active {
    color: var(--primary-color);
}
.nav-slider-inner a.active {
    font-weight: 600;
}
/* Mobile: expandable groups in slider */
.nav-slider-group {
    border-bottom: 1px solid var(--border-color);
}
.nav-slider-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 0;
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--text-dark);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}
.nav-slider-trigger:hover {
    color: var(--primary-color);
}
.nav-slider-group.active .nav-slider-trigger {
    color: var(--primary-color);
    font-weight: 600;
}
.nav-slider-chevron {
    font-size: 0.7em;
    transition: transform 0.2s ease;
}
.nav-slider-group.is-expanded .nav-slider-chevron {
    transform: rotate(-180deg);
}
.nav-slider-sublist {
    display: none;
    list-style: none;
    padding: 0 0 0.5rem 1rem;
    margin: 0;
}
.nav-slider-group.is-expanded .nav-slider-sublist {
    display: block;
}
.nav-slider-sublist a {
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    border-bottom: none;
}
body.nav-open {
    overflow: hidden;
}

/* Mobile: show hamburger, hide main-nav */
@media (max-width: 767px) {
    .main-nav {
        display: none;
    }
    .hamburger-btn {
        display: flex;
    }
}

@media (min-width: 768px) {
    .nav-overlay,
    .nav-slider {
        display: none;
    }
}

.site-logo {
    height: 100px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    padding-top: 4px;
}

/* Home: fixed header, same look as des-moines (white bg, dark nav) */
body.home-page #header-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    min-height: 0;
}
body.home-page .logo-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
}
body.home-page .services-section {
    padding-top: 5.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    padding: 5rem 1rem;
    text-align: center;
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>');
    opacity: 0.3;
}

.hero-headline {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.hero-subheadline {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Home: full-bleed hero with smart home image */
.hero-home {
    min-height: 100vh;
    padding: 6rem 1rem 4rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    color: #f8fafc;
}
.hero-home::before {
    display: none;
}
.hero-home-inner {
    max-width: 720px;
}
.hero-home .hero-headline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #f8fafc;
    line-height: 1.2;
}
.hero-home .hero-subheadline {
    font-size: 1.1rem;
    line-height: 1.65;
    color: rgba(248, 250, 252, 0.9);
}
.hero-home .btn-cta-hero {
    background: #2563eb;
    color: #fff;
    padding: 0.875rem 2.25rem;
    font-size: 1.0625rem;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45);
}
.hero-home .btn-cta-hero:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    letter-spacing: 0.01em;
}

.btn-primary {
    background-color: white;
    color: var(--primary-color);
    font-weight: 600;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    background-color: var(--bg-section);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: rgba(30, 64, 175, 0.08);
    border-color: var(--primary-dark);
    color: var(--primary-dark);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    position: relative;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: var(--text-dark);
}

.modal-content h2 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.modal-content input {
    width: 100%;
    padding: 0.875rem;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.modal-content input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Services Section */
.services-section {
    padding: 4rem 1rem;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
}

.services-section h2 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.services-list {
    list-style: none;
    max-width: 700px;
    margin: 0 auto;
    display: grid;
    gap: 0;
}

.services-list li {
    padding: 1.25rem 1rem;
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-medium);
}

.services-list li:last-child {
    border-bottom: none;
}

.services-list li::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: 600;
    margin-right: 0.75rem;
    font-size: 1rem;
    display: inline-block;
    width: 1.25rem;
    text-align: center;
}

/* How It Works */
.how-it-works {
    padding: 4rem 1rem;
    background-color: var(--bg-section);
}

.how-it-works h2 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.steps-list {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
}

.steps-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 1rem;
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    font-size: 1.125rem;
}

.steps-list p {
    font-size: 1.125rem;
    padding-top: 0.5rem;
}

/* Trust Section */
.trust-section {
    padding: 4rem 1rem;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
}

.trust-section h2 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.trust-list {
    list-style: none;
    max-width: 700px;
    margin: 0 auto;
}

.trust-list li {
    padding: 1.25rem 1rem;
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-medium);
}

.trust-list li:last-child {
    border-bottom: none;
}

.trust-list li::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: 600;
    margin-right: 0.75rem;
    display: inline-block;
    width: 1.25rem;
    text-align: center;
}

/* Footer */
.footer {
    background-color: #0f172a;
    color: #cbd5e1;
    padding: 3.5rem 1rem 2rem;
    text-align: center;
    border-top: 1px solid #1e293b;
}

.footer-nav {
    margin-bottom: 1.5rem;
}

.footer-nav a {
    color: #94a3b8;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.2s ease;
    font-size: 0.9375rem;
}

.footer-nav a:hover {
    color: white;
    text-decoration: underline;
}

.transparency-statement {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.copyright {
    font-size: 0.875rem;
    opacity: 0.7;
    margin-top: 1rem;
}

/* City Page Styles */
.city-page {
    padding-top: 0;
}

/* City: sticky header (fixed like main) + room for content under it */
body.city-page #header-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.city-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    color: #f8fafc;
    padding: 4rem 1rem 3rem;
    position: relative;
    overflow: hidden;
}
body.city-page .city-hero {
    padding-top: 6.5rem;
    padding-bottom: 4rem;
}
body.home-page .city-hero {
    padding-top: 6.5rem;
}
.city-hero .hero-right {
    display: none;
}
.city-hero .hero-content-wrapper {
    grid-template-columns: 1fr;
}

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

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: center;
}

.hero-left {
    text-align: left;
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.city-headline {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    margin-top: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #f8fafc;
}

.city-subheadline {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 400;
    line-height: 1.65;
    color: rgba(248, 250, 252, 0.9);
}

.city-services {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    font-weight: 500;
    color: rgba(248, 250, 252, 0.95);
    letter-spacing: 0.02em;
    line-height: 1.8;
}

.city-services .service-item {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    margin: 0.25rem 0.125rem;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}

.city-services .service-item:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.city-services .service-separator {
    display: inline-block;
    margin: 0 0.5rem;
    color: rgba(248, 250, 252, 0.6);
    font-weight: 300;
}

.city-hero .btn-primary {
    background-color: #60a5fa;
    color: white;
    font-weight: 600;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.city-hero .btn-primary:hover {
    background-color: #93c5fd;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-box {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1.25rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-icon {
    font-size: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    flex-shrink: 0;
}

.feature-box p {
    color: #ffffff;
    font-size: 0.9375rem;
    margin: 0;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Trust Signals - Removed from separate section, now in hero */
.trust-signals {
    display: none;
}

/* City Services */
.city-services-section {
    padding: 4rem 1rem;
    background-color: #f8fafc;
}

.city-services-section h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.service-box {
    background-color: #e2e8f0;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #cbd5e1;
    border-radius: 12px;
}

.service-box p {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.city-how-it-works {
    padding: 4rem 1rem;
    background-color: #ffffff;
}

.city-how-it-works h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.city-how-it-works .steps-list {
    max-width: 700px;
}

.city-how-it-works .step-number {
    background-color: #2563eb;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
}

/* Lead Form */
.lead-form-section {
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    color: #f8fafc;
}

.form-card {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.lead-form-section h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.form-subtitle {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    text-align: left;
}

.lead-form {
    max-width: 100%;
}

.form-disclaimer {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-top: 1.5rem;
    text-align: center;
    line-height: 1.5;
}

.lead-form-section .btn-primary {
    width: 100%;
    margin-top: 1.5rem;
    background-color: #2563eb;
    color: white;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: 8px;
}

.lead-form-section .btn-primary:hover {
    background-color: #1e40af;
    transform: translateY(-1px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9375rem;
}

.checkbox-label {
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9375rem;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"] {
    width: 100%;
    padding: 0.875rem;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    cursor: pointer;
    font-weight: normal;
    line-height: 1.5;
}

.checkbox-item input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
    vertical-align: middle;
    position: relative;
    top: 0;
}

.checkbox-item span {
    line-height: 1.5;
    vertical-align: middle;
}

/* Service Area */
.service-area {
    padding: 2rem 1rem;
    background-color: var(--bg-light);
    text-align: center;
}

.service-area-text {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    font-style: italic;
}

/* Sticky CTA (Mobile) */
.sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.sticky-cta .btn {
    width: 100%;
    box-shadow: var(--shadow-md);
}

/* Tablet & Desktop */
@media (min-width: 768px) {
    .logo-header {
        padding: 0rem 1rem;
    }
    
    .site-logo {
        height: 100px;
    }
    
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .hero-subheadline {
        font-size: 1.25rem;
    }
    
    .city-headline {
        font-size: 3rem;
    }
    
    .hero-content-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    
    .hero-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-list li {
        gap: 2rem;
    }
    
    .checkbox-group {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .site-logo {
        height: 100px;
    }
    
    .hero {
        padding: 5rem 1rem;
    }
    
    .hero-headline {
        font-size: 3rem;
    }
    
    .city-headline {
        font-size: 3.5rem;
    }
    
    .hero-features {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .form-card {
        padding: 3.5rem 2.5rem;
    }
}

/* Mobile-specific sticky CTA */
@media (max-width: 767px) {
    .sticky-cta {
        display: block;
    }
}

/* Form Success/Error Messages */
.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
}

.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
    border-left: 4px solid var(--success-color);
}

.form-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #dc2626;
}

/* ========== Comparison & Article Pages ========== */

.breadcrumb {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: var(--text-medium);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.bc-sep {
    margin: 0 0.35rem;
    color: var(--border-color);
}

.page-content {
    padding: 2rem 1rem 4rem;
}

.page-content h1 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.page-intro {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    max-width: 700px;
}

.comparison-categories h2,
.recent-comparisons h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.category-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.category-card {
    display: block;
    padding: 1.5rem;
    background: var(--bg-section);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.category-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.category-icon {
    font-size: 1.75rem;
    display: block;
    margin-bottom: 0.5rem;
}

.category-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.35rem;
}

.category-card p {
    font-size: 0.9375rem;
    color: var(--text-medium);
    margin: 0;
}

.comparison-list {
    list-style: none;
}

.comparison-list li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.comparison-list li:last-child {
    border-bottom: none;
}

.comparison-list a {
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}

.comparison-list a:hover {
    text-decoration: underline;
}

.article-list .comparison-list a {
    font-size: 1.0625rem;
}

.article-list .comparison-list p {
    font-size: 0.9375rem;
    color: var(--text-medium);
    margin: 0.5rem 0 0;
}

/* Article body */
.article-body {
    padding: 2rem 1rem 4rem;
}

.article-header {
    margin-bottom: 1.5rem;
}

.article-header h1 {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.article-meta {
    font-size: 0.875rem;
    color: var(--text-light);
}

.article-lead {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.65;
}

.article-body h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--text-dark);
}

.article-body h3 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem;
}

.article-body p,
.article-body ul {
    margin-bottom: 1rem;
    color: var(--text-medium);
}

.article-body ul {
    padding-left: 1.5rem;
}

/* Affiliate CTA blocks */
.affiliate-cta-block {
    background: var(--bg-section);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.affiliate-cta-block h3 {
    font-size: 1rem;
    margin: 0 0 1rem;
    color: var(--text-dark);
}

.affiliate-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn-affiliate {
    background: var(--text-dark);
    color: white;
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.btn-affiliate:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.affiliate-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.25rem 0;
}

.affiliate-disclosure {
    font-size: 0.75rem;
    color: var(--text-light);
    margin: 1rem 0 0;
}

.related-articles {
    margin: 2rem 0;
    padding: 1.25rem 0;
    border-top: 1px solid var(--border-color);
}

.related-articles h3 {
    font-size: 1rem;
    margin: 0 0 0.75rem;
    color: var(--text-dark);
}

.related-articles ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-articles li {
    margin-bottom: 0.5rem;
}

.related-articles a {
    color: var(--primary-color);
    text-decoration: none;
}

.related-articles a:hover {
    text-decoration: underline;
}

.related-links {
    font-size: 0.9375rem;
    color: var(--text-medium);
    margin-top: 1.5rem;
}

.related-links a {
    color: var(--primary-color);
    text-decoration: none;
}

.related-links a:hover {
    text-decoration: underline;
}

/* Comparison table */
.comparison-table-wrap {
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.comparison-table th,
.comparison-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: var(--bg-section);
    font-weight: 600;
    color: var(--text-dark);
}

.comparison-table td {
    color: var(--text-medium);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

@media (min-width: 768px) {
    .page-content h1 {
        font-size: 2.25rem;
    }

    .article-header h1 {
        font-size: 2rem;
    }

    .category-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========== Best Home Security Roundup Page ========== */
body.best-roundup {
    padding-top: 0;
    background: #e5e7eb;
}

.best-main {
    padding-bottom: 3rem;
}

/* Hero */
.best-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    color: #f8fafc;
    padding: 3rem 1rem 3.5rem;
    margin-bottom: 2rem;
}

.best-hero-inner {
    max-width: 720px;
}

.breadcrumb-light a {
    color: rgba(255, 255, 255, 0.85);
}

.breadcrumb-light a:hover {
    color: #fff;
}

.breadcrumb-light .bc-sep {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-light span:last-child {
    color: rgba(255, 255, 255, 0.95);
}

.best-hero-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0.5rem 0 1rem;
    letter-spacing: -0.02em;
}

.best-hero-updated {
    font-size: 0.9rem;
    color: rgba(248, 250, 252, 0.75);
    margin: -0.25rem 0 0.5rem;
}

.best-hero-sub {
    font-size: 1.1rem;
    line-height: 1.65;
    color: rgba(248, 250, 252, 0.9);
    margin-bottom: 0.75rem;
}

.best-hero-disclosure {
    font-size: 0.8rem;
    color: rgba(248, 250, 252, 0.7);
    margin-bottom: 1.25rem;
}

.best-hero-disclosure a {
    color: rgba(251, 191, 36, 0.95);
    text-decoration: underline;
}

.best-hero-disclosure a:hover {
    color: #fbbf24;
}

.best-trust-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: rgba(248, 250, 252, 0.8);
}

.best-trust-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(251, 191, 36, 0.9);
}

.best-content {
    padding: 0 1rem 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.best-content strong {
    color: #1e40af;
}

.best-section-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.625rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 2.5rem 0 1.25rem;
}

.best-section-title:first-of-type {
    margin-top: 0;
}

/* Top pick cards - HomeSecuritySystems.net style */
.best-picks-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.best-picks-grid-five {
    gap: 1.75rem;
}

.best-pick-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    border-left: 4px solid #f59e0b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s, border-color 0.2s;
}

.best-pick-card:hover {
    box-shadow: var(--shadow-md);
    border-left-color: #d97706;
}

.best-pick-2 { border-left-color: #0d9488; }
.best-pick-2:hover { border-left-color: #0f766e; }
.best-pick-3 { border-left-color: #6366f1; }
.best-pick-3:hover { border-left-color: #4f46e5; }
.best-pick-4 { border-left-color: #2563eb; }
.best-pick-4:hover { border-left-color: #1d4ed8; }
.best-pick-5 { border-left-color: #0d9488; }
.best-pick-5:hover { border-left-color: #0f766e; }

.best-pick-top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.best-pick-num {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e40af;
}

.best-pick-ribbon {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.best-ribbon-top { background: #f59e0b; color: #fff; }
.best-ribbon-value { background: #0d9488; color: #fff; }
.best-ribbon-automation { background: #6366f1; color: #fff; }
.best-ribbon-cameras { background: #2563eb; color: #fff; }
.best-ribbon-budget { background: #059669; color: #fff; }

.best-pick-logo {
    margin-bottom: 0.5rem;
}
.best-pick-logo img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 10px;
}

.best-pick-2 .best-pick-logo,
.best-pick-3 .best-pick-logo {
    background: #000;
    padding: 6px;
    border-radius: 12px;
    width: fit-content;
}

.best-pick-what {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e40af;
    margin: 0 0 0.5rem;
    text-transform: none;
}

.best-pick-cta-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.best-pick-cta-wrap .btn { flex: 1 1 auto; min-width: 120px; }

.best-pick-offer {
    background: var(--bg-section);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-top: 0.5rem;
}
.best-pick-offer strong { display: block; font-size: 0.9rem; margin-bottom: 0.25rem; color: #1e40af; }
.best-pick-offer p { font-size: 0.8rem; font-weight: 600; color: var(--text-medium); margin: 0 0 0.5rem; line-height: 1.4; }
.best-pick-offer .btn { margin: 0; }

.best-pick-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    background: var(--text-dark);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.best-pick-score {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    color: #f59e0b;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.best-pick-2 .best-pick-score { color: #0d9488; }
.best-pick-3 .best-pick-score { color: #6366f1; }

.best-pick-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.25rem;
}

.best-pick-tag {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-medium);
    margin-bottom: 1rem;
}

.best-pick-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-medium);
}

.best-pick-features li {
    padding: 0.2rem 0 0.2rem 1.35rem;
    position: relative;
}

.best-pick-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary-color);
}

.best-pick-cta {
    display: block;
    text-align: center;
    width: 100%;
}

.best-pick-card .btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.best-pick-card .btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
}

/* Compare with Our Top Pick */
.best-compare-top-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #f59e0b;
}
.best-compare-top-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.best-compare-top-head img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 10px;
    flex-shrink: 0;
}
.best-compare-top-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e40af;
    margin: 0 0 0.2rem;
}
.best-compare-top-tag {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-medium);
    margin: 0;
}
.best-compare-top-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.5rem;
}
.best-compare-top-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    font-size: 1rem;
    color: var(--text-medium);
}
.best-compare-top-features li {
    padding: 0.2rem 0 0.2rem 1.25rem;
    position: relative;
}
.best-compare-top-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

/* Comparison table */
.best-comparison-wrap {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin: 1rem 0;
}

.best-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.best-table th,
.best-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.best-table th {
    background: var(--bg-section);
    font-weight: 600;
    color: #1e40af;
}

.best-table-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.best-table-brand img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
    flex-shrink: 0;
}

.best-table-brand.best-logo-dark-bg {
    background: #000;
    color: #fff;
    padding: 4px 8px;
    border-radius: 8px;
}

.best-table td {
    background: #fff;
    font-weight: 600;
    color: var(--text-medium);
}

.best-table tbody tr:nth-child(even) td {
    background: #fafbfd;
}

.best-table tbody tr:last-child td {
    border-bottom: none;
}

.best-table tbody tr:hover td {
    background: #f0f4f8 !important;
}

/* System blocks */
.best-system-block {
    margin: 0 0 1.5rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.best-system-block:last-of-type {
    margin-bottom: 0;
}

.best-system-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.75rem;
}

.best-system-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.best-system-head .best-system-name {
    flex: 1;
    min-width: 0;
}

.best-system-logo {
    flex-shrink: 0;
}
.best-system-logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
}

#simplisafe .best-system-logo,
#vivint .best-system-logo {
    background: #000;
    padding: 4px;
    border-radius: 10px;
}

.best-system-lead {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-medium);
    margin-bottom: 1.25rem;
    line-height: 1.65;
}

.best-pros-cons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.best-pros h4,
.best-cons h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

.best-pros h4 { color: #059669; }
.best-cons h4 { color: #64748b; }

.best-pros ul,
.best-cons ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-medium);
}

.best-pros li,
.best-cons li {
    padding: 0.25rem 0 0.25rem 1.25rem;
    position: relative;
}

.best-pros li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: 700;
}

.best-cons li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: #94a3b8;
    font-weight: 700;
}

.best-system-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0;
}

.best-system-cta .btn {
    margin: 0;
}

/* Methodology */
.best-methodology-inner {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.best-methodology-inner p {
    margin-bottom: 1rem;
    font-size: 1.0625rem;
    color: var(--text-medium);
}

.best-methodology-inner ul {
    margin: 0;
    padding-left: 1.5rem;
    color: var(--text-medium);
}

.best-methodology-inner li {
    margin-bottom: 0.5rem;
}

/* FAQ */
.best-faq-list {
    margin: 0;
}

.best-faq-list dt {
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 1.25rem;
    font-size: 1rem;
}

.best-faq-list dt:first-child {
    margin-top: 0;
}

.best-faq-list dd {
    margin: 0.5rem 0 0;
    padding-left: 0;
    font-weight: 600;
    color: var(--text-medium);
    font-size: 1rem;
    line-height: 1.6;
}

/* CTA block */
.best-cta-block {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 2rem;
    margin: 2.5rem 0;
    text-align: center;
}

.best-cta-text {
    font-weight: 600;
    color: var(--text-medium);
    margin-bottom: 1.25rem;
}

.best-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

/* Related */
.best-related {
    margin: 2rem 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.best-related-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.best-related ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.best-related li {
    margin-bottom: 0.4rem;
}

.best-related a {
    color: var(--primary-color);
    text-decoration: none;
}

.best-related a:hover {
    text-decoration: underline;
}

.best-disclosure {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    margin-top: 2rem;
}
.best-disclosure a {
    color: var(--primary-color);
    text-decoration: underline;
}
.best-disclosure a:hover {
    color: var(--primary-dark);
}

/* Best roundup: fixed header spacing */
body.best-roundup #header-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

body.best-roundup .best-hero {
    padding-top: 7.5rem;
}

body.best-roundup .best-section-title {
    color: var(--text-dark);
}

body.best-roundup .best-cta-block .best-section-title {
    color: var(--text-dark);
}

body.best-roundup .best-cta-block .best-cta-text {
    color: var(--text-medium);
}

body.best-roundup .best-faq-list dt {
    color: var(--text-dark);
}

body.best-roundup .best-faq-list dd {
    color: var(--text-medium);
}

body.best-roundup .best-related-title {
    color: var(--text-dark);
}

body.best-roundup .best-related {
    border-top-color: var(--border-color);
}

body.best-roundup .best-related a {
    color: var(--primary-color);
}

body.best-roundup .best-related a:hover {
    color: var(--primary-dark);
}

body.best-roundup .best-disclosure {
    color: var(--text-light);
}

body.best-roundup .best-disclosure a {
    color: var(--primary-color);
}

body.best-roundup .best-disclosure a:hover {
    color: var(--primary-dark);
}

@media (min-width: 768px) {
    .best-hero-title {
        font-size: 2.5rem;
    }

    .best-picks-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .best-pick-cta {
        display: inline-block;
        width: auto;
    }

    .best-pros-cons {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .best-hero-title {
        font-size: 2.75rem;
    }

    .best-picks-grid-five {
        grid-template-columns: repeat(3, 1fr);
    }

    .best-content {
        max-width: 960px;
    }
}
