:root {
  --ink: #2b475c;
  --muted: #5f6f78;
  --brand: #5e8a75;
  --brand-dark: #456b59;
  --brand-soft: #eaf2ee;
  --paper: #ffffff;
  --canvas: #f5f7f6;
  --line: #dbe4df;
  --warning: #7a4f00;
  --warning-bg: #fff7df;
  --danger: #8b2d2d;
  --danger-bg: #fff0f0;
  --radius: 18px;
  --shadow: 0 14px 40px rgba(43, 71, 92, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: var(--brand-dark);
  text-underline-offset: 3px;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(94, 138, 117, 0.35);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-180%);
  border-radius: 10px;
  color: #fff;
  background: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(219, 228, 223, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  display: flex;
  width: min(1160px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--brand);
  font-size: 0.82rem;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  color: var(--brand-dark);
}

.hero {
  padding: 76px 0 48px;
  background:
    radial-gradient(circle at 92% 15%, rgba(94, 138, 117, 0.16), transparent 28%),
    radial-gradient(circle at 8% 80%, rgba(43, 71, 92, 0.1), transparent 25%);
}

.hero-inner,
.page-shell {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.25;
  text-wrap: balance;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  letter-spacing: -0.055em;
}

h2 {
  margin: 2.5rem 0 0.7rem;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  letter-spacing: -0.025em;
}

h3 {
  margin: 1.65rem 0 0.4rem;
  font-size: 1.06rem;
}

.lede {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.updated {
  display: inline-block;
  margin-top: 20px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
}

.page-shell {
  padding: 42px 0 80px;
}

.content-card,
.link-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.content-card {
  padding: clamp(24px, 5vw, 58px);
}

.content-card > :first-child {
  margin-top: 0;
}

.content-card p,
.content-card li {
  color: #425964;
}

.content-card strong {
  color: var(--ink);
}

.content-card ul,
.content-card ol {
  padding-left: 1.35rem;
}

.content-card li + li {
  margin-top: 0.45rem;
}

.toc {
  margin: 0 0 34px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--brand-soft);
}

.toc strong {
  display: block;
  margin-bottom: 7px;
}

.toc ol {
  columns: 2;
  margin: 0;
}

.toc li {
  break-inside: avoid;
}

.notice {
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid #efd995;
  border-radius: 14px;
  color: var(--warning);
  background: var(--warning-bg);
}

.notice.danger {
  border-color: #efc8c8;
  color: var(--danger);
  background: var(--danger-bg);
}

.placeholder {
  display: inline;
  padding: 1px 5px;
  border: 1px dashed #d4a23a;
  border-radius: 4px;
  color: var(--warning);
  background: var(--warning-bg);
  font-weight: 750;
}

.legal-identity {
  display: grid;
  grid-template-columns: minmax(160px, 0.45fr) minmax(0, 1fr);
  margin: 18px 0 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.legal-identity dt,
.legal-identity dd {
  margin: 0;
  padding: 12px 15px;
  border-bottom: 1px solid var(--line);
}

.legal-identity dt {
  color: var(--ink);
  background: #f3f7f5;
  font-weight: 750;
}

.legal-identity dd {
  color: #425964;
}

.legal-identity > :nth-last-child(-n + 2) {
  border-bottom: 0;
}

.table-wrap {
  margin: 18px 0 28px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--ink);
  background: #f3f7f5;
  font-size: 0.86rem;
}

td {
  color: #425964;
  font-size: 0.9rem;
}

tr:last-child td {
  border-bottom: 0;
}

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

.link-card {
  display: flex;
  min-height: 210px;
  padding: 24px;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.link-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  color: inherit;
}

.link-card h2 {
  margin: 12px 0 8px;
  font-size: 1.25rem;
}

.link-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.link-card .arrow {
  margin-top: auto;
  padding-top: 18px;
  color: var(--brand-dark);
  font-weight: 800;
}

.icon-chip {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-weight: 850;
}

.contact-card {
  margin-top: 28px;
  padding: clamp(24px, 5vw, 40px);
}

.contact-card h2 {
  margin-top: 0;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  padding: 10px 18px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--brand);
  border-radius: 999px;
  color: #fff;
  background: var(--brand);
  font-weight: 750;
  text-decoration: none;
}

.button:hover {
  color: #fff;
  background: var(--brand-dark);
}

.button.secondary {
  color: var(--brand-dark);
  background: #fff;
}

.button.secondary:hover {
  color: var(--ink);
  background: var(--brand-soft);
}

.steps {
  display: grid;
  gap: 14px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  min-height: 52px;
  padding: 12px 16px 12px 62px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  counter-increment: steps;
}

.steps li::before {
  position: absolute;
  top: 10px;
  left: 13px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--brand);
  content: counter(steps);
  font-weight: 800;
}

.site-footer {
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}

.footer-inner {
  display: flex;
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  font-size: 0.84rem;
}

.footer-inner p {
  margin: 0;
}

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

@media (max-width: 800px) {
  .nav-wrap,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-wrap {
    padding: 16px 0;
  }

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

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

  .link-card {
    min-height: 170px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .hero {
    padding: 50px 0 32px;
  }

  .toc ol {
    columns: 1;
  }

  .legal-identity {
    grid-template-columns: 1fr;
  }

  .legal-identity dt,
  .legal-identity dd {
    border-bottom: 1px solid var(--line);
  }

  .legal-identity > :nth-last-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .content-card {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .page-shell {
    width: 100%;
  }

  .page-shell > .contact-card {
    margin-right: 16px;
    margin-left: 16px;
  }
}

@media print {
  .site-header,
  .site-footer,
  .skip-link,
  .button-row,
  .toc {
    display: none;
  }

  body,
  .hero,
  .content-card {
    color: #000;
    background: #fff;
  }

  .hero {
    padding: 0 0 24px;
  }

  .page-shell,
  .hero-inner {
    width: 100%;
  }

  .page-shell {
    padding: 0;
  }

  .content-card {
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  a {
    color: #000;
    text-decoration: none;
  }
}
