@font-face {
  font-family: "Deluxe Edition";
  src: url("../assets/fonts/deluxe-edition-demo.woff") format("woff");
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f1efe9;
  --paper-bright: #f8f7f3;
  --paper-deep: #e7e3db;
  --ink: #111210;
  --ink-soft: #4e504c;
  --ink-faint: #5f625d;
  --line: rgba(17, 18, 16, 0.14);
  --line-strong: rgba(17, 18, 16, 0.28);
  --coral: #ff8975;
  --coral-ink: #bb392d;
  --coral-deep: #ff6556;
  --violet: #7a4cff;
  --night: #0e0e0e;
  --night-soft: #141414;
  --night-raised: #202020;
  --night-line: rgba(255, 255, 255, 0.12);
  --night-muted: #acafb9;
  --white: #ffffff;
  --content: 1280px;
  --reading: 1062px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --radius-xl: 42px;
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --header-height: 68px;
  --display-font: "Aptos Display", "Segoe UI Variable Display", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  --brand-font: "Segoe UI Variable Display", "Aptos Display", "Microsoft YaHei UI", sans-serif;
  --body-font: "Aptos", "Segoe UI Variable Text", "Segoe UI", "Microsoft YaHei UI", sans-serif;
}

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  background: var(--paper);
}

body,
h1,
h2,
h3,
p,
figure,
dl,
dd,
ol,
ul {
  margin: 0;
}

body {
  min-width: 320px;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

::selection {
  background: var(--coral);
  color: var(--ink);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 18px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

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

.product-page a:focus-visible,
.product-page button:focus-visible,
.product-page input:focus-visible,
.product-page summary:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 4px;
}

.site-pill {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 500;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(calc(100% - 36px), 1180px);
  min-height: var(--header-height);
  padding: 8px 10px 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(14, 14, 14, 0.94);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.2), inset 0 1px rgba(255, 255, 255, 0.08);
  color: var(--white);
  transform: translateX(-50%);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding-right: 14px;
}

.logo-crop,
.mfx-logo-crop {
  position: relative;
  display: block;
  overflow: hidden;
  background: transparent;
}

.logo-crop {
  width: 105px;
  height: 30px;
}

.logo-crop img {
  position: absolute;
  top: -45px;
  left: 0;
  width: 108px;
  max-width: none;
}

.site-pill .logo-crop img,
.story-mfx .mfx-logo-crop img {
  filter: invert(1);
}

.brand-name {
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

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

.pill-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 680;
  transition: background 220ms ease, color 220ms ease;
}

.pill-nav a:hover,
.pill-nav a[aria-current="location"] {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.build-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 17px;
  border: 1px solid rgba(255, 137, 117, 0.4);
  border-radius: 999px;
  color: #ffd6cf;
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.build-state > span,
.dock-current > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(255, 137, 117, 0.12);
}

.hero {
  width: min(calc(100% - 48px), var(--content));
  padding: clamp(150px, 16vw, 210px) 0 0;
  margin: 0 auto;
}

.hero-heading {
  display: grid;
  justify-items: center;
  text-align: center;
}

.eyebrow,
.section-index,
.story-product,
.visual-meta,
.stage-label {
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--ink-faint);
}

.hero h1 {
  margin-top: clamp(22px, 3vw, 38px);
  font-family: var(--display-font);
  font-size: clamp(66px, 9.2vw, 132px);
  font-stretch: condensed;
  font-weight: 760;
  letter-spacing: -0.072em;
  line-height: 0.86;
  text-wrap: balance;
}

.hero-line {
  display: block;
  overflow: hidden;
  padding-right: 0.07em;
}

.hero-line > span {
  display: block;
}

.hero-line.is-accent {
  color: var(--coral-ink);
}

/* 入场动画预备位(仅 product.html 内联脚本会加 pre-motion):英雄区先处于动画起始态,
   product.js 武装 .from() 动画时同步摘掉该类——首屏 paint 不再先闪一遍终态。
   no-js / motion-fallback / motion-reduce 均不命中此门控。 */
html.js.pre-motion [data-motion-header] {
  opacity: 0;
  transform: translateY(-18px);
}

html.js.pre-motion [data-hero-line] > span {
  transform: translateY(112%);
}

html.js.pre-motion [data-hero-copy] {
  opacity: 0;
  transform: translateY(18px);
}

html.js.pre-motion [data-hero-stage] {
  opacity: 0;
  transform: translateY(48px) scale(0.94) perspective(1200px) rotateX(3deg) rotateY(-4deg);
}

html.js.pre-motion [data-product-layer] {
  opacity: 0;
  transform: translateY(26px);
}

.hero-copy {
  display: grid;
  justify-items: center;
  width: min(100%, 760px);
  margin-top: clamp(28px, 4vw, 50px);
}

.hero-copy > p {
  color: var(--ink-soft);
  font-size: clamp(17px, 1.7vw, 23px);
  line-height: 1.65;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  min-width: 216px;
  min-height: 56px;
  padding: 0 18px 0 23px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 790;
  transition: transform 240ms var(--ease-out), box-shadow 240ms ease;
}

.button.is-dark {
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(17, 18, 16, 0.16), inset 0 1px rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.button b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--ink);
  font-size: 15px;
  transition: transform 240ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .button:hover {
    box-shadow: 0 16px 36px rgba(17, 18, 16, 0.22), inset 0 1px rgba(255, 255, 255, 0.18);
    transform: translateY(-2px) scale(1.012);
  }

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

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

.text-action {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 740;
  transition: border-color 200ms ease, color 200ms ease;
}

.text-action:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.hero-stage {
  position: relative;
  min-height: clamp(560px, 57vw, 745px);
  margin-top: clamp(54px, 7vw, 92px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 72% 14%, rgba(255, 255, 255, 0.96), transparent 33%),
    radial-gradient(circle at 12% 92%, rgba(255, 137, 117, 0.2), transparent 32%),
    linear-gradient(145deg, #e2e1dd 0%, #f8f7f3 48%, #d8d7d4 100%);
  box-shadow: 0 38px 100px rgba(45, 42, 36, 0.13), inset 0 1px rgba(255, 255, 255, 0.9);
  transform-style: preserve-3d;
}

/* 循环视频基底：data-video-src 未配置时透明(is-empty)，舞台现状不变；
   配置后 JS 去掉 is-empty、加 is-ready，深色底+视频淡入，scrim 保证底部标签可读。 */
.stage-video-base {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  border-radius: inherit;
  background: #0e0e0e;
  opacity: 0;
  transition: opacity 0.9s var(--ease-out);
  pointer-events: none;
}

.stage-video-base.is-ready {
  opacity: 1;
}

.stage-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stage-video-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 14, 14, 0.06) 42%, rgba(14, 14, 14, 0.42));
}

.stage-grid,
.visual-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17, 18, 16, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 18, 16, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(circle at center, #000 15%, transparent 78%);
  mask-image: radial-gradient(circle at center, #000 15%, transparent 78%);
  pointer-events: none;
}

.stage-label {
  position: absolute;
  z-index: 5;
  color: rgba(17, 18, 16, 0.58);
}

.stage-label.is-top {
  top: 34px;
  left: 38px;
}

.stage-label.is-side {
  right: -61px;
  bottom: 106px;
  transform: rotate(-90deg);
}

.stage-package,
.stage-icon {
  position: absolute;
  z-index: 2;
}

.stage-package {
  top: 8.5%;
  right: 5.5%;
  width: 66%;
  transform: rotate(2.2deg) translateZ(10px);
}

.stage-package > img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 34px 84px rgba(15, 15, 15, 0.3);
}

.stage-icon {
  bottom: 8%;
  left: 7%;
  z-index: 4;
  width: 35%;
  transform: rotate(-7deg) translateZ(70px);
}

.stage-icon > img {
  width: 100%;
  border-radius: 23%;
  box-shadow: 0 34px 78px rgba(46, 20, 93, 0.35);
}

.stage-package figcaption,
.stage-icon figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 9px;
  font-style: normal;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stage-package figcaption span,
.stage-icon figcaption span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.stage-orbit {
  position: absolute;
  bottom: 10%;
  left: 3%;
  z-index: 1;
  width: 46%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 137, 117, 0.42);
  border-radius: 50%;
  transform: rotateX(68deg);
}

.stage-orbit span {
  position: absolute;
  top: 50%;
  right: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral-ink);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.hero-facts > div {
  min-height: 112px;
  padding: 27px 24px;
  border-left: 1px solid var(--line);
}

.hero-facts > div:first-child {
  border-left: 0;
}

.hero-facts dt {
  color: var(--ink-faint);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-facts dd {
  margin-top: 9px;
  font-size: 15px;
  font-weight: 760;
}

.manifesto {
  width: min(calc(100% - 48px), var(--reading));
  padding: clamp(130px, 15vw, 220px) 0;
  margin: 0 auto;
}

.section-index {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-faint);
}

.section-index > span {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 7px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--coral-ink);
  font-family: "Deluxe Edition", Georgia, serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
}

.manifesto h2,
.proof-head h2,
.choose-product > h2,
.questions h2,
.closing h2,
.vocabulary-bridge h2 {
  font-family: var(--display-font);
  font-weight: 730;
  letter-spacing: -0.06em;
  line-height: 0.98;
  text-wrap: balance;
}

.manifesto h2 {
  margin-top: 34px;
  font-size: clamp(52px, 7vw, 98px);
}

.manifesto h2 span {
  color: var(--coral-ink);
}

.manifesto-copy {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(32px, 7vw, 100px);
  width: min(100%, 760px);
  margin: 54px 0 0 auto;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
}

.product-story {
  position: relative;
  min-height: 100svh;
}

#if-english-dies,
#mfxconsole,
#demo,
#choose,
#questions {
  scroll-margin-top: calc(var(--header-height) + 44px);
}

.story-ied {
  border-top: 1px solid var(--line);
  background: var(--paper-bright);
}

.story-mfx {
  background: var(--night);
  color: var(--white);
}

.story-pin {
  width: min(calc(100% - 48px), var(--content));
  min-height: 100svh;
  padding: clamp(108px, 12vh, 138px) 0 40px;
  margin: 0 auto;
}

.story-head {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(480px, 1fr);
  align-items: end;
  gap: 40px;
  margin-bottom: clamp(24px, 4vh, 42px);
}

.story-head > div {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
}

.story-product {
  color: var(--coral-ink);
  white-space: nowrap;
}

.story-head h2 {
  max-width: 760px;
  font-family: var(--display-font);
  font-size: clamp(40px, 4.6vw, 66px);
  font-weight: 730;
  letter-spacing: -0.06em;
  line-height: 0.98;
  text-wrap: balance;
}

.story-mfx .section-index {
  color: var(--night-muted);
}

.story-mfx .section-index > span,
.story-mfx .story-product {
  color: var(--coral);
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.72fr);
  gap: clamp(30px, 4vw, 56px);
  height: clamp(480px, 58vh, 620px);
}

