@font-face {
  font-family: Manrope;
  src: url("/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("/fonts/public-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --text-caption: 1rem;
  --text-support: 1.125rem;
  --text-body: 1.25rem;
  --text-question: 1.375rem;

  --paper: oklch(96.8% 0.009 110);
  --surface: oklch(99% 0.005 110);
  --ink: oklch(30% 0.024 151);
  --muted: oklch(47% 0.021 144);
  --line: oklch(87% 0.019 126);
  --accent: oklch(48% 0.12 38);
  --sage: oklch(83% 0.052 135);
  --dark: oklch(23% 0.024 149);
  --space-sm: 12px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 96px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    var(--text-body)/1.65 "Public Sans",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
summary {
  cursor: pointer;
}
img {
  max-width: 100%;
  display: block;
}
button {
  color: inherit;
}
p {
  max-width: 65ch;
  color: var(--muted);
  margin: 0 0 24px;
}
h1,
h2,
h3,
h4 {
  font-family: Manrope, sans-serif;
  margin: 0;
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(3rem, 5.8vw, 5.5rem);
}
h2 {
  font-size: clamp(2.25rem, 4.05vw, 3.75rem);
}
h3 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}
h4 {
  font-size: 1.4375rem;
}
::selection {
  background: var(--sage);
  color: var(--ink);
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
main {
  overflow: clip;
}
.section {
  padding: clamp(72px, 9vw, 136px) max(5vw, calc((100vw - 1360px) / 2));
  position: relative;
}
.eyebrow {
  display: block;
  color: var(--accent);
  font-size: var(--text-caption);
  line-height: 1.5;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  background: var(--accent);
  color: var(--surface);
  font-size: var(--text-body);
  font-weight: 600;
  min-height: 52px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 6px;
  transition:
    background 0.2s,
    transform 0.3s var(--ease);
  white-space: nowrap;
}
.button:hover {
  background: oklch(41% 0.105 38);
  transform: translateY(-2px);
}
.button > span {
  font-size: 1.1875rem;
}
.button.secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}
.button.secondary:hover {
  background: var(--paper);
}
.button:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}
.text-link {
  font-weight: 600;
  font-size: var(--text-body);
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 12px 0;
  min-height: 44px;
}
.text-link > span {
  transition: transform 0.3s var(--ease);
}
.text-link:hover > span {
  transform: translateX(3px);
}
.small-note {
  display: block;
  font-size: var(--text-caption);
  line-height: 1.7;
  color: var(--muted);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  background: var(--ink);
  color: var(--surface);
  padding: 12px 24px;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in oklch, var(--paper) 96%, transparent);
  border-bottom: 1px solid color-mix(in oklch, var(--line) 70%, transparent);
}
.header-inner {
  max-width: 1504px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 18px 5vw;
  min-height: 86px;
}
.brand {
  font:
    750 30px/1 Manrope,
    sans-serif;
  letter-spacing: -1.5px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand > span {
  color: var(--accent);
  margin-left: -10px;
}
.brand img {
  width: 30px;
  height: 30px;
}
#site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  font-size: var(--text-body);
  font-weight: 550;
}
#site-nav > a {
  padding: 12px 0;
}
.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-actions > a:not(.button) {
  padding: 12px 0;
}
.nav-actions .button {
  font-size: var(--text-body);
  min-height: 44px;
  padding: 9px 18px;
  gap: 20px;
}
.nav-dropdown {
  position: relative;
}
.nav-dropdown summary {
  display: flex;
  align-items: center;
  gap: 7px;
  list-style: none;
  padding: 12px 0;
}
.nav-dropdown summary::-webkit-details-marker {
  display: none;
}
.nav-menu {
  position: absolute;
  left: -24px;
  top: 48px;
  width: 264px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 35px #253a2315;
}
.nav-menu > a {
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 4px;
}
.nav-menu > a:hover {
  background: var(--paper);
}
.menu-toggle {
  display: none;
}
.status-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  background: oklch(49% 0.085 149);
  flex-shrink: 0;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 4vw;
  align-items: center;
  min-height: min(800px, calc(100svh - 86px));
  padding-top: 76px;
  padding-bottom: 88px;
}
.beta-label {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font-size: var(--text-caption);
  font-weight: 550;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin-bottom: 26px;
}
.beta-label > span:last-child {
  margin-left: 4px;
  font-size: var(--text-caption);
}
.hero h1 {
  font-size: clamp(3.375rem, 5.55vw, 5.5rem);
  line-height: 1.03;
  letter-spacing: -0.058em;
}
.hero h1 > span {
  color: var(--accent);
}
.hero-copy > p {
  max-width: 430px;
  font-size: var(--text-body);
  line-height: 1.8;
  margin: 28px 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
  margin-bottom: 16px;
}
.hero-actions .text-link {
  font-size: var(--text-body);
  gap: 10px;
}
.hero-actions .button {
  font-size: var(--text-body);
  padding: 13px 18px;
  gap: 24px;
}
.hero-copy > .small-note {
  font-size: var(--text-caption);
}
.hero-visual {
  min-width: 0;
  padding-top: 18px;
  perspective: 1300px;
}
.hero-rule {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.11em;
  border-top: 1px solid var(--line);
  padding: 12px 0;
}
.hero-stack {
  position: relative;
  padding: 30px 0 92px;
  min-height: 420px;
}
.hero-recording {
  width: 108%;
  transform: rotateY(-8deg) rotateX(7deg) rotateZ(-2deg);
  transform-origin: center;
  box-shadow: 18px 32px 38px -25px #24312755;
  border-radius: 10px;
  position: relative;
  z-index: 1;
}
.hero-log {
  position: absolute;
  width: 72%;
  right: -8px;
  bottom: 57px;
  z-index: 3;
  transform: rotate(-2deg);
  box-shadow: 0 20px 30px -16px #15241966;
}
.hero-proof {
  position: absolute;
  bottom: 0;
  left: 12px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 15px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 14px 24px -18px #14272050;
  width: 72%;
  transform: rotate(1.3deg);
}
.hero-proof > span:first-child {
  font-size: 1.5625rem;
  color: var(--accent);
}
.hero-proof b {
  font-size: var(--text-caption);
  display: block;
}
.hero-proof div > span {
  display: block;
  font-size: var(--text-caption);
  color: var(--muted);
}
.proof-check {
  margin-left: auto;
  color: var(--accent);
}
.visual-caption {
  display: block;
  font-size: var(--text-caption);
  color: var(--muted);
  margin-top: 24px;
  text-align: right;
}
.value-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 5vw;
  font-size: var(--text-support);
  color: var(--muted);
}
.value-strip > span {
  display: flex;
  align-items: center;
  gap: 12px;
}
.value-strip > span:before {
  content: "↳";
  color: var(--accent);
  font-size: 1.25rem;
}
/* Constructed Mac desktop and application chrome: all example data is synthetic. */
.mac-scene {
  font-size: var(--text-caption);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #b5c5ae;
  border: 1px solid #83967e;
  border-radius: 9px;
  aspect-ratio: 1.53;
  color: #293b2d;
  font-family: Manrope, sans-serif;
  container-type: inline-size;
}
.desktop-menubar {
  height: 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3%;
  background: #e3e9d0b3;
  font-size: 1.55cqw;
  font-weight: 650;
  position: relative;
  z-index: 2;
}
.desktop-orbit {
  position: absolute;
  width: 135%;
  height: 108%;
  border-radius: 50%;
  z-index: -1;
  background: linear-gradient(128deg, #dce2a7 3%, #b2c99c 27%, #6e8e6d 75%);
  box-shadow: inset -10px 12px 45px #e7edc36b;
  transform: rotate(-28deg);
}
.orbit-one {
  left: -43%;
  top: 16%;
}
.orbit-two {
  left: 30%;
  top: 48%;
  background: linear-gradient(125deg, #e0e4ba, #769375 57%, #415e4d);
  box-shadow: inset 15px 22px 45px #e0e5b7bb;
}
.sample-browser {
  position: absolute;
  inset: 14% 7% 17%;
  background: #fcfcf7;
  border: 1px solid #ffffff6b;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 18px 28px #253b3638;
}
.window-bar {
  height: 11%;
  background: #f1f2eb;
  border-bottom: 1px solid #dce2d7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3%;
  gap: 6%;
  font-size: 1.5cqw;
}
.window-dots {
  display: flex;
  gap: 3px;
}
.window-dots i {
  width: 5px;
  height: 5px;
  border-radius: 100%;
  background: #dc8879;
}
.window-dots i:nth-child(2) {
  background: #d5ba71;
}
.window-dots i:nth-child(3) {
  background: #8ea97d;
}
.address {
  background: #e5e8e0;
  width: 66%;
  text-align: center;
  border-radius: 3px;
  color: #5d6c5d;
  font-size: 1.1cqw;
  line-height: 1.7;
}
.sample-app {
  display: flex;
  height: 89%;
}
.sample-sidebar {
  width: 24%;
  padding: 6% 4%;
  display: flex;
  flex-direction: column;
  gap: 5.7%;
  background: #f2f4eb;
  border-right: 1px solid #e5e8df;
}
.sample-sidebar strong {
  font-size: 3cqw;
  line-height: 1;
  margin-bottom: 12%;
  letter-spacing: -0.07em;
}
.sample-sidebar strong span {
  font-size: 1.5cqw;
  vertical-align: top;
  margin-left: 3px;
}
.sample-sidebar > span {
  font-size: 1.35cqw;
  padding: 3% 8%;
  line-height: 1.5;
  border-radius: 3px;
}
.sample-sidebar .selected {
  background: #dfe5d8;
  font-weight: 650;
}
.sample-sidebar small {
  font-size: 0.85cqw;
  margin-top: auto;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.sample-content {
  width: 76%;
  padding: 4% 6%;
}
.sample-breadcrumb {
  font-size: 1cqw;
  color: #73816f;
}
.sample-content h4 {
  font-size: 3.1cqw;
  margin: 4% 0 2%;
}
.sample-content > p {
  font-size: 1.2cqw;
  margin-bottom: 5%;
}
.sample-person {
  display: flex;
  align-items: center;
  gap: 6%;
  border-top: 1px solid #e8eade;
  padding: 3.5% 0;
  font-size: 1.25cqw;
  line-height: 1.2;
}
.avatar {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  background: #ebd3c3;
  color: #6b432e;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: var(--text-caption);
}
.avatar.green {
  background: #d3dfcd;
  color: #3d5a3d;
}
.sample-person .avatar {
  width: 3.5cqw;
  height: 3.5cqw;
  font-size: 1.4cqw;
}
.sample-person small {
  display: block;
  font-size: 1cqw;
  color: #73816f;
  margin-top: 4px;
}
.sample-person em {
  font-size: 1cqw;
  font-style: normal;
  margin-left: auto;
  color: #66795d;
}
.sample-invite {
  background: #f5f5ec;
  border: 1px solid #e4e7d9;
  border-radius: 4px;
  padding: 4%;
  margin-top: 3%;
  font-size: 1.35cqw;
}
.sample-input {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fdfdf8;
  border: 1px solid #d9dfd1;
  border-radius: 3px;
  margin: 3% 0 0;
  padding: 1.5% 2%;
  font-size: 1.1cqw;
  color: #69745f;
}
.sample-input > span {
  background: #3e5948;
  color: #f4f5e9;
  padding: 3% 5%;
  border-radius: 2px;
}
.sample-error {
  font-size: 1.15cqw;
  color: #a64130;
  margin-top: 3%;
  display: flex;
  gap: 5px;
  align-items: center;
}
.sample-error > span {
  border: 1px solid #be7867;
  width: 1.6cqw;
  height: 1.6cqw;
  line-height: 1.2;
  text-align: center;
  border-radius: 50%;
}
.recorder-pill {
  position: absolute;
  bottom: 12%;
  left: 24%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 1.4cqw;
  background: #fbfcf4;
  border: 1px solid #dbe1d0;
  border-radius: 6px;
  padding: 1.3cqw 2cqw;
  box-shadow: 0 6px 20px #30442f33;
  font-size: 1.5cqw;
}
.recording-dot {
  width: 0.9cqw;
  height: 0.9cqw;
  border-radius: 50%;
  background: #aa4f35;
}
.pill-divider {
  height: 2cqw;
  border-right: 1px solid #d9dfcd;
}
.stop-recording {
  color: #a04a31;
}
.signal-bars {
  color: #677d52;
  letter-spacing: 0.2cqw;
}
.desktop-dock {
  display: flex;
  align-items: center;
  gap: 1.7cqw;
  position: absolute;
  bottom: 2%;
  left: 32%;
  background: #f0f1d662;
  padding: 0.8cqw 1.3cqw;
  border: 1px solid #eef1d768;
  border-radius: 6px;
}
.desktop-dock i {
  font-style: normal;
  color: #355643;
  line-height: 1;
  font-size: 2.4cqw;
}
.desktop-dock i:nth-child(2n) {
  color: #a6704b;
}
.log-panel {
  background: #25382e;
  color: #e7eedd;
  border: 1px solid #506052;
  border-radius: 7px;
  overflow: hidden;
  min-width: 0;
  font-size: var(--text-body);
}
.panel-caption {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: var(--text-caption);
  font-weight: 550;
  letter-spacing: 0.02em;
  border-bottom: 1px solid #6273614d;
  padding: 14px 18px;
}
.panel-caption > span:last-child {
  margin-left: auto;
  font-size: var(--text-caption);
  color: #c0cdb6;
}
.log-panel .status-dot {
  background: #a8be8c;
}
.log-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px 4px;
  min-width: 0;
}
.log-line code {
  font-family: "Public Sans", sans-serif;
  font-size: var(--text-body);
  overflow-wrap: anywhere;
}
.log-line small {
  font-size: var(--text-caption);
  color: #bbcab1;
  margin-left: auto;
  white-space: nowrap;
}
.error-label {
  font-size: var(--text-caption);
  background: #694737;
  color: #ffceb1;
  padding: 2px 5px;
  border-radius: 2px;
}
.log-line.secondary {
  padding: 8px 18px 15px;
  color: #cbd7c4;
  font-size: var(--text-body);
}
.log-line.secondary code {
  font-size: var(--text-body);
}
.source-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 18px;
  font-size: var(--text-caption);
  color: #b4c3a9;
  border-top: 1px solid #6273614d;
  gap: 12px;
}
.assistant-panel {
  background: #fafbf5;
  color: #2c3c2b;
  border: 1px solid #dce1d2;
  border-radius: 7px;
  padding: 0 24px 22px;
  font-size: var(--text-body);
  box-shadow: 0 20px 48px -25px #10291f35;
}
.assistant-panel .panel-caption {
  margin: 0 -24px;
  padding: 14px 24px;
  border-color: #e1e7d8;
  color: #4c6046;
}
.assistant-panel .panel-caption > span:last-child {
  color: #58704e;
}
.assistant-mark {
  font-size: 1.1875rem;
  color: #916d4b;
}
.assistant-panel p {
  font-size: var(--text-body);
  line-height: 1.8;
  margin: 16px 0;
  color: #405439;
}
.assistant-panel .sample-prompt {
  background: #ecefe3;
  padding: 12px 16px;
  border-radius: 5px;
  color: #3d4c34;
  font-size: var(--text-caption);
}
.tool-receipt {
  font-size: var(--text-caption);
  color: #5b714c;
  display: flex;
  gap: 10px;
  margin: 20px 0 10px;
}
.assistant-panel .assistant-next {
  font-size: var(--text-body);
  color: #5c6b53;
}
.evidence-citation {
  display: inline-block;
  font-size: var(--text-caption);
  border-bottom: 1px solid #abbca0;
  padding-bottom: 3px;
  color: #526344;
}
.illustrative {
  display: block;
  font-size: var(--text-caption);
  color: #5e7055;
  margin-top: 18px;
}
.hero-log .panel-caption {
  font-size: var(--text-caption);
  padding: 11px 15px;
}
.hero-log .log-line {
  padding-left: 15px;
  padding-right: 15px;
}
.hero-log .log-line code {
  font-size: var(--text-caption);
}
.hero-log .source-row {
  padding: 8px 15px;
}
/* Scroll assembles the recording, evidence and assistant into one view. */
.assembly {
  height: 240svh;
  position: relative;
  background: var(--dark);
  color: var(--paper);
  --progress: 1;
  --log-progress: 1;
  --agent-progress: 1;
}
.assembly-inner {
  position: sticky;
  top: 85px;
  min-height: calc(100svh - 85px);
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 20px 4vw;
  align-content: center;
  padding: 50px 5vw 26px;
  max-width: 1500px;
  margin: auto;
}
.assembly-heading {
  align-self: center;
}
.assembly-heading h2 {
  font-size: clamp(2.125rem, 3.6vw, 3.25rem);
  line-height: 1.13;
  max-width: 480px;
}
.assembly-heading .eyebrow {
  color: #c5d2b6;
}
.assembly-heading p {
  font-size: var(--text-body);
  color: #b6c6ad;
  margin-top: 24px;
}
.assembly-stage {
  --stage-height: 410px;
  --recording-top: 20px;
  position: relative;
  height: var(--stage-height);
  perspective: 1400px;
  isolation: isolate;
}
.stage-recording {
  position: absolute;
  left: 0;
  top: var(--recording-top);
  width: 94%;
  max-width: calc((var(--stage-height) - var(--recording-top) - 24px) * 1.53);
  transform: translate(
      calc(var(--progress) * -20px),
      calc(var(--progress) * -10px)
    )
    rotateX(calc(var(--progress) * 8deg)) rotateY(calc(var(--progress) * -9deg))
    scale(calc(1 - var(--progress) * 0.08));
  transform-origin: top left;
}
.stage-logs {
  position: absolute;
  left: -8%;
  top: 49%;
  width: 69%;
  z-index: 2;
  opacity: var(--log-progress);
  transform: translateY(calc((1 - var(--log-progress)) * 90px))
    rotate(calc((1 - var(--log-progress)) * -6deg));
  box-shadow: 0 20px 30px -20px #0c190d90;
}
.stage-assistant {
  position: absolute;
  width: 57%;
  top: 8%;
  right: -1%;
  z-index: 3;
  opacity: var(--agent-progress);
  transform: translate(
    calc((1 - var(--agent-progress)) * 70px),
    calc((1 - var(--agent-progress)) * 60px)
  );
  box-shadow: 0 20px 30px -20px #0c190d90;
}
.stage-assistant .assistant-panel {
  padding: 0 18px 16px;
}
.stage-assistant .panel-caption {
  margin: 0 -18px;
  padding: 12px 18px;
  font-size: var(--text-caption);
}
.stage-assistant p {
  font-size: var(--text-body);
  margin: 12px 0;
}
.stage-assistant .sample-prompt {
  font-size: var(--text-caption);
  padding: 10px;
}
.stage-assistant .assistant-next {
  font-size: var(--text-body);
}
.stage-assistant .tool-receipt {
  font-size: var(--text-caption);
  margin: 10px 0;
}
.stage-assistant .illustrative {
  font-size: var(--text-caption);
  margin-top: 10px;
}
.stage-label {
  display: flex;
  grid-column: 2;
  gap: 10px;
  align-items: center;
  margin-top: 24px;
  font-size: var(--text-body);
  color: #bac9ac;
  letter-spacing: 0.03em;
}
.stage-label .status-dot {
  background: #b9cf97;
}
.chapter-controls {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 24px;
}
.chapter-controls button {
  position: relative;
  border: 0;
  border-top: 1px solid #5b6b52;
  background: none;
  text-align: left;
  padding: 20px 0 0;
  color: #a7b49a;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 5px 8px;
  transition: color 0.3s;
  min-height: 75px;
}
.chapter-controls button:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 1px;
  background: #cbdca8;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.chapter-controls button[aria-pressed="true"] {
  color: #edf2dc;
}
.chapter-controls button[aria-pressed="true"]:before {
  transform: scaleX(1);
}
.chapter-controls button > span {
  grid-row: 1/3;
  font-size: var(--text-body);
  padding-top: 3px;
}
.chapter-controls b {
  font-size: var(--text-body);
  font-weight: 550;
}
.chapter-controls small {
  font-size: var(--text-support);
  color: #b3c0a7;
}
.assembly-footnote {
  grid-column: 1/-1;
  color: #a7b89b;
  font-size: var(--text-caption);
  max-width: none;
  margin: 0;
}
.split-section,
.mcp-section,
.audio-section,
.sharing-section,
.faq-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9vw;
  align-items: center;
}
.split-section p,
.mcp-copy > p,
.audio-section p,
.sharing-section p {
  font-size: var(--text-body);
  line-height: 1.85;
  margin: 24px 0;
  max-width: 440px;
}
.detail-stack {
  padding: 32px 0;
}
.moment-note {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 32px 0;
}
.moment-note > span {
  border: 1px solid #c5cfb9;
  border-radius: 3px;
  background: #e9edde;
  color: #667452;
  font-size: var(--text-body);
  padding: 6px 9px;
}
.moment-note p {
  font-size: var(--text-body);
  color: var(--ink);
  margin: 0 !important;
  line-height: 1.7;
}
.moment-note b {
  font-weight: 550;
}
.detail-stack .log-panel {
  transform: rotate(-1.5deg);
  box-shadow: 12px 20px 40px -26px #26372655;
}
.evidence-note {
  display: flex;
  gap: 16px;
  margin: 22px 0 0 24px;
  align-items: center;
  color: var(--muted);
  font-size: var(--text-body);
}
.evidence-note > span {
  font-size: 1.4375rem;
  color: var(--accent);
}
.mcp-section {
  background: #e4e9db;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  gap: 10vw;
}
.mcp-copy .text-link {
  display: flex;
  width: max-content;
  margin-top: 12px;
}
.mcp-copy .button {
  font-size: var(--text-body);
}
.mcp-visual {
  padding: 0 24px;
}
.mcp-source {
  display: flex;
  gap: 18px;
  align-items: center;
  width: max-content;
  margin: auto;
}
.mcp-source b {
  font:
    650 22px Manrope,
    sans-serif;
  letter-spacing: -0.03em;
}
.mcp-source span {
  font-size: var(--text-caption);
  display: block;
  color: var(--muted);
  margin-top: 2px;
}
.connection-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 80px;
}
.connection-line i {
  flex: 1;
  width: 1px;
  background: #9aab83;
}
.connection-line span {
  font-size: var(--text-caption);
  letter-spacing: 0.12em;
  border: 1px solid #b8c3a9;
  border-radius: 12px;
  padding: 2px 8px;
  color: #596e48;
  background: #edf1e3;
}
.mcp-visual .assistant-panel {
  transform: rotate(1deg);
}
.use-case-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 56px;
}
.use-case {
  position: relative;
  border-top: 1px solid var(--line);
  padding: 26px 0 32px;
  transition: border-color 0.25s;
}
.use-case:hover {
  border-color: var(--accent);
}
.use-case > span:first-child {
  font-size: var(--text-caption);
  color: var(--muted);
}
.use-case h3 {
  font-size: 1.625rem;
  line-height: 1.2;
  margin: 28px 0 20px;
}
.use-case p {
  font-size: var(--text-body);
  line-height: 1.8;
  padding-right: 15px;
}
.use-case > span:last-child {
  font-size: 1.5625rem;
  color: var(--accent);
  display: inline-block;
  transition: transform 0.3s var(--ease);
}
.use-case:hover > span:last-child {
  transform: translate(4px, -4px);
}
.audio-section {
  border-top: 1px solid var(--line);
  gap: 10vw;
}
.sound-visual {
  position: relative;
  background: #eceee2;
  border: 1px solid #d4ddc8;
  padding: 32px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 32px 60px -40px #45553055;
}
.sound-title,
.sound-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-caption);
  font-weight: 550;
  gap: 16px;
}
.local-badge {
  font-size: var(--text-caption);
  color: #4d673f;
  border: 1px solid #bdcbaa;
  border-radius: 12px;
  padding: 4px 9px;
}
.wave-track {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
}
.wave-track > span {
  font-size: var(--text-caption);
  width: 52px;
  color: #5c6b50;
  flex-shrink: 0;
}
.wave {
  height: 60px;
  display: flex;
  align-items: center;
  gap: 3px;
  flex: 1;
  overflow: hidden;
}
.wave i {
  height: var(--bar);
  min-width: 2px;
  flex: 1;
  max-width: 4px;
  border-radius: 4px;
  background: #9fac8c;
  transform: scaleY(0.7);
}
.cleaned .wave i {
  background: #9a563b;
  transform: scaleY(0.92);
}
.original .wave i:nth-child(3n) {
  transform: scaleY(0.28);
}
.sound-foot {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #d1d9c3;
  font-size: var(--text-caption);
  font-weight: 400;
}
.sound-foot b {
  font-size: var(--text-caption);
  font-weight: 500;
  color: #596b49;
}
.sound-visual > small {
  display: block;
  font-size: var(--text-caption);
  color: #637456;
  margin-top: 24px;
}
.sharing-section {
  padding-top: 40px;
}
.plain-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: var(--text-support);
  color: var(--muted);
  margin-top: 30px;
}
.plain-benefits > span {
  border-bottom: 1px solid var(--line);
  padding-bottom: 7px;
}
.share-visual {
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  transform: rotate(-1deg);
  box-shadow: 12px 30px 50px -35px #263b2940;
}
.share-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-caption);
  font-weight: 600;
  margin-bottom: 16px;
}
.share-heading small {
  display: block;
  font-size: var(--text-caption);
  color: var(--muted);
  font-weight: 400;
  margin-top: 2px;
}
.share-badge {
  font-size: var(--text-caption);
  background: #e9efde;
  color: #526842;
  padding: 3px 8px;
  border-radius: 12px;
  margin-left: auto;
}
.compact {
  aspect-ratio: 1.85;
}
.compact .desktop-dock {
  display: none;
}
.timeline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 15px 0;
}
.timeline span {
  height: 3px;
  background: var(--accent);
  width: 27%;
}
.timeline b {
  font-size: var(--text-caption);
  font-weight: 500;
  color: var(--accent);
}
.timeline i {
  flex: 1;
  height: 2px;
  background: #d7dfc9;
}
.sample-comment {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-top: 1px solid #e3e8db;
  padding: 13px 0 4px;
}
.sample-comment p {
  font-size: var(--text-caption) !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}
