@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
}

:root {
  --be-primary: #1765da;
  --be-primary-dark: #0f4ead;
  --be-bg: #f6f7f8;
  --be-surface: #ffffff;
  --be-surface-alt: #f0f2f5;
  --be-text: #1f2329;
  --be-text-secondary: #646a73;
  --be-text-tertiary: #8f959e;
  --be-border: #e5e6eb;
  --be-accent: #f97316;
  --be-accent-dark: #d85b09;
  --be-success: #18a058;
  --be-warning: #d97706;
  --be-radius-sm: 6px;
  --be-radius: 8px;
  --be-radius-lg: 12px;
  --be-shadow: 0 2px 8px rgba(15, 17, 21, 0.06);
  --be-shadow-strong: 0 16px 42px rgba(31, 35, 41, 0.14);
  --be-page: min(1160px, calc(100vw - 32px));
  --shot-content-ratio: 1150 / 2409;
  --shot-crop-scale: 130.44%;
  --shot-crop-top: -36.52%;
  --shot-crop-right: -15.3%;
  --shot-crop-bottom: -36.61%;
  --shot-crop-left: -15.22%;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--be-bg);
}

body {
  margin: 0;
  color: var(--be-text);
  background: var(--be-bg);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(23, 101, 218, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(23, 101, 218, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000 0, transparent 760px);
}

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

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

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(23, 101, 218, 0.34);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: var(--be-radius);
  background: var(--be-text);
  color: var(--be-surface);
  padding: 10px 14px;
  transition: transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(229, 230, 235, 0.84);
  background: rgba(246, 247, 248, 0.92);
  backdrop-filter: saturate(160%) blur(18px);
}

.nav-shell {
  width: var(--be-page);
  min-height: 68px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--be-text);
  font-family: "Plus Jakarta Sans", "Noto Sans SC", sans-serif;
  font-weight: 700;
  white-space: nowrap;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: var(--be-shadow);
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.nav-links a,
.footer-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--be-radius);
  padding: 0 12px;
  color: var(--be-text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color 160ms cubic-bezier(0.2, 0, 0, 1), background-color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--be-primary);
  background: rgba(23, 101, 218, 0.08);
}

.nav-download {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--be-radius);
  padding: 0 16px;
  color: #fff;
  background: var(--be-accent);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(249, 115, 22, 0.2);
  transition: background-color 160ms cubic-bezier(0.2, 0, 0, 1), box-shadow 160ms cubic-bezier(0.2, 0, 0, 1);
}

.nav-download:hover {
  background: var(--be-accent-dark);
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.28);
}

.page-view {
  width: var(--be-page);
  margin: 0 auto;
}

html[data-route="home"] .download-page,
html[data-route="download"] .home-page {
  display: none;
}

.hero-section {
  padding: 70px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 52px;
  align-items: center;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--be-primary);
  font-family: "Plus Jakarta Sans", "Noto Sans SC", sans-serif;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--be-text);
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 10em;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 1.04;
}

h2 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.15;
}

h3 {
  font-size: 20px;
  line-height: 1.35;
}

.hero-lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--be-text-secondary);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--be-radius);
  padding: 0 18px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition:
    background-color 160ms cubic-bezier(0.2, 0, 0, 1),
    border-color 160ms cubic-bezier(0.2, 0, 0, 1),
    color 160ms cubic-bezier(0.2, 0, 0, 1),
    box-shadow 160ms cubic-bezier(0.2, 0, 0, 1);
}

.button-primary {
  color: #fff;
  background: var(--be-accent);
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.22);
}

.button-primary:hover {
  background: var(--be-accent-dark);
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.3);
}

.button-secondary {
  color: var(--be-text);
  background: var(--be-surface);
  border-color: var(--be-border);
}

.button-secondary:hover {
  color: var(--be-primary);
  border-color: rgba(23, 101, 218, 0.38);
  background: rgba(23, 101, 218, 0.06);
}

.trust-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.trust-tags li {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(24, 160, 88, 0.18);
  border-radius: 999px;
  padding: 0 12px;
  color: #0c7740;
  background: rgba(24, 160, 88, 0.08);
  font-size: 13px;
  font-weight: 700;
}

.hero-device {
  justify-self: center;
  width: min(420px, 100%);
  display: grid;
  justify-items: center;
  gap: 14px;
}

