/* Homepage — Emergency rebuild. Design tokens: variables.css (--bg-app, --bg-surface, --text-primary, --spacing-*, --border-subtle). */

/* ========== 0. Base layout (survives missing/conflicting CSS) ========== */
body {
    box-sizing: border-box;
    margin: 0;
    min-height: 100vh;
}
body *,
body *::before,
body *::after {
    box-sizing: inherit;
}

main {
    display: block;
    width: 100%;
    max-width: var(--width-content, 1440px);
    margin: 0 auto;
    padding-left: var(--spacing-lg, 24px);
    padding-right: var(--spacing-lg, 24px);
    background: var(--bg-app, #0a0a0a);
    color: var(--text-primary, #f5f5f5);
}

/* Sections get their own padding in blocks below; main provides horizontal constraint */

/* ----- 1. Hero (Option A: full-width image + overlay) ----- */
.home-hero {
    position: relative;
    min-height: 600px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-left: 24px;
    padding-right: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-app, #0a0a0a);
    overflow: hidden;
    box-sizing: border-box;
}
.home-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}
@media (min-width: 769px) {
    .home-hero {
        padding-left: 32px;
        padding-right: 32px;
    }
}
.home-hero-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
/* Bottom fade: image bright at top, seamless blend into page background at bottom */
.home-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px; /* avoid sub-pixel gap between overlay and next section */
    top: auto;
    height: 40%;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0) 0%, var(--bg-app, #0a0a0a) 100%);
    z-index: 1;
    pointer-events: none;
}
.home-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px;
    min-height: 320px;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
    min-width: 0; /* allow flex child to shrink and stay within bounds */
    overflow: hidden; /* keep headline and highlight inside container */
    /* Glass effect for readability over busy hero background */
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 16px;
}
.home-hero-headline {
    /* Fluid size so "Stop Guessing. Start Investigating." fits on one line inside the box */
    font-size: clamp(26px, 3.2vw + 18px, 38px);
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
    margin: 0 0 24px 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
    white-space: nowrap;
    text-align: center;
    overflow-wrap: break-word;
    max-width: 100%;
    min-width: 0;
}
.home-hero-headline .hero-headline-second {
    display: inline;
}
.home-hero-sub {
    font-size: 20px;
    color: #e5e5e5;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
    max-width: 100%;
    margin: 0 auto 48px;
    line-height: 1.6;
    overflow-wrap: break-word;
}
.home-hero-cta {
    margin-bottom: var(--spacing-md, 16px);
}
.home-hero-cta .btn-primary {
    display: inline-block;
    padding: 14px 28px;
    background: var(--accent-primary, #3b82f6);
    color: var(--text-on-accent, #fff);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md, 8px);
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.home-hero-cta .btn-primary:hover {
    background: var(--accent-hover, #2563eb);
    transform: translateY(-2px);
}
.home-hero-explore {
    display: inline-block;
    font-size: 15px;
    color: var(--accent-primary, #3b82f6);
    margin-top: var(--spacing-lg, 24px);
    text-decoration: none;
    font-weight: 500;
}
.home-hero-explore:hover {
    text-decoration: underline;
}
.home-hero-buttons {
    display: flex;
    gap: var(--spacing-md, 16px);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-md, 16px);
}
.btn-secondary-hero {
    display: inline-block;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-md, 8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    background: transparent;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.btn-secondary-hero:hover {
    border-color: var(--accent-primary, #3b82f6);
    color: var(--accent-primary, #3b82f6);
}
.home-hero-trust {
    font-size: 15px;
    color: rgba(229, 229, 229, 0.9);
    margin: var(--spacing-lg, 24px) 0 0 0;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

/* ----- 2. Active Tools ----- */
.home-section {
    padding-top: var(--spacing-xl, 80px);
    padding-bottom: var(--spacing-xl, 80px);
}
.home-section-sub,
.section-description {
    font-size: 18px;
    color: var(--text-secondary, #a3a3a3);
    max-width: 700px;
    margin: 0;
    line-height: 1.7;
}
.home-section-sub {
    margin-bottom: 0;
}
.home-section h2 + .home-section-sub,
.home-section h2 + .section-description {
    margin-top: var(--spacing-lg, 24px);
    margin-bottom: var(--spacing-xl, 48px);
}
.home-section-sub-muted {
    color: var(--text-muted, #737373);
}
.home-section h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--text-primary, #f5f5f5);
    margin: 0 0 var(--spacing-lg, 24px) 0;
    line-height: 1.2;
}
.home-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg, 32px);
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}
/* Tool cards: dark glass (not flat opaque) */
.home-tool-card {
    background: rgba(30, 30, 35, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg, 12px);
    padding: var(--spacing-xl, 32px) var(--spacing-lg, 24px);
    display: flex;
    flex-direction: column;
    min-height: 320px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.home-tool-card:hover {
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 0 24px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}
.home-tool-icon {
    width: 64px;
    height: 64px;
    color: var(--accent-primary, #3b82f6);
    margin-bottom: var(--spacing-lg, 24px);
    flex-shrink: 0;
}
.home-tool-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary, #f5f5f5);
    margin: 0 0 var(--spacing-md, 16px) 0;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: var(--space-2, 8px);
    flex-wrap: wrap;
}
.home-tool-card .home-tool-desc {
    font-size: 1rem;
    color: var(--text-secondary, #a3a3a3);
    line-height: 1.6;
    margin: 0 0 var(--spacing-lg, 24px) 0;
    flex: 1;
}
.home-tool-card .home-tool-meta {
    margin-bottom: var(--spacing-lg, 24px);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2, 8px);
}
.home-tool-card .home-tool-action {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-primary, #3b82f6);
    text-decoration: none;
    margin-top: auto;
}
.home-tool-card .home-tool-action:hover {
    text-decoration: underline;
}
.home-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: var(--radius-sm, 4px);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.home-badge-free {
    background: var(--tier-free-bg, #737373);
    color: var(--text-on-accent, #fff);
}
.home-badge-pro {
    background: var(--tier-pro-bg, #3b82f6);
    color: var(--text-on-accent, #fff);
}
.home-badge-warning {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning, #f59e0b);
}
.home-badge-unlimited {
    background: rgba(163, 163, 163, 0.2);
    color: var(--text-secondary, #a3a3a3);
}

/* ----- 2a. Pro Tools ----- */
.home-pro-section {
    max-width: var(--width-content, 1400px);
    margin: 0 auto;
    padding: var(--spacing-xl, 80px) var(--spacing-lg, 24px);
    width: 100%;
}
.home-pro-section h2 {
    margin-bottom: var(--spacing-lg, 24px);
}
.home-pro-section .home-section-sub {
    margin-bottom: var(--spacing-xl, 48px);
}
.home-pro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-lg, 32px);
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}
.home-pro-tool {
    border: 2px solid var(--accent-primary, #3b82f6);
    background: rgba(30, 30, 35, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    padding: var(--spacing-xl, 32px) var(--spacing-lg, 24px);
}
.home-tool-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-md, 12px);
    margin-bottom: var(--spacing-md, 12px);
}
.home-tool-header h3 {
    margin: 0;
}
.home-tool-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2, 8px);
    margin-bottom: var(--spacing-lg, 24px);
}
.feature-tag {
    font-size: 12px;
    color: var(--text-secondary, #a3a3a3);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: var(--radius-sm, 4px);
}
.home-tool-actions {
    display: flex;
    gap: var(--spacing-md, 12px);
    margin-top: auto;
    flex-wrap: wrap;
}
.btn-secondary-small,
.btn-primary-small {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-md, 8px);
    text-decoration: none;
    flex: 1;
    min-width: 120px;
    text-align: center;
    transition: all 0.2s ease;
}
.btn-secondary-small {
    background: transparent;
    border: 1px solid var(--border-subtle, #2a2a2a);
    color: var(--text-primary, #f5f5f5);
}
.btn-secondary-small:hover {
    border-color: var(--accent-primary, #3b82f6);
    color: var(--accent-primary, #3b82f6);
}
.btn-primary-small {
    background: var(--accent-primary, #3b82f6);
    color: var(--text-on-accent, #fff);
    border: none;
}
.btn-primary-small:hover {
    background: var(--accent-hover, #2563eb);
    transform: translateY(-2px);
}

/* ----- 2b. Browser Extension ----- */
.home-extension {
    padding: var(--spacing-xl, 80px) var(--spacing-lg, 24px);
    max-width: var(--width-content, 1400px);
    margin: 0 auto;
}
.home-extension .home-section {
    padding: 0;
    max-width: 100%;
}
.home-extension .home-section h2 {
    margin-bottom: var(--spacing-lg, 24px);
}
.home-extension-card {
    background: var(--bg-surface, #1f1f1f);
    border: 1px solid var(--border-subtle, #2a2a2a);
    border-radius: var(--radius-lg, 12px);
    padding: var(--spacing-xl, 40px) var(--spacing-lg, 32px);
    display: grid;
    grid-template-columns: minmax(80px, 100px) 1fr auto;
    gap: var(--spacing-lg, 32px);
    align-items: center;
    width: 100%;
}
.home-extension-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    color: var(--accent-primary, #3b82f6);
    flex-shrink: 0;
}
.home-extension-content {
    min-width: 0;
}
.home-extension-label {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-secondary, #a3a3a3);
    letter-spacing: 0.05em;
    margin: 0 0 var(--space-2, 8px) 0;
}
.home-extension-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary, #f5f5f5);
    margin: 0 0 var(--spacing-md, 16px) 0;
    line-height: 1.2;
}
.home-extension-content .home-tool-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary, #a3a3a3);
    margin: 0 0 var(--spacing-md, 16px) 0;
}
.home-extension-meta {
    display: flex;
    gap: var(--spacing-md, 16px);
    align-items: center;
    flex-wrap: wrap;
}
.browser-support {
    font-size: 14px;
    color: var(--text-secondary, #a3a3a3);
}
.home-extension-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md, 16px);
    align-items: center;
}
.home-extension-actions .btn-primary {
    display: inline-block;
    padding: 14px 24px;
    background: var(--accent-primary, #3b82f6);
    color: var(--text-on-accent, #fff);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md, 8px);
    transition: background 0.2s ease, transform 0.2s ease;
}
.home-extension-actions .btn-primary:hover {
    background: var(--accent-hover, #2563eb);
    transform: translateY(-2px);
}
.home-extension-actions .btn-outline {
    display: inline-block;
    padding: 14px 24px;
    border: 1px solid var(--border-subtle, #2a2a2a);
    color: var(--text-primary, #f5f5f5);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md, 8px);
    transition: background 0.2s ease;
}
.home-extension-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.06);
}

/* ----- 3. Coming Soon (muted) ----- */
.home-coming-section {
    padding: 0;
}
.home-coming-section .home-section {
    padding: var(--spacing-xl, 80px) var(--spacing-lg, 24px);
    max-width: var(--width-content, 1400px);
    margin: 0 auto;
}
.home-coming-section .home-section-header {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    line-height: 1.2;
    color: var(--text-muted, #737373);
    margin: 0 0 var(--spacing-lg, 24px) 0;
}
.home-coming-section .home-section-header + .home-section-sub {
    margin-bottom: var(--spacing-xl, 48px);
}
.home-coming-soon-card {
    position: relative;
    overflow: hidden;
    opacity: 0.95;
    padding: var(--spacing-xl, 32px) var(--spacing-lg, 24px);
}
.home-coming-soon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary, #3b82f6) 0%, var(--warning, #f59e0b) 50%, var(--accent-primary, #3b82f6) 100%);
}
.coming-soon-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--warning, #f59e0b);
    background: rgba(245, 158, 11, 0.2);
    padding: 6px 12px;
    border-radius: var(--radius-sm, 6px);
    display: inline-block;
    margin-bottom: var(--spacing-md, 16px);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.home-coming-section .home-tool-card {
    border-color: var(--border-subtle, #2a2a2a);
}
.home-coming-section .home-tool-icon {
    color: var(--text-muted, #737373);
}
.home-coming-section .home-tool-card h3 {
    color: var(--text-secondary, #a3a3a3);
}
.home-coming-section .home-tool-desc {
    color: var(--text-muted, #737373);
}
.home-coming-section .home-tools-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg, 32px);
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* ----- 4. Pricing Cards ----- */
.home-pricing-section {
    padding: var(--spacing-xl, 80px) var(--spacing-lg, 24px);
    max-width: var(--width-content, 1400px);
    margin: 0 auto;
    width: 100%;
}
.home-pricing-section h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--text-primary, #f5f5f5);
    text-align: center;
    margin: 0 0 var(--spacing-lg, 24px) 0;
    line-height: 1.2;
}
.home-pricing-section .home-section-sub {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--spacing-xl, 48px);
    max-width: 600px;
}
.home-pricing-msg {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--spacing-lg, 24px);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.9375rem;
}
.home-pricing-msg--error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}
.home-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg, 32px);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
.home-pricing-card {
    background: var(--bg-surface, #1f1f1f);
    border: 1px solid var(--border-subtle, #2a2a2a);
    border-radius: var(--radius-lg, 12px);
    padding: var(--spacing-xl, 40px) var(--spacing-lg, 28px);
    min-height: 520px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.home-pricing-card:hover {
    border-color: var(--accent-primary, #3b82f6);
    transform: translateY(-2px);
}
.home-pricing-card.popular {
    border-color: var(--accent-primary, #3b82f6);
}
.pricing-featured {
    border-width: 2px;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}
@media (min-width: 900px) {
    .pricing-featured {
        transform: scale(1.02);
    }
}
.home-pricing-tier-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary, #a3a3a3);
    margin-bottom: var(--spacing-md, 16px);
    font-weight: 700;
}
.home-pricing-card .pricing-header-desc {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary, #a3a3a3);
    line-height: 1.5;
    margin: 0 0 var(--spacing-sm, 8px) 0;
}
.home-pricing-teaser {
    font-size: 0.9375rem;
    color: var(--text-secondary, #a3a3a3);
    line-height: 1.5;
    margin: 0 0 var(--spacing-md, 12px) 0;
}
.home-pricing-price {
    margin-bottom: var(--spacing-lg, 24px);
}
.home-pricing-price .price-amount {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    display: block;
    color: var(--text-primary, #f5f5f5);
}
.home-pricing-price .price-period {
    font-size: 16px;
    color: var(--text-secondary, #a3a3a3);
    display: block;
    margin-top: var(--space-2, 8px);
}
.home-pricing-divider {
    height: 1px;
    background: var(--border-subtle, #2a2a2a);
    margin: var(--spacing-lg, 24px) 0;
}
.home-pricing-included-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary, #a3a3a3);
    margin-bottom: var(--spacing-lg, 24px);
    font-weight: 700;
}
.home-pricing-features-simple {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-lg, 24px) 0;
    flex: 1;
}
.home-pricing-features-simple li {
    padding: var(--spacing-md, 12px) 0;
    font-size: 15px;
    color: var(--text-primary, #f5f5f5);
    border-bottom: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.06));
    line-height: 1.5;
}
.home-pricing-features-simple li:last-child {
    border-bottom: none;
}
.home-pricing-features-simple li.excluded {
    color: var(--text-muted, #737373);
    opacity: 0.7;
}
.home-pricing-card .btn-block {
    width: 100%;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-md, 8px);
    cursor: pointer;
    text-align: center;
    margin-top: auto;
    text-decoration: none;
    display: inline-block;
    box-sizing: border-box;
}
.home-pricing-card .btn-primary.btn-block {
    background: var(--accent-primary, #3b82f6);
    color: var(--text-on-accent, #fff);
    border: none;
    transition: background 0.2s ease, transform 0.2s ease;
}
.home-pricing-card .btn-primary.btn-block:hover {
    background: var(--accent-hover, #2563eb);
    transform: translateY(-2px);
}
.home-pricing-card .btn-secondary.btn-block {
    background: transparent;
    border: 1px solid var(--border-subtle, #2a2a2a);
    color: var(--text-primary, #f5f5f5);
}
.home-pricing-card .btn-secondary.btn-block:hover {
    background: rgba(255, 255, 255, 0.06);
}
.home-pricing-faq {
    max-width: 720px;
    margin: var(--spacing-xl, 48px) auto 0;
    padding-top: var(--spacing-xl, 48px);
    border-top: 1px solid var(--border-subtle, #2a2a2a);
}
.home-pricing-faq-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg, 24px);
    color: var(--text-primary, #f5f5f5);
}
.home-pricing-faq-list {
    margin: 0;
    padding: 0;
}
.home-pricing-faq-list dt {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary, #f5f5f5);
    margin-top: var(--spacing-lg, 24px);
}
.home-pricing-faq-list dt:first-child { margin-top: 0; }
.home-pricing-faq-list dd {
    margin: var(--spacing-sm, 8px) 0 0;
    font-size: 0.9375rem;
    color: var(--text-secondary, #a3a3a3);
    line-height: 1.6;
}
.home-pricing-faq-list dd a {
    color: var(--accent-primary, #3b82f6);
    text-decoration: none;
}
.home-pricing-faq-list dd a:hover { text-decoration: underline; }
.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--accent-primary, #3b82f6);
    color: var(--text-on-accent, #fff);
    border-radius: var(--radius-sm, 6px);
}

/* ----- 4b. Trust Signals ----- */
.home-trust {
    padding: var(--spacing-xl, 80px) var(--spacing-lg, 24px);
    background: var(--bg-surface, #1f1f1f);
    border-top: 1px solid var(--border-subtle, #2a2a2a);
    max-width: 100%;
}
.home-trust .home-section {
    padding: 0;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}
.home-trust .home-section h2 {
    margin: 0 0 var(--spacing-xl, 48px) 0;
}
.home-trust-grid {
    text-align: left;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg, 32px) var(--spacing-xl, 48px);
    margin-bottom: var(--spacing-xl, 48px);
    width: 100%;
}
.home-trust-item {
    display: flex;
    gap: var(--spacing-md, 16px);
    align-items: flex-start;
}
.home-trust-icon {
    width: 20px;
    height: 20px;
    color: var(--success, #22c55e);
    flex-shrink: 0;
    margin-top: 2px;
}
.home-trust-text {
    font-size: 15px;
    color: var(--text-secondary, #a3a3a3);
    line-height: 1.6;
    margin: 0;
}
.home-trust-text strong {
    display: block;
    color: var(--text-primary, #f5f5f5);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-2, 8px);
    line-height: 1.4;
}
.home-trust-text p {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary, #a3a3a3);
}
.home-trust-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg, 24px);
    justify-content: center;
}
.home-trust-link {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-primary, #3b82f6);
    text-decoration: none;
}
.home-trust-link:hover {
    text-decoration: underline;
}

/* ----- 5. Manifesto ----- */
.home-manifesto {
    background: var(--bg-surface, #1f1f1f);
    padding: var(--spacing-xl, 80px) var(--spacing-lg, 24px);
    border-top: 1px solid var(--border-subtle, #2a2a2a);
    border-bottom: 1px solid var(--border-subtle, #2a2a2a);
    text-align: center;
    max-width: 100%;
}
.home-manifesto h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--text-primary, #f5f5f5);
    margin: 0 0 var(--spacing-xl, 48px) 0;
    line-height: 1.2;
}
.home-manifesto-body {
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
}
.home-manifesto-body > p:first-child {
    font-size: 1.2rem;
    line-height: 1.7;
    margin: 0 0 var(--spacing-xl, 40px) 0;
    color: var(--text-secondary, #a3a3a3);
}
.home-manifesto-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-xl, 40px) 0;
}
.home-manifesto-body ul li {
    font-size: 1rem;
    color: var(--text-secondary, #a3a3a3);
    line-height: 1.6;
    padding: var(--spacing-md, 16px) 0;
    padding-left: 2rem;
    position: relative;
}
.home-manifesto-body ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    font-size: 1.1rem;
    color: var(--accent-primary, #3b82f6);
}
.home-manifesto-body p {
    margin: 0 0 var(--spacing-lg, 24px) 0;
    font-size: 1rem;
    color: var(--text-secondary, #a3a3a3);
    line-height: 1.7;
}
.home-manifesto-body p:last-child {
    margin-bottom: 0;
    font-size: 1.25rem;
    color: var(--text-primary, #f5f5f5);
    line-height: 1.5;
}
.home-manifesto-body p strong {
    font-weight: 700;
}

/* ----- 6. Newsletter CTA ----- */
.home-newsletter {
    background-color: var(--bg-surface, #1f1f1f);
    border-top: 1px solid var(--border-subtle, #2a2a2a);
    border-bottom: 1px solid var(--border-subtle, #2a2a2a);
    padding-top: 80px;
    padding-bottom: 80px;
    padding-left: var(--spacing-lg, 24px);
    padding-right: var(--spacing-lg, 24px);
}
.home-newsletter-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.home-newsletter-heading {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary, #f5f5f5);
    margin: 0 0 16px 0;
}
.home-newsletter-sub {
    font-size: 18px;
    color: var(--text-secondary, #a3a3a3);
    line-height: 1.6;
    margin: 0 0 40px 0;
}
.home-newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}
.home-newsletter-input {
    flex: 1;
    height: 52px;
    background: var(--bg-primary, #0a0a0a);
    border: 1px solid var(--border-subtle, #2a2a2a);
    border-radius: 8px;
    padding: 0 20px;
    font-size: 16px;
    color: var(--text-primary, #f5f5f5);
}
.home-newsletter-input::placeholder {
    color: var(--text-muted, #737373);
}
.home-newsletter-input:focus {
    outline: none;
    border-color: var(--accent-primary, #3b82f6);
}
.home-newsletter-input--error {
    border-color: #dc2626;
}
.home-newsletter-btn {
    height: 52px;
    padding: 0 32px;
    background: var(--accent-primary, #3b82f6);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.home-newsletter-btn:hover:not(:disabled) {
    background: var(--accent-hover, #2563eb);
    transform: translateY(-2px);
}
.home-newsletter-btn:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}
.home-newsletter-btn-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: home-newsletter-spin 0.7s linear infinite;
    vertical-align: middle;
}
@keyframes home-newsletter-spin {
    to { transform: rotate(360deg); }
}
.home-newsletter-form-wrap {
    margin: 0 auto;
}
.home-newsletter-success {
    font-size: 18px;
    font-weight: 600;
    color: #22c55e;
    margin: 0;
    padding: 1rem 0;
}
.home-newsletter-msg {
    font-size: 14px;
    margin: 16px 0 0 0;
    min-height: 1.4em;
}
.home-newsletter-msg--success {
    color: #22c55e;
}
.home-newsletter-msg--error {
    color: #dc2626;
}
.home-newsletter-fine {
    font-size: 14px;
    color: var(--text-secondary, #a3a3a3);
    margin: 16px 0 0 0;
}
.home-newsletter-fine a {
    color: var(--accent-primary, #3b82f6);
    text-decoration: none;
}
.home-newsletter-fine a:hover {
    text-decoration: underline;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ----- 7. Footer ----- */
.home-footer {
    background: #0a0a0a;
    color: var(--text-muted, #737373);
    font-size: 14px;
    border-top: 1px solid var(--border-subtle, #2a2a2a);
    padding: 60px var(--spacing-lg, 24px) 32px;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
}
.home-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
}
/* Logo and tagline at top; 4-column grid full width below */
.home-footer-brand {
    width: 100%;
    margin-bottom: 48px;
}
.home-footer-logo {
    display: inline-block;
    margin-bottom: 8px;
}
.home-footer-logo-img {
    height: 32px;
    width: auto;
    display: block;
}
.home-footer-logo:hover .home-footer-logo-img {
    opacity: 0.9;
}
.home-footer-tagline {
    font-size: 14px;
    color: var(--text-secondary, #a3a3a3);
    margin: 0;
}
.home-footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 64px;
    margin-bottom: 48px;
    width: 100%;
}
.home-footer-col strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary, #f5f5f5);
    margin-bottom: 16px;
}
.home-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.home-footer-col li {
    margin-bottom: 12px;
}
.home-footer-col a {
    color: var(--text-secondary, #a3a3a3);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}
.home-footer-col a:hover {
    color: var(--accent-primary, #3b82f6);
}
.home-footer-bottom {
    border-top: 1px solid var(--border-subtle, #2a2a2a);
    padding-top: 32px;
    text-align: center;
}
.home-footer-copy {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary, #a3a3a3);
}
.home-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2, 8px);
}
.home-footer-links li {
    display: inline;
}
.home-footer-links li + li::before {
    content: " · ";
    margin: 0 2px;
    color: var(--text-muted, #737373);
}
.home-footer-links a {
    color: var(--text-muted, #737373);
    text-decoration: none;
}
.home-footer-links a:hover {
    color: var(--text-secondary, #a3a3a3);
}

/* ----- Nav (minimal) ----- */
.home-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4, 16px) var(--space-6, 24px);
    border-bottom: 1px solid var(--border-subtle, var(--border));
    background: var(--bg-app, var(--bg));
}
.home-nav-logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary, var(--text));
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
/* Main brand logo: larger for prominence next to hero */
.home-nav-logo img,
.brand-logo img {
    height: 40px;
    width: auto;
    display: block;
}
.home-nav-logo-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary, var(--accent));
    border-radius: 50%;
}
.home-nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-6, 24px);
}
.home-nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary, var(--muted));
    text-decoration: none;
}
.home-nav-links a:hover {
    color: var(--text-primary, var(--text));
}
.home-nav .btn-nav {
    padding: var(--space-2, 8px) var(--space-4, 16px);
    background: var(--accent-primary, var(--accent));
    color: var(--text-on-accent, #fff);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md, 8px);
}
.home-nav .btn-nav:hover {
    background: var(--accent-hover, var(--accent-h));
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
    .home-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
    .pricing-featured {
        transform: none;
    }
    .home-extension-card {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg, 24px);
        padding: var(--spacing-lg, 32px);
        text-align: center;
    }
    .home-extension-icon {
        margin: 0 auto;
    }
    .home-extension-actions {
        justify-content: center;
    }
}
@media (max-width: 768px) {
    main {
        padding-left: var(--spacing-md, 16px);
        padding-right: var(--spacing-md, 16px);
    }
    .home-hero {
        min-height: 500px;
    }
    .home-hero-bg img {
        object-position: 65% center;
    }
    .home-hero-headline {
        font-size: 42px;
        white-space: normal; /* allow stack on mobile */
    }
    .home-hero-headline .hero-headline-second {
        display: block; /* "Start Investigating." on second line */
    }
    .home-hero-sub {
        font-size: 18px;
    }
    .home-hero-content {
        padding: 80px 24px;
    }
    .home-section,
    .home-pro-section,
    .home-extension,
    .home-coming-section .home-section,
    .home-pricing-section,
    .home-trust,
    .home-manifesto {
        padding-top: var(--spacing-lg, 48px);
        padding-bottom: var(--spacing-lg, 48px);
    }
    .home-section h2 + .home-section-sub,
    .home-section h2 + .section-description,
    .home-pricing-section .home-section-sub,
    .home-coming-section .home-section-header + .home-section-sub {
        margin-bottom: var(--spacing-lg, 32px);
    }
    .home-tools-grid {
        grid-template-columns: 1fr;
    }
    .home-pro-grid {
        grid-template-columns: 1fr;
    }
    .home-coming-section .home-tools-grid {
        grid-template-columns: 1fr;
    }
    .home-nav-links {
        gap: var(--spacing-md, 16px);
    }
    .home-newsletter {
        padding: 48px var(--spacing-md, 16px);
    }
    .home-newsletter-form {
        flex-direction: column;
        max-width: none;
    }
    .home-newsletter-input,
    .home-newsletter-btn {
        width: 100%;
    }
    .home-newsletter-heading {
        font-size: 1.75rem;
    }
    .home-footer-columns {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 32px;
    }
    .home-footer-brand {
        text-align: center;
        margin-bottom: 32px;
    }
    .home-extension-actions {
        flex-direction: column;
    }
    .home-extension-actions .btn-primary,
    .home-extension-actions .btn-outline {
        width: 100%;
        text-align: center;
    }
    .home-pricing-card {
        min-height: auto;
        padding: var(--spacing-lg, 28px) var(--spacing-md, 20px);
    }
    .home-hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    .home-hero-buttons .btn-primary,
    .home-hero-buttons .btn-secondary-hero {
        width: 100%;
        text-align: center;
    }
    .home-trust-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .home-hero-headline {
        font-size: 36px;
    }
    .home-section h2,
    .home-pricing-section h2,
    .home-manifesto h2 {
        font-size: 1.5rem;
    }
}
