.ds-stateguide__hero {
  padding: 56px 60px 72px;
  background: #fff;
  border-bottom: 1px solid var(--ds-line);
  position: relative;
  overflow: hidden;
}

/* ----------------------------------------------------------------
   Right-side d-watermark (240x320 @ 0.06 — pattern playbook).
   Variant `--dark` flips to white via brightness/invert filter for
   use on dark/cyan bands. `--inner-hero` sizes down for inline use.
   ---------------------------------------------------------------- */
.ds-stateguide__watermark {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 240px;
  height: 320px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}
.ds-stateguide__watermark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.ds-stateguide__watermark--dark img { filter: brightness(0) invert(1); }
.ds-stateguide__watermark--light img { opacity: 1; }
.ds-stateguide__watermark--inner-hero {
  width: 180px;
  height: 240px;
  top: auto;
  bottom: 0;
  right: 24px;
  transform: none;
}
@media (max-width: 800px) {
  .ds-stateguide__watermark { width: 140px; height: 180px; }
  .ds-stateguide__watermark--inner-hero { width: 110px; height: 150px; }
}

.ds-stateguide__hero-pattern {
  position: absolute;
  top: -40px;
  right: -60px;
  width: 480px;
  height: 340px;
  opacity: 0.07;
  pointer-events: none;
}
.ds-stateguide__hero-mark {
  position: absolute;
  right: 80px;
  bottom: -20px;
  height: 160px;
  opacity: 0.05;
  pointer-events: none;
}
.ds-stateguide__hero-inner {
  max-width: var(--ds-page-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
/* Breadcrumb styled per snapshot inside hero */
.ds-stateguide__hero .ds-breadcrumbs {
  font-size: 12px;
  color: var(--ds-muted);
  margin-bottom: 24px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ds-stateguide__hero .ds-breadcrumbs a {
  color: var(--ds-muted);
  text-decoration: none;
  transition: color 0.18s ease;
}
.ds-stateguide__hero .ds-breadcrumbs a:hover,
.ds-stateguide__hero .ds-breadcrumbs a:focus-visible {
  color: var(--ds-cyan);
}
.ds-stateguide__kicker {
  font-size: 13px;
  font-weight: 800;
  color: var(--ds-cyan);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.ds-stateguide__h1 {
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 900;
  margin: 0;
  text-transform: uppercase;
  text-wrap: balance;
  max-width: 1100px;
  color: var(--ds-ink);
}
.ds-stateguide__h1 .ds-emph { color: var(--ds-cyan); }
.ds-stateguide__hero-sub {
  font-size: 20px;
  line-height: 1.55;
  color: var(--ds-ink-3);
  margin-top: 28px;
  font-weight: 500;
  max-width: 780px;
}

.ds-stateguide__stats-strip {
  padding: 40px 60px;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.ds-stateguide__stats-inner {
  max-width: var(--ds-page-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 24px 28px;
  background: var(--ds-paper);
  border-radius: 18px;
  border-left: 4px solid var(--ds-cyan);
}
.ds-stateguide__stats-inner .num {
  font-size: 32px;
  font-weight: 900;
  color: var(--ds-cyan);
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.ds-stateguide__stats-inner .lab {
  font-size: 12px;
  font-weight: 700;
  color: var(--ds-ink-3);
  margin-top: 8px;
  line-height: 1.4;
}

.ds-stateguide__main {
  padding: 56px 60px 40px;
  background: #fff;
}
.ds-stateguide__main-grid {
  max-width: var(--ds-page-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 64px;
}
.ds-stateguide__article { max-width: 72ch; }

.ds-stateguide__eyebrow {
  font-size: 13px;
  font-weight: 800;
  color: var(--ds-cyan);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.ds-stateguide__h2-title {
  font-size: 54px;
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--ds-ink);
  margin: 0;
  text-transform: uppercase;
  text-wrap: balance;
}
.ds-stateguide__h2-title .ds-emph { color: var(--ds-cyan); }

.ds-stateguide__lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ds-ink-2);
  font-weight: 500;
  margin-top: 20px;
}
.ds-stateguide__lead2 {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ds-ink-3);
  font-weight: 500;
  margin-top: 14px;
}
.ds-stateguide__intros {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ds-ink-2);
  margin-top: 20px;
}
.ds-stateguide__intros p { margin-bottom: 18px; }
/* Body lists in state-guide intros (wp_kses_post + custom WP HTML output).
   Base resets ul/ol globally; restore visible markers for body prose. */
.ds-stateguide__intros ul {
  list-style: none;
  padding-left: 22px;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.ds-stateguide__intros ul li {
  position: relative;
  padding-left: 18px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ds-ink-2);
  font-weight: 500;
}
.ds-stateguide__intros ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ds-cyan);
}
.ds-stateguide__intros ol {
  list-style: decimal-leading-zero;
  padding-left: 36px;
  margin: 0 0 18px;
}
.ds-stateguide__intros ol li {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ds-ink-2);
  font-weight: 500;
  padding-left: 6px;
  margin-bottom: 7px;
}
.ds-stateguide__intros ol li::marker { color: var(--ds-cyan); font-weight: 800; }

.ds-stateguide__cities-card {
  margin-top: 36px;
  padding: 24px 26px;
  background: var(--ds-paper);
  border-radius: 14px;
  border: 1px solid var(--ds-line);
}
.ds-stateguide__cities-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--ds-ink-2);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.ds-stateguide__cities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ds-stateguide__cities-list span {
  padding: 7px 14px;
  background: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ds-ink-2);
  border: 1px solid var(--ds-line);
}