.story-visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.ied-visual {
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 78%, rgba(122, 76, 255, 0.12), transparent 34%),
    #ebe9e4;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.85);
}

.visual-grid {
  background-size: 36px 36px;
}

.visual-meta {
  position: absolute;
  top: 24px;
  left: 28px;
  z-index: 8;
  color: var(--ink-faint);
}

.ied-product-image {
  position: absolute;
  top: 22%;
  left: 8%;
  z-index: 3;
  width: 39%;
  border-radius: 23%;
  box-shadow: 0 28px 62px rgba(54, 31, 91, 0.27);
}

.scan-ring {
  position: absolute;
  top: 15%;
  left: 2%;
  z-index: 2;
  width: 51%;
  aspect-ratio: 1;
  border: 1px solid rgba(122, 76, 255, 0.36);
  border-radius: 50%;
}

.scan-ring::before,
.scan-ring::after {
  position: absolute;
  inset: 13%;
  border: 1px dashed rgba(17, 18, 16, 0.18);
  border-radius: 50%;
  content: "";
}

.scan-ring::after {
  inset: 30%;
}

.scan-ring > span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet), transparent);
  transform-origin: left;
}

.vocab-stack {
  position: absolute;
  top: 19%;
  right: 5%;
  z-index: 5;
  display: grid;
  width: 48%;
  gap: 11px;
}

.vocab-stack p {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 16px;
  padding: 17px 18px;
  border: 1px solid rgba(17, 18, 16, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 34px rgba(34, 32, 29, 0.08);
}

.vocab-stack small {
  grid-column: 1 / -1;
  color: var(--ink-faint);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.vocab-stack strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vocab-stack span {
  color: var(--violet);
  font-size: 12px;
  font-weight: 760;
}

.visual-status {
  position: absolute;
  right: 26px;
  bottom: 22px;
  left: 26px;
  z-index: 6;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid rgba(17, 18, 16, 0.12);
  border-radius: 12px;
  background: rgba(248, 247, 243, 0.86);
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 760;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.visual-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5ca56d;
}

.visual-status b {
  color: var(--ink-faint);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.story-copy {
  position: relative;
  min-width: 0;
  padding-left: 29px;
}

.story-progress {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: 2px;
  overflow: hidden;
  background: var(--line);
}

.story-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--coral-ink);
  transform: scaleY(0.04);
  transform-origin: top;
}

.story-mfx .story-progress {
  background: rgba(255, 255, 255, 0.12);
}

.story-mfx .story-progress span {
  background: var(--coral);
}

.story-steps {
  display: grid;
  height: 100%;
  padding: 0;
  list-style: none;
}

.story-steps li {
  display: grid;
  align-content: center;
  min-height: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.story-steps li:first-child {
  border-top: 1px solid var(--line);
}

.story-steps li > span {
  color: var(--coral-ink);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.story-steps h3 {
  margin-top: 8px;
  font-size: clamp(17px, 1.55vw, 21px);
  letter-spacing: -0.025em;
  line-height: 1.28;
}

.story-steps p {
  max-width: 440px;
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.65;
}

html.motion-ready:not(.motion-reduce) .story-steps li {
  opacity: 0.28;
}

html.motion-ready:not(.motion-reduce) .story-steps li:first-child {
  opacity: 1;
}

.story-mfx .story-steps li {
  border-color: var(--night-line);
}

.story-mfx .story-steps li > span {
  color: var(--coral);
}

.story-mfx .story-steps p {
  color: var(--night-muted);
}

.translation-proof,
.interface-proof,
.choose-product,
.questions {
  padding: clamp(120px, 14vw, 190px) 0;
}

.translation-proof {
  background: var(--paper-bright);
}

.proof-head {
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) minmax(480px, 1fr);
  align-items: start;
  gap: 40px;
  width: min(calc(100% - 48px), var(--reading));
  margin: 0 auto clamp(54px, 8vw, 90px);
}

.proof-head > div {
  display: grid;
  grid-template-columns: 1fr minmax(250px, 0.5fr);
  align-items: end;
  gap: 34px;
}

.proof-head h2 {
  font-size: clamp(44px, 5.6vw, 78px);
}

.proof-head > div > p {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

.translation-demo {
  width: min(calc(100% - 48px), var(--reading));
  overflow: hidden;
  margin: 0 auto;
  border: 1px solid rgba(17, 18, 16, 0.18);
  border-radius: var(--radius-lg);
  background: var(--night-soft);
  box-shadow: 0 38px 90px rgba(25, 24, 22, 0.18);
  color: var(--white);
}

.demo-window-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 58px;
  padding: 0 22px;
  border-bottom: 1px solid var(--night-line);
  background: #181818;
}

.demo-window-bar > span {
  display: flex;
  gap: 7px;
}

.demo-window-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #555;
}

.demo-window-bar i:first-child {
  background: var(--coral);
}

.demo-window-bar p,
.demo-window-bar b {
  color: var(--night-muted);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.demo-window-bar b {
  justify-self: end;
}

.translation-viewport {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    #101110;
  background-size: 48px 48px;
}

.resource-layer {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  padding: 46px clamp(26px, 6vw, 82px);
}

.resource-layer p {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  min-height: 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.resource-layer small {
  color: #8b8e89;
  font-size: 9px;
  font-weight: 800;
}

.resource-layer strong {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 650;
}

.resource-layer span {
  color: var(--night-muted);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 0.08em;
}

.resource-layer.is-localized {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--reveal)) 0 0);
  background: #171112;
}

.resource-layer.is-localized strong {
  color: #ffd5ce;
}

.resource-layer.is-localized span {
  color: var(--coral);
}

.translation-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--reveal);
  z-index: 3;
  width: 2px;
  background: var(--coral);
  transform: translateX(-1px);
  pointer-events: none;
}

.translation-divider i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  border: 2px solid var(--coral);
  border-radius: 50%;
  background: var(--night);
  box-shadow: 0 0 0 8px rgba(255, 137, 117, 0.12);
  transform: translate(-50%, -50%);
}

.translation-divider i::before,
.translation-divider i::after {
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--coral);
  border-left: 1px solid var(--coral);
  content: "";
}

.translation-divider i::before {
  left: 10px;
  transform: translateY(-50%) rotate(-45deg);
}

.translation-divider i::after {
  right: 10px;
  transform: translateY(-50%) rotate(135deg);
}

.translation-control {
  display: grid;
  grid-template-columns: auto 1fr 46px;
  align-items: center;
  gap: 18px;
  min-height: 78px;
  padding: 0 24px;
  border-top: 1px solid var(--night-line);
  background: #181818;
}

.translation-control label,
.translation-control output {
  color: var(--night-muted);
  font-size: 11px;
  font-weight: 760;
}

.translation-control output {
  justify-self: end;
  color: var(--coral);
}

.translation-control input {
  width: 100%;
  min-height: 44px;
  accent-color: var(--coral);
  cursor: ew-resize;
}

.vocabulary-bridge {
  position: relative;
  min-height: 94svh;
  overflow: hidden;
  background: var(--paper-bright);
}

.bridge-wipe {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 86%, rgba(255, 101, 86, 0.16), transparent 28%),
    var(--night);
  transform-origin: bottom;
}

.bridge-content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  width: min(calc(100% - 48px), var(--reading));
  min-height: 94svh;
  padding: 100px 0;
  margin: 0 auto;
  color: var(--white);
}

.vocabulary-bridge .section-index {
  color: var(--night-muted);
}

.vocabulary-bridge .section-index > span {
  color: var(--coral);
}

.vocabulary-bridge h2 {
  margin-top: 34px;
  font-size: clamp(70px, 10vw, 142px);
  line-height: 0.82;
}

.vocabulary-bridge h2 span {
  color: var(--coral);
}

.bridge-route {
  display: grid;
  grid-template-columns: 1fr auto 1.15fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin-top: clamp(58px, 8vw, 98px);
}

.bridge-route > div {
  min-height: 132px;
  padding: 24px;
  border: 1px solid var(--night-line);
  border-radius: var(--radius-md);
  background: var(--night-soft);
}

.bridge-route > div.is-core {
  border-color: rgba(255, 137, 117, 0.48);
  background: #1a1110;
}

.bridge-route small,
.bridge-route strong,
.bridge-route span {
  display: block;
}

.bridge-route small {
  color: var(--night-muted);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.bridge-route strong {
  margin-top: 21px;
  font-size: 18px;
}

.bridge-route span {
  margin-top: 4px;
  color: var(--coral);
  font-size: 11px;
}

.bridge-route > b {
  color: var(--coral);
  font-family: "Deluxe Edition", Georgia, serif;
  font-size: 20px;
  font-weight: 400;
}

.bridge-note {
  max-width: 680px;
  margin-top: 28px;
  color: var(--night-muted);
  font-size: 11px;
}

.mfx-logo-crop {
  flex: 0 0 auto;
  width: 190px;
  height: 48px;
}

.mfx-logo-crop img {
  position: absolute;
  top: -82px;
  left: 0;
  width: 194px;
  max-width: none;
}

.mfx-visual {
  border: 1px solid var(--night-line);
  background:
    radial-gradient(circle at 22% 15%, rgba(255, 255, 255, 0.1), transparent 34%),
    radial-gradient(circle at 84% 86%, rgba(255, 137, 117, 0.12), transparent 28%),
    var(--night-soft);
}

.mfx-visual .visual-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}

.mfx-visual .visual-meta {
  color: var(--night-muted);
}

.mfx-package-image {
  position: absolute;
  top: 12%;
  left: 5%;
  z-index: 2;
  width: 64%;
  border-radius: 18px;
  box-shadow: 0 34px 88px rgba(0, 0, 0, 0.5);
}

.mfx-shot-stack {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.mfx-shot-stack img {
  position: absolute;
  width: 46%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  box-shadow: 0 26px 62px rgba(0, 0, 0, 0.48);
}

.mfx-shot-stack img[data-ui-shot="search"] {
  right: 4%;
  bottom: 9%;
  z-index: 3;
}

.mfx-shot-stack img[data-ui-shot="browse"] {
  top: 14%;
  right: 6%;
  z-index: 2;
  width: 30%;
}

.mfx-shot-stack img[data-ui-shot="settings"] {
  top: 22%;
  right: 24%;
  z-index: 1;
  width: 29%;
}

.query-trail {
  position: absolute;
  right: 4%;
  bottom: 4%;
  z-index: 8;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  width: 50%;
}

.query-trail span {
  padding: 6px 9px;
  border: 1px solid rgba(255, 137, 117, 0.28);
  border-radius: 999px;
  background: rgba(14, 14, 14, 0.82);
  color: #ffd1c9;
  font-size: 9px;
  font-weight: 760;
}

.interface-proof,
.choose-product,
.questions {
  background: var(--night);
  color: var(--white);
}

.proof-head.is-dark .section-index,
.choose-product .section-index,
.questions .section-index {
  color: var(--night-muted);
}

.proof-head.is-dark .section-index > span,
.choose-product .section-index > span,
.questions .section-index > span {
  color: var(--coral);
}

.proof-head.is-dark > div > p {
  color: var(--night-muted);
}

.interface-shell {
  width: min(calc(100% - 48px), var(--reading));
  overflow: hidden;
  margin: 0 auto;
  border: 1px solid var(--night-line);
  border-radius: var(--radius-lg);
  background: var(--night-soft);
  box-shadow: 0 44px 100px rgba(0, 0, 0, 0.42);
}

.interface-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--night-line);
}

