:root {
  color-scheme: dark;
  --bg: #050811;
  --bg-deep: #03050b;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-2: rgba(255, 255, 255, 0.08);
  --fg: #f7f9ff;
  --fg-soft: #d9e0f2;
  --muted: #b4bdd2;
  --dim: #8b95ad;
  --border: rgba(255, 255, 255, 0.11);
  --border-strong: rgba(255, 255, 255, 0.16);
  --accent: #5b8cff;
  --accent-bright: #75a2ff;
  --purple: #a879ff;
  --green: #42d392;
  --amber: #ffc46b;
  --siri-cyan: #5bdaff;
  --siri-blue: #4b7cff;
  --siri-violet: #9b6bff;
  --siri-pink: #ff5ec8;
  --siri-mint: #5ef0c8;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --max: 1180px;
  --nav-h: 72px;
  --font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  --font-body: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  --font-mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  background: var(--bg);
}
body {
  margin: 0;
  min-height: 100vh;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  background:
    radial-gradient(ellipse 90% 60% at 78% -8%, rgba(75, 124, 255, 0.22), transparent 58%),
    radial-gradient(ellipse 55% 45% at 8% 18%, rgba(155, 107, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 88% 72%, rgba(66, 211, 146, 0.07), transparent 58%),
    radial-gradient(ellipse 40% 30% at 42% 100%, rgba(91, 218, 255, 0.06), transparent 60%),
    linear-gradient(168deg, #03050c 0%, #070d1a 42%, #0a1226 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  isolation: isolate;
}
/* Ambient atmosphere layer */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  contain: layout paint;
}
.ambient .orb {
  position: absolute;
  border-radius: 50%;
  /* 径向透明边缘替代大面积实时 blur：保留柔光层次，避免每帧重绘大像素区域。 */
  filter: none;
  opacity: 0.55;
  will-change: transform;
}
.ambient .orb-a {
  width: min(52vw, 640px); height: min(52vw, 640px);
  top: -12%; right: -8%;
  background: radial-gradient(circle, rgba(75,124,255,0.42) 0%, rgba(75,124,255,0.18) 42%, rgba(75,124,255,0) 82%);
  animation: drift-a 18s ease-in-out infinite alternate;
}
.ambient .orb-b {
  width: min(42vw, 480px); height: min(42vw, 480px);
  top: 28%; left: -12%;
  background: radial-gradient(circle, rgba(155,107,255,0.3) 0%, rgba(155,107,255,0.12) 42%, rgba(155,107,255,0) 82%);
  animation: drift-b 22s ease-in-out infinite alternate;
}
.ambient .orb-c {
  width: min(36vw, 420px); height: min(36vw, 420px);
  bottom: 4%; right: 18%;
  background: radial-gradient(circle, rgba(66,211,146,0.16) 0%, rgba(66,211,146,0.07) 42%, rgba(66,211,146,0) 82%);
  animation: drift-c 20s ease-in-out infinite alternate;
}
.ambient .orb-d {
  width: min(28vw, 320px); height: min(28vw, 320px);
  top: 58%; left: 38%;
  background: radial-gradient(circle, rgba(91,218,255,0.13) 0%, rgba(91,218,255,0.05) 42%, transparent 82%);
  animation: drift-a 26s ease-in-out infinite alternate-reverse;
}
.ambient.is-paused .orb,
.ambient.is-paused .beams {
  animation-play-state: paused;
}
@keyframes drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-4%, 6%, 0) scale(1.08); }
}
@keyframes drift-b {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(8%, -5%, 0) scale(1.1); }
}
@keyframes drift-c {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-6%, -8%, 0); }
}
.ambient .beams {
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, transparent 38%, rgba(117,162,255,0.04) 48%, transparent 58%),
    linear-gradient(250deg, transparent 40%, rgba(168,121,255,0.03) 52%, transparent 64%);
  animation: beam-shift 14s ease-in-out infinite alternate;
}
@keyframes beam-shift {
  from { opacity: 0.55; transform: translateX(-1%); }
  to   { opacity: 1; transform: translateX(1.5%); }
}
.ambient .grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(190, 208, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(190, 208, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 75% 60% at 50% 22%, #000 12%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 22%, #000 12%, transparent 78%);
}
.ambient .grain {
  position: absolute; inset: 0;
  opacity: 0.035;
  mix-blend-mode: soft-light;
  background-image: url("/assets/grain.svg");
}
.ambient .vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 85% 75% at 50% 40%, transparent 40%, rgba(3,5,12,0.55) 100%);
}
body::selection {
  color: #fff;
  background: rgba(91, 140, 255, 0.5);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, summary { font: inherit; color: inherit; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  color: #06101f;
  background: #fff;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

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

p { text-wrap: pretty; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

/* —— Nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(5, 8, 17, 0.72);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--max), calc(100% - 48px));
  height: 100%;
  margin-inline: auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 15px;
  font-weight: 620;
  letter-spacing: -0.01em;
  color: var(--fg);
  transition: opacity .16s ease, color .16s ease;
}
.brand:hover {
  opacity: 0.88;
  color: #fff;
}
.brand img, .brand .brand-mark {
  width: 32px; height: 32px;
  border-radius: 8px;
  box-shadow: none;
  object-fit: cover;
  flex-shrink: 0;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-inline: auto;
}
.desktop-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 570;
  transition: color .16s ease, background .16s ease;
}
.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--fg);
  background: rgba(255,255,255,0.065);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: none;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  border-color: rgba(117,162,255,0.34);
  color: #fff;
  background: linear-gradient(180deg, #3d6fe3 0%, #315ac4 100%);
  box-shadow: 0 10px 30px rgba(46,96,222,0.38), inset 0 1px 0 rgba(255,255,255,0.28);
}
.btn-primary:hover {
  border-color: rgba(137,175,255,0.56);
  box-shadow: 0 14px 36px rgba(46,96,222,0.48), inset 0 1px 0 rgba(255,255,255,0.32);
}
.btn-secondary {
  border-color: var(--border);
  color: var(--fg-soft);
  background: rgba(255,255,255,0.055);
}
.btn-secondary:hover {
  border-color: var(--border-strong);
  background: rgba(255,255,255,0.085);
}
.btn-lg { min-height: 50px; padding-inline: 24px; font-size: 15px; }
.lang-switch > summary {
  display: flex; align-items: center; justify-content: center;
  min-width: 58px; height: 42px; gap: 7px; padding-inline: 11px;
  border: 1px solid var(--border); border-radius: 999px;
  color: var(--fg-soft); font-size: 13px; font-weight: 680;
  background: rgba(255,255,255,0.045);
}
.lang-switch[open] > summary,
.lang-switch > summary:hover {
  border-color: var(--border-strong);
  background: rgba(255,255,255,0.08);
}
.lang-options {
  position: absolute; top: calc(100% + 12px); right: 0; z-index: 120;
  display: grid; width: 210px; padding: 8px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-md);
  background: rgba(9,13,24,0.97); box-shadow: var(--shadow);
}
.lang-switch { position: relative; }
.lang-options a {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 42px; padding: 8px 10px; border-radius: 11px;
  color: var(--muted); font-size: 14px;
}
.lang-options a:hover, .lang-options a[aria-current="page"] {
  color: var(--fg); background: rgba(110,156,255,0.12);
}
.lang-code { color: var(--dim); font-size: 11px; font-weight: 760; letter-spacing: 0.08em; }
.mobile-nav { display: none; position: relative; }
.mobile-nav > summary {
  display: grid; place-content: center; width: 42px; height: 42px; gap: 4px;
  border: 1px solid var(--border); border-radius: 13px; background: rgba(255,255,255,0.045);
}
.mobile-nav > summary span {
  display: block; width: 17px; height: 1.5px; border-radius: 2px; background: var(--fg-soft);
}
.mobile-panel {
  position: fixed; top: calc(var(--nav-h) + 12px); left: 16px; right: 16px;
  display: grid; gap: 4px; padding: 14px; max-height: calc(100vh - var(--nav-h) - 32px);
  overflow: auto; border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  background: rgba(8,12,22,0.98); box-shadow: var(--shadow);
}
.mobile-panel a {
  padding: 12px; border-radius: 10px; color: var(--fg-soft);
}
.mobile-panel a:hover, .mobile-panel a[aria-current="page"] {
  background: rgba(255,255,255,0.07); color: var(--fg);
}

/* —— Shared —— */
.eyebrow {
  display: inline-flex; align-items: center; width: fit-content;
  margin: 0 0 18px; padding: 7px 14px;
  border: 1px solid rgba(110,156,255,0.28); border-radius: 999px;
  color: var(--accent-bright); font-size: 13px; font-weight: 600;
  background: rgba(91,140,255,0.12);
}
.eyebrow-green {
  border-color: rgba(85,221,162,0.28); color: #7beab9; background: rgba(85,221,162,0.09);
}
.section { padding: 100px 0; }
.section-heading {
  max-width: 640px; margin: 0 auto 48px; text-align: center;
}
/* Section titles: give the pill more air above the H2 */
.section-heading .eyebrow {
  margin: 0 auto 32px;
}
.section-heading h2 {
  font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; margin: 0 0 14px;
}
.section-heading p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; min-height: 34px; gap: 7px;
  padding: 7px 12px; border: 1px solid rgba(255,255,255,0.1); border-radius: 999px;
  color: var(--fg-soft); font-size: 13px; font-weight: 500;
  background: rgba(255,255,255,0.055);
}
.chip-dot::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 3px rgba(91,140,255,0.15);
}
.chip-dot:nth-child(2)::before {
  background: var(--purple); box-shadow: 0 0 0 3px rgba(168,121,255,0.15);
}
.chip-dot:nth-child(3)::before {
  background: var(--green); box-shadow: 0 0 0 3px rgba(66,211,146,0.15);
}
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button-row-center { justify-content: center; }

/* —— Hero —— */
.hero { padding: 52px 0 32px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: center;
}
/* Apple 式：眉标收成轻量产品名，不抢标题 */
.hero-copy .eyebrow {
  margin: 0 0 22px;
  padding: 0;
  border: none;
  border-radius: 0;
  color: var(--dim);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: none;
}
.hero h1 {
  font-size: clamp(40px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 9.5em;
}
.hero h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(100deg, var(--accent-bright) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
/* 短句换行：一行一个意群，便于扫读 */
.hero-lede {
  max-width: 28em;
  margin: 24px 0 22px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.68;
}
.hero-lede .lede-line {
  display: block;
}
.hero-lede .lede-line + .lede-line {
  margin-top: 0.35em;
}
.hero-copy .chip-row {
  margin-bottom: 32px;
  gap: 8px;
}
/* 收益向短句：比功能名更轻、更克制 */
.hero-copy .chip {
  min-height: 32px;
  padding: 6px 12px;
  border-color: rgba(255, 255, 255, 0.09);
  color: var(--dim);
  font-size: 12.5px;
  font-weight: 520;
  background: rgba(255, 255, 255, 0.035);
}
.hero-note {
  display: flex; align-items: center; gap: 8px;
  margin: 22px 0 0; color: var(--dim); font-size: 12.5px;
}
.hero-note .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(66,211,146,0.5);
  animation: pulse-dot 2s ease-out infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(66,211,146,0.45); }
  70% { box-shadow: 0 0 0 8px rgba(66,211,146,0); }
  100% { box-shadow: 0 0 0 0 rgba(66,211,146,0); }
}
.hero-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  list-style: none; margin: 16px 0 0; padding: 0;
  border: 1px solid var(--border); border-radius: 18px;
  background: rgba(255,255,255,0.03); overflow: hidden;
}
.hero-steps li {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; color: var(--fg-soft); font-size: 13px; font-weight: 560;
}
.hero-steps li + li { border-left: 1px solid var(--border); }
.hero-steps span {
  display: grid; place-items: center; width: 24px; height: 24px; flex: none;
  border-radius: 8px; font-size: 12px; font-weight: 700; font-family: var(--font-mono);
  color: var(--accent-bright); background: rgba(91,140,255,0.14);
  border: 1px solid rgba(91,140,255,0.22);
}
.hero-steps li.is-active {
  background: rgba(91,140,255,0.08); color: var(--fg);
}
.hero-steps li.is-active span {
  background: rgba(91,140,255,0.28); border-color: rgba(117,162,255,0.4);
}

