@font-face {
  font-family: "Inter"; /* taste-skill-ignore default-font: Inter is the brand font specified in the brief. */
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --bg: #f8fafc;
  --surface: #f1f5f9;
  --surface-strong: #e2e8f0;
  --ink: #0f172a;
  --text: #334155;
  --muted: #5b6575;
  --accent: #2563eb;
  --accent-strong: #1d4ed8;
  --accent-soft: #dbeafe;
  --cyan: #06b6d4;
  --cyan-strong: #0e7490;
  --cyan-soft: #cffafe;
  --amber: #f59e0b;
  --amber-strong: #92400e;
  --amber-soft: #fef3c7;
  --deep: #0f172a;
  --deep-raised: #1e293b;
  --on-deep: #f8fafc;
  --on-deep-muted: #cbd5e1;
  --font-display: "Inter", sans-serif;
  --font-text: "Inter", sans-serif;
  --step-small: 0.9375rem;
  --step-body: 1.125rem;
  --step-lead: 1.5rem;
  --step-head: clamp(2.25rem, 1.6rem + 1.4vw, 2.9375rem);
  --step-display: clamp(3.25rem, 2.2rem + 4vw, 4.25rem);
  --margin: clamp(1.25rem, 3.4vw, 2.5rem);
  --gutter: clamp(1rem, 1.8vw, 1.5rem);
  --section-space: clamp(5.5rem, 9vw, 8.5rem);
  --section-gap: clamp(4.5rem, 6.5vw, 6.5rem);
  --radius: 14px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: var(--step-body);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

kbd,
code {
  padding: 0.18rem 0.38rem;
  border-radius: 5px;
  background: var(--surface-strong);
  color: var(--accent-strong);
  font-family: var(--font-text);
  font-size: var(--step-small);
  font-weight: 600;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
}

p {
  max-width: 62ch;
  text-wrap: pretty;
}

::selection {
  background: var(--accent);
  color: #fff;
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: var(--margin);
  z-index: 200;
  padding: 0.7rem 0.9rem;
  background: var(--ink);
  color: #fff;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: none;
}

.wrap {
  width: min(100%, 1250px);
  margin-inline: auto;
  padding-inline: var(--margin);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.96);
}

.site-nav {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.logo-mark {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  border: 1px solid #d3dae4; /* taste-skill-ignore: white tile needs a boundary on white */
  background: #fff;
}

.logo-mark::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2563eb;
  clip-path: polygon(50% 50%, 100% 29%, 100% 0, 0 0, 0 100%, 100% 100%, 100% 71%);
}

.logo-mark::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 7px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1.25rem, 2.4vw, 2.5rem);
  color: var(--muted);
  font-size: var(--step-small);
}

.nav-links a,
.footer-meta a,
.text-link {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.nav-links a:hover,
.footer-meta a:hover,
.text-link:hover {
  color: var(--ink);
  text-decoration-color: currentColor;
}

.nav-action,
.button,
.download-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 1.25rem;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-size: var(--step-small);
  font-weight: 600;
  transition: background-color 180ms ease, transform 140ms var(--ease-out);
}

.nav-action:hover,
.button:hover,
.download-button:hover {
  background: var(--accent-strong);
}

.nav-action:active,
.button:active,
.download-button:active,
.mode-button:active {
  transform: scale(0.97);
}

.nav-action {
  min-height: 40px;
}

.nav-action-short {
  display: none;
}

.menu-toggle {
  display: none;
  min-width: 48px;
  min-height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: var(--step-small);
  font-weight: 600;
}

.mobile-menu {
  display: none;
}

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.84fr) minmax(560px, 1.16fr);
  align-items: center;
  gap: clamp(2rem, 4.5vw, 5rem);
  padding-block: clamp(2.75rem, 4.5vw, 4.25rem) 0;
}

.hero-copy {
  max-width: 520px;
}

.hero h1 {
  max-width: 10ch;
  font-size: var(--step-display);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.headline-line {
  display: block;
  overflow: hidden;
}

.headline-line span {
  display: block;
}

html.js .headline-line span {
  animation: line-up 850ms var(--ease-out) both;
}

html.js .headline-line:nth-child(2) span {
  animation-delay: 100ms;
}

@keyframes line-up {
  from {
    transform: translateY(108%);
  }
  to {
    transform: translateY(0);
  }
}

.hero-lead {
  max-width: 38ch;
  margin-top: 1.5rem;
  color: var(--ink);
  font-size: var(--step-lead);
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.8rem;
}

.hero-platforms {
  margin-top: 1.3rem;
  color: var(--muted);
  font-size: var(--step-small);
}

.capability-showcase {
  margin-top: var(--section-gap);
  padding-bottom: 0;
}

.showcase-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 6rem);
  padding-inline: 1rem;
  margin-bottom: 1.4rem;
}

.showcase-heading h2 {
  max-width: 15ch;
  font-size: var(--step-head);
  line-height: 1;
  letter-spacing: -0.045em;
}

.showcase-heading p {
  max-width: 53ch;
  color: var(--ink);
  font-size: var(--step-body);
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(300px, 0.78fr);
  grid-template-rows: repeat(2, minmax(205px, 1fr));
  gap: 1rem;
}

.showcase-panel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.capture-panel {
  grid-row: 1 / 3;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 1rem;
  padding: clamp(1.4rem, 2.6vw, 2rem);
  background: #eaf0f8;
}

.record-panel {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 1rem;
  padding: clamp(1.4rem, 2.6vw, 2rem);
  background: #101923;
  color: #fff;
}

.ocr-panel {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(180px, 0.7fr);
  align-items: center;
  gap: 1rem;
  padding: clamp(1.4rem, 2.6vw, 2rem);
  background: var(--surface);
}

.panel-copy h3 {
  font-size: var(--step-lead);
  letter-spacing: -0.035em;
}

.panel-copy p {
  max-width: 32ch;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: var(--step-body);
}

.record-panel .panel-copy p {
  color: #b7c4d2;
}

.panel-title-line {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
}

.panel-title-line > span {
  color: var(--accent-strong);
  font-size: var(--step-small);
  font-weight: 600;
}

.capture-preview,
.record-preview {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: 9px;
}

.capture-preview img,
.record-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.capture-preview {
  background: #1c2632;
}

