:root {
  color-scheme: light;
  --page: #f5f5f7;
  --surface: #ffffff;
  --ink: #111216;
  --ink-soft: rgba(17, 18, 22, 0.68);
  --ink-faint: rgba(17, 18, 22, 0.44);
  --line: rgba(17, 18, 22, 0.12);
  --line-strong: rgba(17, 18, 22, 0.22);
  --night: #0f1115;
  --night-2: #17191f;
  --night-3: #20232b;
  --night-ink: #f5f5f0;
  --night-muted: #a8adb8;
  --night-faint: #747a87;
  --night-line: rgba(255, 255, 255, 0.09);
  --accent: oklch(0.88 0.18 130);
  --accent-ink: #0f1115;
  --ink-hover: #2a2c32;
  --surface-soft: #fafafa;
  --media-shell: #dcdde1;
  --media-background: #1b1e25;
  --media-gradient-start: #252934;
  --media-gradient-end: #101216;
  --media-muted: #777d89;
  --window-dot: #626771;
  --timeline-muted: #656a75;
  --system-accent: #0a84ff;
  --font-ui:
    -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue',
    'Segoe UI', system-ui, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, monospace;
  --body-size: 14px;
  --label-size: 11px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-stage: 16px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 18px;
  --space-xl: 24px;
  --space-2xl: 36px;
  --section-space: clamp(104px, 12vw, 180px);
  --content-width: 1280px;
  --header-height: 58px;
  --demo-duration: 9s;
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--body-size);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

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

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

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

kbd {
  padding: 0.1em 0.42em;
  border: 1px solid currentColor;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 0.84em;
  font-weight: 600;
  white-space: nowrap;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: var(--space-xs);
}

.shell {
  width: min(calc(100% - 56px), var(--content-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 245, 247, 0.86);
  backdrop-filter: blur(18px);
}

.site-nav {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.brand,
.nav-links,
.nav-download,
.hero-actions,
.footer-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 9px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 30px;
  height: 30px;
  display: block;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.nav-links {
  gap: 28px;
}

.nav-links > a:not(.nav-download) {
  color: var(--ink-soft);
  transition: color 180ms var(--ease-out-quart);
}

.nav-links > a:not(.nav-download):hover {
  color: var(--ink);
}

.language-switch {
  font-weight: 600;
}

.nav-download {
  min-height: 34px;
  justify-content: center;
  padding-inline: 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--surface);
  font-weight: 600;
  transition:
    transform 140ms var(--ease-out-quart),
    background-color 180ms var(--ease-out-quart);
}

.nav-download:hover {
  transform: translateY(-1px);
  background: var(--ink-hover);
}

.home-page {
  background: var(--page);
}

.hero {
  overflow: hidden;
  padding: clamp(92px, 10vw, 148px) 0 0;
}

.hero-copy {
  text-align: center;
}

.product-label,
.section-label,
.release-note,
.feature-number,
.demo-title {
  font-size: var(--label-size);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-label {
  margin-bottom: var(--space-xl);
  color: var(--ink-soft);
  animation: hero-enter 620ms var(--ease-out-expo) both;
}

.hero h1 {
  max-width: 1000px;
  margin: 0 auto var(--space-xl);
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
  animation: hero-enter 720ms 60ms var(--ease-out-expo) both;
}

html[lang='en'] .hero h1 {
  max-width: 1120px;
  font-size: clamp(52px, 7vw, 96px);
}

.hero-lead {
  max-width: 720px;
  margin: 0 auto var(--space-2xl);
  color: var(--ink-soft);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.7;
  animation: hero-enter 720ms 110ms var(--ease-out-expo) both;
}

.hero-actions {
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
  animation: hero-enter 720ms 160ms var(--ease-out-expo) both;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  padding-inline: 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  line-height: 1;
  transition:
    transform 140ms var(--ease-out-quart),
    background-color 180ms var(--ease-out-quart);
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.button-primary {
  background: var(--ink);
  color: var(--surface);
}

.button-primary:hover {
  background: var(--ink-hover);
}

.button.is-disabled {
  cursor: not-allowed;
  opacity: 0.52;
  transform: none;
}

.release-note {
  color: var(--ink-faint);
  letter-spacing: 0.06em;
}

.demo-wrap {
  margin-top: clamp(70px, 8vw, 112px);
}

.system-demo {
  overflow: hidden;
  border-radius: var(--radius-stage) var(--radius-stage) 0 0;
  background: var(--night);
  color: var(--night-ink);
  box-shadow: 0 28px 80px rgba(15, 17, 21, 0.16);
  animation: demo-enter 900ms 180ms var(--ease-out-expo) both;
}

.demo-bar {
  height: 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-inline: 16px;
  border-bottom: 1px solid var(--night-line);
  background: var(--night-2);
}

.window-controls {
  display: flex;
  gap: 7px;
}

.window-controls span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--window-dot);
}

.window-controls span:first-child {
  background: var(--accent);
}

.demo-title {
  color: var(--night-faint);
  font-family: var(--font-mono);
  font-size: 9px;
}

.motion-toggle {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 5px 8px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--night-muted);
  cursor: pointer;
  font-size: 11px;
  transition:
    background-color 160ms var(--ease-out-quart),
    color 160ms var(--ease-out-quart);
}

