/* ============================================================
   pricing.css — Pricing page styles for MapOutcomes
   ============================================================ */

/* ---- Reset section defaults (match home.css pattern) ---- */
section.pricing-hero,
section.pricing-section {
    border: none;
    box-shadow: none;
    border-radius: 0;
    margin-bottom: 0;
    overflow: visible;
    animation: none;
    padding: clamp(60px, 8vh, 100px) 0 clamp(48px, 6vh, 72px);
}

/* Grid overlay — light lines on dark, dark lines on light */
section.pricing-hero::before,
section.pricing-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 44px, rgba(255,255,255,0.02) 44px, rgba(255,255,255,0.02) 45px),
        repeating-linear-gradient(90deg, transparent, transparent 44px, rgba(255,255,255,0.02) 44px, rgba(255,255,255,0.02) 45px);
    background-size: auto;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

/* Light sections — dark grid lines */
section.pricing-tiers-section::before,
section.pricing-faq::before {
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 44px, rgba(0,0,0,0.02) 44px, rgba(0,0,0,0.02) 45px),
        repeating-linear-gradient(90deg, transparent, transparent 44px, rgba(0,0,0,0.02) 44px, rgba(0,0,0,0.02) 45px);
}

/* ROI section gets light grid lines on white background */
.roi-calculator-section::before {
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 44px, rgba(0,0,0,0.015) 44px, rgba(0,0,0,0.015) 45px),
        repeating-linear-gradient(90deg, transparent, transparent 44px, rgba(0,0,0,0.015) 44px, rgba(0,0,0,0.015) 45px);
}

/* Section backgrounds */
section.pricing-hero      { position: relative; background: linear-gradient(135deg, var(--topographic-teal) 0%, var(--contour-green) 100%); padding: 0; }
section.pricing-tiers-section { position: relative; background: var(--parchment-cream); }
section.pricing-partner   { position: relative; background: var(--dark-footer-bg); }
section.pricing-faq       { position: relative; background: var(--white); }
section.pricing-cta       { position: relative; background: linear-gradient(135deg, var(--topographic-teal) 0%, var(--contour-green) 100%); overflow: hidden; }

/* ROI Calculator section - white background (distinct from tiers) */
.roi-calculator-section {
    position: relative;
    background: var(--white);
    padding-top: clamp(60px, 8vh, 100px);
    padding-bottom: clamp(48px, 6vh, 72px);
}

/* Override global h2 margin */
.pricing-section h2,
.pricing-hero h2 {
    margin-top: 0;
}

/* ============================================================
   SHARED
   ============================================================ */

/* Sections need relative positioning for scroll-hint arrows + min-height */
.pricing-section {
    min-height: calc(100vh - 71px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    scroll-margin-top: 71px;
}

/* Section header typography — shared base for every .section-header on this
   page (ROI, FAQ, CTA). Matches home.css's .section-title/.section-eyebrow/
   .section-sub so headings read consistently across pages; per-section rules
   below only override color/spacing where a section actually needs to. */
.section-header {
    text-align: center;
    margin-bottom: clamp(40px, 2vw, 70px);
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.8px;
    text-transform: uppercase;
    color: var(--topographic-teal);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(26px, 3.2vw, 40px);
    font-weight: 800;
    line-height: 1.10;
    letter-spacing: -0.3px;
    color: var(--charcoal);
    margin: 0 0 18px;
}

.section-sub {
    font-family: var(--font-body);
    font-size: clamp(16px, 1.6vw, 19px);
    font-weight: 400;
    color: var(--slate-gray);
    line-height: 1.72;
    max-width: 620px;
    margin: 0 auto;
}

/* CTA is short — center vertically */
.pricing-cta {
    justify-content: center;
}

.pricing-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 48px);
    width: 100%;
}

/* ============================================================
   S1 — HERO
   ============================================================ */

.pricing-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Animated gradient mesh overlay for depth */
.pricing-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(201, 166, 97, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(10, 122, 140, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(45, 95, 63, 0.07) 0%, transparent 50%),
        linear-gradient(to bottom, rgba(5, 15, 20, 0.15) 0%, rgba(5, 15, 20, 0.00) 45%, rgba(5, 15, 20, 0.30) 100%);
    background-size: 200% 200%, 200% 200%, 200% 200%, 100% 100%;
    animation: meshDrift 30s ease-in-out infinite;
    pointer-events: none;
}

