/* ==========================================================================
   Marketing — Mercury-inspired (Sprint 2.5)
   Mono surfaces, real product shots, airy type
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@400;500;600&display=swap");

:root {
    --mkt-display: "Instrument Serif", Georgia, "Times New Roman", serif;
    --mkt-surface: #f4f6f8;
    --mkt-surface-2: #eef1f4;
    --mkt-ink: #0b1f33;
    --mkt-muted: #5c6b7a;
    --mkt-line: #e2e8ef;
    --mkt-accent: #c9a227; /* gold — ProfitGuard CTA only */
}

/* —— Heroes —— */
.mkt-hero {
    background: #fafbfc;
    color: var(--mkt-ink);
    padding: clamp(3.5rem, 8vw, 6.5rem) var(--space-8) clamp(3rem, 6vw, 5rem);
    border-bottom: 1px solid var(--mkt-line);
    position: relative;
}

.mkt-hero::after { display: none; }

.mkt-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 4vw, 3rem);
    align-items: stretch;
}

.mkt-hero-inner > .mkt-hero-copy {
    max-width: 48rem;
}

.mkt-hero-inner > .mkt-carousel {
    width: 100%;
    max-width: 100%;
}

.mkt-hero-copy h1 {
    font-family: var(--mkt-display);
    font-weight: 400;
    font-size: clamp(3rem, 7vw, 5.25rem);
    letter-spacing: -0.035em;
    line-height: 1.02;
    color: var(--mkt-ink);
    margin: 0 0 1.5rem;
}

.mkt-hero-copy .lead {
    color: var(--mkt-muted);
    font-size: clamp(1.2rem, 2.2vw, 1.5rem);
    line-height: 1.6;
    max-width: 36rem;
    margin: 0 0 2rem;
    font-weight: 400;
}

.mkt-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.mkt-hero-actions .btn-gold,
.mkt-hero-actions .btn-lg {
    font-size: 1.0625rem;
    padding: 1rem 1.5rem;
}

.mkt-hero-actions .btn-gold {
    background: var(--mkt-accent);
    color: #0f172a;
    font-weight: 600;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: none;
}

.mkt-hero-actions .btn-gold:hover {
    background: #b8921f;
    color: #0f172a;
}

.mkt-hero-actions .btn-outline {
    border-color: var(--mkt-line);
    color: var(--mkt-ink);
    background: #fff;
    padding: 0.85rem 1.25rem;
}

.mkt-hero-actions .btn-outline:hover {
    background: var(--mkt-surface);
    border-color: #c5ced8;
    color: var(--mkt-ink);
}

.mkt-hero-note {
    margin-top: 1rem;
    font-size: 0.8125rem;
    color: var(--mkt-muted);
}

/* Catalog / centered hero variant */
.mkt-hero.centered .mkt-hero-inner {
    text-align: center;
    align-items: center;
}

.mkt-hero.centered .mkt-hero-copy {
    max-width: 40rem;
    margin: 0 auto;
    text-align: center;
}

.mkt-hero.centered .mkt-hero-actions {
    justify-content: center;
}

.mkt-hero.centered .lead {
    margin-left: auto;
    margin-right: auto;
}

.mkt-hero.centered .mkt-hero-note {
    text-align: center;
}

/* Product screenshot frame + PG landing-style carousel */
.mkt-shot {
    background: #fff;
    border: 1px solid var(--mkt-line);
    border-radius: 1rem;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 24px 48px -12px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

.mkt-shot-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.7rem 1rem;
    background: #f1f5f9;
    border-bottom: 1px solid var(--mkt-line);
}

.mkt-shot-bar i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
    flex-shrink: 0;
}

