:root {
  color-scheme: light;
  --page: #f8f7f1;
  --paper: #fffdf8;
  --concrete: #edeee7;
  --ink: #202c26;
  --muted: #4f5d54;
  --green: #233a30;
  --green-dark: #192923;
  --line: #d6d9cf;
  --orange: #aa3e16;
  --warm: #ffad83;
  --shell: 1240px;
  --gutter: clamp(20px, 5vw, 66px);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--page); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

.shell {
  width: min(var(--shell), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: 10px;
  inset-inline-start: var(--gutter);
  z-index: 4;
  padding: 10px 16px;
  color: var(--paper);
  background: var(--green-dark);
  transform: translateY(-200%);
}

.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px clamp(14px, 3vw, 40px);
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 48px;
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 780;
  letter-spacing: .065em;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 clamp(9px, 3vw, 38px);
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 46px;
  padding-inline: 3px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 630;
  text-decoration: none;
  white-space: nowrap;
}

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

.site-nav a[aria-current="page"]::after {
  position: absolute;
  inset-inline: 3px;
  bottom: 1px;
  height: 2px;
  background: var(--orange);
  content: "";
}

.header-contact, .button, .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 680;
}

.header-contact {
  min-height: 44px;
  padding-inline: 14px;
  border: 1px solid #9da89e;
  border-radius: 2px;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.header-contact span { color: var(--orange); }
.header-contact:hover { border-color: var(--ink); background: var(--concrete); }
.button { min-height: 50px; padding: 8px 18px; border-radius: 2px; text-decoration: none; }
.primary-button { color: #fff; background: var(--green); }
.primary-button:hover { background: var(--green-dark); }
.primary-button span { color: var(--warm); }
.text-link { justify-content: flex-start; color: var(--green); text-underline-offset: 5px; }
.text-link:hover { color: var(--orange); }
.text-link span { text-decoration: none; color: var(--orange); }

.hero {
  padding-block: clamp(36px, 5vw, 68px);
  border-bottom: 1px solid var(--line);
}

.hero-layout, .editorial-layout, .detail-layout, .scenario-layout, .case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(26px, 6vw, 86px);
}

.hero-layout { grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: center; }
.hero-copy { min-width: 0; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  color: var(--orange);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.55;
  letter-spacing: .11em;
}

.eyebrow::before { flex: 0 0 17px; height: 2px; background: currentColor; content: ""; }

.hero h1, .page-intro h1 {
  font-weight: 780;
  line-height: 1.12;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.hero h1 { margin-top: 17px; font-size: clamp(46px, 5.3vw, 80px); }
.hero h1 span { display: block; color: var(--green); }

.lead {
  max-width: 37em;
  margin-top: 20px;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.78;
}

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 23px; }
.hero-media, .site-photo { position: relative; }

.site-photo figcaption {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  padding: 5px 9px;
  color: #fff;
  background: var(--green-dark);
  font-size: 12px;
  line-height: 1.5;
}

.hero-photo img { min-height: 430px; aspect-ratio: 1.4; object-fit: cover; object-position: 68% 50%; }

.hero-record {
  position: absolute;
  inset-inline-start: -21px;
  bottom: 22px;
  width: min(342px, 90%);
  padding: 19px 22px;
  border-inline-start: 4px solid var(--orange);
  background: var(--paper);
  box-shadow: 0 7px 23px #14251d2b;
}

.hero-record > p, .hero-record dt { color: var(--muted); font-size: 13px; line-height: 1.5; }
.hero-record h2 { margin-top: 4px; font-size: 21px; line-height: 1.4; }
.hero-record dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; border-top: 1px solid var(--line); }
.hero-record dl div { padding-top: 8px; }
.hero-record dl div + div { padding-inline-start: 16px; border-inline-start: 1px solid var(--line); }
.hero-record dd { margin-top: 1px; font-size: 27px; font-weight: 720; line-height: 1.2; font-variant-numeric: tabular-nums; }
.hero-record small { color: var(--muted); font-size: 14px; }

.section { padding-block: clamp(48px, 6.4vw, 92px); }
.section-intro .eyebrow { margin-bottom: 12px; }

.section-intro h2, .section-heading h2 {
  font-size: clamp(30px, 3.45vw, 50px);
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: -.048em;
  text-wrap: balance;
}

.section-intro p:not(.eyebrow), .section-heading p {
  max-width: 35em;
  margin-top: 15px;
  color: var(--muted);
  line-height: 1.78;
}

.section-intro .text-link { margin-top: 13px; }

.editorial-list { border-top: 1px solid #bfc8bc; }

.editorial-row {
  display: grid;
  grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
  align-items: start;
  gap: 8px 20px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}

.editorial-row h3 { font-size: 18px; line-height: 1.4; }

.editorial-row a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  text-decoration: none;
}

