@font-face {
  font-family: Manrope;
  src: url("./assets/manrope-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("./assets/manrope-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("./assets/manrope-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  --paper: #fff;
  --soft: #f3f5f7;
  --ink: #172126;
  --muted: #52616a;
  --blue: #005bd7;
  --green: #126b51;
  --mint: #e7f2ee;
  --error: #a52932;
  --quick: 150ms;
  --normal: 260ms;
  --expand: 460ms;
  --reveal: 540ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease: cubic-bezier(0.2, 0.65, 0.3, 1);
  --radius: 8px;
  color-scheme: light;
}
* {
  box-sizing: border-box;
  letter-spacing: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font:
    400 17px/1.65 Manrope,
    "Segoe UI",
    "Microsoft YaHei",
    sans-serif;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
}
button:disabled {
  cursor: not-allowed;
}
button,
fieldset {
  margin: 0;
}
fieldset {
  padding: 0;
  border: 0;
  min-width: 0;
}
img,
svg {
  max-width: 100%;
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
}
h2 {
  font-size: 42px;
  max-width: 620px;
}
h3 {
  font-size: 22px;
}
p {
  max-width: 66ch;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
::selection {
  background: #b6dbfa;
  color: var(--ink);
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.frame {
  max-width: 1244px;
  margin-inline: auto;
  padding-inline: 32px;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 16px;
  padding: 8px 16px;
  background: var(--paper);
  z-index: 100;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 30;
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
}
.brand-dot {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links > a:not(.button),
.site-footer a {
  text-decoration: none;
}
.nav-links > a:not(.button):hover,
.site-footer a:hover {
  text-decoration: underline;
}
.nav-links > a {
  font-size: 14px;
  font-weight: 600;
}
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: var(--soft);
  transition:
    transform var(--quick) var(--ease),
    background var(--quick);
}
.menu-button {
  display: none;
}
.button {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 22px;
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--paper);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform var(--quick) var(--ease-out),
    background var(--normal),
    box-shadow var(--normal),
    color var(--normal);
  position: relative;
  white-space: normal;
  text-align: center;
}
.button.compact {
  min-height: 40px;
  padding: 10px 16px;
}
.button.secondary {
  background: #e8edf2;
  color: var(--ink);
}
.button.light {
  background: var(--paper);
  color: var(--ink);
}
.button:disabled {
  background: #e2e6eb;
  color: #5b6571;
  transform: none;
  box-shadow: none;
}
.button:active:not(:disabled),
.icon-button:active {
  transform: scale(0.97);
}
.button[data-state="loading"] {
  cursor: progress;
}
.button[data-state="success"] {
  background: var(--green);
  color: var(--paper);
}
.button[data-state="error"] {
  background: var(--error);
  color: var(--paper);
}
.button .result-icon {
  display: none;
}
.button[data-state="success"] .result-icon {
  display: block;
  animation: check-in var(--normal) var(--ease-out);
}
.button[data-state="success"] .gear {
  display: none;
}
@media (hover: hover) {
  .button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px #17212614;
  }
  .button:hover:active:not(:disabled) {
    transform: scale(0.97);
  }
  .button:not(.secondary):not(.light):not(:disabled):not([data-state]):hover {
    background: #004fb9;
  }
  .button.secondary:hover {
    background: #dce5ed;
  }
  .icon-button:hover {
    background: #dde5eb;
  }
}
.actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero {
  position: relative;
  isolation: isolate;
  background: #f5f7f8;
  overflow: hidden;
}
.hero canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.hero-content {
  text-align: center;
  padding-top: 44px;
  padding-bottom: 28px;
}
.hero h1 {
  font-size: 64px;
}
.hero-line {
  font-size: 34px;
  line-height: 1.3;
  margin: 12px auto 20px;
  color: var(--ink);
  font-weight: 600;
}
.hero-description {
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}
.release-note {
  font-size: 13px;
  color: var(--muted);
  margin: 14px auto 0;
}
.caption-scene {
  margin: 50px auto 0;
  max-width: 900px;
  text-align: left;
}
.scene-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}
.language-control {
  display: flex;
  gap: 4px;
  background: var(--paper);
  padding: 4px;
  border-radius: 8px;
  flex-shrink: 0;
}
.language-control button {
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 5px;
  font-size: 14px;
  min-height: 40px;
  transition:
    background var(--normal),
    color var(--normal),
    transform var(--quick);
}
.language-control button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}
.language-control button:active {
  transform: scale(0.95);
}
.caption-copy {
  position: relative;
  margin-top: 18px;
  min-height: 138px;
  background: var(--ink);
  color: var(--paper);
  padding: 24px 32px;
  overflow: hidden;
}
.caption-copy p {
  max-width: none;
}
.source-caption {
  font-size: 18px;
  color: #d0d9dd;
}
.translated-caption {
  font-size: 24px;
  margin-top: 9px;
  font-weight: 600;
}
.scene-note {
  text-align: right;
  font-size: 12px;
  color: var(--muted);
  margin: 10px 0 0 auto;
}
.reveal-copy {
  position: absolute;
  inset: 0;
  background: var(--ink);
  padding: 24px 32px;
  pointer-events: none;
  z-index: 2;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
}
.section-heading p {
  margin-top: 16px;
  color: var(--muted);
}
.section-heading > p {
  margin: 0;
  max-width: 380px;
}
.features-band {
  padding: 90px 0;
  background: var(--paper);
}
.translation-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.feature-item {
  min-width: 0;
  padding: 8px 0;
}
.magnetic-visual {
  transform: translate(var(--mx, 0px), var(--my, 0px));
  transition: transform var(--normal) var(--ease-out);
}
.feature-item svg {
  width: 30px;
  height: 30px;
  color: var(--blue);
  margin-bottom: 16px;
}
.feature-item:nth-child(2) svg {
  color: var(--green);
}
.feature-item h3 {
  margin-bottom: 14px;
}
.feature-item p {
  color: var(--muted);
  max-width: 49ch;
}
.honest-note {
  margin-top: 40px;
  display: flex;
  gap: 12px;
  font-size: 14px;
  max-width: 900px;
  color: var(--muted);
}
.honest-note svg {
  margin-top: 2px;
}
.quiet-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 20px;
  max-width: 80ch;
}
.study-band {
  padding: 80px 0 64px;
  background: var(--soft);
  overflow: hidden;
}
.stack-stage {
  container-type: inline-size;
  height: 416px;
  position: relative;
  overflow: clip;
}
.study-stack {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.study-card {
  background: var(--paper);
  padding: 14px 14px 20px;
  border-radius: var(--radius);
  width: 100%;
  height: 390px;
  transform: translateX(var(--collapsed-x, 0)) translateY(var(--collapsed-y, 0))
    rotate(var(--collapsed-r, 0deg));
  transition: transform var(--expand) var(--ease-out);
  transform-origin: 50% 60%;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.study-card:nth-child(1) {
  --collapsed-x: calc(50cqw - 50%);
  --collapsed-y: 0px;
  --collapsed-r: -5deg;
  z-index: 4;
}
.study-card:nth-child(2) {
  --collapsed-x: calc(50cqw - 150% - 16px);
  --collapsed-y: 8px;
  --collapsed-r: 1deg;
  z-index: 3;
}
.study-card:nth-child(3) {
  --collapsed-x: calc(50cqw - 250% - 32px);
  --collapsed-y: 16px;
  --collapsed-r: 6deg;
  z-index: 2;
}
.study-card:nth-child(4) {
  --collapsed-x: calc(50cqw - 350% - 48px);
  --collapsed-y: 24px;
  --collapsed-r: 11deg;
  z-index: 1;
}
.study-card h3 {
  font-size: 21px;
  margin: 20px 5px 10px;
}
.study-card p {
  font-size: 14px;
  line-height: 1.55;
  margin: 0 5px;
  color: var(--muted);
}
.study-card .tool-link {
  margin: auto 5px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  min-height: 40px;
  color: var(--blue);
}
.artifact-preview {
  height: 160px;
  flex-shrink: 0;
  background: var(--soft);
  overflow: hidden;
  border-radius: 4px;
}
.artifact-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.stack-stage[data-expanded="true"] .study-card {
  transform: none;
}
.stack-stage[data-expanded="false"] .tool-link {
  visibility: hidden;
}
.stack-stage[data-expanded="false"] .study-card {
  pointer-events: none;
}
@media (hover: hover) {
  .stack-stage[data-expanded="false"]:hover .study-card {
    transform: translateX(var(--collapsed-x))
      translateY(calc(var(--collapsed-y) - 6px)) rotate(var(--collapsed-r));
  }
}
.workflow-band {
  padding: 90px 0;
  background: var(--mint);
}
.workflow {
  position: relative;
  --line-scroll: 0;
  --step-progress: 0;
}
.workflow-lines {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 42px;
  pointer-events: none;
}
.workflow-lines path {
  fill: none;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
.line-base {
  stroke: #abc7ba;
}
.line-draw {
  stroke: var(--green);
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--line-scroll));
  transition: stroke-dashoffset var(--normal) var(--ease);
}
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  margin: 0;
}
.steps li {
  position: relative;
}
.step-tab {
  border: 0;
  background: var(--mint);
  color: var(--ink);
  padding: 0 12px 0 0;
  font-size: 21px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  max-width: 100%;
  text-align: left;
}
.step-marker {
  height: 40px;
  width: 40px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #c9dfd3;
  border-radius: 50%;
  color: var(--ink);
  font-size: 15px;
  position: relative;
  transition:
    background var(--normal),
    color var(--normal),
    transform var(--normal);
}
.step-marker svg {
  display: none;
}
.step-tab[aria-current="step"] .step-marker {
  background: var(--ink);
  color: var(--paper);
}
.step-tab[data-complete="true"] .step-marker {
  background: var(--green);
  color: var(--paper);
}
.step-tab[data-complete="true"] .step-marker > span {
  display: none;
}
.step-tab[data-complete="true"] .step-marker svg {
  display: block;
  animation: check-in var(--normal) var(--ease-out);
}
.step-tab:active .step-marker {
  transform: scale(0.92);
}
.steps p {
  margin-top: 22px;
  font-size: 16px;
  max-width: 32ch;
}
.step-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 40px;
  min-height: 82px;
}
.step-detail > p {
  font-size: 15px;
  max-width: 72ch;
}
.step-detail .button {
  flex-shrink: 0;
  background: var(--paper);
  min-width: 200px;
}
.step-detail .button[data-state="success"] {
  background: var(--green);
}
.workflow-band .quiet-note {
  color: #3e5c50;
}
.demo-band {
  padding: 90px 0;
  background: var(--paper);
}
.demo-band .section-heading {
  margin-bottom: 12px;
}
.demo-band #load-example {
  min-width: 234px;
}
.demo-status {
  font-size: 14px;
  color: var(--muted);
  min-height: 24px;
  margin-bottom: 28px;
}
.demo-status[data-error="true"] {
  color: var(--error);
}
.demo-workspace {
  background: var(--soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.demo-tabs {
  display: flex;
  padding: 12px 24px;
  gap: 8px;
  background: #e7ecef;
  overflow: auto;
}
.demo-tabs button {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  padding: 12px 22px;
  white-space: nowrap;
  min-height: 44px;
  font-weight: 600;
  font-size: 14px;
  transition:
    background var(--normal),
    color var(--normal),
    transform var(--quick);
}
.demo-tabs button[aria-selected="true"] {
  background: var(--paper);
  color: var(--ink);
}
.demo-tabs button:active {
  transform: scale(0.97);
}
.demo-panels {
  padding: 36px 48px;
  min-height: 370px;
  position: relative;
  overflow: hidden;
}
.demo-panels h3 {
  margin-bottom: 18px;
}
.demo-panels p,
.demo-panels li,
.demo-panels dd {
  font-size: 16px;
}
.demo-panels ul {
  padding-left: 22px;
  margin: 16px 0 0;
  max-width: 76ch;
}
.demo-panels li + li {
  margin-top: 6px;
}
.math-example {
  font-size: 28px;
  font-weight: 600;
  margin: 22px 0;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-items: center;
}
.math-example span {
  color: var(--blue);
}
.demo-panels dl {
  margin: 0;
}
.demo-panels dt {
  font-weight: 600;
  font-size: 16px;
}
.demo-panels dd {
  margin: 5px 0 16px;
  color: var(--muted);
}
#quiz-options {
  display: flex;
  gap: 12px;
  margin: 20px 0;
  flex-wrap: wrap;
}
#quiz-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 100px;
  min-height: 48px;
  padding: 8px 16px;
  border-radius: 6px;
  background: var(--paper);
  cursor: pointer;
}
input[type="radio"] {
  accent-color: var(--blue);
  width: 18px;
  height: 18px;
}
#quiz-feedback {
  min-height: 28px;
  margin-top: 16px;
}
#quiz-feedback[data-correct="true"] {
  color: var(--green);
}
#quiz-feedback[data-correct="false"] {
  color: var(--error);
}
.gear {
  display: inline-flex;
  width: 20px;
  height: 20px;
}
.gear[data-running="true"] {
  animation:
    gear-start 350ms ease-in forwards,
    gear-run 1200ms linear 350ms infinite;
  animation-composition: replace, add;
}
.gear[data-running="paused"] {
  animation-play-state: paused;
}
.gear[data-stopping="true"] {
  animation: gear-stop 420ms var(--ease-out) forwards;
}
@keyframes gear-start {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(90deg);
  }
}
@keyframes gear-run {
  to {
    transform: rotate(360deg);
  }
}
@keyframes gear-stop {
  from {
    transform: rotate(var(--stop-angle));
  }
  to {
    transform: rotate(calc(var(--stop-angle) + 75deg));
  }
}
@keyframes check-in {
  from {
    opacity: 0;
    transform: scale(0.65);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.platform-band {
  padding: 84px 0;
  background: #edf3f8;
}
.platform-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.platform-name {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 16px;
}
.platform-layout .quiet-note {
  margin-top: 22px;
}
.faq-band {
  padding: 90px 0;
}
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 60px;
}
.faq-list {
  display: grid;
  gap: 8px;
}
.faq-list details {
  background: var(--soft);
  border-radius: var(--radius);
  padding: 0 22px;
}
.faq-list summary {
  list-style: none;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  padding: 16px 0;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary svg {
  transition: transform var(--normal) var(--ease-out);
}
.faq-list details[open] {
  background: var(--mint);
}
.faq-list details[open] summary svg {
  transform: rotate(45deg);
}
.faq-list details p {
  font-size: 15px;
  padding-bottom: 24px;
}
.download-band {
  padding: 84px 0;
  background: var(--ink);
  color: var(--paper);
}
.download-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.download-layout p {
  margin-top: 20px;
  color: #d0d9dd;
}
.download-layout [data-release] {
  margin-top: 10px;
  font-size: 14px;
}
.download-layout .button {
  min-width: 220px;
}
.site-footer {
  padding: 42px 0;
}
.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 13px;
}
.site-footer p {
  font-size: 12px;
  color: var(--muted);
}
.noscript-note {
  padding: 20px;
  max-width: none;
  background: var(--mint);
}
.legal {
  padding-block: 60px 100px;
  max-width: 900px;
}
.legal h1 {
  font-size: 44px;
  margin-bottom: 24px;
}
.legal h2 {
  font-size: 25px;
  margin: 38px 0 14px;
}
.legal p + p {
  margin-top: 18px;
}
.legal .draft-notice {
  padding: 20px;
  background: var(--mint);
  border-radius: var(--radius);
  font-weight: 600;
}
.legal ul {
  padding-left: 24px;
}
.legal .button {
  margin-top: 24px;
}
@media (max-width: 980px) {
  h2 {
    font-size: 34px;
  }
  .nav-links {
    gap: 18px;
  }
  .section-heading {
    align-items: flex-start;
  }
  .translation-features {
    gap: 40px;
  }
  .study-stack {
    grid-template-columns: repeat(4, 270px);
    gap: 16px;
    min-width: 1128px;
  }
  .stack-stage[data-expanded="true"] {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .study-card {
    scroll-snap-align: center;
  }
  .steps {
    gap: 26px;
  }
  .step-tab {
    font-size: 18px;
  }
  .faq-layout {
    gap: 36px;
    grid-template-columns: 1fr 1.8fr;
  }
  .demo-band .section-heading {
    flex-wrap: wrap;
  }
  .platform-layout {
    gap: 40px;
  }
}
@media (max-width: 640px) {
  .frame {
    padding-inline: 20px;
  }
  .nav {
    min-height: 68px;
  }
  .wordmark {
    font-size: 22px;
  }
  .menu-button {
    display: grid;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 18px 20px 24px;
    gap: 8px;
    box-shadow: 0 10px 15px #17212614;
  }
  .nav-links[data-open="true"] {
    display: grid;
  }
  .nav-links > a {
    min-height: 44px;
    padding: 10px;
  }
  .nav-links .button {
    justify-content: flex-start;
  }
  .hero-content {
    padding-top: 30px;
    padding-bottom: 22px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero-line {
    font-size: 25px;
    margin-top: 12px;
    margin-bottom: 18px;
  }
  .hero-description {
    font-size: 16px;
    max-width: 34ch;
  }
  .desktop-break {
    display: none;
  }
  .actions {
    gap: 10px;
  }
  .actions .button {
    font-size: 13px;
    padding: 12px 14px;
    gap: 7px;
  }
  .actions .button svg {
    width: 17px;
  }
  .release-note {
    font-size: 12px;
  }
  .caption-scene {
    margin-top: 38px;
  }
  .scene-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    font-size: 13px;
  }
  .language-control button {
    padding: 6px 12px;
    font-size: 13px;
  }
  .caption-copy {
    padding: 20px;
    min-height: 170px;
  }
  .source-caption {
    font-size: 15px;
  }
  .translated-caption {
    font-size: 19px;
    margin-top: 12px;
  }
  .reveal-copy {
    padding: 20px;
  }
  .scene-note {
    font-size: 11px;
    text-align: left;
  }
  h2 {
    font-size: 30px;
  }
  h3 {
    font-size: 21px;
  }
  .features-band,
  .workflow-band,
  .demo-band,
  .faq-band {
    padding: 60px 0;
  }
  .section-heading {
    display: block;
    margin-bottom: 30px;
  }
  .section-heading > p {
    margin-top: 18px;
    font-size: 16px;
  }
  .section-heading .button {
    margin-top: 24px;
  }
  .translation-features {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .feature-item p {
    font-size: 16px;
  }
  .feature-item svg {
    margin-bottom: 12px;
  }
  .honest-note {
    margin-top: 30px;
    font-size: 13px;
  }
  .study-band {
    padding: 60px 0 42px;
  }
  .stack-stage {
    margin-right: -20px;
    padding-right: 20px;
  }
  .study-card {
    height: 390px;
  }
  .study-band .quiet-note {
    font-size: 12px;
  }
  .workflow-lines {
    display: none;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .steps li {
    display: grid;
    grid-template-columns: 155px 1fr;
    gap: 16px;
  }
  .step-tab {
    align-self: start;
    font-size: 16px;
    gap: 9px;
  }
  .step-marker {
    width: 32px;
    height: 32px;
  }
  .steps p {
    margin: 0;
    font-size: 14px;
    max-width: 30ch;
  }
  .step-detail {
    display: block;
    margin-top: 26px;
    min-height: 146px;
  }
  .step-detail .button {
    margin-top: 18px;
  }
  .step-detail > p {
    min-height: 50px;
  }
  .demo-panels {
    padding: 26px 22px;
    min-height: 450px;
  }
  .demo-tabs {
    padding: 10px;
    gap: 2px;
  }
  .demo-tabs button {
    padding: 10px 14px;
    font-size: 13px;
  }
  .demo-panels h3 {
    font-size: 21px;
  }
  .math-example {
    font-size: 21px;
    gap: 16px;
  }
  .demo-panels p,
  .demo-panels li,
  .demo-panels dd {
    font-size: 15px;
  }
  .platform-band {
    padding: 60px 0;
  }
  .platform-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .platform-name {
    font-size: 24px;
  }
  .platform-layout p {
    font-size: 16px;
  }
  .platform-layout .quiet-note {
    font-size: 13px;
  }
  .faq-layout {
    display: block;
  }
  .faq-list {
    margin-top: 30px;
  }
  .faq-list details {
    padding-inline: 18px;
  }
  .faq-list summary {
    font-size: 15px;
    min-height: 64px;
  }
  .download-band {
    padding: 60px 0;
  }
  .download-layout {
    display: block;
  }
  .download-layout .button {
    margin-top: 28px;
  }
  .footer-layout {
    display: block;
  }
  .site-footer nav {
    margin: 24px 0;
    gap: 18px;
  }
  .legal h1 {
    font-size: 34px;
  }
  .legal {
    padding-block: 36px 70px;
  }
  .legal h2 {
    font-size: 23px;
  }
}
#guide-progress {
  display: block;
  width: 100%;
  height: 4px;
  margin-top: 22px;
  border: 0;
  border-radius: 2px;
  overflow: hidden;
  accent-color: var(--green);
}
.stack-hit {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  z-index: 5;
  border-radius: 8px;
}
.stack-navigation {
  display: none;
}
@media (max-width: 980px) {
  .stack-navigation {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 8px;
  }
}
@media (max-width: 980px) {
  .stack-navigation[hidden] {
    display: flex !important;
    visibility: hidden;
  }
}
html:not(.js) .study-card {
  transform: none !important;
  pointer-events: auto !important;
}
html:not(.js) .tool-link {
  visibility: visible !important;
}
html:not(.js) .stack-stage {
  overflow-x: auto;
}
html:not(.js) #stack-hit,
html:not(.js) #stack-toggle,
html:not(.js) .menu-button,
html:not(.js) #load-example {
  display: none;
}
@media (max-width: 640px) {
  html:not(.js) .nav {
    flex-wrap: wrap;
    padding-block: 16px;
  }
  html:not(.js) .nav-links {
    display: flex;
    flex-wrap: wrap;
    position: static;
    padding: 0;
    box-shadow: none;
  }
}
#guide-progress::-webkit-progress-bar {
  background: #c9dfd3;
}
#guide-progress::-webkit-progress-value {
  background: var(--green);
  transition: width var(--normal) var(--ease-out);
}
.button[data-state="success"] .gear[data-stopping="true"] {
  display: inline-flex;
}
/* Keep the next section visible on shorter screens without clipping the demo. */
@media (max-height: 850px) {
  .hero-content {
    padding-top: 24px;
    padding-bottom: 16px;
  }
  .hero-line {
    margin-bottom: 14px;
  }
  .hero-description {
    margin-bottom: 18px;
  }
  .caption-scene {
    margin-top: 22px;
  }
  .caption-copy {
    margin-top: 12px;
    padding-block: 16px;
    min-height: 116px;
  }
  .hero + .features-band {
    padding-top: 30px;
  }
}
@media (max-width: 640px) and (max-height: 850px) {
  .caption-copy {
    min-height: 148px;
  }
}
@media (max-width: 360px) and (max-height: 850px) {
  .hero-content {
    padding-top: 16px;
  }
  .hero .actions {
    gap: 8px;
  }
  .hero .actions .button {
    padding-inline: 6px;
    gap: 6px;
  }
  .caption-scene {
    margin-top: 14px;
  }
  .hero + .features-band {
    padding-top: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .button:hover,
  .button:active,
  .icon-button:active,
  .magnetic-visual {
    transform: none !important;
  }
  .reveal-copy {
    clip-path: none !important;
  }
  .line-draw {
    stroke-dashoffset: 0;
  }
  .stack-stage[data-expanded="false"]:hover .study-card {
    transform: translateX(var(--collapsed-x)) translateY(var(--collapsed-y))
      rotate(var(--collapsed-r));
  }
}
