/* AMAAI landing (H-0014): the bundle's tokens.css and style.css, its app-screen rules dropped and
   every other rule scoped to the landing root .amaai-landing. What the bundle set on <html> or <body>
   matches only while the landing is on the page (:has), and the classes its scripts put on <html> and
   <body> (motion-*, scene-*, rail-*) live on the landing root, so the app's other screens keep theirs. */

/* The bundle was drawn on the browser's own defaults: undo the app's preflight and global rules
   (@tetra/ui/styles.css) inside the landing. SVG keeps its presentation attributes. */
.amaai-landing :where(:not(svg, svg *)),
.amaai-landing :where(:not(svg, svg *))::before,
.amaai-landing :where(:not(svg, svg *))::after {
  all: revert;
}
.amaai-landing :where(svg) {
  display: revert;
  vertical-align: revert;
}

@font-face {
  font-family: Inter Tight;
  src: url("/landing/fonts/inter-tight.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: JetBrains Mono;
  src: url("/landing/fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}
:root:has(.amaai-landing) {
  --text-price-mobile: 28px;
  --text-pack-long-mobile: 88px;
  --background: #f2f4f1;
  --surface: #e8ede9;
  --text: #202623;
  --muted: #5a625e;
  --line: #b8c4c5;
  --accent: #234ae8;
  --accent-contrast: #f2f4f1;
  --error: #a32832;
  --success: #286344;
  --warning: #805815;
  --dark: #090e13;
  --dark-muted: #b8c4c5;
  --metal-hi: #fbfcfc;
  --metal-mid: #aeb8bb;
  --metal-low: #4a5357;
  --metal-blue-hi: #e4eaff;
  --metal-blue-mid: #8ea4f6;
  --metal-blue-deep: #1b36b8;
  --metal-blue-shade: #0e1f72;
  --transparent: transparent;
  --font-sans: "Inter Tight", Arial, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --text-micro: 10px;
  --text-small: 12px;
  --text-nav: 13px;
  --text-body: 16px;
  --text-lead: 22px;
  --text-subtitle: 42px;
  --text-heading: clamp(48px, 6.8vw, 98px);
  --text-statement: clamp(40px, 6.8vw, 98px);
  --text-hero-first: 14vw;
  --text-hero-second: 15vw;
  --text-editorial: clamp(34px, 3.25vw, 50px);
  --text-editorial-lead: clamp(19px, 1.55vw, 23px);
  --text-scene-title: clamp(36px, 3.1vw, 48px);
  --leading-body: 1.5;
  --leading-heading: 1.02;
  --tracking-tight: -0.036em;
  --tracking-heading: -0.026em;
  --word-space-display: 0.09em;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --space-11: 176px;
  --space-12: 224px;
  --gutter: 4.5vw;
  --header-height: 86px;
  --rail-height: 48px;
  --radius-small: 3px;
  --radius-round: 50%;
  --border-thin: 1px;
  --shadow: 0 16px 48px #090e1326;
  --shadow-none: none;
  --target: 44px;
  --duration-fast: 160ms;
  --duration-ui: 240ms;
  --duration-intro: 800ms;
  --duration-reveal: 700ms;
  --duration-film: 18s;
  --duration-threshold: 650ms;
  --duration-hint: 300ms;
  --duration-hint-scale: 400ms;
  --text-stencil: 30vw;
  --size-hint: 96px;
  --duration-link: 200ms;
  --duration-fill: 350ms;
  --duration-preview: 600ms;
  --duration-material: 1000ms;
  --duration-arrow: 400ms;
  --duration-travel: 120ms;
  --duration-thumb: 150ms;
  --ease-reference: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}
@media (max-width: 700px) {
  :root:has(.amaai-landing) {
    --gutter: 23px;
    --header-height: 99px;
    --text-body: 16px;
    --text-lead: 19px;
    --text-heading: clamp(40px, 11vw, 60px);
    --text-editorial: clamp(34px, 9.6vw, 44px);
    --text-editorial-lead: 18px;
    --text-scene-title: clamp(32px, 9vw, 40px);
    --text-statement: clamp(34px, 9.4vw, 52px);
    --text-subtitle: 32px;
    --text-hero-first: 15.6vw;
    --text-hero-second: 13.6vw;
    --rail-height: 44px;
  }
}

/* Foundation. Visible document flow is the default, including failed scripts. */
.amaai-landing,
.amaai-landing * {
  box-sizing: border-box;
}
html:has(.amaai-landing) {
  scroll-behavior: auto;
  scroll-padding-top: 0;
}
/* Lenis (smooth wheel on fine pointers only). */
html.lenis:has(.amaai-landing),
html.lenis:has(.amaai-landing) body {
  height: auto;
}
html.lenis:not(.lenis-autoToggle).lenis-stopped:has(.amaai-landing) {
  overflow: clip;
}
html.lenis.lenis-smooth:has(.amaai-landing) iframe {
  pointer-events: none;
}
.amaai-landing [data-lenis-prevent] {
  overscroll-behavior: contain;
}
body:has(.amaai-landing) {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 400 var(--text-body)/var(--leading-body) var(--font-sans);
}
.amaai-landing button,
.amaai-landing input,
.amaai-landing textarea {
  font: inherit;
}
.amaai-landing button,
.amaai-landing a,
.amaai-landing input,
.amaai-landing textarea {
  touch-action: manipulation;
}
.amaai-landing a {
  color: inherit;
  text-decoration: none;
}
.amaai-landing button {
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}
/* Transparent targets preserve the reference's small visual labels. */
.amaai-landing button,
.amaai-landing a {
  min-width: var(--target);
  min-height: var(--target);
}
.amaai-landing a {
  display: inline-flex;
  align-items: center;
}
.amaai-landing button:disabled {
  cursor: wait;
  opacity: 0.55;
}
.amaai-landing input,
.amaai-landing textarea {
  color: var(--text);
  background: var(--transparent);
  border: var(--border-thin) solid var(--line);
  border-radius: 0;
  min-width: 0;
}
.amaai-landing input::placeholder,
.amaai-landing textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}
.amaai-landing input:not([type="radio"]),
.amaai-landing textarea {
  min-height: var(--target);
}
.amaai-landing svg {
  width: var(--space-5);
  height: var(--space-5);
  flex-shrink: 0;
}
.amaai-landing h1,
.amaai-landing h2,
.amaai-landing h3,
.amaai-landing p {
  margin: 0;
}
.amaai-landing h1,
.amaai-landing h2,
.amaai-landing h3 {
  font-weight: 400;
}
.amaai-landing p[data-i18n],
.amaai-landing h1[data-i18n],
.amaai-landing h2[data-i18n] {
  white-space: pre-line;
}
.amaai-landing h2 {
  font-size: var(--text-heading);
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-heading);
}
.amaai-landing :focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.amaai-landing .blue :focus-visible,
.amaai-landing .dark :focus-visible,
.amaai-landing .site-footer :focus-visible,
.amaai-landing.scene-dark .site-header :focus-visible,
.amaai-landing.scene-blue .site-header :focus-visible,
.amaai-landing.rail-dark .chapter-rail :focus-visible,
.amaai-landing.rail-blue .chapter-rail :focus-visible {
  outline-color: var(--accent-contrast);
}
.amaai-landing ::selection {
  background: var(--accent);
  color: var(--accent-contrast);
}
.amaai-landing [hidden] {
  display: none !important;
}
.amaai-landing .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.amaai-landing .skip {
  position: fixed;
  left: var(--gutter);
  top: var(--space-4);
  transform: translateY(-200%);
  background: var(--background);
  padding: var(--space-3);
  z-index: 100;
}
.amaai-landing .skip:focus {
  transform: none;
}
.amaai-landing .muted {
  color: var(--muted);
}
.amaai-landing .micro {
  font-size: var(--text-small);
  line-height: 1.45;
}
.amaai-landing .accent {
  color: var(--accent);
}
.amaai-landing .lead {
  font-size: var(--text-lead);
  line-height: 1.5;
}
.amaai-landing .page-section {
  padding: var(--space-10) var(--gutter);
}
.amaai-landing [id] {
  scroll-margin-top: var(--header-height);
}
/* Scene roots already reserve header space; anchor their first stage at zero. */
.amaai-landing .hero[id],
.amaai-landing .conversation-chapter[id],
.amaai-landing .credit-chapter[id],
.amaai-landing.motion-enabled .prologue[id] {
  scroll-margin-top: 0;
}
.amaai-landing .dark {
  background: var(--dark);
  color: var(--accent-contrast);
}
.amaai-landing .dark .muted {
  color: var(--dark-muted);
}
.amaai-landing .blue {
  background: var(--accent);
  color: var(--accent-contrast);
}

/* Open header; its links deliberately do not acquire invented rollover effects. */
.amaai-landing .site-header {
  height: var(--header-height);
  padding: var(--space-4) var(--gutter);
  display: flex;
  align-items: center;
  gap: var(--space-7);
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: linear-gradient(var(--background) 72%, var(--transparent));
}
.amaai-landing .brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  font-weight: 500;
  font-size: var(--text-body);
  letter-spacing: -0.01em;
}
.amaai-landing .brand img {
  object-fit: contain;
  width: var(--space-6);
  height: var(--space-6);
}
.amaai-landing .site-header nav {
  margin-left: auto;
  display: flex;
  gap: var(--space-6);
  font-size: var(--text-nav);
}
.amaai-landing .site-header nav a {
  transition: color var(--duration-link) var(--ease-reference);
}
.amaai-landing .language-switch {
  display: flex;
  gap: 0;
  font: var(--text-micro) var(--font-mono);
}
.amaai-landing .language-switch button {
  min-width: var(--target);
  min-height: var(--target);
}
.amaai-landing [data-locale][aria-pressed="true"],
.amaai-landing [data-shape][aria-pressed="true"] {
  color: var(--accent);
}
.amaai-landing.scene-dark .site-header {
  color: var(--accent-contrast);
  background: linear-gradient(var(--dark) 72%, var(--transparent));
}
.amaai-landing.scene-blue .site-header {
  color: var(--accent-contrast);
  background: linear-gradient(var(--accent) 72%, var(--transparent));
}
.amaai-landing.scene-dark .site-header .brand img,
.amaai-landing.scene-blue .site-header .brand img {
  filter: brightness(0) invert(1);
}
.amaai-landing.scene-dark .site-header [data-locale][aria-pressed="true"],
.amaai-landing.scene-blue .site-header [data-locale][aria-pressed="true"] {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: var(--space-1);
}
.amaai-landing .travel-line {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 40;
  height: 2px;
  width: 0;
  background: var(--accent);
  transition: width var(--duration-travel) linear;
  pointer-events: none;
}
.amaai-landing.scene-blue .travel-line {
  background: var(--accent-contrast);
}

