/* =========================================================
   WeightLoss GLP-1 — Design System (Sunset Apothecary)
   Editorial telehealth review desk
   Warm coral · cream · terracotta · olive
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght,SOFT@9..144,400;9..144,500;9..144,600;9..144,700;9..144,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Surfaces */
  --cream: #FBF6EF;
  --cream-deep: #F6EDDF;
  --peach: #FDF1E8;
  --tan: #F4E6D5;
  --clay: #E8D2B8;
  --white: #FFFFFF;

  /* Brand */
  --coral: #D45D43;
  --coral-hover: #B8472E;
  --coral-soft: #FBE1D5;
  --terracotta: #8B3A24;
  --rust: #6B2A18;

  /* Ink */
  --ink: #241612;
  --ink-2: #3D2A22;
  --ink-3: #6B554B;
  --ink-4: #A89483;
  --ink-5: #C7B6A6;

  /* Accents */
  --olive: #5E7A3A;
  --olive-deep: #44582A;
  --olive-soft: #E8EDD4;
  --mustard: #C8983B;
  --mustard-soft: #FAEFD2;
  --berry: #A8324B;
  --berry-soft: #F8DDE2;
  --sky: #4A6B82;
  --sky-soft: #DCE5EC;

  /* Lines */
  --rule: #E4D4C0;
  --rule-soft: #EFE3D2;
  --rule-strong: #C9B59C;

  /* Type */
  --font-display: "Fraunces", "Source Serif Pro", Georgia, serif;
  --font-body: "Public Sans", "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, monospace;

  /* Scale */
  --maxw: 1280px;
  --maxw-narrow: 880px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Shadows — warm-toned */
  --shadow-1: 0 1px 0 rgba(45, 24, 12, 0.04), 0 1px 3px rgba(45, 24, 12, 0.04);
  --shadow-2: 0 2px 4px rgba(45, 24, 12, 0.06), 0 8px 18px rgba(45, 24, 12, 0.05);
  --shadow-3: 0 8px 28px rgba(45, 24, 12, 0.10);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  background: var(--cream);
  /* Subtle grid-paper texture — engineering pad / editorial */
  background-image:
    linear-gradient(rgba(139, 58, 36, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 58, 36, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================== Typography ============================== */

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  font-variation-settings: "opsz" 36;
}

h1 {
  font-size: clamp(2.4rem, 1.6rem + 3vw, 4.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 96, "SOFT" 30;
}

h2 {
  font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.5rem);
}

h4 { font-size: 1.1rem; }

.display-accent {
  font-style: italic;
  font-weight: 500;
  color: var(--terracotta);
  font-variation-settings: "SOFT" 100;
}

p { margin: 0 0 1em; }

a {
  color: var(--terracotta);
  text-decoration: underline;
  text-decoration-color: var(--coral-soft);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: all 160ms ease;
}
a:hover {
  color: var(--coral-hover);
  text-decoration-color: var(--coral);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: inline-block;
  margin-bottom: 0.6em;
}

.muted { color: var(--ink-3); }
.caption {
  font-size: 0.78rem;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}

/* ============================== Layout ============================== */

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: var(--maxw-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 64px 0; }
section.tight { padding: 32px 0; }
section.spacious { padding: 96px 0; }

/* ============================== Nav ============================== */

.topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 246, 239, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--rule);
}

.topnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--ink);
  display: grid;
  place-items: center;
  color: var(--coral);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 36;
}

.nav-links {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 0.92rem;
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
}
.nav-links a:hover { color: var(--coral-hover); }

.nav-cta {
  background: var(--ink);
  color: var(--cream);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 160ms ease;
}
.nav-cta:hover { background: var(--rust); color: var(--peach); text-decoration: none; }

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

/* ============================== Ticker ============================== */