@keyframes meshDrift {
    0%   { background-position: 0% 50%, 100% 0%, 50% 100%, 0% 0%; }
    50%  { background-position: 100% 50%, 0% 100%, 100% 0%, 0% 0%; }
    100% { background-position: 0% 50%, 100% 0%, 50% 100%, 0% 0%; }
}

.pricing-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: clamp(80px, 12vh, 140px) 24px clamp(60px, 8vh, 100px);
    max-width: 780px;
    width: 100%;
}

/* Large compass behind hero text */
.pricing-compass-bg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.07;
    pointer-events: none;
}

/* Photo hero variant — shared (all-verticals) Unsplash photo instead of the
   gradient mesh + compass silhouette. Same structure as blog-post.css's
   .blog-post-hero--photo. */
.pricing-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.pricing-hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    /* Flat, always-dark tint (not a gradient) so the white title/sub stay
       readable regardless of how bright the underlying photo is. */
    background: rgba(5, 15, 20, 0.5);
    pointer-events: none;
}

/* Shorter hero for the photo variant — matches blog.css's 34vh
   .blog-post-hero--photo/.blog-index-hero treatment. The 50vh gradient
   height above was sized for the animated mesh + compass silhouette; at
   that height a photo reads as an oversized banner. */
.pricing-hero--photo {
    min-height: 34vh;
}

.pricing-hero--photo .pricing-hero-content {
    padding: clamp(32px, 5vh, 64px) 24px clamp(24px, 4vh, 48px);
    max-width: 1160px;
}

/* Smaller title in the photo variant — the 58px size was sized for the
   taller 50vh gradient hero; at 34vh it reads oversized against the photo,
   same rationale as .blog-post-hero--photo .blog-post-h1. */
.pricing-hero--photo .pricing-h1 {
    font-size: clamp(22px, 3.2vw, 36px);
}

/* Matches blog.css's .blog-index-sub size — the 16-20px size above was
   sized for the taller 50vh gradient hero. */
.pricing-hero--photo .pricing-hero-sub {
    font-size: clamp(14px, 1.3vw, 16px);
    max-width: 1160px;
}

.pricing-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.8px;
    text-transform: uppercase;
    color: rgba(201, 166, 97, 0.95);
    margin-bottom: 16px;
}

.pricing-h1 {
    font-family: var(--font-display);
    font-size: clamp(30px, 4.8vw, 58px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.5px;
    margin: 0 0 24px;
    color: var(--white);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55);
    text-align: center;
}

.pricing-hero-sub {
    font-family: var(--font-body);
    font-size: clamp(16px, 1.8vw, 20px);
    font-weight: 400;
    opacity: 0.82;
    line-height: 1.72;
    margin: 0 auto;
    max-width: 580px;
}

/* ============================================================
   S2 — PRICING TIERS
   ============================================================ */

.pricing-tiers-section {
    padding-top: clamp(60px, 8vh, 100px);
    padding-bottom: clamp(48px, 6vh, 72px);
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 28px;
    align-items: stretch;
}

/* --- Tier card base ---
   grid-template-rows: subgrid locks each card's header/programs rows to the
   shared row tracks defined on .tiers-grid, so those sections line up across
   all three cards regardless of content-length differences, and every card
   ends up the same overall height. The feature list, multi-year discount,
   and CTA button used to repeat in every card; since they're identical
   across all three tiers they now live once in .tiers-shared below the
   grid instead. */
.tier-card {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--mist);
    overflow: hidden;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
    box-shadow: 0 4px 18px rgba(44, 53, 57, 0.07);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    position: relative;
}

.tier-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 48px rgba(44, 53, 57, 0.14);
}

/* --- Featured card (Standard) --- */
.tier-featured {
    border: 2px solid var(--topographic-teal);
    box-shadow: 0 8px 32px rgba(10, 122, 140, 0.18);
    transform: scale(1.03);
    z-index: 1;
}

.tier-featured:hover {
    transform: scale(1.03) translateY(-6px);
    box-shadow: 0 22px 56px rgba(10, 122, 140, 0.24);
}

