.state-page.ct-state-page {
  --state-navy: #15324a;
  --state-teal: #0f766e;
  --state-teal-dark: #0a5c56;
  --state-blue: #eaf5f8;
  --state-cream: #fffaf0;
  --state-border: #c9dce2;
  --state-text: #20343f;
  --state-muted: #58707b;
  color: var(--state-text);
  font-size: 17px;
  line-height: 1.72;
}

.ct-state-page *,
.ct-state-page *::before,
.ct-state-page *::after {
  box-sizing: border-box;
}

.ct-state-page .state-wrap {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 68px;
}

.ct-state-page section[id] {
  margin-top: 48px;
  scroll-margin-top: 96px;
}

.ct-state-page h1,
.ct-state-page h2,
.ct-state-page h3 {
  color: var(--state-navy);
  line-height: 1.2;
  letter-spacing: -.02em;
}

.ct-state-page h1 {
  margin: 12px 0 18px;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.ct-state-page h2 {
  margin: 0 0 18px;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.ct-state-page h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
}

.ct-state-page p {
  margin: 0 0 16px;
}

.ct-state-page a {
  color: #0b6573;
  text-underline-offset: 3px;
}

.ct-state-page a:hover {
  color: var(--state-navy);
}

.ct-state-page .state-hero {
  display: grid;
  grid-template-columns: 1.14fr .86fr;
  gap: 34px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--state-border);
  border-radius: 28px;
  background: linear-gradient(135deg, #f4fbfb 0%, #edf6fa 60%, #fffaf0 100%);
  box-shadow: 0 20px 48px rgba(21, 50, 74, .1);
}

.ct-state-page .state-eyebrow {
  display: inline-block;
  color: var(--state-teal-dark);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ct-state-page .state-lead {
  color: #324d59;
  font-size: 1.08rem;
}

.ct-state-page .state-answer-box,
.ct-state-page .state-summary-box,
.ct-state-page .state-trust-box,
.ct-state-page .state-warning-box,
.ct-state-page .state-checklist-box {
  margin: 22px 0;
  padding: 22px 24px;
  border-radius: 18px;
}

.ct-state-page .state-answer-box {
  border-left: 5px solid var(--state-teal);
  background: #fff;
  box-shadow: 0 8px 24px rgba(21, 50, 74, .08);
}

.ct-state-page .state-answer-box p:last-child,
.ct-state-page .state-summary-box p:last-child,
.ct-state-page .state-warning-box p:last-child {
  margin-bottom: 0;
}

.ct-state-page .state-summary-box {
  border: 1px solid #9fd5cc;
  background: #edf9f6;
}

.ct-state-page .state-trust-box {
  border: 1px solid #c8d9e6;
  background: #f2f7fb;
}

.ct-state-page .state-warning-box {
  border: 1px solid #e9c682;
  background: var(--state-cream);
}

.ct-state-page .state-checklist-box {
  border: 1px solid var(--state-border);
  background: #f8fbfc;
}

.ct-state-page .state-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.ct-state-page .state-btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 2px solid var(--state-teal);
  border-radius: 999px;
  background: var(--state-teal);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.ct-state-page .state-btn:hover {
  background: var(--state-teal-dark);
  color: #fff;
}

.ct-state-page .state-btn-light {
  background: #fff;
  color: var(--state-teal-dark);
}

.ct-state-page .state-btn-light:hover {
  background: #e8f7f4;
  color: var(--state-navy);
}

.ct-state-page .state-image-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--state-border);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(21, 50, 74, .12);
}

.ct-state-page .state-image-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}

.ct-state-page .state-image-card figcaption {
  padding: 12px 15px;
  color: var(--state-muted);
  font-size: .88rem;
  line-height: 1.45;
}

.ct-state-page .state-inline-image {
  float: right;
  width: min(46%, 520px);
  margin: 0 0 24px 30px;
}

.ct-state-page .state-toc {
  margin: 34px 0 0;
  padding: 24px;
  border: 1px solid var(--state-border);
  border-radius: 20px;
  background: #fff;
}

.ct-state-page .state-toc > strong {
  display: block;
  margin-bottom: 10px;
  color: var(--state-navy);
  font-size: 1.2rem;
}