.editorial-row a span { flex: 0 0 auto; color: var(--orange); font-size: 15px; }
.editorial-row a:hover { text-decoration: underline; text-underline-offset: 4px; }
.editorial-row p { align-self: center; color: var(--muted); font-size: 15px; line-height: 1.7; }

.evidence { color: var(--paper); background: var(--green); }
.evidence .editorial-layout, .contact-section .editorial-layout { align-items: center; }
.evidence .section-intro p:not(.eyebrow), .contact-section .section-intro p:not(.eyebrow) { color: #d5e0d7; }
.evidence .eyebrow, .contact-section .eyebrow { color: var(--warm); }
.evidence .text-link, .contact-section .text-link, .contact-section .email-link { color: var(--paper); }
.evidence .text-link span, .contact-section .text-link span, .contact-section .email-link span { color: var(--warm); }
.evidence .text-link:hover, .contact-section .text-link:hover, .contact-section .email-link:hover { color: var(--warm); }
.evidence :focus-visible, .contact-section :focus-visible, .site-footer :focus-visible { outline-color: var(--warm); }

.evidence-board { border: 1px solid #70847a; background: #2d473c; }

.evidence-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding: 15px 17px;
  border-bottom: 1px solid #70847a;
}

.evidence-head h3 { font-size: 18px; line-height: 1.4; }
.evidence-head p { color: #d5e0d7; font-size: 13px; }
.amount-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.amount-grid li { padding: 13px clamp(9px, 1.3vw, 18px) 16px; }
.amount-grid li + li { border-inline-start: 1px solid #70847a; }
.amount-grid span { display: block; color: #e7eae4; font-size: 13px; }
.amount-grid strong { display: block; margin-top: 6px; font-size: clamp(21px, 2.6vw, 38px); font-variant-numeric: tabular-nums; }
.amount-grid small { font-size: .52em; }

.modes-section { background: var(--paper); }
.mode-list { border-top: 1px solid #bfc8bc; }
.mode-list > div { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 6px 18px; padding-block: 17px; border-bottom: 1px solid var(--line); }
.mode-list dt { font-size: 17px; font-weight: 700; line-height: 1.5; }
.mode-list dd { color: var(--muted); font-size: 15px; line-height: 1.7; }
.contact-section { color: var(--paper); background: var(--green-dark); }
.contact-box { min-width: 0; padding: 12px 0 12px 25px; border-inline-start: 1px solid #667b70; }
.contact-box h3 { color: #d5e0d7; font-size: 15px; line-height: 1.6; }
.contact-box p { max-width: 30em; color: #d5e0d7; font-size: 14px; line-height: 1.68; }

.email-link {
  display: inline-block;
  min-height: 44px;
  max-width: 100%;
  padding-block: 9px;
  font-size: clamp(16px, 2vw, 25px);
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
  text-underline-offset: 5px;
}

.site-footer { color: #d5e0d7; background: var(--green-dark); }
.footer-inner { padding-block: 22px; border-top: 1px solid #52685d; font-size: 14px; line-height: 1.6; text-align: center; }
.footer-inner p + p { margin-top: 3px; }
.icp-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; color: #e8efe9; text-underline-offset: 3px; }

.page-intro {
  padding-block: clamp(45px, 6.4vw, 88px);
  border-bottom: 1px solid var(--line);
  background: var(--concrete);
}

.page-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: end;
  gap: clamp(16px, 5.2vw, 74px);
}

.page-intro h1 { margin-top: 13px; font-size: clamp(42px, 5.05vw, 72px); }
.page-intro-layout .lead { margin-top: 0; }
.company-intro .page-intro-layout { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.company-intro h1 { font-size: clamp(30px, 4.25vw, 60px); }
.section-link { margin-top: 13px; }

.chapter-bar { border-bottom: 1px solid var(--line); background: var(--paper); }
.chapter-links { display: flex; flex-wrap: wrap; gap: 0 clamp(16px, 5vw, 70px); }

.chapter-links a {
  display: inline-flex;
  align-items: center;
  min-height: 53px;
  padding-inline: 3px;
  color: var(--green);
  font-size: 15px;
  font-weight: 690;
  text-underline-offset: 4px;
}

.chapter-links a:hover { color: var(--orange); }
.tinted { background: var(--concrete); }
.detail-section { border-bottom: 1px solid var(--line); }
.detail-layout { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: start; }

.record-panel {
  padding: clamp(18px, 2.8vw, 34px);
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  background: var(--paper);
}

.record-panel h3 { font-size: 20px; line-height: 1.4; }

.record-list {
  display: grid;
  grid-template-columns: minmax(5.1em, auto) minmax(0, 1fr);
  margin-top: 15px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.record-list dt, .record-list dd { padding-block: 10px; border-top: 1px solid var(--line); }
.record-list dt { padding-inline-end: 8px; color: var(--ink); font-weight: 700; }

.scenario-layout { grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr); align-items: center; }
.scenario-copy { grid-column: 2; grid-row: 1; }
.scenario-photo { grid-column: 1; grid-row: 1; }
.scenario-photo img { aspect-ratio: 1.52; object-fit: cover; object-position: 44% 50%; }
.case-layout { grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); }

.case-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid #bfc8bc; }

.case-step {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) max-content;
  align-items: start;
  gap: 8px 15px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}

.step-number { color: var(--orange); font-size: 15px; font-weight: 700; line-height: 1.7; font-variant-numeric: tabular-nums; }
.case-step h3 { font-size: 18px; line-height: 1.4; }
.case-step h3 + p { margin-top: 5px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.step-quantity { display: flex; flex-direction: column; align-items: end; gap: 2px; color: var(--muted); font-size: 13px; }
.step-quantity strong { color: var(--green); font-size: 23px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.step-quantity small { font-size: 13px; }

.mode-table {
  width: 100%;
  margin-top: 26px;
  border-collapse: collapse;
  table-layout: fixed;
  background: var(--paper);
  line-height: 1.65;
}

.mode-table th, .mode-table td { padding: 15px clamp(10px, 2vw, 23px); border-bottom: 1px solid var(--line); text-align: start; }
.mode-table thead { color: #fff; background: var(--green); }
.mode-table thead th:first-child { width: 22%; }
.mode-table thead th:last-child { width: 28%; }
.mode-table td { color: var(--muted); }
.mode-table td:last-child { color: var(--ink); font-weight: 660; }

.consult-steps { margin: 0; padding-inline-start: 25px; }
.consult-steps li { padding: 0 0 16px 5px; }
.consult-steps li + li { padding-top: 16px; border-top: 1px solid var(--line); }
.consult-steps li::marker { color: var(--orange); font-weight: 730; }
.consult-steps h3 { font-size: 18px; line-height: 1.4; }
.consult-steps p { margin-top: 5px; color: var(--muted); font-size: 15px; line-height: 1.7; }

.faq-list { border-top: 1px solid #bfc8bc; }
.faq-list details { border-bottom: 1px solid #bfc8bc; }
.faq-list summary { min-height: 48px; padding-block: 14px; font-weight: 680; line-height: 1.5; cursor: pointer; }
.faq-list summary:hover, .faq-list summary::marker { color: var(--orange); }
.faq-list p { padding-bottom: 16px; color: var(--muted); font-size: 15px; line-height: 1.7; }

.next-section { padding-block: clamp(30px, 5vw, 65px); border-top: 1px solid var(--line); background: var(--paper); }
.next-layout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; }
.next-layout h2 { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.35; text-wrap: balance; }

@media (max-width: 1020px) {
  .hero-photo img { min-height: 385px; }
  .amount-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .amount-grid li:nth-child(odd) { border-inline-start: 0; }
  .amount-grid li:nth-child(n + 3) { border-top: 1px solid #70847a; }
}

@media (max-width: 760px) {
  .hero-layout, .editorial-layout, .detail-layout, .scenario-layout, .case-layout,
  .page-intro-layout, .company-intro .page-intro-layout { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: clamp(43px, 9.5vw, 68px); }
  .hero-photo img { min-height: 0; aspect-ratio: 1.55; }
  .hero-record { position: relative; inset: auto; width: min(342px, calc(100% - 18px)); margin: -27px 0 0 9px; }
  .scenario-copy, .scenario-photo { grid-column: auto; grid-row: auto; }
  .editorial-row { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 10px 15px; }
  .contact-box { padding: 18px 0 0; border-inline-start: 0; border-top: 1px solid #667b70; }
}

@media (max-width: 660px) {
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; padding-top: 5px; }
  .site-nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; gap: 0; border-top: 1px solid var(--line); }
  .site-nav a { font-size: 14px; }
  .header-contact { justify-self: end; padding-inline: 9px; }
}

@media (max-width: 570px) {
  .chapter-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 8px; }
  .chapter-links a { min-height: 47px; }
  .case-step { grid-template-columns: 25px minmax(0, 1fr); gap: 6px 11px; }
  .step-quantity { grid-column: 2; flex-direction: row; align-items: baseline; gap: 8px; }
  .mode-table th, .mode-table td { padding: 11px 6px; font-size: 14px; }
  .mode-table thead th:first-child { width: 31%; }
  .mode-table thead th:last-child { width: 32%; }
  .mode-table tbody th { word-break: keep-all; }
}

@media (max-width: 365px) {
  .site-nav a { font-size: 13px; }
  .company-intro h1 { font-size: clamp(25px, 8.45vw, 30px); }
  .mode-list > div { grid-template-columns: minmax(0, 1fr); }
}
