:root {
  --ink: #06214a;
  --ink-2: #123760;
  --cyan: #16b6c7;
  --amber: #f2c14e;
  --red: #ff1f2d;
  --page: #f2f3f5;
  --muted: #747b86;
  --line: #d9dee6;
  --white: #ffffff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.top-red-line { height: 4px; background: var(--red); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #f7f7f8;
  border-bottom: 1px solid #e2e5ea;
}
.site-header-dark {
  background: #092b5e;
  border-bottom-color: rgba(255,255,255,.08);
  color: white;
}
.header-inner {
  height: 88px;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 132px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 0 24px;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  line-height: .78;
  font-weight: 900;
  letter-spacing: -1.8px;
  font-size: 29px;
  text-transform: lowercase;
}
.brand-main { color: currentColor; }
.brand-dot { color: var(--red); }
.brand-domain { color: var(--cyan); font-size: 14px; letter-spacing: -.5px; line-height: 1; }
.site-header:not(.site-header-dark) .brand { color: var(--ink); }
.primary-nav {
  height: 36px;
  border-left: 1px solid #d8dce4;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 22px);
  padding-left: 24px;
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
}
.site-header-dark .primary-nav { border-left-color: rgba(255,255,255,.12); }
.primary-nav a:hover { color: var(--red); }
.header-tools { display: flex; gap: 20px; align-items: center; }
.icon-button {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}
.icon-button svg { width: 21px; height: 21px; }
.home-layout { max-width: 1180px; margin: 0 auto; padding: 28px 24px 56px; }
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 30px;
  align-items: start;
}
.featured-lead {
  min-height: 620px;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background: var(--ink);
}
.lead-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lead-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,33,74,.1), rgba(6,33,74,.86)); }
.lead-copy { position: absolute; left: 28px; right: 28px; bottom: 28px; color: white; }
.eyebrow { color: var(--cyan); text-transform: uppercase; font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.lead-copy h2 { font-size: clamp(28px, 4vw, 48px); line-height: 1; margin: 10px 0; letter-spacing: -.02em; }
.lead-copy p { max-width: 620px; color: rgba(255,255,255,.82); font-weight: 650; }
.home-hero aside h1, .section-heading h2, .popular-box h2 {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 31px;
  line-height: 1;
}
.featured-rail { display: grid; gap: 18px; }
.home-hero aside {
  min-width: 0;
}
.rail-card {
  display: grid;
  grid-template-columns: 142px 1fr;
  gap: 14px;
  align-items: center;
}
.rail-card img, .recent-card img, .topic-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.rail-card img { height: 78px; }
.rail-card h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.15; }
.popular-item h3 { margin: 0; font-size: 16px; line-height: 1.24; }
.byline { color: var(--muted); font-size: 13px; font-weight: 650; }
.hero-briefing {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
.briefing-card {
  background: var(--ink);
  color: white;
  border-radius: 6px;
  padding: 18px;
}
.briefing-card span, .market-card span, .side-heading span {
  color: var(--cyan);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
}
.briefing-card h2 { margin: 8px 0 8px; font-size: 22px; line-height: 1.1; }
.briefing-card p { color: rgba(255,255,255,.76); margin: 0 0 12px; line-height: 1.35; font-weight: 650; }
.briefing-card a { color: var(--amber); font-weight: 900; }
.quick-topics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.quick-topics a {
  background: white;
  border: 1px solid #e3e7ee;
  border-radius: 6px;
  padding: 12px;
  box-shadow: 0 6px 15px rgba(6,33,74,.06);
}
.quick-topics strong { display: block; color: var(--red); margin-bottom: 7px; }
.quick-topics span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #4f5662; font-size: 13px; line-height: 1.3; font-weight: 700; }
.market-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}
.market-card {
  background: white;
  border-radius: 7px;
  border: 1px solid #e3e7ee;
  box-shadow: 0 8px 18px rgba(6,33,74,.07);
  padding: 19px 20px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.market-card h3 { margin: 10px 0 14px; font-size: 19px; line-height: 1.16; }
.market-card p { margin: 0; color: var(--muted); font-size: 13px; font-weight: 750; }
.content-grid, .topic-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 30px;
  align-items: start;
}
.content-grid { margin-top: 52px; }
.section-heading span {
  display: inline-block;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.recent-list, .topic-list { display: grid; gap: 16px; }
.recent-card, .topic-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(6,33,74,.08);
  border: 1px solid #e6e9ee;
  overflow: hidden;
}
.recent-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 265px;
  min-height: 190px;
}
.recent-copy, .topic-copy { padding: 22px 24px; position: relative; }
.recent-copy:before, .topic-copy:before {
  content: "";
  position: absolute;
  left: -8px;
  top: 22px;
  width: 18px;
  height: 4px;
  background: var(--red);
}
.recent-card h3, .topic-card h3 { margin: 10px 0 10px; font-size: 22px; line-height: 1.2; }
.recent-card p, .topic-card p { color: #59606b; margin: 0 0 14px; line-height: 1.45; font-weight: 650; }
.newsletter-box {
  background: white;
  padding: 30px 32px;
  border-radius: 5px;
  box-shadow: 0 8px 20px rgba(6,33,74,.08);
  margin-bottom: 20px;
}
.newsletter-brand { font-weight: 900; letter-spacing: 4px; text-transform: uppercase; font-size: 12px; margin-bottom: 24px; }
.newsletter-brand span { color: var(--red); }
.newsletter-box h2 { margin: 0 0 10px; }
.newsletter-box p { color: #4f5662; font-weight: 760; line-height: 1.35; }
.check-row { display: flex; gap: 12px; align-items: center; margin: 14px 0; color: #4f5662; font-weight: 650; }
.check-row span { width: 22px; height: 22px; border: 1px solid #b9c5d4; border-radius: 3px; }
.newsletter-box input, .search-panel input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #cfd4dc;
  border-radius: 4px;
  margin: 14px 0 10px;
}
.newsletter-box button, .save-filter {
  width: 100%;
  border: 0;
  background: var(--red);
  color: white;
  padding: 14px 16px;
  border-radius: 3px;
  font-weight: 900;
  cursor: pointer;
}
.popular-box { background: white; border-radius: 7px; overflow: hidden; box-shadow: 0 8px 20px rgba(6,33,74,.08); }
.popular-box h2 { background: #e4e4e6; margin: 0; padding: 22px 26px; }
.popular-item { display: block; padding: 23px 26px 21px; border-bottom: 1px solid #eceff3; }
.popular-item .byline { margin-top: 10px; line-height: 1.35; }
.popular-item:last-child { border-bottom: 0; }
.topic-digest {
  background: white;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(6,33,74,.08);
  margin-bottom: 20px;
}
.side-heading { padding: 20px 24px 12px; background: #f7f8fa; border-bottom: 1px solid #eceff3; }
.side-heading h2 { margin: 6px 0 0; font-size: 26px; line-height: 1; }
.topic-digest-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  padding: 15px 24px;
  border-bottom: 1px solid #eceff3;
}
.topic-digest-row:last-child { border-bottom: 0; }
.topic-digest-row strong { font-size: 15px; }
.topic-digest-row span { color: var(--red); font-size: 12px; font-weight: 900; }
.topic-digest-row small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.topic-hero {
  background: linear-gradient(160deg, #092b5e, #315e99);
  color: white;
  min-height: 280px;
  padding: 62px max(24px, calc((100vw - 1180px) / 2)) 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topic-hero p { color: rgba(255,255,255,.58); font-weight: 900; margin: 0 0 12px; }
.topic-title-row { display: flex; align-items: center; gap: 20px; }
.topic-title-row h1 {
  font-size: clamp(48px, 7vw, 68px);
  margin: 0;
  line-height: .9;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 6px;
  text-underline-offset: 10px;
}
.filter-button {
  border: 0;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 14px 18px;
  border-radius: 3px;
  font-weight: 900;
  cursor: pointer;
}
.filter-button { background: white; color: #333943; }
.topic-content {
  max-width: 1180px;
  margin: -64px auto 60px;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}
.topic-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 278px;
  min-height: 210px;
}
.topic-card img { height: 156px; margin: 16px; width: calc(100% - 32px); }
.topic-more-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(260px, 100%);
  margin: 22px auto 0;
  border: 0;
  border-radius: 3px;
  background: var(--red);
  color: white;
  padding: 15px 18px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(241,32,43,.2);
}
.topic-more-button[hidden] { display: none; }
.search-overlay, .filter-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
}
.search-overlay.is-open, .filter-overlay.is-open { display: block; }
.search-overlay, .filter-overlay { background: rgba(2,10,24,.72); }
.search-panel, .filter-panel {
  background: white;
  width: min(520px, calc(100vw - 32px));
  margin: 78px auto 0;
  padding: 26px;
  border-radius: 5px;
  position: relative;
}
.search-panel label, .filter-panel h2 { display: block; margin: 0 42px 18px 0; font-size: 23px; font-weight: 900; }
.close-button { position: absolute; right: 16px; top: 16px; color: #69717d; }
.search-results { display: grid; gap: 10px; max-height: 340px; overflow: auto; }
.search-results a { display: block; padding: 12px; border: 1px solid #e5e8ee; border-radius: 5px; font-weight: 800; }
.filter-panel { margin-left: 2px; margin-top: 18px; }
.filter-panel select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #b8bec7;
  border-radius: 4px;
  color: #5a6069;
  margin-bottom: 14px;
}
.insights-band {
  margin-top: 52px;
  padding: 36px;
  background: var(--ink);
  color: white;
  border-radius: 6px;
}
.insights-band span { color: var(--cyan); text-transform: uppercase; font-weight: 900; }
.insights-band h2 { margin: 8px 0 10px; font-size: 34px; }
.insight-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.insight-cards article { border: 1px solid rgba(255,255,255,.16); padding: 20px; border-radius: 5px; }
.article-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 46px 24px 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
}
.article-page { background: white; border-radius: 7px; overflow: hidden; box-shadow: 0 8px 20px rgba(6,33,74,.08); }
.article-hero { padding: 42px 48px 26px; }
.article-meta { display: flex; gap: 12px; color: var(--red); font-weight: 900; text-transform: uppercase; font-size: 12px; }
.article-hero h1 { font-size: clamp(38px, 6vw, 64px); line-height: .95; margin: 16px 0; letter-spacing: -.03em; }
.article-hero p { color: #59606b; font-size: 20px; line-height: 1.4; font-weight: 650; }
.article-byline { color: #6c7480; font-weight: 750; }
.article-cover { width: 100%; max-height: 520px; object-fit: cover; display: block; }
.article-body { padding: 38px 48px 54px; font-size: 19px; line-height: 1.65; color: #1d2737; }
.article-body p { margin: 0 0 24px; }
.article-body h2 { margin: 34px 0 16px; font-size: 29px; line-height: 1.15; }
.article-body blockquote {
  border-left: 5px solid var(--red);
  margin: 32px 0;
  padding: 8px 0 8px 24px;
  color: #3c4654;
  font-weight: 800;
}
.article-body ul, .article-body ol { padding-left: 28px; margin: 0 0 24px; }
.site-footer { background: #061b3a; color: white; padding: 46px 24px 24px; }
.footer-grid {
  max-width: 1180px;
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(0, 1.7fr);
  gap: 42px;
}
.footer-grid p { color: rgba(255,255,255,.66); max-width: 360px; }
.footer-grid h3 { margin: 0 0 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 11px 18px; }
.footer-topic-links { gap: 12px 30px; }
.footer-links a { color: rgba(255,255,255,.72); }
.footer-bottom { max-width: 1180px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; color: rgba(255,255,255,.56); font-size: 13px; }
.skeleton { background: linear-gradient(90deg, #e8ebf0, #f8fafc, #e8ebf0); background-size: 200% 100%; animation: pulse 1.4s infinite; }
@keyframes pulse { 0% { background-position: 0 0; } 100% { background-position: -200% 0; } }
@media (max-width: 980px) {
  .header-inner { grid-template-columns: 126px 1fr; gap: 14px; }
  .primary-nav { display: none; }
  .header-tools { justify-self: end; gap: 10px; }
  .content-grid, .topic-content, .article-shell, .footer-grid { grid-template-columns: 1fr; }
  .recent-card, .topic-card { grid-template-columns: 1fr; }
  .topic-card img { height: 220px; }
  .insight-cards { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .home-hero, .market-strip { grid-template-columns: 1fr; }
  .featured-lead { min-height: 420px; }
  .quick-topics { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .header-inner { height: 76px; padding: 0 14px; }
  .brand { font-size: 24px; }
  .brand-domain { font-size: 12px; }
  .home-layout, .topic-content, .article-shell { padding-left: 14px; padding-right: 14px; }
  .rail-card { grid-template-columns: 112px 1fr; }
  .lead-copy { left: 18px; right: 18px; bottom: 18px; }
  .topic-hero { padding: 42px 18px 82px; align-items: flex-start; gap: 24px; flex-direction: column; }
  .topic-title-row { flex-direction: column; align-items: flex-start; }
  .article-hero, .article-body { padding-left: 22px; padding-right: 22px; }
}