/* --- Tier header --- */
.tier-header {
    padding: 18px 28px 14px;
    border-bottom: 1px solid #F0EDEA;
}

.tier-name {
    display: block;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--topographic-teal);
    margin-bottom: 6px;
}

.tier-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.price-currency {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1;
}

.price-amount {
    font-family: var(--font-display);
    font-size: clamp(34px, 3vw, 44px);
    font-weight: 800;
    color: var(--charcoal);
    line-height: 1;
    letter-spacing: -0.5px;
}

.price-unit {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--muted-text);
    margin-left: 6px;
}

.tier-desc {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--slate-gray);
    line-height: 1.4;
    margin: 0;
}

/* --- Programs stat callout ---
   The program range is the one thing that actually differentiates the three
   tiers (price-per-program aside), so it gets its own emphasized row between
   the header and footer — a tinted stat block, sized to read at a glance
   down the row of three cards, rather than sitting as the first bullet in a
   feature list. */
.tier-programs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin: 4px 28px 24px;
    padding: 14px 16px;
    background: rgba(10, 122, 140, 0.07);
    border-radius: 10px;
    text-align: center;
}

.tier-programs-count {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    color: var(--topographic-teal);
    letter-spacing: -0.2px;
    line-height: 1.2;
}

.tier-programs-label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--slate-gray);
}

/* --- Per-card discount ribbon ---
   Standard and Enterprise each undercut the Starter per-program rate; the
   ribbon states that discount right on the card it applies to. Starter has
   no ribbon since it's the baseline rate. Same diagonal-banner technique as
   .tiers-shared uses below — .tier-card already has position:relative and
   overflow:hidden, so the oversized rotated strip clips into a clean corner
   ribbon. */
.tier-discount-ribbon {
    position: absolute;
    top: 18px;
    right: -42px;
    width: 170px;
    padding: 5px 0;
    background: var(--contour-green);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-align: center;
    transform: rotate(45deg);
    box-shadow: 0 2px 8px rgba(44, 53, 57, 0.18);
    z-index: 2;
}

/* --- CTA button (used once now, inside .tiers-shared-cta below) --- */
.tier-cta {
    display: block;
    width: 100%;
    padding: 12px 24px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    border: 2px solid var(--topographic-teal);
    color: var(--topographic-teal);
    background: transparent;
    transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
    cursor: pointer;
}

.tier-cta:hover {
    background: var(--topographic-teal);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 122, 140, 0.30);
    text-decoration: none;
}

.tier-cta-featured {
    background: var(--compass-gold);
    border-color: var(--compass-gold);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(201, 166, 97, 0.35);
}

.tier-cta-featured:hover {
    background: var(--gold-hover-bg);
    border-color: var(--gold-hover-bg);
    color: var(--white);
    box-shadow: 0 8px 28px rgba(201, 166, 97, 0.50);
}

/* --- Shared features panel ---
   Starter/Standard/Enterprise all include the same feature set (only price
   and program count differ), so the checklist and multi-year discount are
   rendered once here instead of being duplicated in every .tier-card. */
.tiers-shared {
    background: var(--white);
    border: 1px solid var(--mist);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 28px;
    box-shadow: 0 4px 18px rgba(44, 53, 57, 0.06);
}

.tiers-shared-badge {
    display: block;
    text-align: center;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--topographic-teal);
    padding: 22px 32px 4px;
}

.tiers-shared-list {
    list-style: none;
    margin: 0;
    padding: 16px 32px 22px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 28px;
}

.tiers-shared-list li {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--body-text);
    line-height: 1.4;
    padding-left: 26px;
    position: relative;
}

.tiers-shared-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='8' cy='8' r='8' fill='%230A7A8C' opacity='0.12'/%3E%3Cpolyline points='4.5 8 7 10.5 11.5 5.5' stroke='%230A7A8C' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.tiers-shared-cta {
    text-align: center;
    padding: 26px 32px 30px;
}

.tiers-shared-cta .tier-cta {
    display: inline-block;
    width: auto;
    padding: 14px 52px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Tiers note --- */
.tiers-note {
    text-align: center;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--muted-text);
    margin-top: 40px;
    margin-bottom: 0;
}

/* ============================================================
   S3 — DESIGN PARTNER
   ============================================================ */

.pricing-partner {
    background: var(--dark-footer-bg);
}