.ds-stateguide__h2 {
  font-size: 30px;
  font-weight: 900;
  color: var(--ds-ink);
  letter-spacing: -0.018em;
  text-transform: uppercase;
  margin: 56px 0 16px;
  scroll-margin-top: 120px;
  position: relative;
  padding-top: 16px;
}
.ds-stateguide__h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--ds-cyan);
  border-radius: 2px;
}
.ds-stateguide__p {
  font-size: 17px;
  line-height: 1.72;
  color: var(--ds-ink-2);
  font-weight: 500;
  margin-bottom: 22px;
}

.ds-stateguide__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.ds-stateguide__card {
  padding: 16px 18px;
  background: var(--ds-paper);
  border-radius: 12px;
  border-left: 3px solid var(--ds-cyan);
}
.ds-stateguide__card .t {
  font-size: 14px;
  font-weight: 800;
  color: var(--ds-ink);
  margin-bottom: 4px;
}
.ds-stateguide__card .d {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ds-ink-3);
  font-weight: 500;
}

.ds-stateguide__legal-card {
  margin-top: 22px;
  padding: 24px 26px;
  border-radius: 14px;
  background: var(--ds-ink);
  color: #fff;
}
.ds-stateguide__legal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ds-stateguide__legal-grid .lab {
  font-size: 11px;
  font-weight: 800;
  color: var(--ds-cyan);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.ds-stateguide__legal-grid .val {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.005em;
  line-height: 1.35;
  color: #fff;
}
.ds-stateguide__legal-grid .val--sm {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}
.ds-stateguide__legal-foot {
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.7;
  margin-top: 18px;
  margin-bottom: 0;
  font-weight: 500;
}

.ds-stateguide__courts {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ds-stateguide__courts li {
  display: flex;
  gap: 18px;
  padding: 16px 18px;
  background: var(--ds-paper);
  border-radius: 12px;
  align-items: baseline;
}
/* Allow inner flex child to shrink (long city names overflow without min-width:0) */
.ds-stateguide__courts li > div { min-width: 0; flex: 1 1 auto; }
.ds-stateguide__courts .num {
  font-family: monospace;
  font-size: 13px;
  color: var(--ds-cyan);
  font-weight: 800;
  min-width: 28px;
  flex-shrink: 0;
}
.ds-stateguide__courts .t {
  font-size: 15px;
  font-weight: 800;
  color: var(--ds-ink);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.ds-stateguide__courts .d {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ds-ink-3);
  font-weight: 500;
  margin-top: 3px;
  overflow-wrap: anywhere;
}

.ds-stateguide__industries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.ds-stateguide__industry {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--ds-line);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ds-ink-2);
}