.sample-comment strong {
  display: block;
  font-size: var(--text-caption);
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 4px;
}
.sample-comment strong span {
  font-size: var(--text-caption);
  font-weight: 400;
  color: #946444;
  margin-left: 9px;
}
.sample-comment .avatar {
  width: 24px;
  height: 24px;
  font-size: var(--text-caption);
}
.trust-section {
  background: #ecefe5;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  text-align: left;
  margin: 60px auto 32px;
  max-width: 1100px;
}
.trust-columns h3 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.trust-columns p {
  font-size: var(--text-body);
  line-height: 1.8;
  margin: 15px 0 0;
}
.faq-section {
  align-items: start;
  gap: 8vw;
}
.faq-list details {
  border-top: 1px solid var(--line);
}
.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: var(--text-body);
  font-weight: 550;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary > span {
  font-size: 1.25rem;
  color: var(--muted);
  transition: transform 0.25s;
}
.faq-list details[open] summary > span {
  transform: rotate(45deg);
}
.faq-list p {
  font-size: var(--text-body);
  line-height: 1.85;
  padding: 0 24px 4px 0;
}
.faq-list p a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.closing {
  background: #dfe6d2;
  overflow: hidden;
  isolation: isolate;
  min-height: 540px;
}
.closing h2 {
  font-size: clamp(2.375rem, 4.65vw, 4.25rem);
  line-height: 1.09;
}
.closing p {
  font-size: var(--text-body);
  margin: 24px 0;
}
.closing .small-note {
  margin-top: 16px;
  font-size: var(--text-caption);
}
.closing-orbit {
  width: 80vw;
  height: 80vw;
  position: absolute;
  right: -44vw;
  top: -3vw;
  border: 1px solid #93a882;
  border-radius: 50%;
  z-index: -1;
  box-shadow:
    0 0 0 48px #d4dec770,
    0 0 0 49px #aabc956b,
    0 0 0 98px #d4dec744,
    0 0 0 99px #aabc956b,
    0 0 0 160px #d4dec722,
    0 0 0 161px #aabc956b;
}
.site-footer {
  padding: 64px 5vw 24px;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(
      0,
      1.2fr
    );
  gap: 48px;
  max-width: 1360px;
  margin: auto;
}
.footer-top p {
  font-size: var(--text-support);
  margin: 18px 0 4px;
}
.footer-top .small-note {
  font-size: var(--text-caption);
}
.footer-top h2 {
  font-family: "Public Sans", sans-serif;
  font-size: var(--text-support);
  letter-spacing: 0;
  margin: 5px 0 16px;
  font-weight: 600;
}
.footer-top > div > a:not(.brand) {
  display: flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  min-height: 44px;
  font-size: var(--text-support);
  color: var(--muted);
  padding: 6px 0;
}
.footer-top > div > a > span[aria-hidden] {
  display: none;
}
.footer-top > div > a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  font-size: var(--text-caption);
  color: var(--muted);
  max-width: 1360px;
  margin: 60px auto 0;
  padding: 24px 0 0;
}
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
/* Substantive feature and task-based documentation pages. */
.article-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 6vw;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 88px;
  border-bottom: 1px solid var(--line);
}
.article-hero h1 {
  font-size: clamp(2.75rem, 4.65vw, 4.375rem);
}
.article-hero p {
  font-size: var(--text-body);
  line-height: 1.85;
  margin: 28px 0;
  max-width: 490px;
}
.article-visual {
  min-width: 0;
}
.article-scene {
  position: relative;
  padding-bottom: 30px;
}
.article-scene .mac-scene {
  transform: rotate(-2deg);
}
.article-scene > .log-panel {
  width: 76%;
  margin: -45px -12px 0 auto;
  position: relative;
  transform: rotate(1deg);
  box-shadow: 0 20px 35px -24px #273c3655;
}
.article-body {
  display: grid;
  grid-template-columns: 0.7fr 1.5fr;
  gap: 10vw;
  align-items: start;
  max-width: 1450px;
  margin: auto;
}
.article-toc {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 132px;
  gap: 4px;
}
.article-toc .eyebrow {
  margin-bottom: 12px;
}
.article-toc a:not(.text-link) {
  font-size: var(--text-support);
  color: var(--muted);
  padding: 9px 0;
  line-height: 1.6;
}
.article-toc a:hover {
  color: var(--accent);
}
.article-sections > section {
  padding-bottom: 56px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 140px;
}
.section-index {
  display: block;
  font-size: var(--text-caption);
  color: var(--accent);
  margin-bottom: 16px;
}
.article-sections h2 {
  font-size: clamp(1.75rem, 3vw, 2.625rem);
  line-height: 1.2;
}
.article-sections p {
  font-size: var(--text-body);
  line-height: 1.9;
  margin-top: 24px;
  margin-bottom: 0;
}
.article-sections ul {
  font-size: var(--text-body);
  color: var(--muted);
  padding-left: 22px;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}
