:root {
  --bg: #f4f1e8;
  --bg-raised: #fffcf6;
  --sand: #e8e1d2;
  --ink: #16231e;
  --ink-soft: #3e5148;
  --muted: #5d6e66;
  --line: rgba(22, 35, 30, 0.12);
  --forest: #14241f;
  --forest-2: #1c332b;
  --persimmon: #c4512c;
  --persimmon-dark: #a34122;
  --mist: #f4f0e6;
  --header: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--persimmon);
}

:focus-visible {
  outline: 2px solid var(--persimmon);
  outline-offset: 3px;
}

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.35;
  font-weight: 600;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(36px, 5vw, 58px);
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(26px, 3vw, 36px);
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.kicker {
  margin: 0 0 8px;
  color: var(--persimmon);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.lead {
  max-width: 40em;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  background: rgba(244, 241, 232, 0.94);
  border-top: 3px solid var(--persimmon);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--forest);
  border-radius: 50%;
  position: relative;
  flex: none;
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 9px;
  height: 1.5px;
  background: var(--persimmon);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 18px;
  font-weight: 700;
}

.brand-text small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 8px 12px;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 15px;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
}

.site-nav a.is-active {
  box-shadow: inset 0 -2px 0 var(--persimmon);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
}

.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(196, 81, 44, 0.18), transparent 60%),
    linear-gradient(180deg, #183028 0%, var(--forest) 100%);
  color: var(--mist);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 48px;
  align-items: end;
  padding: 72px 0 64px;
}

.hero .kicker,
.page-hero .kicker {
  color: #e7b089;
}

.hero h1 {
  max-width: 10em;
  color: #f7f3ea;
}

.hero .lead {
  color: #d5ddd7;
  margin: 8px 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  background: var(--persimmon);
  color: #fff;
  text-decoration: none;
  border: 1px solid var(--persimmon);
  font-size: 15px;
}

.btn:hover {
  background: var(--persimmon-dark);
  border-color: var(--persimmon-dark);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--mist);
  border-color: rgba(244, 240, 230, 0.4);
}

.btn-ghost:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-dark {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}

.btn-dark:hover {
  background: #0e1b17;
  border-color: #0e1b17;
  color: #fff;
}

.scope {
  margin: 0;
  padding: 6px 26px;
  list-style: none;
  border: 1px solid rgba(244, 240, 230, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

.scope li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(244, 240, 230, 0.12);
  font-size: 15px;
}

.scope li:last-child {
  border-bottom: 0;
}

.scope span {
  color: #e7b089;
  font-variant-numeric: tabular-nums;
}

.info-band {
  background: var(--sand);
  border-bottom: 1px solid var(--line);
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto;
  padding: 0;
}

.facts div {
  padding: 22px 0 22px 22px;
  border-left: 1px solid var(--line);
}

.facts div:first-child {
  border-left: 0;
  padding-left: 0;
}

.facts dt {
  color: var(--muted);
  font-size: 13px;
}

.facts dd {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 600;
}

.section {
  padding: 80px 0;
}

.section-head {
  max-width: 40em;
  margin-bottom: 36px;
}

.section-head p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.service-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.service-list .num {
  color: var(--persimmon);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}

.service-list h3 {
  margin-bottom: 6px;
}

.service-list p,
.split p,
.scene p,
.step p,
.note p,
.prose p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.band {
  background: var(--sand);
}

.statement {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.statement q {
  display: block;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.45;
  font-weight: 600;
  color: var(--ink);
}

.statement q::before,
.statement q::after {
  content: "";
}

.scene-grid,
.step-grid,
.card-grid,
.split,
.footer-grid {
  display: grid;
  gap: 18px;
}

.scene-grid,
.card-grid {
  grid-template-columns: 1fr 1fr;
}

.scene,
.card,
.step {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  padding: 26px 24px 28px;
}

.scene h3,
.card h3,
.step h3 {
  margin-top: 8px;
}

.step-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.step {
  background: transparent;
  padding: 0 16px 0 0;
  border: 0;
  border-top: 2px solid var(--forest);
}

.step .num {
  display: block;
  margin-top: 14px;
  color: var(--persimmon);
  font-size: 13px;
  font-weight: 700;
}

.cta {
  background: var(--forest);
  color: var(--mist);
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.cta h2 {
  margin-bottom: 8px;
  color: #f7f3ea;
}

.cta p {
  margin: 0;
  max-width: 38em;
  color: #c9d4ce;
}

.page-hero {
  padding: 64px 0 12px;
}

.page-hero h1 {
  max-width: 14em;
}

.page-hero .lead {
  margin-top: 8px;
}

.prose {
  max-width: 46em;
}

.prose p + p {
  margin-top: 16px;
}

.split {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 48px;
  align-items: start;
}

.fact-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-raised);
  border: 1px solid var(--line);
}

.fact-table th,
.fact-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.fact-table tr:last-child th,
.fact-table tr:last-child td {
  border-bottom: 0;
}

.fact-table th {
  width: 34%;
  font-weight: 600;
  color: var(--ink);
  background: #f7f3ea;
}

.fact-table td {
  color: var(--ink-soft);
}

.mail {
  overflow-wrap: break-word;
}

.fact-table .mail,
.lead .mail {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.cta .mail {
  color: #f7f3ea;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.principles {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.principles li {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.principles li:last-child {
  border-bottom: 1px solid var(--line);
}

.principles strong {
  display: block;
  margin-bottom: 4px;
}

.card-grid {
  gap: 16px;
}

.card .index {
  color: var(--persimmon);
  font-size: 13px;
  font-weight: 700;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 12px 0 12px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 7px;
  height: 7px;
  background: var(--persimmon);
}

.site-footer {
  background: var(--forest);
  color: #d5ddd8;
}

.footer-grid {
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  padding: 42px 0 28px;
}

.footer-name {
  display: block;
  margin-bottom: 8px;
  color: #f7f3ea;
  font-size: 18px;
}

.site-footer a {
  color: #f4f0e6;
  text-decoration: none;
}

.site-footer a:hover {
  color: #e7b089;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-meta p {
  margin: 0 0 6px;
}

.beian {
  padding: 4px 16px 28px;
  text-align: center;
  font-size: 14px;
}

.beian a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (max-width: 900px) {
  .hero-grid,
  .facts,
  .statement,
  .scene-grid,
  .card-grid,
  .step-grid,
  .split,
  .footer-grid,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .facts div,
  .facts div:first-child {
    padding: 16px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .facts div:first-child {
    border-top: 0;
  }

  .step {
    padding-bottom: 8px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
    background: #f7f4ee;
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 8px;
    border-bottom: 1px solid var(--line);
  }

  .hero-grid,
  .section,
  .page-hero {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .page-hero {
    padding-bottom: 8px;
  }
}

@media (max-width: 600px) {
  .wrap {
    width: min(1120px, calc(100% - 32px));
  }

  .fact-table,
  .fact-table tbody,
  .fact-table tr,
  .fact-table th,
  .fact-table td {
    display: block;
    width: 100%;
  }

  .fact-table th {
    padding-bottom: 0;
    background: transparent;
  }

  .fact-table td {
    padding-top: 2px;
  }

  .brand-text small {
    display: none;
  }

  .service-list li {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  h1 {
    font-size: 34px;
  }
}
