:root {
  color-scheme: light;
  --bg: #f6f3ee;
  --panel: #ffffff;
  --panel-soft: #faf8f3;
  --text: #1f2937;
  --muted: #5b6676;
  --line: #d9dde5;
  --accent: #0f766e;
  --accent-strong: #0a5f57;
  --accent-soft: #e6fffb;
  --shadow: 0 12px 32px rgba(16, 24, 40, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.06), transparent 28%),
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.04), transparent 24%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 243, 238, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(217, 221, 229, 0.85);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #2dd4bf);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
}

.district-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.2;
  white-space: nowrap;
}

.hero {
  padding: clamp(28px, 5vw, 56px) 0 20px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(2.1rem, 4.1vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  margin: 0;
  max-width: 72ch;
  font-size: 1.06rem;
  color: var(--muted);
}

.page-grid {
  display: grid;
  gap: 16px;
  padding-bottom: 24px;
}

.section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(18px, 2.6vw, 26px);
  box-shadow: var(--shadow);
}

.section-soft {
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-soft) 100%);
}

h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  line-height: 1.25;
}

p {
  margin: 0 0 12px;
}

ul {
  margin: 0;
  padding-left: 20px;
}

li + li {
  margin-top: 8px;
}

.district-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.district-link {
  display: block;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
}

.district-link strong {
  display: block;
  margin-bottom: 4px;
}

.district-link span {
  color: var(--muted);
  font-size: 0.95rem;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 12px 14px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  margin-top: 10px;
  color: var(--muted);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-weight: 600;
}

.footer {
  padding: 8px 0 40px;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 720px) {
  .site-header {
    position: static;
  }

  .nav-bar {
    align-items: flex-start;
  }

  h1 {
    font-size: clamp(1.9rem, 10vw, 2.7rem);
  }
}