.capture-focus {
  position: absolute;
  inset: 16% 10% 14% 18%;
  border: 3px solid #2fd2ff;
  animation: showcase-focus 5s var(--ease-in-out) infinite;
}

.capture-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  padding: 7px 10px;
  border-radius: 5px;
  background: #121b26;
  color: #fff;
  font-size: var(--step-small);
  font-weight: 600;
}

.record-preview {
  align-self: stretch;
  min-height: 160px;
}

.record-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 14, 22, 0.2);
}

.record-status {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 5px;
  background: #121b26;
  color: #fff;
  font-size: var(--step-small);
  font-weight: 600;
}

.record-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e1303e;
  animation: showcase-recording 1.4s ease-in-out infinite;
}

.ocr-preview {
  position: relative;
  display: grid;
  gap: 13px;
  overflow: hidden;
  padding: 22px;
  border-radius: 9px;
  background: #fff;
}

.ocr-preview i {
  display: block;
  height: 8px;
  background: #dfe5ec;
}

.ocr-preview i:nth-child(2) { width: 78%; }
.ocr-preview i:nth-child(3) { width: 91%; }
.ocr-preview i:nth-child(4) { width: 56%; }

.ocr-scan {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 0;
  height: 2px;
  background: var(--accent);
  animation: showcase-scan 3.4s ease-in-out infinite;
}

@keyframes showcase-focus {
  0%, 100% { transform: scale(0.985); opacity: 0.7; }
  45%, 65% { transform: scale(1); opacity: 1; }
}

@keyframes showcase-recording {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

@keyframes showcase-scan {
  0%, 15% { transform: translateY(12px); opacity: 0; }
  30%, 78% { opacity: 1; }
  92%, 100% { transform: translateY(122px); opacity: 0; }
}

.hero-visual {
  position: relative;
  border-radius: 18px;
  background: var(--ink);
  overflow: hidden;
}

.demo-head,
.long-demo-head {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.85rem;
  background: #0b1118;
  color: #dce6f2;
  font-size: var(--step-small);
}

.demo-head button,
.long-demo-head button {
  min-height: 34px;
  padding: 0 0.75rem;
  border: 0;
  border-radius: 7px;
  background: #25303d;
  color: #fff;
  cursor: pointer;
  font-size: var(--step-small);
}

.snap-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #27313c;
}

.demo-desktop {
  position: absolute;
  inset: 0;
}

.demo-rail {
  position: absolute;
  left: 4.5%;
  top: 9%;
  bottom: -4%;
  width: 19%;
  padding: 1.1rem;
  background: #18232e;
  color: #dbe5f1;
  font-size: clamp(0.6rem, 1.2vw, 0.85rem);
}

.demo-rail span,
.demo-rail i {
  display: block;
}

.demo-rail span {
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.demo-rail i {
  height: 1.2rem;
  margin-top: 0.45rem;
  background: #263746;
}

.demo-app-window {
  position: absolute;
  left: 26%;
  top: 8%;
  right: 4%;
  bottom: 8%;
  overflow: hidden;
  background: #f7f9fc;
  color: var(--ink);
}

.demo-app-top {
  height: 36px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: #fff;
  color: #556171;
  font-size: clamp(0.55rem, 1vw, 0.75rem);
}

.demo-app-top span {
  margin-left: auto;
  letter-spacing: 7px;
}

.demo-app-body {
  height: calc(100% - 36px);
  display: grid;
  grid-template-columns: 25% 1fr;
}

.demo-thumbs {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px 12px;
  background: #e9eef4;
}

.demo-thumbs i {
  height: 34px;
  background: #fff;
}

.demo-slide {
  padding: clamp(1rem, 3vw, 2.5rem);
}

.demo-slide h2 {
  font-size: clamp(1rem, 2.2vw, 1.9rem);
  letter-spacing: -0.04em;
}

.demo-slide p {
  margin-top: 0.65rem;
  color: #5b6878;
  font-size: clamp(0.65rem, 1.2vw, 0.95rem);
}

.demo-slide-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 1.2rem;
}

.demo-slide-row span {
  min-height: 30px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: clamp(0.55rem, 1vw, 0.75rem);
}

.snap-frame {
  position: absolute;
  left: 26%;
  top: 8%;
  right: 4%;
  bottom: 8%;
  border: 3px solid #2680ff;
  box-shadow: 0 0 0 999px rgba(3, 8, 14, 0.58); /* taste-skill-ignore shadow: product overlay fragment */
  opacity: 1;
  transform: scale(1);
  transition: opacity 220ms ease, transform 260ms var(--ease-out);
}

.snap-size,
.snap-actions,
.copy-toast {
  position: absolute;
  z-index: 3;
  background: #111923;
  color: #fff;
}

.snap-size {
  left: 26%;
  top: calc(8% - 34px);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: var(--step-small);
}

.snap-actions {
  right: 6%;
  bottom: 10%;
  display: flex;
  gap: 6px;
  padding: 5px;
}

.snap-actions span {
  padding: 8px 12px;
  border-radius: 3px;
  font-size: var(--step-small);
  font-weight: 600;
}

.snap-actions span:first-child {
  background: var(--accent);
}

.snap-pointer {
  position: absolute;
  left: 81%;
  top: 77%;
  z-index: 4;
  width: 18px;
  height: 18px;
  transition: left 650ms var(--ease-out), top 650ms var(--ease-out);
}

.snap-pointer::before,
.snap-pointer::after {
  content: "";
  position: absolute;
  background: #fff;
  box-shadow: 0 0 0 1px #111923; /* taste-skill-ignore shadow: product cursor fragment */
}

.snap-pointer::before {
  left: 8px;
  width: 2px;
  height: 18px;
}

.snap-pointer::after {
  top: 8px;
  width: 18px;
  height: 2px;
}

.copy-toast {
  left: 50%;
  bottom: 10%;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: var(--step-small);
  opacity: 0;
  transform: translate(-50%, 6px);
  transition: opacity 180ms ease, transform 220ms var(--ease-out);
}

.capture-demo[data-stage="hook"] .snap-frame,
.capture-demo[data-stage="hook"] .snap-size,
.capture-demo[data-stage="hook"] .snap-actions,
.capture-demo[data-stage="hook"] .copy-toast {
  opacity: 0;
  transform: scale(0.985);
}

