/*
 * AI Texting For Realtors — Page-specific styles
 *
 * Layers on top of the master landing.css design system. Reuses the same
 * tokens: BG #05080d, blue #4D7CFE, green #00ffa2, glassmorphism, gradient
 * accents, 3px gradient top-bars, and scroll-reveal animations.
 *
 * Sections:
 *   Hero overrides    — longer headline, stacked CTA + microcopy, SMS demo
 *   Math              — stat cards, prose, $14K -> $512K case callout
 *   How It Works      — pull quote, numbered timeline steps
 *   Difference        — feature cards
 *   Comparison        — capability table + winning AchieveAI row
 *   Compliance        — problem/solution cards + consent flow
 *   Pricing           — two-column track override
 *   Final CTA         — lead line + microcopy
 */

/* ══════════════════════════════════════════════════
   HERO OVERRIDES
   ══════════════════════════════════════════════════ */

/* The base hero title forces nowrap + a narrow 13.5ch column; this headline
   is longer, so allow it to wrap naturally. */
.hero-title--realtors {
    max-width: 22ch;
    font-size: clamp(2.4rem, 4.4vw, 4.5rem);
    line-height: 0.98;
}

.hero-title--realtors .hero-title__line {
    white-space: normal;
}

.hero-subheadline--secondary {
    font-size: clamp(0.95rem, 1.25vw, 1.05rem);
    color: #94a3b8;
}

.hero-cta-row--stacked {
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
}

.hero-cta-microcopy {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #94a3b8;
    letter-spacing: 0.01em;
}

.hero-cta-microcopy i {
    font-size: 0.95rem;
}

/* ── Animated SMS Demo (hero proof visual) ───────── */

.sms-demo {
    position: relative;
    z-index: 2;
    width: min(100%, 540px);
    margin-inline: auto;
}

.sms-demo__chrome {
    overflow: hidden;
    border-radius: 1.8rem;
    background:
        linear-gradient(145deg, rgba(8, 13, 21, 0.96), rgba(5, 8, 13, 0.99)),
        radial-gradient(circle at 18% 0%, rgba(77, 124, 254, 0.2), transparent 38%),
        radial-gradient(circle at 82% 8%, rgba(0, 255, 162, 0.14), transparent 36%);
    border: 1px solid rgba(77, 124, 254, 0.22);
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.46),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset,
        0 0 70px rgba(77, 124, 254, 0.1),
        0 0 130px rgba(0, 255, 162, 0.05);
}

.sms-demo__topbar {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid rgba(77, 124, 254, 0.14);
    background: rgba(3, 6, 10, 0.5);
}

.sms-demo__dot {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.3);
}
.sms-demo__dot:nth-child(1) { background: rgba(255, 95, 86, 0.55); }
.sms-demo__dot:nth-child(2) { background: rgba(255, 189, 46, 0.55); }
.sms-demo__dot:nth-child(3) { background: rgba(0, 255, 162, 0.55); }

.sms-demo__title {
    margin-left: 0.55rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #cbd5e1;
}

.sms-demo__signal {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #00ffa2;
}

.sms-demo__live-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: #00ffa2;
    box-shadow: 0 0 10px rgba(0, 255, 162, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

.sms-demo__contact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid rgba(77, 124, 254, 0.1);
}

.sms-demo__avatar {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #4D7CFE, #00ffa2);
    border: 2px solid rgba(77, 124, 254, 0.3);
}

.sms-demo__name {
    font-size: 0.92rem;
    font-weight: 700;
    color: #f8fbff;
}

.sms-demo__sub {
    font-size: 0.72rem;
    color: #64748b;
}

.sms-demo__context-pill {
    margin-left: auto;
    padding: 0.28rem 0.6rem;
    border-radius: 9999px;
    font-size: 0.64rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9fb8ff;
    background: rgba(77, 124, 254, 0.12);
    border: 1px solid rgba(77, 124, 254, 0.22);
}

.sms-demo__thread {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 1.1rem;
    min-height: 360px;
}

.sms-row {
    display: flex;
}

