:root {
  --ink: #1b1b19;
  --ink-soft: #565857;
  --ink-faint: #8e9291;
  --paper: #ffffff;
  --sheet: #f6f7f6;
  --wash: #dce6e3;
  --wash-2: #c7d6d2;
  --pine: #1f6f6b;
  --pine-soft: #7fa6a2;
  --risk: #c2402c;
  --risk-wash: #f2ded8;
  --scale: #8b7e6d;
  --scale-lit: #a79a85;
  --scale-deep: #6b6153;
  --hide: #cfb9a8;
  --grid: rgba(27, 27, 25, .11);
  --content: 1680px;
  --gutter: clamp(16px, 2.6vw, 40px);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--sheet);
  font-family: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(circle, var(--grid) 1.15px, transparent 1.2px);
  background-size: 22px 22px;
}

a { color: inherit; }
button, summary { font: inherit; }
code, pre { font-family: var(--mono); }
img, svg, canvas, video { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 12px;
  padding: 10px 14px;
  background: var(--paper);
  border: 2px solid var(--ink);
  transform: translateY(-150%);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--risk);
  outline-offset: 3px;
}

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: rgba(246, 247, 246, .96);
  border-bottom: 2px solid var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.pangolin-mark { width: 56px; height: 16px; flex: 0 0 56px; }

.site-nav nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 32px);
}

.site-nav nav a,
.site-footer nav a {
  font: 700 10px/1 var(--mono);
  letter-spacing: .09em;
  text-transform: uppercase;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.site-nav nav .nav-install {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  background: var(--wash);
  box-shadow: 0 3px 0 var(--pine);
  text-decoration: none;
  transition: transform 90ms ease, box-shadow 90ms ease;
}

.site-nav nav .nav-install:hover { transform: translateY(-1px); box-shadow: 0 4px 0 var(--pine); }
.site-nav nav .nav-install:active { transform: translateY(3px); box-shadow: none; }

.hero-scene {
  min-height: 220vh;
  min-height: 220svh;
  position: relative;
  border-bottom: 2px solid var(--ink);
}

.hero {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent calc(25% - .5px), var(--grid) 25%, transparent calc(25% + .5px)),
    linear-gradient(90deg, transparent calc(75% - .5px), var(--grid) 75%, transparent calc(75% + .5px)),
    linear-gradient(0deg, transparent calc(52% - .5px), var(--grid) 52%, transparent calc(52% + .5px));
}

#physics {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.scroll-progress {
  position: absolute;
  z-index: 12;
  top: 60px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--pine);
}

.hero-copy {
  position: absolute;
  z-index: 4;
  top: clamp(112px, 15vh, 154px);
  left: var(--gutter);
  width: min(760px, 58vw);
  pointer-events: none;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 8px 5px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  background: var(--paper);
  box-shadow: 0 3px 0 var(--pine);
  font: 700 10px/1 var(--mono);
  letter-spacing: .09em;
  text-transform: uppercase;
  transform: rotate(-.45deg);
}

h1, h2, h3, p { text-wrap: pretty; }

h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(68px, 8.4vw, 142px);
  line-height: .84;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.hero-summary {
  width: min(530px, 83vw);
  margin: 24px 0 0;
  color: var(--ink);
  font-size: clamp(17px, 1.55vw, 24px);
  line-height: 1.3;
}

.hero-installer {
  position: absolute;
  z-index: 8;
  top: clamp(140px, 17vh, 178px);
  right: var(--gutter);
  width: min(440px, 35vw);
}

.installer {
  overflow: hidden;
  width: 100%;
  background: var(--paper);
  border: 1px solid rgba(27, 27, 25, .24);
  border-radius: 6px;
  box-shadow: 0 14px 34px rgba(27, 27, 25, .12);
}

.installer-tabs {
  min-height: 50px;
  display: flex;
  align-items: stretch;
  gap: 22px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(27, 27, 25, .14);
}

.platform-tab {
  position: relative;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0 0;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: 700 13px/1 "Atkinson Hyperlegible", sans-serif;
  cursor: pointer;
}

.platform-tab::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: transparent;
}

.platform-tab[aria-selected="true"] { color: var(--ink); }
.platform-tab[aria-selected="true"]::after { background: var(--pine); }

