:root {
  color-scheme: dark;
  --bg: #07090d;
  --bg-elevated: #0c1017;
  --bg-panel: #111723;
  --bg-panel-strong: #151d2b;
  --line: #253041;
  --line-soft: rgba(148, 163, 184, 0.18);
  --text: #e6edf3;
  --text-strong: #ffffff;
  --muted: #9aa7b7;
  --muted-strong: #c3ccd7;
  --green: #48d597;
  --green-soft: rgba(72, 213, 151, 0.12);
  --cyan: #6dd8f6;
  --cyan-soft: rgba(109, 216, 246, 0.12);
  --amber: #f5c36b;
  --amber-soft: rgba(245, 195, 107, 0.12);
  --red: #fb7185;
  --violet: #a7a2ff;
  --shadow: 0 30px 100px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --radius-small: 6px;
  --shell: 1180px;
  --mono: "SFMono-Regular", "Cascadia Code", "Liberation Mono", Menlo, Consolas, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--bg);
  background-size: 48px 48px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 18% 8%, rgba(72, 213, 151, 0.08), transparent 26rem),
    radial-gradient(circle at 82% 24%, rgba(109, 216, 246, 0.07), transparent 30rem);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

p,
h1,
h2,
h3,
dl,
dd,
ol,
ul,
pre {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

li {
  list-style: none;
}

pre,
code {
  font-family: var(--mono);
}

img,
svg {
  max-width: 100%;
}

code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.shell {
  width: min(100% - 40px, var(--shell));
  margin: 0 auto;
}

.section {
  padding: 104px 0;
  scroll-margin-top: 88px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 14px max(20px, calc((100vw - var(--shell)) / 2));
  border-bottom: 1px solid transparent;
  background: rgba(7, 9, 13, 0.72);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease;
}

main {
  padding-top: 67px;
}

.site-header.is-scrolled {
  border-color: var(--line-soft);
  background: rgba(7, 9, 13, 0.9);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--text-strong);
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(72, 213, 151, 0.55);
  border-radius: var(--radius-small);
  background:
    linear-gradient(90deg, transparent 46%, rgba(72, 213, 151, 0.55) 46%, rgba(72, 213, 151, 0.55) 54%, transparent 54%),
    linear-gradient(transparent 46%, rgba(109, 216, 246, 0.55) 46%, rgba(109, 216, 246, 0.55) 54%, transparent 54%),
    #0d141f;
  box-shadow: 0 0 22px rgba(72, 213, 151, 0.18);
}

.nav {
  display: flex;
  gap: 4px;
  justify-content: center;
  align-items: center;
}

.nav a,
.site-footer nav a {
  border-radius: var(--radius-small);
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  transition: color 160ms ease, background 160ms ease;
}

.nav a {
  padding: 10px 12px;
}

.nav a:hover,
.nav a.is-active,
.site-footer nav a:hover {
  color: var(--text-strong);
  background: rgba(255, 255, 255, 0.055);
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius-small);
  padding: 0 18px;
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  border-color: rgba(72, 213, 151, 0.65);
  background: linear-gradient(180deg, #58e4a6, #35bc82);
  color: #06100b;
  box-shadow: 0 14px 36px rgba(72, 213, 151, 0.18);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-strong);
}

.button-secondary:hover {
  border-color: rgba(109, 216, 246, 0.45);
  background: rgba(109, 216, 246, 0.08);
}

.button-ghost-green {
  border-color: rgba(72, 213, 151, 0.55);
  background: transparent;
  color: var(--green);
}

.button-ghost-green:hover {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--text-strong);
}

.cta-subtle {
  margin-top: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.cta-subtle a {
  color: var(--green);
}

.button-small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.85rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 86px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(500px, 1fr);
  gap: 48px;
  align-items: center;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--text-strong);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.03;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 5.4vw, 5.15rem);
}

h2 {
  max-width: 820px;
  font-size: clamp(2.15rem, 4.2vw, 4rem);
}

h3 {
  font-size: 1.1rem;
  line-height: 1.25;
}

.hero-lede {
  max-width: 610px;
  margin-top: 26px;
  color: var(--muted-strong);
  font-size: 1.13rem;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 560px;
  margin-top: 38px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--line-soft);
}

.hero-metrics div {
  padding: 14px;
  background: rgba(12, 16, 23, 0.82);
}

.hero-metrics dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.hero-metrics dd {
  margin-top: 4px;
  color: var(--text-strong);
  font-size: 0.86rem;
  font-weight: 700;
}

.runtime-console,
.code-window,
.architecture-diagram {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 16, 23, 0.84);
  box-shadow: var(--shadow);
}