.capture-demo[data-stage="hook"] .snap-pointer {
  left: 85%;
  top: 82%;
}

.capture-demo[data-stage="snap"] .snap-pointer,
.capture-demo[data-stage="copy"] .snap-pointer {
  left: 59%;
  top: 47%;
}

.capture-demo[data-stage="copy"] .copy-toast {
  opacity: 1;
  transform: translate(-50%, 0);
}

.demo-controls {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem 0.85rem 0.9rem;
  background: #0b1118;
}

.demo-steps {
  display: flex;
  gap: 5px;
}

.demo-steps button {
  min-height: 34px;
  padding: 0 0.75rem;
  border: 0;
  border-radius: 6px;
  background: #25303d;
  color: #b9c7d8;
  cursor: pointer;
  font-size: var(--step-small);
}

.demo-steps button[aria-pressed="true"] {
  background: var(--accent);
  color: #fff;
}

.demo-controls p {
  justify-self: end;
  color: #aebccd;
  font-size: var(--step-small);
  text-align: right;
}

.platform-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  padding-block: 1.5rem;
}

.platform-band {
  background: var(--surface);
}

.platform-band span {
  color: var(--muted);
  font-size: var(--step-small);
}

.platform-band strong {
  color: var(--ink);
  font-size: var(--step-body);
}

.platform-band .platform-arrow {
  color: var(--accent);
  font-size: var(--step-lead);
}

.platform-inner > div:last-child {
  text-align: right;
}

.intro-section,
.operation-lab,
.alt-section,
.workflow-section,
.recording-section,
.faq-preview {
  margin-top: var(--section-gap);
  padding-block: 0;
}

.section-copy {
  display: grid;
  grid-template-columns: minmax(180px, 0.65fr) minmax(0, 1.35fr);
  align-items: start;
  gap: clamp(1.5rem, 5vw, 5rem);
  padding-inline: 1rem;
  margin-bottom: clamp(2.8rem, 6vw, 5.5rem);
}

.section-copy h2,
.workflow-heading,
.download-preview h2,
.faq-preview h2,
.page-hero h1,
.content-heading {
  max-width: 11ch;
  font-size: var(--step-head);
  line-height: 1;
  letter-spacing: -0.045em;
}

.section-copy p,
.download-preview > p,
.page-hero p,
.section-lead {
  max-width: 42ch;
  color: var(--ink);
  font-size: var(--step-lead);
  line-height: 1.4;
}

.feature-index {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-index li {
  display: grid;
  grid-template-columns: minmax(180px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: center;
  padding: 1.35rem 1rem;
}

.feature-index li:nth-child(odd) {
  background: var(--surface);
}

.feature-index h3 {
  font-size: var(--step-lead);
  line-height: 1.5;
  letter-spacing: -0.03em;
}

.feature-index p {
  color: var(--ink);
  line-height: 1.55;
}

.operation-lab {
  padding-bottom: var(--section-gap);
}

.operation-head {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
  margin-bottom: 2.5rem;
}

.operation-head h2 {
  max-width: 10ch;
  font-size: var(--step-head);
  line-height: 1;
  letter-spacing: -0.045em;
}

.operation-head > div > p:first-child {
  color: var(--ink);
  font-size: var(--step-lead);
  line-height: 1.42;
}

.operation-head .demo-note {
  margin-top: 1rem;
}

.operation-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.operation-tabs button {
  min-height: 42px;
  padding: 0 1rem;
  border: 0;
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  font-size: var(--step-small);
  font-weight: 600;
  transition: background-color 160ms ease, color 160ms ease, transform 140ms var(--ease-out);
}

.operation-tabs button:hover {
  background: var(--surface-strong);
  color: var(--ink);
}

.operation-tabs button[aria-selected="true"] {
  background: var(--ink);
  color: #fff;
}

.operation-tabs button:active {
  transform: scale(0.97);
}

.operation-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.operation-panel[hidden] {
  display: none;
}

.operation-summary h3 {
  max-width: 12ch;
  font-size: var(--step-lead);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.operation-summary > p:not(.demo-note) {
  margin-top: 1rem;
  color: var(--ink);
}

.operation-facts {
  margin: 1.5rem 0 0;
}

.operation-facts div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  padding: 0.8rem 0;
  background: var(--surface);
  padding-inline: 1rem;
}

.operation-facts div + div {
  margin-top: 4px;
}

.operation-facts dt {
  color: var(--muted);
  font-size: var(--step-small);
}

.operation-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: var(--step-small);
}

.operation-help {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  background: var(--accent-soft);
  color: var(--ink);
  font-size: var(--step-small);
}

.operation-help strong {
  display: block;
  margin-bottom: 0.2rem;
}

.operation-sequence {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.operation-sequence.is-four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.operation-step {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-radius: 0;
  background: transparent;
  transform: translateY(0);
  transition: transform 220ms var(--ease-out), opacity 220ms ease;
}

.operation-step img {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 760;
  border-radius: 6px;
  object-fit: cover;
  background: #27313c;
}

.operation-step figcaption {
  display: grid;
  gap: 0.12rem;
  padding: 0.75rem 0.35rem 0.45rem;
  font-size: var(--step-small);
}

.operation-step figcaption b {
  font-size: 0.9375rem;
}

.operation-step figcaption span {
  color: var(--muted);
}

.operation-step.is-current {
  transform: translateY(-4px);
}

.operation-step.is-current img {
  outline: 3px solid var(--accent);
  outline-offset: 0;
}

.operation-step.is-current figcaption {
  padding-inline: 0.55rem;
  background: var(--accent-soft);
}

.operation-player-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.25rem;
  padding: 0.9rem 1rem;
  background: var(--surface);
}

.operation-player-controls button {
  min-height: 38px;
  padding-inline: 0.9rem;
  border: 0;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  font-size: var(--step-small);
  font-weight: 600;
}

.operation-player-controls button[aria-pressed="true"] {
  background: var(--accent);
}

.operation-player-controls p {
  color: var(--ink);
  font-size: var(--step-small);
  text-align: right;
}

.use-case-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
  margin-top: var(--section-gap);
}

