*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --bg-base: #0b1120;
  --bg-soft: #0f172a;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.1);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --accent: #10b981;
  --accent-soft: rgba(16, 185, 129, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
  background:
    radial-gradient(circle at 50% 0%, #1e293b 0%, #0f172a 58%, #020617 100%);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: rgba(11, 17, 32, 0.88);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  width: min(960px, calc(100% - 40px));
  height: 56px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
}

.app-link {
  color: var(--text-muted);
  font-size: 0.875rem;
  text-decoration: none;
}

.app-link:hover {
  color: var(--text-secondary);
}

main {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 96px;
}

.hero {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 5px 11px;
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 999px;
  color: #34d399;
  background: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

h1 {
  max-width: 760px;
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.08rem;
}

.updated {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 40px;
  padding-top: 44px;
}

.content {
  min-width: 0;
}

.toc {
  align-self: start;
  position: sticky;
  top: 84px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.toc strong {
  display: block;
  margin-bottom: 10px;
  font-size: 0.85rem;
}

.toc a {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.84rem;
  text-decoration: none;
}

.toc a:hover {
  color: var(--text-secondary);
}

section {
  margin-bottom: 44px;
}

h2 {
  margin: 0 0 14px;
  font-size: 1.45rem;
  line-height: 1.3;
  letter-spacing: 0;
}

h3 {
  margin: 26px 0 10px;
  font-size: 1.05rem;
}

p {
  margin: 0 0 14px;
  color: var(--text-secondary);
}

ul, ol {
  margin: 0;
  padding-left: 20px;
  color: var(--text-secondary);
}

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

.answer-card {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.answer-card p:last-child,
.answer-card ul:last-child,
.answer-card ol:last-child {
  margin-bottom: 0;
}

.use-case-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-left: 0;
  list-style: none;
}

.use-case-list a {
  display: block;
  min-height: 100%;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  text-decoration: none;
}

.use-case-list span {
  display: block;
  margin-top: 5px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.cta {
  margin-top: 44px;
  padding: 22px;
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.08);
}

.cta a {
  display: inline-flex;
  min-height: 44px;
  margin-top: 8px;
  padding: 0 16px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--accent);
  color: #052e16;
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.84rem;
}

.site-footer__inner {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

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

@media (max-width: 760px) {
  .site-header__inner,
  main,
  .site-footer__inner {
    width: min(100% - 32px, 960px);
  }

  main {
    padding-top: 40px;
  }

  .content-grid {
    display: block;
  }

  .toc {
    position: static;
    margin-bottom: 32px;
  }

  .use-case-list {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    display: block;
  }
}