.ds-stateguide__flags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.ds-stateguide__flag-card {
  padding: 24px 26px;
  border-radius: 14px;
  border: 1px solid var(--ds-line);
  background: #fff;
  position: relative;
  overflow: hidden;
}
.ds-stateguide__flag-card .head {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--ds-ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.ds-stateguide__flag-card .head .dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ds-cyan);
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.ds-stateguide__flag-card .head .dot svg { display: block; }
.ds-stateguide__flag-card .head .ring {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.45);
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.ds-stateguide__flag-card .head .ring svg { display: block; }
.ds-stateguide__flag-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.ds-stateguide__flag-card ul li {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ds-ink-2);
  font-weight: 500;
  padding-left: 16px;
  position: relative;
}
.ds-stateguide__flag-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ds-cyan);
}
.ds-stateguide__flag-card--green::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--ds-cyan);
}
.ds-stateguide__flag-card--red {
  background: var(--ds-ink);
  color: #fff;
  border-color: var(--ds-ink);
}
.ds-stateguide__flag-card--red::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: rgba(255,255,255,.18);
}
.ds-stateguide__flag-card--red .head { color: #fff; }
.ds-stateguide__flag-card--red ul li { color: rgba(255,255,255,.78); }
.ds-stateguide__flag-card--red ul li::before { background: rgba(255,255,255,.45); }

.ds-stateguide__inline-cta {
  margin-top: 60px;
  padding: 40px 44px;
  background: var(--ds-ink-deep, #0a121f);
  color: #fff;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
/* Force white headings on the dark inline-cta per playbook */
.ds-stateguide__inline-cta h2,
.ds-stateguide__inline-cta h3 { color: #fff; }
/* Watermark inside the inline-cta sits inside its rounded box */
.ds-stateguide__inline-cta .ds-stateguide__watermark {
  top: auto;
  bottom: -40px;
  right: -20px;
  transform: none;
  width: 200px;
  height: 260px;
  opacity: 0.06;
}
.ds-stateguide__inline-cta-pattern {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 320px;
  height: 240px;
  opacity: 0.06;
  pointer-events: none;
}
.ds-stateguide__inline-cta > h3,
.ds-stateguide__inline-cta > p,
.ds-stateguide__inline-cta > .actions { position: relative; z-index: 2; }
.ds-stateguide__inline-cta .ds-stateguide__inline-cta-pattern { z-index: 1; }
.ds-stateguide__inline-cta h3 {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
}
.ds-stateguide__inline-cta p {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.8;
  margin-top: 14px;
  font-weight: 500;
  max-width: 520px;
}
.ds-stateguide__inline-cta .actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.ds-stateguide__inline-cta-btn {
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--ds-cyan);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: 0;
  transition: transform var(--ds-dur, 200ms) var(--ds-ease, ease), box-shadow var(--ds-dur, 200ms) var(--ds-ease, ease);
}
.ds-stateguide__inline-cta-btn:hover {
  transform: translateY(-1px);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,184,240,0.35);
}
.ds-stateguide__inline-cta-btn svg { transition: transform var(--ds-dur, 200ms) var(--ds-ease, ease); }
.ds-stateguide__inline-cta-btn:hover svg { transform: translateX(3px); }
.ds-stateguide__inline-cta-ghost {
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.3);
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background var(--ds-dur, 200ms) var(--ds-ease, ease), border-color var(--ds-dur, 200ms) var(--ds-ease, ease);
}
.ds-stateguide__inline-cta-ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.5);
  color: #fff;
}

.ds-stateguide__sticky { position: sticky; top: 100px; }
.ds-stateguide__form-wrap {
  padding: 28px 26px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--ds-line);
  box-shadow: 0 16px 40px -16px rgba(15,26,45,.18), 0 4px 14px -4px rgba(15,26,45,.08);
  position: relative;
  overflow: hidden;
}
.ds-stateguide__form-wrap::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ds-cyan) 0%, var(--ds-cyan-deep) 100%);
}
.ds-stateguide__form-kicker {
  font-size: 11px;
  font-weight: 800;
  color: var(--ds-cyan);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.ds-stateguide__form-h3 {
  font-size: 24px;
  font-weight: 900;
  color: var(--ds-ink);
  letter-spacing: -0.015em;
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0;
}
.ds-stateguide__form-sub {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ds-ink-3);
  margin-top: 10px;
  font-weight: 500;
  margin-bottom: 16px;
}
.ds-stateguide__form-wrap .ds-form {
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.ds-stateguide__about {
  margin-top: 24px;
  padding: 20px 22px;
  background: var(--ds-paper);
  border-radius: 14px;
  border-left: 3px solid var(--ds-cyan);
}
.ds-stateguide__about-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--ds-ink-2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.ds-stateguide__about-body {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ds-ink-3);
  font-weight: 500;
}

