.guide-page {
  --guide-navy: #082f57;
  --guide-navy-deep: #061f3b;
  --guide-blue: #087fc0;
  --guide-cyan: #27c8e8;
  --guide-gold: #ffc83d;
  --guide-ink: #16324a;
  --guide-muted: #587086;
  --guide-line: #d7e4ee;
  --guide-soft: #f3f8fc;
  --guide-white: #fff;
  color: var(--guide-ink);
  background: var(--guide-white);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  overflow: visible;
}

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

.guide-page h1,
.guide-page h2,
.guide-page h3,
.guide-page h4,
.guide-page p,
.guide-page li,
.guide-page label,
.guide-page button,
.guide-page input,
.guide-page select,
.guide-page span {
  font-family: "Segoe UI", Arial, sans-serif;
}

.guide-page h1,
.guide-page h2,
.guide-page h3,
.guide-page h4 {
  color: var(--guide-ink);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.14;
}

.guide-page h1 {
  margin: 18px 0 22px;
  color: var(--guide-white);
  font-size: clamp(38px, 6vw, 68px);
}

.guide-page h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 46px);
}

.guide-page h3 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.6vw, 29px);
}

.guide-page h4 {
  margin: 0 0 8px;
  font-size: 20px;
}

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

.guide-page a {
  color: #075f9e;
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.guide-page a:hover,
.guide-page a:focus {
  color: #003f72;
}

.guide-page a:focus-visible,
.guide-page button:focus-visible,
.guide-page input:focus-visible,
.guide-page select:focus-visible,
.guide-page summary:focus-visible {
  outline: 3px solid var(--guide-gold);
  outline-offset: 3px;
}

.guide-container {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.guide-container--narrow {
  width: min(850px, calc(100% - 36px));
}

.guide-hero {
  position: relative;
  padding: 44px 0 58px;
  color: var(--guide-white);
  background: linear-gradient(122deg, var(--guide-navy-deep), #075b91 58%, #0796cf);
  overflow: hidden;
}

.guide-hero::after {
  position: absolute;
  right: -90px;
  bottom: -150px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  box-shadow: 0 0 0 52px rgba(255,255,255,.045), 0 0 0 105px rgba(255,255,255,.035);
  content: "";
}

.guide-breadcrumbs {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  color: #d8efff;
  font-size: 14px;
}

.guide-breadcrumbs a {
  padding: 6px 10px;
  color: var(--guide-white);
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 7px;
  text-decoration: none;
}

.guide-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(285px, .72fr);
  gap: 38px;
  align-items: center;
}

.guide-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: #bceeff;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.guide-kicker::before {
  width: 28px;
  height: 3px;
  background: var(--guide-cyan);
  border-radius: 999px;
  content: "";
}

.guide-hero__lede {
  max-width: 810px;
  color: #eaf6ff !important;
  font-size: clamp(19px, 2.25vw, 24px) !important;
  line-height: 1.5 !important;
}

.guide-hero__actions,
.guide-cta__actions,
.guide-tool__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

.guide-button,
.guide-page a.guide-button,
.guide-page button.guide-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 21px;
  color: #082a4a !important;
  background: var(--guide-gold);
  border: 2px solid var(--guide-gold);
  border-radius: 9px;
  box-shadow: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
}

.guide-button:hover,
.guide-button:focus {
  color: #061f3b !important;
  background: #ffda69;
  border-color: #ffda69;
  transform: translateY(-1px);
}

.guide-button--blue,
.guide-page a.guide-button--blue {
  color: var(--guide-white) !important;
  background: #1378bc;
  border-color: #1378bc;
}

.guide-button--blue:hover,
.guide-button--blue:focus {
  color: var(--guide-white) !important;
  background: #075d98;
  border-color: #075d98;
}

.guide-button--outline,
.guide-page a.guide-button--outline {
  color: var(--guide-white) !important;
  background: transparent;
  border-color: rgba(255,255,255,.72);
}

.guide-button--outline:hover,
.guide-button--outline:focus {
  color: var(--guide-navy) !important;
  background: var(--guide-white);
  border-color: var(--guide-white);
}

