/* RxRadar use-case pages — shared styles (edit once, applies to every use case) */
/* light theme — --black is the ink text, --white the page background */
:root {
    --accent: #00b980;
    --accent-light: rgba(0, 185, 128, .10);
    --black: #0f1522;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #cbd5e1;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    /* network + semantic accents (match home page) */
    --cvs: #dc2626;
    --walgreens: #2563eb;
    --net3: #7c3aed;
}
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 60px; }

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--white);
    color: var(--black);
    line-height: 1.7;
}
.mono { font-family: 'DM Mono', monospace; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Header */
header {
    position: fixed; top: 0; left: 0; right: 0;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid var(--gray-200);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 20px; font-weight: 700; color: var(--black); text-decoration: none; transition: opacity .2s ease; }
.logo:hover { opacity: .7; }
.logo span { color: var(--accent); }
.header-links { display: flex; align-items: center; gap: 8px; }

.btn {
    display: inline-flex; align-items: center;
    padding: 10px 20px; border-radius: 6px;
    font-size: 14px; font-weight: 600; text-decoration: none; transition: all .2s;
}
.btn-primary { background: var(--accent); color: #ffffff; }
.btn-primary:hover { opacity: .9; }
.btn-ghost { color: var(--gray-600); }
.btn-ghost:hover { color: var(--black); }

/* Sticky mini-header */
.sticky-header {
    position: fixed; top: 0; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--gray-200);
    padding: 12px 0; z-index: 100; display: none;
}
.sticky-header.visible { display: block; }
.sticky-header-inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; }
.sticky-header-title { font-size: 15px; font-weight: 600; color: var(--black); }
.sticky-header .btn { padding: 8px 16px; font-size: 13px; }

