:root {
  --bg: #ffffff;
  --text: #111418;
  --muted: #525b66;
  --soft: #f7f8f8;
  --soft-strong: #eef2f2;
  --line: #d9dee3;
  --accent: #005a60;
  --accent-strong: #003f44;
  --warm: #8a5a2b;
  --success: #2e6f4e;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

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

img {
  display: block;
  max-width: 100%;
}

p,
h1,
h2,
h3 {
  overflow-wrap: anywhere;
}

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

.nav {
  width: min(100% - 48px, var(--max));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  font-size: 18px;
  font-weight: 720;
  line-height: 1;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 18px 24px;
  color: #1c232b;
  font-size: 14px;
  font-weight: 620;
}

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

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  color: var(--accent);
  border-color: var(--accent);
}

.nav-mail {
  color: var(--accent);
}

.email-link {
  white-space: nowrap;
}

.main {
  overflow: hidden;
}

.section {
  border-bottom: 1px solid var(--line);
}

.section-soft {
  background: var(--soft);
}

.section-inner {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
}

.hero {
  min-height: min(620px, calc(100svh - 116px));
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1.04fr);
  align-items: center;
  gap: clamp(40px, 6vw, 86px);
  padding: clamp(56px, 8vh, 84px) 0 clamp(48px, 7vh, 70px);
}

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

h1 {
  margin: 0;
  max-width: 760px;
  color: #080a0c;
  font-size: clamp(39px, 4.5vw, 58px);
  line-height: 1.12;
  font-weight: 820;
}

.lead {
  max-width: 610px;
  margin: 28px 0 0;
  color: #27313b;
  font-size: 18px;
  line-height: 1.86;
}

.hero-actions,
.section-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: #ffffff;
  font-size: 15px;
  font-weight: 680;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(0, 90, 96, 0.12);
}

.button:hover,
.button:focus-visible {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.button-secondary {
  background: #ffffff;
  color: var(--accent);
  box-shadow: none;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--soft-strong);
  color: var(--accent-strong);
}

