/* ────────────────────────────────────────────────────
   Mercury Leads — style.css
   ──────────────────────────────────────────────────── */

/* ── RESET & TOKENS ──────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #fafaf8;
    --surface: #ffffff;
    --surface2: #f3f3f0;
    --border: #e8e6e0;
    --text: #1a1a1a;
    --muted: #6b6b6b;
    --orange: #f55c1a;
    --orange-hover: #d94d14;
    --orange-light: #fff3ee;
    --orange-border: #fcd9c8;
    --score-red: #dc2626;
    --score-red-bg: #fef2f2;
    --score-mid: #b45309;
    --score-mid-bg: #fffbeb;
    --score-green: #15803d;
    --score-green-bg: #f0fdf4;
    --serif: "Cormorant Garant", Georgia, serif;
    --sans: "DM Sans", system-ui, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Accessibility: screen-reader only */
.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;
}

/* ── BUTTONS ─────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--orange);
    color: #fff;
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.7rem 1.5rem;
    border-radius: 7px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition:
        background 0.2s,
        transform 0.15s,
        box-shadow 0.2s;
    will-change: transform;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 92, 26, 0.28);
    outline: none;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--text);
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.7rem 1.4rem;
    border-radius: 7px;
    text-decoration: none;
    border: 1.5px solid var(--border);
    cursor: pointer;
    transition:
        border-color 0.2s,
        background 0.2s;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    border-color: var(--text);
    background: var(--surface);
    outline: none;
}

/* ── NAVBAR ──────────────────────────────────────── */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 250, 248, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-logo span {
    color: var(--orange);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--text);
}

.btn-nav {
    background: var(--orange);
    color: #fff;
    font-family: var(--sans);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition:
        background 0.2s,
        transform 0.15s;
    will-change: transform;
}

.btn-nav:hover,
.btn-nav:focus-visible {
    background: var(--orange-hover);
    transform: translateY(-1px);
    outline: none;
}

/* ── HERO ─────────────────────────────────────────── */
.hero-section {
    padding: 4.5rem 2rem 0;
    max-width: 1280px;
    margin: 0 auto;
}

.hero-content {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--orange);
    background: var(--orange-light);
    border: 1px solid var(--orange-border);
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    margin-bottom: 1.75rem;
}

.hero-eyebrow::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.45;
        transform: scale(0.65);
    }
}

h1 {
    font-family: var(--serif);
    font-size: clamp(2.4rem, 4.8vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text);
    max-width: 840px;
    margin: 0 auto 1.4rem;
}

h1 em {
    font-style: italic;
    color: var(--orange);
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 540px;
    margin: 0 auto 1.6rem;
    line-height: 1.65;
    font-weight: 400;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 500;
    gap: 0;
}

.hero-stat-item {
    padding: 0 1.1rem;
}

.hero-stat-item + .hero-stat-item {
    border-left: 1px solid var(--border);
}

/* ── HERO TABLE ──────────────────────────────────── */
.hero-table-wrap {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--surface);
    box-shadow:
        0 2px 16px rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.04);
}

.table-scroll-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.hero-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.hero-table thead th {
    text-align: left;
    padding: 0.7rem 1.1rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--surface2);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.hero-table thead th:first-child {
    padding-left: 1.5rem;
}
.hero-table thead th:last-child {
    padding-right: 1.5rem;
}

/* ── TABLE ROW ANIMATIONS ──────────────────────── */
.hero-table tbody tr {
    border-bottom: 1px solid var(--border);
    background-color: transparent;
    /* only bg-color transition — opacity handled via inline style in JS */
    transition: background-color 0.15s;
}

.hero-table tbody tr:hover {
    background-color: var(--surface2);
}

/* Orange flash for new rows (JS adds/removes this class) */
.hero-table tbody tr.row-highlight {
    background-color: var(--orange-light) !important;
    transition: background-color 1.4s ease !important;
}

