/* =====================================================================
   AgentGauge · Website
   One solid canvas, Kalamos type system (Cabinet Grotesk + system CJK).
   Calm opaque surfaces, hairlines and whitespace do the separating —
   the only "glass" on the page is the macOS product itself.
   ===================================================================== */

@font-face {
  font-family: "CJK Punct";
  src: local("PingFangSC-Regular"), local("PingFang SC"), local("HiraginoSans-W3"), local("Hiragino Sans GB"), local("Microsoft YaHei");
  unicode-range: U+2014, U+2026, U+2018-201D, U+3000-303F, U+FF00-FFEF;
}
@font-face {
  font-family: "CJK Punct";
  font-weight: 600 700;
  src: local("PingFangSC-Semibold"), local("PingFang SC"), local("HiraginoSans-W6"), local("Hiragino Sans GB"), local("Microsoft YaHei");
  unicode-range: U+2014, U+2026, U+2018-201D, U+3000-303F, U+FF00-FFEF;
}

:root {
  --bg: #ffffff;
  --card: #f6f5f1;
  --card-2: #efeee9;
  --pill: #f0efea;
  --pill-hover: #e7e6e0;
  --surface: #ffffff;

  --ink: #141413;
  --ink-2: #3d3c39;
  --muted: #77756f;
  --faint: #aeaca5;
  --line: rgb(20 20 19 / 8%);
  --line-2: rgb(20 20 19 / 13%);
  --shadow-card: 0 0 0 1px rgb(20 20 19 / 8%), 0 10px 26px rgb(40 36 28 / 6%);
  --shadow-lift: 0 0 0 1px rgb(20 20 19 / 8%), 0 24px 48px -18px rgb(40 36 28 / 18%);

  /* Mineral accents from the app's calibrated presets (used sparingly) */
  --mist: #587ba3;
  --sage: #478577;
  --clay: #b07354;

  --sans: "Cabinet Grotesk", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1200px;
  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
html[lang^="zh"] {
  --sans: "CJK Punct", "Cabinet Grotesk", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html[lang^="zh"] body { font-size: 16.5px; line-height: 1.75; }
img, video, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: rgb(20 20 19 / 12%); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(var(--wrap), 100% - 56px); margin-inline: auto; }
.mono { font-family: var(--mono); letter-spacing: 0; font-size: 0.92em; }
.muted { color: var(--muted); }

/* ---------- Type ---------- */
.display {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}
.display em { font-style: normal; color: var(--muted); }
html[lang^="zh"] .display { font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }

.h2 { font-size: clamp(40px, 4.8vw, 68px); margin: 0; letter-spacing: -0.03em; line-height: 1.06; }
html[lang^="zh"] .h2 { font-size: clamp(32px, 3.6vw, 50px); letter-spacing: -0.01em; line-height: 1.24; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.01em;
  color: var(--muted); margin: 0 0 22px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--tint, var(--mist)); }
html[lang^="zh"] .eyebrow { letter-spacing: 0.04em; }

.lead { font-size: 19px; line-height: 1.6; color: var(--ink-2); margin: 0; max-width: 34em; text-wrap: pretty; }
html[lang^="zh"] .lead { font-size: 17.5px; line-height: 1.8; }
.micro { font-size: 13.5px; color: var(--muted); margin: 18px 0 0; }

/* ---------- Buttons (solid, Kalamos) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-size: 16px; font-weight: 500; letter-spacing: -0.005em; white-space: nowrap; line-height: 1;
  transition: transform 0.35s var(--ease), background 0.25s, color 0.25s;
}
.btn:active { transform: scale(0.975); }
.btn .apple { width: 14px; height: 17px; fill: currentColor; margin-top: -3px; flex: none; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14.5px; gap: 8px; }
.btn-sm .apple { width: 12px; height: 15px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 17px; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2a2a28; }
.btn-ghost, .btn-soft { background: var(--pill); color: var(--ink); }
.btn-ghost:hover, .btn-soft:hover { background: var(--pill-hover); }
.play-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; flex: none; }
.play-dot svg { width: 7px; height: 8px; fill: #fff; margin-left: 1.5px; }
.btn .muted { font-size: 13px; color: var(--faint); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.cta-row.center { justify-content: center; }
/* CJK glyphs ride high against Cabinet's x-height: nudge for optical center */
html[lang^="zh"] .btn > span, html[lang^="zh"] .lang-btn > span, html[lang^="zh"] .filter, html[lang^="zh"] .chip, html[lang^="zh"] .seg button, html[lang^="zh"] .btn-mini { padding-top: 1px; }