.use-case-heading h2 {
  max-width: 10ch;
  font-size: var(--step-head);
  line-height: 1;
  letter-spacing: -0.045em;
}

.use-case-heading p {
  max-width: 35ch;
  margin-top: 1.2rem;
  color: var(--ink);
  font-size: var(--step-lead);
  line-height: 1.42;
}

.use-case-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem 2.5rem;
}

.use-case-list p {
  display: grid;
  gap: 0.25rem;
  color: var(--muted);
}

.use-case-list strong {
  color: var(--ink);
  font-size: var(--step-body);
}

.experience-section {
  margin-top: var(--section-gap);
}

.experience-head {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
  margin-bottom: 2.5rem;
}

.experience-head h2 {
  max-width: 10ch;
  font-size: var(--step-head);
  line-height: 1;
  letter-spacing: -0.045em;
}

.experience-head p {
  max-width: 48ch;
  color: var(--ink);
  font-size: var(--step-lead);
  line-height: 1.42;
}

.experience-groups {
  display: grid;
  gap: 2.5rem;
}

.experience-group {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding-block: 2rem;
}

.experience-group:nth-child(even) {
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  background: var(--surface);
}

.experience-group:nth-child(even) figure {
  order: 2;
}

.experience-group figure {
  padding-inline: 1rem;
}

.experience-group figure:not(.experience-keys) img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.experience-group > div {
  padding: 1rem 2rem 1rem 0;
}

.experience-group:nth-child(even) > div {
  padding: 1rem 0 1rem 2rem;
}

.experience-group h3 {
  font-size: var(--step-lead);
  line-height: 1.2;
}

.experience-group p {
  display: grid;
  grid-template-columns: 7.2rem 1fr;
  gap: 1rem;
  margin-top: 1rem;
  color: var(--ink);
  font-size: var(--step-body);
}

.experience-group p strong {
  align-self: start;
  width: max-content;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 0.875rem;
  line-height: 1.25;
}

.experience-group p span {
  color: var(--ink);
}

.experience-group p .feedback-tag {
  grid-column: 2;
  justify-self: start;
  color: var(--muted);
  font-size: 0.75rem;
  font-style: normal;
  line-height: 1.2;
}

.experience-keys {
  display: grid;
  place-items: center;
}

.experience-keys .key-sequence {
  width: min(100%, 360px);
  min-height: 210px;
}

.experience-keys kbd {
  min-width: 62px;
  padding: 0.85rem 1rem;
  background: #fff;
  color: var(--ink);
  font-size: 1.15rem;
}

.experience-keys i {
  color: #c5d1df;
  font-style: normal;
}

.guide-index > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.guide-index a {
  padding: 0.7rem 0.9rem;
  background: var(--surface);
  color: var(--ink);
  font-size: var(--step-small);
}

.guide-index a:hover {
  background: var(--surface-strong);
}

.tutorial-context {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
  padding: 1.2rem;
  background: var(--surface);
}

.tutorial-context p {
  color: var(--ink);
  font-size: var(--step-small);
}

.tutorial-context strong {
  display: block;
  margin-bottom: 0.25rem;
}

.tutorial-sequence {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}

.tutorial-sequence.is-four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tutorial-sequence figure {
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.tutorial-sequence img {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 760;
  border-radius: 6px;
  object-fit: cover;
  background: #27313c;
}

.tutorial-sequence figcaption {
  display: grid;
  gap: 0.15rem;
  padding: 0.7rem 0.35rem 0.35rem;
  font-size: var(--step-small);
}

.tutorial-sequence figcaption span {
  color: var(--muted);
}

.shortcut-workflow {
  display: grid;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 1rem;
  background: var(--surface);
}

.shortcut-workflow > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  background: transparent;
}

.shortcut-workflow > div > span:first-child {
  font-weight: 600;
}

.shortcut-workflow .key-sequence {
  min-height: auto;
  padding: 0.45rem;
  background: #202936;
}

.shortcut-workflow .key-sequence kbd {
  min-width: 42px;
  padding: 0.45rem 0.65rem;
}

.shortcut-workflow .key-sequence i {
  color: #c5d1df;
  font-style: normal;
}

.shortcut-card {
  display: grid;
  grid-template-rows: 240px auto;
  align-content: start;
}

.shortcut-visual {
  display: flex;
  min-width: 0;
  height: 240px;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  gap: 0.65rem;
}

.shortcut-visual .key-sequence {
  width: 100%;
  min-height: 0;
  height: 150px;
}

.image-shortcut-card .shortcut-visual img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  background: #27313c;
}

.shortcut-visual .clipboard-result {
  margin: 0;
}

.key-sequence {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 150px;
  background: #202936;
  border-radius: 6px;
}

.key-sequence kbd {
  min-width: 58px;
  padding: 0.8rem 1rem;
  background: #fff;
  color: var(--ink);
  text-align: center;
  font-size: 1.15rem;
}

.key-sequence kbd.is-pressed {
  background: var(--accent);
  color: #fff;
}

.key-sequence span {
  color: #c5d1df;
}

.clipboard-result {
  display: grid;
  gap: 0.2rem;
  margin: 0.75rem 0.35rem 0;
  padding: 0.9rem 1rem;
  background: #fff;
  color: var(--ink);
  font-size: var(--step-small);
}

.clipboard-result span {
  color: var(--muted);
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}

.split-feature.reverse {
  grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1.12fr);
}

.split-feature + .split-feature {
  margin-top: clamp(4rem, 7vw, 6.5rem);
}

.split-feature.reverse .feature-image {
  order: 2;
}

.feature-image {
  padding: 14px;
  border-radius: var(--radius);
  background: var(--surface);
}

.feature-image img {
  width: 100%;
  height: auto;
  border-radius: 9px;
}

.feature-copy h2 {
  max-width: 10ch;
  font-size: var(--step-head);
  line-height: 1;
  letter-spacing: -0.045em;
}

.feature-copy > p {
  max-width: 39ch;
  margin-top: 1.3rem;
  color: var(--ink);
  font-size: var(--step-lead);
  line-height: 1.42;
}

.feature-points {
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-points li {
  padding: 0.9rem 0;
  color: var(--ink);
}

.feature-points strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--ink);
  font-size: var(--step-body);
}

