:root {
  --ink: #122033;
  --muted: #5f6f82;
  --surface: #ffffff;
  --surface-soft: #f3f8fb;
  --line: #dce7ed;
  --teal: #00a99d;
  --teal-dark: #087e78;
  --blue: #2475d0;
  --danger: #b43b45;
  --shadow: 0 20px 55px rgba(32, 73, 94, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(42, 210, 183, 0.13), transparent 28rem),
    radial-gradient(circle at 92% 12%, rgba(36, 117, 208, 0.12), transparent 30rem),
    #fbfdfe;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: var(--teal-dark);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: white;
  border-radius: 10px;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(220, 231, 237, 0.86);
  background: rgba(251, 253, 254, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1120px, calc(100% - 2rem));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 750;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 14px;
  background: linear-gradient(145deg, #23d9b1, #138ed4);
  box-shadow: 0 8px 20px rgba(22, 145, 162, 0.22);
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-links a {
  padding: 0.55rem 0.75rem;
  color: var(--muted);
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--teal-dark);
  background: rgba(0, 169, 157, 0.08);
}

.menu-button {
  display: none;
  padding: 0.6rem 0.75rem;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  padding: clamp(5rem, 11vw, 8.5rem) 0 4.5rem;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  padding: 0.4rem 0.75rem;
  color: var(--teal-dark);
  border: 1px solid rgba(0, 169, 157, 0.2);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.18;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 820px;
  margin: 1.2rem auto 1rem;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
}

.hero p {
  max-width: 660px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(38, 72, 91, 0.08);
}

.button.primary {
  border-color: transparent;
  color: white;
  background: linear-gradient(135deg, var(--teal), var(--blue));
}

.button.danger {
  border-color: rgba(180, 59, 69, 0.28);
  color: var(--danger);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1rem 0 6rem;
}

.card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.card .icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 13px;
  background: var(--surface-soft);
  font-size: 1.2rem;
}

.card h2 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.document {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  justify-content: center;
  padding: 4.5rem 0 7rem;
}

.document-nav {
  position: sticky;
  top: 105px;
}

.document-nav strong {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.document-nav a {
  display: block;
  padding: 0.36rem 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.document-main {
  min-width: 0;
}

.document-main h1 {
  margin: 0.8rem 0 0.4rem;
  font-size: clamp(2.5rem, 7vw, 4.3rem);
}

.updated {
  margin: 0 0 2.5rem;
  color: var(--muted);
}

.document-main section {
  padding-top: 1rem;
  scroll-margin-top: 90px;
}

.document-main h2 {
  margin: 2.2rem 0 0.8rem;
  font-size: 1.55rem;
}

.document-main h3 {
  margin: 1.4rem 0 0.35rem;
  font-size: 1.08rem;
}

.document-main p,
.document-main li {
  color: #405269;
}

.document-main li + li {
  margin-top: 0.45rem;
}

.notice {
  margin: 1.5rem 0;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--teal);
  border-radius: 0 14px 14px 0;
  background: rgba(0, 169, 157, 0.07);
}

.notice.warning {
  border-left-color: #d78a19;
  background: rgba(215, 138, 25, 0.08);
}

.contact-box {
  margin: 2rem 0;
  padding: clamp(1.3rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

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

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(243, 248, 251, 0.78);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

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

@media (max-width: 800px) {
  .menu-button {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    inset: 71px 1rem auto;
    flex-direction: column;
    align-items: stretch;
    padding: 0.7rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

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

  .document {
    display: block;
    padding-top: 3rem;
  }

  .document-nav {
    display: none;
  }

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

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

