:root {
  --ink: #101827;
  --muted: #536174;
  --quiet: #748094;
  --surface: #ffffff;
  --soft: #f4f6f9;
  --line: #d8e0ea;
  --brand: #0f4f8f;
  --brand-dark: #0b3159;
  --accent: #a66a00;
  --accent-soft: #fff6e3;
  --radius: 8px;
  --shadow: 0 12px 30px rgba(16, 24, 39, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.58;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav {
  width: min(1140px, calc(100% - 36px));
  min-height: 62px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-dark);
  font-size: 17px;
  font-weight: 850;
  text-decoration: none;
}

.brand img {
  width: 33px;
  height: 33px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a,
.footer-links a {
  text-decoration: none;
}

.nav-links a:hover,
.footer-links a:hover,
.access-links a:hover,
.plain-links a:hover {
  color: var(--brand);
}

.nav-action {
  padding: 8px 13px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--brand);
}

.nav-action:hover {
  color: #ffffff;
  background: var(--brand-dark);
}

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

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(48px, 7vw, 82px);
  font-weight: 880;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 820;
}

h3 {
  margin-bottom: 7px;
  font-size: 18px;
  font-weight: 780;
}

.editorial-hero {
  background:
    linear-gradient(90deg, rgba(11, 49, 89, 0.07) 0 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  width: min(1140px, calc(100% - 36px));
  min-height: 520px;
  margin: 0 auto;
  padding: 58px 0 46px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 42px;
  align-items: center;
}

.masthead {
  max-width: 720px;
  padding-top: 8px;
}

.dateline,
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.standfirst {
  max-width: 670px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.48;
}

.actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
}

.button.primary {
  color: #ffffff;
  background: var(--brand);
  box-shadow: 0 10px 22px rgba(15, 79, 143, 0.18);
}

.button.primary:hover {
  background: var(--brand-dark);
}

.button.secondary {
  color: var(--brand-dark);
  background: #ffffff;
  border-color: var(--line);
}

.button.secondary:hover {
  border-color: var(--brand);
}

.desk-card,
.feature,
.notice-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.desk-card {
  overflow: hidden;
}

.desk-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: var(--brand-dark);
}

.desk-head img {
  width: 50px;
  height: 50px;
  border-radius: 12px;
}

.desk-head p {
  margin-bottom: 3px;
  color: #bfdbfe;
  font-size: 13px;
  font-weight: 760;
}

.desk-head h2 {
  margin-bottom: 0;
  color: #ffffff;
  font-size: 23px;
}

.desk-list article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.desk-list article:last-child {
  border-bottom: 0;
}

.desk-list span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
}

.desk-list p,
.feature p,
.compact-band p,
.premium-strip p,
.document p,
.document li {
  color: var(--muted);
}

.desk-list p,
.feature p {
  margin-bottom: 0;
}

.compact-band {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.band-inner {
  width: min(1140px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0;
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1fr);
  gap: 38px;
  align-items: start;
}

.band-inner h2 {
  margin-bottom: 0;
  font-size: clamp(25px, 3vw, 35px);
}

.band-inner p:last-child {
  margin-bottom: 0;
  font-size: 17px;
}

.section {
  width: min(1140px, calc(100% - 36px));
  margin: 0 auto;
  padding: 56px 0;
}

.section.tight {
  padding: 38px 0;
}

.section-header {
  max-width: 740px;
  margin-bottom: 24px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid.editorial {
  align-items: stretch;
}

.feature {
  padding: 20px;
  box-shadow: none;
}

.premium-strip {
  background: var(--brand-dark);
  color: #dbeafe;
}

.premium-inner {
  width: min(1140px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 30px;
  align-items: center;
}

.premium-inner h2 {
  color: #ffffff;
  font-size: clamp(25px, 3vw, 34px);
}

.premium-inner p {
  margin-bottom: 0;
  color: #cbd5e1;
}

.access-links {
  display: grid;
  gap: 10px;
}

.access-links a {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  font-weight: 760;
  text-decoration: none;
}

.document {
  width: min(860px, calc(100% - 36px));
  margin: 0 auto;
  padding: 48px 0 66px;
}

.document-header {
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.document-header h1 {
  font-size: clamp(34px, 5vw, 52px);
}

.document h2 {
  margin-top: 30px;
  font-size: 22px;
}

.document ul {
  padding-left: 22px;
}

.document li {
  margin: 8px 0;
}

.notice-panel {
  margin: 22px 0 8px;
  padding: 18px;
  border-left: 4px solid var(--accent);
  box-shadow: none;
}

.notice-panel h2 {
  margin-top: 0;
  font-size: 20px;
}

.notice-panel p {
  margin-bottom: 0;
}

.plain-links {
  list-style: none;
  padding-left: 0;
}

.plain-links a {
  color: var(--brand-dark);
  font-weight: 760;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-inner {
  width: min(1140px, calc(100% - 36px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--quiet);
  font-size: 14px;
}

.footer-inner p {
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 650;
}

@media (max-width: 880px) {
  .nav {
    min-height: auto;
    padding: 13px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .hero-grid,
  .band-inner,
  .premium-inner {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding: 46px 0 38px;
    gap: 30px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .nav,
  .hero-grid,
  .band-inner,
  .section,
  .premium-inner,
  .document,
  .footer-inner {
    width: min(100% - 28px, 1140px);
  }

  .nav-links {
    gap: 13px;
    font-size: 13px;
  }

  .actions,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .desk-list article {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 16px;
  }
}