.partner-card {
    display: flex;
    align-items: center;
    gap: clamp(40px, 5vw, 80px);
    background: linear-gradient(135deg, rgba(201, 166, 97, 0.06) 0%, rgba(10, 122, 140, 0.04) 100%);
    border: 1px solid rgba(201, 166, 97, 0.20);
    border-radius: 20px;
    padding: clamp(40px, 5vw, 64px);
    position: relative;
    overflow: hidden;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(201, 166, 97, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.partner-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.partner-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--compass-gold);
    background: rgba(201, 166, 97, 0.12);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.partner-title {
    font-family: var(--font-display);
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    color: var(--white);
    margin: 0 0 18px;
    line-height: 1.15;
}

.partner-lead {
    font-family: var(--font-body);
    font-size: clamp(16px, 1.6vw, 18px);
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.72;
    margin: 0 0 28px;
}

.partner-lead strong {
    color: var(--compass-gold);
    font-weight: 700;
}

.partner-perks {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.partner-perks li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-body);
    font-size: 15.5px;
    color: rgba(255, 255, 255, 0.80);
    line-height: 1.5;
}

.partner-perks li svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.partner-exchange {
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.50);
    line-height: 1.65;
    margin: 0 0 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.partner-cta {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    color: var(--compass-gold);
    text-decoration: none;
    padding: 14px 36px;
    border: 2px solid rgba(201, 166, 97, 0.45);
    border-radius: 10px;
    transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.partner-cta:hover {
    background: rgba(201, 166, 97, 0.12);
    border-color: var(--compass-gold);
    color: var(--compass-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(201, 166, 97, 0.20);
    text-decoration: none;
}

/* Partner accent — large 50% badge */
.partner-accent {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(201, 166, 97, 0.15) 0%, rgba(201, 166, 97, 0.05) 100%);
    border: 2px solid rgba(201, 166, 97, 0.25);
    position: relative;
    z-index: 1;
}

.partner-discount {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 800;
    color: var(--compass-gold);
    line-height: 1;
}

.partner-discount .pct {
    font-size: 32px;
    vertical-align: super;
}

.partner-off {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: rgba(201, 166, 97, 0.70);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* ============================================================
   S4 — FAQ
   ============================================================ */

.pricing-faq {
    background: var(--white);
}

.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid var(--mist);
}

.faq-item:first-child {
    border-top: 1px solid var(--mist);
}

.faq-q {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 600;
    color: var(--charcoal);
    padding: 22px 40px 22px 0;
    cursor: pointer;
    list-style: none;
    position: relative;
    line-height: 1.45;
    transition: color 0.2s ease;
}

/* Remove default marker */
.faq-q::-webkit-details-marker {
    display: none;
}

.faq-q::marker {
    display: none;
    content: '';
}

/* Custom chevron */
.faq-q::after {
    content: '';
    position: absolute;
    right: 4px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--muted-text);
    border-bottom: 2px solid var(--muted-text);
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.faq-item[open] .faq-q::after {
    transform: translateY(-35%) rotate(-135deg);
    border-color: var(--topographic-teal);
}

.faq-q:hover {
    color: var(--topographic-teal);
}

.faq-a {
    padding: 0 0 24px;
}

.faq-a p {
    font-family: var(--font-body);
    font-size: 15.5px;
    color: var(--slate-gray);
    line-height: 1.72;
    margin: 0;
}

.faq-a a {
    color: var(--topographic-teal);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(10, 122, 140, 0.25);
    transition: border-color 0.2s ease;
}

.faq-a a:hover {
    border-bottom-color: var(--topographic-teal);
}

/* ============================================================
   S5 — CTA
   ============================================================ */

.pricing-cta {
    text-align: center;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-cta .section-header {
    text-align: center;
    margin-bottom: clamp(32px, 2vw, 50px);
}

.pricing-cta .cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   CTA BUTTONS (matching home hero buttons)
   ============================================================ */

.btn-hero-primary {
    background: var(--compass-gold);
    color: var(--white);
    padding: 16px 44px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.2px;
    box-shadow: 0 4px 20px rgba(201, 166, 97, 0.45);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn-hero-primary:hover {
    background: var(--gold-hover-bg);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(201, 166, 97, 0.55);
    color: var(--white);
    text-decoration: none;
}

.btn-hero-ghost {
    background: transparent;
    color: var(--white);
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.60);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.2px;
    transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.btn-hero-ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: var(--white);
    transform: translateY(-3px);
    color: var(--white);
    text-decoration: none;
}

/* ============================================================
   SCROLL HINTS (down arrows between sections)
   ============================================================ */

.scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: scrollBounce 2.4s ease-in-out infinite;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.scroll-hint:hover {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.scroll-hint--on-light {
    color: rgba(10, 122, 140, 0.6);
}
.scroll-hint--on-light .scroll-arrow {
    border-right-color: rgba(10, 122, 140, 0.6);
    border-bottom-color: rgba(10, 122, 140, 0.6);
}
.scroll-hint--on-light:hover {
    color: rgba(10, 122, 140, 1);
    text-decoration: none;
}
.scroll-hint--on-light:hover .scroll-arrow {
    border-right-color: rgba(10, 122, 140, 1);
    border-bottom-color: rgba(10, 122, 140, 1);
}

.scroll-arrow {
    display: block;
    width: 18px;
    height: 18px;
    border-right: 2px solid rgba(255, 255, 255, 0.65);
    border-bottom: 2px solid rgba(255, 255, 255, 0.65);
    transform: rotate(45deg);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.65; }
    50%       { transform: translateX(-50%) translateY(9px); opacity: 1; }
}

/* ============================================================
   SCROLL ANIMATIONS (mirrors home.css)
   ============================================================ */

.pricing-hero .fade-up,
.pricing-section .fade-up {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.pricing-hero .fade-up.visible,
.pricing-section .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-section .fade-up:nth-child(2) { transition-delay: 0.08s; }
.pricing-section .fade-up:nth-child(3) { transition-delay: 0.16s; }
.pricing-section .fade-up:nth-child(4) { transition-delay: 0.24s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 960px) {
    .tiers-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .tiers-shared-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .tier-featured {
        transform: none;
    }

    .tier-featured:hover {
        transform: translateY(-6px);
    }

    .partner-card {
        flex-direction: column;
        text-align: center;
    }

    .partner-perks li {
        justify-content: center;
    }

    .partner-cta {
        display: block;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .pricing-hero-content {
        padding: 60px 20px 48px;
    }

    .tier-header {
        padding: 28px 24px 22px;
    }

    .tier-programs {
        margin: 4px 24px 22px;
    }

    .tiers-shared-list {
        grid-template-columns: 1fr;
        padding: 14px 24px 20px;
    }

    .tiers-shared-badge {
        padding: 20px 24px 4px;
    }

    .tier-discount-ribbon {
        top: 14px;
        right: -46px;
        width: 150px;
        font-size: 10px;
        padding: 4px 0;
    }

    .tiers-shared-cta {
        padding: 22px 24px 26px;
    }

    .partner-card {
        padding: 32px 24px;
    }

    .partner-accent {
        width: 140px;
        height: 140px;
    }

    .partner-discount {
        font-size: 44px;
    }

    .partner-discount .pct {
        font-size: 26px;
    }

    .faq-q {
        font-size: 16px;
        padding-right: 32px;
    }

    .pricing-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .pricing-cta .btn-hero-primary,
    .pricing-cta .btn-hero-ghost {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }
}

/* ============================================================
   ROI CALCULATOR ENHANCEMENTS
   ============================================================ */

/* Calculator card - stronger shadow on white background */
.roi-calculator-card {
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--mist);
    box-shadow: 0 16px 48px rgba(44, 53, 57, 0.12);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* Enhanced panel titles */
.roi-panel-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--charcoal);
    margin: 0 0 28px;
    letter-spacing: -0.2px;
}

/* Input labels */
.roi-input-group label {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 10px;
    letter-spacing: 0.1px;
}

/* Hint text */
.roi-hint {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--slate-gray);
    margin-top: 8px;
    line-height: 1.5;
}

.roi-hint-muted {
    color: var(--muted-text);
}

/* Comparison section */
.roi-comparison h3,
.roi-comparison h4 {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--topographic-teal);
    margin: 0 0 14px;
}