.guide-button--light,
.guide-page a.guide-button--light {
  color: var(--guide-navy) !important;
  background: var(--guide-white);
  border-color: var(--guide-white);
}

.guide-hero__card {
  padding: 25px;
  color: var(--guide-white);
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 18px;
  backdrop-filter: blur(8px);
}

.guide-hero__card strong {
  display: block;
  margin: 8px 0;
  color: var(--guide-white);
  font-size: 25px;
  line-height: 1.25;
}

.guide-hero__card p,
.guide-hero__card li {
  color: #eaf7ff;
  font-size: 15px;
}

.guide-section {
  padding: 72px 0;
}

.guide-section--soft {
  background: var(--guide-soft);
}

.guide-section--navy {
  color: #eaf6ff;
  background: var(--guide-navy);
}

.guide-section--navy h2,
.guide-section--navy h3,
.guide-section--navy h4,
.guide-section--navy .guide-kicker {
  color: var(--guide-white);
}

.guide-section__head {
  max-width: 850px;
  margin-bottom: 32px;
}

.guide-section__head > p {
  color: var(--guide-muted);
  font-size: 19px;
}

.guide-section--navy .guide-section__head > p {
  color: #d2e8f7;
}

.guide-answer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 17px;
  align-items: start;
  padding: 24px;
  color: var(--guide-ink);
  background: #e7f6ff;
  border: 1px solid #a8d9f2;
  border-left: 6px solid var(--guide-blue);
  border-radius: 12px;
}

.guide-answer__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--guide-navy);
  background: var(--guide-white);
  border-radius: 50%;
  font-size: 23px;
  font-weight: 900;
}

.guide-answer p:last-child {
  margin-bottom: 0;
}

.guide-jump-grid,
.guide-card-grid,
.guide-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.guide-jump,
.guide-card,
.guide-link-card {
  min-width: 0;
  padding: 23px;
  color: var(--guide-ink);
  background: var(--guide-white);
  border: 1px solid var(--guide-line);
  border-radius: 13px;
  box-shadow: 0 10px 30px rgba(8,47,87,.07);
}

.guide-page a.guide-jump,
.guide-page a.guide-link-card {
  color: var(--guide-ink);
  text-decoration: none;
}

.guide-page a.guide-jump:hover,
.guide-page a.guide-jump:focus,
.guide-page a.guide-link-card:hover,
.guide-page a.guide-link-card:focus {
  color: var(--guide-ink);
  border-color: #65b9e3;
  box-shadow: 0 13px 34px rgba(8,47,87,.13);
  transform: translateY(-2px);
}

.guide-jump strong,
.guide-link-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--guide-navy);
  font-size: 19px;
}

.guide-jump span,
.guide-link-card span {
  display: block;
  color: var(--guide-muted);
  font-size: 15px;
  font-weight: 500;
}

.guide-link-card em {
  display: block;
  margin-top: 14px;
  color: #076da9;
  font-size: 14px;
  font-style: normal;
  font-weight: 850;
}

.guide-card--accent {
  border-top: 5px solid var(--guide-cyan);
}

.guide-card--winner {
  border: 2px solid #6ac9ed;
  box-shadow: 0 13px 36px rgba(4,108,160,.13);
}

.guide-jurisdiction-directory {
  margin-top: 24px;
  padding: 24px;
  color: var(--guide-ink);
  background: var(--guide-white);
  border: 1px solid var(--guide-line);
  border-radius: 13px;
  box-shadow: 0 10px 30px rgba(8,47,87,.07);
}

.guide-jurisdiction-directory h3 {
  margin-bottom: 6px;
}

.guide-jurisdiction-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 18px;
}

