/* ================================================================
   Advertorial — Consumer Test / Experiment v1
   Chrome:     Classic News (topbar, sitehead, nav, offerbar, footer)
   Colour:     Warm orange (#ea580c) — energetic, "lab/test" feel,
               distinct from all prior bundle colours
   Typography: Serif → h1, section headings (.story-title), criteria
               titles, result card scores, pullquote, brand-mark,
               modal h3
               Sans  → body, subhead, kickers (.section-kicker),
               chips, nav, buttons, table, meta, captions
   Layout:     1080px chrome; 720px .prose single-column longform;
               footer outside main
   Unique:     Criteria grid (4 cards), methodology table, timeline
               steps, results grid (3 score cards), notice strip
   ================================================================ */

:root {
  --bg:           #ffffff;
  --ink:          #0d0d0d;
  --muted:        #5b6472;
  --border:       #e6e8ee;
  --paper:        #f8f9fb;

  --link:         #c2410c;
  --link-hover:   #9a3412;

  /* Warm orange */
  --cta:          #ea580c;
  --cta-hover:    #c2410c;
  --cta-bg:       #fff7ed;
  --cta-border:   #fed7aa;

  /* Orange-tinted accents */
  --accent-bg:    rgba(234,88,12,.07);
  --accent-border:rgba(234,88,12,.18);
  --accent-ink:   #7c2d12;

  --max:    1080px;
  --prose:   720px;
  --radius:   14px;
  --shadow:  0 8px 30px rgba(0,0,0,.07);

  --serif: ui-serif, Georgia, "Times New Roman", Times, serif;
  --sans:  ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box }
html, body { height: 100% }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.82;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  padding-bottom: 80px;
}
a { color: var(--link); text-decoration: none }
a:hover { color: var(--link-hover); text-decoration: underline }
img { max-width: 100%; display: block }

.container { width: min(100% - 32px, var(--max)); margin-inline: auto }
.prose { max-width: var(--prose); margin-inline: auto }

