:root {
  color-scheme: light;
  --page: #f6f7f9;
  --surface: #ffffff;
  --surface-soft: #f2f4f7;
  --ink: #111318;
  --ink-soft: #303642;
  --muted: #667085;
  --border: #d7dde7;
  --hairline: rgb(17 19 24 / 10%);
  --blue: #0f6fff;
  --blue-strong: #004ec2;
  --green: #14805e;
  --amber: #9c6514;
  --rose: #b4233b;
  --shadow-soft: 0 18px 50px rgb(17 19 24 / 10%);
  --shadow-strong: 0 32px 90px rgb(17 19 24 / 18%);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
  padding: 10px 12px;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgb(215 221 231 / 76%);
  background: rgb(246 247 249 / 82%);
  backdrop-filter: blur(20px);
}

.nav-shell {
  display: flex;
  width: min(var(--max), calc(100% - 32px));
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 820;
  letter-spacing: 0;
  text-decoration: none;
}

.brand span {
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 690;
}

.nav-links a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 8px 10px;
  text-decoration: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: rgb(17 19 24 / 10%);
  background: var(--surface);
  box-shadow: 0 8px 20px rgb(17 19 24 / 8%);
  color: var(--ink);
  transform: translateY(-1px);
}

.nav-links a:focus-visible {
  outline: 2px solid rgb(15 111 255 / 42%);
  outline-offset: 2px;
}

.header-link-icon,
.footer-heading-icon,
.footer-link-icon {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  line-height: 1;
}

.header-link-icon svg,
.footer-heading-icon svg,
.footer-link-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.header-link-icon {
  width: 16px;
  height: 16px;
}

.footer-heading-icon {
  width: 18px;
  height: 18px;
}

.footer-link-icon {
  width: 20px;
  height: 20px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 66px);
  overflow: hidden;
  border-bottom: 1px solid var(--hairline);
  background:
    linear-gradient(rgb(17 19 24 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(17 19 24 / 5%) 1px, transparent 1px),
    linear-gradient(135deg, #ffffff 0%, #f7f9fc 52%, #eef5ff 100%);
  background-size: 52px 52px, 52px 52px, auto;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 58%, rgb(15 111 255 / 7%) 58% 74%, transparent 74%),
    linear-gradient(150deg, transparent 0 72%, rgb(20 128 94 / 6%) 72% 100%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  width: min(var(--max), calc(100% - 32px));
  min-height: calc(100vh - 66px);
  margin: 0 auto;
  padding: 78px min(48vw, 590px) 98px 0;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(54px, 7.6vw, 104px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 860;
  line-height: 1.04;
}

.hero-lede {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 19px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 840;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-actions a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border: 1px solid rgb(17 19 24 / 14%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 82%);
  color: var(--ink);
  padding: 8px 12px;
  font-weight: 800;
  text-decoration: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.hero-actions a:hover,
.hero-actions a:focus-visible {
  border-color: rgb(17 19 24 / 10%);
  background: white;
  color: var(--ink);
  transform: translateY(-1px);
}

.hero-actions a:first-child {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.hero-actions a:first-child:hover,
.hero-actions a:first-child:focus-visible {
  background: #252a33;
  color: white;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 600px;
  gap: 0;
  margin: 34px 0 0;
  border-top: 1px solid rgb(17 19 24 / 12%);
  border-bottom: 1px solid rgb(17 19 24 / 12%);
}

.hero-stats div {
  min-width: 0;
  padding: 16px 18px 16px 0;
  border-right: 1px solid rgb(17 19 24 / 10%);
}

.hero-stats div:not(:first-child) {
  padding-left: 18px;
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats dt {
  color: var(--ink);
  font-size: 28px;
  font-weight: 880;
  line-height: 1;
}

.hero-stats dd {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.hero-visual {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: max(16px, calc((100vw - var(--max)) / 2));
  width: min(530px, 43vw);
  transform: translateY(-50%);
  pointer-events: none;
}

.research-console {
  overflow: hidden;
  border: 1px solid rgb(17 19 24 / 14%);
  border-radius: var(--radius);
  background: #111827;
  box-shadow: var(--shadow-strong);
}

.console-topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 12px;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 760;
}

.console-topbar strong {
  color: #86efac;
  font-size: 11px;
  text-transform: uppercase;
}

.console-window-dots {
  display: inline-flex;
  gap: 5px;
}

.console-window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #fb7185;
}

.console-window-dots span:nth-child(2) {
  background: #fbbf24;
}

.console-window-dots span:nth-child(3) {
  background: #34d399;
}

.console-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1px;
  background: rgb(255 255 255 / 10%);
}

.console-pane {
  min-width: 0;
  background: rgb(15 23 42 / 94%);
  padding: 16px;
}

.console-editor {
  grid-row: span 2;
}

.console-pane-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 820;
}

.console-pane-header strong {
  color: #e2e8f0;
}

.console-editor pre {
  margin: 0;
  white-space: pre-wrap;
}

.console-editor code {
  color: #e2e8f0;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.72;
}

.console-diagnostics ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 760;
  list-style: none;
}

.console-diagnostics li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.console-diagnostics li span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #34d399;
}