/* Hero allocation is viewport-based, not a 900px minimum beneath a fixed rail. */
.amaai-landing .hero {
  height: 100svh;
  min-height: 700px;
  position: relative;
  padding: var(--header-height) var(--gutter) var(--rail-height);
  overflow: hidden;
}
.amaai-landing .hero-meta {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-small);
  line-height: 1.3;
  padding-top: var(--space-4);
}
.amaai-landing .hero-meta p:last-child {
  text-align: right;
}
.amaai-landing .hero-title {
  font-size: var(--text-hero-first);
  line-height: 0.86;
  letter-spacing: var(--tracking-tight);
  word-spacing: var(--word-space-display);
  position: relative;
  margin-top: var(--space-7);
  pointer-events: none;
  z-index: 3;
}
.amaai-landing .hero-line {
  display: block;
  white-space: nowrap;
}
.amaai-landing .hero-line.first {
  position: relative;
  z-index: 1;
}
.amaai-landing .hero-line.first sup {
  font-size: 0.32em;
  vertical-align: top;
  line-height: 1.6;
  letter-spacing: var(--tracking-heading);
  margin-left: var(--space-5);
}
.amaai-landing .hero-line.second {
  font-size: var(--text-hero-second);
  position: relative;
  margin-top: clamp(var(--space-6), 6.4svh, var(--space-9));
  z-index: 3;
  letter-spacing: var(--tracking-tight);
}
.amaai-landing .sculpture {
  position: absolute;
  top: 27%;
  left: 32%;
  width: 37%;
  height: 33%;
  z-index: 2;
  cursor: grab;
  touch-action: pan-y;
}
.amaai-landing .sculpture:active {
  cursor: grabbing;
}
.amaai-landing .sculpture img,
.amaai-landing .sculpture canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: contain;
}
.amaai-landing .sculpture canvas {
  opacity: 0;
  transition: opacity var(--duration-reveal) ease;
}
.amaai-landing .sculpture img {
  transition: opacity var(--duration-reveal) ease;
}
.amaai-landing .sculpture.webgl canvas {
  opacity: 1;
}
.amaai-landing .sculpture.webgl img {
  opacity: 0;
}
.amaai-landing .hero-line {
  will-change: transform;
}
/* Live mode: the figure answers over the whole title band; the still stays in its own box. */
@media (min-width: 701px) {
  .amaai-landing.motion-enabled .sculpture {
    top: 0;
    left: 0;
    width: 100%;
    height: var(--band-h, 70%);
    clip-path: inset(var(--band-top, 18%) var(--gutter) 0 var(--gutter));
  }
  .amaai-landing.motion-enabled .sculpture canvas {
    inset: 0;
  }
  .amaai-landing.motion-enabled .sculpture img {
    top: calc(var(--hero-h, 100svh) * 0.27);
    left: 32%;
    width: 37%;
    height: calc(var(--hero-h, 100svh) * 0.33);
    inset-block-end: auto;
  }
}
.amaai-landing.motion-enabled .sculpture,
.amaai-landing.motion-enabled .hero-title {
  -webkit-user-select: none;
  user-select: none;
}
.amaai-landing .drag-hint {
  position: absolute;
  left: var(--pointer-x, 67%);
  top: var(--pointer-y, 38%);
  z-index: 4;
  width: var(--size-hint);
  height: var(--size-hint);
  padding: var(--space-3);
  border-radius: var(--radius-round);
  background: var(--accent);
  color: var(--accent-contrast);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: var(--text-small);
  line-height: 1.1;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
  transition:
    opacity var(--duration-hint) ease,
    transform var(--duration-hint-scale) ease;
  pointer-events: none;
}
.amaai-landing .sculpture[data-dragging="true"] .drag-hint {
  opacity: 0 !important;
  transform: translate(-50%, -50%) scale(0.7) !important;
}
.amaai-landing .hero-bottom {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: calc(var(--rail-height) + var(--space-6));
  display: grid;
  grid-template-columns: 1fr 390px 1fr;
  gap: var(--space-7);
  align-items: end;
}
.amaai-landing .hero-intro {
  font-size: var(--text-nav);
  line-height: 1.5;
  padding-bottom: var(--space-4);
}
.amaai-landing .hero-cta {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: var(--space-5);
  font-size: var(--text-body);
  padding-bottom: var(--space-3);
}
.amaai-landing .circle {
  display: inline-flex;
  width: 56px;
  height: 56px;
  border: var(--border-thin) solid currentColor;
  border-radius: var(--radius-round);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background-color var(--duration-fill) ease,
    color var(--duration-fill) ease,
    transform var(--duration-preview) var(--ease-reference);
}
.amaai-landing .shape-controls {
  font-size: var(--text-small);
}
.amaai-landing .shape-label {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}
.amaai-landing .shape-modes {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-2);
}
.amaai-landing .shape-modes button {
  font-size: var(--text-small);
  display: flex;
  gap: var(--space-2);
  align-items: center;
}
.amaai-landing .shape-modes small {
  font-size: var(--text-micro);
}
.amaai-landing input[type="range"] {
  --range-color: var(--accent);
  appearance: none;
  border: 0;
  width: 100%;
  height: var(--target);
  background: linear-gradient(var(--range-color), var(--range-color))
    center/100% 2px no-repeat;
  margin: 0;
  cursor: ew-resize;
}
.amaai-landing input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: var(--radius-round);
  background: var(--range-color);
  transition: box-shadow var(--duration-thumb) ease;
}
.amaai-landing input[type="range"]::-moz-range-thumb {
  border: 0;
  width: 12px;
  height: 12px;
  border-radius: var(--radius-round);
  background: var(--range-color);
  transition: box-shadow var(--duration-thumb) ease;
}
.amaai-landing .dark input[type="range"],
.amaai-landing .blue input[type="range"] {
  --range-color: var(--accent-contrast);
}
.amaai-landing .hero-prompt {
  display: flex;
  align-items: center;
  border-bottom: var(--border-thin) solid var(--line);
  margin-top: var(--space-3);
}
.amaai-landing .hero-prompt input {
  border: 0;
  flex: 1;
  width: 100%;
  padding: var(--space-2) 0;
  font-size: var(--text-nav);
}
.amaai-landing .hero-prompt button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--space-7);
  height: var(--space-7);
  color: var(--accent);
}

