/* ==========================================================================
   StatuteTerms.com — legal register / dossier design system
   ========================================================================== */

:root {
  --paper:        #F0EDE4;
  --paper-warm:   #F5F1E8;
  --paper-soft:   #FBFAF7;
  --tan:          #EFE3D3;
  --ink:          #20241C;
  --body:         #4A4738;
  --muted:        #8B8874;
  --muted-light:  #B7AE97;
  --line:         #E3DFD1;
  --line-soft:    #EFEAE0;
  --line-dark:    #3A392C;
  --rust:         #9C5A34;
  --rust-bright:  #C17A4C;
  --olive:        #4C6B3E;
  --moss:         #6B8A52;
  --sage:         #EDF4EC;
  --sage-deep:    #DFE5D0;
  --sage-mid:     #E1E8D6;
  --error:        #B0281B;
  --error-soft:   #FBEAE7;
  --amber:        #FBF3D9;
  --white:        #FFFFFF;

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans:  'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:  'IBM Plex Mono', 'SFMono-Regular', Menlo, monospace;

  --wrap: 1200px;
  --pad: 32px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
}

::selection { background: var(--rust); color: var(--paper); }

img { max-width: 100%; height: auto; }

a { color: var(--rust); }
a:hover { color: var(--rust-bright); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.wrap--narrow { max-width: 720px; }
.wrap--article { max-width: 680px; }
.wrap--form { max-width: 560px; }

.rule { border-top: 1px solid var(--line); }
.rule-soft { border-top: 1px solid var(--line-soft); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; border-radius: 0 0 10px 0; z-index: 100;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   Header / nav
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid #D8D2C0;
  padding: 24px var(--pad);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px #20241C1a; }

.site-header__inner {
  max-width: var(--wrap); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand__mark { width: 36px; height: 36px; flex-shrink: 0; display: block; }
.brand__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rust); flex-shrink: 0; }
.brand__text {
  font-family: var(--serif); font-size: 23px; font-weight: 600;
  color: var(--ink); letter-spacing: -.01em;
}
.brand__tld { color: var(--rust); }

.site-nav { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.site-nav a {
  font-size: 14px; font-weight: 600; color: var(--body);
  text-decoration: none; padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a.is-active { color: var(--ink); border-bottom-color: var(--rust); }

.nav-toggle {
  display: none; background: none; border: 1px solid #D8D2C0;
  border-radius: 8px; padding: 8px 12px; cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 600; color: var(--ink);
}

/* --------------------------------------------------------------------------
   Page headers (tan band)
   -------------------------------------------------------------------------- */

.page-head { background: var(--paper); }
.page-head__crumbs { max-width: var(--wrap); margin: 0 auto; padding: 20px var(--pad) 0; font-size: 14px; color: var(--muted); }
.page-head__crumbs a { color: var(--muted); text-decoration: none; }
.page-head__crumbs a:hover { color: var(--ink); }
.page-head__crumbs .sep { margin: 0 6px; }
.page-head__crumbs .current { color: var(--ink); font-weight: 600; }
.page-head__body { max-width: var(--wrap); margin: 0 auto; padding: 32px var(--pad) 40px; }
.page-head h1 {
  font-family: var(--serif); font-size: clamp(32px, 5.2vw, 56px);
  font-weight: 500; line-height: 1.1; margin: 0 0 12px;
}
.page-head__lede { color: var(--body); font-size: 16px; max-width: 640px; margin: 0; }
.page-head__lede--serif {
  font-family: var(--serif); font-style: italic; font-size: 19px;
  line-height: 1.5; max-width: 640px;
}
.page-head__meta { color: var(--muted); font-size: 14px; margin: 0; }

.eyebrow-pill {
  display: inline-block; background: var(--rust); color: var(--paper-warm);
  font-size: 11px; font-weight: 600; letter-spacing: .06em;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 16px;
}

.verified-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: #E4ECDD; color: var(--olive);
  font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px;
}

.badge {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; white-space: nowrap;
}
.badge--lg { font-size: 12px; padding: 5px 12px; }
.badge--verified   { background: var(--sage); color: var(--olive); }
.badge--unverified { background: var(--amber); color: var(--rust); }
.badge--pending    { background: var(--paper); color: var(--muted); }
.badge--error      { background: var(--error-soft); color: var(--error); }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding: 64px var(--pad); }
.section--tight { padding: 56px var(--pad) 64px; }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--dark  { background: var(--ink); }
.section__inner { max-width: var(--wrap); margin: 0 auto; }

.section-title {
  font-family: var(--serif); font-style: italic; font-size: 30px;
  font-weight: 500; margin: 0 0 10px;
}
.section--dark .section-title { color: var(--paper); }
.section-lede { font-size: 15px; color: var(--body); max-width: 560px; margin: 0; }
.section-head { margin-bottom: 28px; }
.section-head--split {
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 12px;
}
.kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  color: var(--rust); text-transform: uppercase; margin-bottom: 14px;
}
.mono-note { font-family: var(--mono); font-size: 12px; color: var(--rust-bright); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero { background: var(--paper); padding: 56px var(--pad) 64px; }
.hero__inner {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(260px, .75fr);
  gap: 48px; align-items: center;
}
.hero__badge {
  display: inline-block; background: var(--rust); color: var(--paper-warm);
  font-size: 12px; font-weight: 600; letter-spacing: .06em;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--serif); font-size: clamp(40px, 5.4vw, 68px);
  font-weight: 500; line-height: 1.08; margin: 0 0 22px;
}
.hero__lede { font-size: 17px; color: var(--body); max-width: 480px; margin: 0 0 28px; }