.motion-toggle:hover {
  background: var(--night-line);
  color: var(--night-ink);
}

.motion-toggle-icon {
  min-width: 12px;
  color: var(--accent);
  font-family: var(--font-mono);
}

.demo-stage {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 52% 6%,
      rgba(255, 255, 255, 0.05),
      transparent 32%
    ),
    var(--night);
}

.selection-scene,
.ocr-scene {
  position: absolute;
  inset: 0;
}

.selection-scene {
  animation: selection-scene-cycle var(--demo-duration) linear infinite;
}

.ocr-scene {
  opacity: 0;
  animation: ocr-scene-cycle var(--demo-duration) var(--ease-out-expo) infinite;
}

.context-window {
  position: absolute;
  overflow: hidden;
  border: 1px solid var(--night-line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--ink);
}

.context-toolbar {
  height: 42px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-md);
  padding-inline: 15px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--ink-faint);
  font-size: 10px;
}

.context-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.article-window {
  top: 58px;
  right: 8%;
  bottom: 56px;
  left: 8%;
}

.article-content {
  max-width: 800px;
  margin-inline: auto;
  padding: clamp(60px, 7vw, 94px) 56px;
}

.article-category {
  margin-bottom: 22px;
  color: var(--ink-faint);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.11em;
}

.article-content h2 {
  max-width: 690px;
  margin-bottom: 28px;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.article-content > p:not(.article-category) {
  max-width: 690px;
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.72;
}

mark {
  position: relative;
  z-index: 0;
  background: transparent;
  color: inherit;
}

.article-content mark::before,
.select-visual mark::before {
  position: absolute;
  z-index: -1;
  inset: -2px -3px;
  border-radius: 2px;
  background: rgba(181, 255, 77, 0.58);
  content: '';
  transform: scaleX(0);
  transform-origin: left;
  animation: text-selection var(--demo-duration) var(--ease-out-quart) infinite;
}

.real-popup {
  position: absolute;
  z-index: 5;
  height: auto;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.34));
}

.real-toolbar {
  top: 55%;
  left: 52%;
  width: 264px;
  opacity: 0;
  transform: translate(-50%, 14px);
  animation: toolbar-cycle var(--demo-duration) var(--ease-out-quint) infinite;
}

.real-translation {
  right: 11%;
  bottom: 72px;
  width: 300px;
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transform-origin: bottom right;
  animation: translation-cycle var(--demo-duration) var(--ease-out-expo)
    infinite;
}

.media-window {
  top: 54px;
  right: 7%;
  bottom: 58px;
  left: 7%;
  background: var(--media-shell);
}