/* Prologue: readable flow until motion enhancement is installed. */
.amaai-landing .prologue {
  padding: 0;
}
.amaai-landing .reading-frame {
  display: grid;
  grid-template-columns: 28% 1fr;
  padding: var(--space-10) var(--gutter);
}
.amaai-landing .side-note {
  font-size: var(--text-nav);
}
.amaai-landing .prologue-copy {
  position: relative;
}
.amaai-landing .statement {
  font-size: var(--text-statement);
  line-height: 1.03;
  letter-spacing: var(--tracking-tight);
  word-spacing: var(--word-space-display);
  margin-bottom: var(--space-8);
}
.amaai-landing .prologue-note {
  font-size: var(--text-nav);
  line-height: 1.65;
  margin-top: var(--space-7);
}
.amaai-landing .down-link {
  position: absolute;
  right: 0;
  bottom: 0;
  justify-content: center;
}
.amaai-landing .down-link svg {
  width: var(--space-7);
  height: var(--space-7);
  transform: rotate(45deg);
}
.amaai-landing.motion-enabled .prologue {
  height: 230svh;
}
.amaai-landing.motion-enabled .reading-frame {
  position: sticky;
  top: 0;
  height: 100svh;
  padding-top: 33.5svh;
  padding-bottom: var(--space-10);
}
.amaai-landing.motion-enabled .reading-window {
  overflow: hidden;
  perspective: 900px;
  padding: 0 0 0.44em;
  font-size: var(--text-statement);
}
.amaai-landing.motion-enabled .reading-lines {
  display: grid;
}
.amaai-landing.motion-enabled .statement {
  grid-area: 1 / 1;
  margin: 0;
  transform-origin: 50% 50%;
  backface-visibility: hidden;
  will-change: transform, opacity;
}
.amaai-landing.motion-enabled .statement:not(:first-child) {
  opacity: 0;
}
.amaai-landing.motion-enabled .prologue-note {
  margin-top: var(--space-6);
}

/* Dominant, original anamorphic word before the compact editorial specimen. */
.amaai-landing .section-top {
  display: grid;
  grid-template-columns: var(--space-9) 1fr auto;
  gap: var(--space-5);
  align-items: baseline;
  font-size: var(--text-small);
  margin-bottom: var(--space-8);
}
.amaai-landing .section-top > span:last-child {
  text-align: right;
}
.amaai-landing .chapter-no {
  font-variant-numeric: tabular-nums;
}
.amaai-landing .thought-scene {
  min-height: calc(100svh - var(--rail-height));
  padding-top: calc(var(--header-height) + var(--space-3));
  padding-bottom: var(--space-7);
  position: relative;
  overflow: hidden;
}
.amaai-landing .thought-lead {
  font-size: clamp(32px, 3.4vw, 52px);
  letter-spacing: var(--tracking-heading);
  margin-top: var(--space-7);
}
.amaai-landing .thought-object {
  height: 37svh;
  position: relative;
  margin: var(--space-7) 0 var(--space-4);
  perspective: 1000px;
  cursor: grab;
  touch-action: pan-y;
}
.amaai-landing .thought-layer {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  font-size: clamp(90px, 22vw, 340px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  transform-origin: center;
  color: var(--metal-hi);
}
/* Material only: ribbed brushed-metal slats on the sculptural word. */
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .amaai-landing .thought-layer {
    background:
      repeating-linear-gradient(
        90deg,
        var(--transparent) 0 var(--rib, 0.044em),
        color-mix(in srgb, var(--dark) 66%, var(--transparent))
          var(--rib, 0.044em) calc(var(--rib, 0.044em) + 0.007em)
      ),
      linear-gradient(
          180deg,
          var(--metal-hi) 18%,
          var(--metal-mid) 40%,
          var(--metal-low) 52%,
          var(--metal-hi) 63%,
          var(--metal-mid) 84%,
          var(--metal-hi) 96%
        )
        center / 100% 1em no-repeat,
      var(--metal-mid);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
.amaai-landing .thought-layer:not(:first-child) {
  pointer-events: none;
}
.amaai-landing .object-drag {
  text-align: center;
  color: var(--dark-muted);
  margin-bottom: var(--space-7);
}
.amaai-landing .scene-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: var(--space-9);
}
.amaai-landing .scene-bottom .lead {
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.2;
  max-width: 28ch;
}
.amaai-landing .scene-bottom .micro {
  margin-top: var(--space-4);
}
.amaai-landing .view-controls {
  position: relative;
}
.amaai-landing .view-controls output {
  position: absolute;
  right: 0;
  top: 0;
  font: var(--text-micro) var(--font-mono);
}
.amaai-landing .view-controls input {
  margin-top: var(--space-2);
}
.amaai-landing .scene-actions {
  display: flex;
  justify-content: space-between;
  gap: var(--space-5);
  font-size: var(--text-small);
}
.amaai-landing .scene-actions button {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  text-align: left;
}
.amaai-landing .scene-actions svg {
  width: var(--space-4);
  height: var(--space-4);
}
.amaai-landing .editorial {
  display: grid;
  grid-template-columns: 34% 1fr;
  gap: var(--space-9);
  padding-top: var(--space-10);
  padding-bottom: var(--space-11);
}
.amaai-landing .chapter-kicker {
  font: var(--text-small)/1.4 var(--font-mono);
  color: var(--muted);
  margin-bottom: var(--space-6);
}
.amaai-landing .editorial-aside h2 {
  font-size: var(--text-editorial);
  line-height: 1.04;
  letter-spacing: var(--tracking-heading);
  word-spacing: 0.04em;
  max-width: 12ch;
}
.amaai-landing .chapter-link {
  display: flex;
  justify-content: space-between;
  gap: var(--space-5);
  width: min(100%, 400px);
  margin-top: var(--space-8);
  padding: var(--space-3) 0;
  border-bottom: var(--border-thin) solid currentColor;
  font-size: var(--text-nav);
}
.amaai-landing .chapter-link svg,
.amaai-landing .demo-tabs svg,
.amaai-landing .final-login svg {
  width: var(--space-4);
  height: var(--space-4);
  transition: transform var(--duration-arrow) ease;
}
.amaai-landing .aside-note {
  margin-top: var(--space-5);
  max-width: 34ch;
}
.amaai-landing .editorial-main {
  max-width: 780px;
}
.amaai-landing .editorial-lead {
  font-size: var(--text-editorial-lead);
  line-height: 1.45;
}
.amaai-landing .archive {
  margin-top: var(--space-8);
}
.amaai-landing .archive-head {
  display: flex;
  justify-content: space-between;
  gap: var(--space-5);
  align-items: baseline;
  font-size: var(--text-nav);
  padding-bottom: var(--space-4);
  border-bottom: var(--border-thin) solid var(--line);
}
.amaai-landing .archive-head .muted {
  font-size: var(--text-small);
}
.amaai-landing .demo-tabs {
  display: flex;
  flex-direction: column;
}
.amaai-landing .demo-tabs button {
  display: grid;
  grid-template-columns: var(--space-9) 1fr var(--space-5);
  align-items: center;
  min-height: 56px;
  border-bottom: var(--border-thin) solid var(--line);
  font-size: var(--text-body);
  text-align: left;
  transition: color var(--duration-link) var(--ease-reference);
}
.amaai-landing .demo-tabs small {
  font: var(--text-micro) var(--font-mono);
  color: var(--muted);
}
.amaai-landing .demo-tabs button[aria-pressed="true"],
.amaai-landing .demo-tabs button[aria-pressed="true"] small {
  color: var(--accent);
}
.amaai-landing .conversation {
  max-width: 780px;
}
.amaai-landing .message {
  display: grid;
  grid-template-columns: var(--space-8) 1fr;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  border-top: var(--border-thin) solid var(--line);
}
.amaai-landing .message > span {
  padding-top: var(--space-1);
  color: var(--muted);
}
.amaai-landing .message p {
  font-size: var(--text-editorial-lead);
  line-height: 1.45;
}
.amaai-landing .answer {
  min-height: 180px;
}
.amaai-landing .text-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-4) 0;
  border-bottom: var(--border-thin) solid currentColor;
  min-height: var(--space-7);
  font-size: var(--text-nav);
}
.amaai-landing .conversation > .text-button {
  width: calc(100% - var(--space-8) - var(--space-5));
  margin-left: calc(var(--space-8) + var(--space-5));
}
.amaai-landing .conversation > [data-demo-status] {
  margin-top: var(--space-3);
  text-align: right;
  min-height: var(--space-5);
}