.runtime-console {
  overflow: hidden;
}

.console-toolbar,
.panel-heading {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line-soft);
  padding: 0 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.74rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 16px rgba(72, 213, 151, 0.75);
}

.console-toolbar .latency-badge {
  margin-left: auto;
}

.latency-badge,
.panel-state,
.plan-label {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(72, 213, 151, 0.26);
  border-radius: 999px;
  padding: 4px 8px;
  background: var(--green-soft);
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

.console-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
}

.config-panel,
.request-panel {
  min-width: 0;
}

.config-panel {
  border-right: 1px solid var(--line-soft);
}

.panel-heading {
  background: rgba(255, 255, 255, 0.02);
}

.panel-state-live {
  border-color: rgba(109, 216, 246, 0.28);
  background: var(--cyan-soft);
  color: var(--cyan);
}

pre {
  overflow: auto;
  padding: 20px;
  color: #c7d2e1;
  font-size: 0.78rem;
  line-height: 1.7;
  tab-size: 2;
}

.flow-rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 18px;
}

.flow-node {
  display: flex;
  min-width: 0;
  min-height: 74px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted-strong);
  font-family: var(--mono);
  font-size: 0.72rem;
  overflow-wrap: anywhere;
  text-align: center;
}

.request-panel .flow-rail {
  grid-template-columns: 1fr;
}

.request-panel .flow-arrow {
  width: 1px;
  height: 16px;
  margin: 0 auto;
}

.request-panel .flow-arrow::after {
  margin-top: auto;
  margin-left: -3px;
  transform: rotate(135deg);
}

.request-panel pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.flow-node-active {
  border-color: rgba(72, 213, 151, 0.5);
  background: var(--green-soft);
  color: var(--text-strong);
}

.flow-arrow,
.mini-diagram i {
  width: 22px;
  height: 1px;
  background: var(--line);
}

.flow-arrow::after,
.mini-diagram i::after {
  display: block;
  width: 7px;
  height: 7px;
  margin-top: -3px;
  margin-left: auto;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  content: "";
  transform: rotate(45deg);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 64px;
  align-items: start;
}

.problem {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(12, 16, 23, 0.44);
}

.problem-copy {
  display: grid;
  gap: 18px;
  color: var(--muted-strong);
  font-size: 1.05rem;
}

.apple-access {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(12, 16, 23, 0.36);
}

.access-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: 32px;
  align-items: center;
  border: 1px solid rgba(72, 213, 151, 0.2);
  border-radius: var(--radius);
  padding: 28px;
  background:
    linear-gradient(120deg, rgba(72, 213, 151, 0.08), rgba(12, 16, 23, 0.74)),
    rgba(12, 16, 23, 0.78);
}

.access-copy p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 18px;
  color: var(--muted-strong);
  font-size: 1.03rem;
}

.access-actions {
  display: grid;
  gap: 10px;
}

.resource-link {
  display: grid;
  min-width: 0;
  gap: 4px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-small);
  padding: 16px;
  background: rgba(7, 9, 13, 0.54);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.resource-link:hover {
  border-color: rgba(72, 213, 151, 0.42);
  background: rgba(72, 213, 151, 0.08);
  transform: translateY(-1px);
}

.resource-link span {
  color: var(--text-strong);
  font-weight: 750;
}

.resource-link small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  overflow-wrap: anywhere;
}

.resource-link-primary {
  border-color: rgba(72, 213, 151, 0.4);
  background: var(--green-soft);
}

.section-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 36px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card,
.audience-grid article,
.price-card,
.screenshot-note,
details {
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(12, 16, 23, 0.64);
}

.feature-card {
  min-height: 284px;
  padding: 24px;
}

.feature-card-wide {
  grid-column: span 2;
}

.feature-index {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--amber);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.feature-card p,
.audience-grid p,
.price-card li,
.faq-list p,
details li,
.screenshot-note p {
  color: var(--muted);
}

.feature-card p {
  margin-top: 14px;
}

.mini-diagram {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) auto minmax(0, 1fr) auto minmax(0, 1.2fr);
  gap: 10px;
  align-items: center;
  margin-top: 22px;
}

.mini-diagram span {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
  font-family: var(--mono);
  font-size: 0.72rem;
  text-align: center;
}

.architecture {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(12, 16, 23, 0.36), rgba(12, 16, 23, 0.68));
}

.architecture-grid,
.experiment-grid,
.screenshot-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: 56px;
  align-items: center;
}

.architecture-copy p,
.experiment-grid p,
.final-cta p {
  max-width: 650px;
  margin-top: 20px;
  color: var(--muted-strong);
  font-size: 1.03rem;
}