/* —— Product demo stage —— */
.demo-stage {
  position: relative;
  contain: layout paint;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  background:
    radial-gradient(600px 280px at 30% 10%, rgba(91,140,255,0.14), transparent 70%),
    radial-gradient(400px 220px at 90% 80%, rgba(168,121,255,0.08), transparent 65%),
    linear-gradient(180deg, #0b1220, #070b14);
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(117,162,255,0.06),
    0 0 80px rgba(75,124,255,0.12);
  overflow: hidden;
  min-height: 420px;
  aspect-ratio: 16 / 10;
}
.demo-chrome {
  display: flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 14px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
}
.demo-chrome .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.14);
}
.demo-chrome .dot:nth-child(1) { background: #ff5f57; }
.demo-chrome .dot:nth-child(2) { background: #febc2e; }
.demo-chrome .dot:nth-child(3) { background: #28c840; }
.demo-chrome .title {
  margin-left: 8px; color: var(--dim); font-size: 12px; font-weight: 550;
}
.demo-body {
  position: relative;
  height: calc(100% - 40px);
  padding: 20px 22px 22px;
}
.fake-doc {
  height: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.025);
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
}
.fake-doc .line {
  height: 10px; border-radius: 999px; margin-bottom: 14px;
  background: rgba(255,255,255,0.08);
}
.fake-doc .line.w1 { width: 72%; }
.fake-doc .line.w2 { width: 88%; }
.fake-doc .line.w3 { width: 54%; }
.fake-doc .line.w4 { width: 80%; }
.fake-doc .line.w5 { width: 62%; }
.fake-doc .para {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 8px;
  margin-bottom: 20px;
  padding: 10px 12px;
}
.fake-doc .para p {
  margin: 0 0 6px;
  font-size: 13px; line-height: 1.55; color: rgba(217,224,242,0.72);
  font-family: var(--font-mono);
  position: relative;
  z-index: 2;
  transition: color .35s ease;
}
.fake-doc .para p:last-child { margin-bottom: 0; }
.fake-doc .para.is-selecting p,
.fake-doc .para.is-scanning p {
  color: rgba(235,242,255,0.95);
}
.selection-box {
  position: absolute;
  left: 0; top: 0;
  width: 0; height: 0;
  border: 1.5px solid rgba(117,162,255,0.95);
  background: rgba(91,140,255,0.1);
  border-radius: 6px;
  box-shadow:
    0 0 0 1px rgba(91,140,255,0.18),
    0 0 20px rgba(91,140,255,0.18),
    inset 0 0 0 1px rgba(255,255,255,0.04);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}
.selection-box.is-drawing {
  animation: selection-draw 650ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.selection-box.is-complete {
  width: 100%;
  height: 100%;
  opacity: 1;
}
@keyframes selection-draw {
  0% {
    width: 0;
    height: 0;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    width: 100%;
    height: 100%;
    opacity: 1;
  }
}
.selection-box::before,
.selection-box::after {
  content: "";
  position: absolute;
  width: 7px; height: 7px;
  border: 1.5px solid #fff;
  background: var(--accent-bright);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(117,162,255,0.55);
  z-index: 3;
}
.selection-box::before { top: -4px; left: -4px; }
.selection-box::after { bottom: -4px; right: -4px; }
.selection-box .scan-clip {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}
.scan-line {
  position: absolute;
  left: 0; right: 0; top: -8%;
  height: 28%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(91,218,255,0.04) 30%,
    rgba(91,218,255,0.22) 50%,
    rgba(117,162,255,0.08) 70%,
    transparent 100%
  );
  opacity: 0;
  box-shadow: 0 0 18px rgba(91,218,255,0.35);
  pointer-events: none;
  will-change: top, opacity;
}
.scan-line.is-pass-one {
  animation: scan-pass-one 900ms cubic-bezier(0.4, 0, 0.2, 1) both;
}
.scan-line.is-pass-two {
  animation: scan-pass-two 780ms cubic-bezier(0.4, 0, 0.2, 1) both;
}
@keyframes scan-pass-one {
  0% { top: -8%; opacity: 0; }
  12% { opacity: 1; }
  90% { top: 78%; opacity: 1; }
  100% { top: 78%; opacity: 0; }
}
@keyframes scan-pass-two {
  0% { top: -8%; opacity: 0; }
  12% { opacity: 1; }
  90% { top: 78%; opacity: 1; }
  100% { top: 78%; opacity: 0; }
}
.scan-line::after {
  content: "";
  position: absolute;
  left: 6%; right: 6%;
  top: 50%;
  height: 1.5px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--siri-cyan), #fff, var(--siri-cyan), transparent);
  box-shadow: 0 0 10px rgba(91,218,255,0.85), 0 0 22px rgba(91,140,255,0.45);
  transform: translateY(-50%);
}
.result-panel {
  position: absolute;
  right: 18px; top: 18px;
  width: min(240px, 46%);
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(10,14,24,0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  z-index: 8;
  transition: opacity .35s ease, transform .35s cubic-bezier(0.22,1,0.36,1);
}
.result-panel.show {
  opacity: 1; transform: translateY(0) scale(1);
}
.result-panel .label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--dim); margin-bottom: 8px;
}
.result-panel .src {
  font-size: 13px; line-height: 1.5; color: var(--fg-soft); margin-bottom: 10px;
}
.result-panel .divider {
  height: 1px; background: rgba(255,255,255,0.08); margin: 10px 0;
}
.result-panel .tr {
  font-size: 13px; line-height: 1.5; color: var(--accent-bright);
}
/* Float orb dock */
.float-dock {
  position: absolute;
  right: 22px; bottom: 22px;
  z-index: 12;
  display: flex; flex-direction: column; align-items: flex-end;
  opacity: 0;
  transform: translateY(14px) scale(0.94);
  transition: opacity .4s ease, transform .45s cubic-bezier(0.22,1,0.36,1);
}
.float-dock.show {
  opacity: 1; transform: translateY(0) scale(1);
}
.status-float {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  min-height: 54px; padding: 10px 16px 10px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(40,48,68,0.72), rgba(14,18,30,0.88));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 18px 48px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 0 36px rgba(91,140,255,0.14);
  backdrop-filter: blur(28px) saturate(1.35);
  -webkit-backdrop-filter: blur(28px) saturate(1.35);
  isolation: isolate;
}
.status-float::before {
  content: "";
  position: absolute; inset: -1px; border-radius: inherit; z-index: -1;
  background: linear-gradient(125deg, rgba(91,218,255,0.35), transparent 38%, transparent 62%, rgba(155,107,255,0.28));
  opacity: 0.5; animation: rim-pulse 3.2s ease-in-out infinite; pointer-events: none;
}
@keyframes rim-pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.7; }
}
.siri-orb {
  position: relative; width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 50%; overflow: hidden; background: #141a2a;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset, 0 4px 16px rgba(0,0,0,0.35);
}
.siri-orb .stage-clip {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  filter: contrast(1.15) saturate(1.25);
}
.siri-orb .blob {
  position: absolute; width: 70%; height: 70%;
  border-radius: 42% 58% 48% 52% / 52% 42% 58% 48%;
  filter: blur(6px); mix-blend-mode: screen;
}
/* 演示离屏时暂停球内动画，避免后台空转 */
.demo-stage.is-paused .siri-orb .blob,
.demo-stage.is-paused .status-float::before,
.demo-stage.is-paused .hero-note .pulse {
  animation-play-state: paused;
}
.siri-orb .blob-a {
  left: -10%; top: -5%;
  background: radial-gradient(circle at 30% 30%, var(--siri-cyan), var(--siri-blue) 70%);
  animation: blob-a 3.6s ease-in-out infinite;
}
.siri-orb .blob-b {
  right: -15%; top: 5%; width: 75%; height: 75%;
  background: radial-gradient(circle at 60% 40%, var(--siri-violet), var(--siri-pink) 75%);
  animation: blob-b 4.2s ease-in-out infinite;
}
.siri-orb .blob-c {
  left: 10%; bottom: -18%; width: 80%; height: 80%;
  background: radial-gradient(circle at 50% 40%, var(--siri-mint), var(--siri-blue) 70%);
  animation: blob-c 3.1s ease-in-out infinite;
}
.siri-orb .blob-d {
  left: 20%; top: 20%; width: 55%; height: 55%;
  background: radial-gradient(circle, #fff 0%, transparent 70%);
  opacity: 0.35; filter: blur(4px); mix-blend-mode: soft-light;
  animation: blob-core 2.2s ease-in-out infinite;
}
.siri-orb .ring {
  position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12) inset, 0 0 12px rgba(91,218,255,0.35);
  pointer-events: none;
}
.siri-orb .shine {
  position: absolute; left: 18%; top: 12%; width: 38%; height: 28%;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.55), transparent);
  filter: blur(1.5px); opacity: 0.7; pointer-events: none;
}
@keyframes blob-a {
  0%, 100% { transform: translate(0,0) scale(1) rotate(0); border-radius: 42% 58% 48% 52% / 52% 42% 58% 48%; }
  33% { transform: translate(18%,12%) scale(1.12) rotate(40deg); border-radius: 58% 42% 62% 38% / 40% 60% 40% 60%; }
  66% { transform: translate(-8%,20%) scale(0.92) rotate(-20deg); border-radius: 48% 52% 38% 62% / 58% 42% 58% 42%; }
}
@keyframes blob-b {
  0%, 100% { transform: translate(0,0) scale(1) rotate(0); }
  40% { transform: translate(-22%,14%) scale(1.18) rotate(-50deg); }
  70% { transform: translate(10%,-16%) scale(0.88) rotate(30deg); }
}
@keyframes blob-c {
  0%, 100% { transform: translate(0,0) scale(1.05) rotate(0); }
  50% { transform: translate(16%,-18%) scale(1.2) rotate(55deg); }
}
@keyframes blob-core {
  0%, 100% { transform: translate(0,0) scale(1); opacity: 0.3; }
  50% { transform: translate(8%,10%) scale(1.35); opacity: 0.55; }
}
.float-copy { display: flex; flex-direction: column; gap: 1px; min-width: 0; padding-right: 4px; }
.float-copy .title {
  font-size: 13.5px; font-weight: 620; letter-spacing: -0.01em; color: var(--fg);
}
.float-copy .sub {
  font-size: 11.5px; color: var(--dim); font-variant-numeric: tabular-nums;
  font-family: var(--font-mono);
}
/* 识别中 · token 计数（参考产品态） */
.float-copy.is-counting .title {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  font-family: var(--font-mono);
  line-height: 1.15;
}
.float-copy.is-counting .sub {
  font-size: 11px;
  letter-spacing: 0.02em;
  text-transform: none;
}
.status-float.is-recognizing {
  min-width: 132px;
}
.status-float.is-recognizing .siri-orb {
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.1) inset,
    0 0 18px rgba(91,218,255,0.35),
    0 4px 16px rgba(0,0,0,0.35);
}
.status-float.is-recognizing::before {
  opacity: 0.75;
  animation-duration: 1.6s;
}
/* Features */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.feature-card {
  position: relative;
  padding: 28px 24px; min-height: 220px;
  border: 1px solid var(--border); border-radius: 22px;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(91,140,255,0.08), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.018));
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset;
  transition: border-color .2s ease, transform .2s ease, background .2s ease, box-shadow .2s ease;
  overflow: hidden;
}
.feature-card::after {
  content: "";
  position: absolute; inset: auto -20% -40% auto;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(117,162,255,0.12), transparent 70%);
  pointer-events: none;
}
.feature-card:hover {
  border-color: rgba(110,156,255,0.32);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.25), 0 1px 0 rgba(255,255,255,0.05) inset;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(91,140,255,0.12), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.025));
}
.feature-icon {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px;
  border-radius: 14px; border: 1px solid rgba(91,140,255,0.22);
  background: rgba(91,140,255,0.1); color: var(--accent-bright);
}
.feature-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature-tech {
  display: block;
  margin: -4px 0 10px;
  color: var(--accent-bright);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.feature-card h3 { font-size: 19px; margin-bottom: 10px; letter-spacing: -0.015em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

/* Showcase */
.showcase {
  display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 40px; align-items: center; margin-bottom: 88px;
}
.showcase:last-child { margin-bottom: 0; }
.showcase-reverse { direction: rtl; }
.showcase-reverse > * { direction: ltr; }
.showcase-copy h2 {
  font-size: clamp(26px, 3vw, 36px); line-height: 1.18; margin-bottom: 14px;
}
.showcase-copy h2 span {
  display: block;
  color: transparent;
  background: linear-gradient(100deg, var(--accent-bright) 0%, var(--purple) 100%);
  -webkit-background-clip: text; background-clip: text;
}
.showcase-copy > p { margin: 0 0 20px; color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 36em; }
.product-frame {
  position: relative;
  padding: 12px; border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  background:
    radial-gradient(80% 60% at 20% 0%, rgba(91,140,255,0.1), transparent 60%),
    rgba(255,255,255,0.03);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35), 0 0 40px rgba(75,124,255,0.08);
  overflow: hidden;
}
.mini-ui {
  border-radius: 14px; border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, #0d1424, #090e18);
  min-height: 280px; padding: 18px; position: relative; overflow: hidden;
}
.mini-ui .bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mini-ui .bar strong { font-size: 13px; font-weight: 620; }
.mini-ui .bar span {
  font-size: 11px; color: var(--dim); font-family: var(--font-mono);
  padding: 4px 8px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.08);
}
.md-preview {
  font-family: var(--font-mono); font-size: 12.5px; line-height: 1.7;
  color: var(--fg-soft);
}
.md-preview .h { color: var(--accent-bright); font-weight: 700; }
.md-preview .code {
  display: block; margin-top: 12px; padding: 12px; border-radius: 10px;
  background: rgba(0,0,0,0.28); border: 1px solid rgba(255,255,255,0.06);
  color: #a8c0ff;
}
.model-modes {
  display: grid; gap: 10px;
}
.mode-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}
.mode-row.active {
  border-color: rgba(91,140,255,0.35);
  background: rgba(91,140,255,0.1);
  box-shadow: 0 0 0 1px rgba(91,140,255,0.08) inset;
}
.mode-row .orb-sm {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  background: conic-gradient(from 120deg, var(--siri-cyan), var(--siri-blue), var(--siri-violet), var(--siri-mint), var(--siri-cyan));
  box-shadow: 0 0 12px rgba(91,140,255,0.3);
  animation: spin-slow 8s linear infinite;
  filter: saturate(1.1);
}
.mode-row:not(.active) .orb-sm {
  animation: none; opacity: 0.45; filter: grayscale(0.3);
  background: rgba(255,255,255,0.12);
  box-shadow: none;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
.mode-row .txt { flex: 1; min-width: 0; }
.mode-row .txt b { display: block; font-size: 13px; font-weight: 620; }
.mode-row .txt small { color: var(--dim); font-size: 11.5px; }
.mode-row .badge {
  font-size: 11px; font-weight: 650; color: var(--accent-bright);
  font-family: var(--font-mono);
}
.tr-stack { display: grid; gap: 12px; }
.tr-card {
  padding: 14px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}
.tr-card .lang {
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--dim); margin-bottom: 6px;
}
.tr-card p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--fg-soft); }
.tr-card.out {
  border-color: rgba(91,140,255,0.28);
  background: rgba(91,140,255,0.08);
}
.tr-card.out p { color: var(--accent-bright); }

