/* Faro official site — instrument / searchlight visual system */

:root {
  --bg: #03070d;
  --bg-2: #06101b;
  --surface: #0a1727;
  --surface-2: #0d1f33;
  --line: rgba(126, 180, 230, 0.13);
  --line-strong: rgba(126, 190, 240, 0.24);
  --text: #e9f3ff;
  --text-soft: #c3d6e8;
  --muted: #93a7bd;
  --muted-deep: #6d8298;
  --cyan: #7fe3ff;
  --cyan-2: #41b4ee;
  --cyan-deep: #2f8fd0;
  --amber: #ffcf7a;
  --green: #54e0b0;
  --radius: 18px;
  --container: 1160px;
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --mono: "Cascadia Code", "SFMono-Regular", "JetBrains Mono", Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 900px at 88% -12%, rgba(55, 170, 235, 0.16), transparent 62%),
    radial-gradient(900px 900px at -12% 44%, rgba(84, 96, 220, 0.08), transparent 60%),
    radial-gradient(1000px 800px at 50% 112%, rgba(20, 90, 140, 0.08), transparent 62%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(126, 190, 240, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 190, 240, 0.04) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(ellipse 90% 55% at 50% -5%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 90% 55% at 50% -5%, #000 0%, transparent 72%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: rgba(127, 227, 255, 0.28);
  color: #f2fdff;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

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

ul {
  padding: 0;
  list-style: none;
}

p,
h1,
h2 {
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--cyan);
  color: #03121e;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.18s var(--ease);
}

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

.container {
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.icon {
  width: 24px;
  height: 24px;
  display: block;
  flex: none;
}

.micro {
  display: inline-block;
  color: #7891a8;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(3, 7, 13, 0.72);
  border-bottom: 1px solid rgba(126, 190, 240, 0.09);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(127, 227, 255, 0.32), transparent);
  opacity: 0.55;
}

.nav {
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
  height: 66px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, #9ceeff 0%, #58c8f5 45%, #2c95d8 100%);
  box-shadow: 0 0 22px rgba(95, 208, 255, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 1;
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  color: #a9bfd4;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  transform: scaleX(0);
  transition: transform 0.24s var(--ease);
}

.nav-links a:hover {
  color: #eaf8ff;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.nav-divider {
  width: 1px;
  height: 18px;
  background: rgba(126, 190, 240, 0.16);
}

.icon-link {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid transparent;
  color: #9fb6cc;
  transition: color 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease);
}

.icon-link:hover {
  color: #eaf8ff;
  background: rgba(127, 227, 255, 0.07);
  border-color: var(--line);
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.18s var(--ease), box-shadow 0.24s var(--ease),
    background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn .icon {
  width: 19px;
  height: 19px;
}

.btn-primary {
  color: #03131f;
  background: linear-gradient(180deg, #a5edff 0%, #63cdf6 42%, #3aabe6 100%);
  box-shadow:
    0 12px 34px rgba(59, 176, 235, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    inset 0 -1px 0 rgba(5, 40, 62, 0.18);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.55) 48%, transparent 64%);
  transform: translateX(-130%);
  transition: transform 0.65s var(--ease);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 18px 44px rgba(59, 176, 235, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.btn-primary:hover::after {
  transform: translateX(130%);
}

.btn-ghost {
  color: #c8ebff;
  background: rgba(127, 227, 255, 0.055);
  border-color: rgba(127, 227, 255, 0.22);
}

.btn-ghost:hover {
  background: rgba(127, 227, 255, 0.11);
  border-color: rgba(127, 227, 255, 0.42);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 10px 17px;
  border-radius: 10px;
  font-size: 14px;
}

.btn-sub {
  margin-left: 2px;
  padding-left: 10px;
  border-left: 1px solid rgba(4, 30, 47, 0.28);
  font-size: 11.5px;
  font-weight: 600;
  opacity: 0.72;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 74px 0 0;
  overflow: hidden;
}

.hero-beam {
  position: absolute;
  top: -42%;
  right: -18%;
  width: 88vw;
  height: 132vh;
  pointer-events: none;
  background: conic-gradient(from 206deg at 72% 18%,
    transparent 0deg,
    rgba(95, 208, 255, 0.09) 13deg,
    rgba(95, 208, 255, 0.02) 28deg,
    transparent 44deg);
  filter: blur(26px);
  transform: rotate(-7deg);
  animation: beam-sweep 26s ease-in-out infinite alternate;
}

@keyframes beam-sweep {
  from { transform: rotate(-9deg) translate3d(0, 0, 0); opacity: 0.72; }
  to { transform: rotate(-1deg) translate3d(-42px, 26px, 0); opacity: 1; }
}

.hero-rail {
  position: absolute;
  left: max(16px, calc((100vw - var(--container)) / 2 - 52px));
  top: 178px;
  display: flex;
  gap: 30px;
  writing-mode: vertical-rl;
  pointer-events: none;
  color: rgba(127, 190, 230, 0.34);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 54px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-brandline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-icon {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  box-shadow:
    0 0 0 1px rgba(127, 227, 255, 0.24),
    0 18px 44px rgba(0, 0, 0, 0.56),
    0 0 48px rgba(95, 208, 255, 0.26);
}

.hero-brandtext {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #a9c0d6;
  font-size: 12.5px;
  letter-spacing: 0.02em;
}

.hero-status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(84, 224, 176, 0.9);
}

.hero h1 {
  font-size: clamp(44px, 5.9vw, 78px);
  font-weight: 760;
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.display-line {
  display: inline-block;
  margin-top: 0.08em;
}

.h1-kbd {
  display: inline-grid;
  place-items: center;
  min-width: 1.58em;
  margin: 0 0.05em;
  padding: 0.08em 0.22em 0.13em;
  border: 1px solid rgba(149, 219, 255, 0.34);
  border-bottom: 0.085em solid rgba(20, 70, 102, 0.92);
  border-radius: 0.18em;
  background: linear-gradient(180deg, #1d3a55 0%, #102336 55%, #0a1929 100%);
  box-shadow:
    0 0.1em 0.3em rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 0 0.6em rgba(95, 208, 255, 0.16);
  color: #cdefff;
  font-family: var(--mono);
  font-size: 0.56em;
  font-weight: 600;
  letter-spacing: -0.01em;
  vertical-align: 0.12em;
}

.text-gradient {
  background: linear-gradient(96deg, #f0fdff 0%, #b3f0ff 32%, #6fd4fb 64%, #45a7e2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  max-width: 34em;
  margin-top: 26px;
  color: #9db1c7;
  font-size: 17px;
  line-height: 1.85;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-cta .btn {
  padding: 15px 24px;
  font-size: 15.5px;
}

.hero-notes {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 24px;
  color: #7f95ab;
  font-size: 13px;
}

.hero-notes li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-notes .icon {
  width: 15px;
  height: 15px;
  color: #4fd3a5;
}

/* ---------- Demo window ---------- */

.demo-shell {
  position: relative;
  z-index: 2;
}

.hero-ghost {
  position: absolute;
  right: -8%;
  bottom: -2%;
  z-index: 0;
  color: transparent;
  font-size: clamp(120px, 16vw, 230px);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.8;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  -webkit-text-stroke: 1px rgba(127, 227, 255, 0.085);
}

.demo-glow {
  position: absolute;
  inset: -12% -8% -16%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 55% at 70% 20%, rgba(65, 185, 245, 0.22), transparent 70%),
    radial-gradient(50% 50% at 20% 90%, rgba(45, 130, 200, 0.16), transparent 70%);
  filter: blur(28px);
}

.demo {
  position: relative;
  z-index: 2;
  border: 1px solid transparent;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(13, 31, 50, 0.97), rgba(6, 16, 28, 0.985)) padding-box,
    linear-gradient(150deg, rgba(150, 225, 255, 0.44), rgba(60, 140, 200, 0.14) 38%, rgba(40, 90, 130, 0.1) 70%, rgba(127, 227, 255, 0.28)) border-box;
  box-shadow:
    0 46px 110px rgba(0, 0, 0, 0.64),
    0 0 0 1px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  overflow: hidden;
  transform: perspective(1600px) rotateY(-1.3deg) rotateX(0.4deg);
  transition: transform 0.5s var(--ease), box-shadow 0.4s var(--ease);
}

.demo:hover {
  transform: perspective(1600px) rotateY(0deg) rotateX(0deg);
  box-shadow:
    0 52px 120px rgba(0, 0, 0, 0.66),
    0 0 46px rgba(95, 208, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.demo::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(190, 240, 255, 0.55), transparent);
  opacity: 0.7;
}

.demo-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border-bottom: 1px solid rgba(126, 190, 240, 0.1);
}

.demo-mark {
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, #9ceeff, #46b6e8 55%, #2c95d8);
  box-shadow: 0 0 16px rgba(95, 208, 255, 0.35);
}

.demo-mark svg {
  width: 17px;
  height: 17px;
}

.demo-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(127, 227, 255, 0.22);
  border-radius: 12px;
  background: rgba(2, 9, 16, 0.82);
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.45);
  transition: border-color 0.2s var(--ease), box-shadow 0.25s var(--ease);
}

.demo-input-wrap:focus-within {
  border-color: rgba(127, 227, 255, 0.62);
  box-shadow:
    0 0 0 3px rgba(127, 227, 255, 0.1),
    0 0 26px rgba(95, 208, 255, 0.14),
    inset 0 1px 4px rgba(0, 0, 0, 0.45);
}

.demo-search-icon {
  width: 17px;
  height: 17px;
  color: #6f8ba3;
}

.demo-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1;
}

.demo-input::placeholder {
  color: #5f778d;
}

.kbd-tiny {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  border: 1px solid rgba(126, 190, 240, 0.18);
  border-bottom: 2px solid rgba(86, 140, 185, 0.22);
  border-radius: 5px;
  background: rgba(12, 27, 44, 0.9);
  color: #a7c0d6;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0;
  line-height: 1;
}

.demo-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 19px 4px;
  color: #6d859c;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-status span:first-child {
  color: #8fa9c0;
}

.demo-list {
  position: relative;
  height: 338px;
  margin: 0;
  padding: 8px 10px 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #24415c transparent;
}

.demo-list::-webkit-scrollbar {
  width: 8px;
}

.demo-list::-webkit-scrollbar-thumb {
  background: #213c56;
  border: 2px solid transparent;
  border-radius: 99px;
  background-clip: padding-box;
}

.demo-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  transition: background 0.14s var(--ease), border-color 0.14s var(--ease);
}

