:root {
  --navy-900: #0f2438;
  --navy-700: #1e3c57;
  --slate-100: #f4f7fa;
  --slate-200: #e5edf5;
  --gold-500: #b9913c;
  --gold-600: #9c7b2f;
  --ink-900: #15212c;
  --ink-700: #2f3f4f;
  --white: #ffffff;
}

body {
  font-family: "Source Sans 3", sans-serif;
  color: var(--ink-900);
  background: linear-gradient(180deg, #f9fbfd 0%, #f2f6fb 100%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Libre Baskerville", serif;
  color: var(--navy-900);
}

a {
  color: #0c4a7d;
}

a:hover,
a:focus {
  color: #08365d;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--white);
  color: var(--ink-900);
  padding: 0.5rem 0.75rem;
  z-index: 2000;
}

.skip-link:focus {
  top: 0;
}

.site-nav {
  background: linear-gradient(90deg, var(--navy-900), var(--navy-700));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
  font-family: "Libre Baskerville", serif;
  font-size: 1rem;
}

.btn-accent {
  background-color: var(--gold-500);
  border-color: var(--gold-500);
  color: #1c1c1c;
  font-weight: 700;
}

.btn-accent:hover,
.btn-accent:focus {
  background-color: var(--gold-600);
  border-color: var(--gold-600);
  color: #111;
}

.hero-section {
  background: radial-gradient(circle at 80% 20%, rgba(185, 145, 60, 0.24), transparent 40%),
    linear-gradient(135deg, #13314a, #1f4c6d);
  color: var(--white);
}

.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section .lead,
.hero-section p,
.hero-section li {
  color: var(--white);
}

.eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.82rem;
  color: #d8e9fa;
}

.hero-card {
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(5px);
  color: #fff;
}

.page-hero {
  background: linear-gradient(135deg, #e9f0f7, #f8fbfe);
  border-bottom: 1px solid var(--slate-200);
}

.section-muted {
  background-color: var(--slate-100);
}

.process-tile {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 0.75rem;
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.process-number {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--navy-700);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.info-panel,
.cta-box,
.service-card,
.toc-card,
.guide-cta {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 0.75rem;
  padding: 1.25rem;
}

.cta-band {
  background: linear-gradient(90deg, #173854, #1f557a);
  color: var(--white);
  border-radius: 0.9rem;
  padding: 1.2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.service-card h2,
.guide-card h2,
.guide-card h3 {
  margin-bottom: 0.65rem;
}

.timeline {
  border-left: 3px solid #c8d8e7;
  padding-left: 1.1rem;
}

.timeline-item {
  position: relative;
  margin-bottom: 1.4rem;
  padding-bottom: 0.2rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.47rem;
  top: 0.3rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--gold-500);
}

.fit-checklist li {
  margin-bottom: 0.55rem;
}

.honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.disclaimer-banner {
  background: #fff7dd;
  border: 1px solid #efd68f;
  color: #5b4a1f;
  border-radius: 0.6rem;
  padding: 0.6rem 0.8rem;
  font-weight: 600;
}

.toc-list {
  margin: 0;
  padding-left: 1.1rem;
}

.toc-list li {
  margin-bottom: 0.5rem;
}

.guide-content p,
.guide-content li {
  color: var(--ink-700);
}

.guide-divider {
  border: 0;
  border-top: 1px solid #d7e2ee;
  margin: 1.5rem 0 0.5rem;
  opacity: 1;
}

.guide-cta {
  border-left: 5px solid var(--gold-500);
}

.site-footer {
  background: #0f2438;
  color: #d8e4ef;
}

.site-footer h2,
.site-footer p,
.site-footer a,
.site-footer .small {
  color: #d8e4ef;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-links a {
  text-decoration: none;
  border-bottom: 1px solid rgba(216, 228, 239, 0.4);
}

.content-narrow {
  max-width: 780px;
}

@media (max-width: 767.98px) {
  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

.resource-page article p {
  font-size: 1.05rem;
  line-height: 1.72;
  margin-bottom: 1rem;
}

.quick-summary {
  background: #eef5fc;
  border: 1px solid #cddded;
  border-left: 5px solid var(--navy-700);
  border-radius: 0.7rem;
  padding: 1rem 1.1rem;
  margin-bottom: 1.25rem;
}

.quick-summary h3 {
  margin-bottom: 0.6rem;
}

.court-directory-toolbar {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 0.75rem;
  padding: 1rem;
}

.county-anchor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.county-anchor-pill {
  background: var(--white);
  border: 1px solid #bed0e1;
  border-radius: 999px;
  color: #0c4a7d;
  display: inline-flex;
  justify-content: center;
  text-decoration: none;
  padding: 0.55rem 0.85rem;
  font-weight: 600;
}

.county-anchor-pill:hover,
.county-anchor-pill:focus {
  border-color: #8db1d0;
  background: #f1f7fc;
  color: #0a3d67;
}

.court-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 0.85rem;
  padding: 1rem;
}

.court-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0.65rem;
  border: 1px solid var(--slate-200);
  background: #edf2f8;
}

.court-snippet {
  background: #f1f7fc;
  border: 1px solid #d6e4f1;
  border-left: 4px solid #1e3c57;
  border-radius: 0.6rem;
  padding: 0.85rem;
}

@media (min-width: 768px) {
  .county-anchor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