.console-graph {
  position: relative;
  min-height: 160px;
  background:
    linear-gradient(rgb(255 255 255 / 6%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 6%) 1px, transparent 1px),
    #111827;
  background-size: 28px 28px;
}

.console-graph::before,
.console-graph::after {
  content: "";
  position: absolute;
  inset: 42px 34px 48px 42px;
  border-top: 2px solid rgb(52 211 153 / 45%);
  border-right: 2px solid rgb(96 165 250 / 50%);
  transform: skewY(-13deg);
}

.console-graph::after {
  inset: 64px 54px 34px 26px;
  border-color: rgb(251 191 36 / 48%);
  transform: skewY(18deg);
}

.graph-node {
  position: absolute;
  z-index: 1;
  display: inline-grid;
  min-width: 58px;
  min-height: 30px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: var(--radius);
  background: rgb(15 23 42 / 88%);
  color: #e2e8f0;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 820;
}

.graph-node-a {
  left: 16px;
  top: 20px;
}

.graph-node-b {
  right: 18px;
  top: 34px;
}

.graph-node-c {
  left: 70px;
  bottom: 20px;
  color: #86efac;
}

.graph-node-d {
  right: 28px;
  bottom: 22px;
  color: #93c5fd;
}

.console-ai p {
  margin: 0;
  color: #cbd5e1;
  font-size: 12px;
  line-height: 1.55;
}

.research-stack {
  display: grid;
  gap: 18px;
  width: min(var(--max), calc(100% - 32px));
  margin: -46px auto 0;
  position: relative;
  z-index: 3;
}

.stack-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: end;
  border: 1px solid rgb(17 19 24 / 12%);
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.stack-heading h2 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
  letter-spacing: 0;
}

.stack-heading > p {
  margin: 0;
  color: #cbd5e1;
  font-size: 18px;
}

.stack-heading .eyebrow {
  color: #93c5fd;
}

.research-panel {
  --track-color: var(--blue);
  display: grid;
  grid-template-columns: minmax(270px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 30px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--track-color);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--track-color) 8%, transparent), transparent 38%),
    var(--surface);
  padding: 28px;
  box-shadow: 0 16px 42px rgb(17 19 24 / 8%);
}

.compiler-panel {
  --track-color: var(--blue);
}

.graph-panel {
  --track-color: var(--green);
}

.ai-panel {
  --track-color: var(--amber);
}

.track-index {
  display: inline-grid;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--track-color) 25%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--track-color) 10%, white);
  color: color-mix(in srgb, var(--track-color) 70%, var(--ink));
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 860;
  letter-spacing: 0.08em;
}

.panel-heading h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.04;
  letter-spacing: 0;
}