.copy-section {
  margin-top: var(--section-gap);
  padding-block: calc(var(--section-gap) * 0.72);
  background: var(--surface);
}

.long-demo {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
}

.long-stage {
  position: relative;
  height: 540px;
  overflow: hidden;
  background: #e8edf3;
}

.long-stream {
  width: calc(100% - 76px);
  height: max-content;
  margin: 28px 38px;
  padding: 28px;
  background: #fff;
  animation: long-scroll 7s var(--ease-in-out) infinite;
}

.long-stream article {
  margin-bottom: 12px;
  padding: 22px;
  background: #f1f4f7;
}

.long-stream b {
  font-size: 1rem;
}

.long-stream p {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: var(--step-small);
}

.long-poster {
  position: absolute;
  inset: 20px 35px;
  width: calc(100% - 70px);
  height: calc(100% - 40px);
  object-fit: cover;
  object-position: top;
  opacity: 0;
  animation: long-result 7s ease infinite;
}

.long-progress {
  position: absolute;
  right: 28px;
  bottom: 24px;
  padding: 7px 10px;
  border-radius: 4px;
  background: #111923;
  color: #fff;
  font-size: var(--step-small);
}

@keyframes long-scroll {
  0%, 8% {
    transform: translateY(0);
  }
  72%, 100% {
    transform: translateY(calc(-100% + 460px));
  }
}

@keyframes long-result {
  0%, 76% {
    opacity: 0;
  }
  84%, 96% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.long-demo.is-paused .long-stream,
.long-demo.is-paused .long-poster,
.long-demo.is-offscreen .long-stream,
.long-demo.is-offscreen .long-poster {
  animation-play-state: paused;
}

.long-stop-demo {
  overflow: hidden;
  border-radius: var(--radius);
  background: #0b111b;
  color: #f8fafc;
}

.long-stop-demo-head {
  min-height: 58px;
  padding: 0.95rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #111a27;
  color: #f8fafc;
  font-size: 0.875rem;
  font-weight: 600;
}

.long-stop-demo-head span:last-child {
  color: #a9b8ca;
  font-weight: 500;
  text-align: right;
}

.long-stop-stage {
  position: relative;
  height: 430px;
  overflow: hidden;
  background: #0b111b;
  padding: 38px 42px;
}

.long-stop-document {
  height: max-content;
  padding: 1.35rem;
  background: #fff;
  color: var(--ink);
  animation: long-stop-scroll 9s linear infinite;
}

.long-stop-document article {
  margin-bottom: 0.75rem;
  padding: 1rem 1.1rem;
  background: #eef4fb;
}

.long-stop-document b {
  display: block;
  font-size: 1rem;
}

.long-stop-document p {
  margin-top: 0.28rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.long-stop-selection {
  position: absolute;
  inset: 105px 72px 48px 72px;
  border: 3px solid #2188ff;
  pointer-events: none;
}

.long-stop-selection span {
  position: absolute;
  left: -3px;
  top: -30px;
  padding: 4px 8px;
  background: #111927;
  color: #fff;
  font-size: 0.75rem;
}

.long-stop-toolbar {
  position: absolute;
  right: 82px;
  bottom: 58px;
  width: min(476px, calc(100% - 36px));
  min-height: 48px;
  padding: 0.45rem 0.55rem 0.45rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: #111927;
  color: #fff;
  box-shadow: 0 12px 30px rgb(15 23 42 / 24%); /* taste-skill-ignore shadow: product control overlay */
}

.long-stop-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3fd68c;
  box-shadow: 0 0 0 5px rgb(63 214 140 / 14%); /* taste-skill-ignore shadow: live recording indicator */
  flex: none;
}

.long-stop-meta {
  min-width: 0;
  flex: 1;
}

.long-stop-meta strong,
.long-stop-meta span {
  display: block;
}

.long-stop-meta strong {
  font-size: 0.82rem;
}

.long-stop-meta span {
  margin-top: 0.1rem;
  overflow: hidden;
  color: #a9b8ca;
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.long-stop-toolbar button,
.long-stop-controls button {
  min-height: 32px;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgb(255 255 255 / 24%); /* taste-skill-ignore outlined-box: product control */
  border-radius: 5px;
  background: #303b4b;
  color: #fff;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
}

.long-stop-toolbar button[data-long-stop-finish] {
  border-color: #159a63;
  background: #0f7f50;
}

.long-stop-toolbar button:hover,
.long-stop-toolbar button:focus-visible,
.long-stop-controls button:hover,
.long-stop-controls button:focus-visible {
  filter: brightness(1.12);
}

.long-stop-toast {
  position: absolute;
  right: 20px;
  bottom: 84px;
  min-width: 225px;
  padding: 0.8rem 0.95rem;
  display: none;
  background: #111927;
  color: #fff;
  box-shadow: 0 12px 30px rgb(15 23 42 / 28%); /* taste-skill-ignore shadow: product notification */
}

.long-stop-toast b,
.long-stop-toast span {
  display: block;
}

.long-stop-toast b {
  margin-bottom: 0.15rem;
  font-size: 0.85rem;
}

.long-stop-toast span {
  color: #a9b8ca;
  font-size: 0.76rem;
}

.long-stop-controls {
  min-height: 64px;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #111a27;
}

.long-stop-controls button {
  background: #243448;
}

.long-stop-controls p {
  margin-left: auto;
  color: #a9b8ca;
  font-size: 0.78rem;
  text-align: right;
}

.long-stop-demo.is-paused .long-stop-document {
  animation-play-state: paused;
}

.long-stop-demo.is-stopped .long-stop-document {
  animation-play-state: paused;
  transform: translateY(-42%);
}

.long-stop-demo.is-stopped .long-stop-toolbar button[data-long-stop-finish] {
  border-color: #e3b341;
  background: #e3b341;
  color: #172033;
}

.long-stop-demo.is-stopped .long-stop-dot {
  background: #e3b341;
  box-shadow: 0 0 0 5px rgb(227 179 65 / 14%); /* taste-skill-ignore shadow: stopped-state indicator */
}

.long-stop-demo.is-stopped .long-stop-toast {
  display: block;
}

@keyframes long-stop-scroll {
  from { transform: translateY(0); }
  to { transform: translateY(-42%); }
}

.live-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border-radius: 10px;
  background: var(--surface);
}

.live-switch > span {
  display: grid;
  gap: 0.08rem;
}

.live-switch strong {
  font-weight: 600;
}

.live-switch small {
  color: var(--muted);
  font-size: var(--step-small);
}

.live-switch button {
  position: relative;
  width: 48px;
  height: 28px;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #a7b0bc;
  cursor: pointer;
  transition: background-color 160ms ease;
}

.live-switch button i {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 160ms var(--ease-out);
}

.live-switch button[aria-checked="true"] {
  background: var(--accent);
}

.live-switch button[aria-checked="true"] i {
  transform: translateX(20px);
}

.demo-note {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: var(--step-small);
}

.tray-section {
  margin-top: var(--section-gap);
  padding-block: calc(var(--section-gap) * 0.72);
  background: var(--surface);
}

.tray-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}