.guide-page .guide-jurisdiction-links a {
  padding: 9px 11px;
  color: var(--guide-navy);
  background: #f3f9fc;
  border: 1px solid var(--guide-line);
  border-radius: 7px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.guide-page .guide-jurisdiction-links a:hover,
.guide-page .guide-jurisdiction-links a:focus {
  color: #075783;
  background: #e4f5fc;
  border-color: #65b9e3;
}

.guide-badge {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 10px;
  color: #075783;
  background: #dff5ff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.guide-badge--gold {
  color: #704b00;
  background: #fff2bd;
}

.guide-list,
.guide-steps,
.guide-source-list {
  margin: 0;
  padding-left: 20px;
}

.guide-list li,
.guide-steps li,
.guide-source-list li {
  margin-bottom: 10px;
}

.guide-steps {
  padding: 0;
  list-style: none;
  counter-reset: guide-step;
}

.guide-steps li {
  position: relative;
  min-height: 58px;
  padding: 7px 0 22px 67px;
  counter-increment: guide-step;
}

.guide-steps li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--guide-white);
  background: var(--guide-blue);
  border-radius: 50%;
  content: counter(guide-step);
  font-weight: 900;
}

.guide-steps strong,
.guide-steps span {
  display: block;
}

.guide-steps span {
  color: var(--guide-muted);
  font-size: 15px;
}

.guide-tool {
  color: var(--guide-ink);
  background: var(--guide-white);
  border: 1px solid #b9d9eb;
  border-radius: 16px;
  box-shadow: 0 15px 42px rgba(8,47,87,.1);
  overflow: hidden;
}

.guide-tool__head {
  padding: 25px 27px 20px;
  color: var(--guide-white);
  background: linear-gradient(115deg, var(--guide-navy), #087cb9);
}

.guide-tool__head h3,
.guide-tool__head p {
  color: var(--guide-white);
}

.guide-tool__head p:last-child {
  margin-bottom: 0;
}

.guide-tool__body {
  padding: 27px;
}

.guide-filter-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.guide-filter-option,
.guide-checkitem {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 13px 14px;
  background: #f7fbfe;
  border: 1px solid var(--guide-line);
  border-radius: 9px;
  cursor: pointer;
  font-weight: 700;
}

.guide-filter-option input,
.guide-checkitem input {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  margin-top: 3px;
  accent-color: var(--guide-blue);
}

.guide-filter-summary {
  margin: 0 0 18px;
  color: var(--guide-muted);
  font-size: 15px;
  font-weight: 700;
}

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

.guide-result {
  padding: 18px;
  background: var(--guide-white);
  border: 1px solid var(--guide-line);
  border-radius: 10px;
}

.guide-result[hidden] {
  display: none !important;
}

.guide-result strong,
.guide-result span,
.guide-result em {
  display: block;
}

.guide-result strong {
  color: var(--guide-navy);
  font-size: 19px;
}

.guide-result span {
  margin: 6px 0;
  color: var(--guide-muted);
  font-size: 14px;
}

.guide-result em {
  color: #08679e;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.guide-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--guide-line);
  border-radius: 12px;
}

.guide-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  color: var(--guide-ink);
  background: var(--guide-white);
}

.guide-table th,
.guide-table td {
  padding: 14px 15px;
  border-bottom: 1px solid var(--guide-line);
  text-align: left;
  vertical-align: top;
}

.guide-table th {
  color: var(--guide-white);
  background: var(--guide-navy);
  font-size: 14px;
}

.guide-table tr:last-child td {
  border-bottom: 0;
}

.guide-table td {
  font-size: 15px;
}

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

.guide-field label {
  display: block;
  margin-bottom: 7px;
  font-weight: 800;
}

.guide-field input,
.guide-field select {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  color: var(--guide-ink);
  background: var(--guide-white);
  border: 2px solid #b8cddd;
  border-radius: 8px;
  font-size: 17px;
}

.guide-converter__result {
  display: flex;
  min-height: 48px;
  align-items: center;
  padding: 11px 14px;
  color: var(--guide-navy);
  background: #e9f7ff;
  border: 2px solid #9fd7f2;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 850;
}

.guide-checklist {
  display: grid;
  gap: 10px;
}

.guide-progress {
  height: 12px;
  margin-top: 20px;
  background: #dbe8f0;
  border-radius: 999px;
  overflow: hidden;
}

.guide-progress__bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #0888c7, #24c5df);
  transition: width .25s ease;
}