.mkt-shot-bar i:nth-child(1) { background: #f87171; }
.mkt-shot-bar i:nth-child(2) { background: #fbbf24; }
.mkt-shot-bar i:nth-child(3) { background: #34d399; }

.mkt-shot-bar .mkt-shot-url {
    flex: 1;
    margin: 0 1.5rem;
    background: #fff;
    border: 1px solid var(--mkt-line);
    border-radius: 0.375rem;
    padding: 0.2rem 0.75rem;
    font-size: 0.7rem;
    color: #94a3b8;
    text-align: center;
    max-width: 14rem;
    margin-left: auto;
    margin-right: auto;
}

.mkt-shot img {
    display: block;
    width: 100%;
    height: auto;
}

/* Carousel (LandingSlideshow-style) */
.mkt-carousel {
    width: 100%;
}

.mkt-carousel-stage {
    position: relative;
    width: 100%;
    /* Taller stage when full-width under copy (was cramped in side-by-side) */
    padding-bottom: min(72%, 640px);
    min-height: 320px;
    background: #f8fafc;
}

@media (min-width: 900px) {
    .mkt-carousel-stage {
        padding-bottom: 58%;
        min-height: 420px;
    }
}

.mkt-carousel-stage [data-carousel-slide] {
    position: absolute;
    inset: 0;
    padding: 0.75rem 1rem 1rem;
    opacity: 0;
    z-index: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.mkt-carousel-stage [data-carousel-slide].is-active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
}

.mkt-carousel-stage img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    border-radius: 0.5rem;
    background: #fff;
}

.mkt-carousel-dots {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 0.65rem;
    margin-top: 1.15rem;
}

.mkt-carousel-dots button {
    appearance: none;
    border: 1px solid var(--mkt-line);
    background: #fff;
    color: #64748b;
    font-size: 0.8125rem;
    font-weight: 500;
    font-family: inherit;
    padding: 0.45rem 0.9rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.mkt-carousel-dots button:hover {
    background: #f1f5f9;
    color: var(--mkt-ink);
}

.mkt-carousel-dots button.is-active {
    background: var(--mkt-accent);
    border-color: var(--mkt-accent);
    color: #fff;
    box-shadow: 0 2px 8px rgba(201, 162, 39, 0.35);
}

.mkt-carousel-dots button:focus-visible {
    outline: 2px solid var(--mkt-ink);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .mkt-carousel-stage [data-carousel-slide] {
        transition: none;
    }
}

/* —— Sections —— */
.mkt-section {
    max-width: 1120px;
    margin: 0 auto;
    padding: clamp(4rem, 8vw, 6.5rem) var(--space-8);
}

.mkt-section.alt {
    max-width: none;
    background: var(--mkt-surface);
    border-top: 1px solid var(--mkt-line);
    border-bottom: 1px solid var(--mkt-line);
    padding-left: 0;
    padding-right: 0;
}

.mkt-section.alt > .mkt-section-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 var(--space-8);
}

.mkt-section-header {
    margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
    max-width: 42rem;
}

.mkt-section-header h2 {
    font-family: var(--mkt-display);
    font-weight: 400;
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin: 0 0 1rem;
    color: var(--mkt-ink);
}

.mkt-section-header p {
    color: var(--mkt-muted);
    font-size: clamp(1.125rem, 2vw, 1.35rem);
    line-height: 1.65;
    margin: 0;
}

.mkt-eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #8b9aab;
    margin-bottom: 0.85rem;
}

/* —— Product band (neutral mono) —— */
.mkt-band {
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 3vw, 2.25rem);
    align-items: stretch;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.mkt-band:last-child { margin-bottom: 0; }

/* Flagship: copy first, full-width carousel below */
.mkt-band.flagship {
    border: none;
}

.mkt-band.flagship .mkt-band-body {
    max-width: 40rem;
}

.mkt-band.flagship .mkt-band-visual {
    order: 2;
    width: 100%;
}

.mkt-band.flagship .mkt-band-body {
    order: 1;
}

.mkt-band-visual {
    background: var(--mkt-surface);
    border: 1px solid var(--mkt-line);
    border-radius: 1rem;
    padding: 1.25rem;
    min-height: 0;
    display: block;
    text-align: left;
    overflow: hidden;
}

.mkt-band-visual.pg,
.mkt-band-visual.mh,
.mkt-band-visual.vci {
    background: var(--mkt-surface);
    border-color: var(--mkt-line);
    color: var(--mkt-ink);
    padding: 0;
}

.mkt-band-visual img.shot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.85rem;
}

.mkt-band-visual .mkt-shot {
    border: none;
    box-shadow: none;
    border-radius: 0.85rem;
}

.mkt-band-visual .hook {
    display: none; /* copy lives in body now */
}

/* Brand lockup: one small mark + name (use once per product block) */
.mkt-band-mark {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.mkt-band-mark img,
.mkt-lockup-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
}

.mkt-band-mark span {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--mkt-ink);
    letter-spacing: -0.01em;
}

/* Text-only product label when the icon is shown only in the media panel */
.mkt-product-name {
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mkt-muted);
    margin: 0 0 0.75rem;
}

.mkt-band-body h3 {
    font-family: var(--mkt-display);
    font-weight: 400;
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    letter-spacing: -0.025em;
    margin: 0 0 0.45rem;
    color: var(--mkt-ink);
}

