/* =========================================================
   Doll Vendor Audit — Public stylesheet
   Light, inviting, big readable typography
   ========================================================= */

:root {
    --bg:           #fffaf5;
    --surface:      #ffffff;
    --text:         #1a1d2e;
    --text-soft:    #5b6078;
    --muted:        #8b90a8;
    --border:       #ecdfd2;
    --border-soft:  #f5ede3;

    --primary:      #d4673f;       /* warm terracotta */
    --primary-hover:#b8512c;
    --accent:       #2563eb;       /* trust-blue */
    --accent-soft:  #eff6ff;

    --success:      #10b981;
    --warning:      #f59e0b;
    --danger:       #dc2626;

    /* Verdict colors — 7 tiers from elite green to alarm red */
    --v-top:         #047857;   /* 95-100  TOP VENDOR        — deep emerald */
    --v-highly:      #059669;   /* 90-94   HIGHLY RECOMMENDED */
    --v-recommend:   #10b981;   /* 80-89   RECOMMENDED       — green */
    --v-average:     #64748b;   /* 60-79   FAIR              slate */
    --v-questionable:#ea580c;   /* 40-59   QUESTIONABLE      — orange */
    --v-bad:         #dc2626;   /* 20-39   NOT RECOMMENDED   — red */
    --v-scam:        #991b1b;   /* 0-19    AVOID/SCAM        — dark red */

    --font-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Inter', -apple-system, sans-serif;

    --fs-xs:   14px;
    --fs-sm:   16px;
    --fs-base: 18px;
    --fs-md:   20px;
    --fs-lg:   24px;
    --fs-xl:   32px;
    --fs-xxl:  44px;
    --fs-hero: 56px;

    --radius:    16px;
    --radius-sm: 10px;
    --shadow:    0 4px 24px rgba(15, 18, 32, 0.06);
    --shadow-lg: 0 20px 60px rgba(15, 18, 32, 0.10);
    --shadow-warm: 0 10px 40px rgba(212, 103, 63, 0.20);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-base);
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

/* ---------- Site header ---------- */
.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
    background: rgba(255, 250, 245, 0.92);
}
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}
.site-header .container {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px;
}
.site-logo {
    display: flex; align-items: center; gap: 12px;
    font-size: var(--fs-md);
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.2px;
}
.site-logo:hover { text-decoration: none; }
.site-logo-mark {
    width: 42px; height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), #f97316);
    display: grid; place-items: center;
    color: #fff; font-weight: 800;
    box-shadow: var(--shadow-warm);
}
.site-nav {
    display: flex; gap: 32px;
    font-size: var(--fs-sm);
}
.site-nav a {
    color: var(--text);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}