/* Blue context: one dimensional word, a sentence field, three local meanings. */
.amaai-landing .language-scene {
  padding-top: var(--space-8);
  overflow: hidden;
}
.amaai-landing .context-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: var(--space-8);
}
.amaai-landing .context-heading h2 {
  font-size: var(--text-scene-title);
}
.amaai-landing .context-heading > p {
  font-size: var(--text-lead);
  max-width: 26ch;
}
.amaai-landing .context-stage {
  position: relative;
  height: 51svh;
  min-height: 340px;
  margin: var(--space-6) calc(-1 * var(--gutter)) var(--space-5);
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}
.amaai-landing .sentence-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  color: var(--accent-contrast);
  opacity: 0.5;
  pointer-events: none;
}
/* Animated SVG text must never become the scroll-anchor node. */
.amaai-landing .context-stage,
.amaai-landing .thought-object,
.amaai-landing .aperture-frame {
  overflow-anchor: none;
}
.amaai-landing .sentence-field svg {
  display: block;
  width: 100%;
  height: 100%;
}
.amaai-landing .sentence-field {
  -webkit-mask-image: linear-gradient(
    var(--transparent),
    var(--dark) 14%,
    var(--dark) 86%,
    var(--transparent)
  );
  mask-image: linear-gradient(
    var(--transparent),
    var(--dark) 14%,
    var(--dark) 86%,
    var(--transparent)
  );
}
.amaai-landing .sentence-field text {
  font: var(--text-micro) var(--font-sans);
  fill: currentColor;
  opacity: 0.7;
}
.amaai-landing .sentence-field path.wave {
  fill: none;
  stroke: currentColor;
  stroke-width: 0.7;
  opacity: 0.38;
}
.amaai-landing .context-object {
  position: absolute;
  inset: 0 0 12%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: clamp(100px, 25vw, 370px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--metal-blue-hi);
  transform: perspective(1000px) rotateY(-12deg) rotateX(5deg);
  filter: drop-shadow(1px 1px 0 var(--metal-blue-deep))
    drop-shadow(1px 1px 0 var(--metal-blue-deep))
    drop-shadow(2px 2px 0 var(--metal-blue-shade))
    drop-shadow(2px 2px 0 var(--metal-blue-shade))
    drop-shadow(
      0 22px 26px color-mix(in srgb, var(--dark) 45%, var(--transparent))
    );
}
/* Material lighting on the sculptural word only, not gradient UI typography. */
@supports (background-clip: text) {
  .amaai-landing .context-object {
    background: linear-gradient(
      176deg,
      var(--metal-blue-hi) 14%,
      var(--metal-blue-mid) 34%,
      var(--metal-blue-deep) 49%,
      var(--metal-blue-hi) 58%,
      var(--metal-blue-mid) 76%,
      var(--metal-blue-hi) 90%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
.amaai-landing .context-stage-bottom {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: var(--space-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}
.amaai-landing .context-stage-bottom > p {
  font-size: var(--text-lead);
}
.amaai-landing .field-control {
  display: flex;
  gap: var(--space-4);
  align-items: center;
}
.amaai-landing .field-control input {
  width: 140px;
}
.amaai-landing .language-words {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.amaai-landing .language-words button {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: var(--border-thin) solid
    color-mix(in srgb, var(--accent-contrast) 35%, var(--transparent));
  font-size: clamp(19px, 1.5vw, 23px);
  position: relative;
}
.amaai-landing .language-words button::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 3px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
}
.amaai-landing .language-words button[aria-pressed="true"]::after {
  transform: scaleX(1);
}
.amaai-landing .language-words small {
  font: var(--text-micro) var(--font-mono);
}
.amaai-landing .language-words svg {
  display: none;
}
.amaai-landing .context-reading {
  margin-top: var(--space-7);
}
.amaai-landing .context-sentence {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2em;
  font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1.2;
  letter-spacing: var(--tracking-heading);
}
.amaai-landing .context-sentence button {
  font: inherit;
  letter-spacing: inherit;
  border-bottom: 2px solid var(--transparent);
}
.amaai-landing .context-sentence button[aria-pressed="true"] {
  border-color: currentColor;
}
.amaai-landing .context-explanation {
  max-width: 54ch;
  margin-top: var(--space-5);
  font-size: var(--text-lead);
}
.amaai-landing .language-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  margin-top: var(--space-8);
  font-size: var(--text-body);
}
.amaai-landing .language-bottom > div {
  max-width: 540px;
}
.amaai-landing .language-bottom .micro {
  margin-top: var(--space-5);
}

/* Bounded sliced-word punctuation, not duplicated paragraphs. */
.amaai-landing .word-frame {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding-top: calc(var(--header-height) + var(--space-5));
  padding-bottom: calc(var(--rail-height) + var(--space-6));
  background: var(--dark);
  isolation: isolate;
}
.amaai-landing .scene-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform-origin: 60% 50%;
}
.amaai-landing .word-frame::before,
.amaai-landing .aperture-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--dark) 84%, var(--transparent)) 0%,
      color-mix(in srgb, var(--dark) 36%, var(--transparent)) 52%,
      color-mix(in srgb, var(--dark) 12%, var(--transparent)) 100%
    ),
    linear-gradient(
      0deg,
      color-mix(in srgb, var(--dark) 78%, var(--transparent)) 0%,
      var(--transparent) 42%
    );
}
.amaai-landing .word-prelude {
  font-size: clamp(32px, 5vw, 74px);
  margin-top: 9svh;
  position: relative;
}
.amaai-landing .sliced-word {
  position: relative;
  height: 32vw;
  max-height: 420px;
  font-size: clamp(64px, 17vw, 260px);
  line-height: 1;
  letter-spacing: var(--tracking-tight);
  margin: var(--space-4) 0;
}
.amaai-landing .sliced-word span {
  display: flex;
  align-items: center;
  position: absolute;
  inset: 0;
  white-space: nowrap;
}
.amaai-landing .word-frame .scene-bottom {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: calc(var(--rail-height) + var(--space-8));
  margin-top: 0;
}
.amaai-landing .word-frame .scene-bottom > p:last-child {
  max-width: 32ch;
  font-size: var(--text-lead);
}
.amaai-landing .scene-progress {
  position: absolute;
  bottom: calc(var(--rail-height) + var(--space-5));
  left: 44%;
  width: 12%;
  height: 1px;
  background: var(--muted);
}
.amaai-landing .scene-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent-contrast);
  transform: scaleX(0);
  transform-origin: left;
}
.amaai-landing.motion-enabled .word-travel {
  height: 220svh;
}
.amaai-landing .sliced-word span {
  transform-origin: 50% 50%;
  will-change: transform;
}
.amaai-landing.motion-enabled .word-frame {
  position: sticky;
  top: 0;
  height: 100svh;
}
.amaai-landing .credit-equation {
  display: flex;
  align-items: baseline;
  gap: var(--space-5);
  padding: var(--space-7) 0 var(--space-2);
}
.amaai-landing .credit-equation strong {
  font-size: clamp(96px, 8.4vw, 128px);
  line-height: 1;
  letter-spacing: var(--tracking-tight);
  font-weight: 400;
  color: var(--accent);
}
.amaai-landing .credit-equation span {
  font-size: var(--text-editorial-lead);
}
.amaai-landing .credit-row {
  display: grid;
  grid-template-columns: var(--space-9) 0.9fr 1.1fr;
  gap: var(--space-5);
  align-items: baseline;
  padding: var(--space-5) 0;
  border-bottom: var(--border-thin) solid var(--line);
}
.amaai-landing .credit-row small {
  font: var(--text-micro) var(--font-mono);
  color: var(--muted);
}
.amaai-landing .credit-row h3 {
  font-size: var(--text-body);
  line-height: 1.35;
}
.amaai-landing .credit-row p {
  color: var(--muted);
  font-size: var(--text-nav);
}
.amaai-landing .pricing {
  border-top: var(--border-thin) solid var(--line);
  padding-top: var(--space-8);
}
.amaai-landing .pricing h2 {
  max-width: 13ch;
}
.amaai-landing .pricing-intro {
  margin-top: var(--space-6);
  margin-left: 46%;
  max-width: 550px;
}
.amaai-landing .price-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-7);
  margin-top: var(--space-9);
}
.amaai-landing .price-column {
  border-top: var(--border-thin) solid var(--line);
  padding-top: var(--space-5);
}
.amaai-landing .pack-heading {
  display: flex;
  align-items: baseline;
  gap: var(--space-5);
}
.amaai-landing .pack-heading .micro {
  font-family: var(--font-mono);
  color: var(--muted);
}
.amaai-landing .pack-heading h3 {
  font-size: var(--text-body);
}
.amaai-landing .pack-count {
  font-size: clamp(72px, 8.3vw, 128px);
  line-height: 1;
  letter-spacing: var(--tracking-tight);
  margin-top: var(--space-7);
}
.amaai-landing .pack-price {
  font-size: var(--text-subtitle);
  letter-spacing: var(--tracking-heading);
  margin: var(--space-6) 0;
}
.amaai-landing .price-column .text-button {
  width: 100%;
}
.amaai-landing .pricing-note {
  margin-top: var(--space-6);
  max-width: 65ch;
}
.amaai-landing .faq {
  border-top: var(--border-thin) solid var(--line);
  padding-top: var(--space-9);
}
.amaai-landing .faq details {
  border-top: var(--border-thin) solid var(--line);
}
.amaai-landing .faq details:last-child {
  border-bottom: var(--border-thin) solid var(--line);
}
.amaai-landing .faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  min-height: var(--target);
  font-size: var(--text-editorial-lead);
  cursor: pointer;
}
.amaai-landing .faq summary::-webkit-details-marker {
  display: none;
}
.amaai-landing .faq-plus {
  font-size: var(--text-subtitle);
  line-height: 1;
  font-weight: 300;
}
.amaai-landing .faq details[open] .faq-plus {
  transform: rotate(45deg);
}
.amaai-landing .faq details p {
  max-width: 65ch;
  padding: 0 var(--space-7) var(--space-6) 0;
  color: var(--muted);
}