.platform-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.codex-icon { stroke-width: 1.45; }

.soon {
  color: var(--pine);
  font: 700 8px/1 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.installer-panel { padding: 17px 16px 16px; }
.installer-panel[hidden] { display: none; }

.installer-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: -.015em;
}

.installer-panel > p:not(.copy-status) {
  margin: 5px 0 13px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.35;
}

.installer-panel code {
  padding: 1px 4px;
  background: var(--wash);
  color: var(--ink);
  font-size: .92em;
}

.command-block { position: relative; }

.installer pre {
  overflow: hidden;
  margin: 0;
  padding: 12px 50px 12px 12px;
  background: var(--sheet);
  border: 0;
  border-radius: 4px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 11px;
  line-height: 1.45;
}

.installer pre code { padding: 0; background: none; }

.installer pre code::first-line { color: var(--ink); }

.command-copy {
  position: absolute;
  top: 50%;
  right: 7px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  background: var(--wash);
  box-shadow: 0 3px 0 var(--pine);
  color: var(--ink);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 90ms ease, box-shadow 90ms ease;
}

.command-copy:hover { transform: translateY(calc(-50% - 1px)); box-shadow: 0 4px 0 var(--pine); }
.command-copy:active { transform: translateY(calc(-50% + 3px)); box-shadow: 0 0 0 var(--pine); }
.command-copy svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.command-copy .check-icon { display: none; stroke: var(--pine); stroke-width: 2.4; }
.command-copy.is-copied .copy-icon { display: none; }
.command-copy.is-copied .check-icon { display: block; }

.text-link,
.github-link {
  color: var(--ink);
  font-weight: 700;
  text-decoration-color: var(--pine);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.scroll-note {
  position: absolute;
  z-index: 5;
  right: var(--gutter);
  bottom: 25px;
  margin: 0;
  color: var(--ink-soft);
  font: 700 9px/1.45 var(--mono);
  letter-spacing: .1em;
  text-align: right;
  text-transform: uppercase;
}

.scroll-note::after {
  content: " ↓";
  color: var(--pine);
  font-size: 14px;
}

.section {
  position: relative;
  width: min(calc(100% - 2 * var(--gutter)), var(--content));
  margin-inline: auto;
  padding-block: clamp(90px, 11vw, 168px);
}

.section-heading h2,
.final-cta h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(44px, 6vw, 88px);
  line-height: .94;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.section-heading > p:last-child {
  max-width: 610px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.34;
}

.demo-section {
  display: block;
  max-width: 1100px;
}

.demo-section > .eyebrow { margin-bottom: 24px; }

.demo-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 6px;
  box-shadow: 0 6px 0 var(--pine);
}

.demo-media iframe { width: 100%; height: 100%; border: 0; }

.compact-heading { display: grid; grid-template-columns: 240px 1fr; align-items: start; gap: 30px; }
.compact-heading .eyebrow { justify-self: start; }
.compact-heading h2 { font-size: clamp(44px, 5.1vw, 74px); }

.process-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
  margin: clamp(64px, 7vw, 96px) 0 0;
  padding: 0;
  list-style: none;
}

.process-step {
  position: relative;
  min-width: 0;
  overflow: visible;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 5px;
  box-shadow: 0 5px 0 var(--pine);
}

.process-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  z-index: 4;
  top: 121px;
  right: clamp(-24px, -1.7vw, -13px);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--sheet);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  color: var(--pine);
  font: 700 18px/1 var(--mono);
}

.process-visual {
  position: relative;
  height: 270px;
  overflow: hidden;
  background-color: var(--wash);
  background-image: radial-gradient(circle, rgba(27, 27, 25, .16) 1px, transparent 1.1px);
  background-size: 18px 18px;
  border-bottom: 1.5px solid var(--ink);
}

.process-copy { padding: 26px 25px 29px; }
.process-copy .step-number {
  display: block;
  margin-bottom: 15px;
  color: var(--pine);
  font: 700 10px/1 var(--mono);
  letter-spacing: .09em;
}
.process-copy h3 { margin: 0; font-size: clamp(25px, 2.25vw, 34px); line-height: 1; letter-spacing: -.025em; }
.process-copy p { max-width: 390px; margin: 13px 0 0; color: var(--ink-soft); font-size: 17px; line-height: 1.38; }