.hero-shot {
  width: min(342px, 100%, 34.4vh);
  aspect-ratio: var(--shot-content-ratio);
  animation: rise-in 520ms cubic-bezier(0.2, 0, 0, 1) both;
  filter: drop-shadow(0 26px 48px rgba(15, 23, 42, 0.2));
  overflow: hidden;
}

.hero-shot img {
  display: block;
  width: var(--shot-crop-scale);
  max-width: none;
  height: auto;
  margin: var(--shot-crop-top) var(--shot-crop-right) var(--shot-crop-bottom) var(--shot-crop-left);
  object-fit: contain;
}

.phone-status {
  height: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--be-text-secondary);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
}

.screen-header,
.shot-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
  color: var(--be-text);
  font-size: 20px;
  font-weight: 700;
}

.screen-pill {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 9px;
  font-size: 11px;
  font-weight: 700;
}

.screen-pill.ready {
  color: #0c7740;
  background: rgba(24, 160, 88, 0.12);
}

.language-switch {
  margin-top: 18px;
  min-height: 48px;
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  align-items: center;
  gap: 8px;
  border-radius: var(--be-radius);
  background: var(--be-surface);
  padding: 0 12px;
  box-shadow: var(--be-shadow);
  color: var(--be-text);
  font-weight: 700;
  text-align: center;
}

.language-switch.small {
  grid-template-columns: 1fr 1fr;
  min-height: 40px;
  font-size: 13px;
}

.switch-line {
  height: 2px;
  background: linear-gradient(90deg, var(--be-primary), var(--be-success));
}

.chat-stack {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.bubble {
  display: grid;
  gap: 6px;
  border-radius: var(--be-radius);
  padding: 14px;
  font-size: 14px;
  line-height: 1.55;
  box-shadow: var(--be-shadow);
}

.bubble strong {
  font-size: 12px;
  color: var(--be-text-secondary);
}

.bubble-user {
  background: var(--be-surface);
}

.bubble-ai {
  color: #fff;
  background: var(--be-primary);
}

.bubble-ai strong {
  color: rgba(255, 255, 255, 0.8);
}

.hold-control {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 18px;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--be-radius-lg);
  color: #fff;
  background: var(--be-primary);
  font-weight: 700;
}

.mic-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.16);
}

.device-note {
  width: min(312px, 100%);
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--be-text-secondary);
  font-size: 12px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--be-border);
  border-radius: var(--be-radius);
  background: var(--be-surface);
  box-shadow: var(--be-shadow);
  overflow: hidden;
}

.proof-strip article {
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 18px;
  border-left: 1px solid var(--be-border);
}

.proof-strip article:first-child {
  border-left: 0;
}

.proof-strip span,
.card-label,
.model-grid span {
  color: var(--be-text-secondary);
  font-size: 13px;
  font-weight: 700;
}

.proof-strip strong {
  font-size: 17px;
  line-height: 1.35;
}

.section-block,
.tech-section,
.video-section,
.download-teaser,
.download-details,
.download-notes,
.download-storage {
  padding: 96px 0 0;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 30px;
}

.section-heading.compact {
  max-width: 680px;
}