/* ---------- Nav (solid white, hairline on scroll) ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; background: var(--bg);
  border-bottom: 1px solid transparent; transition: border-color 0.3s;
}
.nav.scrolled { border-color: var(--line); }
.nav-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; justify-self: start; }
.brand img { border-radius: 7px; width: 28px; height: 28px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink-2); padding: 7px 13px; border-radius: 999px; transition: background 0.2s, color 0.2s; }
.nav-links a:hover { background: var(--pill); color: var(--ink); }
html[lang^="zh"] .nav-links a { font-size: 14.5px; padding: 8px 13px 6px; }
.nav-actions { display: flex; align-items: center; gap: 8px; justify-self: end; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px;
  background: var(--pill); border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2);
  transition: background 0.2s, color 0.2s;
}
.lang-btn svg { flex: none; }
.lang-btn:hover { background: var(--pill-hover); color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: 150px 0 0; }
.hero-head { margin-bottom: 64px; text-align: center; display: grid; justify-items: center; }
.hero-title { font-size: clamp(56px, 8vw, 116px); margin: 26px 0 0; letter-spacing: -0.045em; line-height: 0.98; }
html[lang^="zh"] .hero-title { font-size: clamp(48px, 6.6vw, 92px); letter-spacing: -0.02em; line-height: 1.12; }
.hero-side { display: grid; justify-items: center; margin-top: 30px; }
.hero-side .lead { text-align: center; max-width: 36em; }
.hero-side .cta-row { justify-content: center; }
.hero-side .micro { margin-top: 18px; }
.pill-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  height: 34px; padding: 0 15px 0 12px; border-radius: 999px; background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--ink-2);
}
.pill-eyebrow b { color: var(--ink); font-weight: 700; }
.pill-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 3px rgb(71 133 119 / 16%); }
html[lang^="zh"] .pill-eyebrow > span:last-child { padding-top: 1px; }

/* Stage — the macOS product shot. Its glass belongs to macOS, not the site. */
.stage-frame { position: relative; padding: 14px; border-radius: calc(var(--r-xl) + 14px); background: var(--card); }
.stage {
  position: relative; width: 100%; aspect-ratio: 1240 / 720; border-radius: var(--r-xl); overflow: hidden;
  background: #111; box-shadow: 0 0 0 1px rgb(20 20 19 / 10%), 0 30px 60px -30px rgb(40 36 28 / 35%);
}
.stage-inner { position: absolute; top: 0; left: 0; width: 1240px; height: 720px; transform-origin: 0 0; user-select: none; }
.stage-wall {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.015);
  filter: contrast(1.06) saturate(1.08) brightness(0.91);
  transition: opacity 1.15s cubic-bezier(0.22, 1, 0.36, 1), transform 9s ease-out;
}
.stage-wall.on { opacity: 1; transform: scale(1); }
.stage-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 12, 18, 0.3) 0%, rgba(10, 12, 18, 0) 110px, rgba(10, 12, 18, 0) 78%, rgba(10, 12, 18, 0.28) 100%);
}
.wall-plaque {
  position: absolute; left: 14px; top: 42px; z-index: 5;
  display: inline-flex; align-items: center; gap: 8px; height: 27px; padding: 0 5px 0 10px;
  border-radius: 999px; background: rgba(20, 22, 28, 0.56); color: rgba(255, 255, 255, 0.88);
  border: 0.75px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  font: 500 11.5px -apple-system, "SF Pro Text", "PingFang SC", sans-serif; letter-spacing: 0.01em;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
  transition: background 0.2s, transform 0.25s var(--ease), border-color 0.2s;
}
.wall-plaque:hover { background: rgba(24, 26, 34, 0.78); border-color: rgba(255, 255, 255, 0.28); transform: translateY(-1px); }
.wall-plaque:active { transform: scale(0.97); }
.wall-dot { width: 5.5px; height: 5.5px; border-radius: 50%; background: rgba(255, 255, 255, 0.75); }
.wall-meta { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wall-next { width: 18px; height: 18px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); display: grid; place-items: center; }
.wall-next svg { width: 11px; height: 11px; transition: transform 0.45s var(--ease); }
.wall-plaque.spin .wall-next svg { transform: rotate(360deg); }