/* Table cells */
.hero-table tbody td {
    padding: 0.85rem 1.1rem;
    vertical-align: middle;
    white-space: nowrap;
}

.hero-table tbody td:first-child {
    padding-left: 1.5rem;
}
.hero-table tbody td:last-child {
    padding-right: 1.5rem;
}

.td-business-name {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 0.1rem;
}

.td-business strong {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    white-space: nowrap;
}

.td-business span {
    display: block;
    font-size: 0.76rem;
    color: var(--muted);
}

/* Score pills */
.score-pill {
    display: inline-flex;
    align-items: baseline;
    gap: 0.15rem;
    font-family: var(--serif);
    font-style: italic;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.18rem 0.55rem;
    border-radius: 5px;
    white-space: nowrap;
}

.score-pill small {
    font-size: 0.7rem;
    font-style: normal;
    font-weight: 500;
    opacity: 0.7;
}

.score-pill.red {
    color: var(--score-red);
    background: var(--score-red-bg);
}
.score-pill.mid {
    color: var(--score-mid);
    background: var(--score-mid-bg);
}
.score-pill.green {
    color: var(--score-green);
    background: var(--score-green-bg);
}

/* Score bar */
.score-bar-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.score-bar {
    width: 56px;
    height: 3px;
    border-radius: 2px;
    background: var(--border);
    overflow: hidden;
    flex-shrink: 0;
}

.score-bar-fill {
    height: 100%;
    border-radius: 2px;
    width: 0;
    transition: width 1s ease 0.4s;
}

.score-bar-fill.red {
    background: var(--score-red);
}
.score-bar-fill.mid {
    background: #f59e0b;
}
.score-bar-fill.green {
    background: #22c55e;
}

/* Missing gap tags */
.missing-gaps {
    display: flex;
    gap: 0.3rem;
    flex-wrap: nowrap;
}

.gap-tag {
    font-size: 0.63rem;
    font-weight: 400;
    padding: 0.12rem 0.35rem;
    border-radius: 3px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
    white-space: nowrap;
    opacity: 0.8;
}

/* Opportunity pills */
.opp-pill {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.22rem 0.52rem;
    border-radius: 4px;
}

.opp-pill.high {
    color: var(--score-green);
    background: var(--score-green-bg);
    border: 1px solid #bbf7d0;
}
.opp-pill.med {
    color: var(--score-mid);
    background: var(--score-mid-bg);
    border: 1px solid #fde68a;
}
.opp-pill.low {
    color: var(--muted);
    background: var(--surface2);
    border: 1px solid var(--border);
}

/* Google ranking cell */
.rank-cell {
    white-space: normal;
    min-width: 148px;
}

.rank-pos {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--score-green);
    line-height: 1;
    margin-bottom: 0.15rem;
}

.rank-kw {
    font-size: 0.72rem;
    color: var(--muted);
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 148px;
}

.rank-page {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--score-green);
    background: var(--score-green-bg);
    border: 1px solid #bbf7d0;
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
}

/* Table CTA overlay */
.table-cta-overlay {
    text-align: center;
    padding: 1.25rem 1.5rem 1.5rem;
    border-top: 1px solid var(--border);
    background: linear-gradient(
        to bottom,
        rgba(250, 250, 248, 0) 0%,
        var(--bg) 55%
    );
}

.table-cta-overlay p {
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 0.75rem;
}

/* ── STATS STRIP ─────────────────────────────────── */
.stats-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    padding: 2.5rem 2rem;
    margin-top: 3rem;
}

.stats-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    text-align: center;
    padding: 0 2rem;
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 0.5s ease,
        transform 0.5s ease;
}

.stat-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-item + .stat-item {
    border-left: 1px solid var(--border);
}

.stat-number {
    font-family: var(--serif);
    font-style: italic;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
    letter-spacing: -0.03em;
}

.stat-number .stat-suffix {
    color: var(--orange);
}