.architecture-diagram {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.arch-node {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  padding: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.arch-node span {
  color: var(--text-strong);
  font-weight: 700;
}

.arch-node small {
  color: var(--muted);
  font-family: var(--mono);
}

.arch-node-strong {
  border-color: rgba(72, 213, 151, 0.35);
  background: var(--green-soft);
}

.arch-line {
  width: 1px;
  height: 26px;
  margin-left: 22px;
  background: var(--line);
}

.arch-publish {
  width: max-content;
  margin-left: 22px;
  border: 1px solid rgba(245, 195, 107, 0.25);
  border-radius: 999px;
  padding: 3px 9px;
  background: var(--amber-soft);
  color: var(--amber);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
}

.experiments {
  overflow: hidden;
}

.code-window {
  overflow: hidden;
}

.copy-button {
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.72rem;
}

.copy-button:hover {
  border-color: rgba(109, 216, 246, 0.45);
  color: var(--text-strong);
}

.workflow {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(12, 16, 23, 0.36);
}

.workflow-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--line-soft);
}

.workflow-list li {
  display: grid;
  grid-template-columns: 0.48fr 1fr;
  gap: 22px;
  padding: 18px;
  background: rgba(12, 16, 23, 0.86);
}

.workflow-list span {
  color: var(--text-strong);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 700;
}

.workflow-list p {
  color: var(--muted);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

details {
  overflow: hidden;
}

summary {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  color: var(--text-strong);
  cursor: pointer;
  font-weight: 750;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  width: 20px;
  height: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  color: var(--muted);
  content: "+";
  font-family: var(--mono);
  font-size: 0.86rem;
  line-height: 18px;
  text-align: center;
}

details[open] summary {
  border-bottom: 1px solid var(--line-soft);
}

details[open] summary::after {
  content: "-";
}

details ul {
  display: grid;
  gap: 10px;
  padding: 18px;
}

details li {
  position: relative;
  padding-left: 18px;
}

details li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--green);
  content: "";
}

.screenshots {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(12, 16, 23, 0.28);
}

.screenshot-note {
  padding: 28px;
}

.screenshot-note p {
  max-width: 680px;
  font-size: 1.02rem;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.audience-grid article {
  padding: 22px;
}

.audience-grid p {
  margin-top: 12px;
}

.pricing {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(12, 16, 23, 0.44);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.price-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  padding: 24px;
}

.price-card-featured {
  border-color: rgba(72, 213, 151, 0.42);
  background: linear-gradient(180deg, rgba(72, 213, 151, 0.1), rgba(12, 16, 23, 0.72));
}

.plan-label {
  width: max-content;
  margin-bottom: 18px;
}

.price {
  margin-top: 14px;
  color: var(--text-strong);
  font-size: 2rem;
  font-weight: 780;
  letter-spacing: 0;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.price-card li {
  position: relative;
  padding-left: 20px;
}

.price-card li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 1px;
  background: var(--green);
  content: "";
}

.price-card .button {
  margin-top: auto;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details p {
  padding: 18px;
}

.final-cta {
  padding-top: 120px;
}

.final-cta-inner {
  border: 1px solid rgba(72, 213, 151, 0.28);
  border-radius: var(--radius);
  padding: 48px;
  background:
    linear-gradient(120deg, rgba(72, 213, 151, 0.09), rgba(109, 216, 246, 0.04) 45%, rgba(245, 195, 107, 0.06)),
    rgba(12, 16, 23, 0.82);
  box-shadow: var(--shadow);
}

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 34px 0;
  background: rgba(7, 9, 13, 0.88);
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: end;
}

.site-footer nav a {
  padding: 9px 10px;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero-grid,
  .architecture-grid,
  .experiment-grid,
  .screenshot-grid,
  .access-panel {
    grid-template-columns: 1fr;
  }

  .runtime-console {
    max-width: 760px;
  }

  .feature-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 28px, var(--shell));
  }

  .section {
    padding: 72px 0;
    scroll-margin-top: 72px;
  }

  .site-header {
    padding: 12px 14px;
  }

  main {
    padding-top: 51px;
  }

  .site-header .button {
    display: none;
  }

  .hero {
    padding-top: 58px;
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 4.4rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero-actions,
  .hero-metrics {
    display: grid;
    grid-template-columns: 1fr;
  }

  .runtime-console,
  .architecture-diagram,
  .code-window {
    border-radius: var(--radius-small);
  }

  .console-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .config-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .flow-rail,
  .mini-diagram {
    grid-template-columns: 1fr;
  }

  .flow-arrow,
  .mini-diagram i {
    width: 1px;
    height: 18px;
    margin: 0 auto;
  }

  .flow-arrow::after,
  .mini-diagram i::after {
    margin-top: auto;
    margin-left: -3px;
    transform: rotate(135deg);
  }

  pre {
    font-size: 0.7rem;
  }

  .two-column,
  .detail-grid,
  .feature-grid,
  .pricing-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .feature-card-wide {
    grid-column: auto;
  }

  .feature-card,
  .price-card {
    min-height: auto;
  }

  .workflow-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .final-cta-inner {
    padding: 30px 20px;
  }

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

  .site-footer nav {
    justify-content: start;
  }
}