.tray-copy h2 {
  max-width: 9ch;
  font-size: var(--step-head);
  line-height: 1;
  letter-spacing: -0.045em;
}

.tray-copy > p {
  max-width: 38ch;
  margin-top: 1.3rem;
  color: var(--ink);
  font-size: var(--step-lead);
}

.shortcut-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.9rem 0;
  font-size: var(--step-body);
}

.shortcut-row strong {
  font-weight: 600;
}

.shortcut-row kbd {
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  background: #fff;
  color: var(--accent-strong);
  font-family: var(--font-text);
  font-size: var(--step-small);
  font-weight: 600;
}

.download-preview {
  margin-top: var(--section-gap);
  padding-block: calc(var(--section-gap) * 0.8);
  background: var(--ink);
  color: #fff;
}

.final-cta {
  margin-top: var(--section-gap);
  padding-block: clamp(4.5rem, 8vw, 7rem);
  background: var(--ink);
  color: #fff;
}

.final-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) auto;
  gap: 3rem;
  align-items: end;
}

.final-cta h2 {
  max-width: 12ch;
  font-size: var(--step-head);
  line-height: 1;
  letter-spacing: -0.045em;
}

.final-cta p {
  max-width: 52ch;
  margin-top: 1.2rem;
  color: #d4d9e1;
  font-size: var(--step-body);
}

.final-cta kbd {
  background: #323843;
  color: #fff;
}

.final-cta-actions {
  display: grid;
  justify-items: end;
  gap: 0.9rem;
}

.final-cta-link {
  color: #d4d9e1;
  font-size: var(--step-small);
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.download-preview .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}

.download-preview h2 {
  max-width: 9ch;
}

.download-preview > .wrap > div > p {
  max-width: 38ch;
  margin-top: 1.4rem;
  color: #b7c0cc;
  font-size: var(--step-lead);
}

.download-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.download-card {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: clamp(1.3rem, 2.4vw, 2rem);
  border-radius: var(--radius);
  background: #242831;
}

.download-card.recommended {
  background: var(--accent);
}

.download-card.recommended .size,
.download-card.recommended p {
  color: #f4f8ff;
}

.download-card h3 {
  font-size: var(--step-lead);
}

.download-card .size {
  margin-top: 0.5rem;
  color: #c5ced9;
  font-size: var(--step-small);
}

.download-card p {
  margin-top: 1rem;
  color: #cbd3dd;
  font-size: var(--step-body);
}

.download-card a,
.download-card button {
  min-height: 44px;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: var(--step-small);
  font-weight: 600;
}

.faq-preview {
  padding-bottom: calc(var(--section-space) + 2rem);
}

.faq-preview .wrap {
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}

.faq-preview h2 {
  max-width: 7ch;
}

.faq-preview .text-link {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--accent-strong);
}

.faq-list {
  display: grid;
  gap: 0.5rem;
}

.faq-list details {
  border-radius: 10px;
  background: var(--surface);
}

.faq-list summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  cursor: pointer;
  list-style: none;
  font-weight: 500;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--accent-strong);
  font-size: var(--step-lead);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  padding: 0 1.2rem 1.25rem;
  color: var(--ink);
}

.site-footer {
  padding: 1.5rem var(--margin) 2rem;
  color: var(--muted);
  font-size: var(--step-small);
}

.footer-meta {
  width: min(100%, 1250px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.footer-meta > :last-child {
  justify-self: end;
}

.footer-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem 1rem;
}

.footer-meta nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.3rem;
}

.site-counter {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 28px;
  padding: 0.18rem 0.6rem;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  white-space: nowrap;
}

.site-counter[hidden] {
  display: none;
}

.site-counter i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #198754;
}

.site-counter b {
  color: var(--ink);
  font-weight: 650;
}

.page-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 2rem;
  padding-block: clamp(4.5rem, 9vw, 8rem) clamp(3rem, 6vw, 5rem);
}

.page-hero h1 {
  max-width: 10ch;
  font-size: var(--step-display);
}

.page-hero p {
  max-width: 38ch;
}

.content-page {
  padding-bottom: var(--section-space);
}

.content-section {
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.content-section:nth-child(even) {
  padding-inline: var(--margin);
  background: var(--surface);
}

.content-heading {
  max-width: 12ch;
  font-size: var(--step-head);
}

.content-lead {
  max-width: 58ch;
  margin-top: 1.2rem;
  color: var(--ink);
  font-size: var(--step-lead);
}

.numbered-steps {
  display: grid;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.numbered-steps li {
  display: grid;
  grid-template-columns: minmax(140px, 0.32fr) minmax(0, 0.68fr);
  gap: 2rem;
  padding: 1.5rem 0;
}

.numbered-steps li:nth-child(even) {
  background: var(--surface);
}

.numbered-steps h3 {
  font-size: var(--step-lead);
}

.numbered-steps p {
  color: var(--ink);
}

.info-table {
  width: 100%;
  margin-top: 2rem;
  border-collapse: collapse;
  font-size: var(--step-body);
}

.info-table code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.info-table th,
.info-table td {
  padding: 1rem;
  text-align: left;
  vertical-align: top;
}

.info-table th {
  color: var(--muted);
  font-weight: 500;
}

.info-table tr:nth-child(odd) {
  background: var(--surface);
}

.notice {
  max-width: 60ch;
  margin-top: 2rem;
  padding: 1.2rem;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--ink);
}

.download-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.download-page-card {
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--radius);
  background: var(--surface);
}