.ds-stateguide__related {
  padding: 72px 60px;
  background: var(--ds-paper);
  position: relative;
  overflow: hidden;
}
/* Light watermark on the paper-bg related section */
.ds-stateguide__related .ds-stateguide__watermark {
  right: 24px;
  bottom: 24px;
  top: auto;
  transform: none;
  opacity: 0.05;
}
.ds-stateguide__related-divider,
.ds-stateguide__related-inner { position: relative; z-index: 1; }
.ds-stateguide__related-divider {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--ds-page-max), 100% - 120px);
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
}
.ds-stateguide__related-divider img { height: 18px; width: auto; object-fit: contain; opacity: 0.5; flex-shrink: 0; }
.ds-stateguide__related-rule { flex: 1 1 0%; height: 1px; background: var(--ds-line); }
.ds-stateguide__related-inner {
  max-width: var(--ds-page-max);
  margin: 0 auto;
  position: relative;
}
.ds-stateguide__related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}
.ds-stateguide__related-card {
  display: block;
  padding: 20px 22px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--ds-line);
  text-decoration: none;
  color: inherit;
  transition: transform 200ms cubic-bezier(.2,.8,.2,1), box-shadow 200ms ease, border-color 200ms ease;
  position: relative;
  overflow: hidden;
}
.ds-stateguide__related-card::after {
  content: "→";
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 18px;
  font-weight: 800;
  color: var(--ds-cyan);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 180ms ease, transform 180ms ease;
}
.ds-stateguide__related-card:hover {
  transform: translateY(-2px);
  border-color: var(--ds-cyan);
  box-shadow: 0 14px 28px -14px rgba(0,184,240,.25);
}
.ds-stateguide__related-card:hover::after {
  opacity: 1;
  transform: translateX(0);
}
.ds-stateguide__related-card .kicker {
  font-size: 11px;
  font-weight: 800;
  color: var(--ds-cyan);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ds-stateguide__related-card .t {
  font-size: 16px;
  font-weight: 800;
  color: var(--ds-ink);
  margin-top: 6px;
  letter-spacing: -0.005em;
}
.ds-stateguide__related-all {
  margin-top: 32px;
}
.ds-stateguide__related-all a {
  font-size: 13px;
  font-weight: 800;
  color: var(--ds-cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.ds-stateguide__cta-band {
  padding: 72px 60px 0;
  background: var(--ds-cyan);
  color: #fff;
  position: relative;
  overflow: hidden;
}
/* Canonical d-pattern (CtaBand variant): right 45% strip.
   Slant baked into d-pattern.svg via SVG <pattern patternTransform="rotate(15)">. */
.ds-stateguide__cta-band::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 45%;
  background: url('../images/d-pattern.svg') center / cover no-repeat;
  opacity: 0.18;
  pointer-events: none;
  z-index: 1;
}
/* Force white on all CTA-band headings */
.ds-stateguide__cta-band h2,
.ds-stateguide__cta-band h3 { color: #fff; }
/* Make sure inner content sits above the mask + watermark layers */
.ds-stateguide__cta-band .ds-stateguide__cta-band-inner,
.ds-stateguide__cta-band .ds-stateguide__cta-band-pattern { z-index: 2; }
.ds-stateguide__cta-band .ds-stateguide__watermark {
  right: 8%;
  z-index: 1;
  opacity: 0.08;
}
.ds-stateguide__cta-band-pattern {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 45%;
  pointer-events: none;
  opacity: 0.18;
}
.ds-stateguide__cta-band-pattern svg { width: 100%; height: 100%; display: block; }
.ds-stateguide__cta-band-inner {
  max-width: var(--ds-page-max);
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: end;
}
.ds-stateguide__cta-band-copy { padding-bottom: 56px; }
.ds-stateguide__cta-band-h2 {
  font-size: 54px;
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  text-transform: uppercase;
  color: #fff;
}
.ds-stateguide__cta-band-sub {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
  margin-bottom: 28px;
  max-width: 560px;
  color: rgba(255,255,255,0.95);
}
.ds-stateguide__cta-band-sub strong { font-weight: 800; }
.ds-stateguide__cta-band-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.ds-stateguide__cta-band-btn {
  height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  background: #fff;
  color: var(--ds-ink);
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 0;
  transition: transform var(--ds-dur, 200ms) var(--ds-ease, ease), box-shadow var(--ds-dur, 200ms) var(--ds-ease, ease), background var(--ds-dur, 200ms) var(--ds-ease, ease);
}
.ds-stateguide__cta-band-btn:hover {
  transform: translateY(-1px);
  background: #f1f1f1;
  color: var(--ds-ink);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.3);
}
.ds-stateguide__cta-band-btn svg { transition: transform var(--ds-dur, 200ms) var(--ds-ease, ease); }
.ds-stateguide__cta-band-btn:hover svg { transform: translateX(3px); }
.ds-stateguide__cta-band-phone {
  height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.45);
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
}
.ds-stateguide__cta-band-figure {
  position: relative;
  height: 440px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.ds-stateguide__cta-band-figure img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  object-position: center bottom;
  position: relative;
  z-index: 2;
}
.ds-stateguide__cta-band-pill {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  background: #fff;
  color: var(--ds-ink);
  border-radius: 999px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.01em;
  white-space: nowrap;
  z-index: 3;
  box-shadow: 0 8px 24px rgba(10,18,31,0.18);
}
.ds-stateguide__cta-band-pill .u {
  text-decoration: underline 2px;
  text-underline-offset: 3px;
}

@media (max-width: 1100px) {
  .ds-stateguide__main-grid { grid-template-columns: 1fr; gap: 40px; }
  .ds-stateguide__sticky { position: static; }
  .ds-stateguide__stats-inner { grid-template-columns: repeat(2, 1fr); }
  .ds-stateguide__legal-grid { grid-template-columns: 1fr; gap: 18px; }
  .ds-stateguide__industries { grid-template-columns: repeat(2, 1fr); }
  .ds-stateguide__related-grid { grid-template-columns: repeat(2, 1fr); }
  .ds-stateguide__cta-band-inner { grid-template-columns: 1fr; gap: 24px; }
  .ds-stateguide__cta-band-figure { height: 320px; }
  .ds-stateguide__cta-band-h2 { font-size: 38px; }
}
@media (max-width: 800px) {
  .ds-stateguide__hero,
  .ds-stateguide__stats-strip,
  .ds-stateguide__main,
  .ds-stateguide__related,
  .ds-stateguide__cta-band { padding-left: 20px; padding-right: 20px; }
  .ds-stateguide__cards,
  .ds-stateguide__flags { grid-template-columns: 1fr; }
  .ds-stateguide__industries { grid-template-columns: 1fr; }
  /* Long city names (Albuquerque, Indianapolis, Philadelphia) need
     overflow-wrap protection at the 800px tier — uppercase H2 titles
     don't always honor default break rules. text-wrap:balance can also
     leave content overflowing on narrow viewports — disable it here. */
  .ds-stateguide__h1 { overflow-wrap: anywhere; word-break: break-word; hyphens: auto; text-wrap: wrap; max-width: 100%; }
  .ds-stateguide__h2-title { font-size: 38px; overflow-wrap: anywhere; word-break: break-word; text-wrap: wrap; }
  .ds-stateguide__h2 { font-size: 26px; overflow-wrap: anywhere; word-break: break-word; }
  .ds-stateguide__hero-sub,
  .ds-stateguide__lead,
  .ds-stateguide__lead2,
  .ds-stateguide__intros,
  .ds-stateguide__p { overflow-wrap: anywhere; word-break: break-word; }
  /* Stats strip: at 500-800 viewport the 2-col grid + box padding can clip
     long stat values. Tighten the inner padding to prevent overflow. */
  .ds-stateguide__stats-inner { padding: 18px 16px; gap: 14px; }
  .ds-stateguide__stats-inner .num { font-size: 26px; }
  .ds-stateguide__stats-inner .lab { font-size: 11.5px; }
  .ds-stateguide__related-grid { grid-template-columns: 1fr; }
  .ds-stateguide__inline-cta { padding: 28px; }
  .ds-stateguide__inline-cta h3 { font-size: 24px; }
  .ds-stateguide__cta-band { padding-top: 48px; }
  .ds-stateguide__cta-band-copy { padding-bottom: 24px; }
  .ds-stateguide__cta-band-h2 { font-size: 32px; overflow-wrap: anywhere; word-break: break-word; }
  .ds-stateguide__cta-band-sub { font-size: 16px; }
  .ds-stateguide__cta-band-figure { height: 260px; }
  /* Sticky sidebar form on state-guide should sit static below main content
     at tablet/phone widths (already collapsed by 1100 grid rule, but make
     sure sticky positioning is fully cleared so the form is reachable). */
  .ds-stateguide__sticky { position: static; top: auto; }
  /* Ensure the sidebar form-wrap doesn't push wider than viewport */
  .ds-stateguide__form-wrap { max-width: 100%; }
}

/* CPT-RQC: 480px breakpoint — state-guide narrow-phone polish */
@media (max-width: 480px) {
  .ds-stateguide__hero { padding: 32px 16px 40px; }
  .ds-stateguide__stats-strip,
  .ds-stateguide__main,
  .ds-stateguide__related,
  .ds-stateguide__cta-band { padding-left: 16px; padding-right: 16px; }
  .ds-stateguide__h1 { font-size: 30px; overflow-wrap: anywhere; word-break: break-word; text-wrap: wrap; hyphens: auto; }
  .ds-stateguide__h2-title { font-size: 26px; overflow-wrap: anywhere; word-break: break-word; text-wrap: wrap; hyphens: auto; }
  .ds-stateguide__h2 { font-size: 22px; overflow-wrap: anywhere; word-break: break-word; }
  .ds-stateguide__hero-sub { font-size: 16px; margin-top: 20px; }
  .ds-stateguide__lead { font-size: 16px; }
  .ds-stateguide__intros { font-size: 15.5px; }
  .ds-stateguide__intros ul li,
  .ds-stateguide__intros ol li { font-size: 15.5px; }
  /* Stats strip 1-col on tiny phones */
  .ds-stateguide__stats-inner { grid-template-columns: 1fr; padding: 20px 18px; gap: 16px; }
  .ds-stateguide__stats-inner .num { font-size: 26px; }
  /* CTA band tightening */
  .ds-stateguide__cta-band-h2 { font-size: 26px; overflow-wrap: anywhere; word-break: break-word; text-wrap: wrap; hyphens: auto; }
  .ds-stateguide__cta-band-sub { font-size: 15px; }
  .ds-stateguide__cta-band-figure { height: 220px; }
  .ds-stateguide__cta-band-pill { font-size: 14px; padding: 8px 14px; }
  .ds-stateguide__cta-band-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .ds-stateguide__cta-band-btn,
  .ds-stateguide__cta-band-phone { justify-content: center; width: 100%; }
  /* Sticky form wrap padding */
  .ds-stateguide__form-wrap { padding: 22px 18px; }
  .ds-stateguide__form-h3 { font-size: 20px; }
  /* Inline CTA padding */
  .ds-stateguide__inline-cta { padding: 22px 20px; }
  .ds-stateguide__inline-cta h3 { font-size: 20px; }
  .ds-stateguide__inline-cta .actions { width: 100%; }
  .ds-stateguide__inline-cta-btn,
  .ds-stateguide__inline-cta-ghost { width: 100%; justify-content: center; }
  /* Cities pills smaller */
  .ds-stateguide__cities-list span { font-size: 12px; padding: 6px 10px; }
  /* Legal grid value text wraps */
  .ds-stateguide__legal-grid .val { font-size: 18px; overflow-wrap: anywhere; }
  /* Related grid: ensure title wraps */
  .ds-stateguide__related-card .t { font-size: 15px; overflow-wrap: anywhere; }
}
