:root {
  color-scheme: light;
  --ink: #152723;
  --muted: #5d6f69;
  --paper: #f5f4ee;
  --surface: #fffdf7;
  --line: #d8ddd7;
  --brand: #0e6658;
  --brand-dark: #08483f;
  --brand-soft: #dcece7;
  --gold: #b77b25;
  --gold-soft: #f5ead7;
  --danger: #9a4639;
  --shadow: 0 18px 50px rgba(26, 57, 50, 0.1);
  --radius: 22px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 2%, rgba(183, 123, 37, 0.09), transparent 24rem),
    linear-gradient(180deg, #f9f8f3 0%, var(--paper) 100%);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(183, 123, 37, 0.45);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 9px 13px;
  color: white;
  background: var(--brand-dark);
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(216, 221, 215, 0.78);
  background: rgba(249, 248, 243, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner,
.page-shell,
.footer-inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--brand);
  border-radius: 13px 13px 13px 4px;
  box-shadow: 0 8px 20px rgba(14, 102, 88, 0.2);
}

.brand-mark::before {
  content: "";
  width: 13px;
  height: 13px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 9px 13px;
  color: var(--muted);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--brand-dark);
  background: var(--brand-soft);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  color: var(--brand-dark);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 20px;
}

.page-shell {
  padding: 44px 0 78px;
}

.hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  align-items: center;
  gap: clamp(36px, 7vw, 86px);
}

.eyebrow,
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before,
.status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--gold-soft);
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.23;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(40px, 7vw, 76px);
}

.page-heading h1 {
  max-width: 900px;
  font-size: clamp(38px, 6vw, 64px);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 42px);
}

h3 {
  margin-bottom: 9px;
  font-size: 20px;
}

.hero-copy,
.page-heading p,
.section-intro {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.hero-copy {
  max-width: 710px;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid var(--brand);
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  color: white;
  background: var(--brand);
  box-shadow: 0 12px 26px rgba(14, 102, 88, 0.2);
}

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

.button,
.card,
.plain-card {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.hero-panel {
  position: relative;
  padding: 30px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.hero-panel::after {
  content: "";
  position: absolute;
  right: -86px;
  bottom: -86px;
  width: 210px;
  height: 210px;
  border: 32px solid var(--brand-soft);
  border-radius: 50%;
}

.review-route {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.route-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 13px;
  align-items: start;
  padding: 15px;
  background: rgba(245, 244, 238, 0.76);
  border: 1px solid rgba(216, 221, 215, 0.82);
  border-radius: 16px;
}

.route-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--brand);
  border-radius: 11px;
  font-size: 13px;
  font-weight: 800;
}

.route-item strong {
  display: block;
}

.route-item span:last-child {
  color: var(--muted);
  font-size: 14px;
}

.belief-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(30px, 6vw, 72px);
  margin-top: 42px;
  padding: clamp(34px, 6vw, 66px);
  overflow: hidden;
  color: #f7fbf9;
  background:
    radial-gradient(circle at 94% 8%, rgba(211, 169, 102, 0.22), transparent 17rem),
    linear-gradient(135deg, #073f37 0%, #0b5d50 100%);
  border: 1px solid rgba(8, 72, 63, 0.45);
  border-radius: 32px;
  box-shadow: 0 24px 62px rgba(12, 67, 58, 0.18);
}

.belief-section::after {
  content: "";
  position: absolute;
  right: -72px;
  bottom: -94px;
  width: 240px;
  height: 240px;
  border: 34px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.belief-lead,
.belief-grid {
  position: relative;
  z-index: 1;
}

.belief-section .eyebrow {
  color: #d8eee7;
}

.belief-section .eyebrow::before {
  background: #d6a85e;
  box-shadow: 0 0 0 5px rgba(214, 168, 94, 0.18);
}

.belief-lead h2 {
  max-width: 560px;
  font-size: clamp(32px, 4.6vw, 52px);
}

.belief-lead > p:not(.eyebrow) {
  color: rgba(247, 251, 249, 0.78);
}

.belief-lead .belief-signature {
  margin-top: 26px;
  padding-left: 16px;
  color: #fff6e8;
  border-left: 3px solid #d6a85e;
  font-weight: 700;
}

.belief-grid {
  display: grid;
  gap: 12px;
}

.belief-item {
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  backdrop-filter: blur(4px);
}

.belief-item h3 {
  margin-bottom: 5px;
  color: white;
}

.belief-item p {
  margin: 0;
  color: rgba(247, 251, 249, 0.72);
  font-size: 14px;
}

.belief-index {
  display: inline-block;
  margin-bottom: 10px;
  color: #e5bd7d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.section {
  padding: 78px 0 0;
}

.identity-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(290px, 0.85fr);
  gap: 18px;
}

.identity-card {
  min-height: 100%;
}

.identity-card .definition-list {
  margin-top: 20px;
}

.scope-copy {
  color: var(--brand-dark);
  padding: 17px 19px;
  background: #f7f7f1;
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  font-weight: 700;
  line-height: 1.9;
}

.project-strip {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: center;
  padding: clamp(30px, 5vw, 48px);
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(220, 236, 231, 0.82), rgba(255, 253, 247, 0.96));
  border: 1px solid #bfd8d0;
  border-radius: 28px;
}