.ct-state-page .state-toc ul {
  columns: 3 230px;
  gap: 28px;
  margin: 0;
  padding-left: 20px;
}

.ct-state-page .state-toc li {
  break-inside: avoid;
  margin: 5px 0;
}

.ct-state-page .state-definition-grid,
.ct-state-page .state-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 22px 0;
}

.ct-state-page .state-definition,
.ct-state-page .state-card {
  padding: 22px;
  border: 1px solid var(--state-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(21, 50, 74, .06);
}

.ct-state-page .state-definition strong {
  display: block;
  margin-bottom: 8px;
  color: var(--state-teal-dark);
  font-size: 1.16rem;
}

.ct-state-page .state-definition p:last-child,
.ct-state-page .state-card p:last-child {
  margin-bottom: 0;
}

.ct-state-page .state-card-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.ct-state-page .state-table-wrap {
  clear: both;
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--state-border);
  border-radius: 16px;
}

.ct-state-page .state-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #fff;
}

.ct-state-page .state-table th,
.ct-state-page .state-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #dce8eb;
  text-align: left;
  vertical-align: top;
}

.ct-state-page .state-table th {
  background: var(--state-navy);
  color: #fff;
  font-size: .94rem;
}

.ct-state-page .state-table tbody tr:nth-child(even) {
  background: #f6fafb;
}

.ct-state-page .state-table tr:last-child td {
  border-bottom: 0;
}

.ct-state-page .state-step-list {
  counter-reset: steps;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.ct-state-page .state-step-list li {
  position: relative;
  min-height: 54px;
  margin: 0 0 16px;
  padding: 15px 18px 15px 66px;
  border: 1px solid var(--state-border);
  border-radius: 15px;
  background: #fff;
}

.ct-state-page .state-step-list li::before {
  position: absolute;
  top: 13px;
  left: 16px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--state-teal);
  color: #fff;
  content: counter(steps);
  counter-increment: steps;
  font-weight: 900;
}

.ct-state-page .state-checklist {
  margin: 14px 0;
  padding: 0;
  list-style: none;
}

.ct-state-page .state-checklist li {
  position: relative;
  margin: 9px 0;
  padding-left: 30px;
}

.ct-state-page .state-checklist li::before {
  position: absolute;
  left: 0;
  color: var(--state-teal);
  content: "✓";
  font-weight: 900;
}

.ct-state-page .state-faq details {
  margin: 12px 0;
  border: 1px solid var(--state-border);
  border-radius: 14px;
  background: #fff;
}

.ct-state-page .state-faq summary {
  padding: 17px 20px;
  color: var(--state-navy);
  cursor: pointer;
  font-weight: 800;
}

.ct-state-page .state-faq details p {
  margin: 0;
  padding: 0 20px 18px;
}

.ct-state-page .state-resources {
  clear: both;
  padding: 28px;
  border-radius: 20px;
  background: #f2f7fb;
}

.ct-state-page .state-resources li {
  margin: 10px 0;
}

.ct-state-page .state-source-note {
  padding: 15px 18px;
  border-left: 4px solid var(--state-teal);
  background: #fff;
}

@media (max-width: 900px) {
  .ct-state-page .state-hero {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .ct-state-page .state-definition-grid,
  .ct-state-page .state-card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ct-state-page .state-inline-image {
    float: none;
    width: 100%;
    margin: 0 0 24px;
  }
}

@media (max-width: 620px) {
  .state-page.ct-state-page {
    font-size: 16px;
  }

  .ct-state-page .state-wrap {
    width: min(100% - 20px, 1160px);
    padding-top: 18px;
  }

  .ct-state-page .state-hero {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .ct-state-page .state-definition-grid,
  .ct-state-page .state-card-grid,
  .ct-state-page .state-card-grid.two {
    grid-template-columns: 1fr;
  }

  .ct-state-page .state-cta-row,
  .ct-state-page .state-btn {
    width: 100%;
  }

  .ct-state-page .state-answer-box,
  .ct-state-page .state-summary-box,
  .ct-state-page .state-trust-box,
  .ct-state-page .state-warning-box,
  .ct-state-page .state-checklist-box,
  .ct-state-page .state-resources {
    padding: 18px;
  }
}