/* Threshold: separate scene/manual controller before the blue final invitation. */
.amaai-landing .aperture-frame {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding-top: var(--header-height);
  padding-bottom: calc(var(--rail-height) + var(--space-8));
  display: flex;
  flex-direction: column;
  justify-content: end;
}
.amaai-landing .aperture-depth {
  position: absolute;
  inset: 3% 0 22%;
  perspective: 900px;
  overflow: hidden;
}
.amaai-landing .aperture-depth i {
  position: absolute;
  inset: 5% 8%;
  border: 1px solid color-mix(in srgb, var(--line) 55%, var(--transparent));
  border-radius: 8%;
  background: var(--transparent);
}
.amaai-landing .aperture-frame {
  isolation: isolate;
}
.amaai-landing .aperture-photo {
  transform-origin: 62% 52%;
}
.amaai-landing .aperture-doors {
  position: absolute;
  inset: 0 0 23%;
  display: none;
  align-items: center;
  cursor: ew-resize;
  touch-action: pan-y;
}
.amaai-landing.motion-enabled .aperture-doors {
  display: flex;
}
.amaai-landing .aperture-doors span {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 var(--gutter);
  font-size: clamp(56px, 11.5vw, 184px);
  line-height: 0.9;
  letter-spacing: var(--tracking-tight);
  background: var(--dark);
  position: relative;
}
.amaai-landing .aperture-doors span:first-child {
  z-index: 1;
}
.amaai-landing .aperture-doors span + span {
  justify-content: end;
  font-size: clamp(40px, 6.6vw, 104px);
}
/* The seam: a brushed vertical bar with a round grip, travelling with the left plane. */
.amaai-landing .aperture-doors span:first-child::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 10%;
  bottom: 10%;
  width: 2px;
  z-index: 1;
  opacity: var(--seam-opacity, 1);
  background: linear-gradient(
    var(--transparent),
    var(--metal-mid) 18%,
    var(--metal-hi) 50%,
    var(--metal-mid) 82%,
    var(--transparent)
  );
}
.amaai-landing .aperture-doors span:first-child::before {
  content: "\2194";
  position: absolute;
  right: calc(-1 * var(--space-5));
  top: 50%;
  z-index: 2;
  width: var(--space-7);
  height: var(--space-7);
  margin-top: calc(-1 * var(--space-5));
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-round);
  border: var(--border-thin) solid var(--metal-mid);
  background: var(--dark);
  color: var(--metal-hi);
  font-size: var(--text-small);
  letter-spacing: 0;
  opacity: var(--seam-opacity, 1);
}
.amaai-landing .aperture-title {
  position: relative;
  align-self: center;
  width: 80%;
  font-size: clamp(50px, 11vw, 170px);
  line-height: 0.96;
  letter-spacing: var(--tracking-tight);
  margin: auto 0;
  pointer-events: none;
}
.amaai-landing .aperture-frame .scene-bottom {
  position: relative;
  margin-top: var(--space-9);
}
.amaai-landing .aperture-controls {
  max-width: 520px;
}
.amaai-landing.motion-enabled .aperture-travel {
  height: 200svh;
}
.amaai-landing.motion-enabled .aperture-frame {
  position: sticky;
  top: 0;
  height: 100svh;
}
.amaai-landing .aperture-frame {
  --opening: 1;
}
.amaai-landing .aperture-doors {
  --seam-opacity: clamp(0, calc(1 - var(--opening) * 4), 1);
}
.amaai-landing .aperture-doors span {
  background: color-mix(
    in srgb,
    var(--dark) calc(clamp(0, 1 - var(--opening) * 1.6, 1) * 100%),
    var(--transparent)
  );
  transition: transform var(--duration-threshold) var(--ease-reference);
  color: color-mix(
    in srgb,
    currentColor calc(clamp(0, 1 - var(--opening) * 2.8, 1) * 100%),
    var(--transparent)
  );
}
.amaai-landing .aperture-doors span:first-child {
  transform: translateX(calc(var(--opening) * -105%));
}
.amaai-landing .aperture-doors span + span {
  transform: translateX(calc(var(--opening) * 105%));
}
.amaai-landing .aperture-photo {
  transform: scale(calc(1 + var(--opening) * 0.3));
  transition: transform var(--duration-threshold) var(--ease-reference);
}
.amaai-landing .aperture-art {
  display: none;
  z-index: -1;
  mix-blend-mode: lighten;
  transform: scale(calc(1.55 - var(--opening) * 0.55));
  opacity: calc(0.07 + var(--opening) * var(--opening) * 0.93);
  transition:
    transform var(--duration-threshold) var(--ease-reference),
    opacity var(--duration-threshold) var(--ease-reference);
}
.amaai-landing.motion-enabled .aperture-art {
  display: block;
}
.amaai-landing .aperture-title {
  opacity: max(0, calc((var(--opening) - 0.85) * 6.67));
  transform: scale(calc(0.82 + var(--opening) * 0.18));
  transition:
    transform var(--duration-threshold) var(--ease-reference),
    opacity var(--duration-threshold) ease;
}
.amaai-landing .is-manual .aperture-depth i {
  transition:
    transform var(--duration-threshold) var(--ease-reference),
    opacity var(--duration-threshold) ease;
}
/* Stencil: a pinned dark frame whose word is a window onto the installation, zooming x20. */
.amaai-landing .stencil-travel {
  display: none;
}
.amaai-landing.motion-enabled .stencil-travel {
  display: block;
  height: 220svh;
}
.amaai-landing .stencil-frame {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  isolation: isolate;
  overflow-anchor: none;
  background: var(--dark);
  color: var(--metal-hi);
  padding: calc(var(--header-height) + var(--space-5)) var(--gutter) 0;
}
.amaai-landing .stencil-frame .scene-photo {
  z-index: 0;
}
.amaai-landing .stencil {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark);
  color: var(--metal-hi);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.amaai-landing .stencil span {
  display: block;
  font-size: var(--text-stencil);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.075em;
  white-space: nowrap;
  transform-origin: 50% 52%;
  will-change: transform;
}
.amaai-landing .stencil-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    var(--transparent) 40%,
    color-mix(in srgb, var(--dark) 75%, var(--transparent))
  );
}
.amaai-landing .stencil-frame .section-top {
  position: relative;
  z-index: 4;
}
/* The reference's scene art is film (scale 1.025, slow camera); our stills drift like a held shot. */
@keyframes film-drift {
  from {
    translate: 0 0;
    scale: 1.025;
  }
  to {
    translate: -1.2% 0.6%;
    scale: 1.06;
  }
}
.amaai-landing.motion-enabled .word-frame .scene-photo,
.amaai-landing.motion-enabled .stencil-photo,
.amaai-landing.motion-enabled .aperture-art {
  animation: film-drift var(--duration-film) ease-in-out infinite alternate;
}
.amaai-landing .final {
  padding-top: var(--space-8);
  padding-bottom: var(--space-9);
  min-height: 650px;
}
.amaai-landing .final h2 {
  font-size: clamp(70px, 11.8vw, 180px);
  max-width: 13ch;
  line-height: 0.92;
  letter-spacing: var(--tracking-tight);
  word-spacing: var(--word-space-display);
  padding-left: 0.62em;
  text-indent: -0.62em;
}
.amaai-landing .final-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-7);
  margin-top: var(--space-9);
  align-items: start;
}
.amaai-landing .final-column {
  border-top: var(--border-thin) solid var(--accent-contrast);
  padding-top: var(--space-5);
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: var(--space-4);
}
.amaai-landing .final-column > p {
  font-size: var(--text-lead);
  line-height: 1.3;
  max-width: 24ch;
}
.amaai-landing .final-cta {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  font-size: clamp(26px, 2.3vw, 34px);
  letter-spacing: var(--tracking-heading);
}
.amaai-landing .final-login {
  display: inline-flex;
  gap: var(--space-2);
  font-size: var(--text-nav);
}
.amaai-landing .site-footer {
  background: var(--dark);
  color: var(--accent-contrast);
  display: grid;
  grid-template-columns: 1fr 1.5fr auto;
  gap: var(--space-7);
  padding: var(--space-8) var(--gutter)
    calc(var(--space-8) + var(--rail-height));
  font-size: var(--text-nav);
}
.amaai-landing .site-footer .brand {
  font-size: var(--text-lead);
  margin-bottom: var(--space-3);
}
.amaai-landing .footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3) var(--space-7);
  align-content: start;
}
.amaai-landing .footer-label {
  grid-column: 1/-1;
  font: var(--text-micro)/1.4 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark-muted);
}
.amaai-landing .site-footer .brand img {
  width: var(--space-6);
  height: var(--space-6);
  filter: brightness(0) invert(1);
}
.amaai-landing .site-footer > a {
  display: flex;
  gap: var(--space-3);
  align-items: start;
}
.amaai-landing .site-footer small {
  grid-column: 1/-1;
  font-size: var(--text-micro);
  color: var(--dark-muted);
}