.mkt-band-body .subtitle {
    color: var(--mkt-muted);
    font-size: 1.0625rem;
    font-weight: 500;
    margin: 0 0 1.25rem;
}

.mkt-band-body .pitch {
    color: var(--mkt-ink);
    font-size: clamp(1.125rem, 1.8vw, 1.3rem);
    line-height: 1.7;
    margin: 0 0 1.5rem;
    max-width: 38rem;
}

.mkt-points {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
}

.mkt-points li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.7rem;
    font-size: 1.125rem;
    color: var(--mkt-muted);
    line-height: 1.55;
}

.mkt-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #94a3b8;
}

.mkt-band-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

.mkt-band-actions .btn-primary,
.mkt-band-actions .btn-gold,
.mkt-band-actions .btn-outline,
.mkt-intro-actions .btn-lg {
    font-size: 1.0625rem;
    padding: 0.9rem 1.35rem;
}

.mkt-band-actions .btn-primary {
    background: var(--mkt-ink);
    color: #fff;
    font-weight: 500;
    padding: 0.9rem 1.35rem;
}

.mkt-band-actions .btn-primary:hover {
    background: #16324f;
    color: #fff;
}

.mkt-band-actions .btn-gold {
    background: var(--mkt-accent);
    color: #0f172a;
    font-weight: 600;
    padding: 0.7rem 1.15rem;
}

.mkt-band-actions .btn-outline {
    border-color: var(--mkt-line);
    color: var(--mkt-ink);
    background: transparent;
    padding: 0.7rem 1rem;
}

.mkt-band-micro {
    width: 100%;
    margin-top: 0.85rem;
    font-size: 0.75rem;
    color: #8b9aab;
}

.mkt-disclaimer {
    font-size: 0.75rem;
    color: #8b9aab;
    margin: 0 0 1rem;
}

/* Secondary products — 2-col stack of neutral bands */
.mkt-band-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 0;
}

.mkt-band-grid .mkt-band {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 0;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--mkt-line);
    border-radius: 1rem;
}

.mkt-band-grid .mkt-band-visual {
    min-height: 0;
    border: none;
    background: var(--mkt-surface);
    border-radius: 0.75rem;
    padding: 0.75rem;
}

.mkt-band-grid .mkt-band-body h3 {
    font-size: 1.5rem;
}

/* Quiet CTA strip */
.mkt-cta-strip {
    border: 1px solid var(--mkt-line);
    border-radius: 1rem;
    background: #fff;
    padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: clamp(3rem, 6vw, 4.5rem);
}

.mkt-cta-strip h3 {
    font-family: var(--mkt-display);
    font-weight: 400;
    margin: 0 0 0.4rem;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--mkt-ink);
}

.mkt-cta-strip p {
    margin: 0;
    color: var(--mkt-muted);
    font-size: 0.9375rem;
    max-width: 32rem;
    line-height: 1.55;
}

.mkt-cta-strip-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

/* Pricing row */
.mkt-price-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem;
    padding: 1.15rem 0;
    margin-bottom: 1.35rem;
    border-top: 1px solid var(--mkt-line);
    border-bottom: 1px solid var(--mkt-line);
}

.mkt-price-item { flex: 1; min-width: 6.5rem; }

.mkt-price-item .amount {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--mkt-ink);
    letter-spacing: -0.02em;
}

.mkt-price-item .amount span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--mkt-muted);
}

.mkt-price-item .tier {
    font-size: 0.75rem;
    color: #8b9aab;
    margin-top: 2px;
}

.mkt-price-item.highlight .amount {
    color: var(--mkt-ink);
}

/* Catalog grids */
.mkt-catalog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.mkt-catalog-grid.secondary {
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.mkt-catalog-grid.secondary .mkt-band {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 0;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--mkt-line);
    border-radius: 1rem;
}

.mkt-catalog-grid.flagship .mkt-band {
    margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

/* ==========================================================================
   Catalog / product page — Mercury-style full-width centered
   ========================================================================== */

.mkt-intro {
    position: relative;
    min-height: min(78vh, 720px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    background: #0b1f33;
}

.mkt-intro-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
}

.mkt-intro-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(7, 21, 36, 0.55) 0%,
        rgba(7, 21, 36, 0.72) 45%,
        rgba(7, 21, 36, 0.88) 100%
    );
}

.mkt-intro-inner {
    position: relative;
    z-index: 1;
    max-width: min(56rem, 92vw);
    margin: 0 auto;
    padding: clamp(4.5rem, 12vw, 8rem) 1.5rem;
}