.ticker {
  background: var(--ink);
  color: var(--peach);
  border-bottom: 1px solid var(--rust);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
.ticker-inner {
  display: flex;
  gap: 0;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 60s linear infinite;
  padding: 10px 0;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.ticker-label {
  color: var(--ink-5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
}
.ticker-price { color: var(--peach); font-weight: 600; }
.ticker-up { color: var(--olive-soft); }
.ticker-down { color: #F8B5C1; }
.ticker-flat { color: var(--ink-4); }
.ticker-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 22px;
  color: var(--coral);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ticker-live::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 0 rgba(212, 93, 67, 0.7);
  animation: ticker-pulse 1.8s infinite;
}
@keyframes ticker-pulse {
  0% { box-shadow: 0 0 0 0 rgba(212, 93, 67, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(212, 93, 67, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 93, 67, 0); }
}
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================== Hero ============================== */

.hero {
  padding: 64px 0 48px;
  text-align: center;
  position: relative;
}

.hero-rev {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 7px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  margin-bottom: 22px;
  box-shadow: var(--shadow-1);
}
.hero-rev-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--mustard));
  display: grid; place-items: center;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
}
.hero-rev a { color: var(--terracotta); }

.hero-drug-list {
  display: inline-flex;
  gap: 14px;
  font-size: 0.86rem;
  color: var(--ink-3);
  margin-left: 14px;
  padding-left: 16px;
  border-left: 1px solid var(--rule);
}

.hero h1 {
  margin: 12px auto 18px;
  max-width: 940px;
}

.hero-sub {
  max-width: 640px;
  margin: 0 auto 26px;
  font-size: 1.08rem;
  color: var(--ink-2);
}
.hero-sub strong { color: var(--ink); font-weight: 700; }

.hero-quote {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  color: var(--ink-2);
  font-style: italic;
  box-shadow: var(--shadow-1);
}
.hero-quote::before {
  content: '★';
  color: var(--mustard);
  font-style: normal;
}

.price-compare {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  margin: 32px 0 26px;
  flex-wrap: wrap;
  justify-content: center;
}
.price-compare-block { text-align: left; }
.price-compare-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 700;
}
.price-compare-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--coral);
  font-variation-settings: "opsz" 36;
}
.price-compare-amount.strike {
  color: var(--ink-3);
  text-decoration: line-through;
  text-decoration-color: var(--coral);
  text-decoration-thickness: 2px;
}
.price-compare-arrow {
  color: var(--coral);
  font-size: 1.4rem;
}

.cta-row {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  border: none;
  cursor: pointer;
  transition: all 160ms ease;
  font-family: inherit;
  white-space: nowrap;
}
.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 6px 14px rgba(212, 93, 67, 0.25);
}
.btn-primary:hover {
  background: var(--coral-hover);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(212, 93, 67, 0.32);
}
.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--rule-strong);
}
.btn-secondary:hover { background: var(--peach); color: var(--ink); text-decoration: none; }
.btn-dark {
  background: var(--ink);
  color: var(--cream);
}
.btn-dark:hover { background: var(--rust); color: var(--peach); text-decoration: none; }

.btn-arrow { transition: transform 160ms ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

.btn-pick {
  background: var(--terracotta);
  color: var(--peach);
}
.btn-pick:hover { background: var(--rust); color: var(--peach); text-decoration: none; }
.btn-pick .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--coral);
  margin-right: 4px;
}
.btn-pick .price {
  font-size: 0.78rem;
  color: var(--clay);
  font-weight: 500;
  margin-left: 4px;
  padding-left: 8px;
  border-left: 1px solid rgba(255,255,255,0.18);
}

.checks {
  display: inline-flex;
  gap: 26px;
  margin-top: 18px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.82rem;
  color: var(--ink-3);
}
.checks span::before {
  content: '✓';
  color: var(--olive);
  font-weight: 700;
  margin-right: 6px;
}

/* ============================== Cards ============================== */

.card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-1);
  transition: all 200ms ease;
}
.card:hover {
  border-color: var(--rule-strong);
  box-shadow: var(--shadow-2);
}

/* Top-rated programs card */
.top-rated {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 32px auto 0;
  max-width: 1080px;
  box-shadow: var(--shadow-2);
}
.top-rated-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
}
.top-rated-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.top-rated-title::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--olive);
}
.top-rated-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 880px) {
  .top-rated-grid { grid-template-columns: repeat(2, 1fr); }
}
.top-rated-cell {
  padding-right: 16px;
}
.top-rated-cell + .top-rated-cell {
  border-left: 1px solid var(--rule);
  padding-left: 20px;
}
@media (max-width: 880px) {
  .top-rated-cell + .top-rated-cell { border-left: none; padding-left: 0; }
}
.top-rated-name {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 700;
  margin-bottom: 6px;
}
.top-rated-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.top-rated-price sub {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--ink-3);
  font-weight: 500;
  vertical-align: baseline;
}
.top-rated-score {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--ink-2);
}
.top-rated-score a { color: var(--coral-hover); }