.roi-comparison-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 11px 0;
    border-bottom: 1px solid #F0EDEA;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--charcoal);
}

.roi-comparison-label {
    color: var(--slate-gray);
}

.roi-comparison-value {
    font-weight: 700;
    color: var(--charcoal);
    font-variant-numeric: tabular-nums;
}

.roi-comparison-value.roi-highlight {
    color: var(--contour-green);
    font-size: 17px;
}

/* Break-even pill */
.roi-break-even {
    background: rgba(10, 122, 140, 0.08);
    border: 1px solid rgba(10, 122, 140, 0.18);
    border-radius: 10px;
    padding: 16px 20px;
    text-align: center;
    margin-bottom: 24px;
}

.roi-break-even-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--topographic-teal);
    margin-bottom: 6px;
    opacity: 0.85;
}

.roi-break-even-value {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--topographic-teal);
    letter-spacing: -0.3px;
}

/* ROI disclaimer */
.roi-disclaimer {
    text-align: center;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--muted-text);
    margin: 32px auto 0;
    max-width: 720px;
    line-height: 1.65;
    position: relative;
    z-index: 1;
}

/* ============================================================
   ROI RESPONSIVE
   ============================================================ */

@media (max-width: 860px) {
    .roi-calculator-body {
        grid-template-columns: 1fr;
    }

    .roi-inputs {
        border-right: none;
        border-bottom: 1px solid #F0EDEA;
    }
}