.video-frame {
  position: absolute;
  inset: 42px 0 0;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 70% 30%,
      rgba(181, 255, 77, 0.28),
      transparent 27%
    ),
    linear-gradient(
      135deg,
      var(--media-gradient-start),
      var(--media-gradient-end) 66%
    );
  color: var(--night-ink);
  text-align: center;
}

.video-target {
  position: absolute;
  top: 80px;
  left: 50%;
  width: min(calc(100% - 96px), 980px);
  padding: 18px 24px 20px;
  transform: translateX(-50%);
}

.video-context {
  position: absolute;
  top: 48px;
  left: 50%;
  margin-bottom: 0;
  color: var(--night-muted);
  font-size: 16px;
  transform: translateX(-50%);
  white-space: nowrap;
}

.video-target strong {
  display: block;
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.selection-frame {
  position: absolute;
  inset: 0;
  border: 2px solid var(--system-accent);
  border-radius: var(--radius-sm);
  opacity: 0;
  transform: scale(0.94);
  animation: frame-cycle var(--demo-duration) var(--ease-out-expo) infinite;
}

.real-ocr {
  top: 310px;
  left: 50%;
  width: min(560px, 48%);
  opacity: 0;
  transform: translate(-50%, 28px) scale(0.98);
  transform-origin: top center;
  animation: ocr-popup-cycle var(--demo-duration) var(--ease-out-expo) infinite;
}

.demo-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  padding: 14px 18px 16px;
  border-top: 1px solid var(--night-line);
  background: var(--night-2);
  color: var(--timeline-muted);
  font-size: 10px;
}

.timeline-item {
  text-align: center;
}

.timeline-select {
  animation: timeline-select var(--demo-duration) linear infinite;
}

.timeline-translate {
  animation: timeline-translate var(--demo-duration) linear infinite;
}

.timeline-ocr {
  animation: timeline-ocr var(--demo-duration) linear infinite;
}

.demo-timeline i {
  position: absolute;
  right: 18px;
  bottom: 8px;
  left: 18px;
  height: 2px;
  overflow: hidden;
  background: var(--night-line);
}

.demo-timeline i::after {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  content: '';
  transform: scaleX(0);
  transform-origin: left;
  animation: demo-progress var(--demo-duration) linear infinite;
}

.motion-paused .demo-stage *,
.motion-paused .demo-timeline * {
  animation-play-state: paused !important;
}

.everywhere-section {
  padding-block: var(--section-space);
  background: var(--surface);
  text-align: center;
}

.section-label {
  margin-bottom: 28px;
  color: var(--ink-faint);
}

.everywhere-section h2 {
  margin-bottom: 34px;
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.section-lead {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 24px);
}

.feature-section {
  padding-block: var(--section-space);
}

.select-feature {
  background: var(--page);
}

.ocr-feature {
  background: var(--night);
  color: var(--night-ink);
}

.feature-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(56px, 9vw, 140px);
  align-items: center;
}

.feature-layout-reversed {
  grid-template-columns: 1.28fr 0.72fr;
}

.feature-copy {
  max-width: 470px;
}

.feature-number {
  display: block;
  margin-bottom: 30px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
}

.ocr-feature .feature-number {
  color: var(--night-faint);
}

.feature-copy h2 {
  margin-bottom: 26px;
  font-size: clamp(46px, 5.4vw, 76px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.feature-copy p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.75;
}

.ocr-feature .feature-copy p {
  color: var(--night-muted);
}

.select-visual {
  position: relative;
  min-height: 450px;
  display: grid;
  place-items: center;
  padding: clamp(48px, 7vw, 92px);
  border-radius: var(--radius-stage);
  background: var(--surface);
}

.select-visual p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--ink);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(28px, 4vw, 54px);
  line-height: 1.35;
}

.select-visual mark::before {
  transform: scaleX(1);
  animation: none;
}

.select-visual img {
  position: absolute;
  right: 12%;
  bottom: 26%;
  width: 264px;
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.26));
}