.stage-hint { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 12px 0 0; padding-bottom: 2px; font-size: 14px; color: var(--muted); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--mist); position: relative; flex: none; }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--mist); animation: pulse 2.2s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(0.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* macOS menu bar (product UI) */
.mb {
  position: absolute; inset: 0 0 auto 0; height: 30px; padding: 0 16px; z-index: 6;
  display: flex; align-items: center; justify-content: space-between;
  color: rgba(255, 255, 255, 0.94); font-size: 13px;
  background: linear-gradient(180deg, rgba(22, 24, 32, 0.62), rgba(18, 20, 28, 0.48));
  backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: -apple-system, "SF Pro Text", "PingFang SC", sans-serif;
}
.mb-left { display: flex; align-items: center; gap: 18px; }
.mb-apple { width: 13px; height: 16px; fill: currentColor; }
.mb-menus { display: flex; gap: 18px; opacity: 0.86; }
.mb-right { display: flex; align-items: center; gap: 16px; height: 100%; }
.mb-right > svg { width: 16px; height: 16px; opacity: 0.9; }
.mb-right > svg.mb-batt { width: 21px; }
.mb-clock { font-weight: 500; min-width: 70px; text-align: right; font-variant-numeric: tabular-nums; }
.mb-gauge { height: 22px; width: 34px; display: grid; place-items: center; border-radius: 6px; color: #fff; transition: background 0.2s; position: relative; }
.mb-gauge svg { width: 17px; height: 17px; }
.mb-gauge:hover, .mb-gauge.on { background: rgba(255, 255, 255, 0.22); }

/* ---------- Native macOS 26 MenuBarPopoverView (1:1 interactive replica) ---------- */
.pop {
  position: absolute; top: 30px; width: 448px; height: 356px; z-index: 8;
  transform-origin: var(--pop-ox, 68%) 0; opacity: 0; transform: translateY(-6px) scale(0.95); pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.34s cubic-bezier(0.20, 0.92, 0.24, 1);
  filter: drop-shadow(0 26px 52px rgba(0, 0, 0, 0.52));
}
.pop.open { opacity: 1; transform: none; pointer-events: auto; }
.pop-glass {
  position: absolute; inset: 0; padding-top: 12px;
  background: rgba(26, 27, 32, 0.88);
  backdrop-filter: blur(36px) saturate(180%); -webkit-backdrop-filter: blur(36px) saturate(180%);
}
.pop-rim { position: absolute; inset: 0; width: 448px; height: 356px; pointer-events: none; z-index: 3; }

.mbp {
  width: 448px; height: 344px; border-radius: 20px; overflow: hidden;
  display: flex; flex-direction: column;
  background: rgba(26, 27, 32, 0.88);
  backdrop-filter: blur(36px) saturate(180%); -webkit-backdrop-filter: blur(36px) saturate(180%);
  box-shadow: inset 0 0 0 0.75px rgba(255, 255, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.95);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", sans-serif;
  text-align: left; user-select: none;
}
.pop-glass .mbp {
  border-radius: 0; background: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none;
}
.mbp-static {
  background: linear-gradient(180deg, #212228 0%, #1a1b20 100%);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  box-shadow: inset 0 0 0 0.75px rgba(255, 255, 255, 0.13), 0 26px 52px -12px rgba(20, 20, 19, 0.34);
}
.mbp-top { display: flex; height: 302px; min-height: 0; }
.mbp-left {
  position: relative; width: 168px; flex: none; padding: 8px;
  background: rgba(255, 255, 255, 0.022);
  border-right: 0.75px solid rgba(255, 255, 255, 0.09);
  overflow-y: auto; scrollbar-width: none;
}
.mbp-left::-webkit-scrollbar { display: none; }
.mbp-list { position: relative; display: flex; flex-direction: column; gap: 3px; }
.mbp-sel {
  position: absolute; top: 0; left: 0; right: 0; height: 33px; border-radius: 9px;
  background: rgba(255, 255, 255, 0.095);
  box-shadow: inset 0 0 0 0.6px rgba(255, 255, 255, 0.09);
  transform: translate3d(0, 0, 0);
  transition: transform 0.24s cubic-bezier(0.20, 0.92, 0.24, 1);
  pointer-events: none; will-change: transform;
}
.mbp-sel::before {
  content: ""; position: absolute; left: 3.5px; top: 50%; width: 3px; height: 15px; margin-top: -7.5px;
  border-radius: 99px; background: var(--row-accent, #5479B2);
  transition: background-color 0.22s ease;
}
.mbp-row {
  position: relative; z-index: 1; height: 33px; padding: 0 8px 0 11px; border-radius: 9px;
  display: flex; align-items: center; gap: 7.5px; width: 100%; text-align: left;
  color: rgba(255, 255, 255, 0.78); transition: color 0.16s;
}
.mbp-row.on { color: #fff; }
.mbp-row.paused { color: rgba(255, 255, 255, 0.45); }
.mbp-ico { position: relative; width: 21px; height: 21px; flex: none; }
.mbp-ico img { width: 21px; height: 21px; border-radius: 5px; }
.mbp-row.paused .mbp-ico img { opacity: 0.46; }
.mbp-work {
  position: absolute; right: -1.5px; bottom: -1.5px; width: 6.5px; height: 6.5px; border-radius: 50%;
  background: #30d158; box-shadow: 0 0 0 1.2px rgba(26, 27, 32, 0.95);
}
.mbp-name { flex: 1; min-width: 0; font-size: 12px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mbp-row.on .mbp-name { font-weight: 600; }
.mbp-val { font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.62); }
.mbp-row.on .mbp-val { font-weight: 700; color: #fff; }
.mbp-val.warn { color: #ff9f0a !important; }
.mbp-val.low { color: #ff453a !important; }
.mbp-val.pause-tag { font-size: 9.5px; font-weight: 500; color: rgba(255, 255, 255, 0.34); }

.mbp-right { flex: 1; min-width: 0; padding: 12px 11px; display: flex; flex-direction: column; gap: 10px; }
.mbp-head { display: flex; align-items: center; gap: 6.5px; }
.mbp-hico { position: relative; width: 28px; height: 28px; flex: none; }
.mbp-hico img { width: 28px; height: 28px; border-radius: 6.5px; }
.mbp-hico .mbp-work { width: 7.5px; height: 7.5px; }
.mbp-hmeta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mbp-htitle { display: flex; align-items: center; gap: 5px; min-width: 0; }
.mbp-htitle b { font-size: 12.2px; font-weight: 600; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mbp-hsub { font-size: 10px; font-weight: 500; color: rgba(255, 255, 255, 0.5); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mbp-hhero { font-size: 14.5px; font-weight: 700; font-variant-numeric: tabular-nums; color: #fff; flex: none; }
.mbp-hhero.credits { font-size: 12px; }
.mbp-hhero.warn { color: #ff9f0a; }
.mbp-hhero.low { color: #ff453a; }
.mbp-ibtn {
  width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.075); box-shadow: inset 0 0 0 0.6px rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82); transition: background 0.18s, color 0.18s;
}
.mbp-ibtn:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }
.mbp-ibtn svg, .mbp-cbtn svg { width: 11px; height: 11px; }
.spin-once svg { animation: spin360 0.55s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes spin360 { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.mbp-div { height: 0.75px; background: rgba(255, 255, 255, 0.09); flex: none; }
.mbp-body {
  flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none;
  display: flex; flex-direction: column; gap: 9px; padding: 2px 0;
}
.mbp-body::-webkit-scrollbar { display: none; }
.mbp-mrow { display: flex; flex-direction: column; gap: 4.5px; }
.mbp-mline { display: flex; align-items: baseline; gap: 6px; }
.mbp-mlbl { flex: 1; min-width: 0; font-size: 11.5px; color: rgba(255, 255, 255, 0.65); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mbp-mrow.pri .mbp-mlbl { font-weight: 600; color: rgba(255, 255, 255, 0.95); }
.mbp-mpct { font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums; color: #fff; }
.mbp-mrow.pri .mbp-mpct { font-weight: 700; }
.mbp-mcd { font-size: 10px; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.4); min-width: 42px; text-align: right; }
.mbp-bar { height: 4.5px; border-radius: 99px; background: rgba(255, 255, 255, 0.09); overflow: hidden; }
.mbp-mrow.pri .mbp-bar { height: 5.5px; }
.mbp-bar > i {
  display: block; height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--bar-lo, #5479B2), var(--bar-hi, #6E93CC));
  transition: width 0.34s cubic-bezier(0.20, 0.92, 0.24, 1);
}
.mbp-sub {
  display: flex; align-items: center; gap: 5.5px; padding: 5px 8px; margin-top: 2px;
  border-radius: 7px; background: rgba(255, 255, 255, 0.048); font-size: 10px; font-weight: 500; color: rgba(255, 255, 255, 0.62);
}
.mbp-sub i { font-style: normal; color: var(--sub-accent, #8fb0d6); font-size: 10px; }
.mbp-empty {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  text-align: center; color: rgba(255, 255, 255, 0.55); font-size: 11.5px;
}

.mbp-foot {
  height: 42px; flex: none; padding: 0 11px; display: flex; align-items: center; gap: 8px;
  border-top: 0.75px solid rgba(255, 255, 255, 0.09);
}
.mbp-spacer { flex: 1; }
.mbp-cbtn {
  height: 24px; padding: 0 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255, 255, 255, 0.075); box-shadow: inset 0 0 0 0.6px rgba(255, 255, 255, 0.12);
  font-size: 11px; font-weight: 500; color: rgba(255, 255, 255, 0.88); transition: background 0.18s, color 0.18s;
}
.mbp-cbtn:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }
.mbp-cbtn.accent { background: rgba(88, 123, 163, 0.42); box-shadow: inset 0 0 0 0.75px rgba(155, 190, 235, 0.35); color: #fff; }
.mbp-cbtn.accent:hover { background: rgba(88, 123, 163, 0.58); }
.mbp-sdot { width: 6.5px; height: 6.5px; border-radius: 50%; background: #30d158; }
.mbp-sdot.off { background: rgba(255, 255, 255, 0.35); }

/* Anodized Mineral PlanTierBadgePill (matches PlanTierBadgePill in Swift) */
.ptb {
  display: inline-flex; align-items: center; gap: 4.2px; height: 17px; padding: 0 7px 0 6px;
  border-radius: 999px; flex: none;
  background: linear-gradient(180deg, var(--ptb-top, rgba(58, 66, 82, 0.92)), var(--ptb-bot, rgba(42, 48, 60, 0.95)));
  box-shadow: inset 0 0 0 0.75px rgba(255, 255, 255, 0.22), 0 1px 2px rgba(0, 0, 0, 0.2);
  font-size: 9.6px; font-weight: 600; letter-spacing: 0.015em; color: rgba(250, 250, 252, 0.97); white-space: nowrap;
}
.ptb::before { content: ""; width: 4.6px; height: 4.6px; border-radius: 50%; background: var(--ptb-dot, #9bc0f0); }

/* ---------- Native macOS 26 HoverTooltipPanel (120Hz gliding card) ---------- */
.tips { position: absolute; inset: 0; pointer-events: none; z-index: 7; }
.htc {
  position: absolute; left: 0; bottom: 138px; min-width: 288px; max-width: 376px;
  padding: 12px 14px; border-radius: 18px;
  background: rgba(26, 28, 34, 0.86);
  backdrop-filter: blur(32px) saturate(180%); -webkit-backdrop-filter: blur(32px) saturate(180%);
  box-shadow: inset 0 0 0 0.75px rgba(255, 255, 255, 0.16), 0 18px 40px rgba(0, 0, 0, 0.42);
  color: rgba(255, 255, 255, 0.95);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", sans-serif;
  text-align: left; user-select: none;
  transform-origin: 50% 100%;
  opacity: 0; transform: translate3d(var(--tx, 460px), 6px, 0) scale(0.95);
  transition:
    transform 0.22s cubic-bezier(0.20, 0.92, 0.24, 1),
    opacity 0.16s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}
.htc.on { opacity: 1; transform: translate3d(var(--tx, 460px), 0, 0) scale(1); }
.htc-static {
  position: relative; left: auto; bottom: auto; width: 356px; max-width: calc(100% - 28px);
  background: linear-gradient(180deg, #212228 0%, #1a1b20 100%);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  box-shadow: inset 0 0 0 0.75px rgba(255, 255, 255, 0.13), 0 24px 46px -12px rgba(20, 20, 19, 0.34);
  transform: none !important; opacity: 1;
}
.htc-static.swap { animation: htcSwap 0.24s cubic-bezier(0.20, 0.92, 0.24, 1); }
@keyframes htcSwap { from { opacity: 0.72; transform: translateY(4px) scale(0.985); } to { opacity: 1; transform: none; } }
.htc-head { display: flex; align-items: center; gap: 9px; }
.htc-right { margin-left: auto; padding-left: 12px; text-align: right; display: flex; flex-direction: column; gap: 1.5px; flex: none; }
.htc-hero { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; color: #fff; }
.htc-hero.credits { font-size: 13.5px; }
.htc-cd { font-size: 10px; font-weight: 500; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.5); }
.htc-cd.work { color: #30d158; }
.htc-rows { display: flex; flex-direction: column; gap: 5.5px; margin-top: 9px; padding-top: 9px; border-top: 0.75px solid rgba(255, 255, 255, 0.1); }
.htc-row { display: flex; align-items: center; gap: 9px; }
.htc-rlbl { flex: 1; min-width: 0; font-size: 11px; color: rgba(255, 255, 255, 0.66); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.htc-row.pri .htc-rlbl { font-weight: 600; color: rgba(255, 255, 255, 0.95); }
.htc-rbar { width: 52px; height: 4.5px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); overflow: hidden; flex: none; }
.htc-row.pri .htc-rbar { height: 5.5px; }
.htc-rbar > i {
  display: block; height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--bar-lo, #5479B2), var(--bar-hi, #6E93CC));
  transition: width 0.28s cubic-bezier(0.20, 0.92, 0.24, 1);
}
.htc-rpct { min-width: 33px; text-align: right; font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; color: #fff; }
.htc-row.pri .htc-rpct { font-weight: 700; }
.htc-rcd { min-width: 44px; text-align: right; font-size: 10px; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.46); }
.htc-single { margin-top: 9px; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.htc-single > i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--bar-lo, #498596), var(--bar-hi, #62A3B5)); transition: width 0.3s var(--ease); }
.htc-sub { display: flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 10px; font-weight: 500; color: rgba(255, 255, 255, 0.56); }
.htc-sub i { font-style: normal; color: var(--sub-accent, #8fb0d6); }

/* Dock + smooth magnification */
.dock-label {
  position: absolute; left: 0; bottom: 104px; z-index: 7; padding: 4px 12px; border-radius: 9px;
  background: rgba(32, 35, 44, 0.78); border: 0.75px solid rgba(255, 255, 255, 0.18); color: #fff;
  font: 500 13px -apple-system, "PingFang SC", sans-serif; white-space: nowrap;
  opacity: 0; transform: translate3d(var(--lx, 620px), 4px, 0) translateX(-50%);
  transition: opacity 0.15s, transform 0.2s cubic-bezier(0.20, 0.92, 0.24, 1);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); pointer-events: none; will-change: transform, opacity;
}
.dock-label.on { opacity: 1; transform: translate3d(var(--lx, 620px), 0, 0) translateX(-50%); }
.dock {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); z-index: 6;
  display: flex; align-items: flex-end; gap: 12px; padding: 9px 12px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.19), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(26px) saturate(160%); -webkit-backdrop-filter: blur(26px) saturate(160%);
}
.dock-item { position: relative; width: 62px; height: 62px; cursor: pointer; }
.dock-item img, .dock-item canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  transform-origin: 50% 100%;
  transform: translateY(var(--dy, 0px)) scale(var(--ms, 1));
  transition: transform 0.16s cubic-bezier(0.20, 0.92, 0.24, 1), opacity 0.15s;
  will-change: transform;
}
.dock-item canvas { opacity: 0; }
.dock-item.awake canvas { opacity: 1; }
.dock-item::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: rgba(255, 255, 255, 0.68); }
.dock-sep { width: 1px; height: 50px; margin: 6px 2px; background: rgba(255, 255, 255, 0.22); }

/* ---------- Logo strip ---------- */
.strip { padding: 96px 0 24px; text-align: center; }
.strip-label { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--muted); margin: 0 0 30px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.marquee-track { display: flex; gap: 34px; width: max-content; animation: marquee 80s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { width: 50px; height: 50px; filter: grayscale(1) contrast(0.92); opacity: 0.5; transition: filter 0.4s, opacity 0.4s, transform 0.4s var(--ease); }
.marquee-track img:hover { filter: none; opacity: 1; transform: translateY(-3px) scale(1.06); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section rhythm: one canvas, hairline seams ---------- */
main > section { position: relative; }
.manifesto, .lab, .features, .styles, .film, .apps, .how, .faq, .cta { padding: 112px 0; }
.lab::before, .features::before, .styles::before, .film::before, .apps::before, .how::before, .faq::before, .cta::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(var(--wrap), 100% - 56px); height: 1px; background: var(--line);
}

/* ---------- Manifesto ---------- */
.manifesto { padding-top: 112px; }
.manifesto-text {
  font-size: clamp(32px, 3.8vw, 54px); font-weight: 500; line-height: 1.14; letter-spacing: -0.03em;
  margin: 0; max-width: 22em; color: var(--ink); text-wrap: balance;
}
html[lang^="zh"] .manifesto-text { font-weight: 600; font-size: clamp(26px, 2.9vw, 40px); line-height: 1.55; letter-spacing: -0.005em; max-width: 24em; }
.m-dim { color: var(--faint); }
.m-ink { color: var(--ink); box-shadow: inset 0 -0.14em 0 rgb(88 123 163 / 22%); }
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 80px; }
.numbers > div { padding: 30px 30px 28px; border-radius: var(--r-lg); background: var(--card); display: flex; flex-direction: column; gap: 14px; }
.num { font-size: clamp(54px, 5.4vw, 80px); line-height: 0.9; font-variant-numeric: tabular-nums; letter-spacing: -0.04em; }
html[lang^="zh"] .num { font-weight: 500; letter-spacing: -0.04em; }
.num-l { font-size: 15.5px; color: var(--ink-2); }

/* ---------- Liquid Lab ---------- */
.lab-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 64px; align-items: center; }
.lab-copy .h2 { margin-bottom: 24px; }
.controls { margin-top: 40px; display: grid; gap: 26px; max-width: 520px; }
.ctl { display: grid; gap: 12px; }
.ctl-l { font-size: 14px; font-weight: 500; color: var(--muted); display: flex; justify-content: space-between; align-items: baseline; }
.ctl-l output { color: var(--ink); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 15px 0 7px;
  border-radius: 999px; background: var(--pill); font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.chip img { width: 26px; height: 26px; }
.chip:hover { background: var(--pill-hover); color: var(--ink); }
.chip.on { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.range-row { display: flex; align-items: center; gap: 14px; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; flex: 1; height: 6px; border-radius: 99px; outline: none;
  background: linear-gradient(90deg, var(--tint, var(--mist)) 0 var(--p, 69%), var(--card-2) var(--p, 69%));
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; cursor: grab;
  box-shadow: 0 0 0 1px rgb(20 20 19 / 12%), 0 3px 10px rgb(20 20 19 / 18%);
  transition: transform 0.25s var(--ease);
}
input[type="range"]::-webkit-slider-thumb:active { transform: scale(1.12); cursor: grabbing; }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgb(20 20 19 / 12%), 0 3px 10px rgb(20 20 19 / 18%); }
.btn-mini { height: 36px; padding: 0 16px; border-radius: 999px; background: var(--pill); font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background 0.2s, color 0.2s; min-width: 78px; }
.btn-mini:hover { background: var(--pill-hover); color: var(--ink); }
.seg { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 999px; background: var(--pill); justify-self: start; }
.seg button { position: relative; z-index: 1; height: 34px; padding: 0 18px; font-size: 14.5px; font-weight: 500; color: var(--muted); transition: color 0.3s; white-space: nowrap; }
.seg button.on { color: var(--ink); }
.seg-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--surface); transition: transform 0.45s var(--ease); box-shadow: 0 0 0 1px rgb(20 20 19 / 6%), 0 2px 6px rgb(20 20 19 / 10%); }
.seg[data-active="1"] .seg-thumb { transform: translateX(100%); }

.lab-stage { position: relative; display: flex; flex-direction: column; align-items: center; padding: 44px 40px 30px; border-radius: var(--r-xl); background: var(--card); }
.lab-tile { position: relative; width: min(470px, 100%); aspect-ratio: 1; cursor: crosshair; touch-action: none; }
.lab-tile canvas, .lab-tile img { width: 100%; height: 100%; filter: drop-shadow(0 28px 34px rgb(40 36 28 / 26%)); }
.lab-hint { display: flex; align-items: center; gap: 10px; margin: 26px 0 0; font-family: var(--sans); font-size: 14px; color: var(--muted); }
.lab-hint .pulse { background: var(--tint, var(--mist)); }
.lab-hint .pulse::after { border-color: var(--tint, var(--mist)); }
.lab-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 64px; }
.lab-stats > div { padding: 28px 30px; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 8px; }
.lab-stats b { font-size: 48px; line-height: 1; font-weight: 500; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.lab-stats small { font-size: 0.36em; font-weight: 500; margin-left: 6px; color: var(--muted); letter-spacing: 0; }
.lab-stats span { font-size: 15px; color: var(--ink-2); }
.lab-note { grid-column: 1 / -1; margin: 6px 0 0; font-family: var(--sans); font-size: 13px; color: var(--faint); }

/* ---------- Section heads ---------- */
.sec-head { margin-bottom: 60px; }
.sec-head.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; }
.sec-head.center { text-align: center; display: grid; justify-items: center; }
.sec-head.center .lead { margin-top: 22px; }

/* ---------- Features (bento on calm card surfaces) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.card {
  position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--card);
  display: flex; flex-direction: column; transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -28px rgb(40 36 28 / 28%); }
.card-copy { padding: 6px 30px 30px; }
.card-copy h3 { margin: 0 0 8px; font-size: 21px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
html[lang^="zh"] .card-copy h3 { font-size: 19px; font-weight: 600; letter-spacing: 0; }
.card-copy p { margin: 0; font-size: 15.5px; color: var(--ink-2); line-height: 1.6; max-width: 34em; }
.card-art { position: relative; overflow: hidden; margin: 12px 12px 22px; border-radius: calc(var(--r-lg) - 8px); }
.art-matte { background: var(--card-2); }
.art-deep { background: var(--card-2); }

.card-hover { grid-column: span 3; }
.bento-hover-art {
  height: 416px; display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 24px 18px 18px;
}
.bento-tip-wrap { flex: 1; width: 100%; display: grid; place-items: center; min-height: 0; }
.mini-dock {
  position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 6px;
  border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
}
.mini-dock-sel {
  position: absolute; top: 6px; left: 6px; width: 44px; height: 44px; border-radius: 12px;
  background: var(--pill); box-shadow: inset 0 0 0 1.5px var(--ink);
  transform: translate3d(0, 0, 0); transition: transform 0.24s cubic-bezier(0.20, 0.92, 0.24, 1);
  pointer-events: none;
}
.mini-dock button {
  position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; transition: transform 0.2s var(--ease);
}
.mini-dock button:hover { transform: translateY(-2px); }
.mini-dock img { width: 34px; height: 34px; }

.card-menu { grid-column: span 3; }
.bento-pop-art { height: 416px; display: grid; place-items: center; padding: 16px; }
.bento-pop-scale { transform-origin: 50% 50%; }

.card-dodge { grid-column: span 2; }
.card-dodge .card-art { height: 330px; display: grid; place-items: center; cursor: ew-resize; touch-action: pan-y; }
#dodgeCanvas { width: 224px; height: 224px; filter: drop-shadow(0 20px 26px rgb(40 36 28 / 26%)); }
.dodge-meter { position: absolute; left: 22px; right: 22px; bottom: 18px; display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: 12.5px; pointer-events: none; }
.dodge-meter i { flex: 1; height: 3px; border-radius: 9px; background: rgb(20 20 19 / 10%); overflow: hidden; }
.dodge-meter b { display: block; height: 100%; width: 64%; background: var(--ink); border-radius: 9px; }

.card-settings { grid-column: span 4; }
.card-settings .card-art { height: 330px; }
.shot-settings { position: absolute; z-index: 1; width: 330px; left: 9%; top: 34px; filter: drop-shadow(0 20px 32px rgb(20 20 19 / 22%)); transition: transform 0.55s var(--ease), filter 0.4s; cursor: pointer; }
.shot-studio { position: absolute; z-index: 2; width: 360px; left: 44%; top: 70px; filter: drop-shadow(0 26px 40px rgb(20 20 19 / 30%)); transition: transform 0.55s var(--ease), filter 0.4s; cursor: pointer; }
.bento-win-art.focus-settings .shot-settings { z-index: 3; transform: translateY(-12px) scale(1.02); filter: drop-shadow(0 28px 44px rgb(20 20 19 / 32%)); }
.bento-win-art.focus-settings .shot-studio { transform: translateY(6px) scale(0.985); opacity: 0.92; }
.bento-win-art.focus-studio .shot-studio { z-index: 3; transform: translateY(-16px) scale(1.02); }

.card-idle, .card-private { grid-column: span 3; min-height: 250px; justify-content: flex-end; }
.card-idle .card-copy, .card-private .card-copy { padding-top: 30px; }
.card-idle .big { font-size: 80px; line-height: 0.9; display: block; margin-bottom: 18px; font-weight: 500; letter-spacing: -0.045em; }
.card-idle .big small { font-size: 0.42em; color: var(--muted); letter-spacing: 0; }
.idle-viz { position: absolute; right: 30px; top: 30px; width: 46%; height: 40%; color: var(--mist); opacity: 0.9; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); }
.idle-viz svg { width: 100%; height: 100%; }
.lock { position: absolute; right: 30px; top: 30px; width: 64px; height: 64px; color: var(--sage); }

/* ---------- Styles ---------- */
.style-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.style-cell {
  margin: 0; border-radius: var(--r-md); background: var(--card); padding: 10px 10px 16px;
  display: grid; justify-items: center; gap: 8px; transition: transform 0.6s var(--ease), box-shadow 0.4s;
}
.style-cell:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-2); }
.style-cell video { width: 100%; aspect-ratio: 1; border-radius: 12px; background: var(--card); }
.style-cell span { font-size: 14px; font-weight: 500; color: var(--ink-2); text-align: center; line-height: 1.3; }
.style-cell .n { font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--faint); }

/* ---------- Film ---------- */
.film-frame { position: relative; padding: 14px; border-radius: calc(var(--r-xl) + 14px); background: var(--card); }
.film-frame video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-xl); background: #111; }
.film-play {
  position: absolute; left: 40px; bottom: 40px; height: 54px; padding: 0 22px 0 7px; border-radius: 999px; gap: 12px;
  background: #fff; display: inline-flex; align-items: center; box-shadow: 0 12px 30px rgb(0 0 0 / 22%);
  transition: transform 0.4s var(--ease), opacity 0.3s; color: var(--ink); font-size: 15.5px; font-weight: 500;
}
.film-play i { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.film-play svg { width: 12px; height: 14px; fill: #fff; margin-left: 3px; }
.film-play .muted { color: var(--faint); font-size: 13px; }
.film-play:hover { transform: translateY(-2px); }
.film-frame.playing .film-play { opacity: 0; pointer-events: none; }

/* ---------- Apps ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.filter { height: 36px; padding: 0 15px; border-radius: 999px; background: var(--pill); font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background 0.2s, color 0.2s; }
.filter:hover { background: var(--pill-hover); color: var(--ink); }
.filter.on { background: var(--ink); color: #fff; }
.filter sup { font-family: var(--mono); font-size: 10.5px; margin-left: 4px; opacity: 0.6; }
.app-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; }
.app-grid li {
  border-radius: 16px; padding: 22px 8px 16px; display: grid; justify-items: center; gap: 10px; text-align: center;
  transition: background 0.25s, opacity 0.35s, transform 0.35s var(--ease);
}
.app-grid li:hover { background: var(--card); }
.app-grid li img { width: 56px; height: 56px; transition: transform 0.5s var(--ease); }
.app-grid li:hover img { transform: translateY(-3px) scale(1.06); }
.app-grid li span { font-size: 13.5px; font-weight: 500; color: var(--ink-2); line-height: 1.3; }
.app-grid li.dim { opacity: 0.2; }
.app-grid li i { width: 6px; height: 6px; border-radius: 50%; display: block; margin-top: -3px; }

/* ---------- How ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps li { background: var(--card); border-radius: var(--r-lg); padding: 30px 30px 34px; }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--surface); font-size: 12.5px; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.steps h3 { margin: 52px 0 10px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
html[lang^="zh"] .steps h3 { font-size: 19px; font-weight: 600; letter-spacing: 0; }
.steps p { margin: 0; font-size: 15.5px; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: start; }
.faq-list { border-top: 1px solid var(--line-2); }
.faq-list details { border-bottom: 1px solid var(--line-2); }
.faq-list summary { list-style: none; cursor: pointer; padding: 24px 50px 24px 0; position: relative; font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
html[lang^="zh"] .faq-list summary { font-size: 17.5px; font-weight: 600; letter-spacing: 0; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 13px; height: 13px; margin-top: -6.5px;
  background: linear-gradient(currentColor, currentColor) center/13px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center/1.5px 13px no-repeat;
  transition: transform 0.4s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { margin: -6px 0 26px; color: var(--ink-2); max-width: 40em; font-size: 16.5px; }

/* ---------- CTA ---------- */
.cta { padding: 136px 0 136px; text-align: center; }
.cta-inner { display: grid; justify-items: center; }
.cta-icon { width: 108px; height: 108px; filter: drop-shadow(0 12px 20px rgb(20 20 19 / 14%)); margin-bottom: 36px; }
.cta-title { font-size: clamp(50px, 6.6vw, 96px); margin: 0 0 24px; letter-spacing: -0.045em; line-height: 1; }
html[lang^="zh"] .cta-title { font-size: clamp(40px, 5.2vw, 76px); letter-spacing: -0.02em; line-height: 1.16; }
.cta .lead { text-align: center; }

/* ---------- Footer ---------- */
.foot { background: var(--bg); color: var(--ink-2); padding: 0 0 40px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: 56px 0 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.foot-tag { font-size: 30px; color: var(--ink); margin: 24px 0 0; max-width: 12em; letter-spacing: -0.03em; line-height: 1.12; }
html[lang^="zh"] .foot-tag { font-size: 23px; letter-spacing: 0; line-height: 1.45; }
.foot h4 { margin: 0 0 16px; font-weight: 500; font-size: 14px; color: var(--muted); }
.foot-grid a, .link-btn { display: block; font-size: 15.5px; padding: 5px 0; color: var(--ink-2); transition: color 0.2s; text-align: left; }
.foot-grid a.brand { display: inline-flex; padding: 0; color: var(--ink); }
.foot-grid a:hover, .link-btn:hover { color: var(--ink); }
.foot-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: 13.5px; color: var(--muted); }

/* ---------- Modal + toast (solid, no blur) ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; }
.modal[hidden] { display: none; }
.modal-back { position: absolute; inset: 0; background: rgb(20 20 19 / 86%); animation: fade 0.35s var(--ease); }
.modal-body { position: relative; width: min(1200px, 92vw); border-radius: 22px; overflow: hidden; box-shadow: 0 40px 120px rgba(0,0,0,.5); animation: rise 0.5s var(--ease); }
.modal-body video { width: 100%; aspect-ratio: 16/9; background: #000; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 22px; line-height: 1; box-shadow: 0 6px 16px rgb(0 0 0 / 25%); }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(0.98); } }
.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 210; transform: translate(-50%, 20px); opacity: 0;
  padding: 12px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14.5px;
  box-shadow: 0 16px 34px -14px rgb(0 0 0 / 45%); transition: opacity 0.3s, transform 0.5s var(--ease); pointer-events: none;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal (short, quiet) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.qa .reveal { opacity: 1; transform: none; transition: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .pulse::after { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-row { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .lab-grid { grid-template-columns: 1fr; gap: 48px; }
  .lab-stage { order: -1; }
  .sec-head.split { grid-template-columns: 1fr; gap: 24px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card-hover, .card-menu, .card-settings { grid-column: span 2; }
  .card-dodge, .card-idle, .card-private { grid-column: span 1; }
  .style-grid { grid-template-columns: repeat(4, 1fr); }
  .app-grid { grid-template-columns: repeat(5, 1fr); }
  .faq-grid { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 36px); }
  .lab::before, .features::before, .styles::before, .film::before, .apps::before, .how::before, .faq::before, .cta::before { width: calc(100% - 36px); }
  .hero { padding-top: 116px; }
  .manifesto, .lab, .features, .styles, .film, .apps, .how, .faq, .cta { padding: 88px 0; }
  .lead { font-size: 17px; }
  .stage-frame, .film-frame { padding: 8px; border-radius: 24px; }
  .stage, .film-frame video { border-radius: 16px; }
  .film-play { left: 22px; bottom: 22px; height: 46px; font-size: 14px; }
  .film-play i { width: 34px; height: 34px; }
  .lab-stage { padding: 28px 20px 22px; }
  .bento { grid-template-columns: 1fr; }
  .card-hover, .card-settings, .card-menu, .card-dodge, .card-idle, .card-private { grid-column: span 1; }
  .bento-hover-art { height: 390px; }
  .bento-pop-art { height: 340px; padding: 8px; }
  .shot-settings { width: 240px; left: 4%; }
  .shot-studio { width: 260px; left: 36%; }
  .style-grid { grid-template-columns: repeat(2, 1fr); }
  .app-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .numbers, .lab-stats { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .btn-sm span { display: none; }
}