.section-heading p:not(.eyebrow),
.privacy-copy p:not(.eyebrow),
.video-copy p,
.download-teaser p,
.download-hero p,
.download-storage p,
.final-cta p {
  margin: 16px 0 0;
  color: var(--be-text-secondary);
  font-size: 17px;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.scenario-card,
.model-grid article,
.note-grid article,
.shot-card {
  border: 1px solid var(--be-border);
  border-radius: var(--be-radius);
  background: var(--be-surface);
  box-shadow: var(--be-shadow);
}

.scenario-card {
  min-height: 398px;
  padding: 18px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 14px;
  overflow: hidden;
}

.scenario-card h3 {
  font-size: 18px;
  line-height: 1.42;
}

.scenario-card p,
.language-support-card p,
.model-grid p,
.note-grid p,
.shot-card figcaption,
.faq-answer {
  margin: 0;
  color: var(--be-text-secondary);
  font-size: 15px;
  line-height: 1.72;
}

.mini-screen {
  height: 204px;
  display: grid;
  align-content: start;
  gap: 9px;
  border: 1px solid #dde2ea;
  border-radius: var(--be-radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(246, 247, 248, 0.88)),
    var(--be-bg);
  padding: 14px;
  overflow: hidden;
}

.mini-top,
.mini-bubble,
.mini-control,
.mini-level,
.mini-line,
.mini-action,
.mini-file,
.mini-progress,
.mini-textblock,
.mini-wave,
.mini-play {
  display: block;
  border-radius: var(--be-radius-sm);
  background: var(--be-surface);
}

.mini-top {
  width: 54%;
  height: 22px;
}

.mini-bubble {
  width: 72%;
  height: 40px;
}

.mini-bubble.wide {
  width: 92%;
}

.mini-bubble.blue,
.mini-control,
.mini-action,
.mini-progress span,
.mini-play {
  background: var(--be-primary);
}

.mini-control {
  align-self: end;
  height: 40px;
}

.mini-level {
  width: 112px;
  height: 58px;
  background: rgba(24, 160, 88, 0.12);
}

.mini-line {
  height: 13px;
  width: 94%;
}

.mini-line.short {
  width: 62%;
}

.mini-action {
  height: 38px;
  width: 100%;
  margin-top: auto;
}

.mini-file {
  height: 48px;
  border: 1px solid rgba(23, 101, 218, 0.2);
}

.mini-progress {
  height: 8px;
  overflow: hidden;
  background: var(--be-surface);
}

.mini-progress::before {
  content: "";
  display: block;
  width: 68%;
  height: 100%;
  background: var(--be-primary);
}

.mini-textblock {
  height: 76px;
}

.mini-wave {
  height: 34px;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(23, 101, 218, 0.22) 8% 13%, transparent 13% 20%),
    var(--be-surface);
  background-size: 28px 100%;
}

.mini-play {
  width: 58px;
  height: 40px;
  border-radius: 999px;
}

.language-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.language-support-card {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 16px;
  border: 1px solid var(--be-border);
  border-radius: var(--be-radius);
  background: var(--be-surface);
  box-shadow: var(--be-shadow);
  padding: 24px;
}

.language-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--be-border);
}

.language-kicker {
  color: var(--be-text-secondary);
  font-size: 13px;
  font-weight: 700;
}

.language-card-head strong {
  max-width: 11em;
  color: var(--be-primary);
  font-family: "Plus Jakarta Sans", "Noto Sans SC", sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  text-align: right;
}

.language-preview,
.language-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.language-preview li,
.language-list li {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(23, 101, 218, 0.14);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--be-text);
  background: rgba(23, 101, 218, 0.055);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.language-preview li {
  color: var(--be-primary-dark);
  background: rgba(23, 101, 218, 0.09);
}

.language-details {
  border-top: 1px solid var(--be-border);
  padding-top: 14px;
}

.language-details summary {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--be-primary);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.language-details summary::after {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

.language-details[open] summary::after {
  transform: rotate(225deg);
}

.language-list {
  max-height: 220px;
  margin-top: 12px;
  padding-right: 4px;
  overflow: auto;
}

.section-action {
  margin-top: 24px;
}

.privacy-band {
  margin-top: 96px;
  padding: 46px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
  border: 1px solid rgba(23, 101, 218, 0.18);
  border-radius: var(--be-radius);
  background:
    linear-gradient(135deg, rgba(23, 101, 218, 0.09), rgba(24, 160, 88, 0.08)),
    var(--be-surface);
  box-shadow: var(--be-shadow);
}

.local-flow {
  display: grid;
  grid-template-columns: 1fr 34px 1fr 34px 1fr;
  align-items: stretch;
  gap: 10px;
}

.flow-node {
  min-height: 148px;
  display: grid;
  align-content: center;
  gap: 8px;
  border: 1px solid var(--be-border);
  border-radius: var(--be-radius);
  background: rgba(255, 255, 255, 0.82);
  padding: 18px;
}

.flow-node span {
  color: var(--be-text-secondary);
  font-size: 13px;
  font-weight: 700;
}

.flow-node strong {
  font-size: 18px;
  line-height: 1.35;
}

.flow-node.active {
  color: #fff;
  border-color: var(--be-primary);
  background: var(--be-primary);
  box-shadow: 0 10px 26px rgba(23, 101, 218, 0.22);
}

.flow-node.active span {
  color: rgba(255, 255, 255, 0.78);
}

.flow-arrow {
  position: relative;
  min-height: 148px;
}

.flow-arrow::before,
.flow-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  background: var(--be-primary);
}

