/* ============================================================
   offer.css — styles specific to offer / landing pages.
   Loaded only on offer pages (cold-email + future offers).
   Shared components live in components.css; this holds
   offer-only layout helpers + the ROI calculator.
   ============================================================ */

/* Offer hero: single-column, left-aligned, proof chip under CTA */
.offer-hero .container {
    grid-template-columns: 1.15fr 0.85fr;
}

.offer-hero .hero-content h1 {
    max-width: 14ch;
}

.proof-chip {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin-top: 2rem;
    padding: 0.9rem 1.1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: var(--fs-small);
    color: var(--text-secondary);
}

.proof-chip strong {
    color: var(--text-primary);
}

.proof-chip .pill {
    background: var(--accent-faint);
    border-color: rgba(139, 92, 246, 0.3);
    color: var(--accent-secondary);
}

/* Hero proof stat card (floats on the right, hides < 1024px) */
.proof-card {
    width: 100%;
    max-width: 360px;
    padding: 1.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color-hover);
    border-radius: var(--radius-lg);
    box-shadow: var(--elev-2), var(--inset-highlight);
    animation: float 6s ease-in-out infinite;
}

.proof-card .eyebrow {
    margin-bottom: 1rem;
}

.proof-card .proof-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-color);
}

.proof-card .proof-row:last-of-type {
    border-bottom: none;
}

.proof-card .proof-row span {
    color: var(--text-secondary);
    font-size: var(--fs-small);
}

.proof-card .proof-row strong {
    color: var(--text-primary);
    font-size: 1.15rem;
}

.proof-card .proof-caption {
    margin-top: 1rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Insight / full-width statement section */
.insight {
    background: var(--bg-secondary);
}

.insight .container {
    max-width: 880px;
}

.insight p {
    font-size: var(--fs-lead);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

/* "Cheapest to test" 3-bullet band */
.reasons-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.reason {
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.reason strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.reason p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin: 0;
}

/* ============================================================
   ROI / Reply-rate calculator  (the standout interactive asset)
   Vanilla-JS driven (assets/js/calculator.js). Honest framing:
   every output labeled an estimate, never a promise.
   ============================================================ */
.calc {
    max-width: 940px;
    margin: 2.5rem auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.calc-inputs,
.calc-output {
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--inset-highlight);
}

.calc-output {
    background: linear-gradient(180deg, var(--accent-faint) 0%, var(--bg-card) 100%);
    border-color: rgba(139, 92, 246, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calc-field {
    margin-bottom: 1.4rem;
}

.calc-field label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: var(--fs-small);
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.calc-field label .calc-val {
    color: var(--accent-secondary);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.calc-field input[type="range"] {
    width: 100%;
    accent-color: var(--accent-primary);
    cursor: pointer;
}

.calc-field input[type="number"] {
    width: 100%;
    padding: 0.7rem 0.9rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: var(--fs-body);
}

.calc-result {
    text-align: center;
}

.calc-result .calc-big {
    display: block;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    line-height: 1.1;
}

.calc-result .calc-big-label {
    display: block;
    margin: 0.5rem 0 1.5rem;
    color: var(--accent-secondary);
    font-weight: 500;
}

.calc-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
    margin-top: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
}

.calc-breakdown .calc-line {
    display: flex;
    justify-content: space-between;
    font-size: var(--fs-small);
    color: var(--text-secondary);
}

.calc-breakdown .calc-line strong {
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

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

/* ----- Responsive ----- */
@media (max-width: 1024px) {
    .offer-hero .container {
        grid-template-columns: 1fr;
    }

    .offer-hero .hero-content h1 {
        max-width: 18ch;
    }
}

@media (max-width: 900px) {
    .calc {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .reasons-band {
        grid-template-columns: 1fr;
    }
}