.mkt-intro-inner .mkt-eyebrow {
    /* Brand wordmark — not a tiny section label */
    display: block;
    font-family: var(--mkt-display);
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    font-weight: 400;
    font-style: normal;
    text-transform: none;
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 1.15rem;
    opacity: 0.95;
}

.mkt-intro-inner h1 {
    font-family: var(--mkt-display);
    font-weight: 400;
    font-size: clamp(3.25rem, 8vw, 5.75rem);
    letter-spacing: -0.035em;
    line-height: 1.02;
    color: #fff;
    margin: 0 0 1.5rem;
}

.mkt-intro-inner .lead {
    font-size: clamp(1.25rem, 2.5vw, 1.55rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 auto 2.25rem;
    max-width: 38rem;
}

.mkt-intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.mkt-intro-actions .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.mkt-intro-actions .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Full-bleed product blocks — centered copy, wide media */
.mkt-product {
    padding: clamp(4.5rem, 9vw, 7rem) 1.5rem;
    border-bottom: 1px solid var(--mkt-line);
    background: #fff;
}

.mkt-product:nth-child(even) {
    background: var(--mkt-surface);
}

.mkt-product-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(2rem, 4vw, 2.75rem);
}

.mkt-product-copy {
    max-width: 44rem;
    margin: 0 auto;
}

.mkt-product-copy .mkt-band-mark {
    justify-content: center;
    margin-bottom: 1.25rem;
}

.mkt-product-copy .mkt-band-mark span {
    font-size: 1rem;
}

.mkt-product-copy h2 {
    font-family: var(--mkt-display);
    font-weight: 400;
    font-size: clamp(2.75rem, 5.5vw, 4rem);
    letter-spacing: -0.03em;
    line-height: 1.06;
    color: var(--mkt-ink);
    margin: 0 0 0.65rem;
}

.mkt-product-copy .subtitle {
    color: var(--mkt-muted);
    font-size: clamp(1.0625rem, 1.8vw, 1.2rem);
    font-weight: 500;
    margin: 0 0 1.35rem;
}

.mkt-product-copy .pitch {
    color: #334155;
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    line-height: 1.7;
    margin: 0 0 1.75rem;
}

.mkt-product-copy .mkt-points {
    text-align: left;
    display: inline-block;
    margin: 0 auto 1.85rem;
    max-width: 30rem;
}

.mkt-product-copy .mkt-points li {
    color: #475569;
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.mkt-product-copy .mkt-band-actions {
    justify-content: center;
}

.mkt-product-copy .mkt-band-micro,
.mkt-product-copy .mkt-disclaimer {
    text-align: center;
}

.mkt-product-media {
    width: 100%;
    max-width: 1080px;
}

.mkt-product-media .mkt-carousel,
.mkt-product-media .mkt-shot {
    width: 100%;
}

/* Neutral product visual for non-PG products (same system) */
.mkt-product-panel {
    width: 100%;
    max-width: 1080px;
    background: #fff;
    border: 1px solid var(--mkt-line);
    border-radius: 1rem;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 24px 48px -16px rgba(15, 23, 42, 0.1);
    padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

/* Single media icon size for products without screenshot carousels */
.mkt-product-panel .mkt-product-icon,
.mkt-product-panel img.mkt-product-icon {
    width: 64px;
    height: 64px;
    max-width: 64px;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: none;
    margin: 0 auto;
    display: block;
}

.mkt-product-panel p {
    margin: 0;
    max-width: 32rem;
    color: var(--mkt-muted);
    font-size: clamp(1.125rem, 1.8vw, 1.3rem);
    line-height: 1.65;
}

.mkt-cta-strip h3 {
    font-size: clamp(1.75rem, 3vw, 2.35rem) !important;
}

.mkt-cta-strip p {
    font-size: 1.125rem !important;
}

.mkt-carousel-dots button {
    font-size: 0.9375rem;
    padding: 0.55rem 1.05rem;
}

@media (max-width: 900px) {
    .mkt-band-grid,
    .mkt-catalog-grid.secondary {
        grid-template-columns: 1fr;
    }

    .mkt-hero {
        padding: 3rem 1.25rem 2.5rem;
    }

    .mkt-section {
        padding: 3.5rem 1.25rem;
    }

    .mkt-section.alt > .mkt-section-inner {
        padding: 0 1.25rem;
    }

    .mkt-band-grid .mkt-band,
    .mkt-catalog-grid.secondary .mkt-band {
        padding: 1.25rem;
    }

    .mkt-intro {
        min-height: min(70vh, 560px);
    }
}