/* Award tiles */
.award-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 24px;
}
@media (max-width: 880px) { .award-grid { grid-template-columns: 1fr; } }
.award {
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid transparent;
}
.award-pick { background: var(--coral-soft); border-color: rgba(212, 93, 67, 0.3); }
.award-value { background: var(--mustard-soft); border-color: rgba(200, 152, 59, 0.28); }
.award-oral { background: var(--sky-soft); border-color: rgba(74, 107, 130, 0.28); }
.award-pick .award-eyebrow { color: var(--terracotta); }
.award-value .award-eyebrow { color: #8C6B1E; }
.award-oral .award-eyebrow { color: #2F526E; }
.award-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}
.award-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.award-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}
.award-score {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink-2);
}
.award-best-for {
  color: var(--ink-2);
  font-size: 0.92rem;
  margin: 0 0 18px;
  line-height: 1.5;
}
.award-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 0.94rem;
}
.award-foot strong { font-weight: 600; color: var(--ink); }
.award-cta {
  display: block;
  background: var(--coral);
  color: var(--white);
  text-align: center;
  padding: 14px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 600;
  transition: all 160ms ease;
}
.award-cta:hover {
  background: var(--coral-hover);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-1px);
}

/* Provider list (Top-N table) */
.provider-list {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.provider-row {
  display: grid;
  grid-template-columns: 50px 2.2fr 0.8fr 0.8fr 0.8fr 0.6fr 1fr;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid var(--rule);
  gap: 16px;
}
.provider-row:last-child { border-bottom: 0; }
.provider-row.header {
  background: var(--cream-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 14px 24px;
}
.provider-rank {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--ink-3);
  font-weight: 500;
}
.provider-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pick-badge {
  display: inline-block;
  background: var(--mustard-soft);
  color: #8C6B1E;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 3px 9px;
  border-radius: 4px;
  text-transform: uppercase;
}
.provider-desc {
  font-size: 0.88rem;
  color: var(--ink-3);
  line-height: 1.45;
  margin: 0;
}
.score-chip {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--olive-soft);
  color: var(--olive-deep);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
}
.provider-price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ink);
}
.provider-price sub {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--ink-3);
  font-weight: 500;
  vertical-align: baseline;
}
.type-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--peach);
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 500;
}
.type-pill.brand { background: var(--sky-soft); color: #2F526E; }
.type-pill.both { background: var(--olive-soft); color: var(--olive-deep); }
.provider-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--coral);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.88rem;
}
.provider-cta:hover { background: var(--coral-hover); color: var(--white); text-decoration: none; }

@media (max-width: 980px) {
  .provider-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .provider-row.header { display: none; }
}

/* Tool grid */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .tool-grid { grid-template-columns: repeat(2, 1fr); } }
.tool {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 22px;
  text-decoration: none;
  color: var(--ink);
  transition: all 200ms ease;
  display: block;
}
.tool:hover {
  text-decoration: none;
  color: var(--ink);
  border-color: var(--coral);
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}
.tool.dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--peach);
}
.tool.dark .tool-name { color: var(--peach); }
.tool.dark .tool-desc { color: var(--ink-5); }
.tool.dark:hover { background: var(--rust); color: var(--peach); border-color: var(--rust); }
.tool-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
  display: block;
}
.tool-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.tool-desc {
  font-size: 0.84rem;
  color: var(--ink-3);
  margin: 0;
}