.project-strip::after {
  content: "";
  position: absolute;
  right: -68px;
  bottom: -94px;
  width: 190px;
  height: 190px;
  border: 28px solid rgba(14, 102, 88, 0.06);
  border-radius: 50%;
}

.project-strip > * {
  position: relative;
  z-index: 1;
}

.project-name {
  margin: 0;
  color: var(--brand-dark);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.25;
}

.project-copy {
  margin: 0;
  color: #40524d;
  font-size: 17px;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.section-header > * {
  margin-bottom: 0;
}

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

.card {
  min-height: 220px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(26, 57, 50, 0.06);
}

.card-index {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  margin-bottom: 28px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 900;
}

.card p,
.plain-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.card-note {
  margin-top: 18px !important;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.boundary-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.boundary-column {
  padding: 28px;
  border-radius: var(--radius);
}

.boundary-column.allowed {
  background: var(--brand-soft);
  border: 1px solid #bfd8d0;
}

.boundary-column.denied {
  background: #f4e7e4;
  border: 1px solid #e4c6bf;
}

.clean-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  margin: 8px 0;
  padding-left: 25px;
}

.clean-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 900;
}

.clean-list li[hidden]::before {
  content: none;
}

.denied .clean-list li::before {
  content: "×";
  color: var(--danger);
}

.notice {
  margin-top: 32px;
  padding: 20px 22px;
  color: #604719;
  background: var(--gold-soft);
  border: 1px solid #e9d3ad;
  border-radius: 16px;
}

