:root {
  color-scheme: light;
  --ink: #18212f;
  --ink-soft: #263244;
  --muted: #5d6b7b;
  --line: #d7dee7;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --soft: #f2f6f4;
  --accent: #0b7a68;
  --accent-2: #a43f38;
  --accent-3: #2e5d9f;
  --accent-warm: #b87912;
  --shadow: 0 18px 44px rgba(24, 33, 47, .11);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
p, li, h1, h2, h3, blockquote, a { overflow-wrap: break-word; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 246, .94);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}
.site-header nav { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}
.brand span, .login-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  color: #fff;
  background: var(--ink);
  font-size: 13px;
}
.admin-link { color: var(--muted); }
.article-shell, .magazine-shell, .report-shell, .minimal-shell, .visual-shell, .home-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}
.article-main {
  min-width: 0;
  color: var(--ink);
}
.article-main h1, .home-hero h1, .magazine-hero h1, .report-hero h1, .visual-hero h1 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.article-main h1 { font-size: 4.6rem; }
.eyebrow, .sponsor-label {
  margin: 0 0 12px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
.dek {
  color: #445064;
  font-size: 1.35rem;
  line-height: 1.5;
  margin: 22px 0;
}
.article-meta, .breadcrumb {
  display: flex;
  gap: 10px 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}
.article-meta span + span::before { content: "• "; color: #98a2b3; }
.breadcrumb { margin-bottom: 20px; }
.breadcrumb b { color: #b9c1cc; font-weight: 400; }
.hero-media {
  margin: 32px 0;
  border-radius: 8px;
  overflow: hidden;
  background: #e9eef2;
  box-shadow: var(--shadow);
}
.hero-media img { width: 100%; max-height: 620px; object-fit: cover; }
.hero-media figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 14px;
  color: var(--muted);
  font-size: 13px;
  background: var(--surface);
}
.content-blocks {
  display: grid;
  gap: 32px;
  min-width: 0;
}
.block {
  min-width: 0;
  max-width: 100%;
}
.block h2 {
  color: var(--ink);
  font-size: 2.55rem;
  line-height: 1.12;
  margin: 0;
}
.block h3 {
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.2;
  margin: 0;
}
.block p {
  max-width: 72ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.125rem;
  line-height: 1.78;
}
.block-paragraph p + p { margin-top: 14px; }
.inline-image { margin: 0; border-radius: 8px; overflow: hidden; background: #edf1f5; }
.inline-image img { width: 100%; }
.inline-image figcaption { padding: 10px 12px; color: var(--muted); font-size: 13px; background: var(--surface); }
blockquote {
  margin: 0;
  padding: 24px;
  border-left: 5px solid var(--accent);
  background: #f6faf8;
  border-radius: 8px;
  color: var(--ink);
}
blockquote p {
  max-width: none;
  font-size: 1.4rem;
  line-height: 1.42;
}
blockquote cite { display: block; margin-top: 12px; color: var(--muted); font-style: normal; }
.callout {
  max-width: none;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  color: var(--ink);
}
.callout strong { display: block; margin-bottom: 8px; color: var(--ink); }
.callout-warning { background: #fff7ed; border-color: #fed7aa; }
.callout-success { background: #effaf4; border-color: #bfe7cf; }
.two-columns, .card-grid {
  display: grid;
  gap: 18px;
}
.two-columns,
.card-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.card-grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}
.two-columns article, .card-grid article {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(24, 33, 47, .06);
}
.card-grid h3, .two-columns h3 { margin-bottom: 0; }
.card-grid p,
.two-columns p {
  max-width: none;
  font-size: 1.03rem;
  line-height: 1.65;
}
.card-grid a {
  align-self: flex-start;
  margin-top: auto;
  color: var(--accent);
  font-weight: 800;
}
.checklist {
  display: grid;
  gap: 10px;
  max-width: 780px;
  padding: 0;
  list-style: none;
}
.checklist li {
  padding: 12px 14px 12px 42px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink-soft);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  color: var(--accent);
  font-weight: 800;
}
.faq-list { display: grid; gap: 10px; }
.faq-list details {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}
.faq-list summary { cursor: pointer; font-weight: 800; }
.video-placeholder {
  display: grid;
  gap: 12px;
  place-items: center;
  min-height: 260px;
  padding: 24px;
  text-align: center;
  border: 1px solid #263548;
  border-radius: 8px;
  color: #fff;
  background: #151d29;
}
.video-placeholder button, .lead-form button, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: var(--ink);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.lead-form-band {
  width: min(1180px, calc(100% - 18px));
  margin: 0 auto 34px;
  padding: 0;
}
.lead-form-shell {
  margin: 0;
}
.lead-form-band .lead-form.lead-form-top {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 14px;
  align-items: start;
  width: 100%;
  margin: 0;
  padding: 28px 25px 24px;
  border: 1px solid #d9e1ea;
  border-top: 4px solid #e9a83b;
  border-radius: 0;
  background: #fff;
  color: #001f3d;
  box-shadow: none;
}
.lead-form-band .lead-form-copy {
  grid-column: 1 / -1;
}
.lead-form-band .lead-form-eyebrow {
  margin: 0 0 2px;
  color: #007a66;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
}
.lead-form-band .lead-form h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  line-height: 1.02;
  letter-spacing: 0;
}
.lead-form-band .lead-form-copy > p:not(.lead-form-eyebrow) {
  margin: 10px 0 10px;
  color: #456083;
  font-size: 14px;
  line-height: 1.5;
}
.lead-form-band .lead-field {
  display: grid;
  gap: 9px;
  min-width: 0;
  min-height: 105px;
}
.lead-form-band .lead-form label,
.lead-form-band .lead-field label {
  color: #001f3d;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}
.lead-form-band .lead-form input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #cad4df;
  border-radius: 2px;
  background: #fff;
  color: #10233a;
  outline: none;
}
.lead-form-band .lead-form input:focus {
  border-color: #007a66;
  box-shadow: 0 0 0 3px rgba(0, 122, 102, .12);
}
.lead-form-band .lead-form input.invalid {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, .11);
}
.lead-form-band .lead-field small {
  color: #7a8aa0;
  font-size: 11px;
  line-height: 1.35;
}
.lead-form-band .lead-consent {
  grid-column: 1 / span 2;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  padding-top: 28px;
  color: #526982;
  font-size: 12px;
  line-height: 1.45;
  min-height: 53px;
}
.lead-form-band .lead-consent input {
  min-height: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  padding: 0;
}
.lead-form-band .lead-consent a {
  color: #007a66;
  font-weight: 800;
}
.lead-form-band .lead-form button[type="submit"] {
  align-self: start;
  min-height: 53px;
  margin-top: 28px;
  border-radius: 3px;
  background: #081726;
  font-size: 16px;
  white-space: normal;
  text-align: center;
}
.lead-form-band .lead-form button[type="submit"]:hover {
  background: #007a66;
}
.lead-form-band .lead-form button[type="submit"]:disabled {
  cursor: wait;
  opacity: .68;
}
.lead-form-band .lead-form-note {
  grid-column: 1 / -1;
  margin: -1px 0 0;
  color: #6f83a0;
  font-size: 11px;
  line-height: 1.5;
}
.check-row { grid-template-columns: 18px 1fr; align-items: start; font-weight: 500; color: var(--muted); }
.field-error {
  display: block;
  min-height: 16px;
  color: #b42318;
  font-size: 12px;
  line-height: 1.3;
}
.lead-form-band .form-message {
  grid-column: 1 / -1;
  min-height: 24px;
  color: var(--muted);
  font-size: 14px;
}
.form-message.success { color: #0f7b68; }
.form-message.error { color: #b42318; }
.related-links {
  max-width: 780px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}
.article-sidebar {
  min-width: 0;
  max-width: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  height: fit-content;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(24, 33, 47, .08);
}
.article-sidebar h2, .privacy-box h2 { margin-top: 0; }
.article-sidebar ul {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  color: var(--ink-soft);
}
.privacy-box {
  margin-top: 34px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .68);
  color: var(--muted);
}
.site-footer {
  margin-top: 70px;
  padding: 30px clamp(18px, 5vw, 64px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.preview-ribbon {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  padding: 8px 12px;
  color: #fff;
  background: #b42318;
  border-radius: 7px;
  font-weight: 800;
}
.home-page { background: #f8faf7; }
.home-hero { padding: 70px 0 34px; }
.home-hero h1 { font-size: 4.75rem; }
.home-hero p { max-width: 680px; color: var(--muted); font-size: 20px; }
.news-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 18px; }
.news-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  min-height: 190px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.news-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 7px; }
.news-card h2 { margin: 4px 0 8px; line-height: 1.2; }
.news-card span, .news-card small { color: var(--muted); font-size: 13px; }
.news-card p { margin: 0 0 10px; color: var(--ink-soft); }
.empty-state {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

@media (max-width: 800px) {
  .article-shell, .magazine-shell, .report-shell, .minimal-shell, .visual-shell, .home-shell {
    width: min(100% - 28px, 1160px);
  }
  .site-header { position: static; align-items: flex-start; flex-direction: column; }
  .article-main h1, .home-hero h1 { font-size: 2.55rem; }
  .dek { font-size: 1.08rem; }
  .block h2 { font-size: 2rem; }
  .block h3 { font-size: 1.2rem; }
  .lead-form-band { width: min(100% - 18px, 1180px); }
  .lead-form-band .lead-form.lead-form-top { grid-template-columns: 1fr; padding: 22px 20px 24px; }
  .lead-form-band .lead-form h2 { font-size: 26px; line-height: 1.12; }
  .lead-form-band .lead-consent,
  .lead-form-band .lead-form button[type="submit"],
  .lead-form-band .lead-form-note,
  .lead-form-band .form-message { grid-column: 1; }
  .lead-form-band .lead-consent { padding-top: 2px; }
  .lead-form-band .lead-form button[type="submit"] { margin-top: 0; }
  .two-columns, .card-grid-3, .card-grid-4, .news-list, .news-card { grid-template-columns: 1fr; }
  .news-card { min-height: 0; }
  .news-card img { height: 220px; }
  .hero-media figcaption { display: block; }
  .block p { font-size: 1.03rem; }
  blockquote { padding: 20px; }
  blockquote p { font-size: 1.18rem; }
}

@media (max-width: 520px) {
  .site-header { padding: 16px 14px; }
  .article-main h1, .home-hero h1 { font-size: 2.15rem; }
  .home-hero { padding: 44px 0 24px; }
  .home-hero p { font-size: 1rem; }
  .block h2 { font-size: 1.75rem; }
  .two-columns article, .card-grid article, .callout, .related-links, .faq-list details {
    padding: 16px;
  }
  .news-card { padding: 12px; }
  .news-card img { height: 190px; }
}
