:root {
    --marketing-ink: #07162f;
    --marketing-muted: #53657a;
    --marketing-green: #00785c;
    --marketing-green-dark: #005b46;
    --marketing-mint: #eafaf4;
    --marketing-line: #d8e3e8;
    --marketing-surface: #f6f9f8;
}

html { scroll-behavior: smooth; }
main { width: 100%; max-width: none; margin: 0; }
.marketing-shell { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }

.homepage-timelapse { display: grid; grid-template-columns: minmax(280px,.78fr) minmax(520px,1.22fr); gap: 42px; align-items: center; width: min(1280px,calc(100% - 40px)); margin: 34px auto 42px; padding: 34px; border: 1px solid #d8e7e1; border-radius: 18px; background: linear-gradient(135deg,#f1fbf7 0%,#fff 58%); box-shadow: 0 18px 48px rgba(16,37,31,.08); }
.homepage-timelapse-copy h2 { margin: 8px 0 16px; color: var(--marketing-ink); font-size: clamp(30px,3.5vw,48px); line-height: 1.06; letter-spacing: -.035em; }
.homepage-timelapse-copy > p:last-of-type { margin: 0; color: var(--marketing-muted); font-size: 16px; line-height: 1.65; }
.homepage-timelapse-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.homepage-timelapse-media { margin: 0; overflow: hidden; border-radius: 14px; background: #071d20; box-shadow: 0 16px 38px rgba(7,29,32,.2); }
.homepage-timelapse-media video { display: block; width: 100%; aspect-ratio: 16/9; background: #071d20; object-fit: cover; }
.homepage-timelapse-media figcaption { padding: 11px 15px 13px; color: #d8eee6; background: #082b25; font-size: 11px; line-height: 1.45; }

.workspace, .results, .report-step { width: min(1280px, calc(100% - 40px)); margin-inline: auto; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    overflow: hidden;
    border-bottom: 1px solid rgba(167,243,208,.2);
    background: linear-gradient(118deg, #063c31 0%, #075e48 58%, #0a7458 100%);
    box-shadow: 0 7px 24px rgba(6,78,59,.16);
    backdrop-filter: blur(12px);
}
.site-header::after {
    content: "";
    position: absolute;
    right: 8%;
    bottom: -145px;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    box-shadow: 0 0 0 38px rgba(255,255,255,.025), 0 0 0 76px rgba(255,255,255,.018);
    pointer-events: none;
}
.header-inner { position: relative; z-index: 1; max-width: 1320px; }
.brand img {
    filter: brightness(0) invert(1);
    opacity: .98;
}
.top-nav { gap: 18px; }
.top-nav a {
    padding: 8px 4px;
    border-radius: 7px;
    color: #d9eee7;
    white-space: nowrap;
    transition: color .15s ease, background .15s ease, transform .15s ease;
}
.top-nav a:hover { color: #fff; }
.top-nav .nav-account {
    padding-inline: 10px;
    color: #f0fff9;
    background: rgba(255,255,255,.09);
}
.top-nav .nav-account:hover { background: rgba(255,255,255,.16); }
.top-nav .nav-cta {
    padding: 10px 16px;
    border: 1px solid rgba(255,255,255,.74);
    color: #075e48;
    background: #f6fff9;
    box-shadow: 0 5px 16px rgba(0,0,0,.12);
}
.top-nav .nav-cta:hover {
    color: #064e3b;
    background: #fff;
    box-shadow: 0 7px 20px rgba(0,0,0,.16);
    transform: translateY(-1px);
}
.top-nav a:focus-visible {
    outline-color: rgba(209,250,229,.72);
}

.price-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.marketing-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 50px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.marketing-button:hover { transform: translateY(-1px); }
.marketing-button-primary { color: #fff; background: var(--marketing-green); box-shadow: 0 8px 22px rgba(0,120,92,.18); }
.marketing-button-primary:hover { color: #fff; background: var(--marketing-green-dark); }
.marketing-button-secondary { color: var(--marketing-ink); background: #fff; border-color: #b9c9d2; }
.marketing-button-secondary:hover { color: var(--marketing-green-dark); border-color: var(--marketing-green); }
.marketing-section, .product-section, .comparison-pricing, .methodology-section, .faq-section { padding-top: 86px; padding-bottom: 86px; }
.section-heading { max-width: 730px; }
.section-heading h2, .workspace-intro h2 { margin: 7px 0 15px; color: var(--marketing-ink); font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -.035em; }
.section-heading > p:last-child, .workspace-intro > p:last-child { color: var(--marketing-muted); font-size: 17px; line-height: 1.65; }
.centered-heading { margin-inline: auto; text-align: center; }
.use-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 42px; }
.use-case-grid article, .audience-grid article, .methodology-grid article {
    border: 1px solid var(--marketing-line);
    border-radius: 14px;
    background: #fff;
}
.use-case-grid article { position: relative; min-height: 190px; padding: 25px; }
.use-case-grid article > span { color: var(--marketing-green); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.use-case-grid h3, .audience-grid h3, .methodology-grid h3 { margin: 22px 0 8px; color: var(--marketing-ink); font-size: 18px; }
.use-case-grid p, .audience-grid p, .methodology-grid p { margin: 0; color: var(--marketing-muted); font-size: 14px; line-height: 1.6; }
.detectability-note { margin: 18px 0 0; padding: 18px 20px; border-left: 4px solid #e8b700; background: #fffbe9; color: #5f5630; font-size: 13px; line-height: 1.6; }

.audience-band { padding: 76px 0; background: #071d32; }
.audience-band .eyebrow { color: #6ee7bc; }
.audience-band .section-heading h2 { color: #fff; }
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 34px; }
.audience-grid article { padding: 23px; border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.055); }
.audience-grid h3 { margin-top: 0; color: #fff; }
.audience-grid p { color: #b9cbd5; }

.product-section { scroll-margin-top: 82px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 54px; align-items: start; }
.processing-list { display: grid; gap: 12px; margin: 34px 0 0; padding: 0; list-style: none; }
.processing-list li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 17px 0; border-top: 1px solid var(--marketing-line); }
.processing-list li > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; background: var(--marketing-green); font-weight: 900; }
.processing-list strong { color: var(--marketing-ink); }
.processing-list p { margin: 4px 0 0; color: var(--marketing-muted); font-size: 14px; line-height: 1.55; }
.deliverables-panel { padding: 34px; border-radius: 18px; color: #fff; background: linear-gradient(145deg, #006b52, #004a3c); box-shadow: 0 20px 45px rgba(0,91,70,.18); }
.deliverables-panel .eyebrow { color: #9bf2d3; }
.deliverables-panel h3 { margin: 10px 0 20px; font-size: 28px; line-height: 1.15; }
.deliverables-panel ul { display: grid; gap: 13px; margin: 0 0 28px; padding: 0; list-style: none; }
.deliverables-panel li { position: relative; padding-left: 25px; color: #e1f7ef; font-size: 14px; line-height: 1.5; }
.deliverables-panel li::before { content: "\2713"; position: absolute; left: 0; color: #9bf2d3; font-weight: 900; }
.deliverables-panel .marketing-button-primary { color: #064638; background: #fff; box-shadow: none; }

.comparison-pricing { border-top: 1px solid var(--marketing-line); }
.offer-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 22px; margin-top: 42px; align-items: stretch; }
.comparison-table-wrap { overflow-x: auto; border: 1px solid var(--marketing-line); border-radius: 15px; background: #fff; }
.offer-table { width: 100%; border-collapse: collapse; }
.offer-table th, .offer-table td { padding: 17px 19px; border-bottom: 1px solid #e5ecef; text-align: left; font-size: 14px; }
.offer-table thead th { color: #fff; background: #0b273c; font-size: 13px; }
.offer-table tbody th { color: var(--marketing-ink); font-weight: 700; }
.offer-table td { color: var(--marketing-green-dark); font-weight: 800; }
.offer-table tr:last-child th, .offer-table tr:last-child td { border-bottom: 0; }
.price-card { padding: 30px; border: 2px solid #82dec0; border-radius: 15px; background: var(--marketing-mint); }
.regional-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 16px; }
.regional-prices div { padding: 17px; border-radius: 11px; background: #fff; }
.regional-prices strong { display: block; color: var(--marketing-ink); font-size: 34px; line-height: 1; }
.regional-prices sup { font-size: .5em; vertical-align: super; }
.regional-prices span { display: block; margin-top: 7px; color: var(--marketing-muted); font-size: 12px; font-weight: 800; }
.price-card > p { color: var(--marketing-muted); font-size: 14px; line-height: 1.55; }
.price-card > .regional-price-note { margin: -6px 0 14px; font-size: 12px; }
.validation-notice { display: grid; gap: 5px; margin-top: 20px; padding: 15px; border-radius: 9px; color: #675517; background: #fff7cf; font-size: 13px; line-height: 1.45; }
.price-actions { align-items: stretch; }
.price-actions .marketing-button { flex: 1; padding-inline: 12px; font-size: 13px; }

.workflow-overview { margin-top: 14px; }
.workflow-number { width: 30px; height: 30px; font-size: 13px; box-shadow: none; }
.workflow-steps li { padding: 8px 10px; }
.workspace-intro { padding: 78px 0 20px; text-align: center; }
.workspace-intro > p:last-child { max-width: 780px; margin-inline: auto; }
.workspace { scroll-margin-top: 90px; }
.step-three-upsell { animation: upsell-pulse 2.4s ease-in-out infinite; }
@keyframes upsell-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(0,120,92,.2); } 50% { box-shadow: 0 0 0 10px rgba(0,120,92,0); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .step-three-upsell { animation: none; } }
.validation-actions { text-align: right; }
.validation-actions .secondary-button { display: inline-flex; text-decoration: none; }

.methodology-section { border-top: 1px solid var(--marketing-line); }
.methodology-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 34px; }
.methodology-grid article { padding: 22px; background: var(--marketing-surface); }
.methodology-grid h3 { margin-top: 0; }
.source-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; padding: 19px; border-radius: 12px; background: #eef6f3; }
.source-list strong { width: 100%; color: var(--marketing-ink); font-size: 13px; text-transform: uppercase; letter-spacing: .07em; }
.source-list span { padding: 8px 10px; border: 1px solid #c9dfd7; border-radius: 999px; color: #2a5a4d; background: #fff; font-size: 12px; }
.method-disclaimer { margin-top: 18px; color: #667784; font-size: 12px; line-height: 1.65; }

.faq-section { padding-top: 30px; }
.faq-list { max-width: 900px; margin: 38px auto 0; border-top: 1px solid var(--marketing-line); }
.faq-list details { border-bottom: 1px solid var(--marketing-line); }
.faq-list summary { position: relative; padding: 22px 45px 22px 0; color: var(--marketing-ink); font-size: 17px; font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 8px; top: 17px; color: var(--marketing-green); font-size: 28px; font-weight: 400; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list p { margin: -4px 45px 22px 0; color: var(--marketing-muted); line-height: 1.65; }

.sample-report-dialog {
    width: min(1180px, calc(100vw - 28px));
    height: min(900px, calc(100vh - 28px));
    max-width: none;
    max-height: none;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(7, 22, 47, .28);
}
.sample-report-dialog::backdrop { background: rgba(7, 22, 47, .68); backdrop-filter: blur(4px); }
.sample-report-modal { display: grid; grid-template-rows: auto minmax(0, 1fr); height: 100%; }
.sample-report-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 20px 24px 18px; color: #fff; background: linear-gradient(120deg, #083c34, #006b52); }
.sample-report-header h2 { margin: 4px 0 3px; font-size: clamp(22px, 3vw, 30px); letter-spacing: -.025em; }
.sample-report-header p { margin: 0; color: #d8f3e9; font-size: 13px; }
.sample-report-kicker { color: #9bf2d3; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.sample-report-close { flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: #fff; background: rgba(255,255,255,.1); font-size: 28px; line-height: 1; cursor: pointer; }
.sample-report-close:hover { background: rgba(255,255,255,.2); }
.sample-report-close:focus-visible { outline: 3px solid #9bf2d3; outline-offset: 2px; }
.sample-report-frame { display: block; width: 100%; height: 100%; border: 0; background: var(--marketing-surface); }

@media (max-width: 1120px) {
    .audience-grid, .methodology-grid { grid-template-columns: 1fr 1fr; }
    .product-section, .offer-grid { grid-template-columns: 1fr; }
    .homepage-timelapse { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .marketing-shell { width: min(100% - 24px, 1240px); }
    .workspace, .results, .report-step { width: min(100% - 24px, 1280px); }
    .header-inner { padding-inline: 12px; }
    .nav-cta { font-size: 12px; }
    .use-case-grid, .audience-grid, .methodology-grid { grid-template-columns: 1fr; }
    .marketing-section, .product-section, .comparison-pricing, .methodology-section, .faq-section { padding-top: 60px; padding-bottom: 60px; }
    .regional-prices { grid-template-columns: 1fr; }
    .deliverables-panel, .price-card { padding: 24px; }
    .offer-table th, .offer-table td { min-width: 145px; padding: 14px; }
    .source-list { display: grid; }
    .validation-actions { text-align: left; }
    .homepage-timelapse { width: min(100% - 24px,1280px); margin: 18px auto 28px; padding: 22px; gap: 24px; }
    .homepage-timelapse-actions { display: grid; }
    .sample-report-dialog { width: 100vw; height: 100dvh; border-radius: 0; }
    .sample-report-header { padding: 15px 16px 14px; }
    .sample-report-header p { display: none; }
}
.language-switcher { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 800; }
.language-switcher a { padding: 4px 2px; }
.language-switcher a[aria-current="page"] { color: var(--marketing-accent, #047857); text-decoration: underline; text-underline-offset: 3px; }