/* Pillars */
.pillar-grid {
  align-items: stretch;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.pillar-card .feature-index {
  margin-bottom: 18px;
}

.pillar-lede {
  margin-top: 12px;
  color: var(--muted-strong);
  font-size: 1rem;
}

.pillar-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.pillar-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.pillar-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--green);
  content: "";
}

.pillar-list code,
.security-group code,
.step-card code {
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted-strong);
  font-size: 0.82em;
}

.pillar-list em {
  max-width: 100%;
  color: var(--muted-strong);
  font-style: normal;
  border-left: 2px solid rgba(72, 213, 151, 0.4);
  padding-left: 10px;
  display: inline-block;
}

/* How it works — step rail */
.how {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(12, 16, 23, 0.36);
}

.step-rail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.step-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(12, 16, 23, 0.64);
}

.step-copy {
  display: grid;
  order: 2;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  align-items: center;
  padding: 18px 20px 20px;
  border-top: 1px solid var(--line-soft);
  background: rgba(7, 9, 13, 0.78);
}

.step-number {
  display: inline-flex;
  grid-row: span 2;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(72, 213, 151, 0.4);
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.86rem;
  font-weight: 700;
}

.step-card p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1rem;
}

.step-card .screenshot-frame {
  order: 1;
  width: 100%;
  min-height: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  aspect-ratio: 16 / 9;
  box-shadow: none;
}

/* Security */
.security {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(12, 16, 23, 0.36), rgba(12, 16, 23, 0.68));
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.security-group {
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(12, 16, 23, 0.64);
}

.security-group h3 {
  margin-bottom: 14px;
}

.security-group ul {
  display: grid;
  gap: 10px;
}

.security-group li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.security-group li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--green);
  content: "";
}

.security-group a {
  color: var(--green);
  border-bottom: 1px solid rgba(72, 213, 151, 0.4);
}

/* Screenshot frames */
.screenshot-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow);
}

.screenshot-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.screenshot-frame img[alt]::before {
  content: "";
}

.screenshot-frame::after {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  text-align: center;
  content: attr(aria-label);
  z-index: -1;
}

.screenshot-frame figcaption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(7, 9, 13, 0.7);
  color: var(--muted-strong);
  font-family: var(--mono);
  font-size: 0.68rem;
  pointer-events: none;
}

.screenshot-frame-hero {
  aspect-ratio: 2258 / 1368;
}

/* Pricing — label color variants */
.plan-label-amber {
  border-color: rgba(245, 195, 107, 0.42);
  background: var(--amber-soft);
  color: var(--amber);
}

.plan-label-violet {
  border-color: rgba(167, 162, 255, 0.36);
  background: rgba(167, 162, 255, 0.1);
  color: var(--violet);
}

.price-card-popular {
  border-color: rgba(245, 195, 107, 0.38);
  background: linear-gradient(180deg, rgba(245, 195, 107, 0.07), rgba(12, 16, 23, 0.72));
}

.price-sub {
  margin-top: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.76rem;
}

/* Use cases */
.use-cases {
  background: rgba(12, 16, 23, 0.28);
}

.use-cases .audience-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Articles */
.articles-preview {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(12, 16, 23, 0.34);
}

