:root {
  color-scheme: light;
  --paper: #f7f5ef;
  --paper-strong: #fffdf8;
  --ink: #17221f;
  --muted: #68746f;
  --line: #dcded7;
  --forest: #174f43;
  --forest-deep: #0d372f;
  --mint: #d9eee5;
  --violet: #7058e8;
  --lime: #d8f47a;
  --shadow: 0 22px 70px rgba(23, 34, 31, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 2%, rgba(112, 88, 232, 0.1), transparent 28rem),
    radial-gradient(circle at 92% 15%, rgba(49, 158, 129, 0.12), transparent 30rem),
    var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--forest);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--violet);
}

.site-header {
  width: min(1120px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--violet), #34a98d);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 7px;
  height: 10px;
  background: var(--paper-strong);
  clip-path: polygon(0 100%, 35% 28%, 52% 63%, 71% 0, 100% 100%);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

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

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 480px;
  padding: 82px 0 76px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 70px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--violet);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 6.8vw, 78px);
  line-height: 1.03;
  letter-spacing: -0.06em;
}

.hero-lead {
  max-width: 700px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  padding: 10px 18px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-strong);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  border-color: var(--forest);
  background: var(--forest);
  color: #fff;
}

.trust-panel {
  position: relative;
  padding: 28px;
  border-radius: 28px;
  background: var(--forest-deep);
  color: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.trust-panel::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -90px;
  top: -95px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 244, 122, 0.3), transparent 68%);
}

.trust-panel small {
  display: block;
  margin-bottom: 16px;
  color: #b7d4ca;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.trust-panel h2 {
  margin: 0 0 23px;
  font-size: 27px;
  line-height: 1.28;
  letter-spacing: -0.04em;
}

.trust-list {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 13px;
}

.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.trust-list li::before {
  content: "✓";
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--lime);
  color: #18352d;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
}

.cards {
  padding: 12px 0 90px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  min-height: 190px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.8);
}

.card-number {
  color: var(--violet);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.card h2 {
  margin: 28px 0 9px;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.document-shell {
  padding: 50px 0 90px;
}

.document-head {
  max-width: 900px;
  margin-bottom: 34px;
}

.document-head h1 {
  font-size: clamp(39px, 5.5vw, 62px);
}

.document-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 23px;
}

.pill {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.8);
  color: var(--muted);
  font-size: 11px;
}

.summary {
  max-width: 900px;
  padding: 25px 28px;
  margin-bottom: 30px;
  border: 1px solid #bed7cd;
  border-radius: 21px;
  background: var(--mint);
}

.summary strong {
  color: var(--forest);
}

.document-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.8);
  font-size: 12px;
}

.toc b {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.toc a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  text-decoration: none;
}

.toc a:hover {
  color: var(--violet);
}

.policy {
  padding: 8px 43px 45px;
  border: 1px solid var(--line);
  border-radius: 27px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.policy section {
  padding: 33px 0;
  border-bottom: 1px solid #e9e9e4;
  scroll-margin-top: 20px;
}

.policy section:last-child {
  border-bottom: 0;
}

.policy h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.policy h3 {
  margin: 24px 0 8px;
  color: var(--forest);
  font-size: 16px;
}

.policy p,
.policy li {
  color: #4e5b56;
  font-size: 14px;
}

.policy ul {
  padding-left: 1.25em;
}

.policy li + li {
  margin-top: 7px;
}

.notice {
  padding: 16px 18px;
  margin: 18px 0;
  border-left: 3px solid var(--violet);
  border-radius: 0 12px 12px 0;
  background: #f2efff;
  color: #4a416b;
  font-size: 13px;
}

.data-table {
  width: 100%;
  margin: 16px 0;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table th,
.data-table td {
  padding: 12px 13px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: #f2f3ee;
  color: var(--ink);
  font-size: 12px;
}

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

.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 27px 0 34px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  color: var(--muted);
  font-size: 11px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: inherit;
}

.not-found {
  min-height: calc(100vh - 160px);
  display: grid;
  place-items: center;
  padding: 50px 20px;
  text-align: center;
}

.not-found h1 {
  font-size: clamp(42px, 8vw, 82px);
}

.not-found p {
  color: var(--muted);
}

@media (max-width: 840px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 56px;
  }

  .trust-panel {
    max-width: 520px;
  }

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

  .card {
    min-height: 150px;
  }

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

  .toc {
    position: static;
    display: none;
  }
}

@media (max-width: 620px) {
  .site-header {
    width: min(100% - 28px, 1120px);
    min-height: 66px;
  }

  .nav {
    gap: 13px;
  }

  .nav a:first-child {
    display: none;
  }

  .wrap,
  .footer-inner {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    min-height: auto;
    padding: 38px 0 52px;
  }

  h1 {
    font-size: 43px;
  }

  .hero-lead {
    font-size: 14px;
  }

  .document-shell {
    padding-top: 34px;
  }

  .policy {
    padding: 5px 20px 28px;
    border-radius: 20px;
  }

  .policy section {
    padding: 26px 0;
  }

  .policy h2 {
    font-size: 21px;
  }

  .data-table {
    display: block;
    overflow-x: auto;
  }

  .footer-inner {
    flex-direction: column;
  }
}

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