/* ── Topbar ─────────────────────────────────────────────────── */
.topbar { position: sticky; top: 0; z-index: 50; background: #111; color: #fff; border-bottom: 1px solid #222 }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0 }
.adv-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-weight: 650; letter-spacing: .08em; text-transform: uppercase; font-size: 12px }
.adv-dot { width: 8px; height: 8px; border-radius: 50%; background: #ffcc00; flex-shrink: 0 }
.topbar-right { font-family: var(--sans); font-size: 12px; color: #cfcfcf; white-space: nowrap }
.topbar-right a { color: #cfcfcf; text-decoration: underline; text-underline-offset: 2px }
.topbar-right a:hover { color: #fff }
@media (max-width: 600px) { .topbar-detail { display: none } }

/* ── Sitehead ───────────────────────────────────────────────── */
.sitehead { border-bottom: 1px solid var(--border); background: #fff }
.sitehead-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; flex-wrap: nowrap }
@media (max-width: 600px) { .sitehead-inner { justify-content: center } }
.brand { display: flex; align-items: baseline; gap: 10px; flex-shrink: 0 }
@media (max-width: 600px) { .brand { flex-direction: column; align-items: center; gap: 2px } }
.brand-mark { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 800; font-size: 24px; letter-spacing: -.02em; white-space: nowrap; color: #0d0d0d }
.brand-icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 999px; background: rgba(0,0,0,.06); color: var(--cta); flex-shrink: 0 }
.brand-icon svg { display: block }
.brand-tag { font-family: var(--sans); font-size: 12px; color: var(--muted); white-space: nowrap }

/* ── Nav ────────────────────────────────────────────────────── */
.nav { display: flex; gap: 4px; align-items: center; font-family: var(--sans); flex-shrink: 0; flex-wrap: nowrap }
.nav a { font-size: 13px; color: #333; padding: 6px 9px; border-radius: 10px; text-decoration: none; white-space: nowrap }
.nav a:hover { background: var(--paper); color: #111; text-decoration: none }
.nav a.nav-cta { background: var(--cta); color: #fff !important; padding: 7px 15px; border-radius: 999px; font-weight: 750; margin-left: 6px }
.nav a.nav-cta:hover { background: var(--cta-hover) }
@media (max-width: 600px) { .nav { display: none } }

/* ── Page shell ─────────────────────────────────────────────── */
.main { padding: 26px 0 0 }
.breadcrumb { font-family: var(--sans); font-size: 13px; color: var(--muted); margin: 0 0 14px }
.breadcrumb span { color: #bbb }

/* ── Meta chips ─────────────────────────────────────────────── */
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; font-family: var(--sans); font-size: 12px; color: var(--muted); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 10px 0 }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--border); border-radius: 999px; background: #fff; font-family: var(--sans); font-size: 12px }
.chip .pin { width: 14px; height: 14px; display: inline-flex; align-items: center; justify-content: center; color: var(--cta) }
.chip .pin svg { display: block }

/* ── Typography ─────────────────────────────────────────────── */
h1 { font-family: var(--serif); font-weight: 800; letter-spacing: -.03em; line-height: 1.04; font-size: clamp(32px, 4.2vw, 54px); margin: 8px 0 12px; color: #0d0d0d }

/* Two-part section heading used throughout:
   .section-kicker — small sans uppercase label
   .section-heading — larger serif section title */
.section-kicker { font-family: var(--sans); font-weight: 800; letter-spacing: .13em; text-transform: uppercase; font-size: 11px; color: var(--cta); margin: 0 0 5px }
.section-heading { font-family: var(--serif); font-weight: 700; font-size: 27px; line-height: 1.18; letter-spacing: -.02em; color: #0d0d0d; margin: 0 0 16px }

.subhead { font-family: var(--sans); font-weight: 400; color: #3b4556; font-size: 17.5px; line-height: 1.68; margin: 0 0 18px }
p { font-family: var(--sans); font-size: 16px; line-height: 1.82; color: #252525; margin: 0 0 14px }
p:last-child { margin-bottom: 0 }
.lede { font-size: 17.5px; color: #1a1a1a; line-height: 1.72; margin-bottom: 16px }
.small { font-family: var(--sans); font-size: 12px; color: var(--muted); line-height: 1.5 }

hr.sep { border: 0; border-top: 1px solid var(--border); margin: 32px 0 }

/* ── Sections ───────────────────────────────────────────────── */
.section { padding: 28px 0 }
.section + .section { border-top: 1px solid var(--border) }

/* ── Hero ───────────────────────────────────────────────────── */
.hero { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 0 }
.hero img { width: 100%; height: auto; display: block }
.caption { padding: 9px 13px; border-top: 1px solid var(--border); font-family: var(--sans); font-size: 12px; color: var(--muted) }

/* ── Disclosure callout ─────────────────────────────────────── */
.callout { border: 1px solid var(--border); background: var(--paper); border-radius: var(--radius); padding: 14px 16px; margin: 0 0 22px }
.callout strong { display: block; font-family: var(--sans); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #333; margin-bottom: 7px }
.callout p { font-size: 13.5px; color: var(--muted); line-height: 1.60; margin: 0 }

/* ── Pullquote ──────────────────────────────────────────────── */
.pullquote { border-left: 4px solid var(--cta); padding: 10px 0 10px 20px; margin: 24px 0; font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.38; color: #111 }
.pullquote cite { display: block; margin-top: 8px; font-family: var(--sans); font-size: 12px; font-style: normal; color: var(--muted) }

/* ── Notice strip ───────────────────────────────────────────── */
/* Used for methodology notes and inline editorial asides */
.notice-strip { border: 1px solid var(--accent-border); background: var(--accent-bg); border-radius: var(--radius); padding: 13px 16px; margin: 18px 0; font-family: var(--sans); font-size: 14px; color: var(--accent-ink); line-height: 1.55 }
.notice-strip strong { color: var(--cta); font-weight: 750 }

/* ── Criteria grid — 4 cards ────────────────────────────────── */
.criteria-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 20px 0 }
@media (max-width: 780px) { .criteria-grid { grid-template-columns: 1fr 1fr } }
@media (max-width: 440px) { .criteria-grid { grid-template-columns: 1fr } }
.criteria-card { border: 1px solid var(--accent-border); background: var(--cta-bg); border-radius: var(--radius); padding: 16px }
.criteria-card .crit-num { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--accent-bg); border: 1px solid var(--accent-border); font-family: var(--serif); font-weight: 800; font-size: 16px; color: var(--cta); margin-bottom: 10px }
.criteria-card h4 { font-family: var(--serif); font-weight: 700; font-size: 16px; letter-spacing: -.01em; color: #0d0d0d; margin: 0 0 5px }
.criteria-card p { font-family: var(--sans); font-size: 13.5px; line-height: 1.55; color: #444; margin: 0 }

/* ── Methodology table ──────────────────────────────────────── */
.method-table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 18px 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden }
.method-table th, .method-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); text-align: left; font-family: var(--sans); font-size: 15px }
.method-table th { background: var(--paper); font-weight: 750; font-size: 13px; color: #333 }
.method-table td:first-child { font-weight: 650; color: #111; width: 30% }
.method-table tr:last-child td { border-bottom: 0 }

/* ── Timeline steps ─────────────────────────────────────────── */
/* Used for week-by-week experiment arc */
.timeline { display: flex; flex-direction: column; gap: 0; margin: 20px 0 }
.step { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); position: relative }
.step:last-child { border-bottom: 0 }
.step-marker { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 0 }
.step-dot { width: 34px; height: 34px; border-radius: 999px; background: var(--cta-bg); border: 2px solid var(--cta-border); display: flex; align-items: center; justify-content: center; font-family: var(--sans); font-weight: 800; font-size: 12px; color: var(--cta); flex-shrink: 0; letter-spacing: .02em; text-transform: uppercase }
.step-line { width: 2px; flex: 1; background: var(--border); margin-top: 6px }
.step:last-child .step-line { display: none }
.step-content { flex: 1; padding-top: 4px }
.step-week { font-family: var(--sans); font-weight: 800; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--cta); margin-bottom: 4px }
.step-title { font-family: var(--serif); font-weight: 700; font-size: 17px; letter-spacing: -.01em; color: #0d0d0d; margin: 0 0 8px }
.step-body p { font-family: var(--sans); font-size: 15px; line-height: 1.75; color: #333; margin: 0 0 8px }
.step-body p:last-child { margin-bottom: 0 }

/* ── Inline image ───────────────────────────────────────────── */
.inline-img { margin: 20px 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden }
.inline-img img { width: 100%; height: auto; display: block }

/* ── Results grid — 3 score cards ──────────────────────────── */
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0 }
@media (max-width: 640px) { .results-grid { grid-template-columns: 1fr } }
.result-card { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; overflow: hidden }
/* Featured/winner card gets orange left border */
.result-card.featured { border-color: var(--cta-border); border-left: 3px solid var(--cta) }
.result-card-inner { padding: 18px }
.result-tag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-family: var(--sans); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px }
.result-tag.winner { background: var(--cta-bg); color: var(--cta); border: 1px solid var(--cta-border) }
.result-tag.runner { background: var(--paper); color: var(--muted); border: 1px solid var(--border) }
.result-score { font-family: var(--serif); font-size: 38px; line-height: 1; font-weight: 800; color: var(--cta); margin: 6px 0 4px; letter-spacing: -.03em }
.result-card.runner-card .result-score { color: #64748b }
.result-name { font-family: var(--serif); font-weight: 700; font-size: 15px; color: #0d0d0d; margin: 0 0 8px }
.result-card-inner p { font-family: var(--sans); font-size: 14px; line-height: 1.68; color: #333; margin: 0 0 10px }
.result-card-inner ul { margin: 8px 0 0; padding-left: 16px }
.result-card-inner li { font-family: var(--sans); font-size: 14px; color: #1f2937; margin: 5px 0 }

/* ── CTA box ────────────────────────────────────────────────── */
.cta-box { border: 1px solid var(--cta-border); background: var(--cta-bg); border-radius: var(--radius); padding: 18px; margin: 24px 0 }
.cta-box h3 { font-family: var(--serif); font-weight: 700; font-size: 16px; letter-spacing: -.01em; color: #7c2d12; margin: 0 0 8px }
.cta-row { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap }
.cta-row > p { flex: 1; font-family: var(--sans); font-size: 14.5px; color: #333; line-height: 1.55; margin: 0 }
.cta-row strong { color: #111 }

/* ── Button ─────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--cta); color: #fff !important; border: 1px solid transparent; border-radius: 999px; padding: 11px 20px; font-family: var(--sans); font-weight: 750; font-size: 14px; letter-spacing: .01em; text-decoration: none !important; white-space: nowrap; cursor: pointer; flex-shrink: 0; transition: background .12s ease, transform .08s ease }
.btn:hover { background: var(--cta-hover); color: #fff !important }
.btn:active { transform: translateY(1px) }
.btn.secondary { background: transparent; color: var(--cta) !important; border: 1px solid var(--cta-border) }
.btn.secondary:hover { background: var(--cta-bg) }

/* ── Offerbar ───────────────────────────────────────────────── */
.offerbar { position: fixed; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,.96); border-top: 1px solid var(--border); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); z-index: 70; transition: transform .22s ease; padding: 10px 0 }
.offerbar.hide { transform: translateY(100%) }
.offerbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px }
.offerbar-txt { font-family: var(--sans); font-size: 13px; color: #333; line-height: 1.25 }
.offerbar-txt strong { color: #111 }
@media (max-width: 480px) { .offerbar-txt { font-size: 12px } }

/* ── Footer ─────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); padding: 22px 0 34px; color: var(--muted); font-family: var(--sans); font-size: 12px }
.footer .cols { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center }
.footer a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px }
.footer a:hover { color: #111 }

/* ── Modal ──────────────────────────────────────────────────── */
.modal-backdrop { position: fixed; inset: 0; background: rgba(6,6,12,.55); display: none; z-index: 80; align-items: center; justify-content: center; padding: 18px }
.modal-backdrop.open { display: flex }
.modal { width: min(520px, 100%); background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); padding: 24px 22px 20px; font-family: var(--sans) }
.modal-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px }
.modal-brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 800; font-size: 17px; letter-spacing: -.01em }
.modal-brand .brand-icon { color: var(--cta) }
.modal h3 { font-family: var(--serif); font-weight: 700; font-size: 19px; letter-spacing: -.01em; margin: 10px 0 6px; color: #111 }
.modal p { margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.55 }
.progress { height: 10px; background: rgba(234,88,12,.09); border-radius: 999px; overflow: hidden; border: 1px solid rgba(234,88,12,.18) }
.bar { width: 0%; height: 100%; background: var(--cta); border-radius: 999px; transition: width .08s linear }
.modal-steps { margin-top: 12px; font-family: var(--sans); font-weight: 700; font-size: 14px; color: #222 }
.modal-actions { margin-top: 14px; display: flex; justify-content: flex-end }

/* ── Availability page ──────────────────────────────────────── */
.av-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px }
.av-card { width: min(520px, 100%); border: 1px solid var(--border); border-radius: 18px; background: var(--bg); padding: 24px 22px 20px; box-shadow: var(--shadow) }