.ocr-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.ocr-capture {
  position: relative;
  width: 100%;
  min-height: 520px;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  padding: 44px clamp(50px, 7vw, 96px);
  overflow: hidden;
  border-radius: var(--radius-stage);
  background:
    radial-gradient(
      circle at 74% 26%,
      rgba(10, 132, 255, 0.22),
      transparent 26%
    ),
    var(--media-background);
}

.ocr-capture span {
  margin-bottom: 16px;
  color: var(--night-faint);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.ocr-capture-target {
  position: relative;
  width: fit-content;
  max-width: 100%;
  padding: 12px 18px 16px;
}

.ocr-capture-target strong {
  display: block;
  color: var(--night-ink);
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.ocr-capture-target i {
  position: absolute;
  inset: 0;
  border: 2px solid var(--system-accent);
  border-radius: var(--radius-sm);
  pointer-events: none;
}

.ocr-panel {
  width: min(560px, 90%);
  height: auto;
  align-self: center;
  margin-top: 22px;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.38));
}

.how-section {
  padding-block: var(--section-space);
  background: var(--surface);
}

.how-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(64px, 9vw, 150px);
  align-items: start;
}

.how-heading h2 {
  margin-bottom: 0;
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.how-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.how-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: var(--space-xl);
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}

.how-list li > span {
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: var(--label-size);
}

.how-list strong {
  display: block;
  margin-bottom: 5px;
  font-size: 18px;
  font-weight: 600;
}

.how-list p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.download-section {
  background: var(--night);
  color: var(--night-ink);
}

.download-callout {
  min-height: min(82svh, 820px);
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding-block: var(--section-space);
  text-align: center;
}

.download-callout .section-label {
  color: var(--night-faint);
}