.panel-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.panel-heading .eyebrow {
  color: color-mix(in srgb, var(--track-color) 78%, var(--blue-strong));
}

.panel-heading code,
.panel-grid code,
.organization code {
  border: 1px solid rgb(17 19 24 / 10%);
  border-radius: 5px;
  background: #eef2f7;
  color: #24324a;
  padding: 1px 5px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.9em;
  overflow-wrap: anywhere;
}

.panel-heading .implementation-link {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.track-link {
  display: inline-flex;
  width: fit-content;
  min-height: 38px;
  align-items: center;
  margin-top: 20px;
  border: 1px solid color-mix(in srgb, var(--track-color) 28%, var(--border));
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--track-color) 9%, white);
  color: color-mix(in srgb, var(--track-color) 70%, var(--ink));
  padding: 8px 11px;
  font-size: 14px;
  font-weight: 840;
  text-decoration: none;
}

.track-link:hover,
.track-link:focus-visible {
  border-color: color-mix(in srgb, var(--track-color) 42%, var(--border));
  background: white;
}

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

.panel-grid section {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 72%);
  padding: 18px;
}

.panel-grid h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 840;
}

.panel-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.panel-grid li,
.panel-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.organization {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  width: min(var(--max), calc(100% - 32px));
  margin: 90px auto;
  padding: 36px;
  border: 1px solid rgb(17 19 24 / 12%);
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow-soft);
}

.organization h2 {
  max-width: 430px;
  margin: 0;
  font-size: 42px;
  line-height: 1.04;
  letter-spacing: 0;
}

.organization .eyebrow {
  color: #86efac;
}

.loop-list {
  display: grid;
  gap: 0;
}

.loop-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid rgb(255 255 255 / 12%);
}

.loop-step:first-child {
  padding-top: 0;
  border-top: 0;
}

.loop-step:last-child {
  padding-bottom: 0;
}

.loop-step span {
  color: #93c5fd;
  font-size: 12px;
  font-weight: 880;
  letter-spacing: 0.08em;
}

.loop-step p {
  margin: 0;
  color: #cbd5e1;
  font-size: 16px;
}

.loop-step strong {
  color: white;
}

.detail-page {
  background:
    linear-gradient(rgb(17 19 24 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(17 19 24 / 4%) 1px, transparent 1px),
    var(--page);
  background-size: 48px 48px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 84px max(16px, calc((100% - var(--max)) / 2)) 124px;
  background: var(--ink);
  color: white;
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgb(255 255 255 / 6%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 6%) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, black, transparent 82%);
}

.detail-hero::after {
  content: "";
  position: absolute;
  top: 82px;
  right: max(16px, calc((100% - var(--max)) / 2));
  width: min(430px, 36vw);
  height: 230px;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgb(52 211 153 / 28%) 0 2px, transparent 2px),
    linear-gradient(rgb(96 165 250 / 22%) 0 2px, transparent 2px),
    linear-gradient(135deg, rgb(255 255 255 / 10%), rgb(255 255 255 / 3%));
  background-size: 48px 48px, 48px 48px, auto;
  box-shadow: 0 28px 70px rgb(0 0 0 / 22%);
}

.detail-hero > * {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.detail-back {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 7%);
  color: #d2d8e3;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 820;
  text-decoration: none;
}

.detail-back:hover,
.detail-back:focus-visible {
  color: white;
  background: rgb(255 255 255 / 11%);
}

.detail-hero .eyebrow {
  margin-top: 28px;
  color: #93c5fd;
}

