:root {
  --ink: #1d2a2c;
  --muted: #5f6f72;
  --line: #d9e1df;
  --paper: #fbfaf7;
  --white: #ffffff;
  --teal: #1d7c74;
  --teal-dark: #0f5550;
  --copper: #b76a42;
  --mist: #edf4f2;
  --rose: #7f3f4a;
  --shadow: 0 18px 48px rgba(20, 37, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 32px;
  background: rgba(251, 250, 247, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  font-weight: 700;
}

.brand-logo {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  transform: translateY(-2px);
}

.brand-name {
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
}

.site-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 22px;
}

.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #233233;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 31, 32, 0.82), rgba(12, 31, 32, 0.48) 42%, rgba(12, 31, 32, 0.1) 78%);
}

.hero-content {
  position: relative;
  width: 100%;
  max-width: 720px;
  padding: 96px 32px 110px;
  margin-left: max(32px, calc((100vw - 1160px) / 2));
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--copper);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f2c9ab;
}

h1,
h2,
h3,
p,
li,
th,
td,
summary,
.brand-name,
.feature-card,
.process-step {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 16px;
  font-size: 30px;
  line-height: 1.25;
}

h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.35;
}

p {
  margin: 0 0 14px;
  color: var(--muted);
}

.hero-copy {
  max-width: 620px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
}

.button.secondary {
  color: var(--teal-dark);
  background: var(--white);
  border-color: var(--line);
}

.button.full {
  width: 100%;
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1160px;
  margin: -42px auto 0;
  position: relative;
  z-index: 2;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.info-strip div {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.info-strip div:last-child {
  border-right: 0;
}

.info-strip strong {
  display: block;
  margin-bottom: 6px;
}

.info-strip span {
  color: var(--muted);
}

.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 84px 32px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

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

.feature-grid.compact {
  padding-top: 8px;
}

.feature-card,
.notice-box,
.side-panel,
.checker-result,
.checker-input {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-card {
  display: block;
  min-width: 0;
  min-height: 220px;
  padding: 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(29, 124, 116, 0.45);
}

.feature-kicker {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--rose);
  font-size: 14px;
  font-weight: 700;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 40px;
  align-items: start;
}

.page-intro-grid,
.visual-section,
.text-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 36px;
  align-items: start;
}

.contact-panel {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-panel h3,
.side-panel h2 {
  margin-bottom: 14px;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 38px;
  padding-bottom: 38px;
}

.quick-facts div {
  min-width: 0;
  min-height: 126px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quick-facts strong,
.quick-facts span {
  display: block;
}

.quick-facts span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 18px;
}

.public-media {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.public-media img {
  display: block;
  width: 100%;
  height: auto;
}

.public-media figcaption {
  padding: 12px 16px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--line);
}

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

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

.image-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--white);
}

.image-grid.two .image-card img {
  aspect-ratio: 5 / 4;
  object-fit: contain;
}

.check-list {
  display: grid;
  gap: 12px;
}

.check-list div {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.check-list span,
.process-step span {
  color: var(--copper);
  font-weight: 700;
}

.muted-section {
  max-width: none;
  padding-left: max(32px, calc((100vw - 1160px) / 2 + 32px));
  padding-right: max(32px, calc((100vw - 1160px) / 2 + 32px));
  background: var(--mist);
}

.muted-section .section-heading {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 32px;
  background: #172426;
  color: var(--white);
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.74);
}

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

.page-main {
  min-height: 65vh;
}

.page-hero {
  max-width: 1160px;
  margin: 0 auto;
  padding: 84px 32px 34px;
}

.page-hero h1 {
  color: var(--ink);
  font-size: clamp(38px, 5vw, 62px);
}

.page-hero p:last-child {
  max-width: 760px;
  margin-top: 18px;
  font-size: 18px;
}

.table-section {
  padding-top: 38px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.info-table th,
.info-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.info-table th {
  width: 220px;
  color: var(--teal-dark);
  background: var(--mist);
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: 0;
}

.notice-box,
.side-panel {
  padding: 28px;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
}

.content-layout article {
  max-width: 760px;
}

.content-layout article h2 {
  margin-top: 28px;
}

.content-layout article h2:first-child {
  margin-top: 0;
}

.plain-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.plain-list li {
  margin-bottom: 8px;
}

.mini-list {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.mini-list div {
  padding: 14px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.mini-list span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

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

.process-step {
  min-width: 0;
  min-height: 210px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 38px;
}

.timeline div {
  min-height: 130px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline span {
  display: block;
  margin-bottom: 14px;
  color: var(--copper);
  font-size: 14px;
  font-weight: 700;
}

.timeline strong {
  display: block;
  font-size: 22px;
  line-height: 1.35;
}

.public-note {
  position: sticky;
  top: 96px;
}

.faq-list {
  padding-top: 38px;
}

details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

details p {
  margin-top: 12px;
}

.checker-main .page-hero {
  padding-bottom: 18px;
}

.checker-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 20px 32px 84px;
}

.checker-input,
.checker-result {
  padding: 24px;
}

label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
}

textarea {
  width: 100%;
  min-height: 320px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  color: var(--ink);
  font: inherit;
}

textarea:focus {
  outline: 3px solid rgba(29, 124, 116, 0.18);
  border-color: var(--teal);
}

.result-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  margin-bottom: 18px;
  border-radius: 8px;
  font-weight: 700;
}

.result-badge.neutral {
  background: var(--mist);
  color: var(--teal-dark);
}

.result-badge.green {
  background: #e4f5eb;
  color: #0d6a3f;
}

.result-badge.yellow {
  background: #fff3d9;
  color: #83530d;
}

.result-badge.red {
  background: #fde6e6;
  color: #9c2424;
}

.hit-list {
  padding-left: 20px;
  color: var(--muted);
}

@media (max-width: 920px) {
  .site-header {
    padding: 0 18px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 18px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-overlay {
    background: rgba(12, 31, 32, 0.68);
  }

  .hero-content {
    width: min(342px, calc(100vw - 48px));
    max-width: min(342px, calc(100vw - 48px));
    margin: 0 24px;
    padding: 84px 0 94px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .info-strip,
  .feature-grid,
  .image-grid,
  .image-grid.two,
  .split-section,
  .content-layout,
  .page-intro-grid,
  .visual-section,
  .text-columns,
  .quick-facts,
  .process,
  .timeline,
  .checker-layout {
    grid-template-columns: 1fr;
  }

  .public-note {
    position: static;
  }

  .info-strip {
    margin: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .info-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section,
  .page-hero,
  .checker-layout {
    padding-left: 22px;
    padding-right: 22px;
  }

  .muted-section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .site-footer {
    flex-direction: column;
    padding: 30px 22px;
  }

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

  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }

  .info-table th {
    border-bottom: 0;
    padding-bottom: 4px;
  }

  .info-table td {
    padding-top: 4px;
  }
}

@media (max-width: 520px) {
  .brand-logo {
    width: 32px;
    height: 32px;
    transform: translateY(-2px);
  }

  .brand-name {
    max-width: 172px;
    white-space: normal;
    font-size: 15px;
  }

  h1 {
    font-size: 34px;
    line-height: 1.16;
  }

  h2 {
    font-size: 26px;
  }

  .page-hero {
    padding-top: 70px;
  }

  .page-hero h1 {
    font-size: 29px;
    word-break: break-all;
  }

  .page-hero p:last-child {
    font-size: 16px;
    word-break: break-all;
  }

  .process-step p,
  .feature-card p {
    word-break: break-all;
  }

  .process-step,
  .feature-card {
    min-height: auto;
  }

  .hero-actions,
  .checker-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