.site-nav a.active::after,
.site-nav a:hover::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}
.site-nav a:hover { text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
    padding: 80px 0 60px;
    background: linear-gradient(180deg, #fffaf5 0%, #ffe9d6 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(212,103,63,0.15), transparent 70%);
    pointer-events: none;
}
.hero h1 {
    font-size: var(--fs-hero);
    font-weight: 800;
    line-height: 1.05;
    margin: 0 0 24px;
    letter-spacing: -1.5px;
    max-width: 900px;
    margin-left: auto; margin-right: auto;
}
.hero h1 .highlight {
    color: var(--primary);
    position: relative;
    white-space: nowrap;
}
.hero .lead {
    font-size: var(--fs-lg);
    color: var(--text-soft);
    max-width: 720px;
    margin: 0 auto 40px;
    line-height: 1.5;
}
.hero-stats {
    display: flex; gap: 40px; justify-content: center;
    margin-top: 48px;
    flex-wrap: wrap;
}
.hero-stat .num {
    font-size: var(--fs-xxl);
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1px;
}
.hero-stat .lbl {
    font-size: var(--fs-sm);
    color: var(--text-soft);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- Analyze form (front-and-center on homepage) ---------- */
.analyze-card {
    max-width: 720px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 40px 36px;
}
.analyze-card h2 {
    font-size: var(--fs-xl);
    margin: 0 0 8px;
    text-align: center;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.analyze-card .sub {
    text-align: center;
    color: var(--text-soft);
    margin: 0 0 28px;
    font-size: var(--fs-md);
}
.analyze-form {
    display: flex; gap: 12px;
    flex-wrap: wrap;
}
.analyze-form input[type=url] {
    flex: 1; min-width: 240px;
    padding: 18px 22px;
    font-size: var(--fs-md);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-base);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.analyze-form input[type=url]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(212, 103, 63, 0.15);
}
.btn-primary-lg {
    padding: 18px 32px;
    font-size: var(--fs-md);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), #f97316);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    box-shadow: var(--shadow-warm);
    transition: transform 0.05s, box-shadow 0.15s;
    font-family: var(--font-base);
    white-space: nowrap;
}
.btn-primary-lg:hover { box-shadow: 0 14px 40px rgba(212,103,63,0.35); }
.btn-primary-lg:active { transform: translateY(1px); }
.btn-primary-lg:disabled { opacity: 0.6; cursor: wait; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
section h2 {
    font-size: var(--fs-xxl);
    font-weight: 800;
    letter-spacing: -1px;
    margin: 0 0 16px;
}
section .section-lead {
    font-size: var(--fs-md);
    color: var(--text-soft);
    max-width: 680px;
    margin: 0 0 40px;
}

/* ---------- How it works ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.step {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), #f97316);
    color: #fff;
    display: grid; place-items: center;
    font-size: var(--fs-lg); font-weight: 800;
    margin-bottom: 18px;
}
.step h3 {
    font-size: var(--fs-lg);
    margin: 0 0 10px;
    font-weight: 700;
}
.step p {
    color: var(--text-soft);
    margin: 0;
    font-size: var(--fs-base);
    line-height: 1.55;
}

/* ---------- Vendor card grid ---------- */
.vendor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.vendor-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: block;
    color: inherit;
}
.vendor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}
.vendor-card-thumb {
    aspect-ratio: 16 / 10;
    background: #f5ede3;
    background-size: cover;
    background-position: top center;
    border-bottom: 1px solid var(--border-soft);
    position: relative;
}
.vendor-card-thumb-empty {
    display: grid; place-items: center;
    color: var(--muted);
    font-size: var(--fs-sm);
    background: linear-gradient(135deg, #f5ede3, #fff);
}
.vendor-card-body {
    padding: 22px 24px;
}
.vendor-card h3 {
    font-size: var(--fs-lg);
    margin: 0 0 6px;
    font-weight: 700;
    color: var(--text);
}
.vendor-card .vendor-domain {
    font-size: var(--fs-sm);
    color: var(--text-soft);
    margin-bottom: 14px;
}
.vendor-card-foot {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 18px;
    gap: 12px;
}

/* ---------- Score badge (big) ---------- */
.score-big {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: var(--fs-xl);
    color: var(--text);
    line-height: 1;
}
.score-big .out-of {
    font-size: var(--fs-sm);
    color: var(--muted);
    font-weight: 500;
}
.score-pill {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: var(--fs-sm);
    color: #fff;
    text-align: center;
    line-height: 1.25;
}
.score-pill.score-95-100 { background: var(--v-top); }
.score-pill.score-90-94  { background: var(--v-highly); }
.score-pill.score-80-89  { background: var(--v-recommend); }
.score-pill.score-60-79  { background: var(--v-average); }
.score-pill.score-40-59  { background: var(--v-questionable); }
.score-pill.score-20-39  { background: var(--v-bad); }
.score-pill.score-0-19   { background: var(--v-scam); }
.score-pill.score-na     { background: #94a3b8; }

/* ---------- Vendor detail page ---------- */
.vendor-hero {
    padding: 60px 0 40px;
    background: linear-gradient(180deg, #fffaf5 0%, #fff 100%);
}
.vendor-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}
@media (max-width: 800px) {
    .vendor-hero-grid { grid-template-columns: 1fr; }
}
.vendor-hero h1 {
    font-size: var(--fs-xxl);
    font-weight: 800;
    margin: 0 0 8px;
    letter-spacing: -1px;
    line-height: 1.1;
}
.vendor-hero .vendor-url {
    font-size: var(--fs-md);
    color: var(--text-soft);
    margin-bottom: 32px;
    word-break: break-all;
}
.vendor-hero img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}
.vendor-hero-thumb-empty {
    background: linear-gradient(135deg, #f5ede3, #fff);
    border-radius: var(--radius);
    aspect-ratio: 16 / 10;
    display: grid; place-items: center;
    color: var(--muted);
    border: 1px solid var(--border);
}

.verdict-box {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius);
    padding: 32px 36px;
    margin-bottom: 32px;
    box-shadow: var(--shadow);
    text-align: center;
}
.verdict-score {
    font-size: 80px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -3px;
}
.verdict-label {
    font-size: var(--fs-lg);
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
/* Big score number: uniform dark grey for max readability */
.verdict-score { color: #1a1d2e; }

/* Verdict label uses the same color as the score-pill background on listings */
.verdict-label.score-95-100 { color: var(--v-top); }
.verdict-label.score-90-94  { color: var(--v-highly); }
.verdict-label.score-80-89  { color: var(--v-recommend); }
.verdict-label.score-60-79  { color: var(--v-average); }
.verdict-label.score-40-59  { color: var(--v-questionable); }
.verdict-label.score-20-39  { color: var(--v-bad); }
.verdict-label.score-0-19   { color: var(--v-scam); }

.btn-visit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 32px;
    font-size: var(--fs-md);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), #f97316);
    color: #fff;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-warm);
    transition: transform 0.05s, box-shadow 0.15s;
}
.btn-visit:hover { box-shadow: 0 14px 40px rgba(212,103,63,0.35); text-decoration: none; }
.btn-visit:active { transform: translateY(1px); }

/* ---------- Criteria section on vendor page ---------- */
.criterion {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 32px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}
.criterion h3 {
    font-size: var(--fs-lg);
    font-weight: 700;
    margin: 0 0 14px;
    display: flex; align-items: center; gap: 10px;
}
.criterion-value {
    font-size: var(--fs-md);
    color: var(--text);
    line-height: 1.6;
}
.criterion-value.is-good { color: var(--v-highly); font-weight: 600; }
.criterion-value.is-bad  { color: var(--v-bad); font-weight: 600; }
.criterion-value.is-warn { color: var(--v-caution); font-weight: 600; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 999px;
    font-size: var(--fs-sm);
    font-weight: 600;
}
.tag.tag-bad  { background: #fee2e2; color: var(--danger); }
.tag.tag-warn { background: #fef3c7; color: #92400e; }
.tag.tag-good { background: #d1fae5; color: #065f46; }

.review-source {
    border-top: 1px solid var(--border-soft);
    padding-top: 20px; margin-top: 20px;
}
.review-source:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.review-source h4 {
    font-size: var(--fs-md);
    font-weight: 700;
    margin: 0 0 10px;
    display: flex; align-items: center; gap: 12px;
}
.review-source p { margin: 8px 0 0; color: var(--text-soft); line-height: 1.6; }

.prose { font-size: var(--fs-md); line-height: 1.7; color: var(--text); }
.prose p { margin: 0 0 16px; }
.prose p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
    background: #1a1d2e;
    color: rgba(255,255,255,0.75);
    padding: 60px 0 40px;
    margin-top: 80px;
    font-size: var(--fs-sm);
}
.site-footer h4 {
    color: #fff;
    font-size: var(--fs-md);
    margin: 0 0 16px;
}
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: #fff; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}
@media (max-width: 700px) {
    .footer-grid { grid-template-columns: 1fr; }
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: 6px 0; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    color: rgba(255,255,255,0.5);
}

/* ---------- Alerts on public pages ---------- */
.public-alert {
    background: #ffe9d6;
    border: 1px solid #fbb98a;
    color: #9a3412;
    padding: 18px 24px;
    border-radius: var(--radius-sm);
    margin: 24px 0;
    font-size: var(--fs-md);
    line-height: 1.6;
}
.public-alert.success { background: #d1fae5; border-color: #6ee7b7; color: #065f46; }
.public-alert.warning { background: #fef3c7; border-color: #fbbf24; color: #92400e; }

/* ---------- Maintenance page ---------- */
.maintenance-wrap {
    min-height: 100vh;
    display: grid; place-items: center;
    background: linear-gradient(135deg, #fffaf5 0%, #ffe9d6 100%);
    padding: 40px 20px;
}
.maintenance-card {
    background: var(--surface);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    padding: 60px 50px;
    max-width: 560px;
    text-align: center;
}
.maintenance-card h1 {
    font-size: var(--fs-xxl);
    margin: 0 0 16px;
    font-weight: 800;
    letter-spacing: -1px;
}
.maintenance-card p {
    font-size: var(--fs-md);
    color: var(--text-soft);
    line-height: 1.6;
    margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 800px) {
    :root {
        --fs-xxl: 36px;
        --fs-hero: 40px;
    }
    .hero { padding: 50px 0 40px; }
    .container { padding: 0 18px; }
    .analyze-form input[type=url] { width: 100%; }
    .btn-primary-lg { width: 100%; }
    .site-nav { gap: 18px; }
}

/* ============================================================
   Pull-quote callout (homepage, between Top-rated and How we score)
   ============================================================ */
.pullquote-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #fffaf5 0%, #ffe9d6 100%);
    position: relative;
    overflow: hidden;
}
.pullquote-section::before {
    content: '"';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 280px;
    font-family: Georgia, 'Times New Roman', serif;
    color: rgba(212, 103, 63, 0.12);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    font-weight: 700;
}
.pullquote {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.pullquote p {
    margin: 0 0 18px;
    color: var(--text);
    font-size: var(--fs-md);
    line-height: 1.65;
}
.pullquote-lead {
    font-size: var(--fs-xl) !important;
    font-weight: 700;
    color: var(--primary) !important;
    line-height: 1.2 !important;
    margin-bottom: 22px !important;
    letter-spacing: -0.5px;
}
.pullquote-tagline {
    font-size: var(--fs-md);
    margin-top: 24px !important;
    margin-bottom: 0 !important;
}
.pullquote-tagline strong {
    color: var(--text);
    font-weight: 700;
}
@media (max-width: 700px) {
    .pullquote-section { padding: 50px 0; }
    .pullquote-section::before { font-size: 200px; top: -20px; }
    .pullquote-lead { font-size: var(--fs-lg) !important; }
}

/* ============================================================
   FAQ scam list - structured list inside the FAQ prose
   ============================================================ */
.scam-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 24px;
}
.scam-list li {
    position: relative;
    padding: 14px 18px 14px 44px;
    margin-bottom: 10px;
    background: #fff;
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    border-radius: var(--radius-sm);
    font-size: var(--fs-base);
    line-height: 1.55;
    color: var(--text);
}
.scam-list li::before {
    content: '⚠';
    position: absolute;
    left: 14px;
    top: 14px;
    color: var(--primary);
    font-size: 20px;
    line-height: 1;
}
.scam-list li strong {
    color: var(--text);
    font-weight: 700;
    display: inline;
    margin-right: 4px;
}

/* ============================================================
   Contact form
   ============================================================ */
.contact-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 40px;
    box-shadow: var(--shadow-lg);
}
.contact-form { display: block; }
.contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
@media (max-width: 600px) {
    .contact-row { grid-template-columns: 1fr; }
}
.contact-field { display: block; margin-bottom: 20px; }
.contact-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
    font-size: var(--fs-base);
}
.contact-field label .opt {
    font-weight: 400;
    color: var(--text-soft);
    font-size: var(--fs-sm);
}
.contact-field input[type=text],
.contact-field input[type=email],
.contact-field select,
.contact-field textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: var(--fs-base);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-base);
    background: #fff;
    color: var(--text);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.contact-field textarea { resize: vertical; min-height: 160px; line-height: 1.55; }
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(212, 103, 63, 0.15);
}
.contact-hint {
    font-size: var(--fs-sm);
    color: var(--text-soft);
    margin: 6px 0 0;
}
.contact-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.contact-privacy {
    color: var(--text-soft);
    font-size: var(--fs-sm);
    margin: 0;
    flex: 1;
    min-width: 200px;
    line-height: 1.5;
}

/* ============================================================
   About page
   ============================================================ */
.about-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 32px;
    counter-reset: about-counter;
}
.about-list li {
    position: relative;
    padding: 18px 22px 18px 64px;
    margin-bottom: 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    counter-increment: about-counter;
    line-height: 1.6;
}
.about-list li::before {
    content: counter(about-counter);
    position: absolute;
    left: 18px;
    top: 18px;
    width: 32px; height: 32px;
    line-height: 32px;
    text-align: center;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 15px;
}
.about-list li strong { display: inline; margin-right: 4px; }