.flow-arrow::before {
  left: 0;
  right: 6px;
  height: 2px;
  transform: translateY(-50%);
}

.flow-arrow::after {
  right: 4px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--be-primary);
  border-right: 2px solid var(--be-primary);
  transform: translateY(-50%) rotate(45deg);
  background: transparent;
}

.privacy-points {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.privacy-points p {
  margin: 0;
  border-left: 3px solid var(--be-success);
  border-radius: var(--be-radius-sm);
  background: rgba(255, 255, 255, 0.72);
  padding: 12px;
  color: var(--be-text-secondary);
  font-size: 14px;
}

.screenshot-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.screenshot-wall:not(.is-expanded) .shot-card.is-collapsible {
  display: none;
}

.screenshot-toggle {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.shot-card {
  margin: 0;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 12px;
}

.shot-card figcaption {
  display: grid;
  gap: 4px;
  min-height: 78px;
}

.shot-card figcaption strong {
  color: var(--be-text);
  font-size: 15px;
}

.product-shot {
  display: block;
  width: var(--shot-crop-scale);
  max-width: none;
  height: auto;
  margin: var(--shot-crop-top) var(--shot-crop-right) var(--shot-crop-bottom) var(--shot-crop-left);
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 14px 24px rgba(15, 23, 42, 0.14));
}

.product-shot:hover {
  filter: drop-shadow(0 18px 30px rgba(15, 23, 42, 0.18));
}

.shot-title {
  margin-top: 18px;
  font-size: 17px;
}

.meter-block,
.reader-block,
.file-chip,
.history-row,
.model-row {
  border-radius: var(--be-radius);
  background: var(--be-surface);
  box-shadow: var(--be-shadow);
}

.meter-block {
  margin-top: 18px;
  padding: 18px;
}

.meter-block strong {
  font-family: "JetBrains Mono", monospace;
  font-size: 34px;
}

.meter-block span {
  display: block;
  height: 9px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--be-success), var(--be-primary), var(--be-warning));
}