/* Workflow — premium three-step journey */
.workflow {
  position: relative;
}
.workflow::before {
  content: "";
  position: absolute;
  left: 50%; top: 42%;
  width: min(980px, 96%);
  height: 380px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(ellipse 70% 55% at 20% 40%, rgba(91,140,255,0.14), transparent 62%),
    radial-gradient(ellipse 55% 50% at 50% 50%, rgba(168,121,255,0.1), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 45%, rgba(66,211,146,0.1), transparent 62%);
  pointer-events: none;
  z-index: 0;
  filter: blur(4px);
}
.process {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}
.process-step {
  --step-a: #75a2ff;
  --step-b: #4b7cff;
  --step-glow: rgba(91,140,255,0.45);
  --step-soft: rgba(91,140,255,0.12);
  --step-border: rgba(117,162,255,0.28);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px 26px 24px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.1);
  background:
    linear-gradient(165deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 48%, var(--step-soft) 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.07) inset,
    0 20px 50px rgba(0,0,0,0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform .28s cubic-bezier(0.22,1,0.36,1), border-color .28s ease, box-shadow .28s ease;
  overflow: hidden;
  isolation: isolate;
}
.process-step::before {
  content: "";
  position: absolute;
  left: 12%; right: 12%; top: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--step-a) 28%, var(--step-b) 72%, transparent);
  opacity: 0.9;
  z-index: 2;
}
.process-step::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(140px 120px at 88% 8%, var(--step-glow), transparent 68%);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}
.process-step:hover {
  transform: translateY(-4px);
  border-color: var(--step-border);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.1) inset,
    0 28px 60px rgba(0,0,0,0.3),
    0 0 0 1px rgba(255,255,255,0.04);
}
.process-step:nth-child(2) {
  --step-a: #c9b0ff;
  --step-b: #a879ff;
  --step-glow: rgba(168,121,255,0.5);
  --step-soft: rgba(168,121,255,0.12);
  --step-border: rgba(168,121,255,0.32);
}
.process-step:nth-child(3) {
  --step-a: #7beab9;
  --step-b: #42d392;
  --step-glow: rgba(66,211,146,0.48);
  --step-soft: rgba(66,211,146,0.1);
  --step-border: rgba(66,211,146,0.3);
}
.process-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 0 20px;
  border-radius: 16px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 720;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.14), rgba(255,255,255,0.03)),
    linear-gradient(160deg, var(--step-b), color-mix(in srgb, var(--step-b) 55%, #0a1226));
  border: 1px solid color-mix(in srgb, var(--step-a) 45%, transparent);
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--step-glow) 18%, transparent),
    0 10px 28px color-mix(in srgb, var(--step-glow) 35%, transparent),
    inset 0 1px 0 rgba(255,255,255,0.28);
}
.process-icon {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--step-a);
  background: color-mix(in srgb, var(--step-soft) 80%, rgba(255,255,255,0.04));
  border: 1px solid color-mix(in srgb, var(--step-a) 22%, transparent);
  opacity: 0.95;
}
.process-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.process-step h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.process-step p {
  position: relative;
  z-index: 1;
  margin: 0;
  flex: 1;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}