.download-callout h2 {
  margin-bottom: 44px;
  font-size: clamp(58px, 8vw, 96px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.94;
}

.download-callout .button-primary {
  margin-bottom: 22px;
  background: var(--accent);
  color: var(--accent-ink);
}

.download-callout .button-primary:hover {
  background: var(--night-ink);
}

.download-callout .release-note {
  color: var(--night-faint);
}

.site-footer {
  padding-block: 26px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
}

.footer-row {
  justify-content: space-between;
  gap: var(--space-xl);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.footer-links a {
  color: var(--ink-soft);
}

.footer-links a:hover {
  color: var(--ink);
}

/* Privacy policy */

.legal-page {
  min-height: 100vh;
  background: var(--surface);
}

.legal-main {
  display: grid;
  grid-template-columns: minmax(210px, 0.65fr) minmax(0, 1.8fr);
  gap: clamp(56px, 8vw, 128px);
  padding-block: clamp(76px, 9vw, 132px) var(--section-space);
}

.legal-intro {
  align-self: start;
  position: sticky;
  top: calc(var(--header-height) + var(--space-xl));
}

.legal-intro .eyebrow {
  margin-bottom: var(--space-xl);
}

.legal-intro h1 {
  max-width: 7ch;
  margin-bottom: var(--space-xl);
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.legal-updated {
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: var(--label-size);
  letter-spacing: 0.06em;
}

.legal-summary {
  max-width: 680px;
  margin-bottom: clamp(52px, 7vw, 88px);
  color: var(--ink-soft);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}

.legal-sections {
  max-width: 760px;
}

.legal-section {
  padding-block: clamp(30px, 4vw, 48px);
  border-top: 1px solid var(--line);
}

.legal-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.legal-section h2 {
  margin-bottom: var(--space-lg);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.legal-section p,
.legal-section li {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  margin: 0;
  padding-left: 1.2em;
}

.legal-section li + li {
  margin-top: var(--space-md);
}

.legal-section strong {
  color: var(--ink);
  font-weight: 600;
}

.legal-contact {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
}

.legal-contact:hover {
  border-bottom-color: currentColor;
}

/* Standalone download route */

.download-page {
  min-height: 100vh;
  background: var(--page);
  color: var(--ink);
}

.download-main {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-areas: 'hero detail' 'requirements requirements';
  gap: 84px;
  align-content: center;
  padding-block: 84px;
}

.download-hero {
  grid-area: hero;
}

.download-hero .eyebrow {
  margin-bottom: var(--space-lg);
  font-size: var(--label-size);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-hero h1 {
  margin-bottom: var(--space-xl);
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

html[lang='en'] .download-hero h1 {
  font-size: clamp(44px, 5.2vw, 72px);
}

.download-lead {
  max-width: 560px;
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: 17px;
}

.download-size {
  display: block;
  margin-top: var(--space-lg);
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: var(--label-size);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.download-details {
  grid-area: detail;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--night);
  color: var(--night-ink);
}

.download-stamp {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--night-line);
}

.download-stamp > span {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 58px;
  font-weight: 600;
  line-height: 1;
}

.download-stamp small {
  color: var(--night-faint);
  font-family: var(--font-mono);
  font-size: var(--label-size);
}

.detail-block + .detail-block {
  margin-top: var(--space-xl);
}

.detail-label {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: var(--label-size);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.detail-block p {
  margin: var(--space-sm) 0 0;
  color: var(--night-muted);
  font-size: 16px;
}

.requirements {
  grid-area: requirements;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  border-top: 1px solid var(--line-strong);
}

.requirements > div {
  padding: var(--space-xl) var(--space-lg) 0 0;
}

.requirements dt {
  margin-bottom: var(--space-sm);
  font-size: var(--label-size);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.requirements dd {
  margin: 0;
  color: var(--ink-soft);
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

@keyframes demo-enter {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.985);
  }
}

@keyframes text-selection {
  0%,
  7% {
    transform: scaleX(0);
  }
  18%,
  100% {
    transform: scaleX(1);
  }
}

@keyframes toolbar-cycle {
  0%,
  13%,
  38%,
  100% {
    opacity: 0;
    transform: translate(-50%, 14px);
  }
  18%,
  33% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes translation-cycle {
  0%,
  31%,
  67%,
  100% {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }
  38%,
  61% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes selection-scene-cycle {
  0%,
  63% {
    opacity: 1;
    transform: scale(1);
  }
  70%,
  95% {
    opacity: 0;
    transform: scale(0.99);
  }
  100% {
    opacity: 1;
  }
}

@keyframes ocr-scene-cycle {
  0%,
  64%,
  100% {
    opacity: 0;
    transform: scale(1.01);
  }
  71%,
  95% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes frame-cycle {
  0%,
  68%,
  100% {
    opacity: 0;
    transform: scale(0.94);
  }
  73%,
  95% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes ocr-popup-cycle {
  0%,
  75%,
  100% {
    opacity: 0;
    transform: translate(-50%, 28px) scale(0.98);
  }
  81%,
  95% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

@keyframes demo-progress {
  to {
    transform: scaleX(1);
  }
}

@keyframes timeline-select {
  0%,
  31% {
    color: var(--accent);
  }
  32%,
  100% {
    color: var(--timeline-muted);
  }
}

@keyframes timeline-translate {
  0%,
  31%,
  67%,
  100% {
    color: var(--timeline-muted);
  }
  32%,
  66% {
    color: var(--accent);
  }
}

@keyframes timeline-ocr {
  0%,
  66%,
  100% {
    color: var(--timeline-muted);
  }
  67%,
  99% {
    color: var(--accent);
  }
}

@media (max-width: 1000px) {
  .demo-stage {
    min-height: 600px;
  }

  .article-window {
    right: 5%;
    left: 5%;
  }

  .real-translation {
    right: 8%;
  }

  .feature-layout,
  .feature-layout-reversed,
  .how-layout {
    grid-template-columns: 1fr;
  }

  .feature-copy {
    max-width: 680px;
  }

  .feature-layout-reversed .ocr-visual {
    order: 2;
  }

  .feature-layout-reversed .feature-copy {
    order: 1;
  }

  .how-heading {
    max-width: 700px;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(calc(100% - 36px), var(--content-width));
  }

  .nav-links > a:not(.nav-download):not(.language-switch) {
    display: none;
  }

  .nav-download {
    min-height: 32px;
    padding-inline: 13px;
  }

  .nav-download [data-download-label] {
    font-size: 0;
  }

  html[lang='zh-CN'] .nav-download [data-download-label]::after {
    font-size: var(--body-size);
    content: '下载';
  }

  html[lang='en'] .nav-download [data-download-label]::after {
    font-size: var(--body-size);
    content: 'Download';
  }

  .hero {
    padding-top: 74px;
  }

  .hero h1 {
    font-size: clamp(52px, 15vw, 72px);
    letter-spacing: -0.04em;
  }

  html[lang='en'] .hero h1 {
    font-size: clamp(44px, 13vw, 62px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    align-items: center;
    flex-direction: column;
  }

  .demo-wrap {
    width: 100%;
    margin-top: 64px;
  }

  .system-demo {
    border-radius: 0;
  }

  .demo-bar {
    grid-template-columns: 1fr auto;
  }

  .demo-title {
    display: none;
  }

  .demo-stage {
    min-height: 500px;
  }

  .article-window,
  .media-window {
    top: 38px;
    right: 18px;
    bottom: 34px;
    left: 18px;
  }

  .article-content {
    padding: 50px 28px;
  }

  .article-content h2 {
    font-size: 34px;
  }

  .article-content > p:not(.article-category) {
    font-size: 15px;
  }

  .article-content > p:last-child {
    display: none;
  }

  .real-toolbar {
    top: 55%;
    left: 50%;
    width: 238px;
  }

  .real-translation {
    right: 32px;
    bottom: 46px;
    width: 270px;
  }

  .video-target {
    top: 60px;
    width: calc(100% - 56px);
    padding: 12px 14px 14px;
  }

  .video-context {
    top: 28px;
    font-size: 14px;
  }

  .video-target strong {
    font-size: 42px;
  }

  .real-ocr {
    top: 276px;
    left: 50%;
    width: calc(100% - 48px);
  }

  .everywhere-section h2 {
    font-size: clamp(42px, 12vw, 62px);
  }

  .feature-layout,
  .feature-layout-reversed {
    gap: 52px;
  }

  .select-visual {
    min-height: 390px;
    padding: 44px 30px;
  }

  .select-visual p {
    font-size: 34px;
  }

  .select-visual img {
    right: 24px;
    bottom: 22%;
    width: 238px;
  }

  .ocr-visual {
    min-height: 480px;
  }

  .ocr-capture {
    min-height: 410px;
    padding: 42px 28px;
  }

  .ocr-capture-target strong {
    font-size: 42px;
  }

  .ocr-panel {
    width: 96%;
  }

  .how-list li {
    grid-template-columns: 44px 1fr;
    gap: var(--space-md);
  }

  .download-callout {
    min-height: 72svh;
  }

  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--space-sm);
  }

  .legal-main {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 64px;
  }

  .legal-intro {
    position: static;
  }

  .legal-intro h1 {
    max-width: 10ch;
  }

  .download-main {
    grid-template-columns: 1fr;
    grid-template-areas: 'hero' 'detail' 'requirements';
    gap: 52px;
  }

  .requirements {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 420px) {
  .motion-toggle [data-motion-label] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .demo-stage {
    min-height: 460px;
  }

  .article-category,
  .article-content > p:last-of-type,
  .context-toolbar span:last-child {
    display: none;
  }

  .article-content {
    padding-top: 56px;
  }

  .article-content h2 {
    font-size: 30px;
  }

  .real-toolbar {
    width: 224px;
  }

  .real-translation {
    right: 20px;
    width: 260px;
  }

  .demo-timeline {
    font-size: 9px;
  }

  .requirements {
    grid-template-columns: 1fr;
  }
}

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

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

  .selection-scene {
    opacity: 1;
    transform: none;
  }

  .ocr-scene,
  .real-toolbar {
    display: none;
  }

  .article-content mark::before {
    transform: scaleX(1);
  }

  .real-translation {
    opacity: 1;
    transform: none;
  }

  .demo-timeline i::after {
    transform: scaleX(1);
  }

  .motion-toggle {
    display: none;
  }
}