.notice strong {
  color: #4c3815;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(260px, 0.3fr);
  gap: 24px;
  align-items: center;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-panel h2,
.contact-panel p {
  margin-bottom: 0;
}

.contact-value {
  padding: 18px 20px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border-radius: 16px;
  font-weight: 800;
}

.contact-value a {
  color: var(--brand-dark);
  overflow-wrap: anywhere;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.page-heading {
  padding: 56px 0 24px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  gap: 26px;
  align-items: start;
}

.content-stack {
  display: grid;
  gap: 18px;
}

.plain-card,
.legal-copy {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.principle-card {
  background:
    linear-gradient(180deg, rgba(220, 236, 231, 0.62), rgba(255, 253, 247, 0.96));
  border-color: #bfd8d0;
}

.principle-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.principle-list li {
  padding: 17px 0;
  border-top: 1px solid rgba(14, 102, 88, 0.15);
}

.principle-list strong,
.principle-list span {
  display: block;
}

.principle-list strong {
  margin-bottom: 3px;
  color: var(--brand-dark);
}

.principle-list span {
  color: var(--muted);
  font-size: 14px;
}

.sticky-card {
  position: sticky;
  top: 96px;
}

.checklist {
  display: grid;
  gap: 12px;
}

.check-step {
  width: 100%;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 13px;
  align-items: center;
  padding: 15px;
  color: var(--ink);
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 15px;
  cursor: pointer;
}

.check-step:hover {
  border-color: #9ebdb4;
}

.check-step[data-done="true"] {
  background: #edf6f3;
  border-color: #a9cbc1;
}

.check-step-number {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border-radius: 11px;
  font-weight: 900;
}

.check-step strong {
  display: block;
}

.check-step small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

[data-step-state] {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.progress-track {
  height: 8px;
  margin-top: 14px;
  overflow: hidden;
  background: #e5e9e5;
  border-radius: 999px;
}

.progress-bar {
  width: 0;
  height: 100%;
  background: var(--brand);
  border-radius: inherit;
  transition: width 160ms ease;
}

.progress-bar[data-progress="1"] {
  width: 25%;
}

.progress-bar[data-progress="2"] {
  width: 50%;
}

.progress-bar[data-progress="3"] {
  width: 75%;
}

.progress-bar[data-progress="4"] {
  width: 100%;
}

.definition-list {
  display: grid;
  grid-template-columns: minmax(110px, 0.32fr) minmax(0, 1fr);
  margin: 0;
  border-top: 1px solid var(--line);
}

.definition-list dt,
.definition-list dd {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.definition-list dt {
  color: var(--muted);
  font-weight: 700;
}

.definition-list dd {
  font-weight: 700;
}

.legal-copy {
  max-width: 900px;
}

.legal-copy h2 {
  margin-top: 34px;
  font-size: 26px;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy p,
.legal-copy li {
  color: #40524d;
}

.legal-copy a {
  color: var(--brand);
}

.legal-note {
  padding: 18px 20px;
  color: #604719 !important;
  background: var(--gold-soft);
  border: 1px solid #e9d3ad;
  border-radius: 14px;
}

details {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

summary {
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

details p {
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
}

.footer-brand {
  margin: 0 0 5px;
  color: var(--brand-dark);
  font-weight: 900;
}

.footer-meta,
.footer-links {
  color: var(--muted);
  font-size: 13px;
}

.footer-meta p {
  margin: 4px 0;
}

.footer-meta a,
.footer-records a {
  color: var(--brand-dark);
  text-underline-offset: 3px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  justify-content: flex-end;
  gap: 8px 16px;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--brand);
  text-decoration: underline;
}

.footer-records {
  grid-column: 1 / -1;
  min-height: 0;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.footer-records [data-public-security] a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.public-security-icon {
  width: 20px;
  height: auto;
  flex: none;
}

.footer-records p {
  display: inline-block;
  margin: 0 8px;
}

.not-found {
  min-height: 68vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.not-found-card {
  width: min(100%, 680px);
  padding: clamp(36px, 8vw, 72px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

@media (hover: hover) {
  .button:hover {
    transform: translateY(-2px);
  }

  .card:hover,
  .plain-card:hover {
    border-color: #b9cec7;
    box-shadow: 0 18px 42px rgba(26, 57, 50, 0.09);
    transform: translateY(-3px);
  }
}

@media (max-width: 850px) {
  .hero,
  .content-grid,
  .belief-section,
  .identity-grid,
  .project-strip,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .hero-panel {
    max-width: 620px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .project-strip {
    gap: 14px;
  }

  .sticky-card {
    position: static;
  }
}

@media (max-width: 700px) {
  .header-inner,
  .page-shell,
  .footer-inner {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: 66px;
    right: 14px;
    left: 14px;
    display: none;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .site-nav[data-open="true"] {
    display: grid;
  }

  .site-nav a {
    border-radius: 10px;
  }

  .page-shell {
    padding-top: 20px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .section-intro {
    font-size: 16px;
  }

  h1 {
    font-size: clamp(38px, 13vw, 58px);
  }

  .boundary-box,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-records {
    grid-column: auto;
    text-align: left;
  }

  .footer-records p {
    display: block;
    margin: 4px 0;
  }

  .definition-list {
    grid-template-columns: 1fr;
  }

  .definition-list dt {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .definition-list dd {
    padding-top: 4px;
  }
}

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

  * {
    transition: none !important;
  }
}