/* ============================================================
   Top Rated podium (Option B)
   ============================================================ */
.podium-section { background: linear-gradient(180deg, transparent, #fff5ec); }
.podium {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    gap: 20px;
    align-items: end;
    max-width: 1000px;
    margin: 0 auto;
}
@media (max-width: 800px) {
    .podium { grid-template-columns: 1fr; align-items: stretch; }
}
.podium-card {
    display: block;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    color: inherit;
    position: relative;
    text-decoration: none;
}
.podium-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); text-decoration: none; }
.podium-1 { border-top: 6px solid #d4af37; }
.podium-2 { border-top: 6px solid #c0c0c0; }
.podium-3 { border-top: 6px solid #cd7f32; }
.podium-rank {
    position: absolute;
    top: 14px; right: 14px;
    background: #1a1d2e;
    color: #fff;
    width: 44px; height: 44px;
    border-radius: 50%;
    display: grid; place-items: center;
    font-weight: 800;
    font-size: 18px;
    z-index: 2;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.podium-1 .podium-rank { background: #d4af37; }
.podium-2 .podium-rank { background: #94a3b8; }
.podium-3 .podium-rank { background: #cd7f32; }
.podium-thumb {
    aspect-ratio: 16 / 10;
    background-size: cover;
    background-position: top center;
    border-bottom: 1px solid var(--border-soft);
}
.podium-thumb-empty { background: linear-gradient(135deg, #f5ede3, #fff); }
.podium-body { padding: 22px 24px 24px; text-align: center; }
.podium-name {
    font-size: var(--fs-lg);
    font-weight: 800;
    margin: 0 0 4px;
    color: var(--text);
}
.podium-domain {
    color: var(--text-soft);
    font-size: var(--fs-sm);
    margin-bottom: 14px;
}
.podium-score {
    font-size: var(--fs-xxl);
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -1px;
}
.podium-score-out {
    font-size: var(--fs-sm);
    color: var(--muted);
    font-weight: 500;
    letter-spacing: 0;
}

/* ============================================================
   Tier blocks (Option B)
   ============================================================ */
.tier-block { margin-bottom: 50px; }
.tier-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--border);
}
.tier-range {
    color: var(--text-soft);
    font-weight: 600;
    font-size: var(--fs-md);
    letter-spacing: 0.5px;
}

/* ============================================================
   PER-SECTION RATING (public vendor page)
   ============================================================ */

/* Heading row layout: H2 on the left, badge on the right */
.criterion-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.criterion-heading-row h2 {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Tooltip ? icon next to section heading */
.section-tooltip {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #cbd5e1;
    color: #1a1d2e;
    font-size: 13px;
    font-weight: 700;
    cursor: help;
    position: relative;
    line-height: 1;
    user-select: none;
}
.section-tooltip:hover {
    background: var(--primary, #d4673f);
    color: #fff;
}
.section-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: #1a1d2e;
    color: #fff;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    white-space: normal;
    width: max-content;
    max-width: 320px;
    text-align: left;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
    z-index: 10;
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}
.section-tooltip:hover::after,
.section-tooltip:focus::after {
    opacity: 1;
}
@media (max-width: 640px) {
    .section-tooltip::after {
        left: 0;
        right: 0;
        transform: none;
        max-width: 100%;
    }
}

/* Per-section badge "X / Y" with color tiers */
.section-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    white-space: nowrap;
    line-height: 1.2;
    flex-shrink: 0;
}
.section-badge-top   { background: #047857; }   /* >=90% */
.section-badge-good  { background: #10b981; }   /* >=75% */
.section-badge-mid   { background: #64748b; }   /* >=50% */
.section-badge-low   { background: #ea580c; }   /* >=25% */
.section-badge-bad   { background: #b91c1c; }   /* <25%  */
.section-badge-na    { background: #94a3b8; color: #fff; }

/* "Not enough data" verdict box variant */
.verdict-box-na {
    background: #f8fafc;
    border: 1px dashed #94a3b8;
    border-radius: var(--radius);
    padding: 32px 36px;
    margin-bottom: 32px;
    box-shadow: var(--shadow);
    text-align: center;
}
.verdict-na-title {
    font-size: var(--fs-lg);
    font-weight: 800;
    color: #1a1d2e;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}
.verdict-na-body {
    color: var(--text-soft);
    font-size: var(--fs-base);
    line-height: 1.6;
    max-width: 520px;
    margin: 0 auto;
}
.verdict-na-body a {
    color: var(--primary, #d4673f);
    font-weight: 600;
}

/* ============================================================
   Review publication / revision dates (vendor hero)
   ============================================================ */
.review-dates {
    margin: 12px 0 18px;
    color: var(--text-soft);
    font-size: var(--fs-sm);
    line-height: 1.5;
}
.review-date-pub time,
.review-date-rev time {
    font-weight: 600;
    color: var(--text);
}
.review-date-rev {
    color: #d4673f;
    font-weight: 500;
}
.review-date-rev time {
    color: #d4673f;
}

/* ============================================================
   Editor's per-section note (public vendor page)
   Shown below the section heading when admin wrote one
   ============================================================ */
.section-editor-note {
    background: #fffaf3;
    border-left: 3px solid var(--primary, #d4673f);
    border-radius: 4px;
    padding: 10px 16px;
    margin: -2px 0 16px;
    font-style: italic;
}
.section-editor-note p {
    margin: 0;
    color: #1a1d2e;
    font-size: var(--fs-sm);
    line-height: 1.55;
}
.section-editor-note p::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 22px;
    line-height: 0;
    vertical-align: -4px;
    margin-right: 4px;
    color: var(--primary, #d4673f);
    font-weight: 700;
}
.section-editor-note p::after {
    content: '"';
    font-family: Georgia, serif;
    font-size: 22px;
    line-height: 0;
    vertical-align: -4px;
    margin-left: 4px;
    color: var(--primary, #d4673f);
    font-weight: 700;
}

/* ============================================================
   Scoring methodology footer block on vendor page
   ============================================================ */
.scoring-methodology {
    margin: 40px auto 24px;
    padding: 24px 28px;
    max-width: 760px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
}
.scoring-methodology h3 {
    margin: 0 0 12px;
    color: #1a1d2e;
    font-size: var(--fs-md);
    font-weight: 700;
}
.scoring-methodology p {
    color: var(--text-soft);
    font-size: var(--fs-sm);
    line-height: 1.6;
    margin: 0 0 10px;
}
.scoring-methodology p:last-child {
    margin-bottom: 0;
}
.scoring-methodology strong {
    color: #1a1d2e;
}

/* ============================================================
   Live chat screenshot - figure + lightbox
   ============================================================ */
.livechat-image-figure {
    margin: 18px 0 0;
}
.livechat-image-figure a.livechat-lightbox-trigger {
    display: inline-block;
    line-height: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #d1d5db;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.livechat-image-figure a.livechat-lightbox-trigger:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.14);
}
.livechat-image-figure img {
    display: block;
    max-width: 380px;
    max-height: 280px;
    width: auto;
    height: auto;
    cursor: zoom-in;
}
.livechat-image-figure figcaption {
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-soft);
    font-style: italic;
}

/* Lightbox overlay
   Width-capped, height grows freely. Tall chat screenshots remain
   readable by allowing the overlay itself to scroll vertically. */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.92);
    display: none;
    z-index: 9999;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 24px;
    text-align: center;
}
.lightbox-overlay.is-open {
    display: block;
    animation: lb-fade-in 0.18s ease;
}
@keyframes lb-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
/* Inner wrapper: short images get centered vertically; tall images
   simply fill from the top and the overlay scrolls. */
.lightbox-overlay .lightbox-stage {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-overlay .lightbox-img {
    /* Cap WIDTH only. Height grows freely so tall screenshots
       display at their natural size and stay readable. */
    max-width: min(92vw, 720px);
    width: auto;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    cursor: zoom-out;
    display: block;
    margin: 0 auto;
}
.lightbox-overlay .lightbox-close {
    /* Fixed (not absolute) so it stays visible while user scrolls
       through a tall image. */
    position: fixed;
    top: 18px;
    right: 22px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    border: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.15s ease;
    z-index: 10000;
}
.lightbox-overlay .lightbox-close:hover,
.lightbox-overlay .lightbox-close:focus {
    background: rgba(0,0,0,0.95);
    outline: none;
}
@media (max-width: 640px) {
    .livechat-image-figure img { max-width: 100%; }
    .lightbox-overlay .lightbox-img { max-width: 96vw; }
    .lightbox-overlay { padding: 12px; }
}