.stat-text {
    font-family: var(--serif);
    font-style: italic;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 400;
    margin-top: 0.4rem;
}

/* ── SECTION COMMONS ─────────────────────────────── */
section {
    padding: 6rem 2rem;
}

.section-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 0.9rem;
}

h2 {
    font-family: var(--serif);
    font-size: clamp(1.9rem, 3.2vw, 2.8rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--text);
    margin-bottom: 1.2rem;
}

h2 em {
    font-style: italic;
    color: var(--orange);
}

.section-sub {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 540px;
    line-height: 1.65;
    margin-bottom: 0;
}

/* Scroll reveal */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.55s ease,
        transform 0.55s ease;
}

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

/* ── PROBLEM ──────────────────────────────────────── */
.problem {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 3.5rem;
}

.problem-card {
    padding: 0 2rem 0 0;
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.5s ease,
        transform 0.5s ease;
}

.problem-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.problem-card + .problem-card {
    padding-left: 2rem;
    border-left: 1px solid var(--border);
}

.problem-number {
    font-family: var(--serif);
    font-style: italic;
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--border);
    line-height: 1;
    margin-bottom: 1rem;
}

.problem-card h3 {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.problem-card p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.65;
}

/* ── SOLUTION ─────────────────────────────────────── */
.solution-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.solution-copy .section-sub {
    margin-bottom: 2rem;
}

.solution-cta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Dossier card */
.dossier-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04);
}

.dossier-header {
    padding: 1.2rem 1.4rem;
    border-bottom: 1px solid var(--border);
    background: var(--surface2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.dossier-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.dossier-category {
    font-size: 0.76rem;
    color: var(--muted);
    margin-top: 0.1rem;
}

.dossier-body {
    padding: 1.4rem;
}

.score-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
    gap: 0.75rem;
}

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

.score-row-label {
    color: var(--muted);
    font-weight: 400;
    white-space: nowrap;
    flex-shrink: 0;
}

.score-row-val {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.score-row-bar {
    flex: 1;
    height: 3px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
    min-width: 40px;
}

.score-row-bar-fill {
    height: 100%;
    border-radius: 2px;
    width: 0;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.score-row-bar-fill.red {
    background: var(--score-red);
}
.score-row-bar-fill.mid {
    background: #f59e0b;
}
.score-row-bar-fill.green {
    background: #22c55e;
}

/* Cold email snippet */
.dossier-email {
    margin-top: 1.2rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.dossier-email-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.85rem;
    background: var(--surface2);
    border-bottom: 1px solid var(--border);
}

.dossier-email-label {
    font-size: 0.67rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--muted);
}

.btn-copy {
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--orange);
    background: none;
    border: 1px solid var(--orange-border);
    border-radius: 4px;
    padding: 0.15rem 0.55rem;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-copy:hover {
    background: var(--orange-light);
}

.dossier-email-body {
    padding: 0.85rem 1rem;
    font-size: 0.82rem;
    line-height: 1.75;
    color: var(--text);
    white-space: pre-line;
    background: #f8fdf6;
    border-left: 3px solid #22c55e;
}

/* Contact row */
.dossier-contact {
    display: flex;
    gap: 1.25rem;
    padding: 0.65rem 1.4rem;
    border-top: 1px solid var(--border);
    background: var(--surface2);
}

.contact-chip {
    font-size: 0.75rem;
    color: var(--muted);
    font-weight: 500;
}

.dossier-footer {
    padding: 0.9rem 1.4rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.dossier-tag {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.22rem 0.55rem;
    border-radius: 4px;
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--muted);
}

/* ── FEATURES ─────────────────────────────────────── */
.features {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 3.5rem;
}

.feature-item {
    padding: 2.25rem;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 0.45s ease,
        transform 0.45s ease;
}

.feature-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Remove right border from last column (items 3, 6) */
.feature-item:nth-child(3n) {
    border-right: none;
}

/* Remove bottom border from last row (items 4, 5, 6) */
.feature-item:nth-child(n + 4) {
    border-bottom: none;
}

.feature-num {
    font-family: var(--serif);
    font-style: italic;
    font-size: 0.88rem;
    color: var(--orange);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-item h3 {
    font-family: var(--serif);
    font-size: 1.28rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.feature-item p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.65;
}

/* ── REVIEW INTELLIGENCE ─────────────────────────── */
.review-intel {
    border-bottom: 1px solid var(--border);
}

.review-table-wrap {
    margin-top: 2.5rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    background: var(--surface);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.review-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.review-table thead th {
    text-align: left;
    padding: 0.7rem 1.1rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--surface2);
    border-bottom: 1px solid var(--border);
}

.review-table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
}

.review-table tbody tr:last-child {
    border-bottom: none;
}
.review-table tbody tr:hover {
    background: var(--surface2);
}

.review-table tbody td {
    padding: 0.85rem 1.1rem;
    vertical-align: top;
}

.review-filter {
    font-family: var(--serif);
    font-style: italic;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text);
}

.review-use-case {
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.55;
}

/* ── PRICING ──────────────────────────────────────── */
.pricing {
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 3.5rem;
}

.pricing-card {
    border: 1.5px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg);
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.5s ease,
        transform 0.5s ease;
}