.prompt-bubble {
  position: absolute;
  top: 36px;
  right: 28px;
  left: 28px;
  padding: 15px 17px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 4px 4px 4px 0;
  filter: drop-shadow(0 4px 0 var(--pine));
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  transform: rotate(-.5deg);
}

.prompt-tail {
  position: absolute;
  bottom: -14px;
  left: -2px;
  width: 18px;
  height: 16px;
  overflow: visible;
}

.prompt-tail path {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 2px;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.plan-scribble {
  position: absolute;
  right: 34px;
  bottom: 37px;
  left: 34px;
  display: grid;
  gap: 10px;
  padding: 16px 17px;
  background: rgba(255, 255, 255, .72);
  border: 1.5px solid var(--ink);
  transform: rotate(.7deg);
}

.plan-scribble i { display: block; height: 4px; background: var(--ink-faint); border-radius: 4px; }
.plan-scribble i:nth-child(2) { width: 78%; }
.plan-scribble i:nth-child(3) { width: 91%; }
.plan-scribble i:nth-child(4) { width: 63%; }
.prompt-visual > span {
  position: absolute;
  right: 31px;
  bottom: 14px;
  color: var(--pine);
  font: 700 8px/1 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.graph-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.graph-visual path { fill: none; stroke: var(--pine); stroke-width: 3; }
.graph-visual .ghost-edge { stroke: var(--risk); stroke-dasharray: 7 6; opacity: .8; }

.graph-node {
  position: absolute;
  min-width: 64px;
  padding: 9px 8px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 3px;
  box-shadow: 0 3px 0 var(--pine);
  font: 700 11px/1.05 var(--mono);
  text-align: center;
}

.graph-node.client { top: 111px; left: 4%; }
.graph-node.api { top: 53px; left: 39%; }
.graph-node.limiter { top: 159px; left: 37%; }
.graph-node.store { top: 111px; right: 3%; }
.graph-node.ghost {
  top: 20px;
  right: 3%;
  border-color: var(--risk);
  border-style: dashed;
  box-shadow: none;
  color: var(--ink-soft);
  opacity: .82;
}

.graph-node.ghost::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -7px;
  left: -7px;
  height: 3px;
  background: var(--risk);
  transform: rotate(-8deg);
}

.graph-node.ghost i {
  position: absolute;
  top: -15px;
  right: -2px;
  color: var(--risk);
  font: 700 7px/1 var(--mono);
  white-space: nowrap;
  text-transform: uppercase;
}

.review-visual { padding: 35px 28px 25px; }
.review-row {
  position: relative;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  padding: 10px 12px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  font-weight: 700;
  transform: rotate(-.25deg);
}

.review-row:nth-child(2) { transform: rotate(.3deg); }
.review-row b { color: var(--pine); font: 700 8px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }

.review-row.rejected { color: var(--ink-soft); border-style: dashed; }
.review-row.rejected::after {
  content: "";
  position: absolute;
  right: 48px;
  left: 7px;
  top: 50%;
  height: 3px;
  background: var(--risk);
  transform: rotate(-2deg);
}
.review-row.rejected b { position: relative; z-index: 1; padding: 2px 3px; background: var(--paper); color: var(--risk); }

.return-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: var(--pine);
  font: 700 8px/1 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.return-line i { flex: 1; height: 2px; background: var(--pine); }
.return-line span { white-space: nowrap; }

.trust-strip {
  display: grid;
  grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(50px, 7vw, 110px);
  padding-block: clamp(72px, 8vw, 112px);
}

.trust-heading h2 {
  max-width: 570px;
  margin: 0;
  font-size: clamp(38px, 4.2vw, 62px);
  line-height: .96;
  letter-spacing: -.04em;
}

.trust-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1.5px solid var(--ink);
  border-left: 1.5px solid var(--ink);
  list-style: none;
}

.trust-facts li {
  position: relative;
  min-height: 116px;
  display: grid;
  align-content: center;
  padding: 22px 20px 20px 54px;
  background: rgba(255, 255, 255, .48);
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}

