:root {
  color-scheme: light;
  --bg: #f7f7f4;
  --paper: #ffffff;
  --ink: #20231f;
  --muted: #63665f;
  --line: #d8d8cf;
  --accent: #28645c;
  --accent-2: #8d3f34;
  --soft: #e9efeb;
  --shadow: 0 18px 40px rgba(32, 35, 31, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 20;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 247, 244, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  min-width: 180px;
}

.brand strong {
  font-size: 18px;
  letter-spacing: 0;
}

.brand span {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
}

.nav a {
  padding: 7px 10px;
  color: var(--muted);
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
}

.nav a:hover,
.nav a:focus {
  background: var(--soft);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 247, 244, 0.97) 0%, rgba(247, 247, 244, 0.86) 42%, rgba(247, 247, 244, 0.22) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  padding: 72px 24px;
  margin: 0 auto;
  width: 100%;
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  margin: 0 0 12px;
}

h1,
h2,
h3 {
  line-height: 1.24;
  letter-spacing: 0;
  margin: 0;
}

h1 {
  max-width: 760px;
  font-size: 48px;
}

.hero h1 {
  font-size: 68px;
}

.lead {
  max-width: 760px;
  color: #3d4039;
  font-size: 19px;
  margin: 22px 0 0;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

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

.band {
  padding: 64px 24px;
}

.band.alt {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
}

.section-head {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-head p {
  color: var(--muted);
  margin: 10px 0 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb span + span::before {
  content: "/";
  margin-right: 6px;
  color: #9b9d96;
}

.breadcrumb a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 21px;
}

.card h2 {
  font-size: 22px;
}

.card p,
.card li,
.fact-row dd {
  color: var(--muted);
}

.card ul,
.article-body ul {
  padding-left: 20px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--muted);
  font-size: 13px;
}

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

.profile-section {
  margin-top: 34px;
  max-width: 880px;
}

.profile-section p,
.matter-list li,
.contact-list dd,
.microcopy {
  color: var(--muted);
}

.matter-list {
  padding-left: 20px;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  list-style-position: inside;
}

.step-list li {
  min-height: 88px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.service-boundary {
  margin-top: 28px;
}

.service-boundary p {
  margin-bottom: 0;
}

.source-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}

.resource-list {
  padding-left: 20px;
}

.resource-list li + li {
  margin-top: 10px;
}

.page-meta {
  color: var(--muted);
  font-size: 14px;
}

.back-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.fact-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.fact-row dt,
.fact-row dd {
  margin: 0;
}

.contact-list {
  margin: 16px 0 0;
}

.contact-list div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list dt,
.contact-list dd {
  margin: 0;
}

.contact-list dt {
  font-weight: 700;
}

.microcopy {
  font-size: 14px;
}

.article-shell {
  max-width: 880px;
  margin: 0 auto;
}

.article-body {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.article-body h2 {
  margin-top: 30px;
  font-size: 25px;
}

.article-body p {
  color: #444841;
}

.notice {
  border-left: 4px solid var(--accent-2);
  background: #f7eeee;
  padding: 16px 18px;
  color: #4c332f;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.faq-item h2 {
  font-size: 22px;
}

.faq-item p {
  color: var(--muted);
  margin-bottom: 0;
}

.site-footer {
  background: #1f231f;
  color: #f5f5ef;
  padding: 34px 24px;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
}

.site-footer p {
  color: #c8cbbf;
  margin: 6px 0 0;
}

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

@media (max-width: 820px) {
  h1 {
    font-size: 32px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .nav-wrap,
  .footer-inner {
    display: block;
  }

  .nav {
    justify-content: flex-start;
    margin-top: 12px;
  }

  .hero {
    min-height: 520px;
  }

  .hero::after {
    background: rgba(247, 247, 244, 0.88);
  }

  .grid,
  .grid.two,
  .step-list {
    grid-template-columns: 1fr;
  }

  .fact-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .article-body {
    padding: 24px;
  }
}