.process-meta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  margin-top: 20px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--step-a) 28%, transparent);
  background: color-mix(in srgb, var(--step-soft) 70%, transparent);
  color: var(--step-a);
  font-size: 12px;
  font-weight: 640;
  letter-spacing: 0.02em;
}
.process-meta::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--step-a) 18%, transparent);
}

/* Privacy */
.privacy-panel {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px;
  padding: 40px 36px; border-radius: 28px;
  border: 1px solid rgba(66,211,146,0.18);
  background:
    radial-gradient(500px 220px at 10% 0%, rgba(66,211,146,0.08), transparent 60%),
    rgba(255,255,255,0.03);
}
.privacy-panel h2 {
  font-size: clamp(26px, 3vw, 34px); line-height: 1.18; margin-bottom: 12px;
}
.privacy-panel h2 span { display: block; color: #7beab9; }
.privacy-panel > div > p { margin: 0 0 18px; color: var(--muted); max-width: 36em; }
.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent-bright); font-weight: 620; font-size: 14px;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.privacy-list {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 12px;
}
.privacy-list li {
  display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start;
  padding: 14px 16px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}
.privacy-list .check {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  color: #7beab9; background: rgba(66,211,146,0.12);
  border: 1px solid rgba(66,211,146,0.25); font-size: 13px; font-weight: 700;
}
.privacy-list p { margin: 2px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

/* CTA */
.cta-section { padding: 40px 0 100px; }
.cta-panel {
  text-align: center; padding: 56px 32px; border-radius: 28px;
  border: 1px solid var(--border);
  background:
    radial-gradient(600px 240px at 50% 0%, rgba(91,140,255,0.16), transparent 65%),
    rgba(255,255,255,0.03);
}
.cta-panel h2 {
  font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 12px;
}
.cta-panel > p {
  max-width: 34em; margin: 0 auto 28px; color: var(--muted); font-size: 16px; line-height: 1.7;
}

/* —— Multi-page views —— */
.view { display: none; }
.view.is-active { display: block; }
.view[hidden] { display: none !important; }
.view.is-active:not([hidden]) { display: block !important; }

/* —— Legal / Support pages (match textractocr.com) —— */
.legal-main {
  padding: 54px 0 80px;
}
.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}
.legal-toc {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  max-height: calc(100vh - var(--nav-h) - 48px);
  padding: 18px;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.legal-toc > p {
  margin: 0 0 10px;
  color: var(--fg);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.04em;
}
.legal-toc nav {
  display: grid;
  gap: 2px;
}
.legal-toc a {
  padding: 7px 9px;
  border-radius: 8px;
  color: var(--dim);
  font-size: 12px;
  line-height: 1.35;
  transition: color .15s ease, background .15s ease;
}
.legal-toc a:hover,
.legal-toc a.is-active {
  color: var(--fg-soft);
  background: rgba(255, 255, 255, 0.055);
}
.legal-card {
  min-width: 0;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.legal-hero {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--border);
}
.legal-hero h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 48px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.025em;
}
.legal-hero .eyebrow {
  margin-bottom: 14px;
}
.updated {
  margin: 12px 0 0;
  color: var(--dim);
  font-size: 13px;
}
.legal-lede {
  max-width: 48rem;
  margin: 20px 0 0;
  color: var(--fg-soft);
  font-size: 17px;
  line-height: 1.72;
}
.legal-section,
.support-topic {
  padding-top: 34px;
}
.legal-section + .legal-section,
.support-topic + .support-topic {
  margin-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
}
.legal-section h2,
.support-topic h2,
.diagnostic-panel h2,
.sensitive-note h2,
.contact-panel h2 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.legal-section p,
.support-topic p,
.support-topic li,
.diagnostic-panel p,
.diagnostic-panel li,
.contact-panel p,
.contact-strip p,
.sensitive-note p,
.provider-note p {
  color: var(--muted);
}
.legal-section p,
.support-topic p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.72;
}
.legal-section p + p,
.support-topic p + p {
  margin-top: 13px;
}
.legal-section a,
.support-topic a,
.contact-panel a.email-address,
.contact-strip a.email-address {
  color: var(--accent-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(137, 175, 255, 0.35);
}
.legal-section a:hover,
.support-topic a:hover,
.email-address:hover {
  color: #9ec0ff;
}
.support-topic ul,
.diagnostic-panel ul {
  margin: 15px 0 0;
  padding-left: 1.3em;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.support-topic li + li,
.diagnostic-panel li + li {
  margin-top: 7px;
}
.provider-note,
.sensitive-note {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: flex-start;
  gap: 13px;
  margin-top: 44px;
  padding: 18px;
  border: 1px solid rgba(110, 156, 255, 0.2);
  border-radius: var(--radius-md);
  background: rgba(110, 156, 255, 0.07);
}
.provider-note > span,
.sensitive-note > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(110, 156, 255, 0.25);
  border-radius: 50%;
  color: var(--accent-bright);
  font-size: 13px;
  font-weight: 800;
  background: rgba(110, 156, 255, 0.11);
  flex-shrink: 0;
}
.provider-note p,
.sensitive-note p {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.6;
}
.provider-privacy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  margin-top: 12px;
}
.provider-privacy-links a {
  color: var(--accent-bright);
  font-size: 12px;
  font-weight: 660;
}
.provider-privacy-links a:hover {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 44px;
  padding: 24px;
  border: 1px solid rgba(85, 221, 162, 0.2);
  border-radius: var(--radius-lg);
  background: rgba(85, 221, 162, 0.065);
}
.contact-panel h2 {
  margin-bottom: 6px;
}
.contact-panel p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}
.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
  padding: 22px;
  border: 1px solid rgba(110, 156, 255, 0.2);
  border-radius: var(--radius-lg);
  background: rgba(110, 156, 255, 0.07);
}
.contact-strip strong {
  display: block;
  font-size: 18px;
  color: var(--fg);
  font-weight: 700;
}
.contact-strip p {
  max-width: 40rem;
  margin: 5px 0 8px;
  font-size: 14px;
  line-height: 1.6;
}
.email-address {
  color: var(--accent-bright);
  font-size: 14px;
  font-weight: 680;
  text-decoration: underline;
  text-decoration-color: rgba(137, 175, 255, 0.35);
  text-underline-offset: 3px;
}
.support-topics {
  padding-top: 2px;
}
.diagnostic-panel {
  margin-top: 48px;
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.035);
}
.diagnostic-panel > p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.72;
}
.sensitive-note {
  border-color: rgba(255, 196, 107, 0.24);
  background: rgba(255, 196, 107, 0.07);
}
.sensitive-note > span {
  border-color: rgba(255, 196, 107, 0.3);
  color: var(--amber);
  background: rgba(255, 196, 107, 0.1);
}
.sensitive-note h2 {
  margin-bottom: 7px;
  font-size: 18px;
  color: var(--fg);
}
.sensitive-note p {
  color: #e8c896;
}

