:root {
  color-scheme: light;
  --ink: #17211c;
  --muted: #5f6d66;
  --line: #d9e1dc;
  --paper: #f7f5ef;
  --panel: #ffffff;
  --forest: #21483b;
  --sea: #1d6f78;
  --clay: #b45f3a;
  --gold: #d7a847;
  --blue: #315b93;
  --shadow: 0 18px 50px rgba(29, 46, 39, 0.12);
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 54px);
  background: rgba(247, 245, 239, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand,
nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--forest);
  color: white;
  font-size: 13px;
}

nav {
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(48px, 8vw, 96px) clamp(18px, 4vw, 54px) 42px;
}

.hero-copy {
  max-width: 820px;
}

.eyebrow,
.tag {
  color: var(--sea);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: 0;
}

.lede {
  max-width: 650px;
  color: var(--muted);
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
}

.primary {
  background: var(--forest);
  color: white;
}

.secondary {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}

.risk-panel {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 8px;
  padding: 28px;
  color: white;
  background:
    linear-gradient(145deg, rgba(33, 72, 59, 0.92), rgba(29, 111, 120, 0.82)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1100&q=80");
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.signal-label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.risk-panel strong {
  display: block;
  max-width: 360px;
  font-size: 32px;
  line-height: 1.08;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.signal-grid span {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 700;
}

.band,
.latest,
.split {
  padding: 52px clamp(18px, 4vw, 54px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

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

.state-card,
.feature-article,
.article-card,
.tool-row,
.aside-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 28px rgba(29, 46, 39, 0.06);
}

.state-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
}

.state-card span {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 10px;
  color: white;
  font-size: 13px;
  font-weight: 800;
}

.florida span {
  background: var(--sea);
}

.texas span {
  background: var(--clay);
}

.louisiana span {
  background: var(--blue);
}

.california span {
  background: var(--gold);
  color: var(--ink);
}

.state-card a {
  color: var(--forest);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
  align-items: start;
  background: #ecf2ef;
}

.split p {
  color: var(--muted);
  font-size: 18px;
}

.tool-list {
  display: grid;
  gap: 12px;
}

.tool-row {
  display: grid;
  gap: 4px;
  padding: 18px;
}

.tool-row span,
.feature-article p,
.article-card p {
  color: var(--muted);
}

.tool-row a,
.article-card a,
.aside-box a {
  width: fit-content;
  color: var(--forest);
  font-weight: 800;
}

.feature-article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
}

.feature-article div {
  max-width: 760px;
}

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

.article-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 360px);
  gap: 28px;
  align-items: start;
  padding: 42px clamp(18px, 4vw, 54px) 72px;
}

.article,
.article-aside {
  min-width: 0;
}

.page-shell {
  padding: 42px clamp(18px, 4vw, 54px) 72px;
}

.page-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

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

.content-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 22px;
  box-shadow: 0 10px 28px rgba(29, 46, 39, 0.06);
}

.content-card p,
.page-heading p {
  color: var(--muted);
}

.checklist {
  display: grid;
  gap: 10px;
  padding-left: 0;
  list-style: none;
}

.checklist li {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: white;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
  background: #17211c;
  color: white;
}

.site-footer p {
  max-width: 520px;
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer nav {
  color: rgba(255, 255, 255, 0.8);
}

.article {
  border-radius: 8px;
  background: white;
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow);
}

.article h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.article h2 {
  margin-top: 32px;
  font-size: 28px;
}

.article-meta,
.article li,
.article p {
  color: var(--muted);
}

.summary {
  color: var(--ink) !important;
  font-size: 20px;
}

.notice {
  border-left: 5px solid var(--gold);
  margin: 24px 0;
  padding: 14px 16px;
  background: #fff7df;
  color: #514326;
}

.ad-slot {
  display: grid;
  min-height: 92px;
  place-items: center;
  border: 1px dashed #b9c5be;
  border-radius: 8px;
  margin: 24px 0;
  padding: 16px;
  background: #f4f7f5;
  color: #6a7770;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.ad-slot.in-article {
  min-height: 250px;
}

.ad-slot.sidebar {
  min-height: 280px;
  margin: 0;
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--forest);
  font-weight: 800;
  text-decoration: none;
}

.article-aside {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 14px;
}

.aside-box {
  padding: 20px;
}

.aside-box h2 {
  font-size: 24px;
}

@media (max-width: 980px) {
  .hero,
  .split,
  .article-shell {
    grid-template-columns: 1fr;
  }

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

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

  .article-aside {
    position: static;
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    padding-top: 34px;
  }

  .risk-panel {
    min-height: 340px;
  }

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

  .article-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .feature-article {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}
