:root {
  --ink: #17182a;
  --muted: #66707d;
  --line: #dfe4ea;
  --soft: #f3f8fa;
  --panel: #ffffff;
  --teal: #0aa0b8;
  --teal-dark: #006477;
  --cyan: #c9f5fb;
  --amber: #f49a1d;
  --green: #16c799;
  --coral: #ff6f61;
  --shadow: 0 24px 70px rgba(17, 24, 39, .13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 10%, rgba(201, 245, 251, .8), transparent 30%),
    radial-gradient(circle at 92% 2%, rgba(244, 154, 29, .16), transparent 28%),
    #f7fafc;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.56;
}

a {
  color: var(--teal-dark);
  text-decoration: none;
  font-weight: 800;
}

a:hover {
  text-decoration: underline;
}

.page-shell {
  min-height: 100vh;
}

.nav {
  position: sticky;
  z-index: 10;
  top: 14px;
  width: min(1120px, calc(100% - 28px));
  margin: 14px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 32px rgba(11, 45, 61, .12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--teal-dark);
  font-weight: 900;
  font-size: 19px;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #40505c;
  font-size: 14px;
}

.nav-links a {
  color: #40505c;
  font-weight: 800;
}

.hero {
  width: min(1120px, calc(100% - 28px));
  margin: 36px auto 24px;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 36px;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: #fff;
  box-shadow: var(--shadow);
}

.kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .9);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.hero h1 {
  max-width: 780px;
  margin: 18px 0 12px;
  font-size: clamp(40px, 8vw, 78px);
  line-height: .96;
  letter-spacing: 0;
}

.hero p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(18px, 2.4vw, 24px);
}

.content {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto 44px;
  display: grid;
  grid-template-columns: minmax(0, 270px) minmax(0, 1fr);
  gap: 22px;
}

.toc,
.card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 44px rgba(17, 24, 39, .07);
}

.toc {
  position: sticky;
  top: 92px;
  align-self: start;
  padding: 18px;
}

.toc strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
}

.toc a {
  display: block;
  padding: 9px 0;
  color: var(--muted);
  font-weight: 800;
}

.card {
  padding: clamp(22px, 4vw, 38px);
}

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

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

.section h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.08;
}

.section h3 {
  margin: 20px 0 8px;
  color: var(--ink);
  font-size: 20px;
}

.section p,
.section li {
  color: var(--muted);
  font-size: 17px;
}

.section ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.notice {
  margin: 0 0 22px;
  padding: 16px 18px;
  border: 1px solid rgba(10, 160, 184, .28);
  border-radius: 18px;
  background: rgba(201, 245, 251, .42);
  color: #31515c;
}

.warning {
  border-color: rgba(255, 111, 97, .28);
  background: rgba(255, 111, 97, .08);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: #40505c;
  font-weight: 900;
  font-size: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(10, 160, 184, .25);
}

.button:hover {
  text-decoration: none;
  background: var(--teal-dark);
}

.footer {
  padding: 36px 20px;
  background: #101321;
  color: rgba(255, 255, 255, .7);
}

.footer-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer strong,
.footer a {
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    border-radius: 24px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    border-radius: 28px;
  }

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

  .toc {
    position: static;
  }
}