.interface-tabs button {
  position: relative;
  min-height: 68px;
  padding: 0 22px;
  border-right: 1px solid var(--night-line);
  background: transparent;
  color: var(--night-muted);
  text-align: left;
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease;
}

.interface-tabs button:last-child {
  border-right: 0;
}

.interface-tabs button::after {
  position: absolute;
  right: 20px;
  bottom: -1px;
  left: 20px;
  height: 2px;
  background: var(--coral);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--ease-out);
}

.interface-tabs button span {
  margin-right: 12px;
  color: #93959a;
  font-size: 9px;
  font-weight: 800;
}

.interface-tabs button:hover,
.interface-tabs button[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.035);
  color: var(--white);
}

.interface-tabs button[aria-selected="true"]::after {
  transform: scaleX(1);
}

.interface-stage {
  position: relative;
  min-height: 640px;
}

.interface-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(250px, 0.55fr);
  min-height: 640px;
}

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

.interface-media {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: clamp(28px, 5vw, 62px);
  border-right: 1px solid var(--night-line);
  background:
    radial-gradient(circle at 50% 100%, rgba(255, 137, 117, 0.12), transparent 42%),
    #101010;
}

.interface-media img {
  max-width: min(100%, 760px);
  max-height: 510px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.48);
}

.interface-caption {
  display: grid;
  align-content: end;
  padding: 42px;
}

.interface-caption small {
  color: var(--coral);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.interface-caption h3 {
  margin-top: 18px;
  font-family: var(--display-font);
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.interface-caption p {
  margin-top: 18px;
  color: var(--night-muted);
  font-size: 13px;
  line-height: 1.75;
}

.choose-product {
  width: auto;
}

.choose-product > .section-index,
.choose-product > h2,
.choice-lines,
.release-track {
  width: min(calc(100% - 48px), var(--reading));
  margin-right: auto;
  margin-left: auto;
}

.choose-product > h2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
  margin-top: 34px;
  font-size: clamp(40px, 5vw, 76px);
}

.choose-product > h2 .choose-phrase {
  white-space: nowrap;
}

.choose-product > h2 .is-accent {
  color: var(--coral);
}

.choice-lines {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: clamp(66px, 9vw, 112px);
}

.choice-lines article {
  display: flex;
  min-height: 470px;
  padding: 34px;
  border: 1px solid var(--night-line);
  border-radius: var(--radius-lg);
  background: var(--night-soft);
  flex-direction: column;
}

.choice-lines article > p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--night-muted);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.choice-lines article > p span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--night-line);
  border-radius: 50%;
  color: var(--coral);
}

.choice-lines h3 {
  margin-top: 54px;
  font-family: var(--display-font);
  font-size: clamp(34px, 4.2vw, 56px);
  letter-spacing: -0.05em;
}

.choice-lines ul {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 34px 0 0;
  color: var(--night-muted);
  list-style: none;
}

.choice-lines li {
  padding: 14px 0;
  border-top: 1px solid var(--night-line);
  font-size: 12px;
  line-height: 1.6;
}

.choice-lines a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 55px;
  padding: 0 18px;
  margin-top: auto;
  border-radius: 999px;
  background: #d5d5d5;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22), inset 0 1px #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 790;
  transition: background 200ms ease, transform 240ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .choice-lines a:hover {
    background: var(--white);
    transform: translateY(-2px);
  }
}

.choice-lines a b {
  color: var(--coral-ink);
  font-size: 17px;
}

.release-track {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) 1fr;
  gap: clamp(50px, 9vw, 120px);
  padding-top: clamp(120px, 14vw, 190px);
}

.release-track h3 {
  margin-top: 24px;
  font-family: var(--display-font);
  font-size: clamp(34px, 4.6vw, 58px);
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.release-track ol {
  position: relative;
  padding: 0 0 0 28px;
  list-style: none;
}

.release-track ol::before {
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 0;
  width: 1px;
  background: var(--night-line);
  content: "";
}

.release-track li {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: start;
  gap: 15px;
  padding: 23px 0;
  border-bottom: 1px solid var(--night-line);
}

.release-track li::before {
  position: absolute;
  top: 31px;
  left: -32px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--night);
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(255, 137, 117, 0.12);
  content: "";
}

.release-track li > span {
  color: #67686b;
  font-size: 10px;
  font-weight: 800;
}

.release-track strong,
.release-track small {
  display: block;
}

.release-track strong {
  font-size: 14px;
}

.release-track small {
  margin-top: 5px;
  color: var(--night-muted);
  font-size: 11px;
  line-height: 1.55;
}

.release-track li > b {
  padding: 5px 9px;
  border: 1px solid var(--night-line);
  border-radius: 999px;
  color: var(--coral);
  font-size: 9px;
  font-weight: 760;
  white-space: nowrap;
}

.questions {
  display: grid;
  grid-template-columns: minmax(300px, 0.58fr) 1fr;
  gap: clamp(70px, 10vw, 140px);
  width: auto;
  padding-right: max(24px, calc((100% - var(--reading)) / 2));
  padding-left: max(24px, calc((100% - var(--reading)) / 2));
  border-top: 1px solid var(--night-line);
}

.questions header {
  position: sticky;
  top: 130px;
  align-self: start;
}

.questions h2 {
  margin-top: 32px;
  font-size: clamp(48px, 5.8vw, 76px);
}

.faq-list {
  border-top: 1px solid var(--night-line);
}

.faq-list details {
  border-bottom: 1px solid var(--night-line);
}

.faq-list summary {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 15px;
  min-height: 86px;
  padding: 22px 58px 22px 0;
  font-size: 16px;
  font-weight: 720;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary > span {
  color: var(--coral);
  font-size: 9px;
  font-weight: 850;
}

.faq-list summary::after {
  position: absolute;
  top: 25px;
  right: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--night-line);
  border-radius: 50%;
  color: var(--night-muted);
  content: "+";
  font-size: 19px;
  transition: border-color 200ms ease, color 200ms ease, transform 260ms var(--ease-out);
}

.faq-list details[open] summary::after {
  border-color: var(--coral);
  color: var(--coral);
  transform: rotate(45deg);
}

.faq-list details > p {
  max-width: 650px;
  padding: 0 58px 28px 53px;
  color: var(--night-muted);
  font-size: 13px;
  line-height: 1.8;
}

.closing {
  padding: clamp(110px, 14vw, 190px) max(24px, calc((100% - var(--reading)) / 2));
  background:
    radial-gradient(circle at 90% 120%, rgba(255, 255, 255, 0.44), transparent 32%),
    var(--coral);
  color: var(--ink);
}

.closing .section-index {
  color: rgba(17, 18, 16, 0.78);
}

.closing .section-index > span {
  height: 32px;
  padding: 0 13px;
  color: var(--ink);
}

.closing h2 {
  max-width: 940px;
  margin-top: 34px;
  font-size: clamp(54px, 7.8vw, 108px);
}

.closing > p:not(.section-index) {
  max-width: 620px;
  margin-top: 30px;
  color: rgba(17, 18, 16, 0.7);
  font-size: 15px;
}

.text-action.is-dark-text {
  border-color: rgba(17, 18, 16, 0.35);
  color: var(--ink);
}

.product-dock {
  position: fixed;
  right: 22px;
  bottom: 18px;
  left: 22px;
  z-index: 480;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  width: min(calc(100% - 44px), 980px);
  min-height: 68px;
  padding: 8px 9px 8px 17px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(14, 14, 14, 0.94);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.3), inset 0 1px rgba(255, 255, 255, 0.08);
  color: var(--white);
  opacity: 0;
  transform: translateY(130%);
  transition: opacity 320ms ease, transform 480ms var(--ease-out);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  pointer-events: none;
}

body.dock-visible .product-dock {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dock-current {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.dock-current p {
  min-width: 0;
}

.dock-current small,
.dock-current strong {
  display: block;
}

.dock-current small {
  color: #77787c;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.dock-current strong {
  margin-top: 2px;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-dock nav {
  display: flex;
  align-items: center;
  gap: 3px;
}

.product-dock nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--night-muted);
  font-size: 10px;
  font-weight: 760;
  transition: background 200ms ease, color 200ms ease;
}

.product-dock nav a:hover,
.product-dock nav a[aria-current="location"] {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.product-dock nav a.dock-action {
  gap: 15px;
  padding-right: 12px;
  padding-left: 18px;
  background: #d5d5d5;
  color: var(--ink);
}

.dock-action b {
  color: var(--coral-ink);
  font-size: 15px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 154px;
  padding: 30px max(24px, calc((100% - var(--reading)) / 2)) 100px;
  border-top: 1px solid var(--night-line);
  background: var(--night);
  color: #898a8e;
  font-size: 10px;
}

.product-footer div {
  display: flex;
  gap: 22px;
}

.product-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--night-muted);
  transition: color 180ms ease;
}

.product-footer a:hover {
  color: var(--white);
}

@media (max-width: 1160px) {
  .site-pill {
    width: min(calc(100% - 28px), 1040px);
  }

  .brand-name {
    display: none;
  }

  .pill-nav a {
    padding: 0 12px;
  }

  .story-head {
    grid-template-columns: 0.3fr 1fr;
  }

  .story-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  }

  .vocab-stack {
    width: 51%;
  }

  .proof-head {
    grid-template-columns: 0.28fr 1fr;
  }

  .proof-head > div {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .proof-head > div > p {
    max-width: 560px;
  }
}