.download-page-card.recommended {
  background: var(--accent-soft);
}

.download-page-card h2 {
  font-size: var(--step-head);
}

.download-page-card .size {
  margin-top: 0.4rem;
  color: var(--ink);
}

.download-page-card ul {
  margin: 1.2rem 0;
  padding-left: 1.2rem;
  color: var(--ink);
}

.download-page-card .download-button {
  margin-top: auto;
}

.privacy-status {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.evidence-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: var(--gutter);
  margin-top: 2rem;
}

.evidence-strip figure {
  margin: 0;
  padding: 8px;
  border-radius: var(--radius);
  background: var(--surface);
}

.evidence-strip figure:first-child {
  grid-row: span 2;
}

.evidence-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.evidence-strip figcaption {
  padding: 0.65rem 0.35rem 0.15rem;
  color: var(--muted);
  font-size: var(--step-small);
}

.privacy-status p {
  max-width: 70ch;
}

.about-note {
  max-width: 58ch;
  margin-top: 2rem;
  padding: 1.4rem;
  background: var(--surface);
  color: var(--muted);
}

/* Modern Productivity palette: stable blue, cyan state language, amber warnings. */
.hero {
  border-radius: 24px;
  background: #f1f7ff;
}

.hero .headline-line:nth-child(2) span {
  color: var(--accent);
}

.nav-links a[aria-current="page"] {
  color: var(--ink);
  text-decoration-color: var(--accent);
}

.capture-panel {
  background: var(--accent-soft);
}

.record-panel {
  background: var(--deep);
}

.record-panel h3,
.download-preview h2,
.download-card h3,
.final-cta h2 {
  color: #fff;
}

.record-panel .panel-copy p {
  color: var(--on-deep-muted);
}

.ocr-panel {
  background: var(--cyan-soft);
}

.capture-focus {
  border-color: var(--cyan);
}

.ocr-scan {
  background: var(--cyan);
}

.operation-lab {
  padding: clamp(2rem, 4vw, 3.75rem);
  border-radius: 24px;
  background: var(--deep);
  color: var(--on-deep);
}

.operation-head h2,
.operation-summary h3,
.operation-head > div > p:first-child,
.operation-summary > p:not(.demo-note),
.operation-facts dd,
.operation-step figcaption b,
.operation-player-controls p {
  color: var(--on-deep);
}

.operation-head .demo-note,
.operation-facts dt,
.operation-step figcaption span {
  color: var(--on-deep-muted);
}

.operation-tabs button {
  background: var(--deep-raised);
  color: var(--on-deep-muted);
}

.operation-tabs button:hover {
  background: #26364c;
  color: var(--on-deep);
}

.operation-tabs button[aria-selected="true"] {
  background: var(--accent);
  color: #fff;
}

.operation-facts div,
.operation-player-controls {
  background: var(--deep-raised);
}

.operation-step.is-current img {
  outline-color: var(--cyan);
}

.operation-step.is-current figcaption {
  background: var(--cyan-soft);
}

.operation-step.is-current figcaption b {
  color: var(--ink);
}

.operation-step.is-current figcaption span {
  color: var(--text);
}

.shortcut-visual .key-sequence {
  background: var(--deep-raised);
}

.operation-player-controls button {
  background: var(--cyan);
  color: var(--deep);
}

.operation-player-controls button[aria-pressed="true"] {
  background: var(--amber);
  color: var(--deep);
}

.copy-section,
.tray-section {
  background: var(--surface);
}

.recording-section {
  padding-block: calc(var(--section-gap) * 0.72);
  background: var(--cyan-soft);
}

.notice,
.operation-help {
  background: var(--amber-soft);
  color: var(--ink);
}

.operation-summary > p.operation-help {
  color: var(--ink);
}

.notice strong,
.operation-help strong {
  color: var(--amber-strong);
}

.long-progress {
  background: var(--cyan-strong);
}

.download-preview,
.final-cta {
  background: var(--deep);
}

.download-card {
  background: var(--deep-raised);
}

.download-card.recommended {
  background: var(--accent);
}

.download-preview > .wrap > div > p,
.final-cta p,
.download-card p,
.download-card .size,
.final-cta-link {
  color: var(--on-deep-muted);
}

.reveal-item {
  opacity: 1;
  transform: none;
}

html.js .reveal-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms var(--ease-out), transform 800ms var(--ease-out);
}

html.js .reveal-item.is-in {
  opacity: 1;
  transform: none;
}

html.js .operation-step.reveal-item {
  transition:
    opacity 650ms var(--ease-out),
    transform 800ms var(--ease-out);
}

html.js .operation-step.reveal-item.is-in.is-current {
  transform: translateY(-4px);
}

.operation-step.is-current .key-sequence kbd:last-child {
  animation: key-press 900ms var(--ease-out);
}

.operation-step.is-current .clipboard-result {
  animation: clipboard-pop 700ms var(--ease-out);
}

@keyframes key-press {
  0%, 100% {
    transform: translateY(0);
  }
  35% {
    transform: translateY(3px) scale(0.97);
  }
}

@keyframes clipboard-pop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-copy {
    max-width: 630px;
  }

  .hero-visual {
    order: 2;
  }

  .split-feature,
  .split-feature.reverse,
  .operation-head,
  .operation-panel,
  .use-case-section,
  .experience-head,
  .experience-group,
  .experience-group:nth-child(even),
  .final-cta-inner,
  .tray-layout,
  .download-preview .wrap,
  .faq-preview .wrap,
  .page-hero,
  .showcase-heading,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .split-feature.reverse .feature-image {
    order: 0;
  }

  .capture-panel {
    grid-row: auto;
    min-height: 500px;
  }

  .demo-controls > p {
    display: none;
  }

  .record-panel,
  .ocr-panel {
    grid-template-columns: minmax(0, 1fr) minmax(230px, 0.8fr);
  }

  .operation-summary {
    max-width: 680px;
  }

  .final-cta-actions {
    justify-items: start;
  }

  .experience-group figure,
  .experience-group:nth-child(even) figure {
    order: 0;
  }

  .experience-group > div,
  .experience-group:nth-child(even) > div {
    padding: 1rem 1.5rem;
  }

  .operation-tabs {
    flex-wrap: wrap;
    overflow: visible;
    padding-bottom: 0;
  }

  .operation-tabs button {
    flex: 1 1 calc(33.333% - 0.5rem);
  }
}

