/* State Registry Search - resources styles.  Matches the /states pages
   (same palette, Charter headings, navy header with gold seal, gold-underlined h2).
   Change the tokens below to restyle everything. */

:root {
  --text: #0F1419;
  --muted: #7A8694;
  --bg: #FAF8F3;
  --panel: #ffffff;
  --border: #D6DEE5;
  --navy: #0F3155;
  --gold: #B08D57;
  --cream: #F6EFE2;
  --accent-text: #ffffff;
  --verify-bg: #fff59d;
  --draft-bg: #b91c1c;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: Charter, Georgia, serif;
  --width: 780px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font: 16px/1.65 var(--font);
  color: var(--text);
  background: var(--bg);
}

a { color: var(--navy); }

.wrap { max-width: var(--width); margin: 0 auto; padding: 0 20px; }

/* Draft banner - remove before publishing */
.draft-banner {
  background: var(--draft-bg);
  color: #fff;
  text-align: center;
  font-weight: 700;
  padding: 8px 16px;
}

/* Header: navy bar, gold seal, like /states */
.site-header { background: var(--navy); color: #fff; padding: 18px 0; }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 10px 20px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--serif); font-weight: 600; font-size: 18px;
  color: #fff; text-decoration: none;
}
.brand span {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--gold); color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; flex: none;
}
.site-nav a { margin-left: 18px; color: #fff; text-decoration: none; font-size: 15px; opacity: .9; }
.site-nav a:first-child { margin-left: 0; }
.site-nav a:hover { opacity: 1; text-decoration: underline; }

main.wrap { padding-top: 6px; padding-bottom: 70px; }

/* Breadcrumb */
.breadcrumb { font-size: 14px; color: var(--muted); margin: 18px 0 0; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; }
.breadcrumb li { display: inline; }
.breadcrumb li + li::before { content: " › "; }

/* Article */
h1 { font-family: var(--serif); font-size: 33px; line-height: 1.18; font-weight: 700; margin: 18px 0 10px; }
h2 { font-family: var(--serif); font-size: 23px; line-height: 1.3; margin: 40px 0 4px; }
h2::after { content: ""; display: block; width: 40px; height: 3px; background: var(--gold); margin-top: 7px; }
h3 { font-family: var(--serif); font-size: 18px; margin: 24px 0 4px; }
p { max-width: 68ch; }
ol li, ul li { margin-bottom: 10px; max-width: 66ch; }
.updated { font-size: 13px; color: var(--muted); margin: 0 0 16px; }
.answer {
  background: var(--cream);
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 12px 16px;
  margin: 16px 0 24px;
}
.answer p { margin: 0; max-width: 72ch; }

/* Calls to action */
.cta {
  background: var(--panel);
  border: 1px solid var(--border);
  border-left: 4px solid var(--navy);
  border-radius: 8px;
  padding: 20px 22px;
  margin: 24px 0;
}
.cta p { margin: 0 0 14px; }
.button {
  display: inline-block;
  background: var(--navy);
  color: var(--accent-text);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 8px;
}
.cta-secondary { font-size: 14px; color: var(--muted); }

/* Hub journey */
.journey { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.journey li {
  counter-increment: step;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 16px 16px 66px;
  margin: 0 0 12px;
  max-width: none;
  position: relative;
}
.journey li::before {
  content: counter(step);
  position: absolute; left: 16px; top: 16px;
  width: 36px; height: 36px; line-height: 32px;
  text-align: center; font-family: var(--serif); font-weight: 700;
  border: 2px solid var(--gold); color: var(--gold);
  background: var(--navy); border-radius: 50%;
}
.journey h3 { margin: 0 0 4px; }
.journey p { margin: 0; }

/* Tables */
.table-wrap { overflow-x: auto; background: var(--panel); border: 1px solid var(--border); border-radius: 10px; margin: 16px 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 0; }
th, td { border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); padding: 9px 12px; text-align: left; vertical-align: top; }
th:last-child, td:last-child { border-right: 0; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
thead th { background: var(--navy); color: #fff; font-weight: 600; }
tbody th { background: var(--cream); }

/* FAQ, related guides */
.faq h3 { margin-top: 20px; font-family: var(--font); font-size: 16px; }
.related { border-top: 1px solid var(--border); margin-top: 40px; padding-top: 8px; }

/* Editor marker: anything that needs fact-checking before publishing */
.verify { background: var(--verify-bg); font-weight: 700; padding: 0 4px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 22px 0 40px;
  font-size: 13.5px;
  color: var(--muted);
}
.footer-groups { display: flex; flex-wrap: wrap; gap: 32px; }
.footer-groups .fg-head { font-family: var(--font); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 8px; color: var(--muted); }
.footer-groups ul { list-style: none; margin: 0; padding: 0; }
.footer-groups li { margin: 0 0 4px; }
.disclaimer { margin-top: 24px; max-width: none; }

@media (max-width: 600px) {
  h1 { font-size: 27px; }
  .site-nav a { margin-left: 14px; }
  .journey li { padding-left: 62px; }
}