.next-guide {
  display: grid;
  grid-template-columns: 1fr 32px;
  gap: 12px 24px;
  padding: 24px;
  background: #e6ecdb;
  border: 1px solid #cfdac0;
  border-radius: 5px;
}
.next-guide > span:first-child {
  grid-column: 1;
  font-size: var(--text-caption);
  color: var(--muted);
}
.next-guide strong {
  grid-column: 1;
  font-family: Manrope, sans-serif;
  font-weight: 600;
  font-size: 1.1875rem;
  letter-spacing: -0.02em;
}
.next-guide > span:last-child {
  grid-row: 1/3;
  grid-column: 2;
  align-self: center;
  font-size: 1.625rem;
}
.doc-hero {
  display: block;
  padding-bottom: 64px;
}
.doc-hero h1 {
  max-width: 840px;
}
.doc-hero p {
  max-width: 600px;
  margin-bottom: 0;
}
.article-app-action {
  margin-top: 24px;
}
.docs-hero {
  padding-bottom: 64px;
}
.docs-hero p {
  font-size: var(--text-body);
  margin-top: 30px;
}
.docs-index {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 80px;
  padding-top: 0;
}
.docs-search {
  max-width: 600px;
  margin-top: 40px;
}
.docs-search label {
  display: block;
  font-size: var(--text-support);
  font-weight: 600;
  margin-bottom: 12px;
}
.docs-search > div {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.docs-search input {
  min-width: 0;
  flex: 1 1 260px;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  font: inherit;
  font-size: var(--text-body);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 5px;
}
.docs-search button {
  min-height: 44px;
  padding: 8px 4px;
  font-size: var(--text-body);
  color: var(--accent);
  border: 0;
  background: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}
#guide-count {
  display: block;
  margin-top: 12px;
  font-size: var(--text-support);
  color: var(--muted);
}
.docs-empty {
  grid-column: 1 / -1;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.doc-entry {
  display: block;
  position: relative;
  border-top: 1px solid var(--line);
  padding: 32px 40px 38px 0;
}
.doc-entry > span:first-child {
  font-size: var(--text-caption);
  color: var(--accent);
}
.doc-entry h2 {
  font-size: 1.6875rem;
  margin: 20px 0;
  line-height: 1.25;
}
.doc-entry p {
  font-size: var(--text-body);
  line-height: 1.8;
}
.doc-entry > span:last-child {
  position: absolute;
  bottom: 40px;
  right: 0;
  font-size: 1.4375rem;
  color: var(--accent);
}
.doc-entry:hover h2 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.not-found {
  min-height: 65svh;
}
.not-found p {
  margin-top: 30px;
}
.beta-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: start;
}
.beta-intro h1 {
  font-size: clamp(2.625rem, 4.9vw, 4.25rem);
  line-height: 1.12;
}
.beta-intro > p {
  margin-top: 28px;
  font-size: var(--text-body);
}
.beta-steps {
  display: grid;
  gap: 28px;
  padding: 0;
  margin: 44px 0;
  list-style: none;
}
.beta-steps > li {
  display: flex;
  gap: 20px;
}
.beta-steps > li > span {
  font-size: var(--text-caption);
  color: var(--accent);
  padding-top: 3px;
}
.beta-steps b {
  font-size: var(--text-body);
  font-weight: 550;
}
.beta-steps p {
  font-size: var(--text-support);
  margin: 6px 0 0;
}
.beta-form-panel {
  background: var(--surface);
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: 0 18px 48px -36px #394b2644;
}
.beta-form-panel > .eyebrow {
  font-size: var(--text-caption);
  margin-bottom: 16px;
}
.beta-form-panel h2 {
  font-size: 2.125rem;
  margin-bottom: 28px;
}
.beta-form-panel > p {
  font-size: var(--text-body);
}
.beta-form-panel form {
  display: grid;
  gap: 18px;
}
.beta-form-panel label {
  display: grid;
  gap: 7px;
  font-size: var(--text-support);
  font-weight: 600;
  position: relative;
}
.beta-form-panel input,
.beta-form-panel select,
.beta-form-panel textarea {
  width: 100%;
  min-width: 0;
  background: #fbfcf6;
  color: var(--ink);
  border: 1px solid #cdd7c3;
  border-radius: 4px;
  padding: 12px;
  font-size: var(--text-body);
  line-height: 1.5;
  min-height: 46px;
  transition: border-color 0.2s;
}
.beta-form-panel textarea {
  resize: vertical;
}
.beta-form-panel input::placeholder,
.beta-form-panel textarea::placeholder {
  color: #6c7864;
  opacity: 1;
}
.optional {
  position: absolute;
  right: 0;
  top: 0;
  color: var(--muted);
  font-size: var(--text-caption);
  font-weight: 400;
}
.beta-form-panel .button {
  width: 100%;
  margin-top: 6px;
  justify-content: space-between;
}
.form-note {
  font-size: var(--text-support);
  line-height: 1.8;
  margin: 0;
}
.beta-form-panel > .text-link {
  display: flex;
  width: fit-content;
  font-size: var(--text-body);
  margin-top: 22px;
}
.beta-form-panel form + .form-feedback + p {
  margin-top: 24px;
}
.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-feedback:not(:empty) {
  padding: 20px;
  border: 1px solid #bacbac;
  background: #edf3e4;
  font-size: var(--text-support);
  line-height: 1.8;
  margin-top: 24px;
  border-radius: 5px;
}
.form-feedback.error {
  border-color: #d8b8a8;
  background: #f6ece4;
  color: #8e3e2c;
}
.form-feedback h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.form-feedback p {
  font-size: var(--text-support);
  margin: 0;
}
.form-feedback a {
  text-decoration: underline;
}
/* Motion is progressive: content remains present when scripts do not run. */
@media (prefers-reduced-motion: no-preference) {
  .motion-ready .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition:
      opacity 0.8s var(--ease),
      transform 1.1s var(--ease);
  }
  .motion-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
  .hero-copy {
    animation: hero-copy 0.95s var(--ease) both;
  }
  .hero-recording {
    animation: recording-enter 1.3s var(--ease) both;
  }
  .hero-log {
    animation: log-enter 1.25s 0.18s var(--ease) both;
  }
  .hero-proof {
    animation: proof-enter 1.2s 0.35s var(--ease) both;
  }
  .wave-active .cleaned .wave i {
    animation: wave-breathe 1.4s var(--delay) ease-in-out infinite alternate;
  }
  @keyframes hero-copy {
    from {
      transform: translateY(18px);
    }
    to {
      transform: none;
    }
  }
  @keyframes recording-enter {
    from {
      opacity: 0;
      transform: translateY(55px) rotateY(-14deg) rotateX(12deg) rotateZ(-3deg);
    }
    to {
      opacity: 1;
      transform: rotateY(-8deg) rotateX(7deg) rotateZ(-2deg);
    }
  }
  @keyframes log-enter {
    from {
      opacity: 0;
      transform: translate(20px, 70px) rotate(-5deg);
    }
    to {
      opacity: 1;
      transform: rotate(-2deg);
    }
  }
  @keyframes proof-enter {
    from {
      opacity: 0;
      transform: translate(-12px, 40px) rotate(4deg);
    }
    to {
      opacity: 1;
      transform: rotate(1.3deg);
    }
  }
  @keyframes wave-breathe {
    from {
      transform: scaleY(0.55);
    }
    to {
      transform: scaleY(0.95);
    }
  }
}
@media (min-width: 1600px) {
  .assembly-inner {
    padding-left: 0;
    padding-right: 0;
  }
  .hero-stack {
    padding-bottom: 120px;
  }
  .hero-proof {
    bottom: 20px;
  }
  .hero-log {
    bottom: 90px;
  }
}
@media (max-height: 760px) and (min-width: 901px) {
  .assembly-inner {
    padding-top: 24px;
    gap: 12px 4vw;
  }
  .assembly-stage {
    --stage-height: 340px;
  }
  .stage-recording {
    width: 80%;
  }
  .stage-logs {
    top: 48%;
    width: 62%;
  }
  .stage-assistant {
    width: 55%;
    top: 0;
  }
  .chapter-controls {
    margin-top: 8px;
  }
  .assembly-heading h2 {
    font-size: 2.375rem;
  }
  .assembly-heading p {
    margin-top: 18px;
  }
  .chapter-controls button {
    padding-top: 12px;
  }
}
@media (max-width: 1100px) {
  .header-inner {
    gap: 40px;
  }
  #site-nav {
    gap: 24px;
  }
  .nav-actions {
    gap: 18px;
  }
  .hero {
    gap: 3vw;
  }
  .hero h1 {
    font-size: 3.75rem;
  }
  .hero-stack {
    min-height: 360px;
    padding-bottom: 100px;
  }
  .hero-proof {
    width: 82%;
  }
  .hero-log {
    width: 87%;
    bottom: 70px;
  }
  .hero-copy > p {
    font-size: var(--text-body);
  }
  .assembly-stage {
    --stage-height: 370px;
    --recording-top: 50px;
  }
  .stage-assistant {
    width: 65%;
    right: -2%;
    top: 0;
  }
  .stage-logs {
    top: 56%;
    width: 78%;
  }
  .stage-assistant .assistant-next {
    display: none;
  }
  .assembly-heading h2 {
    font-size: 2.375rem;
  }
  .mcp-visual {
    padding: 0;
  }
  .footer-top {
    gap: 32px;
  }
  .article-hero h1 {
    font-size: 3rem;
  }
  .beta-form-panel {
    padding: 28px;
  }
  .use-case-list {
    gap: 28px;
  }
  .use-case h3 {
    font-size: 1.5rem;
  }
}
@media (max-width: 900px) {
  .section {
    padding-left: 6vw;
    padding-right: 6vw;
  }
  .site-header .header-inner {
    padding: 16px 6vw;
    min-height: 76px;
  }
  .brand {
    font-size: 1.75rem;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
    border: 1px solid var(--line);
    background: transparent;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: var(--text-body);
    min-height: 44px;
  }
  #site-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    max-height: calc(100svh - 76px);
    overflow: auto;
    background: var(--paper);
    padding: 16px 6vw 32px;
    border-bottom: 1px solid var(--line);
    font-size: var(--text-body);
  }
  #site-nav.is-open {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
  }
  #site-nav > a {
    padding: 14px 0;
  }
  .nav-dropdown {
    width: 100%;
  }
  .nav-dropdown summary {
    padding: 14px 0;
    justify-content: space-between;
  }
  .nav-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    margin: 0 0 12px;
    padding: 8px;
    font-size: var(--text-body);
  }
  .nav-actions {
    margin: 20px 0 0;
    justify-content: space-between;
    gap: 24px;
  }
  .nav-actions .button {
    font-size: var(--text-body);
  }
  .hero {
    grid-template-columns: 1fr 1fr;
    min-height: auto;
    align-items: start;
    padding-top: 60px;
    padding-bottom: 72px;
    gap: 32px;
  }
  .hero h1 {
    font-size: 3.125rem;
  }
  .hero-copy > p {
    font-size: var(--text-body);
  }
  .hero-visual {
    padding-top: 62px;
  }
  .hero-stack {
    min-height: 320px;
  }
  .hero-recording {
    width: 111%;
  }
  .hero-log {
    width: 105%;
    right: -15px;
    bottom: 80px;
  }
  .hero-proof {
    width: 100%;
    left: 0;
    padding: 12px 14px;
    bottom: 17px;
    gap: 12px;
  }
  .hero-proof b {
    font-size: var(--text-caption);
  }
  .hero-proof div > span {
    font-size: var(--text-caption);
  }
  .hero-rule {
    font-size: var(--text-caption);
    gap: 10px;
  }
  .visual-caption {
    font-size: var(--text-caption);
  }
  .value-strip {
    padding: 20px 6vw;
    font-size: var(--text-support);
    gap: 20px;
  }
  .assembly {
    height: 215svh;
  }
  .assembly-inner {
    top: 76px;
    min-height: calc(100svh - 76px);
    grid-template-columns: 1fr;
    padding: 34px 6vw 20px;
    gap: 20px;
  }
  .assembly-heading {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 10px 30px;
    align-items: start;
  }
  .assembly-heading .eyebrow {
    grid-row: 1/3;
    margin-top: 6px;
    font-size: var(--text-caption);
  }
  .assembly-heading h2 {
    font-size: 2rem;
  }
  .assembly-heading p {
    font-size: var(--text-body);
    margin: 0;
    grid-column: 2;
  }
  .assembly-stage {
    --stage-height: 370px;
    --recording-top: 0px;
    width: 80%;
    /* The tilted recording extends above its layout box at the final chapter. */
    margin: 32px auto 0;
  }
  .stage-recording {
    top: 0;
    left: 0;
    width: 92%;
  }
  .stage-assistant {
    width: 52%;
    right: 0;
    top: 0;
  }
  .stage-logs {
    width: 63%;
    left: -3%;
    top: 49%;
  }
  .stage-assistant .assistant-next {
    display: block;
  }
  .chapter-controls {
    gap: 20px;
    margin-top: 0;
  }
  .chapter-controls b {
    font-size: var(--text-body);
  }
  .chapter-controls small {
    font-size: var(--text-support);
  }
  .split-section,
  .mcp-section,
  .audio-section,
  .sharing-section,
  .faq-section {
    gap: 6vw;
  }
  .split-section h2,
  .mcp-section h2,
  .audio-section h2,
  .sharing-section h2 {
    font-size: 2.25rem;
  }
  .split-section p,
  .mcp-copy > p,
  .audio-section p,
  .sharing-section p {
    font-size: var(--text-body);
  }
  .moment-note {
    gap: 12px;
  }
  .moment-note p {
    font-size: var(--text-body);
  }
  .moment-note > span {
    font-size: var(--text-body);
  }
  .sound-visual {
    padding: 24px;
  }
  .sound-title {
    font-size: var(--text-caption);
  }
  .wave-track {
    gap: 8px;
  }
  .wave-track > span {
    width: 40px;
    font-size: var(--text-caption);
  }
  .wave {
    gap: 2px;
  }
  .sound-foot {
    display: block;
    font-size: var(--text-caption);
  }
  .sound-foot b {
    display: block;
    margin-top: 7px;
  }
  .use-case-list {
    gap: 28px;
  }
  .use-case h3 {
    font-size: 1.375rem;
  }
  .use-case p {
    font-size: var(--text-body);
  }
  .trust-columns {
    gap: 30px;
  }
  .trust-columns h3 {
    font-size: 1.125rem;
  }
  .trust-columns p {
    font-size: var(--text-body);
  }
  .article-hero {
    grid-template-columns: 1fr;
  }
  .article-hero h1 {
    font-size: 3.625rem;
  }
  .article-visual {
    max-width: 600px;
    width: 100%;
    margin: 20px auto 0;
  }
  .article-hero > div:first-child {
    max-width: 700px;
  }
  .article-body {
    grid-template-columns: 0.6fr 1.5fr;
    gap: 8vw;
  }
  .article-toc a:not(.text-link) {
    font-size: var(--text-support);
  }
  .article-sections h2 {
    font-size: 1.875rem;
  }
  .article-sections p {
    font-size: var(--text-body);
  }
  .footer-top {
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 32px;
  }
  .footer-top > div:first-child {
    grid-column: 1/-1;
  }
  .footer-top .small-note {
    font-size: var(--text-caption);
  }
  .footer-top > div > a:not(.brand) {
    font-size: var(--text-support);
  }
  .footer-top h2 {
    font-size: var(--text-support);
  }
  .beta-page {
    gap: 5vw;
  }
  .beta-intro h1 {
    font-size: 2.625rem;
  }
  .beta-intro > p {
    font-size: var(--text-body);
  }
  .beta-form-panel {
    padding: 24px;
  }
  .beta-form-panel > .eyebrow {
    font-size: var(--text-caption);
  }
  .beta-form-panel h2 {
    font-size: 1.875rem;
  }
  .docs-index {
    gap: 0 40px;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 2.875rem;
  }
  h2 {
    font-size: 2.25rem;
  }
  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 38px;
    gap: 34px;
  }
  .hero h1 {
    font-size: clamp(3rem, 11.9vw, 4.25rem);
    line-height: 1.05;
  }
  .hero h1 br:nth-of-type(2) {
    display: none;
  }
  .hero h1 > span:before {
    content: " ";
  }
  .hero-copy > p {
    font-size: var(--text-body);
    max-width: 350px;
    margin: 22px 0;
  }
  .beta-label {
    font-size: var(--text-caption);
    margin-bottom: 24px;
  }
  .hero-actions {
    gap: 10px 20px;
  }
  .hero-actions .button {
    font-size: var(--text-body);
  }
  .hero-actions .text-link {
    font-size: var(--text-body);
  }
  .hero-copy > .small-note {
    font-size: var(--text-caption);
  }
  .hero-visual {
    padding: 0;
  }
  .hero-rule {
    font-size: var(--text-caption);
  }
  .hero-stack {
    padding: 20px 3% 126px;
    min-height: 0;
  }
  .hero-recording {
    width: 100%;
  }
  .hero-log {
    width: 79%;
    right: 0;
    bottom: 70px;
  }
  .hero-proof {
    width: 75%;
    left: 2%;
    bottom: 0;
    padding: 13px 16px;
  }
  .hero-proof b {
    font-size: var(--text-caption);
  }
  .hero-proof div > span {
    font-size: var(--text-caption);
  }
  .hero-log .log-line code {
    font-size: var(--text-caption);
  }
  .visual-caption {
    margin-top: 16px;
    font-size: var(--text-caption);
  }
  .value-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 6vw;
    font-size: var(--text-support);
  }
  .value-strip > span {
    gap: 14px;
  }
  .value-strip > span:before {
    font-size: var(--text-support);
  }
  .assembly {
    height: auto;
    --log-progress: 1;
    --agent-progress: 1;
    --progress: 1;
  }
  .assembly-inner {
    position: relative;
    top: 0;
    min-height: 0;
    padding: 60px 6vw;
    gap: 32px;
    display: flex;
    flex-direction: column;
  }
  .assembly-heading {
    display: block;
    width: 100%;
  }
  .assembly-heading .eyebrow {
    font-size: var(--text-caption);
    margin: 0 0 20px;
  }
  .assembly-heading h2 {
    font-size: 2.25rem;
  }
  .assembly-heading p {
    font-size: var(--text-body);
    margin: 20px 0 0;
  }
  .assembly-stage {
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 0;
    width: 100%;
    margin: 0;
  }
  .stage-recording {
    position: relative;
    top: 0;
    width: 100%;
    max-width: none;
    left: 0;
    transform: rotate(-1deg);
  }
  .stage-logs {
    position: relative;
    opacity: 1;
    transform: rotate(1deg);
    left: 0;
    top: 0;
    width: 92%;
    margin: -24px 0 0 auto;
  }
  .stage-assistant {
    position: relative;
    opacity: 1;
    transform: rotate(-1deg);
    width: 90%;
    right: 0;
    top: 0;
    margin: 16px 0 0;
  }
  .stage-assistant .assistant-panel {
    padding: 0 20px 20px;
  }
  .stage-assistant .panel-caption {
    margin: 0 -20px;
    padding: 14px 20px;
    font-size: var(--text-caption);
  }
  .stage-assistant p {
    font-size: var(--text-body);
  }
  .stage-assistant .sample-prompt {
    font-size: var(--text-caption);
  }
  .stage-assistant .assistant-next {
    font-size: var(--text-body);
  }
  .stage-assistant .tool-receipt {
    font-size: var(--text-caption);
  }
  .stage-assistant .illustrative {
    font-size: var(--text-caption);
  }
  .stage-label {
    margin-top: 24px;
  }
  .chapter-controls {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
  }
  .chapter-controls button {
    min-height: 66px;
    padding: 14px 0 0;
    grid-template-columns: 30px 1fr;
  }
  .chapter-controls b {
    font-size: var(--text-body);
  }
  .chapter-controls small {
    font-size: var(--text-support);
  }
  .chapter-controls button[aria-pressed="true"]:before {
    transform: scaleX(1);
  }
  .assembly-footnote {
    margin-top: 0;
  }
  .split-section,
  .mcp-section,
  .audio-section,
  .sharing-section,
  .faq-section {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .split-section p,
  .mcp-copy > p,
  .audio-section p,
  .sharing-section p {
    font-size: var(--text-body);
  }
  .detail-stack {
    padding: 0;
  }
  .moment-note p {
    font-size: var(--text-body);
  }
  .mcp-section {
    gap: 48px;
  }
  .mcp-visual {
    max-width: 390px;
    width: 100%;
    margin: auto;
  }
  .mcp-visual .assistant-panel {
    transform: none;
  }
  .use-case-list {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 36px;
  }
  .use-case {
    padding: 24px 38px 28px 0;
  }
  .use-case h3 {
    font-size: 1.6875rem;
    margin: 20px 0 15px;
  }
  .use-case h3 br {
    display: none;
  }
  .use-case p {
    font-size: var(--text-body);
    margin-bottom: 0;
    max-width: 320px;
  }
  .use-case > span:last-child {
    position: absolute;
    right: 0;
    bottom: 28px;
  }
  .audio-section > div:first-child {
    order: 2;
  }
  .sound-visual {
    padding: 26px;
  }
  .sound-title {
    font-size: var(--text-caption);
  }
  .sound-foot {
    display: flex;
  }
  .sound-foot b {
    margin: 0;
  }
  .sharing-section {
    padding-top: 8px;
  }
  .share-visual {
    transform: none;
    padding: 16px;
  }
  .trust-section {
    text-align: left;
  }
  .trust-columns {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 38px 0 24px;
  }
  .trust-columns h3 {
    font-size: 1.4375rem;
  }
  .trust-columns p {
    font-size: var(--text-body);
    margin-top: 12px;
  }
  .faq-section {
    gap: 30px;
  }
  .faq-list summary {
    font-size: var(--text-body);
    min-height: 64px;
    padding: 20px 0;
  }
  .closing {
    min-height: 500px;
    padding-bottom: 100px;
  }
  .closing h2 {
    font-size: 2.4375rem;
  }
  .closing h2 br {
    display: none;
  }
  .closing-orbit {
    right: -70vw;
    top: 45vw;
    width: 100vw;
    height: 100vw;
    opacity: 0.5;
  }
  .closing p {
    font-size: var(--text-body);
  }
  .footer-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px 20px;
  }
  .footer-top > div:first-child {
    grid-column: 1/-1;
  }
  .footer-top > div:last-child {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .footer-top > div:last-child h2 {
    grid-column: 1/-1;
  }
  .footer-top > div > a:not(.brand) {
    font-size: var(--text-support);
    min-height: 44px;
  }
  .footer-bottom {
    flex-wrap: wrap;
    font-size: var(--text-caption);
    margin-top: 32px;
    gap: 12px;
  }
  .footer-bottom > a {
    margin-left: auto;
  }
  .site-footer {
    padding-top: 48px;
  }
  .article-hero {
    padding-top: 52px;
    gap: 30px;
  }
  .article-hero h1 {
    font-size: 2.625rem;
    line-height: 1.12;
  }
  .article-hero p {
    font-size: var(--text-body);
    margin: 24px 0;
  }
  .article-visual {
    margin: 0;
  }
  .article-scene > .log-panel {
    width: 88%;
    margin-right: 0;
  }
  .article-body {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 36px;
  }
  .article-toc {
    position: static;
    border-bottom: 1px solid var(--line);
    padding-bottom: 30px;
    gap: 0;
  }
  .article-toc a:not(.text-link) {
    font-size: var(--text-support);
    padding: 10px 0;
  }
  .article-sections > section {
    padding-bottom: 36px;
    margin-bottom: 36px;
  }
  .article-sections h2 {
    font-size: 1.8125rem;
    line-height: 1.22;
  }
  .article-sections p {
    font-size: var(--text-body);
    line-height: 1.9;
    margin-top: 20px;
  }
  .article-sections ul {
    font-size: var(--text-body);
  }
  .next-guide strong {
    font-size: 1.125rem;
  }
  .docs-hero h1 {
    font-size: 2.8125rem;
  }
  .docs-hero p {
    font-size: var(--text-body);
  }
  .docs-index {
    grid-template-columns: 1fr;
    padding-top: 0;
    gap: 0;
  }
  .doc-entry {
    padding-top: 28px;
    padding-bottom: 32px;
  }
  .doc-entry h2 {
    font-size: 1.625rem;
  }
  .doc-entry p {
    font-size: var(--text-body);
  }
  .beta-page {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 48px;
  }
  .beta-intro h1 {
    font-size: 2.625rem;
  }
  .beta-steps {
    gap: 22px;
    margin: 28px 0;
  }
  .beta-form-panel {
    padding: 24px;
  }
  .beta-form-panel input,
  .beta-form-panel select,
  .beta-form-panel textarea {
    font-size: var(--text-body);
  }
  .beta-form-panel > .eyebrow {
    font-size: var(--text-caption);
  }
  .beta-form-panel label {
    font-size: var(--text-support);
  }
  .beta-form-panel h2 {
    font-size: 2rem;
  }
  .form-note {
    font-size: var(--text-support);
  }
  .beta-form-panel > .text-link {
    font-size: var(--text-body);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .assembly {
    height: auto;
    --progress: 1;
    --log-progress: 1;
    --agent-progress: 1;
  }
  .assembly-inner {
    position: relative;
    top: auto;
    padding-top: 64px;
    padding-bottom: 48px;
  }
  .stage-logs,
  .stage-assistant {
    opacity: 1;
    transform: none;
  }
  .hero-recording {
    transform: none;
  }
  .hero-log,
  .hero-proof {
    transform: none;
  }
}

/* Fit the failure in the captured window at every scene size. */
.sample-content {
  padding: 2.5cqw 4cqw;
}
.sample-content h4 {
  margin: 1.5cqw 0 0.7cqw;
}
.sample-content > p {
  margin: 0 0 1.4cqw;
}
.sample-person {
  padding: 1cqw 0;
}
.sample-person + .sample-person {
  display: none;
}
.sample-invite {
  padding: 1.2cqw;
  margin-top: 1.2cqw;
}
.sample-input {
  margin-top: 0.7cqw;
  padding: 0.5cqw 0.7cqw;
}
.sample-input > span {
  padding: 0.6cqw 1cqw;
}
.sample-error {
  margin-top: 0.8cqw;
}
@media (min-width: 901px) {
  .hero {
    padding-top: 48px;
  }
  .hero-recording {
    width: 100%;
  }
  .hero-stack {
    padding-bottom: 114px;
  }
  .hero-log {
    bottom: 62px;
  }
}
/* Keep all chapter controls and the disclosure visible on shorter laptops. */
@media (max-height: 650px) and (min-width: 901px) {
  .assembly-inner {
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 10px 4vw;
  }
  .assembly-stage {
    --stage-height: 320px;
    --recording-top: 20px;
  }
  .stage-logs {
    top: 48%;
  }
}
/* Short windows and landscape tablets need room to scroll the full scene. */
@media (max-height: 560px), (max-width: 900px) and (max-height: 900px) {
  .assembly {
    height: auto;
    --progress: 1;
    --log-progress: 1;
    --agent-progress: 1;
  }
  .assembly-inner {
    position: relative;
    top: auto;
    min-height: 0;
  }
}

.motion-toggle {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 9px 12px;
  font: inherit;
  color: inherit;
  cursor: pointer;
  min-height: 44px;
}
.motion-toggle[aria-pressed="true"] {
  background: #e9eedf;
}
html.reduce-motion {
  scroll-behavior: auto;
}
.reduce-motion *,
.reduce-motion *::before,
.reduce-motion *::after {
  animation: none !important;
  transition: none !important;
}
.reduce-motion .reveal {
  opacity: 1 !important;
  transform: none !important;
}
.reduce-motion .assembly {
  height: auto;
  --progress: 1;
  --log-progress: 1;
  --agent-progress: 1;
}
.reduce-motion .assembly-inner {
  position: relative;
  top: auto;
  padding-top: 64px;
  padding-bottom: 48px;
}
.reduce-motion .stage-logs,
.reduce-motion .stage-assistant {
  opacity: 1;
  transform: none;
}
.reduce-motion .hero-recording,
.reduce-motion .hero-log,
.reduce-motion .hero-proof {
  transform: none;
}

/* Give the investigation room to be read as its layers assemble. */
.assembly-inner {
  grid-template-columns: 0.58fr 1fr;
  gap: 20px 3vw;
}
.assembly-stage {
  --stage-height: 490px;
  height: auto;
  min-height: var(--stage-height);
  display: grid;
  align-content: start;
  row-gap: 16px;
}
.stage-recording {
  opacity: calc(1 - var(--agent-progress) * 0.6);
}
.stage-logs {
  position: relative;
  left: 0;
  top: auto;
  width: 82%;
  grid-row: 2;
}
.stage-assistant {
  position: relative;
  width: 82%;
  right: auto;
  top: auto;
  grid-row: 1;
  margin-left: auto;
}
.stage-assistant .assistant-panel {
  padding: 0 24px 18px;
}
.stage-assistant .panel-caption {
  margin: 0 -24px;
  padding: 12px 24px;
  font-size: var(--text-caption);
}
.stage-assistant p {
  font-size: var(--text-body);
  line-height: 1.55;
  margin: 12px 0;
}
.stage-assistant .sample-prompt {
  font-size: var(--text-caption);
  padding: 10px 12px;
}
.stage-assistant .assistant-next {
  display: block;
  font-size: var(--text-body);
  line-height: 1.55;
}
.stage-assistant .tool-receipt {
  font-size: var(--text-caption);
  margin: 12px 0;
  gap: 6px;
}
.assistant-finding code {
  font-family: inherit;
  overflow-wrap: anywhere;
}
.assistant-panel .evidence-citation {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  border: 0;
  font-size: var(--text-caption);
  color: #526344;
}
.stage-assistant .illustrative {
  font-size: var(--text-caption);
  margin-top: 12px;
}
.stage-logs .panel-caption {
  font-size: var(--text-caption);
}
.stage-logs .log-line code {
  font-size: var(--text-body);
}
.stage-logs .log-line small,
.stage-logs .error-label {
  font-size: var(--text-caption);
}
.stage-logs .log-line.secondary code {
  font-size: var(--text-body);
}
.stage-logs .source-row {
  font-size: var(--text-caption);
  flex-wrap: wrap;
  gap: 4px 12px;
}
.assembly-heading p,
.stage-label {
  font-size: var(--text-body);
}
.chapter-controls b {
  font-size: var(--text-body);
}
.chapter-controls small {
  font-size: var(--text-support);
  line-height: 1.5;
}
.beta-form-panel label,
.form-note,
.beta-form-panel > .text-link {
  font-size: var(--text-support);
}
.beta-form-panel .optional {
  font-size: var(--text-caption);
}
.form-note {
  line-height: 1.65;
}
.beta-form-panel > .text-link {
  min-height: 44px;
  align-items: center;
  margin-top: 12px;
}

/* Short windows, mobile and reduced motion show every source in reading order. */
@media (max-width: 900px), (max-height: 760px) {
  .assembly {
    height: auto;
  }
  .assembly-inner {
    position: relative;
    top: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 64px 6vw;
    gap: 28px;
  }
  .assembly-heading {
    width: 100%;
    display: block;
  }
  .assembly-heading h2 {
    max-width: 700px;
  }
  .assembly-heading .eyebrow {
    margin-bottom: 20px;
  }
  .assembly-heading p {
    margin-top: 20px;
  }
  .assembly-stage {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
  }
  .stage-recording,
  .stage-logs,
  .stage-assistant {
    position: relative;
    inset: auto;
    transform: none;
    opacity: 1;
    width: 100%;
    max-width: none;
    margin: 0;
  }
  .stage-label {
    margin-top: 20px;
  }
  .chapter-controls {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .assembly-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .assembly-heading {
    width: 100%;
  }
  .assembly-stage {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: min(100%, 760px);
    margin: auto;
  }
  .stage-recording,
  .stage-logs,
  .stage-assistant {
    position: relative;
    inset: auto;
    transform: none;
    opacity: 1;
    width: 100%;
    max-width: none;
    margin: 0;
  }
  .chapter-controls {
    width: 100%;
  }
}
.reduce-motion .assembly-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.reduce-motion .assembly-heading {
  width: 100%;
}
.reduce-motion .assembly-stage {
  height: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: min(100%, 760px);
  margin: auto;
}
.reduce-motion .stage-recording,
.reduce-motion .stage-logs,
.reduce-motion .stage-assistant {
  position: relative;
  inset: auto;
  transform: none;
  opacity: 1;
  width: 100%;
  max-width: none;
  margin: 0;
}
.reduce-motion .chapter-controls {
  width: 100%;
}

@media (min-width: 901px) and (min-height: 761px) and (max-height: 850px) {
  .assembly-inner {
    padding-top: 20px;
    padding-bottom: 20px;
    gap: 12px 3vw;
  }
  .chapter-controls {
    margin-top: 8px;
  }
  .chapter-controls button {
    padding-top: 12px;
  }
}

.beta-form-panel .terms-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-height: 44px;
  font-weight: 400;
  line-height: 1.65;
  cursor: pointer;
}
.beta-form-panel .terms-consent input {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  min-height: 20px;
  padding: 0;
  margin: 2px 0 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.beta-form-panel .terms-consent input:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}
.beta-form-panel .terms-consent a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Horizontal action icons: keep their shape and alignment consistent. */
.action-arrow { display: inline-block; flex: none; vertical-align: -0.2em; }


/* Reading and control sizes stay consistent at every viewport. */
.faq-list summary { font-size: var(--text-question); line-height: 1.4; font-weight: 600; padding: 28px 0; }
.faq-list p { font-size: var(--text-body); line-height: 1.65; }
.button, .hero-actions .button, .nav-actions .button { font-size: var(--text-body); min-height: 56px; padding: 14px 24px; }
.text-link, .hero-actions .text-link, .beta-form-panel > .text-link { font-size: var(--text-body); line-height: 1.5; }
#site-nav { font-size: var(--text-body); }
.header-inner { gap: clamp(24px, 4vw, 56px); }
#site-nav { gap: clamp(20px, 2vw, 32px); }
.nav-actions { gap: 24px; }
.nav-menu { width: 310px; top: 100%; }
.nav-dropdown summary { gap: 10px; }
.nav-chevron { width: 20px; height: 20px; flex: none; transition: transform 0.2s var(--ease); }
.nav-dropdown[open] .nav-chevron { transform: rotate(180deg); }
.action-arrow { width: 22px; height: 22px; }
.faq-toggle { display: block; width: 24px; height: 24px; flex: none; }
.faq-list summary > span { flex: none; }
.hero-copy > p { max-width: 48ch; line-height: 1.65; }
.hero-actions { gap: 12px 24px; }
.beta-form-panel input, .beta-form-panel select, .beta-form-panel textarea { font-size: var(--text-body); line-height: 1.5; }
.stage-assistant p, .assistant-panel p, .stage-assistant .sample-prompt, .assistant-panel .sample-prompt,
.stage-assistant .assistant-next, .assistant-panel .assistant-next { font-size: var(--text-support); line-height: 1.6; }
.chapter-controls b { font-size: var(--text-body); }
.wave-track > span { width: 80px; flex: none; }
.source-row, .sound-foot, .share-heading { flex-wrap: wrap; gap: 8px; }
.hero-rule { flex-wrap: wrap; gap: 8px; }
@media (max-width: 1100px) and (min-width: 901px) {
  .header-inner { gap: 20px; padding-inline: 3vw; }
  #site-nav { gap: 18px; font-size: var(--text-support); }
  .nav-actions { gap: 16px; }
  .nav-actions .button { padding-inline: 16px; font-size: var(--text-support); }
}
@media (max-width: 900px) {
  .nav-menu { width: 100%; }
  .hero-copy > p { max-width: 48ch; }
}
@media (max-width: 600px) {
  .faq-list summary { font-size: 1.25rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { justify-content: space-between; }
  .stage-assistant .assistant-panel { padding-inline: 20px; }
  .stage-assistant .panel-caption { margin-inline: -20px; padding-inline: 20px; }
  .hero-log { width: 90%; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-chevron { transition: none; }
}
/* Larger evidence text needs real separation between the hero layers. */
.hero-stack { padding-bottom: 156px; }
.hero-log { bottom: 112px; }
.hero-proof { width: 82%; }
.log-line { flex-wrap: wrap; }
.log-line code { overflow-wrap: anywhere; min-width: 0; }

/* Utility pages use a reading layout, with explicit groups for their actions. */
.page-actions,
.article-app-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}
.beta-page > * { min-width: 0; }
.beta-unavailable {
  display: block;
  padding-block: clamp(64px, 6vw, 96px);
  min-height: 65svh;
}
.beta-unavailable .beta-intro { max-width: 800px; }
.beta-unavailable .beta-intro h1 {
  font-size: clamp(2.625rem, 4.4vw, 4rem);
  max-width: 20ch;
  text-wrap: balance;
}
.beta-unavailable .beta-intro > p {
  max-width: 58ch;
  margin: 24px 0 0;
}
.beta-next {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.beta-next > p { max-width: 55ch; margin-bottom: 24px; }
.not-found h1 { font-size: clamp(2.625rem, 4.4vw, 4rem); }
@media (max-width: 600px) {
  .page-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .page-actions .button { width: 100%; }
}

/* Promotional labels and product requirements are reading text, not captions. */
.beta-label { font-size: var(--text-body); gap: 12px; }
.small-note, .hero-copy > .small-note, .footer-top .small-note { font-size: var(--text-support); }
.hero-copy, .hero-visual { min-width: 0; }