@media (max-width: 960px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .legal-toc {
    position: static;
    max-height: none;
  }
  .legal-toc nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .legal-main {
    padding-top: 30px;
    padding-bottom: 56px;
  }
  .legal-card {
    padding: 25px 20px;
    border-radius: 28px;
  }
  .legal-toc {
    display: none;
  }
  .contact-panel,
  .contact-strip {
    align-items: stretch;
    flex-direction: column;
  }
  .provider-note,
  .sensitive-note {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 48px 0 36px;
  background: rgba(0,0,0,0.18);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px; align-items: start;
}
.brand-static {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 620;
}
.brand-static img, .brand-static .brand-mark { width: 28px; height: 28px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.footer-langs { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-langs a {
  font-size: 13px; color: var(--muted); padding: 6px 10px; border-radius: 999px;
  border: 1px solid transparent;
}
.footer-langs a:hover, .footer-langs a[aria-current="page"] {
  color: var(--fg); border-color: var(--border); background: rgba(255,255,255,0.04);
}
.footer-meta {
  grid-column: 1 / -1; margin: 8px 0 0; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--dim); font-size: 13px;
}

/* Reveal: the page remains fully readable when JavaScript is unavailable. */
.reveal {
  opacity: 1;
  transform: none;
}
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s cubic-bezier(0.22,1,0.36,1);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* 仅对接近页尾的区块延迟绘制，避免影响主要内容的滚动响应。 */
.cta-section,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}
.site-footer { contain-intrinsic-size: auto 360px; }

/* 标签页或窗口不可见时显式暂停所有循环动画，回到页面后无缝续播。 */
.page-paused .ambient .orb,
.page-paused .ambient .beams,
.page-paused .siri-orb .blob,
.page-paused .status-float::before,
.page-paused .mode-row .orb-sm,
.page-paused .hero-note .pulse {
  animation-play-state: paused !important;
}

@media (max-width: 1024px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .hero-grid, .showcase, .privacy-panel, .showcase-reverse {
    grid-template-columns: 1fr; direction: ltr;
  }
  .feature-grid { grid-template-columns: 1fr; }
  .process {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .process-step {
    padding: 24px 22px 22px;
  }
  .hero-steps { grid-template-columns: 1fr; }
  .hero-steps li + li { border-left: 0; border-top: 1px solid var(--border); }
  .demo-stage { min-height: 360px; aspect-ratio: auto; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --nav-h: 66px; }
  .container, .nav-shell { width: min(100% - 30px, var(--max)); }
  .nav-download, .lang-switch { display: none; }
  .section { padding: 64px 0; }
  .hero {
    padding-top: 26px;
    padding-bottom: 24px;
  }
  .hero-grid { gap: 30px; }
  .hero h1 {
    max-width: none;
    font-size: clamp(36px, 11vw, 44px);
  }
  .hero-lede {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.62;
  }
  .hero-copy .chip-row {
    margin-bottom: 26px;
  }
  .chip {
    min-height: 32px;
    padding: 6px 10px;
    font-size: 12px;
  }
  .hero-copy .button-row, .cta-panel .button-row { display: grid; }
  .hero-note {
    margin-top: 20px;
    font-size: 12px;
    line-height: 1.5;
  }
  .demo-stage {
    min-height: 410px;
    border-radius: 20px;
  }
  .demo-body {
    padding: 14px;
  }
  .fake-doc {
    padding: 18px 14px;
  }
  .fake-doc .para {
    padding: 8px 9px;
  }
  .fake-doc .para p {
    font-size: 11.5px;
    line-height: 1.5;
  }
  .result-panel {
    top: auto;
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    max-height: calc(100% - 24px);
    padding: 12px;
    overflow: auto;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
  .result-panel .label {
    margin-bottom: 6px;
    font-size: 10px;
  }
  .result-panel .src,
  .result-panel .tr {
    font-size: 12.5px;
    line-height: 1.45;
  }
  .result-panel .src {
    margin-bottom: 8px;
  }
  .result-panel .divider {
    margin: 8px 0;
  }
  .float-dock {
    right: 14px;
    bottom: 14px;
    max-width: calc(100% - 28px);
  }
  .status-float {
    max-width: 100%;
  }
  .hero-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hero-steps li {
    min-width: 0;
    min-height: 68px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 9px 4px;
    text-align: center;
    font-size: 11px;
    line-height: 1.25;
  }
  .hero-steps li + li {
    border-top: 0;
    border-left: 1px solid var(--border);
  }
  .section-heading {
    margin-bottom: 34px;
  }
  .section-heading .eyebrow {
    margin-bottom: 22px;
  }
  .section-heading h2 {
    font-size: 28px;
  }
  .section-heading p {
    font-size: 15.5px;
    line-height: 1.65;
  }
  .feature-card {
    min-height: 0;
    padding: 22px 20px;
  }
  .feature-icon {
    margin-bottom: 16px;
  }
  .showcase {
    gap: 24px;
    margin-bottom: 60px;
  }
  .showcase-copy > p {
    font-size: 15px;
    line-height: 1.65;
  }
  .product-frame {
    padding: 8px;
    border-radius: 18px;
  }
  .mini-ui {
    min-height: 250px;
    padding: 14px;
  }
  .process-step {
    padding: 22px 20px 20px;
  }
  .privacy-panel {
    gap: 24px;
    padding: 26px 18px;
  }
  .cta-section {
    padding: 24px 0 72px;
  }
  .cta-panel {
    padding: 40px 20px;
  }
  .legal-card {
    padding: 24px 18px;
  }
  .legal-hero {
    padding-bottom: 28px;
  }
  .legal-hero h1 {
    font-size: 32px;
  }
}
.section.section-flush {
  padding-top: 0;
}

.section.section-compact {
  padding-top: 40px;
}

/* Language gateways and 404 */
.gateway-page,
.not-found-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 30px 20px;
}

.gateway-card,
.not-found-card {
  width: min(720px, 100%);
  padding: clamp(26px, 6vw, 52px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  text-align: center;
  background: rgba(11, 15, 27, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.gateway-card > img,
.not-found-card > img {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 20px;
  box-shadow: 0 20px 42px rgba(48, 100, 225, 0.28);
}

.gateway-card .eyebrow,
.not-found-content .eyebrow {
  margin-inline: auto;
}

.gateway-card h1,
.not-found-content h1 {
  margin: 0;
  font-size: clamp(34px, 7vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.gateway-card > p:not(.eyebrow),
.not-found-content > p:not(.eyebrow) {
  max-width: 560px;
  margin: 16px auto 26px;
  color: var(--muted);
}

.gateway-languages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
  text-align: left;
}

.gateway-languages a {
  display: grid;
  min-height: 78px;
  align-content: center;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.gateway-languages a:first-child {
  grid-column: 1 / -1;
}

.gateway-languages a:hover {
  border-color: rgba(110, 156, 255, 0.3);
  background: rgba(110, 156, 255, 0.08);
  transform: translateY(-2px);
}

.gateway-languages strong {
  font-size: 15px;
}

.gateway-languages span {
  overflow: hidden;
  color: var(--dim);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gateway-card noscript p {
  margin: 20px 0 0;
  color: var(--dim);
  font-size: 12px;
}

.not-found-content .button-row {
  margin-top: 26px;
}

.not-found-language-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.not-found-language-links a {
  color: var(--accent-bright);
  font-size: 13px;
  font-weight: 650;
}

@media (max-width: 720px) {
  .gateway-languages {
    grid-template-columns: 1fr;
  }

  .gateway-languages a:first-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .ambient .orb,
  .ambient .beams { animation: none !important; }
  .process-step:hover { transform: none; }
}