/* News / blog cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 880px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 22px;
  text-decoration: none;
  color: var(--ink);
  display: block;
  transition: all 200ms ease;
}
.blog-card:hover {
  border-color: var(--coral);
  text-decoration: none;
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}
.blog-cat {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--terracotta);
  margin-bottom: 10px;
  display: inline-block;
}
.blog-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 8px;
  line-height: 1.3;
}
.blog-excerpt {
  color: var(--ink-3);
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.blog-meta {
  font-size: 0.76rem;
  color: var(--ink-4);
}

/* Decision grid (comparisons) */
.decision-grid {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.decision-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  padding: 18px 24px;
  border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
}
.decision-row:last-child { border-bottom: 0; }
.decision-row.header {
  background: var(--cream-deep);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.decision-row.winner-left .decision-col-1 { background: linear-gradient(90deg, var(--olive-soft), transparent); }
.decision-row.winner-right .decision-col-2 { background: linear-gradient(-90deg, var(--olive-soft), transparent); }
.decision-col-0 { color: var(--ink-3); }
.decision-col-1, .decision-col-2 { color: var(--ink); font-weight: 500; padding: 0 14px; }

/* Coverage cards */
.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
@media (max-width: 880px) { .coverage-grid { grid-template-columns: 1fr; } }
.coverage-card {
  background: var(--olive-soft);
  border: 1px solid rgba(94, 122, 58, 0.2);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.coverage-card.alt { background: var(--sky-soft); border-color: rgba(74, 107, 130, 0.2); }
.coverage-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--olive-deep);
  margin-bottom: 12px;
}
.coverage-card.alt .coverage-eyebrow { color: #2F526E; }
.coverage-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.coverage-card a.coverage-cta {
  display: inline-block;
  margin-top: 14px;
  background: var(--ink);
  color: var(--peach);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
}
.coverage-card a.coverage-cta:hover { background: var(--rust); color: var(--peach); text-decoration: none; }

/* Timeline */
.timeline {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.timeline-event {
  display: grid;
  grid-template-columns: 14px 100px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule-soft);
  align-items: start;
}
.timeline-event:last-child { border-bottom: 0; }
.timeline-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--coral);
  margin-top: 6px;
}
.timeline-dot.alt { background: var(--olive); }
.timeline-dot.warn { background: var(--berry); }
.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-3);
  padding: 4px 10px;
  background: var(--cream-deep);
  border-radius: 6px;
  display: inline-block;
  white-space: nowrap;
}
.timeline-headline {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.timeline-detail {
  color: var(--ink-3);
  font-size: 0.9rem;
}

/* CTA block */
.cta-block {
  background: var(--ink);
  color: var(--peach);
  border-radius: var(--radius-lg);
  padding: 64px 32px;
  text-align: center;
}
.cta-block h2 { color: var(--peach); }
.cta-block .btn { background: var(--cream); color: var(--ink); }
.cta-block .btn:hover { background: var(--white); color: var(--ink); }

/* ============================== Floating top picks ============================== */

.top-picks-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: var(--white);
  border-top: 1px solid var(--rule);
  padding: 12px 24px;
  box-shadow: 0 -4px 22px rgba(45, 24, 12, 0.08);
}
.top-picks-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.top-picks-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 700;
  margin-right: 8px;
  white-space: nowrap;
}
.top-picks-label small {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  text-transform: none;
}
.top-picks-cards {
  display: flex;
  gap: 10px;
  flex: 1;
  overflow: hidden;
}
.top-picks-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  font-size: 0.84rem;
  background: var(--cream);
  flex: 1;
  min-width: 0;
}
.top-picks-card:hover {
  border-color: var(--coral);
  color: var(--ink);
  text-decoration: none;
}
.top-picks-rank {
  background: var(--olive-soft);
  color: var(--olive-deep);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}
.top-picks-name { font-weight: 600; }
.top-picks-meta { font-size: 0.74rem; color: var(--ink-3); }
.top-picks-close {
  background: transparent;
  border: 0;
  color: var(--ink-4);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 8px;
}
@media (max-width: 720px) {
  .top-picks-bar { display: none; }
}

/* ============================== Footer ============================== */

.site-footer {
  background: var(--cream-deep);
  border-top: 1px solid var(--rule);
  padding: 64px 0 32px;
  margin-bottom: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(6, 1fr);
  gap: 32px;
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 0.86rem;
  color: var(--ink-3);
  margin: 0;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.88rem;
}
.footer-col a:hover { color: var(--coral-hover); }

.footer-disclaimer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 0.78rem;
  color: var(--ink-3);
  line-height: 1.5;
}
.footer-disclaimer strong { color: var(--ink); }

/* ============================== Article ============================== */