.detail-hero h1 {
  margin: 0;
  font-size: clamp(54px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: 0;
}

.detail-hero > p:not(.eyebrow) {
  margin: 20px 0 0;
  color: #cbd5e1;
  font-size: 20px;
}

.detail-hero .hero-actions a {
  border-color: rgb(255 255 255 / 16%);
  background: rgb(255 255 255 / 8%);
  color: #e2e8f0;
}

.detail-hero .hero-actions a:hover,
.detail-hero .hero-actions a:focus-visible {
  background: rgb(255 255 255 / 14%);
  color: white;
}

.detail-stack {
  margin-top: -62px;
  margin-bottom: 90px;
}

.detail-stack .research-panel {
  box-shadow: var(--shadow-strong);
}

.site-footer {
  background: var(--ink);
  color: #d2d8e3;
  padding: 48px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(5, minmax(116px, 1fr));
  gap: 24px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.site-footer h5 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: white;
  font-size: 12px;
  font-weight: 860;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-footer .footer-brand p {
  margin: 12px 0 0;
  color: #98a2b3;
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-footer a {
  color: #d2d8e3;
  text-decoration: none;
  font-size: 14px;
}

.site-footer a:hover {
  color: white;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  margin-top: 32px;
  border-top: 1px solid rgb(255 255 255 / 10%);
  font-size: 13px;
  color: #98a2b3;
}

.footer-bottom a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom nav {
  flex-direction: row;
  gap: 16px;
}

@media (max-width: 1080px) {
  .hero {
    display: flex;
    min-height: auto;
    flex-direction: column;
  }

  .hero-copy {
    order: 1;
    min-height: auto;
    padding: 76px 0 118px;
  }

  .hero-visual {
    position: relative;
    top: auto;
    right: auto;
    order: 2;
    width: min(var(--max), calc(100% - 32px));
    margin: -78px auto 86px;
    transform: none;
  }

  .research-console {
    max-width: 720px;
    margin: 0 auto;
  }

  .stack-heading,
  .research-panel,
  .organization {
    grid-template-columns: 1fr;
  }

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

  .detail-hero::after {
    opacity: 0.36;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: fixed;
    top: 66px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    padding: 8px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }

  .hero-copy {
    padding: 58px 0 104px;
  }

  .hero-copy h1 {
    font-size: 54px;
  }

  .hero-subtitle {
    font-size: 30px;
  }

  .hero-lede,
  .stack-heading > p,
  .detail-hero > p:not(.eyebrow) {
    font-size: 17px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .hero-stats div,
  .hero-stats div:not(:first-child) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-right: 0;
    border-bottom: 1px solid rgb(17 19 24 / 10%);
    padding: 14px 0;
  }

  .hero-stats div:last-child {
    border-bottom: 0;
  }

  .hero-stats dd {
    text-align: right;
  }

  .hero-visual {
    margin-top: -58px;
    margin-bottom: 66px;
  }

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

  .console-editor {
    grid-row: auto;
  }

  .console-graph {
    min-height: 180px;
  }

  .research-stack {
    margin-top: -38px;
  }

  .stack-heading,
  .research-panel,
  .organization {
    padding: 24px;
  }

  .stack-heading h2 {
    font-size: 34px;
  }

  .organization {
    gap: 24px;
    margin: 64px auto;
  }

  .organization h2,
  .panel-heading h2 {
    font-size: 34px;
  }

  .detail-hero {
    padding: 58px 16px 104px;
  }

  .detail-hero::after {
    display: none;
  }

  .detail-stack {
    margin-top: -46px;
    margin-bottom: 64px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .site-footer .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .hero-copy h1 {
    font-size: 48px;
  }

  .hero-subtitle {
    font-size: 26px;
  }

  .hero-actions,
  .hero-actions a {
    width: 100%;
  }

  .hero-actions a {
    justify-content: center;
  }

  .console-topbar {
    grid-template-columns: auto 1fr;
  }

  .console-topbar strong {
    display: none;
  }

  .console-pane {
    padding: 14px;
  }

  .console-editor code {
    font-size: 11px;
  }

  .research-panel {
    gap: 22px;
    padding: 20px;
  }

  .stack-heading,
  .organization {
    padding: 20px;
  }

  .loop-step {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .detail-hero h1 {
    font-size: 48px;
  }

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