.pricing-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card.featured {
    border-color: var(--orange);
    background: var(--surface);
    box-shadow:
        0 0 0 1px var(--orange-border),
        0 8px 32px rgba(245, 92, 26, 0.08);
}

.pricing-header {
    padding: 1.75rem 1.75rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

.pricing-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--orange);
    background: var(--orange-light);
    border: 1px solid var(--orange-border);
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    margin-bottom: 0.9rem;
}

.pricing-name {
    font-family: var(--serif);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.3rem;
}

.pricing-price {
    font-family: var(--serif);
    font-style: italic;
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.03em;
    line-height: 1;
}

.pricing-price sub {
    font-family: var(--sans);
    font-style: normal;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--muted);
    vertical-align: baseline;
    letter-spacing: 0;
}

.pricing-tagline {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 0.45rem;
}

.pricing-body {
    padding: 1.5rem 1.75rem;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
}

.pricing-features li {
    font-size: 0.875rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--text);
}

.pricing-features li::before {
    content: "✓";
    color: var(--orange);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.pricing-features li.muted-feat {
    color: var(--muted);
}

.pricing-features li.muted-feat::before {
    content: "—";
    color: var(--border);
}

.btn-pricing {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: 7px;
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-pricing.outlined {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--text);
}

.btn-pricing.outlined:hover,
.btn-pricing.outlined:focus-visible {
    border-color: var(--text);
    outline: none;
}

.btn-pricing.filled {
    background: var(--orange);
    color: #fff;
}

.btn-pricing.filled:hover,
.btn-pricing.filled:focus-visible {
    background: var(--orange-hover);
    box-shadow: 0 4px 16px rgba(245, 92, 26, 0.28);
    transform: translateY(-1px);
    outline: none;
}

/* ── FINAL CTA ────────────────────────────────────── */
.final-cta {
    background: var(--text);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)' opacity='0.07'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
    padding: 7rem 2rem;
    text-align: center;
}

.final-cta .section-inner {
    max-width: 700px;
}

.final-cta h2 {
    color: #fafaf8;
    max-width: 100%;
    margin-bottom: 1rem;
}

.final-cta h2 em {
    color: var(--orange);
}

.final-cta p {
    color: rgba(250, 250, 248, 0.55);
    font-size: 1rem;
    margin-bottom: 2.25rem;
    line-height: 1.6;
}