.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}
.article h1 { margin-bottom: 12px; }
.article-meta {
  display: flex;
  gap: 14px;
  font-size: 0.86rem;
  color: var(--ink-3);
  padding: 18px 0;
  margin: 24px 0 32px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  align-items: center;
}
.article-meta a { color: var(--terracotta); }
.article-meta-sep { color: var(--ink-5); }
.article-content {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-2);
}
.article-content h2 {
  margin-top: 2em;
  margin-bottom: 0.5em;
}
.article-content h3 {
  margin-top: 1.6em;
  margin-bottom: 0.4em;
}
.article-content ul, .article-content ol {
  padding-left: 1.4em;
  margin: 1em 0;
}
.article-content li { margin-bottom: 0.5em; }

.callout {
  background: var(--peach);
  border-left: 3px solid var(--coral);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 24px 0;
}
.callout-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 8px;
  display: block;
}
.callout p:last-child { margin-bottom: 0; }

.callout.alt { background: var(--olive-soft); border-left-color: var(--olive); }
.callout.alt .callout-eyebrow { color: var(--olive-deep); }
.callout.warn { background: var(--berry-soft); border-left-color: var(--berry); }
.callout.warn .callout-eyebrow { color: var(--berry); }

/* ============================== Provider profile ============================== */

.provider-hero {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-top: 24px;
}
.provider-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 22px;
}
.provider-hero-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  margin: 8px 0;
}
.provider-hero-tag {
  font-size: 1.02rem;
  color: var(--ink-3);
  margin: 0;
}
.provider-hero-score {
  display: grid;
  place-items: center;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--olive-soft);
  color: var(--olive-deep);
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  flex-shrink: 0;
}
.provider-hero-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 22px 0;
}
@media (max-width: 720px) {
  .provider-hero-features { grid-template-columns: 1fr; }
}
.provider-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--ink-2);
}
.provider-feature::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--coral);
  flex-shrink: 0;
}

.provider-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  align-items: center;
}
.provider-price-block {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.provider-price-amount {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--coral);
}
.provider-price-unit { color: var(--ink-3); font-size: 0.9rem; }

.rubric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0;
}
@media (max-width: 720px) { .rubric-grid { grid-template-columns: 1fr; } }
.rubric-cell {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 18px;
}
.rubric-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 700;
  margin-bottom: 6px;
}
.rubric-score {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
}
.rubric-bar {
  width: 100%;
  height: 6px;
  background: var(--rule-soft);
  border-radius: 3px;
  margin-top: 10px;
  overflow: hidden;
}
.rubric-bar-fill {
  height: 100%;
  background: var(--coral);
  border-radius: 3px;
}

/* ============================== Hero variant for sub-pages ============================== */

.page-hero {
  padding: 56px 0 24px;
  text-align: center;
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(to bottom, var(--peach), var(--cream));
}
.page-hero h1 { max-width: 940px; margin: 0 auto 16px; }
.page-hero-sub {
  max-width: 700px;
  margin: 0 auto 22px;
  color: var(--ink-2);
  font-size: 1.04rem;
}
.crumbs {
  font-size: 0.78rem;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.crumbs a { color: var(--ink-3); text-decoration-color: var(--rule); }
.crumbs a:hover { color: var(--coral-hover); }

/* Tag / chip */
.chip {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--peach);
  color: var(--terracotta);
  border: 1px solid var(--rule);
  font-size: 0.82rem;
  margin: 4px;
  text-decoration: none;
}
.chip:hover { background: var(--coral-soft); color: var(--terracotta); text-decoration: none; }

/* TOC */
.toc {
  background: var(--cream-deep);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 28px 0;
}
.toc-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 12px;
}
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc li {
  font-size: 0.92rem;
  margin-bottom: 8px;
  padding-left: 16px;
  position: relative;
}
.toc li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--coral);
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.92rem;
}
th, td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
}
th {
  background: var(--cream-deep);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
}
tr:last-child td { border-bottom: 0; }

/* Mini visual accents */
.divider {
  height: 1px;
  background: var(--rule);
  margin: 32px 0;
}

/* Section heading pattern */
.section-head {
  margin-bottom: 28px;
}
.section-head h2 { margin-bottom: 6px; }
.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.section-link {
  font-size: 0.88rem;
  color: var(--terracotta);
}

/* Popular comparisons chips */
.chip-row {
  margin-top: 16px;
  text-align: center;
}

/* Print-friendly basics */
@media print {
  .topnav, .ticker, .top-picks-bar, .site-footer { display: none; }
  body { background: white; }
}