/* Hero */
.hero { min-height: 750px; display: flex; align-items: center; padding: 130px 0 72px; }
.hero > .container { width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600; color: var(--accent);
    letter-spacing: .3px; text-transform: uppercase; margin-bottom: 20px;
}
.hero-eyebrow svg { width: 16px; height: 16px; }
.hero h1 { font-size: 46px; font-weight: 700; letter-spacing: -1.4px; line-height: 1.18; margin-bottom: 20px; }
.hero h1 .hl-green {
    background: linear-gradient(120deg, #d1fae5 0%, #a7f3d0 100%);
    padding: 0 12px 3px; border-radius: 12px; color: var(--black);
}
.hero .subtitle { font-size: 18px; color: var(--gray-600); margin-bottom: 32px; max-width: 520px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Browser-chrome panel (illustration shell) */
.panel {
    background: #fff; border: 1px solid var(--gray-200); border-radius: 14px;
    box-shadow: 0 28px 64px -30px rgba(17, 24, 39, .30); overflow: hidden;
}
.panel-chrome { display: flex; align-items: center; gap: 6px; padding: 11px 15px; background: var(--gray-50); border-bottom: 1px solid var(--gray-200); }
.panel-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gray-300); }
.panel-url { margin-left: 8px; font-family: 'DM Mono', monospace; font-size: 12px; color: var(--gray-400); }
.panel-body { padding: 16px; }
.panel-title { display: flex; align-items: center; justify-content: space-between; padding: 2px 6px 14px; border-bottom: 1px solid var(--gray-200); margin-bottom: 8px; }
.panel-title b { font-size: 13px; font-weight: 600; }
.panel-title b span { color: var(--gray-400); font-weight: 500; }
.panel-tag { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--accent); background: var(--accent-light); padding: 3px 8px; border-radius: 5px; }
.panel-tag--warn { color: #dc2626; background: #fef2f2; }

/* Shelf rows */
.srow { display: flex; align-items: center; gap: 13px; padding: 11px 6px; border-radius: 8px; }
.srow + .srow { border-top: 1px solid var(--gray-100); }
.srow.you { background: var(--accent-light); box-shadow: inset 0 0 0 1px rgba(0, 185, 128, .4); border-top-color: transparent; }
.srank { width: 30px; flex-shrink: 0; text-align: center; font-family: 'DM Mono', monospace; font-size: 12px; font-weight: 600; padding: 4px 0; border-radius: 6px; }
.srank.good { color: #047857; background: #ecfdf5; }
.srank.mid  { color: #b45309; background: #fffbeb; }
.srank.bad  { color: #dc2626; background: #fef2f2; }
.sthumb { width: 42px; height: 42px; border-radius: 9px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.sthumb svg { width: 20px; height: 20px; color: rgba(255, 255, 255, .92); }
.t1 { background: linear-gradient(135deg, #34d399, #059669); }
.t2 { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.t3 { background: linear-gradient(135deg, #fbbf24, #d97706); }
.t4 { background: linear-gradient(135deg, #f472b6, #db2777); }
.t5 { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.t6 { background: linear-gradient(135deg, #22d3ee, #0891b2); }
.slines { flex: 1; min-width: 0; }
.sline { display: block; height: 8px; border-radius: 4px; background: var(--gray-300); }
.sline.w { width: 72%; margin-bottom: 7px; }
.sline.n { width: 42%; }
.you .sline { background: rgba(0, 185, 128, .28); }
.sprice { font-family: 'DM Mono', monospace; font-size: 13px; color: var(--gray-500); flex-shrink: 0; }
.you .sprice { color: var(--accent); font-weight: 600; }
.sdelta { font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 600; flex-shrink: 0; padding: 2px 7px; border-radius: 5px; }
.sdelta.up { color: #047857; background: #ecfdf5; }
.sdelta.dn { color: #dc2626; background: #fef2f2; }

/* Category grid (hero) */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pcard { position: relative; border: 1px solid var(--gray-200); border-radius: 11px; padding: 10px; }
.pcard.you { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.pthumb { height: 52px; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.pthumb svg { width: 22px; height: 22px; color: rgba(255, 255, 255, .92); }
.prank { position: absolute; top: 16px; left: 16px; font-family: 'DM Mono', monospace; font-size: 10px; font-weight: 600; color: #047857; background: #ecfdf5; padding: 2px 6px; border-radius: 5px; }
.pcard.you .prank { color: #fff; background: var(--accent); }
.pline { display: block; height: 7px; border-radius: 4px; background: var(--gray-300); }
.pline.w { width: 80%; margin-bottom: 6px; }
.pline.n { width: 50%; margin-bottom: 10px; }
.pcard.you .pline { background: rgba(0, 185, 128, .3); }
.pprice { font-family: 'DM Mono', monospace; font-size: 12px; color: var(--gray-500); }
.pcard.you .pprice { color: var(--accent); font-weight: 600; }

/* Share-of-shelf bars */
.brow { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.brow:last-child { margin-bottom: 0; }
.bname { width: 104px; flex-shrink: 0; font-size: 13px; color: var(--gray-600); }
.brow.you .bname { color: var(--accent); font-weight: 600; }
.btrack { flex: 1; height: 30px; background: var(--gray-100); border: 1px solid var(--gray-200); border-radius: 8px; overflow: hidden; }
.bfill { display: block; height: 100%; border-radius: 7px 0 0 7px; }
.bpct { width: 44px; flex-shrink: 0; text-align: right; font-family: 'DM Mono', monospace; font-size: 13px; font-weight: 600; color: var(--gray-500); }
.brow.you .bpct { color: var(--accent); }

/* Network rows */
.nrow { display: flex; align-items: center; justify-content: space-between; padding: 15px 15px; border: 1px solid var(--gray-200); border-radius: 11px; margin-bottom: 12px; }
.nrow:last-child { margin-bottom: 0; }
.nrow-l { display: flex; align-items: center; gap: 11px; }
.ndot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.nname { font-size: 14px; font-weight: 600; }
.nrow-r { display: flex; align-items: center; gap: 10px; font-family: 'DM Mono', monospace; font-size: 12px; color: var(--gray-500); }
.nrank { padding: 3px 9px; border-radius: 6px; font-weight: 600; }
.nrank.good { color: #047857; background: #ecfdf5; }
.nrank.mid  { color: #b45309; background: #fffbeb; }
.nrank.bad  { color: #dc2626; background: #fef2f2; }

/* Section shell */
.section { padding: 96px 0; border-top: 1px solid var(--gray-200); }
.section--tint { background: var(--gray-50); }
.section--tall { min-height: 750px; display: flex; align-items: center; }
.section--tall > .container { width: 100%; }
.section-head { max-width: 660px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: 32px; font-weight: 700; letter-spacing: -.8px; line-height: 1.2; margin-bottom: 14px; }
.section-head p { font-size: 17px; color: var(--gray-600); }

/* 3 benefits — green square icon above title, cards on white */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.benefit { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 12px; padding: 30px; }
.benefit-ico { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 11px; background: var(--accent-light); color: var(--accent); margin-bottom: 18px; }
.benefit-ico svg { width: 22px; height: 22px; }
.benefit h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.benefit p { font-size: 15px; color: var(--gray-600); }

/* Narrated 4-anchor sentence (Ahrefs style) */
.narrate { max-width: 1000px; margin: 0 auto; text-align: center; }
.narrate-h { font-size: 21px; font-weight: 600; color: var(--gray-500); margin-bottom: 28px; }
.narrate-p { font-size: 40px; font-weight: 600; line-height: 1.4; letter-spacing: -.9px; color: var(--gray-600); }
.narrate-p a { color: var(--accent); text-decoration: none; }
.narrate-p a:hover .nverb { text-decoration: underline; }
.nbadge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--accent); color: #fff; font-size: 16px; font-weight: 700;
    margin-right: 8px; vertical-align: middle;
}

/* Detailed steps — alternating two-column */
.step { min-height: 750px; display: flex; align-items: center; padding: 72px 0; border-top: 1px solid var(--gray-200); }
.step > .container { width: 100%; }
.step-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.step-grid > * { min-width: 0; }
.step:nth-child(even) .step-media { order: -1; }
.step-num { font-family: 'DM Mono', monospace; font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 12px; }
.step h3 { font-size: 27px; font-weight: 700; letter-spacing: -.6px; line-height: 1.2; margin-bottom: 14px; }
.step-grid > div > p { color: var(--gray-600); margin-bottom: 22px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.feature-list li { display: flex; gap: 10px; font-size: 15px; color: var(--gray-600); align-items: flex-start; }
.feature-list svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.feature-list strong { color: var(--black); font-weight: 600; }

/* Step 4 — full dark section */
.step-dark { background: #0f1522; border-top-color: #232c3d; }
.step-dark h3 { color: #f3f4f6; }
.step-dark .step-num { color: #6ee7b7; }
.step-dark .step-grid > div > p, .step-dark .feature-list li { color: #b3bac4; }
.step-dark .feature-list strong { color: #f3f4f6; }
.step-dark .feature-list svg { color: #34d399; }
.step-dark .endpoint { color: #b3bac4; }
.step-dark .endpoint a { color: #6ee7b7; }
.step-dark .endpoint .sep { color: #3a4353; }
.step-dark .hl-agents { color: #6ee7b7; font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: rgba(110, 231, 183, .45); }
.wm-inline { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; text-decoration-color: rgba(0, 185, 128, .45); transition: text-decoration-color .15s; }
.wm-inline:hover { text-decoration-color: var(--accent); }
.step-dark .wm-inline { color: #6ee7b7; text-decoration-color: rgba(110, 231, 183, .5); }

/* Code block (API teaser) — dark */
.code-block { background: #0b101c; border: 1px solid #232c3d; border-radius: 12px; overflow: hidden; }
.code-header { background: #141b29; padding: 10px 16px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #232c3d; }
.code-dot { width: 10px; height: 10px; border-radius: 50%; background: #3a4353; }
.code-file { margin-left: 8px; font-family: 'DM Mono', monospace; font-size: 12px; color: #9ca3af; }
.code-content { padding: 20px; overflow-x: auto; }
.code-content pre { margin: 0; font-size: 12.5px; line-height: 1.85; color: #e5e7eb; }
.code-key { color: #7dd3fc; }
.code-string { color: #6ee7b7; }
.code-number { color: #fcd34d; }
.code-url { color: #93c5fd; }
.code-comment { color: #6b7280; }
.code-hl { background: rgba(0, 185, 128, .22); border-radius: 3px; padding: 1px 4px; }

/* Reinforcement — horizontal rows on a tinted band */
.rlist { background: #fff; border: 1px solid var(--gray-200); border-radius: 14px; overflow: hidden; }
.rrow { display: flex; align-items: center; gap: 22px; padding: 26px 30px; text-decoration: none; color: inherit; transition: background .15s; }
.rrow + .rrow { border-top: 1px solid var(--gray-200); }
.rrow:hover { background: var(--gray-50); }
.rdisc { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rdisc svg { width: 23px; height: 23px; }
.rdisc.amber { background: #fffbeb; color: #d97706; }
.rdisc.violet { background: #f5f3ff; color: #7c3aed; }
.rdisc.blue { background: #eff6ff; color: #2563eb; }
.rrow-txt { flex: 1; }
.rrow-txt h3 { font-size: 18px; font-weight: 700; margin-bottom: 3px; }
.rrow-txt p { font-size: 14px; color: var(--gray-600); }
.rrow-link { font-size: 14px; font-weight: 600; color: var(--accent); white-space: nowrap; flex-shrink: 0; }
.rrow:hover .rrow-link { text-decoration: underline; }
.rrow--soon { pointer-events: none; }
.rrow--soon .rrow-link { color: var(--gray-400); }

/* Floating step progress nav — separate glass circle + pill */
.step-nav {
    position: fixed; bottom: 24px; left: 50%;
    transform: translateX(-50%) translateY(16px);
    display: flex; align-items: center; gap: 10px;
    z-index: 90; opacity: 0; visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
.step-nav.visible { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.step-nav-top, .step-nav-pill {
    background: rgba(24, 33, 51, 0.44);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 14px 44px -12px rgba(0, 0, 0, .45);
}
.step-nav-top {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%;
    color: #fff; text-decoration: none; flex-shrink: 0;
    transition: color .15s, background .15s, border-color .15s;
}
.step-nav-top svg { width: 17px; height: 22px; stroke-width: 3; }
.step-nav-top:hover { color: #fff; background: var(--accent); border-color: var(--accent); }
.step-nav-pill { display: flex; align-items: center; gap: 2px; border-radius: 100px; padding: 5px; }
.step-nav-item { display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 100px; color: #fff; text-decoration: none; font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap; transition: color .15s, background .15s; }
.step-nav-item .sn-num { font-family: 'DM Mono', monospace; font-size: 13px; line-height: 1; color: #fff; transition: color .15s; }
.step-nav-item:hover { color: #34d399; }
.step-nav-item:hover .sn-num { color: #34d399; }
.step-nav-item.active { background: var(--accent); color: #fff; }
.step-nav-item.active .sn-num { color: #fff; }
.step-nav-item.active:hover { color: #fff; }
.step-nav-item.active:hover .sn-num { color: #fff; }
@media (max-width: 768px) { .step-nav { display: none; } }

/* Final CTA */
.cta-section { padding: 112px 0; text-align: center; background: rgba(0, 185, 128, .06); border-top: 1px solid var(--gray-200); }
.cta-section h2 { font-size: 34px; font-weight: 700; letter-spacing: -.8px; margin-bottom: 14px; }
.cta-section p { color: var(--gray-500); margin-bottom: 28px; font-size: 17px; }
.cta-section .btn-primary { padding: 14px 30px; font-size: 15px; }

/* Footer */
footer { padding: 60px 0 40px; border-top: 1px solid var(--gray-200); background: var(--gray-50); }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; margin-bottom: 40px; }
.footer-logo-vertical { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-bottom: 16px; transition: opacity .2s; }
.footer-logo-vertical:hover { opacity: .7; }
.footer-logo-text { font-size: 20px; font-weight: 700; color: var(--black); }
.footer-logo-text span { color: var(--accent); }
.footer-brand p { font-size: 13px; color: var(--gray-400); max-width: 260px; line-height: 1.5; }
.footer-links { display: flex; gap: 56px; }
.footer-col h4 { font-size: 13px; font-weight: 600; color: var(--black); margin-bottom: 14px; }
.footer-col h4 a { display: inline; color: inherit; margin: 0; text-decoration: none; transition: color .15s; }
.footer-col h4 a:hover { color: var(--accent); }
.footer-col a { display: block; font-size: 13px; color: var(--gray-600); text-decoration: none; margin-bottom: 9px; transition: color .15s; }
.footer-col a:hover { color: var(--accent); }
.footer-col .foot-soon { display: block; font-size: 13px; color: var(--gray-400); margin-bottom: 9px; cursor: default; }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--gray-200); display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--gray-400); }
.footer-bottom a { color: var(--gray-400); text-decoration: none; margin-left: 16px; }
.footer-bottom a:hover { color: var(--accent); }

/* Responsive */
@media (max-width: 900px) {
    .hero, .step, .section--tall { min-height: auto; }
    .hero-grid, .step-grid { grid-template-columns: 1fr; gap: 40px; }
    .step:nth-child(even) .step-media { order: 0; }
    .benefits { grid-template-columns: 1fr 1fr; }
    .narrate-p { font-size: 30px; }
}
@media (max-width: 768px) {
    .hero h1 { font-size: 34px; }
    .section-head h2 { font-size: 26px; }
    .footer-inner { flex-direction: column; gap: 32px; }
    .footer-links { gap: 32px; flex-wrap: wrap; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 560px) {
    .benefits { grid-template-columns: 1fr; }
    .hero { padding: 120px 0 56px; }
    .narrate-p { font-size: 24px; }
    .rrow { padding: 18px 20px; gap: 14px; }
    .rdisc { width: 40px; height: 40px; }
    .rdisc svg { width: 20px; height: 20px; }
    .rrow-txt p { display: none; }
    .rrow-link { display: none; }
}
@media (max-width: 480px) {
    .header-inner .btn-ghost { display: none; }
}

/* ---- extra illustration components (shared by the sibling use-case pages) ---- */
/* promo feed */
.pbadge { font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 5px; flex-shrink: 0; color: #dc2626; background: #fef2f2; }
.pbadge.loyalty { color: #b45309; background: #fffbeb; }
.pbadge.bogo { color: #7c3aed; background: #f5f3ff; }
.was { text-decoration: line-through; color: var(--gray-400); font-family: 'DM Mono', monospace; font-size: 12px; }

/* stock badge */
.stock { font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 100px; flex-shrink: 0; }
.stock.in { color: #047857; background: #ecfdf5; }
.stock.out { color: #dc2626; background: #fef2f2; }
.stock.low { color: #b45309; background: #fffbeb; }

/* distribution matrix */
.matrix { width: 100%; border-collapse: collapse; font-size: 13px; }
.matrix th, .matrix td { padding: 12px 8px; text-align: center; border-bottom: 1px solid var(--gray-100); }
.matrix tr:last-child td { border-bottom: none; }
.matrix th { font-weight: 600; color: var(--gray-500); font-size: 12px; }
.matrix td:first-child, .matrix th:first-child { text-align: left; font-weight: 600; white-space: nowrap; }
.matrix .yes { color: var(--accent); }
.matrix .no { color: var(--gray-300); }
.matrix .out { color: #dc2626; }
.matrix svg { width: 18px; height: 18px; vertical-align: middle; }

/* ratings + reviews */
.rating-big { display: flex; align-items: center; gap: 12px; margin-bottom: 2px; }
.rating-big b { font-size: 32px; font-weight: 700; letter-spacing: -1px; }
.stars { display: inline-flex; gap: 2px; color: #f59e0b; }
.stars svg { width: 16px; height: 16px; }
.rating-sub { font-size: 12px; color: var(--gray-400); margin-bottom: 16px; }
.review { padding: 14px 0; border-top: 1px solid var(--gray-100); }
.review:first-of-type { border-top: 1px solid var(--gray-200); margin-top: 4px; }
.review-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.review-author { font-size: 13px; font-weight: 600; }
.review-author span { color: var(--gray-400); font-weight: 500; margin-left: 8px; }
.review p { font-size: 13px; color: var(--gray-600); margin: 0; }

/* line charts (price trends etc.) */
.chart { width: 100%; height: auto; display: block; }
.chart polyline { fill: none; }
.chart-legend { font-size: 12px; color: var(--gray-500); margin-bottom: 14px; }
.chart-cap { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; font-size: 12px; color: var(--gray-500); }
.chart-cap .flag { font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 5px; }
.chart-cap .flag.gap { color: #b45309; background: #fffbeb; }
.chart-cap .flag.drop { color: #dc2626; background: #fef2f2; }

/* accurate partial star rating (gold fill clipped over a grey base) */
.srating { position: relative; display: inline-flex; vertical-align: middle; }
.srating-base, .srating-fill { display: inline-flex; gap: 2px; }
.srating-base { color: var(--gray-300); }
.srating-fill { position: absolute; top: 0; left: 0; overflow: hidden; color: #f59e0b; white-space: nowrap; }
.srating svg { width: 16px; height: 16px; flex-shrink: 0; }
/* verified badge */
.vbadge { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 600; color: #047857; background: #ecfdf5; padding: 2px 7px; border-radius: 100px; }
.vbadge svg { width: 11px; height: 11px; }
/* keep endpoint links from breaking across the arrow */
.endpoint a { white-space: nowrap; }

/* promo calendar (weeks × competitors heatmap) */
.pcal-head { display: flex; gap: 5px; margin: 0 0 8px 112px; }
.pcal-head span { flex: 1; text-align: center; font-size: 10px; color: var(--gray-400); font-family: 'DM Mono', monospace; }
.pcal-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.pcal-row:last-child { margin-bottom: 0; }
.pcal-lbl { width: 100px; flex-shrink: 0; font-size: 13px; font-weight: 500; }
.pcal-cells { display: flex; gap: 5px; flex: 1; }
.pcal-cell { flex: 1; height: 24px; border-radius: 5px; background: var(--gray-100); }

/* inline mint highlighter (same look as the hero title highlight, for body text) */
.hl { background: linear-gradient(120deg, #d1fae5 0%, #a7f3d0 100%); padding: 0 4px; border-radius: 4px; color: var(--black); }