@media (max-width: 640px) {
    .roi-hero-content {
        padding: 60px 20px 48px;
    }

    .roi-inputs,
    .roi-output {
        padding: 24px 22px;
    }

    .roi-savings {
        font-size: 38px;
    }

    .roi-comparison {
        padding: 18px 18px;
    }

    .roi-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .roi-cta .btn-hero-primary,
    .roi-cta .btn-hero-ghost {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }
}

/* ============================================================
   LARGE SCREENS — same fix as blog.css's post page: the clamp()
   sizes above stop growing around an ~1980px viewport, and the
   container is a flat px value with no scaling at all, so the hero,
   the 3-up tier grid, and the FAQ list shrink into a narrow island
   on very wide monitors. (.roi-container's own large-screen bump
   lives in roi-calculator.css and already covers the embedded
   calculator loaded on this page.) Threshold raised from 1140px to
   1980px 2026-08-06 — 1140px was catching ordinary maximized
   laptop/desktop browser widths (1280-1536px range), making the ROI
   calculator section title and other body headings look oversized
   (and, combined with larger line-heights, tall enough to no longer
   fit within one viewport height) on completely typical screens, not
   just genuinely wide monitors.
   ============================================================ */
@media (min-width: 1980px) {
    .pricing-container {
        max-width: 1320px;
    }

    .pricing-hero-content {
        max-width: 900px;
    }

    .pricing-h1 {
        font-size: 66px;
    }

    .pricing-hero-sub {
        max-width: 680px;
        font-size: 22px;
    }

    .faq-list {
        max-width: 900px;
    }

    .section-title {
        font-size: 44px;
    }

    .section-sub {
        max-width: 700px;
        font-size: 20px;
    }
}

/* ============================================================
   VERY LARGE SCREENS — 4K / ultrawide
   Same rationale as the equivalent block in home.css: the 1980px
   tier stops growing around ~2560px, leaving too much empty margin
   on true 4K displays.
   ============================================================ */
@media (min-width: 2560px) {
    .pricing-container {
        max-width: 1680px;
    }

    .pricing-hero-content {
        max-width: 1100px;
    }

    .pricing-h1 {
        font-size: 80px;
    }

    .pricing-hero-sub {
        max-width: 820px;
        font-size: 25px;
    }

    .faq-list {
        max-width: 960px;
    }

    .section-title {
        font-size: 50px;
    }

    .section-sub {
        max-width: 820px;
        font-size: 22px;
    }
}

/* ============================================================
   ACCESSIBILITY — Reduced motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    /* Disable mesh gradient drift animation */
    .pricing-hero-overlay {
        animation: none;
    }

    /* Disable scroll-bounce arrow animation */
    .scroll-hint {
        animation: none;
    }

    /* Disable scroll-triggered fade-up transitions */
    .pricing-hero .fade-up,
    .pricing-section .fade-up {
        transition: none;
        opacity: 1;
        transform: none;
    }
}