@media (max-width: 820px) {
  .site-nav {
    min-height: 64px;
    grid-template-columns: 1fr auto auto;
    gap: 0.6rem;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-action {
    min-width: 58px;
    padding-inline: 0.65rem;
    white-space: nowrap;
  }

  .nav-action-long {
    display: none;
  }

  .nav-action-short {
    display: inline;
  }

  html.js .mobile-menu {
    position: fixed;
    inset: 64px 0 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem var(--margin) 2rem;
    background: var(--ink);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 220ms ease, transform 220ms var(--ease-out), visibility 220ms;
  }

  html.js .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .mobile-menu-links {
    display: grid;
    gap: 1rem;
    font-size: var(--step-head);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.045em;
  }

  .mobile-menu p {
    max-width: 32ch;
    color: #c3ceda;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 12vw, 3.75rem);
  }

  .hero-visual {
    margin-inline: calc(var(--margin) * -1);
    border-radius: 0;
    padding: 0;
  }

  .snap-stage {
    aspect-ratio: 4 / 3;
  }

  .demo-controls {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .demo-controls p {
    justify-self: start;
    text-align: left;
  }

  .demo-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .long-stage {
    height: 460px;
  }

  .long-stream {
    width: calc(100% - 36px);
    margin: 18px;
    padding: 18px;
  }

  .platform-inner {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .platform-inner .platform-arrow {
    transform: rotate(90deg);
    justify-self: start;
  }

  .platform-inner > div:last-child {
    text-align: left;
  }

  .section-copy {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .operation-sequence,
  .operation-sequence.is-four,
  .tutorial-sequence,
  .tutorial-sequence.is-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tutorial-context {
    grid-template-columns: 1fr;
  }

  .operation-player-controls {
    align-items: flex-start;
    flex-direction: column;
  }

  .operation-player-controls p {
    text-align: left;
  }

  .feature-index li,
  .numbered-steps li {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .feature-copy > p {
    font-size: var(--step-body);
  }

  .feature-index li:nth-child(odd),
  .numbered-steps li:nth-child(even) {
    padding-inline: 1rem;
  }

  .download-options,
  .download-page-grid,
  .evidence-strip {
    grid-template-columns: 1fr;
  }

  .evidence-strip figure {
    padding: 0;
    border-radius: 0;
    background: transparent;
  }

  .evidence-strip figure:first-child {
    grid-row: auto;
  }

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

  .footer-meta > :last-child {
    justify-self: start;
  }

  .footer-end {
    justify-content: flex-start;
  }

  .footer-meta nav {
    justify-content: flex-start;
  }

  .capability-showcase {
    padding-top: 0;
  }

  .showcase-grid {
    gap: 2rem;
  }

  .showcase-panel {
    border-radius: 0;
  }

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

  .capture-panel {
    min-height: 410px;
    padding-inline: 0;
    background: transparent;
  }

  .ocr-panel {
    padding-inline: 0;
    background: transparent;
  }

  .capture-preview {
    min-height: 250px;
  }

  .download-preview,
  .tray-section,
  .capability-showcase,
  .intro-section,
  .operation-lab,
  .alt-section,
  .copy-section,
  .workflow-section,
  .recording-section,
  .faq-preview {
    margin-top: clamp(4.75rem, 10vw, 5.5rem);
  }

  .tray-section,
  .copy-section,
  .download-preview {
    padding-block: clamp(3.25rem, 10vw, 4.5rem);
  }
}

@media (max-width: 520px) {
  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .download-card {
    min-height: 250px;
  }

  .page-hero {
    padding-top: 3.5rem;
  }

  .page-hero h1 {
    font-size: clamp(2.8rem, 12vw, 3.5rem);
  }

  .content-page {
    padding-bottom: 4rem;
  }

  .operation-facts div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .operation-sequence,
  .operation-sequence.is-four,
  .tutorial-sequence,
  .tutorial-sequence.is-four {
    grid-template-columns: 1fr;
  }

  .shortcut-card {
    grid-template-rows: 220px auto;
  }

  .shortcut-visual,
  .image-shortcut-card .shortcut-visual img {
    height: 220px;
  }

  .shortcut-visual .key-sequence {
    height: 138px;
  }

  .use-case-list {
    grid-template-columns: 1fr;
  }

  .experience-group p {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .experience-group p .feedback-tag {
    grid-column: 1;
  }

  .operation-tabs button {
    flex-basis: calc(50% - 0.25rem);
  }

  .shortcut-workflow > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .info-table,
  .info-table tbody,
  .info-table tr,
  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }

  .info-table tr {
    padding-block: 0.9rem;
  }

  .info-table th {
    padding: 0 0 0.25rem;
    text-align: left;
  }

  .info-table td {
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html.js .reveal-item {
    opacity: 1;
    transform: none;
  }

  .operation-step,
  .operation-step.is-current {
    transform: none;
    transition: none;
  }

  .operation-step.is-current .key-sequence kbd:last-child,
  .operation-step.is-current .clipboard-result {
    animation: none;
  }

  .snap-pointer {
    transition: none !important;
  }

  .long-stream {
    animation: none !important;
    transform: translateY(-34%);
  }

  .long-poster {
    animation: none !important;
    opacity: 1;
  }

  .long-stop-document {
    animation: none !important;
    transform: translateY(-18%);
  }
}

@media (max-width: 720px) {
  .long-stop-demo-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .long-stop-demo-head span:last-child {
    text-align: left;
  }

  .long-stop-stage {
    height: 390px;
    padding: 28px 18px;
  }

  .long-stop-selection {
    inset: 118px 28px 30px;
  }

  .long-stop-toolbar {
    left: 38px;
    right: 38px;
    top: auto;
    bottom: 40px;
    width: auto;
    padding: 0.55rem 0.65rem;
    flex-wrap: wrap;
  }

  .long-stop-meta {
    flex-basis: calc(100% - 28px);
  }

  .long-stop-toolbar button {
    flex: 1;
  }

  .long-stop-controls {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .long-stop-controls p {
    width: 100%;
    margin-left: 0;
    text-align: left;
  }
}