@media (max-width: 959px) {
  :root {
    --radius-xl: 30px;
    --radius-lg: 24px;
  }

  .site-pill {
    grid-template-columns: auto 1fr auto;
  }

  .pill-nav {
    justify-content: flex-end;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .pill-nav::-webkit-scrollbar {
    display: none;
  }

  .pill-nav a:nth-child(3),
  .pill-nav a:nth-child(4) {
    display: none;
  }

  .hero-stage {
    min-height: clamp(520px, 76vw, 680px);
  }

  .stage-package {
    top: 10%;
    right: 4%;
    width: 74%;
  }

  .stage-icon {
    bottom: 9%;
    left: 5%;
    width: 39%;
  }

  .manifesto-copy {
    margin-left: 0;
  }

  .product-story {
    min-height: auto;
  }

  .story-pin {
    min-height: auto;
    padding: 110px 0;
  }

  .story-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
    margin-bottom: 46px;
  }

  .story-head > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .story-layout {
    grid-template-columns: 1fr;
    height: auto;
  }

  .story-visual {
    min-height: 600px;
  }

  .story-copy {
    padding-left: 0;
  }

  .story-progress {
    display: none;
  }

  .story-steps {
    grid-template-columns: 1fr 1fr;
    height: auto;
  }

  .story-steps li,
  html.motion-ready:not(.motion-reduce) .story-steps li,
  html.motion-ready:not(.motion-reduce) .story-steps li:first-child {
    min-height: 220px;
    padding: 28px;
    border: 1px solid var(--line);
    opacity: 1;
  }

  .story-steps li:nth-child(even) {
    border-left: 0;
  }

  .story-steps li:nth-child(n + 3) {
    border-top: 0;
  }

  .story-mfx .story-steps li {
    border-color: var(--night-line);
  }

  .proof-head {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .bridge-route {
    grid-template-columns: 1fr;
  }

  .bridge-route > b {
    justify-self: center;
    transform: rotate(90deg);
  }

  .interface-stage,
  .interface-panel {
    min-height: 720px;
  }

  .interface-panel {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
  }

  .interface-media {
    min-height: 470px;
    border-right: 0;
    border-bottom: 1px solid var(--night-line);
  }

  .interface-caption {
    padding: 30px;
  }

  .choice-lines {
    grid-template-columns: 1fr;
  }

  .choose-product > h2 {
    grid-template-columns: 1fr;
    row-gap: 8px;
    font-size: clamp(44px, 7.5vw, 64px);
  }

  .choice-lines article {
    min-height: 420px;
  }

  .release-track,
  .questions {
    grid-template-columns: 1fr;
  }

  .questions header {
    position: static;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 60px;
    --radius-xl: 24px;
    --radius-lg: 20px;
    --radius-md: 16px;
  }

  .site-pill {
    top: 10px;
    width: calc(100% - 20px);
    min-height: var(--header-height);
    padding: 6px 7px;
  }

  .logo-crop {
    width: 82px;
    height: 26px;
  }

  .logo-crop img {
    top: -36px;
    width: 86px;
  }

  .brand-mark {
    min-height: 46px;
    padding-right: 7px;
  }

  .pill-nav a {
    min-height: 44px;
    padding: 0 10px;
    font-size: 10px;
  }

  .build-state {
    width: 38px;
    min-height: 38px;
    padding: 0;
    font-size: 0;
    justify-content: center;
  }

  .hero,
  .manifesto,
  .story-pin,
  .proof-head,
  .translation-demo,
  .bridge-content,
  .interface-shell,
  .choose-product > .section-index,
  .choose-product > h2,
  .choice-lines,
  .release-track {
    width: calc(100% - 32px);
  }

  .hero {
    padding-top: 132px;
  }

  .hero h1 {
    font-size: clamp(54px, 17vw, 82px);
    line-height: 0.91;
  }

  .hero-copy > p {
    font-size: 16px;
  }

  .hero-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

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

  .text-action {
    justify-content: center;
  }

  .hero-stage {
    min-height: 500px;
    margin-top: 54px;
  }

  .stage-label.is-top {
    top: 22px;
    left: 22px;
  }

  .stage-label.is-side {
    display: none;
  }

  .stage-package {
    top: 13%;
    right: 5%;
    width: 88%;
  }

  .stage-package > img {
    border-radius: 16px;
  }

  .stage-package figcaption {
    justify-content: flex-end;
    font-size: 7px;
  }

  .stage-icon {
    bottom: 10%;
    left: 7%;
    width: 47%;
  }

  .stage-icon figcaption {
    max-width: 180px;
    font-size: 7px;
  }

  .hero-facts {
    grid-template-columns: 1fr 1fr;
  }

  .hero-facts > div {
    min-height: 94px;
    padding: 20px 16px;
  }

  .hero-facts > div:nth-child(3) {
    border-left: 0;
  }

  .hero-facts > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .manifesto {
    padding: 110px 0;
  }

  .manifesto h2,
  .proof-head h2,
  .questions h2 {
    font-size: clamp(44px, 13vw, 64px);
  }

  .manifesto-copy {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 38px;
  }

  .story-pin {
    padding: 96px 0;
  }

  .story-head h2 {
    font-size: clamp(42px, 12vw, 60px);
  }

  .story-head > div {
    gap: 18px;
  }

  .story-visual {
    min-height: 510px;
  }

  .ied-product-image {
    top: 15%;
    left: 8%;
    width: 46%;
  }

  .scan-ring {
    top: 9%;
    left: 1%;
    width: 60%;
  }

  .vocab-stack {
    top: 39%;
    right: 5%;
    width: 72%;
  }

  .vocab-stack p {
    padding: 13px 14px;
  }

  .story-steps {
    grid-template-columns: 1fr;
  }

  .story-steps li,
  .story-steps li:nth-child(even),
  .story-steps li:nth-child(n + 3) {
    min-height: auto;
    padding: 28px 0;
    border: 0;
    border-top: 1px solid var(--line);
  }

  .story-steps li:last-child {
    border-bottom: 1px solid var(--line);
  }

  .story-mfx .story-steps li,
  .story-mfx .story-steps li:nth-child(even),
  .story-mfx .story-steps li:nth-child(n + 3) {
    border-color: var(--night-line);
  }

  .translation-proof,
  .interface-proof,
  .choose-product,
  .questions {
    padding: 100px 0;
  }

  .proof-head {
    margin-bottom: 44px;
  }

  .translation-viewport {
    min-height: 390px;
  }

  .resource-layer {
    padding: 28px 18px;
  }

  .resource-layer p {
    grid-template-columns: 30px 1fr;
    min-height: 60px;
  }

  .resource-layer span {
    display: none;
  }

  .resource-layer strong {
    font-size: 14px;
  }

  .translation-control {
    grid-template-columns: 1fr auto;
    gap: 4px 14px;
    min-height: 98px;
    padding: 16px 18px;
  }

  .translation-control input {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .vocabulary-bridge,
  .bridge-content {
    min-height: 100svh;
  }

  .vocabulary-bridge h2 {
    font-size: clamp(66px, 19vw, 96px);
  }

  .mfx-logo-crop {
    width: 160px;
    height: 42px;
  }

  .mfx-logo-crop img {
    top: -70px;
    width: 164px;
  }

  .mfx-package-image {
    top: 14%;
    left: 5%;
    width: 88%;
  }

  .mfx-shot-stack img[data-ui-shot="search"] {
    right: 4%;
    bottom: 11%;
    width: 62%;
  }

  .mfx-shot-stack img[data-ui-shot="browse"] {
    top: 43%;
    right: 57%;
    width: 36%;
  }

  .mfx-shot-stack img[data-ui-shot="settings"] {
    top: 50%;
    right: 36%;
    width: 34%;
  }

  .query-trail {
    right: 5%;
    bottom: 4%;
    width: 80%;
  }

  .interface-tabs button {
    min-height: 60px;
    padding: 0 12px;
    text-align: center;
  }

  .interface-tabs button span {
    display: block;
    margin: 0 0 2px;
  }

  .interface-stage,
  .interface-panel {
    min-height: 650px;
  }

  .interface-media {
    min-height: 430px;
    padding: 24px 16px;
  }

  .interface-caption {
    padding: 24px;
  }

  .choose-product > h2 {
    font-size: clamp(54px, 15vw, 76px);
  }

  .choice-lines article {
    min-height: 440px;
    padding: 26px;
  }

  .release-track {
    gap: 44px;
  }

  .release-track li {
    grid-template-columns: 30px 1fr;
  }

  .release-track li > b {
    grid-column: 2;
    justify-self: start;
  }

  .questions {
    gap: 50px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .faq-list summary {
    grid-template-columns: 30px 1fr;
    min-height: 80px;
    padding-right: 48px;
    font-size: 14px;
  }

  .faq-list details > p {
    padding-right: 0;
    padding-left: 45px;
  }

  .closing {
    padding: 100px 16px 150px;
  }

  .closing h2 {
    font-size: clamp(52px, 15vw, 76px);
  }

  .product-dock {
    right: 10px;
    bottom: 10px;
    left: 10px;
    grid-template-columns: 1fr auto;
    width: calc(100% - 20px);
    min-height: 62px;
    padding: 7px 8px 7px 14px;
  }

  .dock-current small,
  .product-dock nav a:not(.dock-action) {
    display: none;
  }

  .dock-current strong {
    max-width: 150px;
    font-size: 10px;
  }

  .product-dock nav a.dock-action {
    min-height: 46px;
  }

  .product-footer {
    align-items: flex-start;
    min-height: 210px;
    padding: 30px 16px 120px;
    flex-direction: column;
  }
}

@media (min-width: 960px) and (max-height: 820px) {
  .story-pin {
    padding-top: 92px;
    padding-bottom: 24px;
  }

  .story-head {
    margin-bottom: 20px;
  }

  .story-head h2 {
    font-size: clamp(36px, 4.2vw, 54px);
  }

  .story-layout {
    height: 430px;
  }

  .story-steps li {
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

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

  .product-page *,
  .product-page *::before,
  .product-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html.motion-reduce .story-steps li {
    opacity: 1;
  }
}

@media (prefers-contrast: more) {
  :root {
    --line: rgba(17, 18, 16, 0.42);
    --line-strong: rgba(17, 18, 16, 0.68);
    --ink-soft: #2d2f2b;
    --ink-faint: #4a4d47;
    --night-line: rgba(255, 255, 255, 0.34);
    --night-muted: #e1e2e6;
  }
}

/* --------------------------------------------------------------------------
   Browser review round 2: readable typography, staged product stories,
   shared navigation motion, and evidence-led interaction.
   -------------------------------------------------------------------------- */

.site-pill {
  width: min(calc(100% - 36px), 1320px);
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
}

.pill-nav {
  position: relative;
  isolation: isolate;
  width: fit-content;
  max-width: 100%;
  padding: 4px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.pill-nav-slider {
  --nav-slider-x: 0px;
  --nav-slider-width: 0px;
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  z-index: -1;
  width: var(--nav-slider-width);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 8px 22px rgba(0, 0, 0, 0.18);
  transform: translate3d(var(--nav-slider-x), 0, 0);
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
  contain: layout paint;
  will-change: transform;
  pointer-events: none;
}

.pill-nav-slider.is-instant {
  transition: none;
}

.pill-nav a {
  position: relative;
  z-index: 1;
  min-height: 40px;
  padding: 0 14px;
  background: transparent !important;
  transition: color 180ms ease;
}

.header-tools,
.future-pages {
  display: flex;
  align-items: center;
}

.header-tools {
  gap: 10px;
}

.future-pages {
  gap: 4px;
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.future-pages span {
  min-height: 34px;
  padding: 0 9px;
  border: 1px dashed rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 9px;
  font-weight: 760;
  line-height: 32px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  cursor: not-allowed;
}

.future-pages a {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 9px;
  font-weight: 760;
  line-height: 32px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color 200ms ease, color 200ms ease, background 200ms ease;
}

.future-pages a:hover {
  border-color: rgba(255, 255, 255, 0.38);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.future-pages a[aria-current="page"] {
  border-color: rgba(255, 137, 117, 0.5);
  color: var(--coral);
}

.build-state {
  min-height: 42px;
  padding: 0 13px;
}

.hero-heading,
.eyebrow {
  width: 100%;
  text-align: center;
}

.hero h1 {
  font-size: clamp(64px, 8vw, 118px);
  font-stretch: normal;
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.hero-line {
  padding: 0.1em 0.1em 0.2em;
  margin: -0.1em -0.1em -0.2em;
  text-align: center;
}

.stage-package figcaption,
.stage-icon figcaption {
  position: absolute;
  z-index: 6;
  width: max-content;
  max-width: calc(100% - 24px);
  padding: 8px 10px;
  margin: 0;
  border: 1px solid rgba(17, 18, 16, 0.12);
  border-radius: 999px;
  background: rgba(248, 247, 243, 0.9);
  box-shadow: 0 12px 28px rgba(17, 18, 16, 0.12);
  color: var(--ink);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.stage-package figcaption {
  right: 18px;
  bottom: 18px;
}

.stage-icon figcaption {
  bottom: 12px;
  left: 12px;
}

.manifesto h2,
.proof-head h2,
.choose-product > h2,
.questions h2,
.closing h2,
.vocabulary-bridge h2,
.story-head h2,
.release-track h3,
.interface-caption h3 {
  font-stretch: normal;
  letter-spacing: -0.04em;
  line-height: 1.06;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: pretty;
}

.manifesto h2 {
  max-width: 1000px;
  font-size: clamp(52px, 5.5vw, 84px);
  line-height: 1.04;
}

.manifesto-copy {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 6vw, 72px);
  margin: 44px 0 0;
}

.manifesto-copy p {
  max-width: 38ch;
}

.manifesto-copy small {
  display: block;
  margin-bottom: 12px;
  color: var(--coral-ink);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.story-head {
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: start;
  gap: 42px;
  margin-bottom: clamp(28px, 4vh, 40px);
}

.story-head > div,
.story-identity,
.story-title-block {
  display: block;
}

.story-mini-mark {
  display: block;
  margin-bottom: 18px;
}

.story-mini-mark.is-app {
  width: 46px;
  height: 46px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(54, 31, 91, 0.18);
}

.story-mini-mark.is-app img {
  width: 100%;
}

.mfx-logo-crop.story-mini-mark {
  width: 132px;
  height: 32px;
  margin-bottom: 18px;
}

.mfx-logo-crop.story-mini-mark img {
  top: -47px;
  width: 136px;
}

.story-product {
  margin-bottom: 12px;
  color: var(--coral-ink);
}

.story-mfx .story-product {
  color: var(--coral);
}

.story-head h2 {
  max-width: none;
  font-family: var(--brand-font);
  font-size: clamp(50px, 5vw, 72px);
  font-weight: 760;
  line-height: 1;
}

.story-deck {
  max-width: 32ch;
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.45;
}

.story-mfx .story-deck {
  color: var(--night-muted);
}

.story-layout {
  height: clamp(500px, 58vh, 630px);
}

.story-visual {
  isolation: isolate;
}

.story-scene-deck {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.story-scene {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.story-scene.is-active {
  opacity: 1;
  visibility: visible;
}

.visual-meta {
  right: 28px;
  display: flex;
  justify-content: space-between;
  z-index: 18;
}

.visual-meta span {
  color: var(--coral-ink);
}

.story-mfx .visual-meta span {
  color: var(--coral);
}

.scene-caption {
  position: absolute;
  right: 28px;
  bottom: 82px;
  left: 28px;
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.scene-caption small {
  color: var(--coral-ink);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.scene-caption strong {
  font-size: 13px;
}

.scene-caption span,
.scene-caption kbd {
  margin-left: auto;
  color: var(--ink-faint);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.story-mfx .scene-caption {
  color: var(--white);
}

.story-mfx .scene-caption small,
.story-mfx .scene-caption kbd {
  color: var(--coral);
}

.ied-scene[data-story-scene="identify"] {
  display: grid;
  place-items: center;
  padding: 72px 34px 104px;
}

.ied-scan-core {
  position: relative;
  width: min(55%, 390px);
  aspect-ratio: 1;
}

.ied-scan-core .ied-product-image {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 70%;
  transform: translate(-50%, -50%);
}

.ied-scan-core .scan-ring {
  top: 0;
  left: 0;
  width: 100%;
}

/* 真实界面截图(2026-08-17):场景 1/2 直接展示工具真实 UI,抽象扫描层退成叠加动效。
   布局与 mfx 竖图同一套绝对定位+定高思路,避免 grid 百分比高度的解析歧义。 */
.ied-scan-core.is-app-shot,
.ied-review-shot {
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  width: auto;
  max-width: 88%;
  height: calc(100% - 190px);
  aspect-ratio: 36 / 25;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.5);
}

.ied-app-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 扫描擦入带:GSAP 把 span scaleX 从 0 推到 1,在真实界面上扫过一次 */
.ied-scan-core.is-app-shot .scan-ring {
  inset: 0;
  width: auto;
  aspect-ratio: auto;
  border: 0;
  border-radius: inherit;
}

.ied-scan-core.is-app-shot .scan-ring::before,
.ied-scan-core.is-app-shot .scan-ring::after {
  display: none;
}

.ied-scan-core.is-app-shot .scan-ring > span {
  top: 0;
  bottom: 0;
  height: auto;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(122, 76, 255, 0.1) 34%,
    rgba(255, 137, 117, 0.2) 50%,
    rgba(122, 76, 255, 0.1) 66%,
    transparent 100%
  );
}

/* match-line 移进截图容器底部,压在深色 UI 上仍可读 */
.ied-review-shot .match-line {
  right: 20px;
  bottom: 16px;
  left: 20px;
  z-index: 4;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.resource-count {
  position: absolute;
  top: 76px;
  right: 30px;
  display: grid;
  justify-items: end;
}

.resource-count b {
  font-family: var(--brand-font);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
}

.resource-count span {
  margin-top: 7px;
  color: var(--ink-faint);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.ied-scene[data-story-scene="verify"] {
  display: grid;
  grid-template-columns: minmax(150px, 0.38fr) minmax(280px, 1fr);
  align-items: center;
  gap: 36px;
  padding: 76px 36px 92px;
}

.verify-source {
  display: grid;
  justify-items: center;
  gap: 16px;
}

.verify-source img {
  width: min(100%, 170px);
  border-radius: 23%;
  box-shadow: 0 24px 54px rgba(54, 31, 91, 0.24);
}

.verify-source span {
  color: var(--ink-faint);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.ied-scene .vocab-stack {
  position: relative;
  top: auto;
  right: auto;
  width: 100%;
}

.ied-scene .vocab-stack p {
  grid-template-columns: minmax(0, 1fr) auto;
}

.ied-scene .vocab-stack strong {
  min-width: 0;
}

.match-line {
  position: absolute;
  right: 36px;
  bottom: 84px;
  left: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #4f8d60;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.match-line i {
  height: 1px;
  background: linear-gradient(90deg, #5ca56d, rgba(92, 165, 109, 0.08));
  flex: 1;
}

.ied-scene[data-story-scene="process"] {
  display: grid;
  place-items: center;
  padding: 76px 42px 94px;
}

.workflow-hub {
  position: relative;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 158px;
  aspect-ratio: 1;
  border: 1px solid rgba(122, 76, 255, 0.44);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #fff, #e6e0f6 76%);
  box-shadow: 0 22px 58px rgba(78, 52, 125, 0.18);
  text-align: center;
}

.workflow-hub small,
.workflow-hub strong,
.workflow-hub span {
  display: block;
}

.workflow-hub small {
  color: var(--violet);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.workflow-hub strong {
  margin-top: 5px;
  font-size: 24px;
}

.workflow-hub span {
  color: var(--ink-faint);
  font-size: 9px;
}

.workflow-nodes {
  position: absolute;
  inset: 76px 54px 92px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 96px 190px;
}

.workflow-nodes::before,
.workflow-nodes::after {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  background: rgba(122, 76, 255, 0.2);
  content: "";
  transform: translate(-50%, -50%);
}

.workflow-nodes::before {
  width: 72%;
  height: 1px;
}

.workflow-nodes::after {
  width: 1px;
  height: 72%;
}

.workflow-nodes p {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(17, 18, 16, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 36px rgba(34, 32, 29, 0.08);
}

.workflow-nodes p:nth-child(even) {
  text-align: right;
}

.workflow-nodes span,
.workflow-nodes strong,
.workflow-nodes small {
  display: block;
}

.workflow-nodes span {
  color: var(--violet);
  font-size: 8px;
  font-weight: 850;
}

.workflow-nodes strong {
  margin-top: 10px;
  font-size: 14px;
}

.workflow-nodes small {
  margin-top: 3px;
  color: var(--ink-faint);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ied-scene[data-story-scene="rollback"] {
  display: grid;
  align-content: center;
  padding: 72px 58px 100px;
}

.backup-stack {
  position: relative;
  display: grid;
  width: min(100%, 620px);
  margin: 0 auto;
}

.backup-stack span {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  min-height: 82px;
  padding: 0 22px;
  border: 1px solid rgba(17, 18, 16, 0.13);
  border-radius: 16px;
  background: rgba(248, 247, 243, 0.94);
  box-shadow: 0 18px 38px rgba(34, 32, 29, 0.08);
}

.backup-stack span + span {
  margin-top: -10px;
}

.backup-stack span:nth-child(2) {
  margin-right: 24px;
  margin-left: 24px;
}

.backup-stack span:nth-child(3) {
  margin-right: 48px;
  margin-left: 48px;
}

.backup-stack small {
  color: var(--coral-ink);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.backup-stack b {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rollback-path {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 18px;
  width: min(100%, 620px);
  margin: 30px auto 0;
}

.rollback-path i {
  grid-column: 1 / -1;
  height: 2px;
  background: linear-gradient(90deg, #5ca56d, rgba(92, 165, 109, 0.16));
}

.rollback-path strong {
  color: #4f8d60;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.rollback-path span {
  color: var(--ink-faint);
  font-size: 10px;
}

.mfx-scene {
  display: grid;
  place-items: center;
  padding: 72px 34px 104px;
}

.mfx-scene .mfx-package-image {
  position: relative;
  top: auto;
  left: auto;
  width: min(82%, 650px);
  max-height: 78%;
  object-fit: contain;
  border-radius: 20px;
}

.mfx-scene > img[data-ui-shot] {
  position: relative;
  width: min(82%, 700px);
  max-height: 76%;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.5);
}

.mfx-scene[data-story-scene="browse"] > img,
.mfx-scene[data-story-scene="settings"] > img {
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  width: auto;
  height: calc(100% - 190px);
  max-width: none;
  max-height: none;
  margin-inline: auto;
}

.mfx-scene .query-trail {
  right: 28px;
  bottom: 82px;
  width: auto;
}

.story-steps li[aria-current="step"] h3 {
  color: currentColor;
}

.story-steps h3 {
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.34;
}

.story-steps p {
  font-size: 12px;
  line-height: 1.7;
}

.proof-head {
  width: min(calc(100% - 48px), var(--content));
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 42px;
}

.proof-head > div {
  grid-template-columns: minmax(0, 680px) minmax(280px, 320px);
  justify-content: space-between;
  align-items: end;
  gap: 44px;
}

.proof-head h2 {
  font-size: clamp(46px, 4.5vw, 68px);
  line-height: 1.08;
}

.proof-head > div > p {
  font-size: 14px;
  line-height: 1.75;
}

.translation-demo {
  position: relative;
  transform-style: preserve-3d;
  transition: box-shadow 260ms var(--ease-out);
}

.translation-demo.is-pressed {
  box-shadow: 0 24px 62px rgba(25, 24, 22, 0.22);
}

.surface-light {
  position: absolute;
  inset: 0;
  z-index: 8;
  border-radius: inherit;
  background: radial-gradient(circle 240px at var(--surface-x) var(--surface-y), rgba(255, 255, 255, 0.13), transparent 68%);
  opacity: 0.85;
  pointer-events: none;
}

.translation-viewport {
  cursor: ew-resize;
  touch-action: none;
  transform-style: preserve-3d;
  will-change: transform;
}

.translation-viewport.is-dragging {
  cursor: grabbing;
}

.translation-divider {
  pointer-events: none;
}

.translation-drag-hint {
  position: absolute;
  right: 20px;
  bottom: 18px;
  z-index: 7;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(14, 14, 14, 0.74);
  color: var(--night-muted);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.06em;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.translation-drag-hint span {
  color: var(--coral);
}

.vocabulary-bridge h2 {
  max-width: 920px;
  font-size: clamp(62px, 7vw, 100px);
  line-height: 1;
}

.bridge-lead {
  max-width: 650px;
  margin-top: 30px;
  color: var(--night-muted);
  font-size: 15px;
  line-height: 1.8;
}

.bridge-route {
  position: relative;
  grid-template-columns: minmax(0, 1fr) 220px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 68px);
  margin-top: clamp(62px, 8vw, 94px);
}

.bridge-route > .bridge-endpoint {
  position: relative;
  z-index: 2;
  min-height: 178px;
  padding: 28px 0;
  border: 0;
  border-top: 1px solid var(--night-line);
  border-bottom: 1px solid var(--night-line);
  border-radius: 0;
  background: transparent;
}

.bridge-route small,
.bridge-route strong,
.bridge-route span,
.bridge-route p {
  display: block;
}

.bridge-route small {
  color: var(--night-muted);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.bridge-route strong {
  margin-top: 22px;
  font-size: clamp(22px, 2.2vw, 30px);
}

.bridge-route span {
  margin-top: 5px;
  color: var(--coral);
  font-size: 12px;
}

.bridge-route p {
  max-width: 34ch;
  margin-top: 18px;
  color: var(--night-muted);
  font-size: 11px;
  line-height: 1.7;
}

.bridge-core {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 220px;
  aspect-ratio: 1;
  padding: 26px;
  border: 1px solid rgba(255, 137, 117, 0.42);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, rgba(255, 137, 117, 0.18), transparent 42%), #171110;
  box-shadow: 0 0 80px rgba(255, 101, 86, 0.1);
  text-align: center;
}

.bridge-core i {
  position: absolute;
  top: 50%;
  right: -72%;
  left: -72%;
  z-index: -1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 137, 117, 0.7), transparent);
}

.bridge-core strong {
  margin-top: 9px;
  font-size: 17px;
}

.bridge-core span {
  margin-top: 5px;
}

.interface-shell {
  width: min(calc(100% - 48px), var(--content));
}

.interface-panel {
  grid-template-columns: minmax(0, 1fr) 360px;
  min-height: 610px;
}

.interface-stage {
  min-height: 610px;
}

.interface-caption {
  align-content: center;
  padding: 34px;
}

.interface-caption h3 {
  font-size: clamp(30px, 2.5vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  word-break: normal;
  overflow-wrap: anywhere;
}

.interface-caption p {
  font-size: 14px;
  line-height: 1.7;
}

.choose-product > h2 {
  max-width: 960px;
  font-size: clamp(54px, 6.2vw, 88px);
  line-height: 1.04;
}

.choice-lines h3 {
  font-family: var(--brand-font);
  font-size: clamp(36px, 3.5vw, 48px);
  font-stretch: normal;
  font-weight: 760;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.release-track {
  grid-template-columns: minmax(340px, 0.48fr) minmax(0, 1fr);
  gap: clamp(54px, 7vw, 84px);
}

.release-track h3 {
  max-width: 10em;
  font-size: clamp(34px, 3.4vw, 44px);
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.community-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  margin-top: 13px;
  border: 1px solid rgba(255, 137, 117, 0.28);
  border-radius: 999px;
  background: rgba(255, 137, 117, 0.08);
  color: #ffd1c9;
  font-size: 10px;
  font-weight: 760;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 220ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .community-link:hover {
    border-color: rgba(255, 137, 117, 0.56);
    background: rgba(255, 137, 117, 0.14);
    transform: translateY(-1px);
  }
}

.questions {
  grid-template-columns: 360px minmax(0, 1fr);
  gap: clamp(58px, 7vw, 86px);
}

.questions h2 {
  margin-top: 28px;
  font-size: clamp(42px, 3.6vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.closing {
  background:
    radial-gradient(circle at 88% 110%, rgba(255, 255, 255, 0.52), transparent 34%),
    linear-gradient(135deg, #e8e3dd 0%, #d8cec7 68%, #c9bdb5 100%);
}

.closing h2 {
  max-width: 1060px;
  font-size: clamp(52px, 5.5vw, 78px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.closing .button {
  border: 0;
  cursor: pointer;
}

.community-dialog {
  width: min(calc(100% - 32px), 520px);
  max-height: calc(100svh - 32px);
  padding: 0;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: transparent;
  color: var(--white);
}

.community-dialog::backdrop {
  background: rgba(5, 5, 5, 0.76);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.community-dialog-card {
  position: relative;
  max-height: calc(100svh - 32px);
  padding: 34px;
  overflow: auto;
  border-radius: inherit;
  background: #121212;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.5);
}

.community-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--night-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
}

.community-dialog h2 {
  max-width: 380px;
  margin-top: 28px;
  font-family: var(--display-font);
  font-size: clamp(30px, 7vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.community-dialog-card > p:not(.section-index) {
  margin-top: 16px;
  color: var(--night-muted);
  font-size: 13px;
  line-height: 1.7;
}

.community-dialog-card > p strong {
  color: var(--white);
}

.community-dialog img {
  width: min(100%, 380px);
  margin: 24px auto 0;
  border-radius: 18px;
}

/* Narrow screens and reduced motion use a swipeable, non-pinned evidence deck. */
@media (max-width: 959px) {
  .site-pill {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
  }

  .future-pages {
    display: none;
  }

  .pill-nav {
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
    margin: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .pill-nav::-webkit-scrollbar {
    display: none;
  }

  .pill-nav a,
  .pill-nav a:nth-child(3),
  .pill-nav a:nth-child(4) {
    display: inline-flex;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .manifesto-copy,
  .proof-head,
  .proof-head > div,
  .bridge-route,
  .release-track,
  .questions {
    grid-template-columns: minmax(0, 1fr);
  }

  .story-layout {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
  }

  .story-visual {
    min-height: clamp(540px, 82vw, 640px);
  }

  .story-scene-deck {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-padding-inline: 0;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y pinch-zoom;
    scrollbar-color: var(--coral) rgba(255, 255, 255, 0.08);
    scrollbar-width: thin;
  }

  .story-scene {
    position: relative;
    inset: auto;
    width: 100%;
    min-width: 100%;
    height: 100%;
    flex: 0 0 100%;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    transform: none !important;
  }

  .story-copy {
    min-width: 0;
  }

  .proof-head > div {
    align-items: start;
    gap: 24px;
  }

  .bridge-route {
    gap: 32px;
  }

  .bridge-core {
    justify-self: center;
  }

  .bridge-core i {
    top: -58px;
    right: auto;
    bottom: -58px;
    left: 50%;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, rgba(255, 137, 117, 0.7), transparent);
    transform: translateX(-50%);
  }

  .interface-shell {
    width: min(calc(100% - 32px), var(--content));
  }

  .interface-panel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
  }

  .interface-stage,
  .interface-panel {
    min-height: 0;
  }

  .interface-media {
    min-width: 0;
    min-height: 470px;
  }

  .release-track h3 {
    max-width: none;
  }

  .manifesto h2,
  .proof-head h2,
  .choose-product > h2,
  .questions h2,
  .closing h2,
  .vocabulary-bridge h2,
  .story-head h2,
  .release-track h3,
  .interface-caption h3 {
    word-break: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 720px) {
  .site-pill {
    gap: 6px;
  }

  .build-state {
    justify-content: center;
    width: 42px;
    min-height: 42px;
    padding: 0;
  }

  .pill-nav {
    padding: 3px;
  }

  .pill-nav a {
    min-height: 40px;
    padding: 0 11px;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 68px);
    line-height: 0.98;
  }

  .manifesto h2,
  .proof-head h2,
  .questions h2 {
    font-size: clamp(40px, 12vw, 56px);
    line-height: 1.08;
  }

  .story-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .story-head h2 {
    font-size: clamp(38px, 11.5vw, 54px);
    line-height: 1.04;
  }

  .story-visual {
    min-height: 520px;
  }

  .visual-meta {
    right: 18px;
    left: 18px;
  }

  .scene-caption {
    right: 18px;
    bottom: 72px;
    left: 18px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .scene-caption span,
  .scene-caption kbd {
    width: 100%;
    margin-left: 0;
  }

  .ied-scene[data-story-scene="identify"] {
    padding: 70px 20px 104px;
  }

  .ied-scan-core {
    width: min(70%, 300px);
  }

  .ied-scan-core.is-app-shot,
  .ied-review-shot {
    top: 70px;
    max-width: 92%;
    height: calc(100% - 192px);
  }

  /* 宽截图在窄屏会顶到右上角统计角标——窄屏藏掉它(装饰性统计,不影响理解) */
  .ied-scene .resource-count {
    display: none;
  }

  .resource-count {
    top: 72px;
    right: 18px;
  }

  .ied-scene[data-story-scene="verify"] {
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    gap: 16px;
    padding: 72px 18px 92px;
  }

  .verify-source {
    grid-template-columns: auto 1fr;
    justify-content: center;
    justify-items: start;
    align-items: center;
  }

  .verify-source img {
    width: 70px;
    border-radius: 18px;
  }

  .match-line {
    right: 18px;
    bottom: 72px;
    left: 18px;
  }

  .ied-scene[data-story-scene="process"] {
    padding: 72px 16px 94px;
  }

  .workflow-hub {
    width: 124px;
  }

  .workflow-hub strong {
    font-size: 19px;
  }

  .workflow-nodes {
    inset: 72px 16px 94px;
    gap: 112px 16px;
  }

  .workflow-nodes p {
    padding: 12px;
  }

  .ied-scene[data-story-scene="rollback"] {
    padding: 72px 16px 96px;
  }

  .backup-stack span {
    grid-template-columns: 88px minmax(0, 1fr);
    min-height: 76px;
    padding: 0 14px;
  }

  .backup-stack span:nth-child(2) {
    margin-right: 12px;
    margin-left: 12px;
  }

  .backup-stack span:nth-child(3) {
    margin-right: 24px;
    margin-left: 24px;
  }

  .mfx-scene {
    padding: 70px 18px 102px;
  }

  .mfx-scene .mfx-package-image,
  .mfx-scene > img[data-ui-shot] {
    width: min(92%, 520px);
    max-height: 68%;
  }

  .mfx-scene[data-story-scene="browse"] > img,
  .mfx-scene[data-story-scene="settings"] > img {
    top: 70px;
    height: calc(100% - 192px);
  }

  .mfx-scene .query-trail {
    right: 16px;
    bottom: 118px;
    left: 16px;
    justify-content: flex-end;
  }

  .vocabulary-bridge h2 {
    font-size: clamp(48px, 14vw, 68px);
    line-height: 1.06;
  }

  .bridge-core {
    width: min(66vw, 220px);
  }

  .proof-head,
  .proof-head > div {
    gap: 22px;
  }

  .interface-media {
    min-height: 390px;
    padding: 22px 12px;
  }

  .interface-caption h3 {
    font-size: clamp(28px, 9vw, 38px);
  }

  .choose-product > h2 {
    font-size: clamp(46px, 13.5vw, 68px);
    line-height: 1.06;
  }

  .choice-lines h3 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .release-track h3 {
    font-size: clamp(32px, 9vw, 42px);
  }

  .closing h2 {
    font-size: clamp(44px, 12.5vw, 64px);
    line-height: 1.1;
  }

  .community-dialog-card {
    padding: 28px 22px;
  }
}

html.motion-reduce .story-scene-deck,
html.motion-fallback .story-scene-deck {
  position: relative;
  inset: auto;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
}

.story-scene-deck:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: -5px;
}

.interface-panel:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: -5px;
}

.translation-viewport {
  touch-action: pan-y pinch-zoom;
}

html.motion-reduce .story-scene,
html.motion-fallback .story-scene {
  position: relative;
  inset: auto;
  width: 100%;
  min-width: 100%;
  height: 100%;
  flex: 0 0 100%;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
  scroll-snap-align: start;
  transform: none !important;
}

html.motion-reduce .story-layout,
html.motion-fallback .story-layout {
  grid-template-columns: minmax(0, 1fr);
  height: auto;
}

html.motion-reduce .story-visual,
html.motion-fallback .story-visual {
  min-height: clamp(540px, 68vw, 640px);
}

.story-steps li,
html.motion-ready:not(.motion-reduce) .story-steps li,
html.motion-ready:not(.motion-reduce) .story-steps li:first-child {
  position: relative;
  opacity: 1;
  transition: background 260ms ease, transform 260ms var(--ease-out);
}

.story-steps li[aria-current="step"] {
  padding-left: 0;
  background: linear-gradient(90deg, rgba(198, 56, 48, 0.08), transparent 72%);
}

.story-mfx .story-steps li[aria-current="step"] {
  background: linear-gradient(90deg, rgba(255, 137, 117, 0.1), transparent 72%);
}

.product-dock {
  visibility: hidden;
  transition:
    opacity 320ms ease,
    transform 480ms var(--ease-out),
    visibility 0s linear 480ms;
}

body.dock-visible .product-dock {
  visibility: visible;
  transition-delay: 0s;
}

/* --------------------------------------------------------------------------
   Browser review round 3: legibility, four-stage evidence, pointer physics,
   honest media placeholders, and an optional eye-friendly dark surface.
   -------------------------------------------------------------------------- */

.logo-crop {
  width: 106px;
  height: 38px;
}

.logo-crop img {
  top: -35px;
  width: 102px;
}

.mfx-logo-crop.story-mini-mark {
  width: 132px;
  height: 46px;
  overflow: hidden;
}

.mfx-logo-crop.story-mini-mark img {
  top: -44px;
  width: 128px;
}

.eye-mode-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.76);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.04em;
  white-space: nowrap;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.eye-mode-toggle span {
  font-size: 16px;
  line-height: 1;
  transform: rotate(0deg);
  transition: transform 420ms var(--ease-out);
}

.eye-mode-toggle:hover,
.eye-mode-toggle[aria-pressed="true"] {
  border-color: rgba(255, 137, 117, 0.4);
  background: rgba(255, 137, 117, 0.1);
  color: #ffe2dd;
}

.eye-mode-toggle[aria-pressed="true"] span {
  transform: rotate(180deg);
}

.hero h1 {
  max-width: 1220px;
  margin-inline: auto;
  font-size: clamp(56px, 6.25vw, 98px);
  line-height: 0.99;
}

.hero-line {
  min-height: 1.16em;
  padding: 0.04em 0.14em 0.2em;
  margin: -0.04em -0.14em -0.2em;
}

.hero-line > span {
  display: block;
  width: 100%;
  text-align: center;
}

[data-pointer-plane] {
  --pointer-plane-x: 0px;
  --pointer-plane-y: 0px;
  --pointer-plane-rx: 0deg;
  --pointer-plane-ry: 0deg;
  --pointer-plane-rz: 0deg;
  --pointer-glow-x: 50%;
  --pointer-glow-y: 50%;
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  transform:
    perspective(1200px)
    translate3d(var(--pointer-plane-x), var(--pointer-plane-y), 0)
    rotateX(var(--pointer-plane-rx))
    rotateY(var(--pointer-plane-ry))
    rotateZ(var(--pointer-plane-rz));
}

[data-pointer-plane].is-pointer-active {
  will-change: transform;
}

[data-pointer-plane]::after {
  position: absolute;
  inset: 0;
  z-index: 30;
  border-radius: inherit;
  background: radial-gradient(circle 260px at var(--pointer-glow-x) var(--pointer-glow-y), rgba(255, 255, 255, 0.11), transparent 70%);
  opacity: 0;
  content: "";
  pointer-events: none;
  transition: opacity 260ms ease;
}

[data-pointer-plane].is-pointer-active::after {
  opacity: 1;
}

.choice-lines article[data-pointer-plane] {
  position: relative;
  isolation: isolate;
}

.story-visual {
  perspective: 1100px;
}

@media (min-width: 960px) {
  .story-steps li,
  html.motion-ready:not(.motion-reduce) .story-steps li,
  html.motion-ready:not(.motion-reduce) .story-steps li:first-child {
    opacity: 0.64;
    transform: translate3d(0, 0, 0);
    transition: opacity 300ms ease, background 300ms ease, transform 360ms var(--ease-out);
  }

  .story-steps li[aria-current="step"] {
    opacity: 1;
    transform: translate3d(6px, 0, 0);
  }

  .vocabulary-bridge h2 {
    max-width: none;
    font-size: clamp(48px, 4.9vw, 76px);
    white-space: nowrap;
  }

  .choose-product > h2 {
    max-width: none;
    font-size: clamp(44px, 4.3vw, 66px);
    white-space: nowrap;
  }
}

.translation-demo {
  isolation: isolate;
}

.translation-viewport {
  user-select: none;
  -webkit-user-select: none;
}

.translation-viewport.is-dragging,
.translation-viewport.is-dragging * {
  user-select: none;
  -webkit-user-select: none;
}

.translation-viewport:focus-visible {
  outline: 3px solid #ff9b8b;
  outline-offset: -5px;
}

.translation-control {
  display: none;
}

.bridge-core i,
.bridge-core::before,
.bridge-core::after {
  display: none;
}

.mfx-capture-placeholder {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(88%, 700px);
  height: min(76%, 420px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: #15171b;
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.52);
}

.capture-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #22242a;
  color: rgba(255, 255, 255, 0.62);
  font-size: 8px;
  font-weight: 760;
  letter-spacing: 0.1em;
}

.capture-titlebar b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: #22184b;
  color: #a78cff;
  font-size: 11px;
  letter-spacing: 0;
}

.capture-titlebar small {
  margin-left: auto;
  color: var(--coral);
}

.capture-workspace {
  position: relative;
  display: grid;
  grid-template-columns: 18% minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
  background: linear-gradient(145deg, #0f1114, #1a1b20);
}

.capture-sidebar {
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  background: repeating-linear-gradient(180deg, transparent 0 25px, rgba(255, 255, 255, 0.045) 26px 27px);
}

.capture-canvas {
  position: relative;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(122, 76, 255, 0.12), transparent 48%);
  background-size: 28px 28px, 28px 28px, auto;
}

.capture-canvas i {
  position: absolute;
  left: 12%;
  width: 55%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.capture-canvas i:nth-child(1) { top: 28%; }
.capture-canvas i:nth-child(2) { top: 48%; width: 72%; }
.capture-canvas i:nth-child(3) { top: 68%; width: 42%; }

.capture-console {
  position: absolute;
  right: 8%;
  bottom: 8%;
  width: min(68%, 430px);
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(14, 16, 20, 0.96);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}

.capture-console kbd {
  position: absolute;
  top: -26px;
  right: 0;
  padding: 5px 8px;
  border: 1px solid rgba(255, 137, 117, 0.36);
  border-radius: 999px;
  background: #15171b;
  color: var(--coral);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.capture-console img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  object-position: top;
  opacity: 0.88;
}

.mfx-capture-placeholder > p {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 0 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--night-muted);
  font-size: 9px;
}

.mfx-capture-placeholder > p span {
  color: var(--coral);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.interface-tabs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.interface-media-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 50% 48%, rgba(255, 137, 117, 0.15), transparent 38%),
    #111317;
  background-size: 36px 36px, 36px 36px, auto, auto;
  text-align: center;
}

.interface-media-placeholder::before {
  position: absolute;
  width: min(70%, 520px);
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
  content: "";
}

.media-play {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  padding-left: 4px;
  border: 1px solid rgba(255, 137, 117, 0.48);
  border-radius: 50%;
  background: rgba(255, 137, 117, 0.12);
  color: #ffd0c8;
  box-shadow: 0 0 0 12px rgba(255, 137, 117, 0.045);
}

.interface-media-placeholder p {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  display: grid;
  gap: 4px;
}

.interface-media-placeholder small {
  color: var(--coral);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.interface-media-placeholder strong {
  color: var(--white);
  font-size: 16px;
}

.interface-media-placeholder p span {
  color: var(--night-muted);
  font-size: 10px;
}

html[data-eye-theme="dark"] {
  color-scheme: dark;
  --coral-ink: #d97769;
  background: #151513;
}

html[data-eye-theme="dark"] body {
  background: #151513;
}

html[data-eye-theme="dark"] .hero,
html[data-eye-theme="dark"] .manifesto,
html[data-eye-theme="dark"] .story-ied,
html[data-eye-theme="dark"] .translation-proof,
html[data-eye-theme="dark"] .closing {
  color: #eeede7;
}

html[data-eye-theme="dark"] .hero,
html[data-eye-theme="dark"] .manifesto,
html[data-eye-theme="dark"] .story-ied,
html[data-eye-theme="dark"] .translation-proof,
html[data-eye-theme="dark"] .vocabulary-bridge {
  background-color: #181816;
}

html[data-eye-theme="dark"] .hero-copy > p,
html[data-eye-theme="dark"] .hero-facts dt,
html[data-eye-theme="dark"] .hero-facts dd,
html[data-eye-theme="dark"] .manifesto-copy p,
html[data-eye-theme="dark"] .story-ied .story-deck,
html[data-eye-theme="dark"] .story-ied .story-steps p,
html[data-eye-theme="dark"] .story-ied .scene-caption span,
html[data-eye-theme="dark"] .proof-head > div > p {
  color: #aaa9a3;
}

html[data-eye-theme="dark"] .hero .eyebrow,
html[data-eye-theme="dark"] .manifesto .section-index,
html[data-eye-theme="dark"] .story-ied .section-index,
html[data-eye-theme="dark"] .translation-proof .section-index {
  color: #9c9b95;
}

html[data-eye-theme="dark"] .hero-stage,
html[data-eye-theme="dark"] .ied-visual {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 15% 90%, rgba(122, 76, 255, 0.13), transparent 34%),
    #20201e;
  background-size: 38px 38px, 38px 38px, auto, auto;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04), 0 28px 80px rgba(0, 0, 0, 0.22);
}

html[data-eye-theme="dark"] .hero-stage .stage-label,
html[data-eye-theme="dark"] .ied-visual .visual-meta,
html[data-eye-theme="dark"] .resource-count span,
html[data-eye-theme="dark"] .verify-source span,
html[data-eye-theme="dark"] .rollback-path span {
  color: #a9a8a2;
}

html[data-eye-theme="dark"] .stage-package figcaption,
html[data-eye-theme="dark"] .stage-icon figcaption,
html[data-eye-theme="dark"] .ied-scene .vocab-stack p,
html[data-eye-theme="dark"] .workflow-nodes p,
html[data-eye-theme="dark"] .backup-stack span,
html[data-eye-theme="dark"] .visual-status {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(35, 35, 32, 0.92);
  color: #eeede7;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2);
}

html[data-eye-theme="dark"] .workflow-hub {
  border-color: rgba(163, 133, 255, 0.5);
  background: radial-gradient(circle at 35% 28%, #34303e, #201d29 76%);
  color: #eeede7;
}

html[data-eye-theme="dark"] .workflow-hub span,
html[data-eye-theme="dark"] .workflow-nodes small,
html[data-eye-theme="dark"] .backup-stack b {
  color: #bbb9b2;
}

html[data-eye-theme="dark"] .story-ied .scene-caption {
  color: #eeede7;
}

html[data-eye-theme="dark"] .hero-facts {
  border-color: rgba(255, 255, 255, 0.12);
}

html[data-eye-theme="dark"] .hero-facts > div + div {
  border-color: rgba(255, 255, 255, 0.1);
}

html[data-eye-theme="dark"] .button.is-dark {
  background: #efeee8;
  color: #171715;
}

html[data-eye-theme="dark"] .text-action,
html[data-eye-theme="dark"] .text-action.is-dark-text {
  color: #d5d3cc;
}

html[data-eye-theme="dark"] .closing {
  background:
    radial-gradient(circle at 88% 110%, rgba(255, 137, 117, 0.09), transparent 34%),
    linear-gradient(135deg, #1a1917 0%, #22201d 68%, #27231f 100%);
}

html[data-eye-theme="dark"] .closing > p:not(.section-index) {
  color: #aaa9a3;
}

html[data-eye-theme="dark"] .closing .section-index {
  color: #9c9b95;
}

html[data-eye-theme="dark"] .closing .section-index > span {
  color: #eeede7;
}

@media (max-width: 1120px) {
  .eye-mode-toggle b {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .eye-mode-toggle {
    width: 38px;
    padding: 0;
  }
}

@media (max-width: 959px) {
  .hero h1 {
    font-size: clamp(48px, 10vw, 78px);
    line-height: 1.01;
  }

  [data-pointer-plane]::after {
    display: none;
  }

  .mfx-capture-placeholder {
    width: min(94%, 650px);
    height: min(72%, 390px);
  }

  .interface-tabs {
    grid-template-columns: repeat(4, minmax(86px, 1fr));
    overflow-x: auto;
  }
}

@media (max-width: 720px) {
  .logo-crop {
    width: 88px;
    height: 32px;
  }

  .logo-crop img {
    top: -29px;
    width: 86px;
  }

  .eye-mode-toggle {
    width: 36px;
    min-height: 36px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 60px);
    line-height: 1.04;
  }

  .vocabulary-bridge h2,
  .choose-product > h2 {
    white-space: normal;
  }

  .choose-product > h2 .choose-phrase {
    white-space: normal;
  }

  .mfx-logo-crop.story-mini-mark {
    height: 42px;
  }

  .mfx-logo-crop.story-mini-mark img {
    top: -40px;
    width: 118px;
  }

  .mfx-capture-placeholder {
    width: 100%;
    height: min(68%, 330px);
  }

  .capture-titlebar span {
    display: none;
  }

  .capture-console {
    right: 5%;
    width: 76%;
  }

  .interface-media-placeholder {
    min-height: 390px;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-pointer-plane],
  [data-pointer-plane]::after,
  .eye-mode-toggle span {
    transform: none !important;
    transition: none !important;
  }
}

/* ===== 站点级惯性滚动条（js/site-scroll-inertia.js） =====
 * 引擎启用时给 html 加 .native-smooth-ready：隐藏原生滚动条、关掉 smooth 滚动（避免与逐帧 scrollTo 打架），
 * 显示右侧惯性轨道；未启用（触屏/窄屏/减少动态）时退回美化过的原生细滚动条。
 */

html {
  scrollbar-width: thin;
  scrollbar-color: rgba(17, 18, 16, 0.32) transparent;
}

html[data-eye-theme="dark"] {
  scrollbar-color: rgba(238, 237, 231, 0.34) transparent;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: rgba(17, 18, 16, 0.3);
  background-clip: padding-box;
}

html[data-eye-theme="dark"] ::-webkit-scrollbar-thumb {
  background: rgba(238, 237, 231, 0.32);
  background-clip: padding-box;
}

html.native-smooth-ready {
  scroll-behavior: auto;
  scrollbar-width: none;
}

html.native-smooth-ready::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.scroll-ui {
  position: fixed;
  inset: 0 0 auto auto;
  z-index: 520;
  display: none;
  pointer-events: none;
}

html.native-smooth-ready .scroll-ui {
  display: block;
}

.scroll-rail {
  position: fixed;
  top: 96px;
  right: 12px;
  bottom: 96px;
  width: 8px;
  border-radius: 999px;
  background: rgba(128, 128, 122, 0.18);
  cursor: pointer;
  pointer-events: auto;
  touch-action: none;
}

.scroll-rail::before {
  position: absolute;
  inset: -10px -8px;
  content: "";
}

.scroll-thumb {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  min-height: 46px;
  border-radius: 999px;
  background: linear-gradient(#ffffff, rgba(255, 255, 255, 0.42));
  mix-blend-mode: difference;
  transform: translate3d(-50%, 0, 0);
  transition: width 0.18s ease;
}

.scroll-rail:hover .scroll-thumb,
.scroll-rail.is-dragging .scroll-thumb {
  width: 6px;
}

@media (max-width: 959px) {
  .scroll-rail {
    top: 84px;
    right: 8px;
    bottom: 84px;
  }
}

/* ===== 两侧氛围装饰(2026-08-17) =====
 * 宽屏时页面两侧留白较多:左右各一条竖排轨道(随滚动反向视差漂移) + 三枚缓慢浮动的十字标。
 * 仅 ≥1300px 显示;pointer-events 全关;reduce 偏好下浮动/视差都停。
 */

.side-ornaments {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: none;
  pointer-events: none;
}

@media (min-width: 1300px) {
  .side-ornaments {
    display: block;
  }
}

.side-rail {
  position: absolute;
  top: 50%;
  margin: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.34em;
  line-height: 1;
  color: rgba(17, 18, 16, 0.3);
  white-space: nowrap;
  writing-mode: vertical-rl;
  translate: 0 -50%;
}

.side-rail.is-left {
  left: 22px;
  rotate: 180deg;
}

.side-rail.is-right {
  right: 22px;
}

.side-mark {
  position: absolute;
  width: 13px;
  height: 13px;
  opacity: 0.55;
  animation: side-mark-float 7.5s ease-in-out infinite alternate;
}

.side-mark::before,
.side-mark::after {
  position: absolute;
  background: var(--coral);
  content: "";
}

.side-mark::before {
  top: 6px;
  left: 0;
  width: 13px;
  height: 1.5px;
}

.side-mark::after {
  top: 0;
  left: 6px;
  width: 1.5px;
  height: 13px;
}

.side-mark.is-a {
  top: 21%;
  left: 44px;
}

.side-mark.is-b {
  top: 64%;
  right: 52px;
  animation-delay: -2.4s;
  animation-duration: 9s;
}

.side-mark.is-c {
  top: 82%;
  left: 58px;
  animation-delay: -4.8s;
  animation-duration: 8.2s;
}

.side-mark.is-b::before,
.side-mark.is-b::after {
  background: var(--violet);
}

@keyframes side-mark-float {
  from {
    transform: translateY(-8px);
  }
  to {
    transform: translateY(8px);
  }
}

html[data-eye-theme="dark"] .side-rail {
  color: rgba(238, 237, 231, 0.26);
}

html[data-eye-theme="dark"] .side-mark {
  opacity: 0.42;
}

@media (prefers-reduced-motion: reduce) {
  .side-mark {
    animation: none;
  }

  .side-rail {
    transform: none !important;
  }
}