.article-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.article-card {
  display: grid;
  min-width: 0;
  min-height: 220px;
  align-content: start;
  gap: 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(12, 16, 23, 0.66);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.article-card:hover {
  border-color: rgba(72, 213, 151, 0.38);
  background: rgba(17, 23, 35, 0.9);
  transform: translateY(-2px);
}

.article-card span,
.article-meta,
.article-kicker,
.article-toc strong {
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
}

.article-card h3 {
  color: var(--text-strong);
  font-size: 1.04rem;
  line-height: 1.25;
}

.article-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.articles-cta {
  margin-top: 24px;
}

.article-index {
  padding: 96px 0 84px;
}

.article-index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.article-page {
  padding: 96px 0 84px;
}

.article-hero {
  max-width: 820px;
  margin-bottom: 44px;
}

.article-hero h1 {
  margin-top: 12px;
  color: var(--text-strong);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 0.96;
  overflow-wrap: anywhere;
}

.article-dek {
  margin-top: 20px;
  color: var(--muted-strong);
  font-size: 1.08rem;
  line-height: 1.7;
}

.article-meta {
  margin-top: 18px;
  color: var(--muted);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(190px, 0.28fr) minmax(0, 0.72fr);
  gap: 48px;
  align-items: start;
}

.article-toc {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(12, 16, 23, 0.72);
}

.article-toc a {
  color: var(--muted);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

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

.article-body {
  display: grid;
  gap: 32px;
  min-width: 0;
}

.article-body section,
.article-callout,
.source-list,
.article-table-wrap {
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(12, 16, 23, 0.62);
}

.article-body section,
.article-callout,
.source-list {
  padding: 24px;
}

.article-body h2 {
  margin-bottom: 12px;
  color: var(--text-strong);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.article-body h3 {
  margin: 22px 0 8px;
  color: var(--text-strong);
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

.article-body p,
.article-body li {
  color: var(--muted);
}

.article-body p + p {
  margin-top: 14px;
}

.article-body p strong,
.article-body li strong {
  color: var(--muted-strong);
}

.article-body ul,
.source-list ul {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.article-body li {
  position: relative;
  padding-left: 18px;
}

.article-body li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "/";
  font-family: var(--mono);
}

.article-body a,
.source-list a {
  color: var(--green);
}

.article-code {
  overflow-x: auto;
  max-width: 100%;
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-small);
  margin-top: 16px;
  background: rgba(7, 9, 13, 0.82);
}

.article-code code {
  display: block;
  padding: 18px;
  color: #c7d2e1;
  font-size: 0.78rem;
  line-height: 1.7;
  white-space: pre;
}

.article-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.article-flow-step {
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-small);
  padding: 14px;
  background: rgba(7, 9, 13, 0.52);
}

.article-flow-step span,
.endpoint-pill,
.article-note-label {
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 750;
  text-transform: uppercase;
}

.article-flow-step strong {
  display: block;
  margin-top: 8px;
  color: var(--text-strong);
  line-height: 1.25;
}

.article-flow-step p {
  margin-top: 8px;
  font-size: 0.9rem;
  line-height: 1.55;
}

.article-screenshot {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  margin: 18px 0 0;
  background: rgba(7, 9, 13, 0.78);
}

.article-screenshot img {
  display: block;
  width: 100%;
  height: auto;
}

.article-screenshot figcaption {
  border-top: 1px solid var(--line-soft);
  padding: 10px 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.article-note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.article-note {
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-small);
  padding: 16px;
  background: rgba(7, 9, 13, 0.48);
}

.article-note p {
  margin-top: 8px;
  font-size: 0.92rem;
}

.endpoint-pill {
  display: inline-flex;
  max-width: 100%;
  border: 1px solid rgba(72, 213, 151, 0.34);
  border-radius: var(--radius-small);
  margin: 6px 6px 0 0;
  padding: 7px 9px;
  overflow-wrap: anywhere;
  text-transform: none;
}

.article-table-wrap {
  overflow-x: auto;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
}

.article-table th,
.article-table td {
  border-bottom: 1px solid var(--line-soft);
  padding: 14px 16px;
  color: var(--muted);
  text-align: left;
  vertical-align: top;
}

.article-table th {
  color: var(--muted-strong);
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.article-table tr:last-child td {
  border-bottom: 0;
}

.article-related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.article-related a {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-small);
  padding: 9px 11px;
  color: var(--muted-strong);
  font-size: 0.88rem;
}

.article-related a:hover {
  border-color: rgba(72, 213, 151, 0.38);
  color: var(--text-strong);
}

/* Responsive */
@media (max-width: 1080px) {
  .pillar-grid,
  .step-rail,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    grid-template-columns: 1fr;
  }

  .step-card .screenshot-frame {
    min-height: 0;
  }

  .use-cases .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-card-grid,
  .article-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-toc {
    position: static;
  }

  .article-flow,
  .article-note-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid-two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .use-cases .audience-grid {
    grid-template-columns: 1fr;
  }

  .article-card-grid,
  .article-index-grid {
    grid-template-columns: 1fr;
  }

  .article-card {
    min-height: auto;
  }

  .article-flow,
  .article-note-grid {
    grid-template-columns: 1fr;
  }

  .article-body section,
  .article-callout,
  .source-list {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
