:root {
  --ink: #17140f;
  --muted: #6e6862;
  --faint: #9a948c;
  --line: #e8e3db;
  --paper: #ffffff;
  --soft: #f7f4ef;
  --accent: #003cc1;
  --accent-dark: #002f96;
  --up: #0b7a3b;
  --down: #dc2626;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* market ticker tape */
.marketbar { background: linear-gradient(180deg, #1c1813, #14110d); color: #fff; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.06); }
.marketbar-track { display: flex; width: max-content; will-change: transform; animation: ticker 120s linear infinite; }
.marketbar:hover .marketbar-track { animation-play-state: paused; }
.marketbar-track:empty { animation: none; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mb-item { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 20px; white-space: nowrap; color: #fff; text-decoration: none; font-size: 12.5px; border-right: 1px solid rgba(255,255,255,.09); transition: background .15s; }
.mb-item:hover { background: rgba(255,255,255,.06); }
.mb-sym { font-weight: 700; letter-spacing: .03em; }
.mb-px { color: #a7afa9; font-variant-numeric: tabular-nums; }
.mb-chg { font-weight: 600; font-variant-numeric: tabular-nums; }
.mb-chg.up { color: #4ade80; }
.mb-chg.down { color: #f87171; }
@media (prefers-reduced-motion: reduce) {
  .marketbar-track { animation: none; width: auto; overflow-x: auto; }
  .marketbar { overflow-x: auto; }
}

/* market widget (rail) */
.market-widget { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.mw-row { display: grid; grid-template-columns: 46px 1fr auto auto; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.mw-row:last-child { border-bottom: 0; }
.mw-row:hover { background: var(--soft); }
.mw-sym { font-weight: 700; font-size: 14px; }
.mw-row .spark { width: 100%; height: 22px; display: block; }
.mw-px { color: var(--muted); font-size: 13px; text-align: right; }
.mw-chg { font-size: 13px; font-weight: 600; text-align: right; min-width: 56px; }
.mw-chg.up { color: var(--up); }
.mw-chg.down { color: var(--down); }

/* markets section (homepage band of cards) */
.markets-section { margin-top: 6px; }
.markets-band { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.market-card { display: block; min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 14px; transition: box-shadow .15s, border-color .15s; }
.market-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.06); border-color: #d8d2c8; }
.market-card-top { display: flex; flex-direction: column; gap: 1px; }
.mc-sym { font-weight: 700; font-size: 15px; }
.mc-name { font-size: 11px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-spark { margin: 10px 0; }
.mc-spark .spark { width: 100%; height: 36px; display: block; }
.market-card-bot { display: flex; justify-content: space-between; align-items: baseline; }
.mc-px { font-weight: 700; font-size: 15px; }
.mc-chg { font-size: 13px; font-weight: 600; }
.mc-chg.up { color: var(--up); }
.mc-chg.down { color: var(--down); }
@media (max-width: 860px) { .markets-band { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .markets-band { grid-template-columns: repeat(2, 1fr); } }

/* sector heat map */
.heatmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 4px; }
.heat-tile { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; min-height: 120px; padding: 16px 18px; border-radius: 10px; transition: transform .12s, box-shadow .12s; }
.heat-tile:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0, 0, 0, .14); }
.ht-sector { font-weight: 700; font-size: 15px; line-height: 1.2; }
.ht-change { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.ht-meta { font-size: 12px; opacity: .8; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .heatmap { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .heatmap { grid-template-columns: repeat(2, 1fr); gap: 8px; } .heat-tile { min-height: 104px; padding: 14px; } .ht-change { font-size: 22px; } }

/* ticker page */
.ticker { max-width: 860px; margin: 26px auto 0; }
.ticker-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.ticker-head h1 { font-family: var(--serif); font-weight: 700; font-size: 30px; line-height: 1.15; margin: 4px 0 0; }
.tk-sym { color: var(--muted); font-weight: 600; font-size: 20px; }
.tk-price { text-align: right; line-height: 1.2; }
.tk-px { font-size: 30px; font-weight: 700; font-family: var(--sans); }
.tk-chg { margin-left: 8px; font-size: 18px; font-weight: 700; }
.tk-chg.up { color: var(--up); }
.tk-chg.down { color: var(--down); }
.tk-note { display: block; font-size: 12px; color: var(--faint); margin-top: 2px; }
.chart-ranges { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; }
.chart-ranges button { min-height: 34px; padding: 6px 14px; font-size: 12px; font-weight: 600; font-family: var(--sans); color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; transition: all .15s; }
.chart-ranges button:hover { border-color: var(--accent); color: var(--accent); }
.chart-ranges button.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.ticker-chart { margin: 10px 0 22px; position: relative; min-height: 220px; }
.ticker-chart .chart { width: 100%; height: 220px; display: block; }
.lw-tip { position: absolute; top: 6px; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: 12px; padding: 5px 9px; border-radius: 6px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .1s; z-index: 3; }
.lw-tip .tip-px { font-weight: 700; font-variant-numeric: tabular-nums; }
.lw-tip .tip-date { color: #cbd5d1; margin-left: 7px; }
.lw-vline { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(23, 20, 15, .28); opacity: 0; pointer-events: none; z-index: 2; transition: opacity .1s; }
.lw-dot { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--accent); border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); opacity: 0; pointer-events: none; z-index: 3; transition: opacity .1s; }
.ticker-keystats { margin-top: 8px; }
.keystats { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.ks-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.ks-row dt { color: var(--muted); font-size: 14px; }
.ks-row dd { margin: 0; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.ks-dash { color: var(--faint); font-weight: 400; margin: 0 2px; }
.profile-meta { margin-top: 18px; }
.profile-meta a { color: var(--accent); text-decoration: underline; font-weight: 600; }
@media (max-width: 600px) { .keystats { grid-template-columns: 1fr; gap: 0; } }
.ticker-about { margin-top: 8px; }
.ticker-about p { color: var(--muted); line-height: 1.65; }
.ticker-disclaimer { margin: 28px 0 60px; font-size: 12px; color: var(--faint); }
.ticker-disclaimer a { color: var(--muted); text-decoration: underline; }
@media (max-width: 560px) {
  .ticker-head { align-items: flex-start; }
  .tk-price { text-align: left; }
}

/* header (sticky, horizontal) */
.masthead { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(160%) blur(6px); border-bottom: 1px solid var(--line); }
.masthead-row { display: flex; align-items: center; gap: 22px; height: 68px; position: relative; }
.masthead-collapse { display: flex; flex: 1; min-width: 0; align-items: center; gap: 22px; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; margin-left: auto; flex-shrink: 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); cursor: pointer; }
.nav-toggle:hover { border-color: var(--accent); color: var(--accent); }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); flex-shrink: 0; }
.brand-mark { display: block; }
.brand-logo { height: 34px; width: auto; display: block; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 24px; letter-spacing: -.02em; }
.nav { display: flex; flex: 1; min-width: 0; gap: 4px; overflow-x: auto; align-items: center; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { padding: 9px 15px; border-radius: 9px; color: var(--ink); font-size: 15px; font-weight: 600; white-space: nowrap; transition: background .15s, color .15s; }
.nav a:hover { background: var(--soft); color: var(--accent); }
.search { display: flex; align-items: center; flex-shrink: 0; position: relative; }
.search input { height: 36px; width: 190px; max-width: 42vw; border: 1px solid var(--line); border-right: 0; border-radius: 8px 0 0 8px; padding: 0 12px; font-size: 14px; font-family: var(--sans); background: var(--paper); outline: none; transition: border-color .15s; }
.search input:focus { border-color: var(--accent); }
.search button { height: 36px; width: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--accent); background: var(--accent); color: #fff; border-radius: 0 8px 8px 0; cursor: pointer; transition: background .15s; }
.search button:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

/* search typeahead dropdown */
.search-pop { position: absolute; top: calc(100% + 6px); right: 0; width: min(380px, 86vw); background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 28px rgba(0, 0, 0, .12); overflow: hidden; z-index: 60; padding: 4px 0; }
.search-pop[hidden] { display: none; }
.sp-label { padding: 9px 14px 4px; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--faint); }
.sp-item { display: flex; align-items: baseline; gap: 9px; padding: 9px 14px; cursor: pointer; color: var(--ink); }
.sp-item:hover, .sp-item.active { background: var(--soft); }
.sp-item .sp-sym { font-weight: 700; font-size: 13px; min-width: 48px; color: var(--accent); }
.sp-item .sp-title { font-size: 14px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-item .sp-meta { font-size: 11px; color: var(--faint); margin-left: auto; white-space: nowrap; padding-left: 8px; }
.sp-empty { padding: 12px 14px; font-size: 13px; color: var(--muted); }

/* interaction polish */
a { transition: color .15s; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
.lead-media, .card-media, .side-story .thumb, .news-row .thumb { overflow: hidden; border-radius: 4px; }
.lead-media img, .card-media img, .side-story .thumb img, .news-row .thumb img { transition: transform .35s ease; }
.lead-media:hover img, .card-media:hover img, .side-story .thumb:hover img, .news-row .thumb:hover img { transform: scale(1.04); }
.lead h2 a, .card h3 a, .news-row h3 a, .side-story h3 a, .rail-list a, .mw-row, .market-card { transition: color .15s; }

/* search results */
.search-title { font-family: var(--serif); font-weight: 700; font-size: 28px; margin: 28px 0 4px; }
.search-count { font-size: 15px; font-family: var(--sans); color: var(--faint); font-weight: 600; }
.search-empty { color: var(--muted); margin: 24px 0 60px; font-size: 17px; }

/* news hub category chips */
.news-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 4px; }
.news-chips .chip { padding: 7px 15px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); background: #fff; transition: background .15s, border-color .15s, color .15s; }
.news-chips .chip:hover { border-color: var(--accent); color: var(--accent); }
.news-chips .chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* category / stocks index header */
.cat-header { margin: 26px 0 18px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.cat-header h1 { font-family: var(--serif); font-weight: 700; font-size: 34px; line-height: 1.1; letter-spacing: -.02em; margin: 4px 0 0; }

/* shared bits */
.kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: 7px;
}
.meta { display: block; margin-top: 9px; font-size: 12px; color: var(--faint); }
.dek { color: var(--muted); }
.section-head {
  margin: 40px 0 22px;
  padding-bottom: 9px;
  border-bottom: 2px solid var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.section-head span { box-shadow: inset 0 -2px 0 var(--accent); padding-bottom: 9px; }

/* featured (lead + side stories) */
.featured {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 40px;
  margin-top: 22px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.lead-media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; }
.lead-body { margin-top: 14px; }
.lead h2 { font-family: var(--serif); font-weight: 700; font-size: 32px; line-height: 1.13; letter-spacing: -.01em; margin: 4px 0 8px; }
.lead h2 a:hover { color: var(--accent); }
.lead .dek { font-size: 17px; }
.featured-side { display: flex; flex-direction: column; }
.side-story { display: grid; grid-template-columns: 104px 1fr; align-items: center; gap: 14px; flex: 1; padding: 14px 0; border-bottom: 1px solid var(--line); }
.side-story:first-child { padding-top: 0; }
.side-story:last-child { border-bottom: 0; }
.side-story .thumb img { width: 104px; height: 70px; object-fit: cover; border-radius: 3px; }
.side-story h3 { font-family: var(--serif); font-weight: 600; font-size: 17px; line-height: 1.2; margin: 3px 0 0; }
.side-story h3 a:hover { color: var(--accent); }
.side-story .kicker { margin-bottom: 3px; }
.side-story .meta { margin-top: 5px; }

/* main + rail layout */
.layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 52px; margin-top: 12px; align-items: start; }

/* news stack */
.news-row { display: grid; grid-template-columns: 210px 1fr; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.news-row:first-child { padding-top: 4px; }
.news-row .thumb img { width: 210px; aspect-ratio: 16/10; object-fit: cover; border-radius: 4px; }
.news-row h3 { font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1.18; margin: 4px 0 6px; }
.news-row h3 a:hover { color: var(--accent); }
.news-row .dek { font-size: 15px; line-height: 1.5; }

/* card grid (category sections + related) */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 30px 26px; }
.card-media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 4px; margin-bottom: 10px; }
.card h3 { font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.2; margin: 4px 0 6px; }
.card h3 a:hover { color: var(--accent); }
.card .dek { font-size: 14px; line-height: 1.5; }

/* rail */
.rail { position: sticky; top: 16px; }
.capture { background: var(--soft); border: 1px solid var(--line); border-radius: 8px; padding: 22px; }
.capture h4 { font-family: var(--serif); font-weight: 700; font-size: 21px; margin: 0 0 6px; }
.capture p { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.capture input { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 6px; font-size: 15px; font-family: var(--sans); background: #fff; }
.capture button { margin-top: 10px; width: 100%; padding: 11px; border: 0; border-radius: 6px; background: var(--accent); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; }
.capture button:hover { background: var(--accent-dark); }
.capture-msg { min-height: 1em; margin: 8px 0 0 !important; font-size: 13px; }
.rail-block { margin-top: 30px; }
.rail-title { margin: 0 0 6px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.rail-list { list-style: none; margin: 0; padding: 0; }
.rail-list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rail-list .rank { font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--accent); }
.rail-list a { font-family: var(--serif); font-size: 16px; line-height: 1.25; }
.rail-list a:hover { color: var(--accent); }

/* category sections */
.cat-section { scroll-margin-top: 20px; }

/* ARTICLE PAGE */
.article { max-width: 1100px; margin: 26px auto 0; }
.article-head { margin-bottom: 4px; }
.article-head .kicker { font-size: 12px; }
.article-head h1 { font-family: var(--serif); font-weight: 700; font-size: 40px; line-height: 1.1; letter-spacing: -.015em; margin: 6px 0 12px; }
.article-head .dek { font-family: var(--serif); font-size: 21px; line-height: 1.4; color: var(--muted); margin: 0 0 14px; }
.byline { font-size: 13px; color: var(--muted); margin: 0; }
.byline .dot { margin: 0 4px; color: var(--faint); }
.article-hero { margin: 18px 0 10px; }
.article-hero img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 6px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; margin-top: 4px; align-items: start; }
.article-body { font-family: var(--serif); font-size: 19px; line-height: 1.72; }
.related-list { margin-top: 2px; }
.article-body p { margin: 1.1em 0; }
.article-body h2 { font-size: 26px; line-height: 1.2; margin: 1.4em 0 .4em; }
.article-body h3 { font-size: 21px; margin: 1.3em 0 .4em; }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.ticker-link { font-family: var(--sans); font-weight: 700; font-size: .9em; color: var(--accent); white-space: nowrap; }
.article-body a.ticker-link { text-decoration: none; padding: 1px 5px; border-radius: 4px; background: rgba(0, 60, 193, .08); }
.article-body a.ticker-link:hover { background: rgba(0, 60, 193, .15); }
.article-body ul, .article-body ol { padding-left: 1.2em; }
.article-body img { border-radius: 6px; margin: 1.2em 0; }
.article-rail { position: sticky; top: 16px; }
.related { margin-top: 48px; padding-top: 4px; border-top: 1px solid var(--line); }

/* SMS opt-in page */
.sms-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 52px; align-items: start; margin: 44px 0 64px; }
.sms-pitch { padding-top: 4px; }
.sms-pitch h1 { font-family: var(--serif); font-weight: 700; font-size: 44px; line-height: 1.07; letter-spacing: -.02em; margin: 0 0 16px; }
.sms-sub { font-size: 18px; line-height: 1.6; color: var(--muted); margin: 0 0 26px; max-width: 46ch; }
.sms-benefits { list-style: none; margin: 0 0 30px; padding: 0; }
.sms-benefits li { position: relative; padding-left: 30px; margin: 13px 0; font-size: 16px; color: var(--ink); }
.sms-benefits li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; line-height: 20px; text-align: center; font-size: 11px; font-weight: 700; color: #fff; background: var(--accent); border-radius: 50%; }
.sms-card { display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: 0 10px 34px rgba(0, 0, 0, .08); position: sticky; top: 84px; }
.sms-card-title { font-family: var(--serif); font-weight: 700; font-size: 23px; margin: 0 0 2px; }
.sms-field { display: flex; flex-direction: column; gap: 5px; }
.sms-field span { font-size: 13px; font-weight: 600; color: var(--ink); }
.sms-field input { height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; font-size: 16px; font-family: var(--sans); background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; }
.sms-field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 60, 193, .12); }
.sms-consent { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.sms-consent-head { margin: 6px 0 0; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); }
.sms-check { display: grid; grid-template-columns: 18px 1fr; gap: 9px; align-items: start; font-size: 12px; line-height: 1.5; color: var(--muted); }
.sms-check input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--accent); }
.sms-check a { color: var(--accent); text-decoration: underline; }
.sms-btn { margin-top: 6px; height: 50px; border: 0; border-radius: 8px; background: var(--accent); color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; transition: background .15s; }
.sms-btn:hover { background: var(--accent-dark); }
.sms-msg { min-height: 1em; margin: 4px 0 0; font-size: 14px; font-weight: 600; }
.sms-msg.ok { color: var(--up); }
.sms-msg.error { color: var(--down); }
.sms-foot { margin: 8px 0 0; font-size: 12px; color: var(--faint); line-height: 1.6; }
.sms-foot a { color: var(--muted); text-decoration: underline; }
@media (max-width: 920px) {
  .sms-hero { grid-template-columns: 1fr; gap: 32px; margin: 28px 0 48px; }
  .sms-card { position: static; }
}
@media (max-width: 620px) {
  .sms-pitch h1 { font-size: 31px; }
  .sms-card { padding: 18px; }
}

/* static info pages */
.page { max-width: 760px; margin: 28px auto 0; }
.page > h1 { font-family: var(--serif); font-weight: 700; font-size: 38px; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 18px; }
.page-body { font-size: 17px; line-height: 1.7; color: #2b2722; }
.page-body h2 { font-family: var(--serif); font-size: 24px; line-height: 1.2; margin: 1.5em 0 .4em; }
.page-body h3 { font-family: var(--serif); font-size: 19px; line-height: 1.25; margin: 1.3em 0 .3em; }
.page-body p { margin: 1em 0; }
.page-body ul { margin: .6em 0; padding-left: 1.3em; }
.page-body li { margin: .35em 0; }
.page-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.page-body em { color: var(--muted); }

/* footer */
.site-footer { margin-top: 56px; border-top: 1px solid var(--line); background: var(--soft); }
.site-footer .container { padding-top: 36px; padding-bottom: 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand .brand-sm { font-family: var(--serif); font-weight: 700; font-size: 24px; }
.footer-brand p { margin: 6px 0 0; font-size: 14px; color: var(--muted); max-width: 280px; }
.footer-col h5 { margin: 0 0 12px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0 0 9px; }
.footer-col a { font-size: 14px; color: var(--muted); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { margin: 0; font-size: 12px; color: var(--faint); }
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .page > h1 { font-size: 30px; }
}

/* responsive */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .featured { grid-template-columns: 1fr; gap: 26px; }
  .layout { grid-template-columns: 1fr; gap: 8px; }
  .rail { position: static; margin-top: 24px; }
  .article-grid { grid-template-columns: 1fr; gap: 8px; }
  .article-rail { position: static; margin-top: 28px; max-width: 480px; }
  .lead h2 { font-size: 28px; }
  .article-head h1 { font-size: 32px; }
}
@media (max-width: 620px) {
  .masthead-row { gap: 12px; }
  .brand-name { font-size: 21px; }
  .brand { flex-shrink: 1; min-width: 0; }
  .brand-logo { height: auto; max-height: 26px; max-width: 100%; }
  .nav-toggle { display: inline-flex; }
  .masthead-collapse {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 14px 24px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .09);
  }
  .masthead.nav-open .masthead-collapse { display: flex; }
  .masthead-collapse .nav { flex-direction: column; flex: none; gap: 0; overflow: visible; font-size: 14px; }
  .masthead-collapse .nav a { padding: 12px 2px; border-bottom: 1px solid var(--line); letter-spacing: .05em; }
  .masthead-collapse .nav a:last-child { border-bottom: 0; }
  .masthead-collapse .search { width: 100%; }
  .masthead-collapse .search input { flex: 1; width: auto; max-width: none; }
  .lead h2 { font-size: 24px; }
  .news-row { grid-template-columns: 1fr; gap: 10px; }
  .news-row .thumb img { width: 100%; aspect-ratio: 16/9; }
  .article-head h1 { font-size: 28px; }
  .article-body { font-size: 18px; }
  .topbar-tag { display: none; }
}

/* offers / comparison pages */
.offers-intro { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 760px; margin: 0 0 24px; }
.offers-list { display: flex; flex-direction: column; gap: 14px; }
.offer-card { display: grid; grid-template-columns: 44px 1fr auto; gap: 18px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; transition: box-shadow .15s, border-color .15s; }
.offer-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.offer-card.highlight { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.offer-rank { font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--accent); text-align: center; }
.offer-body h3 { font-family: var(--serif); font-weight: 700; font-size: 20px; margin: 2px 0 4px; }
.offer-rating { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.stars { color: #f5a623; letter-spacing: 1px; }
.offer-blurb { font-size: 15px; color: var(--muted); margin: 4px 0 0; line-height: 1.5; }
.offer-btn { display: inline-block; background: var(--accent); color: #fff; font-weight: 600; font-size: 14px; padding: 11px 22px; border-radius: 8px; white-space: nowrap; }
.offer-btn:hover { background: var(--accent-dark); }
.offers-index { list-style: none; margin: 0; padding: 0; }
.offers-index-item { border-bottom: 1px solid var(--line); }
.offers-index-item a { display: block; padding: 14px 0; font-family: var(--serif); font-size: 19px; }
.offers-index-item a:hover { color: var(--accent); }
@media (max-width: 560px) {
  .offer-card { grid-template-columns: 32px 1fr; }
  .offer-cta { grid-column: 1 / -1; }
  .offer-btn { display: block; text-align: center; }
}