/* Chapter rail and native modal index. */
.amaai-landing .chapter-rail {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--rail-height);
  border-top: var(--border-thin) solid var(--line);
  padding: 0 var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 30;
  background: var(--background);
  font-size: var(--text-small);
}
.amaai-landing .chapter-rail > button,
.amaai-landing .chapter-rail > div {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  height: 100%;
}
.amaai-landing .chapter-rail button {
  min-height: var(--rail-height);
}
.amaai-landing .chapter-rail small {
  font: var(--text-micro) var(--font-mono);
  color: var(--muted);
}
.amaai-landing .rail-mark {
  display: flex;
  align-items: center;
  gap: 3px;
  width: 25px;
  height: 20px;
}
.amaai-landing .rail-mark i {
  display: block;
  width: 1px;
  height: 8px;
  background: currentColor;
  transition: height var(--duration-fill) ease;
}
.amaai-landing .rail-mark i.current {
  height: 20px;
}
.amaai-landing .rail-product {
  font: var(--text-micro) var(--font-mono);
  color: var(--muted);
}
.amaai-landing.rail-dark .chapter-rail {
  background: var(--dark);
  color: var(--accent-contrast);
  border-color: var(--muted);
}
.amaai-landing.rail-blue .chapter-rail {
  background: var(--accent);
  color: var(--accent-contrast);
}
.amaai-landing.rail-dark .chapter-rail small,
.amaai-landing.rail-blue .chapter-rail small,
.amaai-landing.rail-dark .rail-product,
.amaai-landing.rail-blue .rail-product {
  color: var(--dark-muted);
}
.amaai-landing .chapter-menu {
  border: 0;
  max-width: none;
  max-height: none;
  width: calc(100% - var(--space-5));
  height: calc(100svh - var(--space-5));
  margin: var(--space-3);
  padding: var(--space-6) var(--space-8);
  background: var(--background);
  color: var(--text);
  overflow: auto;
}
.amaai-landing .chapter-menu::backdrop {
  background: var(--dark);
}
.amaai-landing .menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-nav);
  margin-bottom: var(--space-6);
}
.amaai-landing .menu-top button {
  display: flex;
  gap: var(--space-5);
  align-items: center;
}
.amaai-landing .menu-top .circle {
  width: var(--space-7);
  height: var(--space-7);
  border-color: var(--line);
}
.amaai-landing .menu-layout {
  display: grid;
  grid-template-columns: 31% 1fr;
  gap: 7%;
  height: calc(100% - var(--space-8));
}
.amaai-landing .menu-art {
  background: var(--dark) url("/landing/img/ribbon-room-1024.webp") center/cover
    no-repeat;
  position: relative;
  overflow: hidden;
  color: var(--accent-contrast);
  transition: background-image var(--duration-preview) ease;
}
.amaai-landing .menu-art[data-preview="1"],
.amaai-landing .menu-art[data-preview="3"] {
  background-image: url("/landing/img/plates-room-1024.webp");
}
.amaai-landing .menu-art[data-preview="4"],
.amaai-landing .menu-art[data-preview="5"] {
  background-image: url("/landing/img/credits-room-1024.webp");
}
.amaai-landing .menu-art[data-preview="6"] {
  background-image: url("/landing/img/aperture-tunnel-1024.webp");
}
.amaai-landing .menu-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    0deg,
    color-mix(in srgb, var(--dark) 72%, var(--transparent)),
    var(--transparent) 45%
  );
}
.amaai-landing .menu-art img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  mix-blend-mode: screen;
  opacity: 0;
  transform: scale(1.06);
  transition:
    opacity var(--duration-preview) ease,
    transform var(--duration-material) var(--ease-reference);
}
.amaai-landing .menu-art img.is-preview {
  opacity: 0.5;
  transform: scale(1);
}
.amaai-landing .menu-art > span,
.amaai-landing .menu-art small {
  z-index: 1;
}
.amaai-landing .menu-art > span {
  position: absolute;
  bottom: var(--space-7);
  left: var(--space-6);
  font-size: 160px;
  line-height: 1;
  letter-spacing: var(--tracking-tight);
}
.amaai-landing .menu-art small {
  position: absolute;
  bottom: var(--space-5);
  left: var(--space-6);
  font-size: var(--text-micro);
}
.amaai-landing .menu-layout nav {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.amaai-landing .menu-layout nav a {
  border-top: var(--border-thin) solid var(--line);
  display: grid;
  grid-template-columns: var(--space-7) 1fr var(--space-6);
  gap: var(--space-3);
  align-items: center;
  min-height: 84px;
  font-size: clamp(30px, 3.45vw, 52px);
  letter-spacing: var(--tracking-heading);
  word-spacing: 0.06em;
}
.amaai-landing .menu-layout nav a small {
  font: var(--text-micro) var(--font-mono);
  color: var(--muted);
}
.amaai-landing .menu-layout nav a[aria-current] small {
  color: var(--accent);
}
.amaai-landing .menu-layout nav a:focus-visible {
  color: var(--accent);
}
.amaai-landing .menu-layout nav a svg {
  transition: transform var(--duration-arrow) ease;
}
.amaai-landing .cookie-note {
  position: fixed;
  right: var(--gutter);
  bottom: calc(var(--rail-height) + var(--space-3));
  max-width: 320px;
  background: var(--background);
  color: var(--text);
  box-shadow: var(--shadow);
  border: var(--border-thin) solid var(--line);
  padding: var(--space-4);
  font-size: var(--text-micro);
  z-index: 25;
}
.amaai-landing .cookie-note p {
  margin-bottom: var(--space-3);
}
.amaai-landing .cookie-note button {
  margin-left: var(--space-5);
  text-decoration: underline;
}
.amaai-landing .cookie-note a,
.amaai-landing .cookie-note .link-text {
  text-decoration: underline;
}
/* links to pages the app does not serve are plain text in the same place and style (spec §4.4) */
.amaai-landing .link-text {
  display: inline-flex;
  align-items: center;
  min-width: var(--target);
  min-height: var(--target);
}
/* the open chapter menu holds the page still (the bundle set body.style.overflow) */
body:has(.amaai-landing .chapter-menu[open]) {
  overflow: hidden;
}

/* Quiet prototype/legal screens, shared primitives. */
.amaai-landing .price-column button[aria-pressed="true"] {
  color: var(--accent);
  border-bottom-width: 3px;
}
.amaai-landing .stream-caret::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  background: currentColor;
  margin-left: var(--space-1);
  vertical-align: middle;
  animation: blink 800ms linear infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* Only authored fine-pointer responses; focus is a separate visible outline. */
@media (hover: hover) and (pointer: fine) {
  .amaai-landing .hero-cta:hover .circle,
  .amaai-landing .final-cta:hover .circle {
    background: var(--text);
    color: var(--background);
    transform: rotate(45deg);
  }
  .amaai-landing .blue .final-cta:hover .circle {
    background: var(--accent-contrast);
    color: var(--accent);
  }
  .amaai-landing .sculpture.webgl:hover .drag-hint {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  .amaai-landing .menu-layout nav a:hover {
    color: var(--accent);
  }
  .amaai-landing .menu-layout nav a:hover svg {
    transform: translate(4px, -4px);
  }
  .amaai-landing [data-open-menu]:hover .rail-mark i {
    height: 20px;
  }
  .amaai-landing .demo-tabs button:hover {
    color: var(--accent);
  }
  .amaai-landing .chapter-link:hover svg,
  .amaai-landing .demo-tabs button:hover svg,
  .amaai-landing .final-login:hover svg {
    transform: translate(4px, -4px);
  }
  .amaai-landing .text-button:hover,
  .amaai-landing .footer-links a:hover,
  .amaai-landing .scene-actions button:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .amaai-landing input[type="range"]:hover::-webkit-slider-thumb {
    box-shadow: 0 0 0 4px var(--line);
  }
}

/* Short desktop: keep proportions, compress the free vertical allocation. */
@media (min-width: 701px) and (max-height: 820px) {
  .amaai-landing .hero-title {
    margin-top: var(--space-5);
  }
  .amaai-landing .hero-line.second {
    margin-top: var(--space-6);
  }
  .amaai-landing .hero-bottom {
    bottom: calc(var(--rail-height) + var(--space-5));
  }
  .amaai-landing .shape-modes {
    margin-top: 0;
  }
  .amaai-landing .hero-prompt {
    margin-top: var(--space-1);
  }
  .amaai-landing .thought-object {
    height: 30svh;
  }
}
@media (min-width: 1600px) {
  .amaai-landing .hero-title {
    margin-top: var(--space-8);
  }
  .amaai-landing .hero-bottom {
    bottom: calc(var(--rail-height) + var(--space-7));
  }
}
@media (min-width: 701px) {
  html[lang="en"]:has(.amaai-landing) {
    --text-hero-second: 13.7vw;
  }
  html[lang="uk"] .amaai-landing .sliced-word {
    font-size: 13.6vw;
  }
  html[lang="en"] .amaai-landing .thought-layer {
    font-size: 17vw;
  }
}
@media (max-width: 1100px) and (min-width: 701px) {
  .amaai-landing .site-header {
    gap: var(--space-5);
  }
  .amaai-landing .site-header nav {
    gap: var(--space-5);
  }
  .amaai-landing .hero-title {
    margin-top: var(--space-9);
  }
  .amaai-landing .hero-bottom {
    grid-template-columns: 1fr 330px 1fr;
    gap: var(--space-5);
  }
  .amaai-landing .hero-cta {
    flex-direction: column-reverse;
    align-items: end;
    font-size: var(--text-nav);
  }
  .amaai-landing .sculpture {
    top: 29%;
    left: 29%;
    width: 43%;
  }
  .amaai-landing.motion-enabled .sculpture img {
    top: calc(var(--hero-h, 100svh) * 0.29);
    left: 29%;
    width: 43%;
  }
  .amaai-landing .reading-frame {
    grid-template-columns: 22% 1fr;
  }
  .amaai-landing .editorial {
    grid-template-columns: 30% 1fr;
    gap: var(--space-7);
  }
  .amaai-landing .credit-row {
    grid-template-columns: var(--space-7) 1fr;
  }
  .amaai-landing .credit-row p {
    grid-column: 2;
  }
}
@media (max-width: 700px) {
  .amaai-landing .site-header {
    padding: var(--space-2) var(--gutter) 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 var(--space-3);
    align-content: start;
  }
  .amaai-landing .brand {
    font-size: var(--text-nav);
    gap: var(--space-3);
  }
  .amaai-landing .brand img {
    width: var(--space-5);
    height: var(--space-6);
  }
  .amaai-landing .site-header nav {
    grid-row: 2;
    grid-column: 1/-1;
    margin-left: 0;
    gap: var(--space-5);
    font-size: var(--text-small);
  }
  .amaai-landing .site-header .language-switch {
    position: absolute;
    right: var(--gutter);
    top: var(--space-2);
  }
  .amaai-landing .hero {
    height: auto;
    min-height: 100svh;
    padding-bottom: calc(var(--rail-height) + var(--space-4));
  }
  .amaai-landing .hero-meta {
    font-size: var(--text-micro);
    padding-top: var(--space-3);
    line-height: 1.4;
  }
  .amaai-landing .hero-title {
    margin-top: var(--space-6);
    line-height: 0.9;
    position: static;
    word-spacing: 0.09em;
  }
  .amaai-landing .hero-line.first sup {
    font-size: 0.3em;
    line-height: 1.5;
    margin-left: var(--space-2);
  }
  html[lang="uk"] .amaai-landing .hero-line.first {
    font-size: 14.1vw;
  }
  .amaai-landing .hero-line.second {
    margin-top: 236px;
  }
  .amaai-landing .sculpture {
    top: 234px;
    left: var(--space-4);
    width: calc(100% - var(--space-6));
    height: 250px;
  }
  .amaai-landing .drag-hint {
    display: none;
  }
  .amaai-landing .hero-bottom {
    position: static;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-4) var(--space-3);
    margin-top: var(--space-5);
    align-items: center;
  }
  .amaai-landing .hero-intro {
    font-size: var(--text-micro);
    padding-bottom: 0;
  }
  .amaai-landing .hero-cta {
    grid-column: 2;
    grid-row: 1;
    flex-direction: column-reverse;
    gap: var(--space-2);
    font-size: var(--text-micro);
    padding-bottom: 0;
    align-items: center;
  }
  .amaai-landing .hero-cta .circle {
    width: 44px;
    height: 44px;
  }
  .amaai-landing .shape-controls {
    grid-column: 1/-1;
    grid-row: 2;
    margin-top: var(--space-1);
  }
  .amaai-landing .shape-label,
  .amaai-landing .shape-modes button {
    font-size: var(--text-micro);
  }
  .amaai-landing .shape-modes small {
    font-size: 8px;
  }
  .amaai-landing .shape-controls > .micro {
    display: none;
  }
  .amaai-landing .hero-prompt {
    margin-top: 0;
  }
  .amaai-landing .hero-prompt button {
    height: var(--target);
  }
  .amaai-landing input[type="range"] {
    height: 52px;
  }
  .amaai-landing input[type="range"]::-webkit-slider-thumb {
    width: 28px;
    height: 28px;
  }
  .amaai-landing input[type="range"]::-moz-range-thumb {
    width: 28px;
    height: 28px;
  }
  .amaai-landing .page-section {
    padding: var(--space-8) var(--gutter);
  }
  .amaai-landing .prologue {
    padding: 0;
  }
  .amaai-landing .reading-frame {
    display: block;
    padding: var(--space-9) var(--gutter);
  }
  .amaai-landing .side-note {
    font-size: var(--text-small);
    margin-bottom: var(--space-7);
  }
  .amaai-landing .statement {
    margin-bottom: var(--space-7);
    line-height: 1.08;
  }
  .amaai-landing .prologue-copy {
    padding-bottom: var(--space-7);
  }
  .amaai-landing .prologue-note {
    font-size: var(--text-small);
    max-width: 30ch;
  }
  .amaai-landing .down-link svg {
    width: var(--space-5);
    height: var(--space-5);
  }
  .amaai-landing.motion-enabled .prologue {
    height: 200svh;
  }
  .amaai-landing.motion-enabled .reading-frame {
    padding-top: 25svh;
  }
  .amaai-landing.motion-enabled .reading-window {
    padding-bottom: 0.54em;
  }
  .amaai-landing.motion-enabled .prologue-note {
    margin-top: var(--space-5);
  }
  .amaai-landing .section-top {
    font-size: var(--text-micro);
    margin-bottom: var(--space-7);
  }
  .amaai-landing .section-top {
    grid-template-columns: var(--space-8) 1fr auto;
    gap: var(--space-3);
  }
  .amaai-landing .section-top > [data-i18n="scenes.thoughtAside"] {
    display: none;
  }
  .amaai-landing .section-top .micro {
    font-size: 8px;
    max-width: 20ch;
    text-align: right;
  }
  .amaai-landing .thought-scene {
    min-height: calc(100svh - var(--rail-height));
    padding-top: calc(var(--header-height) + var(--space-6));
    padding-bottom: var(--space-6);
  }
  .amaai-landing .thought-lead {
    font-size: 30px;
    margin-top: var(--space-6);
  }
  .amaai-landing .thought-object {
    height: 31svh;
    margin-top: var(--space-8);
    margin-bottom: var(--space-7);
  }
  .amaai-landing .thought-layer {
    font-size: 24vw;
    --rib: 0.075em;
  }
  html[lang="en"] .amaai-landing .thought-layer {
    font-size: 17vw;
  }
  .amaai-landing .object-drag {
    position: absolute;
    top: calc(var(--header-height) + 140px);
    left: var(--gutter);
    right: var(--gutter);
    font-size: var(--text-micro);
  }
  .amaai-landing .scene-bottom {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .amaai-landing .scene-bottom .lead {
    font-size: 22px;
  }
  .amaai-landing .thought-scene .scene-bottom .micro {
    display: none;
  }
  .amaai-landing .view-controls label {
    font-size: var(--text-micro);
  }
  .amaai-landing .scene-actions {
    font-size: var(--text-small);
  }
  .amaai-landing .editorial {
    display: block;
    padding-top: var(--space-9);
    padding-bottom: var(--space-9);
  }
  .amaai-landing .chapter-kicker {
    font-size: var(--text-micro);
    margin-bottom: var(--space-5);
  }
  .amaai-landing .chapter-link {
    margin-top: var(--space-6);
  }
  .amaai-landing .editorial-main {
    margin-top: var(--space-7);
  }
  .amaai-landing .archive {
    margin-top: var(--space-7);
  }
  .amaai-landing .demo-tabs button {
    grid-template-columns: var(--space-7) 1fr var(--space-5);
    min-height: 52px;
  }
  .amaai-landing .message {
    grid-template-columns: var(--space-7) 1fr;
    gap: var(--space-3);
  }
  .amaai-landing .message > span {
    font-size: var(--text-micro);
  }
  .amaai-landing .answer {
    min-height: 220px;
  }
  .amaai-landing .conversation > .text-button {
    width: 100%;
    margin-left: 0;
  }
  .amaai-landing .context-heading {
    display: block;
  }
  .amaai-landing .context-heading > p {
    font-size: var(--text-body);
    margin-top: var(--space-5);
  }
  .amaai-landing .context-stage {
    height: 44svh;
    min-height: 320px;
  }
  .amaai-landing .context-object {
    font-size: 27vw;
  }
  .amaai-landing .context-stage-bottom {
    flex-wrap: wrap;
    gap: 0;
  }
  .amaai-landing .context-stage-bottom > span {
    display: none;
  }
  .amaai-landing .context-stage-bottom > p {
    width: 100%;
    font-size: var(--text-body);
  }
  .amaai-landing .field-control {
    justify-content: space-between;
    width: 100%;
  }
  .amaai-landing .field-control input {
    width: 42%;
  }
  .amaai-landing .language-words {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .amaai-landing .language-words button {
    font-size: 24px;
  }
  .amaai-landing .language-words small {
    width: var(--space-5);
  }
  .amaai-landing .context-sentence {
    font-size: 30px;
  }
  .amaai-landing .context-explanation {
    font-size: var(--text-body);
  }
  .amaai-landing .language-bottom {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    margin-top: var(--space-7);
  }
  .amaai-landing .language-bottom .micro {
    font-size: var(--text-micro);
  }
  .amaai-landing .word-frame {
    min-height: 85svh;
    padding-top: calc(var(--header-height) + var(--space-6));
    padding-bottom: calc(var(--rail-height) + var(--space-7));
  }
  .amaai-landing .word-prelude {
    font-size: 38px;
    margin-top: 8svh;
  }
  .amaai-landing .sliced-word {
    font-size: 17.2vw;
    height: 38vw;
    margin-top: var(--space-8);
    margin-bottom: var(--space-8);
  }
  html[lang="uk"] .amaai-landing .sliced-word {
    font-size: 13.5vw;
  }
  .amaai-landing .word-frame .scene-bottom > p:last-child {
    font-size: var(--text-body);
  }
  .amaai-landing .scene-progress {
    left: var(--gutter);
    width: 30%;
  }
  .amaai-landing.motion-enabled .word-travel {
    height: 210svh;
  }
  .amaai-landing.motion-enabled .stencil-travel {
    height: 175svh;
  }
  .amaai-landing.motion-enabled .word-frame {
    height: 100svh;
  }
  .amaai-landing .credit-equation {
    padding: var(--space-6) 0 var(--space-2);
    gap: var(--space-4);
  }
  .amaai-landing .credit-equation strong {
    font-size: 96px;
  }
  .amaai-landing .credit-row {
    grid-template-columns: var(--space-7) 1fr;
    gap: var(--space-2) var(--space-3);
    padding: var(--space-4) 0;
  }
  .amaai-landing .credit-row p {
    grid-column: 2;
  }
  .amaai-landing .pricing h2 {
    font-size: 13vw;
    max-width: 12ch;
  }
  .amaai-landing .pricing-intro {
    margin-left: 0;
    font-size: var(--text-body);
  }
  .amaai-landing .price-columns {
    grid-template-columns: 1fr;
    gap: var(--space-7);
    margin-top: var(--space-7);
  }
  .amaai-landing .price-column {
    position: relative;
    padding-top: var(--space-4);
  }
  .amaai-landing .pack-count {
    font-size: 100px;
    margin-top: var(--space-6);
  }
  .amaai-landing .pack-price {
    position: absolute;
    right: 0;
    top: 68px;
    font-size: var(--text-price-mobile);
    margin: 0;
  }
  .amaai-landing .price-column:last-child .pack-count {
    font-size: var(--text-pack-long-mobile);
  }
  .amaai-landing .price-column .text-button {
    margin-top: var(--space-5);
  }
  .amaai-landing .pricing-note {
    font-size: var(--text-micro);
  }
  .amaai-landing .faq summary {
    font-size: var(--text-body);
    min-height: 80px;
  }
  .amaai-landing .faq details p {
    padding-right: var(--space-4);
  }
  .amaai-landing .aperture-frame {
    padding-top: var(--header-height);
    padding-bottom: calc(var(--rail-height) + var(--space-7));
  }
  .amaai-landing .aperture-depth {
    inset: 8% -30% 38%;
  }
  .amaai-landing .aperture-doors {
    bottom: 38%;
  }
  .amaai-landing .aperture-doors span {
    font-size: 22vw;
    padding: 0 var(--space-4);
  }
  .amaai-landing .aperture-doors span + span {
    font-size: 10vw;
  }
  .amaai-landing .aperture-title {
    font-size: 15vw;
  }
  .amaai-landing .aperture-frame .scene-bottom {
    gap: var(--space-6);
    margin-top: var(--space-7);
  }
  .amaai-landing.motion-enabled .aperture-travel {
    height: 180svh;
  }
  .amaai-landing .final {
    min-height: 570px;
  }
  .amaai-landing .final h2 {
    font-size: 16vw;
    max-width: 10ch;
    line-height: 0.96;
    padding-left: 0.45em;
    text-indent: -0.45em;
  }
  .amaai-landing .final-bottom {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin-top: var(--space-7);
  }
  .amaai-landing .final-column > p {
    font-size: var(--text-body);
    max-width: 30ch;
  }
  .amaai-landing .final-cta {
    font-size: var(--text-subtitle);
    gap: var(--space-4);
  }
  .amaai-landing .final-cta .circle {
    width: var(--space-7);
    height: var(--space-7);
  }
  .amaai-landing .site-footer {
    grid-template-columns: 1fr auto;
    gap: var(--space-6);
    padding: var(--space-7) var(--gutter)
      calc(var(--space-7) + var(--rail-height));
    font-size: var(--text-small);
  }
  .amaai-landing .footer-links {
    grid-column: 1/-1;
    grid-row: 2;
    gap: var(--space-3) var(--space-5);
  }
  .amaai-landing .site-footer > a {
    grid-column: 2;
    grid-row: 1;
  }
  .amaai-landing .chapter-rail {
    font-size: var(--text-micro);
  }
  .amaai-landing .chapter-rail > button,
  .amaai-landing .chapter-rail > div {
    gap: var(--space-3);
  }
  .amaai-landing .chapter-rail small {
    font-size: 8px;
  }
  .amaai-landing .rail-mark i.current {
    height: 16px;
  }
  .amaai-landing .rail-product {
    display: none;
  }
  .amaai-landing .chapter-menu {
    width: 100%;
    height: 100svh;
    margin: 0;
    padding: var(--space-5) var(--gutter);
  }
  .amaai-landing .menu-top {
    font-size: var(--text-small);
    margin-bottom: var(--space-7);
  }
  .amaai-landing .menu-top button {
    gap: var(--space-3);
  }
  .amaai-landing .menu-top .circle {
    width: var(--target);
    height: var(--target);
  }
  .amaai-landing .menu-layout {
    display: block;
    height: auto;
  }
  .amaai-landing .menu-art {
    display: none;
  }
  .amaai-landing .menu-layout nav a {
    font-size: 7.6vw;
    min-height: 66px;
    grid-template-columns: var(--space-5) 1fr var(--space-5);
    line-height: 1.05;
  }
  .amaai-landing .menu-layout nav a small {
    font-size: 8px;
  }
  .amaai-landing .cookie-note {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    margin: 0 var(--gutter) calc(var(--space-5) + var(--rail-height));
    box-shadow: var(--shadow-none);
  }
}
/* Both live toggle and system preference remove motion and sticky travel. */
html:has(.amaai-landing.motion-off) {
  scroll-behavior: auto;
}
.amaai-landing.motion-off *,
.amaai-landing.motion-off *::before,
.amaai-landing.motion-off *::after {
  animation: none !important;
  transition: none !important;
}
.amaai-landing.motion-off .sculpture canvas {
  display: none;
}
.amaai-landing.motion-off .sculpture.webgl img {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  html:has(.amaai-landing) {
    scroll-behavior: auto;
  }
  .amaai-landing,
  .amaai-landing *,
  .amaai-landing *::before,
  .amaai-landing *::after {
    animation: none !important;
    transition: none !important;
  }
  .amaai-landing .sculpture canvas {
    display: none !important;
  }
  .amaai-landing .sculpture.webgl img {
    opacity: 1 !important;
  }
}
