:root {
  --bg: #f4f5fa;
  --card: rgba(255,255,255,0.84);
  --card-solid: #fff;
  --text: #08080a;
  --muted: #737680;
  --line: rgba(0,0,0,0.08);
  --blue: #0A84FF;
  --orange: #ff8a24;
  --black: #111114;
  --radius: 32px;
  --shadow: 0 24px 80px rgba(20,25,40,0.13);
  --shadow-soft: 0 14px 42px rgba(20,25,40,0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Segoe UI, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(10,132,255,0.14), transparent 32%),
    radial-gradient(circle at 100% 8%, rgba(255,138,36,0.14), transparent 28%),
    var(--bg);
}

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

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 26px;
}

.nav {
  position: sticky;
  top: 14px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  margin-bottom: 72px;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(28px);
  box-shadow: var(--shadow-soft);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: white;
  background: linear-gradient(135deg, var(--blue), #005fcc);
  box-shadow: 0 12px 30px rgba(10,132,255,0.32);
}

.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  padding: 10px 13px;
  border-radius: 999px;
}

.nav-links a:hover {
  background: rgba(0,0,0,0.055);
}

.cta {
  color: white !important;
  background: var(--black);
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--orange);
  background: rgba(255,138,36,0.12);
  border: 1px solid rgba(255,138,36,0.25);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero {
  max-width: 900px;
  margin-bottom: 48px;
}

h1 {
  margin: 22px 0 16px;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  letter-spacing: -0.055em;
}

h3 {
  margin: 0 0 9px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

p,
li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

p {
  margin: 0;
}

ul {
  margin: 16px 0 0;
  padding-left: 22px;
}

li + li {
  margin-top: 8px;
}

.hero p {
  max-width: 760px;
  font-size: 22px;
}

.content-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}

.panel {
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
}

.toc {
  position: sticky;
  top: 104px;
  padding: 22px;
}

.toc strong {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.toc a {
  display: block;
  padding: 9px 0;
  color: #3d414a;
  font-weight: 750;
}

.document {
  padding: 38px;
  background: var(--card-solid);
}

.notice {
  margin-bottom: 28px;
  padding: 18px 20px;
  border-radius: 22px;
  color: #204266;
  background: rgba(10,132,255,0.1);
  border: 1px solid rgba(10,132,255,0.18);
}

.notice strong {
  display: block;
  margin-bottom: 4px;
}

.section {
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.section:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.meta {
  color: #3f434d;
  font-size: 15px;
  font-weight: 800;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill {
  padding: 8px 12px;
  border-radius: 999px;
  color: #2f333a;
  background: rgba(0,0,0,0.06);
  font-size: 13px;
  font-weight: 900;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.resource-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.resource-card p {
  font-size: 16px;
}

.code-line {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 16px;
  color: #2e333c;
  background: rgba(0,0,0,0.045);
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.45;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 850;
  border: 1px solid var(--line);
  background: white;
}

.button.primary {
  color: white;
  background: var(--blue);
  border-color: transparent;
  box-shadow: 0 16px 36px rgba(10,132,255,0.28);
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 70px 0 60px;
  margin-top: 72px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 18px;
  font-weight: 750;
}

@media (max-width: 940px) {
  .page {
    padding: 18px;
  }

  .nav-links {
    display: none;
  }

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

  .toc {
    position: static;
  }

  .document {
    padding: 26px;
  }

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