.searchbar {
  display: flex; gap: 8px; max-width: 480px; background: var(--white);
  border-radius: 999px; padding: 6px 6px 6px 20px; box-shadow: 0 12px 30px #20241C14;
}
.searchbar input {
  flex: 1; border: none; background: transparent; font-size: 15px;
  font-family: inherit; outline: none; color: var(--ink); min-width: 0;
}
.searchbar button {
  background: var(--ink); border: none; border-radius: 999px;
  font-size: 13px; letter-spacing: .03em; color: var(--paper);
  font-weight: 600; cursor: pointer; padding: 12px 22px; font-family: inherit;
}

.timeline-card { background: var(--ink); border-radius: 24px; padding: 32px; color: var(--paper); }
.timeline-card__label { font-size: 12px; color: var(--muted-light); letter-spacing: .04em; margin-bottom: 26px; }
.timeline-step { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; }
.timeline-step__rail { display: flex; flex-direction: column; align-items: center; }
.timeline-step__icon {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.timeline-step__icon--rust { background: #3A2A22; }
.timeline-step__icon--moss { background: #233022; }
.timeline-step__line { width: 1px; flex: 1; background: var(--line-dark); margin: 4px 0; }
.timeline-step__body { padding-bottom: 26px; }
.timeline-step:last-child .timeline-step__body { padding-bottom: 0; }
.timeline-step__num { font-size: 10px; color: var(--muted); letter-spacing: .03em; margin-bottom: 3px; }
.timeline-step__text { font-size: 14px; font-weight: 600; }

/* --------------------------------------------------------------------------
   Grids and cards
   -------------------------------------------------------------------------- */

.grid { display: grid; gap: 18px; }
.grid--cards   { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--states  { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.grid--small   { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.grid--stats   { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.grid--steps   { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid--guides  { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--cover   { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }

.claim-card {
  display: block; text-align: left; background: var(--paper);
  border: none; border-radius: 18px; padding: 24px;
  font-family: inherit; text-decoration: none; color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}
a.claim-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px #20241C12; }
.claim-card__top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.years-badge {
  width: 58px; height: 58px; border-radius: 16px; background: var(--sage-mid);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  flex-shrink: 0; line-height: 1; gap: 1px;
}
.years-badge--sage { background: var(--sage); }
.years-badge--white { background: var(--white); }
.years-badge__num { font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--ink); }
.years-badge__label { font-size: 8px; font-weight: 700; letter-spacing: .05em; color: var(--olive); }
.years-badge--white .years-badge__label { color: var(--rust); }
.years-badge__num--empty { font-size: 15px; color: var(--muted); }
.claim-card__title { font-family: var(--serif); font-size: 20px; font-weight: 500; color: var(--ink); }
.claim-card__note { font-size: 14px; color: var(--body); }
.claim-card__meta { margin-top: 12px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.claim-card__cite { font-family: var(--mono); font-size: 11px; color: var(--olive); font-weight: 600; }

.state-tile {
  display: block; text-align: left; background: var(--paper); border: none;
  border-radius: 16px; padding: 20px; font-family: inherit;
  text-decoration: none; color: inherit;
  transition: transform .15s ease;
}
.state-tile:hover { transform: translateY(-2px); }
.state-tile__abbr { font-family: var(--serif); font-size: 28px; color: var(--ink); font-weight: 600; }
.state-tile__name { font-size: 13px; color: var(--body); margin-top: 8px; }
.state-tile__status { font-size: 11px; margin-top: 12px; font-weight: 600; letter-spacing: .03em; }
.state-tile--dark { background: #2C2E22; }
.state-tile--dark .state-tile__abbr { color: var(--paper); }
.state-tile--dark .state-tile__name { color: var(--muted-light); }

.rank-tile {
  display: flex; align-items: center; gap: 14px; text-align: left;
  background: var(--paper); border: none; border-radius: 16px; padding: 20px;
  font-family: inherit; text-decoration: none; color: inherit;
}
.rank-tile:hover { background: var(--tan); }
.rank-tile--white { background: var(--white); }
.rank-tile__rank { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--rust); flex-shrink: 0; }
.rank-tile--white .rank-tile__rank { color: var(--moss); }
.rank-tile__name { font-family: var(--serif); font-size: 18px; font-weight: 500; }
.rank-tile__status { font-size: 12px; color: var(--muted); margin-top: 2px; }

.stat-card { background: var(--sage); border-radius: 16px; padding: 22px 24px; }
.stat-card__label {
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  color: var(--muted); text-transform: uppercase; margin-bottom: 10px;
}
.stat-card__value { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.stat-card__note { font-size: 13px; color: var(--body); }

.step-card { background: var(--paper); border-radius: 16px; padding: 22px; }
.step-card__num { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--rust); margin-bottom: 10px; }
.step-card__title { font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.step-card__desc { font-size: 13px; color: var(--body); line-height: 1.6; }

.guide-card { background: var(--paper); border-radius: 18px; padding: 24px; }
.guide-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.guide-card__icon {
  width: 30px; height: 30px; border-radius: 50%; background: var(--tan);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.guide-card__title {
  font-family: var(--serif); font-size: 18px; font-weight: 700;
  color: var(--rust); text-decoration: none;
}
.guide-card__title:hover { text-decoration: underline; text-underline-offset: 3px; }
.guide-card__blurb { font-size: 14px; color: var(--body); line-height: 1.6; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block; border: none; border-radius: 999px;
  padding: 13px 24px; font-size: 14px; font-weight: 600;
  cursor: pointer; font-family: inherit; text-decoration: none; text-align: center;
}
.btn--dark  { background: var(--ink); color: var(--paper); }
.btn--rust  { background: var(--rust); color: var(--paper-warm); }
.btn--ghost { background: none; border: 1px solid #D8D2C0; color: var(--ink); padding: 11px 20px; font-size: 13px; }
.btn--ghost-dark { background: none; border: 1px solid var(--body); color: var(--paper); padding: 12px 24px; }
.btn--sm { padding: 8px 14px; font-size: 13px; }

.copy-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--white); border: 1px solid #D8D2C0; border-radius: 8px;
  padding: 7px 11px; font-size: 12px; font-weight: 600; color: var(--body);
  cursor: pointer; font-family: inherit; white-space: nowrap;
}
.copy-btn:hover { border-color: var(--rust); color: var(--rust); }

.cite-link {
  background: none; border: none; padding: 0; text-align: left;
  font-family: var(--mono); font-size: 12px; color: var(--olive);
  font-weight: 600; cursor: pointer; text-decoration: underline;
  text-underline-offset: 3px; word-break: break-word;
}
.cite-link--rust { color: var(--rust); }

.pill-link {
  display: inline-block; background: var(--white); border: none; border-radius: 999px;
  padding: 10px 18px; font-size: 14px; font-weight: 600; color: var(--ink);
  cursor: pointer; font-family: inherit; text-decoration: none;
}
.pill-link:hover { background: var(--tan); color: var(--ink); }

/* --------------------------------------------------------------------------
   Register lookup
   -------------------------------------------------------------------------- */

.lookup {
  max-width: var(--wrap); margin: 0 auto; padding: 64px var(--pad);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: 48px; align-items: start;
}
.lookup__points { display: flex; flex-direction: column; gap: 16px; max-width: 400px; }
.lookup__point { display: flex; gap: 12px; align-items: flex-start; }
.lookup__check {
  width: 26px; height: 26px; border-radius: 50%; background: var(--paper);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;
}
.lookup__point-text { font-size: 14px; color: var(--body); line-height: 1.5; }

.lookup__panel { background: var(--paper); border-radius: 20px; padding: 28px; }
.field-label {
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted); display: block;
}
.field-select, .field-input, .field-textarea {
  width: 100%; margin-top: 6px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: inherit; background: var(--paper-soft); color: var(--ink);
}
.field-textarea { resize: vertical; }
.field-stack { display: grid; gap: 14px; margin-bottom: 20px; }

.result-card { background: var(--tan); border-radius: 14px; padding: 20px; }
.result-card__top { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.result-card__title { font-weight: 600; font-size: 15px; }
.result-card__note { font-size: 13px; color: var(--body); line-height: 1.6; margin-bottom: 16px; }
.result-card__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  border-top: 1px solid #DCC9AE; padding-top: 14px; flex-wrap: wrap;
}
.result-card__link { font-size: 13px; font-weight: 600; color: var(--rust); text-decoration: none; }
.empty-card {
  background: var(--paper-soft); border: 1px dashed #D8D2C0; border-radius: 14px;
  padding: 18px; font-size: 14px; color: var(--body);
}

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border-radius: 14px; padding: 20px 24px; }
.faq-item__q {
  width: 100%; background: none; border: none; padding: 0;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-family: inherit; text-align: left; gap: 16px;
}
.faq-item__q span:first-child { font-size: 16px; font-weight: 600; color: var(--ink); }
.faq-item__plus { font-size: 20px; color: var(--rust); flex-shrink: 0; transition: transform .2s ease; }
.faq-item.is-open .faq-item__plus { transform: rotate(45deg); }
.faq-item__a { display: none; }
.faq-item.is-open .faq-item__a { display: block; }
.faq-item__a p { font-size: 14px; color: var(--body); line-height: 1.7; margin: 14px 0 0; max-width: 720px; }

/* --------------------------------------------------------------------------
   Claim detail
   -------------------------------------------------------------------------- */

.claim-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px; align-items: start; margin-bottom: 44px;
}

.data-table { background: var(--white); border: 1px solid var(--line-soft); border-radius: 16px; overflow: hidden; }
.data-table__head,
.data-table__row {
  display: grid; grid-template-columns: 1.2fr 1fr 1.3fr 140px;
  gap: 12px; padding: 14px 20px; align-items: center;
}
.data-table__head { background: var(--paper); }
.data-table__head div {
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--body);
}
.data-table__row { border-top: 1px solid var(--line-soft); padding: 16px 20px; }
.data-table__state { font-weight: 600; font-size: 14px; color: var(--ink); }
.data-table__state a { color: inherit; text-decoration: none; }
.data-table__state a:hover { color: var(--rust); }
.bar-track { height: 8px; background: var(--sage-mid); border-radius: 999px; overflow: hidden; max-width: 110px; }
.bar-fill { height: 100%; border-radius: 999px; background: var(--moss); }
.bar-fill--rust { background: var(--rust-bright); }
.data-table__limit { font-size: 12px; color: var(--body); margin-top: 6px; }
.table-empty { padding: 28px 20px; font-size: 14px; color: var(--body); border-top: 1px solid var(--line-soft); }

.sidebar { display: flex; flex-direction: column; gap: 20px; }
.widget { background: var(--paper); border-radius: 16px; padding: 22px; }
.widget__head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.widget__icon {
  width: 26px; height: 26px; border-radius: 50%; background: var(--tan);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.widget__title { font-family: var(--serif); font-weight: 600; font-size: 17px; line-height: 1.25; margin: 0; }
.widget__list { display: flex; flex-direction: column; gap: 12px; }

.product {
  background: var(--white); border-radius: 12px; padding: 14px;
  display: flex; gap: 12px; text-decoration: none; color: inherit;
}
.product:hover { box-shadow: 0 6px 16px #20241C10; }
.product__img {
  width: 56px; height: 56px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center;
}
.product__body { flex: 1; min-width: 0; }
.product__title { font-weight: 600; font-size: 13px; color: var(--ink); margin-bottom: 2px; line-height: 1.3; }
.product__desc { font-size: 11px; color: var(--muted); line-height: 1.4; margin-bottom: 10px; }
.product__foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.product__price { font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--body); }
.product__cta {
  background: var(--rust-bright); color: var(--white); border: none; border-radius: 6px;
  padding: 5px 10px; font-size: 10px; font-weight: 600; font-family: inherit;
}

.ad-slot {
  background: var(--paper); border: 1px dashed #D8D2C0; border-radius: 16px;
  padding: 32px 20px; text-align: center; min-height: 120px;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
}
.ad-slot__label { font-size: 13px; font-weight: 600; color: var(--muted); }
.ad-slot__size { font-size: 12px; color: #B0AA98; }

.pull-quote {
  font-family: var(--serif); font-style: italic; font-size: 14px;
  color: var(--body); text-align: center; line-height: 1.6; padding: 0 6px;
}

.content-block { border-radius: 20px; padding: 36px; margin-bottom: 32px; }
.content-block--sage  { background: var(--sage-deep); }
.content-block--paper { background: var(--paper); }
.content-block h2 {
  font-family: var(--serif); font-style: italic; font-size: 26px;
  font-weight: 500; margin: 0 0 20px;
}
.content-block__lede { font-size: 14px; color: var(--body); margin: -12px 0 12px; max-width: 640px; }

.cover-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--white); border-radius: 12px; padding: 14px 16px;
}
.cover-item__num {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  color: var(--moss); margin-top: 2px; flex-shrink: 0;
}
.cover-item__text { font-size: 14px; color: var(--ink); line-height: 1.5; }

.rule-row {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px;
  padding: 18px 0; border-top: 1px solid var(--line);
}
.rule-row__num { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--rust); }
.rule-row__title { font-weight: 600; font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.rule-row__desc { font-size: 14px; color: var(--body); line-height: 1.6; }

.cta-strip {
  background: var(--ink); border-radius: 18px; padding: 24px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
}
.cta-strip__text { font-size: 15px; color: var(--paper); }

.govt-block {
  display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 24px;
  align-items: start; background: var(--ink); border-radius: 20px;
  padding: 32px; margin-bottom: 44px;
}
.govt-block__num { font-family: var(--serif); font-size: 52px; font-weight: 600; color: var(--paper); line-height: 1; }
.govt-block__unit {
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted-light); margin-top: 2px;
}
.govt-block__label {
  font-weight: 600; font-size: 14px; color: var(--paper); margin-bottom: 8px;
  text-transform: uppercase; letter-spacing: .04em;
}
.govt-block__body { font-size: 15px; line-height: 1.6; color: #D8D2C0; }
.govt-block__body a { color: var(--rust-bright); }

.placeholder-block {
  background: var(--paper); border: 1px dashed #D8D2C0; border-radius: 20px;
  padding: 40px; text-align: center;
}
.placeholder-block__title { font-family: var(--serif); font-style: italic; font-size: 22px; margin-bottom: 10px; }
.placeholder-block__text { color: var(--body); font-size: 15px; max-width: 460px; margin: 0 auto 20px; }

.footnote { font-size: 12px; color: var(--muted); margin-bottom: 32px; }
.table-label {
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   State + claim pages and question blocks
   -------------------------------------------------------------------------- */

.answer-box {
  display: flex; gap: 24px; align-items: center; flex-wrap: wrap;
  background: var(--paper); border-radius: 20px; padding: 28px; margin-bottom: 32px;
}
.answer-box__figure {
  width: 104px; height: 104px; border-radius: 22px; background: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0;
}
.answer-box__num { font-family: var(--serif); font-size: 40px; font-weight: 600; color: var(--paper); line-height: 1; }
.answer-box__unit { font-size: 10px; font-weight: 700; letter-spacing: .08em; color: var(--rust-bright); margin-top: 4px; }
.answer-box__body { flex: 1; min-width: 220px; }
.answer-box__label { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.answer-box__cite { font-family: var(--mono); font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.answer-box__cite a { color: var(--olive); text-underline-offset: 3px; }
.answer-box__detail { font-size: 14px; color: var(--body); margin-bottom: 10px; }
.answer-box__meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 12px; color: var(--muted); }

.qa-block { margin: 40px 0; }
.qa-block h2 { font-family: var(--serif); font-style: italic; font-size: 26px; font-weight: 500; margin: 0 0 18px; }
.qa { padding: 18px 0; border-top: 1px solid var(--line); }
.qa:first-of-type { border-top: none; padding-top: 0; }
.qa__q { font-family: var(--sans); font-size: 16px; font-weight: 600; color: var(--ink); margin: 0 0 6px; }
.qa__a { font-size: 15px; line-height: 1.7; color: var(--body); margin: 0; }
.qa__a a { font-weight: 600; white-space: nowrap; }

.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.link-grid__item {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: var(--paper); border-radius: 12px; padding: 14px 16px;
  text-decoration: none; color: var(--ink); font-size: 14px;
}
.link-grid__item:hover { background: var(--tan); color: var(--ink); }
.link-grid__item strong { font-family: var(--mono); font-size: 12px; color: var(--olive); white-space: nowrap; }

.main-col { min-width: 0; }
.main-col .qa-block:first-of-type { margin-top: 8px; }
.cover-item--paper { background: var(--paper); }

/* --------------------------------------------------------------------------
   Contact section (above the footer) and shared contact form
   -------------------------------------------------------------------------- */

.contact-band { background: var(--paper); border-top: 1px solid var(--line); padding: 64px var(--pad); }
.contact-band__inner {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start;
}
.contact-band__intro h2 {
  font-family: var(--serif); font-style: italic; font-size: 30px; font-weight: 500;
  line-height: 1.2; margin: 0 0 14px;
}
.contact-band__intro p { font-size: 15px; color: var(--body); line-height: 1.7; margin: 0 0 14px; max-width: 440px; }
.contact-band__small { font-size: 13px !important; color: var(--muted) !important; }
.contact-band__form { background: var(--white); border-radius: 20px; padding: 28px; box-shadow: 0 12px 30px #20241C0d; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.contact-form__field label {
  font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
}
.contact-form .req { color: var(--rust); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: inherit; background: var(--paper-soft); color: var(--ink);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 2px solid var(--rust-bright); outline-offset: 1px; background: var(--white);
}
.contact-form [aria-invalid="true"] { border-color: var(--error); background: var(--error-soft); }
.contact-form__errors {
  background: var(--error-soft); color: var(--error); border-radius: 12px;
  padding: 14px 16px; font-size: 14px; line-height: 1.5;
}
.contact-form__errors ul { margin: 6px 0 0; padding-left: 18px; }
.contact-form__foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.contact-form__foot .btn { flex-shrink: 0; }
.contact-form__foot .btn:disabled { opacity: .6; cursor: wait; }
.contact-form__note { font-size: 12px; color: var(--muted); }
.contact-form__sent {
  display: flex; flex-direction: column; gap: 6px; background: var(--sage);
  border-radius: 14px; padding: 24px; font-size: 15px; color: var(--body);
}
.contact-form__sent strong { font-family: var(--serif); font-size: 20px; color: var(--ink); }

@media (max-width: 900px) {
  .contact-band { padding: 48px var(--pad); }
  .contact-band__inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .contact-form__row { grid-template-columns: 1fr; }
  .contact-band__form { padding: 20px; }
}

/* --------------------------------------------------------------------------
   Free Case Evaluation (above the footer on public pages)
   -------------------------------------------------------------------------- */

.contact-band--page { border-top: none; padding-top: 48px; padding-bottom: 80px; }

.lead-band { background: var(--paper); border-top: 1px solid var(--line); padding: 64px var(--pad); }
/* Same width as the page content above it, so it reads as part of the page. */
.lead-card {
  max-width: calc(var(--wrap) - (var(--pad) * 2)); margin: 0 auto; background: var(--white);
  border-radius: 22px; border-top: 4px solid var(--rust); padding: 44px 48px;
  box-shadow: 0 14px 34px #20241C10;
}
.lead-card__head { text-align: center; margin-bottom: 28px; }
.lead-card__kicker {
  display: inline-block; background: var(--rust); color: var(--paper-warm); font-size: 11px;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px;
  border-radius: 999px; margin-bottom: 14px;
}
.lead-card__head h2 { font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1.15; margin: 0 0 10px; }
.lead-card__head p { font-size: 15px; color: var(--body); max-width: 640px; margin: 0 auto; line-height: 1.6; }

.lead-form { display: flex; flex-direction: column; gap: 18px; }
/* Wide screens: four fields per row. Name, Last, Email, Phone on the first;
   State, Issue and a double-width When on the second. */
.lead-form__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 18px; }
.lead-form__field--when { grid-column: span 2; }
.lead-form__legal {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 28px; align-items: start;
}
.lead-form__legal .lead-disclaimer { height: 100%; }
.lead-form__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lead-form__field label {
  font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
}
.lead-form .req { color: var(--rust); }
.lead-form input[type=text], .lead-form input[type=email], .lead-form input[type=tel],
.lead-form select, .lead-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: inherit; background: var(--paper-soft); color: var(--ink);
}
.lead-form textarea { resize: vertical; min-height: 110px; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: 2px solid var(--rust-bright); outline-offset: 1px; background: var(--white);
}
.lead-form [aria-invalid="true"] { border-color: var(--error); background: var(--error-soft); }

.lead-disclaimer {
  background: var(--amber); border-left: 3px solid var(--rust); border-radius: 10px;
  padding: 14px 16px; font-size: 13px; line-height: 1.6; color: var(--body);
}
.lead-disclaimer strong { color: var(--ink); }

.lead-consents { display: flex; flex-direction: column; gap: 10px; }
.lead-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--body); cursor: pointer; }
.lead-consent input { width: 18px; height: 18px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--rust); }
.lead-consent.is-invalid span { color: var(--error); }

.lead-form__foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.lead-form__submit { padding: 15px 28px; font-size: 15px; }
.lead-form__submit:disabled { opacity: .6; cursor: wait; }

.lead-sent { display: flex; flex-direction: column; gap: 8px; background: var(--sage); border-radius: 14px; padding: 26px; font-size: 15px; color: var(--body); line-height: 1.6; text-align: center; }
.lead-sent strong { font-family: var(--serif); font-size: 22px; color: var(--ink); }

/* Tablet: two per row, disclaimer above the consents. */
@media (max-width: 1000px) {
  .lead-card { padding: 36px 32px; }
  .lead-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lead-form__field--when { grid-column: span 2; }
  .lead-form__legal { grid-template-columns: 1fr; }
}
/* Phone: one column. */
@media (max-width: 700px) {
  .lead-band { padding: 44px var(--pad); }
  .lead-card { padding: 26px 20px; }
  .lead-card__head h2 { font-size: 27px; }
  .lead-form__grid { grid-template-columns: 1fr; }
  .lead-form__field--when { grid-column: auto; }
}

/* --------------------------------------------------------------------------
   Ad slots (rendered only when an ad is configured in the admin)
   -------------------------------------------------------------------------- */

.ad { display: block; width: 100%; margin: 0 auto; text-align: center; }

/* Small, faded label so the ad reads as secondary to the page. */
.ad__label {
  font-size: 9px; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted-light);
  opacity: .7; margin-bottom: 5px; line-height: 1;
}

/* Plain block centering rather than flexbox: ad network code (AdSense in
   particular) can collapse or hug the left edge inside a flex container.
   text-align centers inline and inline-block creatives and iframes;
   auto margins center block-level ones. */
.ad__body { display: block; text-align: center; overflow: hidden; }
.ad__body > *,
.ad__body ins,
.ad__body iframe { margin-left: auto !important; margin-right: auto !important; }
.ad__body img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 6px; }

.ad.ad--rect { max-width: 300px; }
.ad--rect .ad__body { min-height: 250px; }

.ad.ad--leader { max-width: 728px; margin: 56px auto 40px; }
.ad--leader .ad__body { min-height: 90px; }

@media (max-width: 760px) {
  /* A 728-wide creative scales down rather than overflowing the page. */
  .ad.ad--leader { margin: 40px auto 32px; }
  .ad--leader .ad__body { min-height: 0; }
}

/* --------------------------------------------------------------------------
   Prose
   -------------------------------------------------------------------------- */

.prose p { font-size: 16px; color: var(--ink); line-height: 1.8; margin: 0 0 22px; }
.prose h2 { font-family: var(--serif); font-size: 20px; font-weight: 600; margin: 0 0 10px; }
.prose section { margin-bottom: 32px; }
.prose section p { font-size: 15px; color: var(--body); line-height: 1.7; margin: 0; }

.notice {
  background: var(--amber); border-left: 3px solid var(--rust);
  border-radius: 10px; padding: 16px 18px; font-size: 14px;
  color: var(--body); line-height: 1.6; margin-bottom: 28px;
}
.notice strong { color: var(--ink); }

.flash {
  background: var(--sage); border-radius: 16px; padding: 28px;
  text-align: center; margin-bottom: 28px;
}
.flash--error { background: var(--error-soft); }
.flash__title { font-family: var(--serif); font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.flash__text { font-size: 14px; color: var(--body); }

.form-stack { display: flex; flex-direction: column; gap: 18px; }
.honeypot { position: absolute; left: -9999px; }

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.notfound {
  background: var(--paper); min-height: 60vh;
  display: flex; align-items: center; justify-content: center; padding: 80px var(--pad);
}
.notfound__inner { text-align: center; max-width: 440px; }
.notfound__code { font-family: var(--serif); font-size: 96px; font-weight: 600; color: var(--ink); line-height: 1; margin-bottom: 16px; }
.notfound h1 { font-family: var(--serif); font-style: italic; font-size: 24px; font-weight: 500; margin: 0 0 12px; }
.notfound p { font-size: 15px; color: var(--body); margin: 0 0 28px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { background: var(--ink); padding: 64px var(--pad) 0; }
.site-footer__inner { max-width: var(--wrap); margin: 0 auto; }
.site-footer__grid {
  display: grid; grid-template-columns: minmax(220px, 1.1fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.site-footer__brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--serif); font-weight: 600; letter-spacing: -.01em;
  font-size: 22px; color: var(--paper); margin-bottom: 16px; text-decoration: none;
}
.site-footer__brand:hover { color: var(--paper); }
.site-footer__brand img { width: 40px; height: 40px; flex-shrink: 0; display: block; }
.site-footer__tld { color: var(--rust-bright); }
.site-footer__blurb { color: var(--muted-light); font-size: 14px; line-height: 1.7; max-width: 280px; margin: 0; }
.site-footer__heading {
  font-size: 12px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: 16px; color: var(--rust-bright);
}
.site-footer__heading--moss { color: var(--moss); }
.site-footer__links { display: flex; flex-direction: column; gap: 12px; }
.site-footer__links a { color: #D8D2C0; font-size: 14px; text-decoration: none; }
.site-footer__links a:hover { color: var(--paper); }
.site-footer__disclaimer {
  border-top: 1px solid var(--line-dark); margin-top: 48px; padding: 24px 0;
  font-size: 12px; color: var(--muted); line-height: 1.7;
}
.site-footer__legal {
  border-top: 1px solid var(--line-dark); padding: 20px 0;
  display: flex; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; font-size: 13px; color: var(--muted);
}

/* --------------------------------------------------------------------------
   Search results
   -------------------------------------------------------------------------- */

.result-list { display: flex; flex-direction: column; gap: 12px; }
.result-row {
  display: block; background: var(--paper); border-radius: 14px;
  padding: 18px 22px; text-decoration: none; color: inherit;
}
.result-row:hover { background: var(--tan); }
.result-row__kind {
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--rust); margin-bottom: 4px;
}
.result-row__title { font-family: var(--serif); font-size: 19px; font-weight: 500; margin-bottom: 4px; }
.result-row__desc { font-size: 14px; color: var(--body); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  :root { --pad: 20px; }
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .lookup { grid-template-columns: 1fr; gap: 32px; padding: 48px var(--pad); }
  .claim-layout { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .section { padding: 48px var(--pad); }
  .data-table__head { display: none; }
  .data-table__row { grid-template-columns: 1fr; gap: 8px; }
  .data-table__row .cell-copy { justify-self: start; }
  .govt-block { grid-template-columns: 1fr; gap: 16px; }
  .content-block { padding: 26px 22px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; width: 100%; flex-direction: column;
    align-items: flex-start; gap: 14px; padding-top: 8px;
  }
  .site-nav.is-open { display: flex; }
  .site-header { padding: 16px var(--pad); }
  .hero { padding: 40px var(--pad) 48px; }
  .page-head__body { padding: 24px var(--pad) 32px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .cta-strip, .result-card__foot { flex-direction: column; align-items: flex-start; }
  .content-block h2 { font-size: 22px; }
}

@media print {
  .site-header, .site-footer, .ad-slot, .sidebar, .copy-btn { display: none !important; }
  body { background: #fff; }
}