.trust-facts i {
  position: absolute;
  top: 28px;
  left: 21px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.trust-facts .status-live { background: var(--pine); box-shadow: 0 2px 0 var(--ink); }
.trust-facts .status-review::after { content: "✓"; position: absolute; inset: -5px auto auto 3px; color: var(--pine); font: 700 17px/1 var(--mono); }
.trust-facts .status-account::after { content: "–"; position: absolute; inset: -5px auto auto 2px; color: var(--risk); font: 700 20px/1 var(--mono); }
.trust-facts .status-next { border-style: dashed; border-color: var(--ink-faint); }

.trust-facts strong { font-size: 19px; line-height: 1.1; }
.trust-facts span { margin-top: 5px; color: var(--ink-soft); font-size: 14px; line-height: 1.25; }
.final-cta {
  width: 100%;
  max-width: none;
  min-height: calc(100vh - 62px);
  min-height: calc(100svh - 62px);
  display: grid;
  grid-template-columns: 1fr minmax(390px, 520px);
  gap: clamp(50px, 8vw, 130px);
  align-items: center;
  padding-inline: max(var(--gutter), calc((100vw - var(--content)) / 2));
  background: var(--wash);
  border-top: 2px solid var(--ink);
}

.final-cta-copy > p:not(.eyebrow) { max-width: 590px; margin: 28px 0 22px; color: var(--ink-soft); font-size: 19px; }
.github-link { display: inline-block; min-height: 44px; padding-top: 9px; }
.final-installer { box-shadow: 0 14px 34px rgba(27, 27, 25, .12); }

.faq-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 8vw, 130px); }
.faq-section .compact-heading { display: block; }
.faq-section .compact-heading h2 { font-size: clamp(44px, 5vw, 70px); }
.faq-list { border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 1.5px solid var(--ink); }
.faq-list summary { position: relative; min-height: 72px; display: flex; align-items: center; padding: 17px 46px 17px 0; font-size: clamp(19px, 2vw, 24px); font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 8px; color: var(--pine); font: 700 28px/1 var(--mono); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 620px; margin: -4px 0 24px; color: var(--ink-soft); font-size: 17px; }

.site-footer {
  min-height: 130px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 34px var(--gutter);
  background: var(--paper);
}

.site-footer > p { justify-self: end; margin: 0; color: var(--ink-soft); font: 10px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }

