/* Civic Legal Support — draft static site
   System fonts only. No remote assets, cookies, or tracking. */

:root {
  --ink: #121826;
  --ink-2: #1c2538;
  --paper: #f3eee4;
  --paper-2: #e7e0d2;
  --cream: #fffaf2;
  --text: #1a1a1a;
  --muted: #3d4450;
  --rule: #8b2a2a;
  --link: #6f1f1f;
  --link-hover: #4a1212;
  --focus: #0b4f6c;
  --draft-bg: #efe3b8;
  --draft-text: #2f2a12;
  --max: 72rem;
  --measure: 44rem;
  --header-font: Palatino, "Palatino Linotype", "Book Antiqua", "Times New Roman", Times, serif;
  --body-font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  font-size: 112.5%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body-font);
  line-height: 1.65;
}

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

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--link-hover);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  z-index: 100;
  background: var(--cream);
  color: var(--ink);
  padding: 0.5rem 0.9rem;
  font-weight: 600;
}

.skip-link:focus {
  top: 0.75rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.measure {
  max-width: var(--measure);
}

.draft-banner {
  background: var(--draft-bg);
  color: var(--draft-text);
  font-size: 0.95rem;
  border-bottom: 1px solid #c9b56a;
}

.draft-banner .wrap {
  padding: 0.55rem 0;
}

.site-header {
  background: var(--ink);
  color: var(--cream);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding: 1.25rem 0 1.1rem;
}

.wordmark {
  color: var(--cream);
  text-decoration: none;
  display: block;
  border-left: 3px solid var(--rule);
  padding-left: 0.85rem;
}

.wordmark:hover,
.wordmark:focus-visible {
  color: #fff;
}

.wordmark-kicker {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c9c2b4;
  margin-bottom: 0.2rem;
}

.wordmark-name {
  display: block;
  font-family: var(--header-font);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  color: #efe8dc;
  text-decoration: none;
  display: inline-block;
  padding: 0.55rem 0.7rem;
  min-height: 44px;
  line-height: 1.3;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  color: #fff;
  border-bottom-color: #c9c2b4;
}

.nav a[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--rule);
  font-weight: 600;
}

main {
  flex: 1;
  padding: 2.25rem 0 3.5rem;
}

h1,
h2,
h3,
h4 {
  font-family: var(--header-font);
  line-height: 1.2;
  font-weight: 700;
  color: var(--ink);
}

h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.55rem);
  margin: 0 0 1rem;
  max-width: 20ch;
}

h2 {
  font-size: 1.55rem;
  margin: 2.4rem 0 0.8rem;
}

h3 {
  font-size: 1.2rem;
  margin: 1.6rem 0 0.5rem;
}

p,
ul,
ol {
  margin: 0 0 1rem;
}

ul,
ol {
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.4rem;
}

.lede {
  font-size: 1.15rem;
  max-width: var(--measure);
  margin-bottom: 1.4rem;
}

.hero {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--paper-2);
  margin-bottom: 2rem;
}

.kicker {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rule);
  font-weight: 700;
  margin: 0 0 0.6rem;
}

.area-grid,
.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
  margin: 1.25rem 0 2rem;
}

.card {
  background: var(--cream);
  border: 1px solid var(--paper-2);
  border-left: 4px solid var(--rule);
  padding: 1.1rem 1.15rem 1.2rem;
}

.card h2,
.card h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.card p:last-child,
.notice p:last-child {
  margin-bottom: 0;
}

.notice {
  background: var(--cream);
  border: 1px solid var(--paper-2);
  padding: 1.15rem 1.2rem;
  margin: 1.5rem 0;
  max-width: var(--measure);
}

.notice-warn {
  border-left: 4px solid var(--rule);
}

.notice-review {
  border-left: 4px solid #8a6a12;
  background: #fbf6e6;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 0.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  border: 2px solid var(--ink);
}

.button:hover,
.button:focus-visible {
  background: var(--ink-2);
  color: #fff;
}

.button-secondary {
  background: transparent;
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--ink);
  color: var(--cream);
}

.section-block {
  max-width: var(--measure);
  margin-bottom: 2.75rem;
  padding-top: 0.5rem;
  scroll-margin-top: 0.75rem;
}

.section-block h2 {
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--paper-2);
}

.toc {
  background: var(--cream);
  border: 1px solid var(--paper-2);
  padding: 1rem 1.2rem;
  margin: 0 0 2rem;
  max-width: var(--measure);
}

.toc h2 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.toc ol {
  margin-bottom: 0;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  background: var(--ink);
  color: #e6e0d4;
  padding: 2rem 0 1.6rem;
  margin-top: auto;
}

.site-footer a {
  color: #f3d2d2;
}

.site-footer a:hover {
  color: #fff;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.footer-nav a {
  display: inline-block;
  min-height: 44px;
  padding: 0.5rem 0;
}

.footer-disclaimer {
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 60rem;
  border-top: 1px solid #343c4e;
  padding-top: 1.1rem;
  color: #cfc8bb;
}

.footer-disclaimer p {
  margin-bottom: 0.7rem;
}

.footer-disclaimer p:last-child {
  margin-bottom: 0;
}

.signpost {
  margin-top: 1rem;
}

.signpost a {
  display: inline;
}

address {
  font-style: normal;
}

@media (max-width: 40rem) {
  html {
    font-size: 106.25%;
  }

  .wordmark-name {
    font-size: 1.35rem;
  }

  .nav a {
    padding: 0.5rem 0.55rem;
  }
}

@media print {
  .draft-banner,
  .site-header .nav,
  .cta-row,
  .footer-nav {
    display: none;
  }

  body,
  .site-header,
  .site-footer {
    background: #fff;
    color: #000;
  }

  .wordmark,
  .site-footer,
  .site-footer a {
    color: #000;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    color: #333;
  }

  main {
    padding: 0;
  }
}

.button[aria-disabled="true"],
.button-pending {
  background: #6a7380;
  border-color: #6a7380;
  color: #fff;
  pointer-events: none;
  cursor: not-allowed;
}

.button[aria-disabled="true"]:hover,
.button-pending:hover {
  background: #6a7380;
  color: #fff;
}

.schedule {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.4rem;
  background: var(--cream);
  font-size: 0.98rem;
}

.schedule th,
.schedule td {
  border: 1px solid var(--paper-2);
  text-align: left;
  vertical-align: top;
  padding: 0.65rem 0.75rem;
}

.schedule th {
  background: var(--ink);
  color: var(--cream);
  font-weight: 600;
}

.badge-pending {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--rule);
  margin-left: 0.4rem;
}