.sms-row--in    { justify-content: flex-start; }
.sms-row--out   { justify-content: flex-end; }
.sms-row--note  { justify-content: center; }
.sms-row--approve { justify-content: flex-end; }

.sms-bubble {
    max-width: 82%;
    padding: 0.72rem 0.95rem;
    font-size: 0.88rem;
    line-height: 1.45;
    border-radius: 1.15rem;
}

.sms-bubble--in {
    color: #e7ecff;
    background: rgba(30, 38, 52, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-bottom-left-radius: 0.35rem;
}

.sms-bubble--out {
    color: #061018;
    background: linear-gradient(135deg, #00ffa2, #4D7CFE);
    border-bottom-right-radius: 0.35rem;
    box-shadow: 0 10px 24px rgba(0, 255, 162, 0.12);
    font-weight: 500;
}

.sms-approve-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.7rem 0.85rem;
    border-radius: 1rem;
    background: rgba(8, 13, 21, 0.8);
    border: 1px solid rgba(0, 255, 162, 0.22);
}

.sms-approve-card__meta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.74rem;
    color: #aebbd0;
    line-height: 1.3;
}

.sms-approve-card__btn {
    margin-left: auto;
    flex-shrink: 0;
    padding: 0.5rem 0.85rem;
    border-radius: 0.7rem;
    font-size: 0.74rem;
    font-weight: 800;
    color: #061018;
    background: linear-gradient(135deg, #00ffa2, #7ef7d1);
    border: none;
    cursor: default;
    box-shadow: 0 0 18px rgba(0, 255, 162, 0.2);
}

/* ══════════════════════════════════════════════════
   MATH — stats, prose, case callout
   ══════════════════════════════════════════════════ */

.stat-card {
    position: relative;
    overflow: hidden;
    padding: 1.75rem 1.75rem 1.6rem;
    border-radius: 1.5rem;
    text-align: center;
    background: rgba(12, 16, 24, 0.84);
    border: 1px solid rgba(77, 124, 254, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(77, 124, 254, 0.04) inset;
}

.stat-card__topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4D7CFE, #00ffa2);
    opacity: 0.95;
}

.stat-card__value {
    font-size: clamp(2.8rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 0.65rem;
}

.stat-card__label {
    font-size: 1rem;
    line-height: 1.5;
    color: #b3c0d3;
}

.math-prose {
    padding: 1.75rem 1.85rem;
}

.math-prose p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #c4d0e3;
    margin: 0 0 1rem;
}

.math-prose p:last-child { margin-bottom: 0; }

/* Case callout — $14K -> $512K */
.case-callout {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(220px, 0.85fr) 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    border-radius: 1.6rem;
    background:
        linear-gradient(135deg, rgba(77, 124, 254, 0.12), rgba(0, 255, 162, 0.08)),
        rgba(12, 16, 24, 0.84);
    border: 1px solid rgba(0, 255, 162, 0.22);
    box-shadow:
        0 18px 52px rgba(0, 0, 0, 0.34),
        0 0 46px rgba(0, 255, 162, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.case-callout__bars {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1rem;
    height: 200px;
}

.case-callout__bar {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    width: 5.5rem;
    height: 100%;
}

.case-callout__bar-fill {
    width: 100%;
    border-radius: 0.7rem 0.7rem 0 0;
    transition: height 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-callout__bar-fill--in {
    height: 12%;
    background: linear-gradient(180deg, rgba(148, 163, 184, 0.5), rgba(100, 116, 139, 0.3));
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.case-callout__bar-fill--out {
    height: 100%;
    background: linear-gradient(180deg, #00ffa2, #4D7CFE);
    box-shadow: 0 0 32px rgba(0, 255, 162, 0.2);
}

.case-callout__bar-tag {
    position: absolute;
    bottom: -1.5rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    white-space: nowrap;
    color: #94a3b8;
}

.case-callout__bar-tag--out { color: #00ffa2; }

.case-callout__arrow {
    font-size: 1.5rem;
    margin-bottom: 5rem;
}

.case-callout__lead {
    font-size: 1.2rem;
    line-height: 1.5;
    color: #e7ecff;
    margin: 0 0 0.85rem;
}

.case-callout__sub {
    font-size: 0.98rem;
    line-height: 1.6;
    color: #aebbd0;
    margin: 0 0 0.85rem;
}

.case-callout__kicker {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f8fbff;
    margin: 0;
}

/* ══════════════════════════════════════════════════
   HOW IT WORKS
   ══════════════════════════════════════════════════ */

.how-pullquote {
    max-width: 46rem;
    margin: 0 auto 3rem;
    padding: 1.25rem 1.5rem;
    border-left: 3px solid;
    border-image: linear-gradient(180deg, #4D7CFE, #00ffa2) 1;
    text-align: center;
}

.how-pullquote p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 600;
    line-height: 1.4;
    color: #cbd5e1;
    margin: 0;
}

.how-steps-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 auto 2rem;
    padding: 0.6rem 1.1rem;
    border-radius: 9999px;
    background: rgba(0, 255, 162, 0.08);
    border: 1px solid rgba(0, 255, 162, 0.2);
    color: #d7e0ee;
    font-size: 0.86rem;
    font-weight: 700;
    width: fit-content;
}

.how-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.how-timeline__line {
    position: absolute;
    left: 1.6rem;
    top: 1.5rem;
    bottom: 1.5rem;
    width: 2px;
    background: linear-gradient(to bottom, rgba(77, 124, 254, 0.5), rgba(0, 255, 162, 0.3), transparent);
}

.how-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.how-step__marker {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.how-step__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1rem;
    font-size: 1.05rem;
    font-weight: 900;
    color: #fff;
    background: rgba(8, 13, 21, 0.95);
    border: 1px solid rgba(77, 124, 254, 0.3);
    box-shadow: 0 0 24px rgba(77, 124, 254, 0.12);
}

.how-step--green .how-step__num {
    border-color: rgba(0, 255, 162, 0.3);
    box-shadow: 0 0 24px rgba(0, 255, 162, 0.12);
}

.how-step__card {
    position: relative;
    flex: 1 1 auto;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.4rem;
    border-radius: 1.35rem;
    background: rgba(12, 16, 24, 0.84);
    border: 1px solid rgba(77, 124, 254, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(77, 124, 254, 0.04) inset;
    transition: border-color 0.28s ease, transform 0.28s ease;
}

.how-step--green .how-step__card { border-color: rgba(0, 255, 162, 0.2); }

.how-step__card:hover {
    transform: translateY(-3px);
    border-color: rgba(77, 124, 254, 0.32);
}

.how-step__icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(77, 124, 254, 0.18), rgba(0, 255, 162, 0.09));
    border: 1px solid rgba(77, 124, 254, 0.22);
}

.how-step--green .how-step__icon {
    background: linear-gradient(135deg, rgba(0, 255, 162, 0.16), rgba(77, 124, 254, 0.1));
    border-color: rgba(0, 255, 162, 0.22);
}

.how-step__title {
    font-size: 1.12rem;
    font-weight: 800;
    color: #f8fbff;
    line-height: 1.3;
    margin-bottom: 0.4rem;
    letter-spacing: -0.01em;
}

.how-step__body {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #b3c0d3;
    margin: 0;
}

/* ══════════════════════════════════════════════════
   DIFFERENCE — feature cards
   ══════════════════════════════════════════════════ */

.feature-card {
    display: flex;
    flex-direction: column;
    padding: 1.6rem 1.6rem 1.7rem;
}

.feature-card__topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4D7CFE, #00ffa2);
    opacity: 0.95;
}

.feature-card--green .feature-card__topbar {
    background: linear-gradient(90deg, #00ffa2, #4D7CFE, #00ffa2);
}

.feature-card__icon {
    margin-bottom: 1.1rem;
}

.feature-card--green .feature-card__icon {
    background: linear-gradient(135deg, rgba(0, 255, 162, 0.16) 0%, rgba(77, 124, 254, 0.1) 100%);
    border-color: rgba(0, 255, 162, 0.22);
}

.feature-card__title {
    font-size: 1.12rem;
    font-weight: 800;
    color: #f8fbff;
    line-height: 1.3;
    margin-bottom: 0.7rem;
    letter-spacing: -0.01em;
}

.feature-card__body {
    font-size: 0.95rem;
    line-height: 1.62;
    color: #b3c0d3;
    margin: 0;
}

/* ══════════════════════════════════════════════════
   COMPARISON TABLE
   ══════════════════════════════════════════════════ */

.compare-card {
    overflow: hidden;
    padding: 0;
}

.compare-card__topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4D7CFE, #00ffa2);
    opacity: 0.95;
    z-index: 2;
}

.compare-table {
    display: flex;
    flex-direction: column;
}

.compare-row {
    display: grid;
    grid-template-columns: 1.5fr 1.2fr 0.8fr;
    gap: 1rem;
    align-items: center;
    padding: 0.95rem 1.5rem;
    border-bottom: 1px solid rgba(77, 124, 254, 0.1);
}

.compare-row:last-child { border-bottom: none; }

.compare-row--head {
    background: rgba(18, 21, 30, 0.6);
}

.compare-row--head .compare-cell {
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9fb8ff;
}

.compare-cell--cap { color: #e7ecff; font-size: 0.95rem; font-weight: 600; }
.compare-cell--tool { color: #94a3b8; font-size: 0.9rem; }
.compare-cell--cost { color: #cbd5e1; font-size: 0.95rem; font-weight: 700; text-align: right; }

.compare-row--total {
    background: rgba(77, 124, 254, 0.06);
    border-top: 1px solid rgba(77, 124, 254, 0.2);
}

.compare-row--total .compare-cell--cap strong { color: #f8fbff; font-weight: 800; }
.compare-row--total .compare-cell--tool { color: #b3c0d3; }

.compare-cell--total-cost {
    color: #f8fbff;
    font-size: 1.1rem;
    font-weight: 800;
}

.compare-row--win {
    background:
        linear-gradient(135deg, rgba(0, 255, 162, 0.12), rgba(77, 124, 254, 0.1));
    border-top: 1px solid rgba(0, 255, 162, 0.28);
}

.compare-win-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 900;
    color: #061018;
    background: linear-gradient(135deg, #00ffa2, #7ef7d1);
}

.compare-cell--win-cost {
    color: #00ffa2;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.compare-cost-period {
    font-size: 0.78rem;
    font-weight: 600;
    color: #7b8ca7;
    margin-left: 0.1rem;
}

.compare-closer {
    max-width: 46rem;
    margin: 2rem auto 0;
    text-align: center;
}

.compare-closer p {
    font-size: 1rem;
    line-height: 1.65;
    color: #aebbd0;
    margin: 0 0 0.85rem;
}

.compare-closer p:last-child { margin-bottom: 0; }

/* ══════════════════════════════════════════════════
   COMPLIANCE
   ══════════════════════════════════════════════════ */

.compliance-card {
    position: relative;
    overflow: hidden;
    padding: 1.6rem 1.7rem;
    border-radius: 1.5rem;
    background: rgba(12, 16, 24, 0.84);
    border: 1px solid rgba(77, 124, 254, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(77, 124, 254, 0.04) inset;
}

.compliance-card--problem {
    border-color: rgba(148, 163, 184, 0.2);
    background: rgba(15, 17, 22, 0.8);
}

.compliance-card--solution {
    border-color: rgba(0, 255, 162, 0.24);
    box-shadow:
        0 0 44px rgba(0, 255, 162, 0.07),
        0 16px 40px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(0, 255, 162, 0.05) inset;
}

.compliance-card__topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00ffa2, #4D7CFE, #00ffa2);
    opacity: 0.95;
}

.compliance-card__head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.9rem;
}

.compliance-card__icon {
    flex-shrink: 0;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compliance-card__icon--problem {
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.compliance-card__icon--solution {
    background: linear-gradient(135deg, rgba(0, 255, 162, 0.16), rgba(77, 124, 254, 0.1));
    border: 1px solid rgba(0, 255, 162, 0.22);
}

.compliance-card__title {
    font-size: 1.08rem;
    font-weight: 800;
    color: #f8fbff;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.compliance-card__body {
    font-size: 0.96rem;
    line-height: 1.62;
    color: #b3c0d3;
    margin: 0;
}

.compliance-flow {
    padding: 1.75rem 1.85rem;
    text-align: center;
}

.compliance-flow__lead {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f8fbff;
    margin: 0 0 1.25rem;
}

.compliance-flow__steps {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.compliance-flow__step {
    flex: 1 1 0;
    max-width: 22rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 1.1rem 1.2rem;
    border-radius: 1.1rem;
    background: rgba(7, 12, 19, 0.7);
    border: 1px solid rgba(77, 124, 254, 0.16);
    font-size: 0.92rem;
    line-height: 1.5;
    color: #c4d0e3;
}

.compliance-flow__step i { font-size: 1.4rem; }

.compliance-flow__arrow {
    align-self: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.compliance-flow__kicker {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, #4D7CFE, #00ffa2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ══════════════════════════════════════════════════
   PRICING — two-column track
   ══════════════════════════════════════════════════ */

@media (min-width: 641px) {
    .pricing-cards-track--two {
        max-width: 50rem;
        margin-inline: auto;
    }
}

/* ══════════════════════════════════════════════════
   FINAL CTA
   ══════════════════════════════════════════════════ */

.final-cta-lead {
    max-width: 40rem;
    margin: 0 auto 1.5rem;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 700;
    line-height: 1.45;
    color: #f8fbff;
}

.final-cta-microcopy {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.1rem;
    font-size: 0.88rem;
    color: #94a3b8;
}

.final-cta-microcopy i { font-size: 0.95rem; }

/* ══════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════ */

@media (max-width: 900px) {
    .case-callout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .case-callout__bars { height: 170px; }
}

@media (max-width: 768px) {
    .compliance-flow__steps {
        flex-direction: column;
        align-items: center;
    }

    .compliance-flow__arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 640px) {
    .hero-title--realtors {
        font-size: clamp(2rem, 8.5vw, 2.6rem);
        max-width: none;
    }

    .sms-demo__thread { min-height: 0; }

    .sms-demo__context-pill { display: none; }

    .stat-card { padding: 1.4rem 1.25rem; border-radius: 1.15rem; }
    .stat-card__label { font-size: 0.9rem; }

    .math-prose { padding: 1.25rem; border-radius: 1.15rem; }
    .math-prose p { font-size: 0.95rem; }

    .case-callout { padding: 1.4rem; border-radius: 1.15rem; }
    .case-callout__lead { font-size: 1.05rem; }
    .case-callout__bar { width: 4.5rem; }

    .how-step { gap: 0.85rem; }
    .how-timeline__line { left: 1.3rem; }
    .how-step__num { width: 2.6rem; height: 2.6rem; font-size: 0.92rem; border-radius: 0.85rem; }
    .how-step__card { flex-direction: column; padding: 1.1rem; border-radius: 1.15rem; gap: 0.85rem; }
    .how-step__icon { width: 2.6rem; height: 2.6rem; }
    .how-step__title { font-size: 1.02rem; }

    .feature-card { padding: 1.25rem; }

    /* Comparison: collapse the grid into stacked rows w/ labels */
    .compare-row--head { display: none; }

    .compare-row {
        grid-template-columns: 1fr;
        gap: 0.3rem;
        padding: 1rem 1.15rem;
    }

    .compare-cell { text-align: left !important; }

    .compare-cell--cap { font-size: 0.95rem; }

    .compare-cell--tool::before,
    .compare-cell--cost::before {
        content: attr(data-th) ': ';
        color: #64748b;
        font-size: 0.74rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .compare-cell--cost { font-size: 0.9rem; }

    .compare-cell--win-cost,
    .compare-cell--total-cost { font-size: 1.15rem; }

    .compliance-card { padding: 1.25rem; border-radius: 1.15rem; }
    .compliance-flow { padding: 1.25rem; border-radius: 1.15rem; }
}