.button svg,
.inline-link svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.availability {
  max-width: 300px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.hero-visual {
  position: relative;
  min-width: 0;
  aspect-ratio: 705 / 528;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.page-hero {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.62fr);
  gap: clamp(36px, 6vw, 78px);
  align-items: end;
  padding: clamp(58px, 8vh, 86px) 0 clamp(42px, 6vh, 62px);
}

.page-hero h1 {
  max-width: 790px;
  font-size: clamp(36px, 4vw, 54px);
}

.page-hero .lead {
  margin-top: 24px;
}

.page-note {
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 18px;
  color: #39434d;
  font-size: 15px;
  line-height: 1.76;
}

.block {
  padding: clamp(38px, 5.8vw, 64px) 0;
}

.block-tight {
  padding: 34px 0 38px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(280px, 0.62fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin: 0;
  color: #101418;
  font-size: clamp(25px, 2.8vw, 34px);
  line-height: 1.22;
  font-weight: 780;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.82;
}

.focus-grid,
.three-grid,
.two-grid {
  display: grid;
  gap: clamp(28px, 4.6vw, 62px);
}

.focus-grid,
.three-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.focus-item,
.plain-item {
  min-width: 0;
}

.focus-item h2,
.plain-item h3,
.content-card h3,
.relationship-card h3 {
  margin: 0;
  color: #101418;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 760;
}

.plain-item h3,
.content-card h3,
.relationship-card h3 {
  font-size: 18px;
}

.rule {
  width: 36px;
  height: 2px;
  margin: 13px 0 17px;
  background: var(--accent);
}

.focus-item p,
.plain-item p,
.content-card p,
.relationship-card p {
  margin: 0;
  color: #303942;
  font-size: 15px;
  line-height: 1.78;
}

.open-panel {
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.open-cell {
  min-width: 0;
  padding: 22px 24px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.open-cell h3 {
  margin: 0 0 8px;
  color: #12171d;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 720;
}

.open-cell p,
.open-cell li {
  margin: 0;
  color: #4a535d;
  font-size: 14px;
  line-height: 1.76;
}

.open-cell ul,
.check-list,
.compact-list {
  margin: 0;
  padding-left: 18px;
}

.open-cell li + li,
.check-list li + li,
.compact-list li + li {
  margin-top: 8px;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.step {
  min-width: 0;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.step-number {
  display: block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 760;
  line-height: 1;
  margin-bottom: 18px;
}

.step h3 {
  margin: 0 0 9px;
  font-size: 17px;
  line-height: 1.38;
}

.step p {
  margin: 0;
  color: #4a535d;
  font-size: 14px;
  line-height: 1.76;
}

.report-shell {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.report-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.report-header h2,
.report-header h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.35;
}

.report-header p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.status-mark {
  align-self: flex-start;
  white-space: nowrap;
  color: var(--success);
  font-size: 13px;
  font-weight: 760;
}

.report-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
}

.report-section {
  min-width: 0;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.report-section:nth-child(2n) {
  border-right: 0;
}

.report-section h3 {
  margin: 0 0 13px;
  font-size: 16px;
  line-height: 1.45;
}

.report-section p,
.report-section li {
  color: #4a535d;
  font-size: 14px;
  line-height: 1.76;
}

.report-section p {
  margin: 0;
}

.metric-row,
.evidence-row {
  display: grid;
  grid-template-columns: minmax(92px, 0.36fr) minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.metric-row:first-child,
.evidence-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.metric-key {
  color: #1d252d;
  font-size: 13px;
  font-weight: 720;
}

.metric-value {
  color: #4a535d;
  font-size: 14px;
  line-height: 1.68;
}

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

.content-card,
.relationship-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 22px;
}

.content-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.content-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 620;
}

.content-card p {
  margin-top: 12px;
}

.content-card .inline-link {
  margin-top: auto;
  padding-top: 24px;
}

.article-layout {
  max-width: 840px;
  padding: clamp(54px, 7vw, 82px) 0 clamp(46px, 6vw, 70px);
}

.article-header {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.article-header .content-meta {
  margin-bottom: 16px;
}

.article-body {
  padding-top: 32px;
}

.article-body h2 {
  margin: 34px 0 12px;
  color: #101418;
  font-size: 24px;
  line-height: 1.28;
}

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

.article-body p,
.article-body li {
  color: #303942;
  font-size: 16px;
  line-height: 1.86;
}

.article-body p {
  margin: 0 0 18px;
}

.article-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 720;
}

.inline-link:hover,
.inline-link:focus-visible {
  color: var(--accent-strong);
}

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

.relationship-card h3 {
  margin-bottom: 12px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #3f4954;
  background: var(--soft);
  font-size: 12px;
  font-weight: 680;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.58fr);
  gap: clamp(30px, 5vw, 68px);
  align-items: start;
  padding: clamp(42px, 6vw, 68px) 0;
}

.contact-band h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.22;
}

.contact-band p {
  margin: 18px 0 0;
  color: #39434d;
  line-height: 1.82;
}

.mail-block {
  border-left: 2px solid var(--accent);
  padding-left: 20px;
}

.mail-block a {
  color: var(--accent);
  font-size: 20px;
  font-weight: 760;
}

.inquiry-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: clamp(20px, 3vw, 28px);
}

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

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin-bottom: 18px;
}

.field span {
  color: #1c232b;
  font-size: 14px;
  font-weight: 720;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
}

.field input {
  min-height: 44px;
  padding: 0 12px;
}

.field textarea {
  min-height: 120px;
  padding: 11px 12px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid rgba(0, 90, 96, 0.18);
  outline-offset: 2px;
  border-color: var(--accent);
}

.field textarea::placeholder,
.field input::placeholder {
  color: #79838e;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile-slot {
  min-height: 74px;
  margin: 2px 0 18px;
}

.form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.form-status {
  margin: 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.68;
}

.form-status[data-state="ready"],
.form-status[data-state="success"] {
  color: var(--success);
}

.form-status[data-state="error"] {
  color: #9a3412;
}

.button:disabled {
  cursor: not-allowed;
  border-color: #a8b2bc;
  background: #a8b2bc;
  box-shadow: none;
}

.footer {
  background: var(--soft);
}

.footer-inner {
  width: min(100% - 48px, var(--max));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #343c45;
  font-size: 13px;
}

.footer a {
  color: var(--accent);
  font-weight: 620;
}

@media (max-width: 1040px) {
  .relationship-grid,
  .step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .field-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 920px) {
  .nav,
  .section-inner,
  .footer-inner {
    width: min(100% - 32px, var(--max));
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 14px 0;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 10px 18px;
  }

  .nav-links {
    font-size: 13px;
  }

  .hero,
  .page-hero,
  .section-heading,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 32px;
    padding: 46px 0 38px;
  }

  h1 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .lead {
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.78;
  }

  .hero-visual {
    max-width: 640px;
    margin: 0 auto;
  }

  .focus-grid,
  .three-grid,
  .two-grid,
  .report-grid {
    grid-template-columns: 1fr;
  }

  .report-section,
  .report-section:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .brand {
    font-size: 16px;
  }

  .hero-actions,
  .section-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 13px;
  }

  .button {
    width: 100%;
  }

  .availability {
    max-width: none;
  }

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

  .article-footer,
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .open-cell,
  .step,
  .report-header,
  .report-section,
  .content-card,
  .relationship-card {
    padding: 20px 18px 22px;
  }

  .report-header {
    flex-direction: column;
  }

  .metric-row,
  .evidence-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }
}