.demo-item + .demo-item {
  margin-top: 2px;
}

.demo-item.is-active {
  background: linear-gradient(90deg, rgba(95, 208, 255, 0.11), rgba(95, 208, 255, 0.04));
  border-color: rgba(95, 208, 255, 0.2);
}

.demo-item.is-active::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 11px;
  bottom: 11px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, #9ceeff, #3aa9e6);
  box-shadow: 0 0 10px rgba(95, 208, 255, 0.7);
}

.item-icon {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.item-icon .icon {
  width: 18px;
  height: 18px;
}

.icon-doc { color: #8fc4ff; background: rgba(90, 170, 255, 0.13); border: 1px solid rgba(90, 170, 255, 0.2); }
.icon-ppt { color: #ffb27a; background: rgba(255, 150, 90, 0.12); border: 1px solid rgba(255, 150, 90, 0.2); }
.icon-xls { color: #6fe6b0; background: rgba(70, 210, 150, 0.11); border: 1px solid rgba(70, 210, 150, 0.2); }
.icon-txt { color: #a8c4da; background: rgba(150, 190, 220, 0.1); border: 1px solid rgba(150, 190, 220, 0.16); }
.icon-app { color: #7fe3ff; background: rgba(95, 208, 255, 0.12); border: 1px solid rgba(95, 208, 255, 0.22); }
.icon-folder { color: #ffd066; background: rgba(255, 200, 80, 0.1); border: 1px solid rgba(255, 200, 80, 0.2); }
.icon-web { color: #ff9ec1; background: rgba(251, 114, 153, 0.13); border: 1px solid rgba(251, 114, 153, 0.24); font-size: 9.5px; }
.icon-math { color: #c4b5ff; background: rgba(150, 120, 255, 0.13); border: 1px solid rgba(150, 120, 255, 0.22); font-size: 15px; }

.item-text {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.item-name {
  color: #dcebf8;
  font-size: 14.5px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-name mark {
  padding: 0 1px;
  border-radius: 3px;
  background: rgba(95, 208, 255, 0.24);
  color: #b6f2ff;
}

.item-path {
  color: #6a8196;
  font-size: 11.5px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-type {
  flex: none;
  color: #71889e;
  font-size: 11px;
  letter-spacing: 0.03em;
}

.match-tag {
  flex: none;
  padding: 2px 7px;
  border: 1px solid rgba(95, 208, 255, 0.22);
  border-radius: 999px;
  background: rgba(95, 208, 255, 0.07);
  color: #82d9ff;
  font-size: 10px;
  line-height: 1.5;
}

.demo-item.answer {
  background: linear-gradient(90deg, rgba(95, 208, 255, 0.13), rgba(95, 208, 255, 0.02));
  border-color: rgba(95, 208, 255, 0.28);
}

.answer-value {
  color: #c7f6ff;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.demo-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 100%;
  padding: 20px;
  text-align: center;
  color: #71889e;
  font-size: 13.5px;
}

.demo-empty strong {
  color: #b6d5ea;
  font-weight: 600;
}

.demo-foot {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 11px 19px;
  border-top: 1px solid rgba(126, 190, 240, 0.1);
  background: rgba(2, 8, 14, 0.38);
  color: #6a8196;
  font-size: 11.5px;
}

.demo-foot span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.demo-toast {
  position: absolute;
  left: 50%;
  bottom: 62px;
  z-index: 4;
  max-width: calc(100% - 40px);
  padding: 8px 14px;
  border: 1px solid rgba(95, 208, 255, 0.3);
  border-radius: 10px;
  background: rgba(10, 29, 46, 0.96);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  color: #cdefff;
  font-size: 12.5px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}

.demo-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.demo-tries {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-left: 4px;
  color: #6a8196;
  font-size: 12.5px;
}

.chip {
  padding: 5px 11px;
  border: 1px solid rgba(95, 208, 255, 0.18);
  border-radius: 999px;
  background: rgba(95, 208, 255, 0.06);
  color: #9fd9f7;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.5;
  cursor: pointer;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.chip:hover {
  border-color: rgba(95, 208, 255, 0.45);
  background: rgba(95, 208, 255, 0.13);
  color: #d8f7ff;
}

.demo-meta {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 0 3px;
  color: #7891a8;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.demo-meta-item {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.demo-meta-item i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.dot-local {
  background: var(--green);
  box-shadow: 0 0 8px rgba(84, 224, 176, 0.8);
}

.dot-amber {
  background: var(--amber);
  box-shadow: 0 0 8px rgba(255, 207, 122, 0.7);
}

.hero-marquee {
  position: relative;
  z-index: 2;
  margin-top: 74px;
  padding: 17px 0;
  border-top: 1px solid rgba(126, 190, 240, 0.09);
  border-bottom: 1px solid rgba(126, 190, 240, 0.09);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  animation: marquee 52s linear infinite;
}

.marquee-track span {
  color: #718ba2;
  font-size: 13px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.marquee-track i {
  color: rgba(127, 227, 255, 0.5);
  font-size: 9px;
  font-style: normal;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding: 96px 0;
  border-top: 1px solid rgba(126, 190, 240, 0.07);
}

#download {
  padding-bottom: 84px;
}

#faq {
  padding-top: 84px;
}

.section-head {
  position: relative;
  max-width: 900px;
  margin-bottom: 52px;
  padding-top: 8px;
}

.section-head::before {
  content: attr(data-index);
  position: absolute;
  left: -4px;
  top: -76px;
  z-index: 0;
  color: transparent;
  font-size: clamp(64px, 8.5vw, 110px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  pointer-events: none;
  -webkit-text-stroke: 1px rgba(127, 227, 255, 0.13);
}

.section-head::after {
  content: attr(data-meta);
  position: absolute;
  right: 0;
  top: 8px;
  color: rgba(127, 190, 230, 0.4);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-head > * {
  position: relative;
  z-index: 1;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #63c6f2;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, rgba(95, 208, 255, 0.15), rgba(95, 208, 255, 0.85));
}

h2 {
  max-width: 18em;
  margin-top: 16px;
  font-size: clamp(36px, 4.6vw, 58px);
  font-weight: 740;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-head p,
.section-lede {
  max-width: 38em;
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.hl {
  padding: 0 0.06em;
  background: linear-gradient(transparent 72%, rgba(95, 208, 255, 0.26) 72%);
  border-radius: 2px;
}

.hl-amber {
  padding: 0 0.06em;
  background: linear-gradient(transparent 72%, rgba(255, 207, 122, 0.24) 72%);
  border-radius: 2px;
}

/* ---------- Bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(420px 220px at 85% 0%, rgba(65, 175, 235, 0.07), transparent 70%),
    linear-gradient(160deg, rgba(12, 28, 46, 0.8), rgba(5, 13, 23, 0.62));
  overflow: hidden;
  transition: border-color 0.26s var(--ease), transform 0.26s var(--ease), box-shadow 0.26s var(--ease);
}

.bento-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(340px 200px at 20% 0%, rgba(95, 208, 255, 0.12), transparent 70%);
  transition: opacity 0.3s var(--ease);
}

.bento-card:hover {
  border-color: rgba(127, 227, 255, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.3);
}

.bento-card:hover::after {
  opacity: 1;
}

.bento-7 { grid-column: span 7; }
.bento-5 { grid-column: span 5; }
.bento-6 { grid-column: span 6; }

.bento-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.bento-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(95, 208, 255, 0.18);
  border-radius: 11px;
  background: linear-gradient(160deg, rgba(95, 208, 255, 0.14), rgba(95, 208, 255, 0.04));
  color: #8ce3ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.bento-icon .icon {
  width: 20px;
  height: 20px;
}

.bento-card h3 {
  position: relative;
  z-index: 1;
  font-size: 19px;
  font-weight: 660;
  letter-spacing: -0.015em;
}

.bento-card p {
  position: relative;
  z-index: 1;
  max-width: 36em;
  margin-top: 9px;
  color: #8fa5bb;
  font-size: 14.5px;
  line-height: 1.8;
  text-wrap: balance;
}

.bento-visual {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 22px;
}

.result-stack {
  border: 1px solid rgba(126, 190, 240, 0.1);
  border-radius: 12px;
  background: rgba(2, 8, 14, 0.62);
  overflow: hidden;
}

.stack-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border-bottom: 1px solid rgba(126, 190, 240, 0.09);
  color: #6f8ba3;
  font-size: 10.5px;
  letter-spacing: 0.04em;
}

.stack-query {
  padding: 1px 8px;
  border: 1px solid rgba(95, 208, 255, 0.28);
  border-radius: 5px;
  background: rgba(95, 208, 255, 0.08);
  color: #c7f4ff;
  font-family: var(--mono);
  font-size: 11.5px;
}

.stack-count {
  margin-left: auto;
  color: #5f778d;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.stack-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 9px 13px;
  border-bottom: 1px solid rgba(126, 190, 240, 0.06);
  color: #a9c0d6;
  font-size: 12px;
}

.stack-row:last-child {
  border-bottom: 0;
}

.stack-row.is-active {
  background: rgba(95, 208, 255, 0.08);
  box-shadow: inset 2px 0 0 rgba(127, 227, 255, 0.8);
  color: #e3f7ff;
}

.ext {
  display: grid;
  place-items: center;
  height: 20px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ext.ppt { color: #ffb27a; background: rgba(255, 150, 90, 0.13); }
.ext.xls { color: #6fe6b0; background: rgba(70, 210, 150, 0.12); }
.ext.doc { color: #8fc4ff; background: rgba(90, 170, 255, 0.13); }

.stack-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stack-path {
  color: #5f778d;
  font-family: var(--mono);
  font-size: 9.5px;
}

.pinyin-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  min-height: 216px;
  padding: 24px;
  border: 1px solid rgba(126, 190, 240, 0.1);
  border-radius: 12px;
  background:
    radial-gradient(260px 160px at 78% 0%, rgba(95, 208, 255, 0.1), transparent 70%),
    rgba(2, 8, 14, 0.55);
}

.pinyin-line {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pinyin-key {
  padding: 4px 13px 7px;
  border: 1px solid rgba(127, 227, 255, 0.3);
  border-bottom: 3px solid rgba(20, 70, 102, 0.9);
  border-radius: 8px;
  background: linear-gradient(180deg, #17324a, #0a1a2a);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: #aef0ff;
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.pinyin-arrow {
  color: #4a6a85;
  font-size: 22px;
}

.pinyin-word {
  color: #e9f7ff;
  font-size: 38px;
  font-weight: 760;
  letter-spacing: 0.02em;
  line-height: 1;
}

.pinyin-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.pinyin-tags span {
  padding: 3px 9px;
  border: 1px solid rgba(126, 190, 240, 0.14);
  border-radius: 999px;
  color: #8fdcff;
  font-size: 10.5px;
}

.quote-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  min-height: 210px;
  padding: 22px 22px 22px 24px;
  border: 1px solid rgba(126, 190, 240, 0.1);
  border-radius: 12px;
  background: rgba(2, 8, 14, 0.55);
}

.quote-visual::before {
  content: "“";
  position: absolute;
  top: 4px;
  right: 14px;
  color: rgba(127, 227, 255, 0.1);
  font-family: Georgia, serif;
  font-size: 64px;
  line-height: 1;
}

.quote-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.quote-hit {
  padding: 3px 8px;
  border: 1px solid rgba(95, 208, 255, 0.22);
  border-radius: 999px;
  background: rgba(95, 208, 255, 0.07);
  color: #8fdcff;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
}

.quote-file {
  color: #6f8ba3;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
}

.quote-visual p {
  max-width: none;
  margin-top: 0;
  color: #b9d2e6;
  font-size: 13.5px;
  line-height: 1.8;
}

.quote-visual mark {
  padding: 0 2px;
  border-radius: 3px;
  background: rgba(127, 227, 255, 0.16);
  color: #cdf6ff;
}

.action-visual {
  overflow: hidden;
  border: 1px solid rgba(126, 190, 240, 0.1);
  border-radius: 12px;
  background: rgba(2, 8, 14, 0.55);
}

.action-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(126, 190, 240, 0.09);
  background: rgba(95, 208, 255, 0.05);
}

.app-badge {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(150deg, #9ceeff, #2c95d8);
  color: #041420;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.action-app {
  color: #e3f7ff;
  font-size: 13px;
}

.action-key {
  margin-left: auto;
  padding: 2px 7px;
  border: 1px solid rgba(126, 190, 240, 0.18);
  border-radius: 4px;
  color: #8fa9c0;
  font-family: var(--mono);
  font-size: 9px;
}

.action-menu {
  display: flex;
  flex-direction: column;
}

.action-menu span {
  padding: 8px 14px;
  border-bottom: 1px solid rgba(126, 190, 240, 0.06);
  color: #9fb6cc;
  font-size: 11.5px;
}

.action-menu span:last-child {
  border-bottom: 0;
}

.action-menu span:first-child {
  color: #d9f7ff;
  background: rgba(95, 208, 255, 0.08);
}

.action-menu span:first-child::after {
  content: "↵";
  float: right;
  color: #7fc9ea;
}

.preview-visual {
  display: flex;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(126, 190, 240, 0.1);
  border-radius: 12px;
  background: rgba(2, 8, 14, 0.55);
}

.preview-thumb {
  width: 46%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(127, 227, 255, 0.12);
  background:
    radial-gradient(circle at 68% 30%, rgba(127, 227, 255, 0.65) 0 7%, transparent 8%),
    linear-gradient(155deg, transparent 38%, rgba(127, 227, 255, 0.2) 39%, rgba(16, 62, 92, 0.7) 68%),
    linear-gradient(135deg, #123a57, #071726);
}

.preview-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
}

.preview-lines i {
  height: 7px;
  border-radius: 99px;
  background: rgba(126, 190, 240, 0.14);
}

.preview-lines i:nth-child(2) { width: 84%; }
.preview-lines i:nth-child(3) { width: 58%; }

.habits-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(126, 190, 240, 0.1);
  border-radius: 12px;
  background: rgba(2, 8, 14, 0.55);
}

.habit-chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.habit-chips span {
  padding: 3px 9px;
  border: 1px solid rgba(126, 190, 240, 0.14);
  border-radius: 999px;
  color: #8fdcff;
  font-size: 10.5px;
}

.habit-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 66px;
  padding-bottom: 1px;
  border-bottom: 1px solid rgba(126, 190, 240, 0.12);
}

.habit-bars i {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, rgba(127, 227, 255, 0.6), rgba(47, 143, 208, 0.12));
  opacity: 0.8;
}

.habit-bars i:first-child {
  background: linear-gradient(180deg, rgba(255, 207, 122, 0.75), rgba(190, 130, 40, 0.14));
}

/* ---------- Integrations ---------- */

.integration-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  gap: 16px;
  align-items: stretch;
}

.integration-primary {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(65, 175, 235, 0.08), transparent 70%),
    linear-gradient(160deg, rgba(11, 26, 43, 0.82), rgba(5, 13, 23, 0.6));
  overflow: hidden;
}

.scene-big {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 374px;
  margin-bottom: 24px;
  padding: 48px 26px 26px;
  border: 1px solid rgba(126, 190, 240, 0.1);
  border-radius: 14px;
  background:
    radial-gradient(70% 80% at 50% 0%, rgba(65, 175, 235, 0.12), transparent 70%),
    rgba(2, 8, 14, 0.62);
  overflow: hidden;
}

.scene-big::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(126, 190, 240, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 190, 240, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(75% 75% at 50% 50%, #000, transparent 82%);
  mask-image: radial-gradient(75% 75% at 50% 50%, #000, transparent 82%);
}

.explorer-window {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  border: 1px solid #23425f;
  border-radius: 10px;
  background: #07131f;
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.52);
  overflow: hidden;
  font-size: 12px;
}

.explorer-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid #14273d;
  background: rgba(16, 36, 56, 0.72);
}

.win-dots {
  display: flex;
  gap: 4px;
}

.win-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #34506d;
}

.explorer-title {
  color: #9fb6cc;
  font-size: 10.5px;
}

.explorer-addr {
  margin-left: auto;
  color: #6f8ba3;
  font-family: var(--mono);
  font-size: 9.5px;
}

.explorer-body {
  display: grid;
  grid-template-columns: 98px 1fr;
  min-height: 214px;
}

.explorer-side {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 8px;
  border-right: 1px solid #14273d;
}

.explorer-side span {
  padding: 5px 8px;
  border-radius: 4px;
  color: #6f8ba3;
  font-size: 10px;
}

.explorer-side span:first-child {
  background: rgba(95, 208, 255, 0.07);
  color: #a9c0d6;
}

.explorer-main {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px;
}

.explorer-search {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid rgba(127, 227, 255, 0.55);
  border-radius: 7px;
  background: #04101b;
  box-shadow: 0 0 24px rgba(95, 208, 255, 0.12);
  color: #d7f2ff;
  font-size: 11.5px;
}

.explorer-search .icon {
  width: 13px;
  height: 13px;
  color: #6f8ba3;
}

.caret {
  width: 1px;
  height: 13px;
  background: #7fe3ff;
  animation: caret 1.2s steps(1) infinite;
}

@keyframes caret {
  0%, 55% { opacity: 1; }
  56%, 100% { opacity: 0; }
}

.search-chip {
  margin-left: auto;
  padding: 2px 7px;
  border: 1px solid rgba(126, 190, 240, 0.16);
  border-radius: 4px;
  color: #6f8ba3;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
}

.explorer-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 8px 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #a9c0d6;
  font-size: 11.5px;
}

.explorer-row.is-hot {
  border-color: rgba(95, 208, 255, 0.22);
  background: rgba(95, 208, 255, 0.1);
  box-shadow: inset 2px 0 0 rgba(127, 227, 255, 0.8);
  color: #e3f7ff;
}

.row-meta {
  color: #5f778d;
  font-family: var(--mono);
  font-size: 8.5px;
}

.scene-callout {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  padding: 5px 9px;
  border: 1px solid rgba(255, 207, 122, 0.3);
  border-radius: 999px;
  background: rgba(4, 14, 24, 0.9);
  color: #f0d7a6;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.integration-copy {
  position: relative;
  z-index: 1;
}

.integration-copy h3 {
  margin-top: 7px;
  font-size: 20px;
  font-weight: 660;
  letter-spacing: -0.015em;
}

.integration-copy p {
  max-width: 40em;
  margin-top: 8px;
  color: #8fa5bb;
  font-size: 14.5px;
  line-height: 1.8;
}

.integration-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}

.integration-mini {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(11, 26, 43, 0.78), rgba(5, 13, 23, 0.56));
  overflow: hidden;
  transition: border-color 0.24s var(--ease), transform 0.24s var(--ease);
}

.integration-mini:hover {
  border-color: rgba(127, 227, 255, 0.24);
  transform: translateY(-2px);
}

.mini-scene {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 128px;
  border: 1px solid rgba(126, 190, 240, 0.1);
  border-radius: 12px;
  background:
    radial-gradient(70% 80% at 50% 10%, rgba(65, 175, 235, 0.1), transparent 70%),
    rgba(2, 8, 14, 0.6);
  overflow: hidden;
}

.mini-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(126, 190, 240, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 190, 240, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 82%);
  mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 82%);
}

.kbd {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  min-width: 78px;
  height: 64px;
  padding: 0 18px;
  border: 1px solid #2d5273;
  border-bottom: 5px solid #071523;
  border-radius: 12px;
  background: linear-gradient(180deg, #1b344c 0%, #0d1e30 60%, #0a1827 100%);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 0 26px rgba(95, 208, 255, 0.08);
  color: #d3edfc;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 0.2s var(--ease), border-bottom-width 0.2s var(--ease);
}

.integration-mini:hover .kbd {
  transform: translateY(1px);
  border-bottom-width: 2px;
}

.key-x {
  position: relative;
  z-index: 1;
  margin-left: 12px;
  color: #55718a;
  font-family: var(--mono);
  font-size: 12px;
}

.dialog-mock {
  position: relative;
  z-index: 1;
  width: 84%;
  border: 1px solid #23425f;
  border-radius: 8px;
  background: #081522;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.dialog-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-bottom: 1px solid #14273d;
  background: rgba(16, 36, 56, 0.7);
  color: #b9d2e6;
  font-size: 10.5px;
}

.dialog-close {
  color: #5f778d;
  font-size: 12px;
}

.dialog-path {
  margin: 10px;
  padding: 6px 8px;
  border: 1px solid #1c3450;
  border-radius: 4px;
  background: #04101b;
  color: #c6dcee;
  font-size: 10px;
}

.dialog-dock {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 10px 10px;
  padding: 7px 9px;
  border: 1px solid rgba(127, 227, 255, 0.45);
  border-radius: 6px;
  background: #061422;
  box-shadow: 0 0 20px rgba(95, 208, 255, 0.12);
  color: #9fc4dc;
  font-size: 10px;
}

.dialog-dock .icon {
  width: 12px;
  height: 12px;
  color: #7fe3ff;
}

.mini-copy h3 {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.mini-copy p {
  margin-top: 6px;
  color: #8fa5bb;
  font-size: 13.5px;
  line-height: 1.75;
}

/* ---------- Command sheet ---------- */

.command-sheet {
  border-top: 1px solid rgba(126, 190, 240, 0.18);
  border-bottom: 1px solid rgba(126, 190, 240, 0.18);
  background: linear-gradient(180deg, rgba(9, 22, 37, 0.5), rgba(4, 10, 18, 0.28));
}

.command-row {
  display: grid;
  grid-template-columns: 190px 1fr 90px;
  align-items: center;
  gap: 26px;
  padding: 26px 18px;
  border-bottom: 1px solid rgba(126, 190, 240, 0.09);
  transition: background 0.22s var(--ease);
}

.command-row:last-child {
  border-bottom: 0;
}

.command-row:hover {
  background: linear-gradient(90deg, rgba(95, 208, 255, 0.05), transparent 70%);
}

.command-token {
  position: relative;
  padding-left: 18px;
  color: #aef0ff;
  font-family: var(--mono);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.command-token::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(127, 227, 255, 0.8);
  transform: translateY(-50%);
}

.command-row:nth-child(2) .command-token {
  color: #f3dcae;
}

.command-row:nth-child(2) .command-token::before {
  background: var(--amber);
  box-shadow: 0 0 10px rgba(255, 207, 122, 0.7);
}

.command-copy h3 {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.command-copy p {
  max-width: 52em;
  margin-top: 5px;
  color: #8fa5bb;
  font-size: 14px;
  line-height: 1.75;
}

.command-hint {
  justify-self: end;
  color: #5f778d;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  transition: color 0.2s var(--ease);
}

.command-row:hover .command-hint {
  color: #8fdcff;
}

/* ---------- Privacy ---------- */

.privacy-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start;
  gap: 64px;
}

.privacy-copy h2 {
  max-width: 12em;
}

.privacy-stat {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 30px 0 10px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 207, 122, 0.14);
  border-bottom: 1px solid rgba(255, 207, 122, 0.14);
}

.stat-number {
  color: transparent;
  font-size: clamp(64px, 8vw, 100px);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: -0.06em;
  -webkit-text-stroke: 2px rgba(255, 207, 122, 0.7);
  text-shadow: 0 0 46px rgba(255, 207, 122, 0.14);
}

.stat-label {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.stat-label strong {
  color: #f3dfb8;
  font-size: 14px;
  font-weight: 620;
}

.stat-label em {
  color: #7f95ab;
  font-size: 11.5px;
  font-style: normal;
  letter-spacing: 0.04em;
}

.privacy-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
}

.privacy-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #a9bfd4;
  font-size: 14.5px;
  line-height: 1.7;
}

.privacy-points .icon {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  color: #4fd3a5;
}

.data-card {
  position: relative;
  margin-top: 34px;
  padding: 30px;
  border: 1px solid transparent;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(11, 25, 41, 0.94), rgba(6, 15, 26, 0.9)) padding-box,
    linear-gradient(150deg, rgba(127, 227, 255, 0.3), rgba(50, 110, 160, 0.12) 45%, rgba(255, 207, 122, 0.2)) border-box;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.data-card::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -70px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 207, 122, 0.08), transparent 68%);
  pointer-events: none;
}

.data-stamp {
  position: absolute;
  top: 18px;
  right: 20px;
  padding: 4px 9px;
  border: 1px solid rgba(255, 207, 122, 0.45);
  border-radius: 4px;
  color: #f0d7a6;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  transform: rotate(-7deg);
  opacity: 0.85;
}

.data-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: #8fa9c0;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.data-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(126, 190, 240, 0.18), transparent);
}

.data-row {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px dashed rgba(126, 190, 240, 0.12);
}

.data-row strong {
  display: block;
  color: #d9eafa;
  font-size: 14.5px;
  font-weight: 620;
}

.data-row p {
  margin-top: 3px;
  color: #7f95ab;
  font-size: 12.5px;
  line-height: 1.65;
  word-break: break-word;
}

.data-row code {
  font-size: 11.5px;
}

.data-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.data-badge.local {
  border: 1px solid rgba(84, 224, 176, 0.24);
  background: rgba(84, 224, 176, 0.08);
  color: #6fe3b9;
}

.data-badge.net {
  border: 1px solid rgba(95, 208, 255, 0.24);
  background: rgba(95, 208, 255, 0.08);
  color: #8bdcff;
}

.data-foot {
  margin-top: 18px;
  color: #6a8196;
  font-size: 12px;
  letter-spacing: 0.02em;
}

/* ---------- Download ---------- */

.download-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: 52px;
  padding: 56px;
  border: 1px solid transparent;
  border-radius: 26px;
  background:
    radial-gradient(700px 320px at 12% 0%, rgba(64, 185, 245, 0.15), transparent 62%),
    radial-gradient(500px 300px at 88% 100%, rgba(255, 207, 122, 0.05), transparent 65%),
    linear-gradient(180deg, rgba(12, 28, 46, 0.95), rgba(6, 15, 26, 0.92)) padding-box,
    linear-gradient(140deg, rgba(127, 227, 255, 0.38), rgba(45, 100, 150, 0.12) 45%, rgba(127, 227, 255, 0.24)) border-box;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.download-ghost {
  position: absolute;
  right: -6%;
  bottom: -44px;
  color: transparent;
  font-size: clamp(140px, 20vw, 280px);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.75;
  pointer-events: none;
  user-select: none;
  -webkit-text-stroke: 1px rgba(127, 227, 255, 0.07);
}

.download-copy {
  position: relative;
  z-index: 1;
}

.download-copy h2 {
  margin-top: 16px;
  font-size: clamp(38px, 4.8vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.download-note {
  margin-top: 18px;
  color: #6f859b;
  font-size: 12.5px;
}

.install-card {
  position: relative;
  z-index: 1;
  padding: 24px;
  border: 1px solid rgba(126, 190, 240, 0.16);
  border-radius: 18px;
  background: rgba(2, 9, 16, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 26px 60px rgba(0, 0, 0, 0.4);
  transform: rotate(-0.8deg);
  transition: transform 0.3s var(--ease);
}

.install-card:hover {
  transform: rotate(0deg);
}

.install-badge {
  position: absolute;
  top: -12px;
  right: 18px;
  padding: 5px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe0a4, #f2b95f);
  box-shadow: 0 8px 20px rgba(242, 185, 95, 0.25);
  color: #2a1a02;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.install-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(126, 190, 240, 0.1);
}

.install-head img {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(127, 227, 255, 0.2), 0 12px 28px rgba(0, 0, 0, 0.45);
}

.install-head strong {
  display: block;
  font-size: 16px;
  font-weight: 650;
}

.install-head span {
  display: block;
  margin-top: 2px;
  color: #7f95ab;
  font-family: var(--mono);
  font-size: 12px;
}

.install-specs {
  margin-top: 6px;
}

.install-specs div {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(126, 190, 240, 0.09);
}

.install-specs div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.install-specs dt {
  color: #6f859b;
  font-size: 12px;
}

.install-specs dd {
  color: #b9d2e6;
  font-size: 12.5px;
  text-align: right;
}

.install-tag {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(126, 190, 240, 0.08);
  color: #5f778d;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.2em;
}

/* ---------- FAQ ---------- */

.faq-layout {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  align-items: start;
  gap: 64px;
}

.faq-aside {
  position: sticky;
  top: 108px;
}

.faq-aside h2 {
  font-size: clamp(32px, 3.6vw, 46px);
}

.faq-aside p {
  max-width: 22em;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

.faq-aside .btn {
  margin-top: 24px;
}

.faq-list {
  border-top: 1px solid rgba(126, 190, 240, 0.14);
}

.faq-list details {
  border-bottom: 1px solid rgba(126, 190, 240, 0.12);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  color: #d7e7f6;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
  transition: color 0.18s var(--ease);
}

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

.faq-list summary:hover {
  color: #a8e8ff;
}

.faq-plus {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border: 1px solid rgba(126, 190, 240, 0.14);
  border-radius: 8px;
  background: rgba(95, 208, 255, 0.05);
  color: #7fc9ea;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease);
}

.faq-plus .icon {
  width: 15px;
  height: 15px;
}

.faq-list details[open] .faq-plus {
  transform: rotate(45deg);
  border-color: rgba(127, 227, 255, 0.35);
}

.answer {
  max-width: 62ch;
  padding: 0 44px 24px 4px;
  color: #93a7bd;
  font-size: 14.5px;
  line-height: 1.85;
}

code {
  padding: 1px 5px;
  border: 1px solid rgba(95, 208, 255, 0.14);
  border-radius: 5px;
  background: rgba(95, 208, 255, 0.07);
  color: #a8e8ff;
  font-family: var(--mono);
  font-size: 0.88em;
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  padding: 68px 0 0;
  border-top: 1px solid rgba(126, 190, 240, 0.09);
  background: linear-gradient(180deg, transparent, rgba(1, 4, 8, 0.9));
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: min(680px, 80%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(127, 227, 255, 0.32), transparent);
  transform: translateX(-50%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.6fr 0.6fr 0.6fr;
  gap: 36px;
}

.footer-brand p {
  max-width: 26em;
  margin-top: 14px;
  color: #6d8298;
  font-size: 13.5px;
  line-height: 1.8;
}

.footer-col h4 {
  margin-bottom: 14px;
  color: #70879d;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col a,
.footer-meta {
  display: block;
  padding: 5px 0;
  color: #9fb6cc;
  font-size: 13.5px;
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.footer-col a:hover {
  color: #cfefff;
}

.footer-meta {
  color: #5f7488;
  font-family: var(--mono);
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(126, 190, 240, 0.08);
  color: #5f7488;
  font-size: 12px;
}

.footer-wordmark {
  margin: 10px 0 -0.12em;
  color: transparent;
  font-size: clamp(96px, 19vw, 250px);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.72;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  -webkit-text-stroke: 1px rgba(127, 227, 255, 0.085);
}

/* ---------- Reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.bento .reveal:nth-child(2) { --reveal-delay: 70ms; }
.bento .reveal:nth-child(3) { --reveal-delay: 140ms; }
.bento .reveal:nth-child(4) { --reveal-delay: 70ms; }
.bento .reveal:nth-child(5) { --reveal-delay: 140ms; }
.bento .reveal:nth-child(6) { --reveal-delay: 210ms; }

.integration-stack .reveal:nth-child(2) { --reveal-delay: 80ms; }
.faq-list { --reveal-delay: 80ms; }

section[id] {
  scroll-margin-top: 84px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1240px) {
  .hero-rail {
    display: none;
  }
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .demo-shell {
    max-width: 720px;
  }

  .hero-ghost {
    right: 0;
  }

  .hero-marquee {
    margin-top: 64px;
  }

  .bento-7,
  .bento-5,
  .bento-6 {
    grid-column: span 6;
  }

  .integration-layout {
    grid-template-columns: 1fr;
  }

  .integration-stack {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  .privacy-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .data-card {
    max-width: 620px;
    margin-top: 26px;
  }

  .download-card {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 44px;
  }

  .install-card {
    max-width: 480px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .faq-aside {
    position: static;
    max-width: 520px;
  }
}

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

  .nav {
    gap: 16px;
  }

  .section {
    padding: 92px 0;
  }

  .bento-7,
  .bento-5,
  .bento-6 {
    grid-column: span 12;
  }

  .bento-card {
    min-height: 0;
  }

  .integration-stack {
    grid-template-columns: 1fr;
  }

  .scene-big {
    min-height: 300px;
    padding: 20px;
  }

  .explorer-body {
    grid-template-columns: 76px 1fr;
  }

  .command-row {
    grid-template-columns: 150px 1fr 74px;
    gap: 20px;
    padding: 24px 12px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.7fr 0.7fr;
    row-gap: 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .section-head::after {
    display: none;
  }
}

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

  .nav {
    height: 60px;
  }

  .brand {
    font-size: 17px;
  }

  .brand-mark {
    width: 27px;
    height: 27px;
  }

  .nav-actions {
    gap: 10px;
  }

  .icon-link,
  .nav-divider {
    display: none;
  }

  .hero {
    padding-top: 50px;
  }

  .hero-brandline {
    margin-bottom: 24px;
  }

  .hero-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
  }

  .hero h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .hero-lede {
    margin-top: 20px;
    font-size: 15.5px;
  }

  .hero-cta {
    margin-top: 28px;
    gap: 10px;
  }

  .hero-cta .btn {
    padding: 13px 18px;
    font-size: 14.5px;
  }

  .hero-notes {
    gap: 16px;
  }

  .demo-meta {
    display: none;
  }

  .demo-list {
    height: 304px;
  }

  .item-type {
    display: none;
  }

  .demo-tries {
    margin-top: 13px;
  }

  .hero-marquee {
    margin-top: 50px;
    padding: 14px 0;
  }

  .section {
    padding: 76px 0;
  }

  .section-head {
    margin-bottom: 36px;
    padding-top: 4px;
  }

  .section-head::before {
    top: -44px;
    left: -3px;
    font-size: 60px;
  }

  h2 {
    font-size: clamp(30px, 8.4vw, 38px);
  }

  .section-head p,
  .section-lede {
    font-size: 15px;
  }

  .bento-card {
    padding: 22px;
  }

  .bento-card h3 {
    font-size: 18px;
  }

  .pinyin-word {
    font-size: 32px;
  }

  .pinyin-key {
    font-size: 24px;
  }

  .integration-primary {
    padding: 16px;
  }

  .scene-big {
    min-height: 260px;
    padding: 12px;
  }

  .explorer-side {
    display: none;
  }

  .explorer-body {
    grid-template-columns: 1fr;
  }

  .explorer-title {
    display: none;
  }

  .scene-callout {
    top: 10px;
    right: 10px;
    font-size: 8px;
  }

  .integration-mini {
    padding: 16px;
  }

  .command-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 22px 8px;
  }

  .command-token {
    font-size: 24px;
  }

  .command-hint {
    justify-self: start;
    order: -1;
    margin-left: 18px;
    color: #4f677c;
  }

  .privacy-stat {
    margin-top: 24px;
  }

  .data-card {
    padding: 22px;
  }

  .data-stamp {
    top: 14px;
    right: 14px;
  }

  .download-card {
    padding: 28px 24px;
    border-radius: 20px;
    gap: 34px;
  }

  .download-copy h2 {
    font-size: clamp(34px, 9vw, 44px);
  }

  .install-card {
    transform: none;
  }

  .faq-list summary {
    padding: 19px 2px;
    font-size: 15.5px;
  }

  .answer {
    padding-right: 26px;
    font-size: 14px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    margin-top: 34px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .footer-wordmark {
    font-size: 26vw;
  }
}

@media (max-width: 420px) {
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-notes {
    justify-content: space-between;
    gap: 8px;
  }

  .stack-row {
    grid-template-columns: 36px 1fr;
  }

  .stack-path {
    display: none;
  }

  .preview-visual {
    flex-direction: column;
  }

  .preview-thumb {
    width: 100%;
  }

  .install-specs div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .install-specs dd {
    color: #8fa9c0;
    text-align: left;
  }
}

@media print {
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@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;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