.cta-form {
    display: flex;
    gap: 0.7rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-input {
    flex: 1;
    min-width: 220px;
    max-width: 300px;
    padding: 0.75rem 1rem;
    border: 1.5px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.07);
    color: #fafaf8;
    font-family: var(--sans);
    font-size: 0.9rem;
    border-radius: 7px;
    outline: none;
    transition: border-color 0.2s;
}

.cta-input::placeholder {
    color: rgba(250, 250, 248, 0.32);
}

.cta-input:focus {
    border-color: var(--orange);
}

/* ── FOOTER ───────────────────────────────────────── */

footer nav {
    background: none !important;
    border-bottom: 0 !important;
}

footer {
    background: var(--text);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)' opacity='0.07'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 1.75rem 2rem;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.8rem;
    color: rgba(250, 250, 248, 0.38);
}

.footer-logo {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1rem;
    color: rgba(250, 250, 248, 0.7);
    text-decoration: none;
}

.footer-logo span {
    color: var(--orange);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.footer-links a {
    color: rgba(250, 250, 248, 0.65);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: rgba(250, 250, 248, 0.95);
}

/* ── LANGUAGE SWITCH ─────────────────────────────── */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-left: 0.5rem;
}

.lang-option {
    color: var(--muted);
    text-decoration: none;
    padding: 0.15rem 0.25rem;
    border-radius: 3px;
    transition: color 0.2s;
}

.lang-option:hover,
.lang-option:focus-visible { color: var(--text); outline: none; }
.lang-option.active { color: var(--text); }

.lang-divider {
    color: var(--border);
    font-weight: 300;
    user-select: none;
}

.footer-lang {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    font-weight: 600;
}

.footer-lang .lang-option { color: rgba(250,250,248,0.45); padding: 0.1rem 0.2rem; }
.footer-lang .lang-option:hover,
.footer-lang .lang-option.active { color: rgba(250,250,248,0.85); }
.footer-lang .lang-divider { color: rgba(255,255,255,0.15); }

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 1024px) {
    .solution-layout {
        gap: 3rem;
    }
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    h1 {
        font-size: 2.2rem;
    }

    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .stat-item + .stat-item {
        border-left: none;
    }
    .stat-item:nth-child(odd) {
        border-right: 1px solid var(--border);
    }

    .problem-grid {
        grid-template-columns: 1fr;
    }

    .problem-card {
        padding: 0;
        padding-top: 2rem;
        border-left: none;
        border-top: 1px solid var(--border);
    }

    .problem-card:first-child {
        border-top: none;
        padding-top: 0;
    }

    .solution-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Reset 3-col border rules */
    .feature-item:nth-child(3n) {
        border-right: 1px solid var(--border);
    }
    .feature-item:nth-child(n + 4) {
        border-bottom: 1px solid var(--border);
    }

    /* 2-col rules */
    .feature-item:nth-child(2n) {
        border-right: none;
    }
    .feature-item:nth-child(5),
    .feature-item:nth-child(6) {
        border-bottom: none;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .footer-inner {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 640px) {
    section {
        padding: 4rem 1.25rem;
    }
    .hero-section {
        padding: 3rem 1.25rem 0;
    }
    .stats-strip {
        padding: 2rem 1.25rem;
    }

    .stats-inner {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Single column: remove all right borders, keep bottom only */
    .feature-item:nth-child(2n) {
        border-right: 1px solid var(--border);
    }
    .feature-item:nth-child(3n) {
        border-right: 1px solid var(--border);
    }
    .feature-item {
        border-right: none;
    }
    .feature-item:nth-child(5),
    .feature-item:nth-child(6) {
        border-bottom: 1px solid var(--border);
    }
    .feature-item:last-child {
        border-bottom: none;
    }

    .hero-stats {
        flex-direction: column;
        gap: 0.4rem;
    }
    .hero-stat-item + .hero-stat-item {
        border-left: none;
    }

    .cta-form {
        flex-direction: column;
        align-items: center;
    }
    .cta-input {
        max-width: 100%;
    }
}