.guide-progress__text {
  display: block;
  margin-top: 8px;
  color: var(--guide-muted);
  font-size: 14px;
  font-weight: 800;
}

.guide-completion {
  margin-top: 20px;
  padding: 22px;
  color: #17422e;
  background: #e7f8ee;
  border: 2px solid #75c994;
  border-radius: 11px;
}

.guide-completion[hidden] {
  display: none;
}

.guide-completion h4 {
  color: #17422e;
}

.guide-warning,
.guide-trust-note {
  padding: 22px;
  color: var(--guide-ink);
  background: #fff8dc;
  border: 1px solid #e8c65a;
  border-left: 6px solid #d9a900;
  border-radius: 10px;
}

.guide-warning p:last-child,
.guide-trust-note p:last-child {
  margin-bottom: 0;
}

.guide-cta {
  padding: 32px;
  color: var(--guide-white);
  background: linear-gradient(120deg, #082f57, #075f94);
  border-radius: 17px;
}

.guide-cta h2,
.guide-cta h3,
.guide-cta p,
.guide-cta .guide-kicker {
  color: var(--guide-white);
}

.guide-cta p {
  max-width: 780px;
  color: #e2f1fb;
}

.guide-faq details {
  margin-bottom: 12px;
  color: var(--guide-ink);
  background: var(--guide-white);
  border: 1px solid var(--guide-line);
  border-radius: 10px;
}

.guide-faq summary {
  padding: 18px 20px;
  color: var(--guide-navy);
  cursor: pointer;
  font-weight: 850;
}

.guide-faq details > div {
  padding: 0 20px 20px;
}

.guide-source-list a {
  overflow-wrap: anywhere;
}

.guide-meta {
  margin: 16px 0 0;
  color: #d8efff;
  font-size: 14px;
}

.guide-smallprint {
  color: var(--guide-muted);
  font-size: 14px;
}

@media (max-width: 960px) {
  .guide-hero__grid,
  .guide-card-grid,
  .guide-jump-grid,
  .guide-link-grid {
    grid-template-columns: 1fr;
  }

  .guide-hero__card {
    max-width: 620px;
  }

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

@media (max-width: 700px) {
  .guide-page {
    font-size: 16px;
  }

  .guide-container,
  .guide-container--narrow {
    width: min(100% - 24px, 1160px);
  }

  .guide-hero {
    padding: 34px 0 40px;
  }

  .guide-page h1 {
    font-size: clamp(33px, 10.3vw, 42px);
    overflow-wrap: anywhere;
  }

  .guide-page h2 {
    font-size: clamp(27px, 8.2vw, 34px);
  }

  .guide-section {
    padding: 54px 0;
  }

  .guide-filter-controls,
  .guide-result-grid,
  .guide-converter,
  .guide-jurisdiction-links {
    grid-template-columns: 1fr;
  }

  .guide-hero__actions .guide-button,
  .guide-cta__actions .guide-button,
  .guide-tool__actions .guide-button {
    width: 100%;
  }

  .guide-answer {
    grid-template-columns: 1fr;
  }

  .guide-table-wrap {
    overflow: visible;
    border: 0;
  }

  .guide-table {
    display: block;
    min-width: 0;
    background: transparent;
  }

  .guide-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
  }

  .guide-table tbody,
  .guide-table tr,
  .guide-table td {
    display: block;
    width: 100%;
  }

  .guide-table tbody {
    display: grid;
    gap: 14px;
  }

  .guide-table tr {
    padding: 7px 15px;
    background: var(--guide-white);
    border: 1px solid var(--guide-line);
    border-radius: 10px;
  }

  .guide-table td {
    display: grid;
    grid-template-columns: minmax(105px, .75fr) minmax(0, 1.25fr);
    gap: 12px;
    padding: 10px 0;
  }

  .guide-table td::before {
    color: var(--guide-navy);
    content: attr(data-label);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
  }

  .guide-cta,
  .guide-tool__body,
  .guide-tool__head {
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media print {
  .guide-hero__actions,
  .guide-tool,
  .guide-cta,
  .guide-link-grid {
    break-inside: avoid;
  }

  .guide-button {
    display: none !important;
  }
}
