:root {
  --bg: #f9fcff;
  --surface: #ffffff;
  --surface-soft: #f3f8ff;
  --text: #10324d;
  --muted: #4d6b84;
  --line: #d6e6f5;
  --primary: #0f77c7;
  --accent-gold: #f6b73c;
  --accent-tangerine: #f98d4a;
  --accent-seafoam: #4ac6b5;
  --accent-sky: #67b8ff;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(14, 62, 96, 0.12);
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fdfefe 0%, #f7fbff 42%, #f5fcfb 100%);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(8px);
  background: rgba(249, 252, 255, 0.9);
  border-bottom: 1px solid var(--line);
}

.header-row {
  min-height: var(--header-height);
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  inline-size: 1.3rem;
  block-size: 1.3rem;
  border-radius: 5px;
  background: linear-gradient(130deg, var(--accent-gold), var(--accent-tangerine) 45%, var(--accent-sky));
  box-shadow: 0 4px 12px rgba(30, 86, 120, 0.24);
}

.brand-text {
  font-size: 0.96rem;
}

.main-nav {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  padding: 0.45rem 0.72rem;
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  background: var(--surface);
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.nav-link:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(18, 60, 90, 0.12);
  border-color: var(--accent-sky);
}

.nav-link.is-active {
  border-color: var(--accent-tangerine);
  background: #fff7ed;
}

.nav-icon {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
}

.nav-icon svg {
  fill: currentColor;
  width: 100%;
  height: 100%;
}

.page-shell {
  padding: 1.6rem 0 3rem;
  flex: 1;
}

.hero {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(circle at 6% 10%, rgba(246, 183, 60, 0.2), transparent 30%),
    radial-gradient(circle at 84% 18%, rgba(103, 184, 255, 0.25), transparent 32%),
    linear-gradient(140deg, #ffffff, #f4faff 75%);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(1.4rem, 2.2vw, 2.4rem);
}

.eyebrow {
  display: inline-block;
  margin: 0;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.82rem;
  color: #7a4d02;
  background: #fff1cd;
}

.hero h1 {
  margin: 0.75rem 0;
  line-height: 1.2;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.cta {
  padding: 0.64rem 0.9rem;
  border-radius: 11px;
  color: #03253d;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.cta:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(26, 70, 110, 0.15);
}

.cta-core {
  background: linear-gradient(120deg, #ffe4a7, #ffd0a7);
}

.cta-build {
  background: linear-gradient(120deg, #caebff, #d7ddff);
}

.cta-state {
  background: linear-gradient(120deg, #c7f8ee, #d5edff);
}

.pillar-grid {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 2px 14px rgba(18, 60, 90, 0.08);
}

.card h2 {
  margin-top: 0;
  line-height: 1.25;
  font-size: 1.12rem;
}

.text-link {
  font-weight: 600;
}

.breadcrumbs {
  margin-bottom: 0.8rem;
  font-size: 0.92rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.32rem;
}

.crumb-sep {
  color: #8aa3b8;
}

.doc-content {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1rem, 2vw, 1.6rem);
  box-shadow: 0 3px 16px rgba(18, 60, 90, 0.07);
}

.doc-content h1,
.doc-content h2,
.doc-content h3,
.doc-content h4,
:target {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.doc-content h1 {
  position: relative;
  display: inline-block;
  margin: 0 0 1rem;
  color: #09304f;
  font-size: clamp(1.65rem, 2.6vw, 2.15rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 0 #ffffff;
  padding-bottom: 0.35rem;
}

.doc-content h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(220px, 92%);
  height: 0.23rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-tangerine), var(--accent-sky));
  box-shadow: 0 2px 10px rgba(103, 184, 255, 0.35);
}

.doc-content h2 {
  margin-top: 1.9rem;
  margin-bottom: 0.6rem;
  padding-bottom: 0.35rem;
  color: #0b4168;
  border-bottom: 2px solid #dbeefe;
  font-size: clamp(1.2rem, 2.1vw, 1.45rem);
}

.doc-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.45rem;
  color: #14567e;
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
}

.doc-content h4 {
  margin-top: 1.1rem;
  margin-bottom: 0.4rem;
  color: #1a5f86;
}

.doc-content p,
.doc-content li {
  color: #1f4864;
}

.doc-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.doc-content pre {
  position: relative;
  overflow: auto;
  border-radius: 12px;
  border: 1px solid #d6e5f6;
  background: linear-gradient(180deg, #f9fcff, #f1f7ff);
  box-shadow: inset 0 1px 0 #ffffff;
  padding-top: 0.45rem;
}

.doc-content pre code {
  color: #12344c;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: #6e8298;
}

.token.punctuation,
.token.operator {
  color: #2f5f85;
}

.token.property,
.token.tag,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
  color: #8f4a14;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
  color: #1f6f55;
}

.token.keyword,
.token.atrule,
.token.function,
.token.class-name {
  color: #215eb8;
}

.copy-code {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  border: 1px solid #c7d8ea;
  border-radius: 8px;
  padding: 0.25rem 0.5rem;
  font-size: 0.78rem;
  color: #0b2f4a;
  background: #edf6ff;
  cursor: pointer;
}

.copy-code:hover {
  background: #ddebfb;
}

.doc-content table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.table-scroll {
  overflow-x: auto;
  margin: 1rem 0;
  border: 1px solid #d7e6f6;
  border-radius: 10px;
}

.doc-content th,
.doc-content td {
  border: 1px solid #d7e6f6;
  padding: 0.55rem;
  text-align: left;
  vertical-align: top;
}

.doc-content th {
  background: #eef6ff;
}

.doc-content details {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.5rem 0.7rem;
  background: var(--surface-soft);
  margin: 0.8rem 0;
}

.doc-content summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-question-line {
  margin-top: 1rem;
  margin-bottom: 0.3rem;
  padding: 0.45rem 0.6rem;
  border-left: 4px solid var(--accent-tangerine);
  border-radius: 6px;
  background: #fff7ef;
  color: #7b3f12;
  font-weight: 700;
}

.faq-question-line strong {
  color: inherit;
}

.faq-answer-line {
  margin-top: 0.35rem;
  margin-bottom: 0.95rem;
  padding: 0.45rem 0.6rem 0.45rem 0.85rem;
  border-left: 2px solid #c8def4;
  color: #244f6d;
}

.related {
  margin-top: 1rem;
  background: #fcfdff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.95rem 1.1rem;
}

.related h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.related ul {
  margin: 0;
  padding-left: 1rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: auto;
  background:
    radial-gradient(circle at 10% 0%, rgba(103, 184, 255, 0.16), transparent 28%),
    radial-gradient(circle at 90% 0%, rgba(246, 183, 60, 0.2), transparent 28%),
    #f8fbff;
}

.footer-grid {
  min-height: 180px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1rem;
  padding: 1.15rem 0 1.3rem;
}

.footer-block {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #dceaf8;
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
}

.footer-block h2,
.footer-block h3 {
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

.footer-block h2 {
  font-size: 1.02rem;
}

.footer-block h3 {
  font-size: 0.95rem;
  color: #1f4f73;
}

.footer-block p {
  margin: 0;
  color: #3e627f;
  font-size: 0.92rem;
}

.footer-block ul {
  margin: 0;
  padding-left: 1rem;
}

@media (max-width: 820px) {
  .header-row {
    align-items: flex-start;
    padding: 0.55rem 0;
    flex-direction: column;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .brand-text {
    font-size: 0.9rem;
  }

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