.text-lines {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.text-lines span {
  height: 13px;
  border-radius: 999px;
  background: var(--be-border);
}

.text-lines .short {
  width: 66%;
}

.model-row,
.history-row {
  min-height: 54px;
  display: grid;
  gap: 2px;
  margin-top: 12px;
  padding: 12px;
  font-size: 13px;
}

.model-row {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.model-row strong {
  color: var(--be-primary);
}

.model-row.done strong {
  color: var(--be-success);
}

.file-chip {
  margin-top: 18px;
  padding: 14px;
  color: var(--be-primary);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

.progress-bar {
  height: 10px;
  margin-top: 18px;
  border-radius: 999px;
  background: var(--be-border);
  overflow: hidden;
}

.progress-bar span {
  display: block;
  width: 76%;
  height: 100%;
  background: var(--be-primary);
}

.reader-block {
  margin-top: 18px;
  min-height: 116px;
  padding: 16px;
  color: var(--be-text-secondary);
}

.wave-row {
  height: 72px;
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-radius: var(--be-radius);
  background: var(--be-surface);
}

.wave-row span {
  width: 12px;
  border-radius: 999px;
  background: var(--be-primary);
}

.wave-row span:nth-child(1) {
  height: 30px;
}

.wave-row span:nth-child(2) {
  height: 52px;
}

.wave-row span:nth-child(3) {
  height: 40px;
}

.wave-row span:nth-child(4) {
  height: 62px;
}

.history-row span {
  color: var(--be-text-secondary);
  font-size: 12px;
}

.video-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(340px, 1fr);
  gap: 32px;
  align-items: center;
}

.video-section[hidden] {
  display: none !important;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.inline-links a {
  color: var(--be-primary);
  font-weight: 700;
}

.inline-links a:hover {
  color: var(--be-primary-dark);
  text-decoration: underline;
}

.video-shell {
  min-height: 360px;
  border: 1px solid var(--be-border);
  border-radius: var(--be-radius);
  background: var(--be-surface);
  box-shadow: var(--be-shadow);
  overflow: hidden;
}

.video-poster {
  width: 100%;
  min-height: 360px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  border: 0;
  color: var(--be-text);
  background:
    linear-gradient(90deg, rgba(31, 35, 41, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(31, 35, 41, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, rgba(23, 101, 218, 0.12), rgba(24, 160, 88, 0.1)),
    var(--be-surface-alt);
  background-size: 34px 34px, 34px 34px, auto, auto;
  cursor: pointer;
}

.poster-badge,
.poster-caption {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  padding: 8px 12px;
  color: var(--be-text-secondary);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

.play-button {
  width: 76px;
  height: 76px;
  border-radius: 999px;
  background: var(--be-accent);
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.28);
  position: relative;
}

.play-button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 20px solid #fff;
  transform: translate(-40%, -50%);
}

.video-shell video {
  width: 100%;
  height: 100%;
  min-height: 360px;
  background: #111318;
}

.video-error {
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 28px;
  color: var(--be-text-secondary);
  text-align: center;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.model-grid article {
  min-height: 180px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 20px;
}

.model-grid span {
  color: var(--be-text);
  font-size: 18px;
}

.download-teaser,
.final-cta {
  margin-top: 96px;
  border: 1px solid rgba(249, 115, 22, 0.22);
  border-radius: var(--be-radius);
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(23, 101, 218, 0.06)),
    var(--be-surface);
  box-shadow: var(--be-shadow);
}

.download-teaser {
  padding: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.tech-table,
.release-table {
  display: grid;
  border: 1px solid var(--be-border);
  border-radius: var(--be-radius);
  background: var(--be-surface);
  box-shadow: var(--be-shadow);
  overflow: hidden;
}

.tech-table div,
.release-table div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  border-top: 1px solid var(--be-border);
  padding: 16px 18px;
}

.tech-table div:first-child,
.release-table div:first-child {
  border-top: 0;
}

.tech-table dt,
.release-table dt {
  color: var(--be-text-secondary);
  font-weight: 700;
}

.tech-table dd,
.release-table dd {
  margin: 0;
  font-family: "JetBrains Mono", "Noto Sans SC", monospace;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.release-table a {
  color: var(--be-primary);
}

.release-table code {
  font-family: "JetBrains Mono", monospace;
  color: var(--be-text);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--be-border);
  border-radius: var(--be-radius);
  background: var(--be-surface);
  box-shadow: var(--be-shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  background: transparent;
  padding: 0 18px;
  color: var(--be-text);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--be-text-secondary);
  border-bottom: 2px solid var(--be-text-secondary);
  transform: rotate(45deg);
  transition: transform 160ms cubic-bezier(0.2, 0, 0, 1);
  flex: 0 0 auto;
}

.faq-question[aria-expanded="true"]::after {
  transform: rotate(225deg);
}

.faq-answer {
  display: none;
  padding: 0 18px 18px;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.final-cta {
  margin-bottom: 96px;
  padding: 48px 36px;
  text-align: center;
}

.final-cta h2 {
  margin: 0 auto;
  max-width: 760px;
}

.final-cta p {
  margin-left: auto;
  margin-right: auto;
  max-width: 620px;
}

.final-cta .button {
  margin-top: 26px;
}

.download-hero {
  padding: 84px 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: start;
}

.download-hero h1 {
  max-width: 11em;
}

.download-card {
  border: 1px solid rgba(249, 115, 22, 0.24);
  border-radius: var(--be-radius);
  background: var(--be-surface);
  box-shadow: var(--be-shadow);
  padding: 22px;
  display: grid;
  gap: 14px;
}

.download-card strong {
  font-family: "JetBrains Mono", monospace;
  font-size: 44px;
  line-height: 1;
}

.download-card .button {
  width: 100%;
}

.copy-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--be-success);
  font-weight: 700;
}

.note-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.note-grid article {
  padding: 20px;
}

.note-grid span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: var(--be-primary);
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
}

.note-grid h3 {
  margin-top: 18px;
}

.download-storage {
  max-width: 760px;
  padding-bottom: 96px;
}

.site-footer {
  width: var(--be-page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  border-top: 1px solid var(--be-border);
  padding: 34px 0 42px;
}

.footer-brand img {
  width: 32px;
  height: 32px;
}

.site-footer p {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--be-text-secondary);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 2px;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .hero-section,
  .privacy-band,
  .video-section,
  .download-hero {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    padding-top: 54px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-device {
    width: min(320px, 72vw);
    max-height: none;
    overflow: visible;
    align-self: start;
  }

  .hero-device .device-note {
    display: none;
  }

  h1 {
    max-width: 12em;
  }

  .proof-strip,
  .scenario-grid,
  .model-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-strip article:nth-child(3) {
    border-left: 0;
  }

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

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

  .download-teaser {
    grid-template-columns: 1fr;
  }

  .download-teaser .button {
    justify-self: start;
  }

  .download-card {
    max-width: 420px;
  }
}

@media (max-width: 720px) {
  :root {
    --be-page: min(100vw - 24px, 640px);
  }

  body {
    font-size: 15px;
  }

  .site-header {
    position: sticky;
  }

  .nav-shell {
    min-height: 60px;
    gap: 12px;
  }

  .brand span {
    font-size: 15px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .nav-download {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero-section {
    padding: 38px 0 18px;
    gap: 18px;
  }

  h1 {
    font-size: clamp(38px, 15vw, 56px);
  }

  h2 {
    font-size: clamp(26px, 9vw, 36px);
  }

  .hero-lead,
  .section-heading p:not(.eyebrow),
  .privacy-copy p:not(.eyebrow),
  .video-copy p,
  .download-teaser p,
  .download-hero p,
  .download-storage p,
  .final-cta p {
    font-size: 16px;
  }

  .hero-actions,
  .download-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-device {
    width: min(280px, 68vw);
    max-height: none;
    overflow: visible;
    align-self: start;
  }

  .hero-device .device-note {
    display: none;
  }

  .proof-strip,
  .scenario-grid,
  .language-support-grid,
  .model-grid,
  .note-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip article {
    min-height: 86px;
    border-left: 0;
    border-top: 1px solid var(--be-border);
  }

  .proof-strip article:first-child {
    border-top: 0;
  }

  .section-block,
  .tech-section,
  .video-section,
  .download-teaser,
  .download-details,
  .download-notes,
  .download-storage {
    padding-top: 72px;
  }

  .scenario-card {
    min-height: auto;
  }

  .mini-screen {
    height: 204px;
  }

  .language-support-card {
    padding: 20px;
  }

  .language-card-head {
    display: grid;
    gap: 8px;
  }

  .language-card-head strong {
    text-align: left;
  }

  .language-list {
    max-height: 260px;
  }

  .privacy-band {
    margin-top: 72px;
    padding: 24px;
  }

  .local-flow {
    grid-template-columns: 1fr;
  }

  .flow-node {
    min-height: 112px;
  }

  .flow-arrow {
    min-height: 34px;
  }

  .flow-arrow::before {
    top: 0;
    bottom: 6px;
    left: 50%;
    right: auto;
    width: 2px;
    height: auto;
    transform: translateX(-50%);
  }

  .flow-arrow::after {
    right: auto;
    top: auto;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
  }

  .privacy-points {
    grid-template-columns: 1fr;
  }

  .screenshot-wall {
    width: 100%;
    margin-left: 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    grid-template-columns: none;
    gap: 0;
    height: min(680px, calc(100dvh - 128px));
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 0;
    border: 1px solid var(--be-border);
    border-radius: var(--be-radius);
    background: var(--be-surface);
    box-shadow: var(--be-shadow);
  }

  .screenshot-wall::-webkit-scrollbar {
    display: none;
  }

  .screenshot-wall:not(.is-expanded) .shot-card.is-collapsible {
    display: grid;
  }

  .screenshot-toggle {
    display: none;
  }

  .shot-card {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    height: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    grid-template-rows: minmax(0, 1fr) auto;
    justify-items: center;
    gap: 12px;
    padding: 14px;
    overflow: hidden;
  }

  .shot-card .product-shot {
    width: auto;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    margin: 0;
    align-self: center;
    justify-self: center;
    object-fit: contain;
  }

  .shot-card figcaption {
    min-height: 92px;
    width: 100%;
  }

  .video-section {
    gap: 20px;
  }

  .video-shell,
  .video-poster,
  .video-shell video,
  .video-error {
    min-height: 260px;
  }

  .download-teaser,
  .final-cta {
    margin-top: 72px;
    padding: 24px;
  }

  .tech-table div,
  .release-table div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .download-hero {
    padding-top: 48px;
  }

  .download-card {
    max-width: none;
  }

  .download-card strong {
    font-size: 38px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-bottom: 30px;
  }

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

@media (max-width: 390px) {
  .nav-download {
    padding: 0 10px;
  }

  .brand {
    gap: 8px;
  }

  .brand span {
    max-width: 116px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .trust-tags li {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
