:root {
  color-scheme: light;
  --ink: #102029;
  --ink-strong: #071218;
  --muted: #5d6c72;
  --line: #dce4e1;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --teal: #08756f;
  --teal-dark: #064d4b;
  --teal-soft: #dff1ee;
  --blue: #225d82;
  --blue-soft: #e6f0f6;
  --amber: #a4661f;
  --amber-soft: #fff1db;
  --rose: #9d4b4f;
  --rose-soft: #f9e6e7;
  --shadow: 0 24px 70px rgba(11, 30, 35, 0.14);
  --max: 1180px;
  --vh: 1vh;
}

* {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  min-width: 0;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(158, 240, 232, 0.86);
  outline-offset: 3px;
}

button {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
  padding: 14px clamp(18px, 4vw, 42px);
  color: #ffffff;
  background: rgba(7, 18, 24, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-size: 14px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #aaf0e8;
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 26px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.nav-links a:hover {
  color: #ffffff;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(650px, calc(var(--vh) * 78), 920px);
  overflow: hidden;
  color: #ffffff;
  background: #071218;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 14, 19, 0.88) 0%, rgba(5, 14, 19, 0.62) 38%, rgba(5, 14, 19, 0.22) 75%),
    linear-gradient(0deg, rgba(5, 14, 19, 0.72) 0%, rgba(5, 14, 19, 0.05) 48%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 120px 0 clamp(150px, 18vh, 190px);
  transform: translateX(calc((min(1180px, 100vw - 36px) - min(760px, 100vw - 36px)) / -2));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9ef0e8;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 6.8vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 14px;
  color: var(--ink-strong);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.03;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 12px;
  color: var(--ink-strong);
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.tab-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 850;
  text-align: center;
  white-space: normal;
}

.button.primary {
  background: #ffffff;
  color: #071218;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.hero-metrics {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(var(--max), calc(100% - 36px));
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(7, 18, 24, 0.78);
  backdrop-filter: blur(12px);
}

.hero-metrics div {
  min-width: 0;
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics strong {
  display: block;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: normal;
}

.ticker {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 14px max(18px, calc((100vw - var(--max)) / 2));
  background: var(--ink-strong);
  color: #ffffff;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.ticker::-webkit-scrollbar {
  display: none;
}

.ticker span {
  flex: 0 0 auto;
  scroll-snap-align: start;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.band {
  padding: clamp(56px, 8vw, 96px) clamp(18px, 4vw, 42px);
}

.section-heading {
  width: min(var(--max), 100%);
  margin: 0 auto 30px;
}

.section-heading p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.section-heading.compact {
  margin-bottom: 22px;
}

.briefing-grid,
.share-grid,
.newsletter-layout {
  display: grid;
  width: min(var(--max), 100%);
  margin: 0 auto;
  gap: 18px;
}

.briefing-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
  align-items: stretch;
}

.lead-brief,
.module-card,
.newsletter-preview,
.share-panel,
.source-panel,
.schedule-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(8, 30, 36, 0.03);
}

.lead-brief {
  min-height: 410px;
  padding: clamp(24px, 4vw, 42px);
  background:
    linear-gradient(135deg, rgba(8, 117, 111, 0.09), rgba(255, 255, 255, 0) 52%),
    #ffffff;
}

.article-topline,
.newsletter-kicker,
.schedule-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.lead-brief h3 {
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
}

.lead-brief p,
.newsletter-preview p,
.share-panel p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.signal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.signal-list span {
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
}

.pulse-stack {
  display: grid;
  gap: 14px;
}

.module-card {
  padding: 22px;
}

.module-card p,
.schedule-card p,
.source-panel dd {
  color: var(--muted);
  line-height: 1.5;
}

.module-label {
  display: inline-flex;
  margin-bottom: 14px;
  border-radius: 8px;
  padding: 8px 10px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.module-label.amber {
  background: var(--amber-soft);
  color: var(--amber);
}

.module-label.blue {
  background: var(--blue-soft);
  color: var(--blue);
}

.schedule-band {
  background: #eef3f1;
}

.schedule-controls {
  display: flex;
  flex-wrap: wrap;
  width: min(var(--max), 100%);
  margin: 0 auto 18px;
  gap: 8px;
}

.tab-button {
  min-height: 40px;
  border-color: var(--line);
  background: #ffffff;
  color: var(--muted);
  cursor: pointer;
}

.tab-button.active {
  border-color: var(--teal);
  background: var(--teal);
  color: #ffffff;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  width: min(var(--max), 100%);
  margin: 0 auto;
  gap: 14px;
}

.schedule-card {
  min-height: 320px;
  padding: 22px;
  animation: lift 280ms ease both;
  animation-delay: var(--delay);
}

.schedule-card.regulatory {
  border-top: 4px solid var(--amber);
}

.schedule-card.daily {
  border-top: 4px solid var(--teal);
}

.schedule-card.controls {
  border-top: 4px solid var(--rose);
}

.schedule-card.content {
  border-top: 4px solid var(--blue);
}

.schedule-meta {
  margin-bottom: 18px;
}

.schedule-meta strong {
  border-radius: 999px;
  padding: 6px 9px;
  background: #e8f7ef;
  color: #197548;
}

.schedule-card dl,
.source-panel dl {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
}

.schedule-card dt,
.source-panel dt {
  color: var(--ink-strong);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.schedule-card dd,
.source-panel dd {
  margin: 4px 0 0;
}

.newsletter-band {
  background: #ffffff;
}

.newsletter-layout {
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
}

.newsletter-preview {
  padding: clamp(24px, 4vw, 42px);
  box-shadow: var(--shadow);
}

.newsletter-preview h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.04;
}

.question-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: question;
}

.question-list li {
  position: relative;
  min-height: 52px;
  padding: 14px 14px 14px 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  line-height: 1.45;
  counter-increment: question;
}

.question-list li::before {
  content: counter(question);
  position: absolute;
  left: 14px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--teal);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.share-band {
  background: var(--ink-strong);
  color: #ffffff;
}

.share-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
}

.share-panel,
.source-panel {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  padding: clamp(22px, 4vw, 36px);
}

.share-panel h2,
.source-panel h3,
.source-panel dt {
  color: #ffffff;
}

.share-panel p,
.source-panel dd {
  color: rgba(255, 255, 255, 0.72);
}

.share-band .eyebrow {
  color: #9ef0e8;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(18px, 4vw, 42px);
  background: #071218;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 800;
}

.footer a {
  color: #9ef0e8;
}

@keyframes lift {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.08);
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    width: min(100% - 36px, var(--max));
    padding-top: 150px;
    padding-bottom: 210px;
    transform: none;
  }

  .briefing-grid,
  .newsletter-layout,
  .share-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 660px) {
  .site-header {
    min-height: 64px;
    padding-inline: 16px;
  }

  .brand {
    font-size: 13px;
  }

  .hero {
    min-height: 760px;
  }

  .hero img {
    object-position: 62% center;
  }

  .hero-content {
    padding-top: 148px;
    padding-bottom: 230px;
  }

  h1 {
    font-size: clamp(36px, 11vw, 44px);
    line-height: 1.02;
  }

  .hero-copy {
    font-size: clamp(16px, 4.3vw, 18px);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    bottom: 16px;
  }

  .hero-metrics div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hero-metrics div:last-child {
    border-bottom: 0;
  }

  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .schedule-card {
    min-height: 0;
  }

  .lead-brief {
    min-height: 0;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .site-header {
    padding-inline: 12px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .nav-links {
    font-size: 12px;
  }

  .hero {
    min-height: 790px;
  }

  .hero-content {
    width: calc(100% - 28px);
    padding-bottom: 250px;
  }

  .hero-metrics {
    width: calc(100% - 28px);
  }

  .band {
    padding-inline: 14px;
  }

  .article-topline,
  .newsletter-kicker,
  .schedule-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-height: 620px) and (orientation: landscape) {
  .hero {
    min-height: 680px;
  }

  .hero-content {
    padding-top: 126px;
    padding-bottom: 170px;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1500px) {
  .hero img {
    object-position: center 45%;
  }

  .hero-content,
  .hero-metrics,
  .ticker,
  .section-heading,
  .briefing-grid,
  .share-grid,
  .newsletter-layout,
  .schedule-controls,
  .schedule-grid {
    max-width: 1240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