@media (max-width: 1050px) {
  h1 { font-size: clamp(64px, 8vw, 92px); }
  .hero-copy { width: 54vw; }
  .hero-installer { width: 39vw; }
  .process-rail { grid-template-columns: 1fr; gap: 34px; }
  .process-step { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); }
  .process-visual { border-right: 1.5px solid var(--ink); border-bottom: 0; }
  .process-step:not(:last-child)::after {
    content: "↓";
    top: auto;
    right: 50%;
    bottom: -33px;
    transform: translateX(50%);
  }
  .final-cta { grid-template-columns: 1fr minmax(360px, 45vw); }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 58px; }
  .site-nav { height: 58px; padding: 0 14px; }
  .site-nav nav { gap: 12px; }
  .site-nav nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .site-nav nav a:nth-child(2), .site-nav nav a:nth-child(3) { display: none; }
  .brand { gap: 7px; font-size: 17px; }
  .pangolin-mark { width: 48px; height: 14px; flex-basis: 48px; }

  .site-nav nav .nav-install {
    position: relative;
    isolation: isolate;
    min-width: 62px;
    min-height: 44px;
    justify-content: center;
    padding: 0 7px;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: 9px;
    transform: none;
  }

  .site-nav nav .nav-install::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 7px 0;
    border: 1.5px solid var(--ink);
    border-radius: 3px;
    background: var(--wash);
    box-shadow: 0 3px 0 var(--pine);
    transition: transform 90ms ease, box-shadow 90ms ease;
  }

  .site-nav nav .nav-install:hover,
  .site-nav nav .nav-install:active { transform: none; box-shadow: none; }
  .site-nav nav .nav-install:active::before { transform: translateY(3px); box-shadow: none; }

  .hero-scene { min-height: 205vh; min-height: 205svh; }
  .hero { min-height: 700px; }
  .scroll-progress { top: 56px; }
  .hero::before { opacity: .65; }

  .hero-copy {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: auto;
    margin: 82px 18px 0;
  }

  .hero-copy .eyebrow { margin-bottom: 14px; }
  h1 { max-width: 360px; font-size: clamp(51px, 14.5vw, 64px); line-height: .86; }
  .hero-summary { width: 94%; margin-top: 17px; font-size: 17px; line-height: 1.27; }

  .hero-installer {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: auto;
    margin: 18px 17px 0;
  }

  .installer { box-shadow: 0 12px 28px rgba(27, 27, 25, .12); }
  .installer-tabs { min-height: 42px; gap: 12px; padding-inline: 12px; }
  .platform-tab { min-height: 42px; gap: 6px; font-size: 12px; }
  .platform-icon { width: 16px; height: 16px; flex-basis: 16px; }
  .installer-panel { padding: 12px 11px 13px; }
  .installer-title { font-size: 17px; }
  .installer-panel > p:not(.copy-status) { margin-bottom: 11px; font-size: 12px; }
  .installer pre { padding: 11px 42px 11px 10px; font-size: 9.5px; }
  .command-copy { right: 6px; width: 28px; height: 28px; }
  .command-copy svg { width: 15px; height: 15px; }
  .scroll-note { right: 18px; bottom: 15px; }

  .section { width: calc(100% - 32px); padding-block: 88px; }
  .section-heading h2, .final-cta h2 { font-size: clamp(43px, 13vw, 58px); }
  .section-heading > p:last-child { margin-top: 19px; font-size: 18px; }

  .demo-section > .eyebrow { margin-bottom: 18px; }
  .demo-media { box-shadow: 0 4px 0 var(--pine); }

  .compact-heading { display: block; }
  .process-rail { margin-top: 58px; }
  .process-step { display: block; }
  .process-visual { height: 240px; border-right: 0; border-bottom: 1.5px solid var(--ink); }
  .process-copy { padding: 23px 21px 26px; }
  .process-copy h3 { font-size: 29px; }
  .process-copy p { font-size: 16px; }
  .prompt-bubble { top: 28px; right: 20px; left: 20px; font-size: 16px; }
  .plan-scribble { right: 25px; bottom: 34px; left: 25px; }
  .graph-node { min-width: 58px; padding: 8px 6px; font-size: 9px; }
  .graph-node.client { left: 3%; }
  .graph-node.store, .graph-node.ghost { right: 2%; }
  .review-visual { padding: 28px 19px 22px; }
  .trust-strip { display: block; padding-block: 72px; }
  .trust-heading h2 { font-size: 42px; }
  .trust-facts { grid-template-columns: 1fr; margin-top: 45px; }
  .trust-facts li { min-height: 96px; }

  .final-cta {
    width: 100%;
    min-height: calc(100vh - 58px);
    min-height: calc(100svh - 58px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: 48px 16px 56px;
  }
  .final-cta-copy { margin-bottom: 30px; }
  .final-cta-copy > p:not(.eyebrow) { font-size: 17px; }

  .faq-section { display: block; }
  .faq-section .compact-heading { margin-bottom: 48px; }
  .site-footer { grid-template-columns: 1fr auto; padding: 30px 16px; }
  .site-footer nav { gap: 14px; }
  .site-footer > p { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 380px) {
  .site-nav nav { gap: 9px; }
  .brand { font-size: 16px; }
  .pangolin-mark { width: 44px; height: 13px; flex-basis: 44px; }
  .site-nav nav .nav-install { min-width: 58px; padding-inline: 5px; }
  .hero-copy { margin-top: 76px; }
  h1 { font-size: 45px; }
  .hero-summary { width: 100%; margin-top: 12px; font-size: 15px; line-height: 1.2; }
  .platform-tab { gap: 5px; font-size: 12px; }
  .soon { font-size: 7px; }
  .installer pre { padding: 10px; font-size: 9.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-scene { min-height: auto; }
  .hero { position: relative; height: auto; min-height: 100svh; }
  .scroll-note, .scroll-progress { display: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .site-nav, #physics, .scroll-note, .scroll-progress { display: none; }
  .hero-scene { min-height: auto; }
  .hero { position: relative; height: auto; min-height: 0; padding: 40px; }
  .hero-copy, .hero-installer { position: relative; inset: auto; width: auto; margin-bottom: 30px; }
  .section { break-inside: avoid; }
}
