/* =========================================================
   YDView 尧度融合 — Apple-inspired static site
   All styles are local. No external fonts or dependencies.
   ========================================================= */

:root {
  --bg: #f5f5f7;
  --bg-soft: #fbfbfd;
  --surface: #ffffff;
  --ink: #1d1d1f;
  --ink-soft: #3a3a3d;
  --muted: #6e6e73;
  --muted-light: #86868b;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.14);
  --blue: #0071e3;
  --blue-dark: #0066cc;
  --cyan: #6fe7ff;
  --violet: #a78bfa;
  --nav-h: 54px;
  --max: 1240px;
  --radius-xl: 40px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 20px 60px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 40px 120px rgba(0, 0, 0, 0.22);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", "Microsoft YaHei",
    Arial, sans-serif;
  --mono: "SF Mono", "SFMono-Regular", ui-monospace, "Cascadia Code",
    "Roboto Mono", Menlo, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: rgba(0, 113, 227, 0.2);
}

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

img {
  height: auto;
}

[hidden] {
  display: none !important;
}

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

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

button {
  cursor: pointer;
}

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

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

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* ---------- Layout helpers ---------- */

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

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

.section {
  padding: clamp(84px, 11vw, 150px) 0;
}

.section--tight {
  padding: clamp(64px, 8vw, 110px) 0;
}

.section--dark {
  background: #050507;
  color: #f5f5f7;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.eyebrow--light {
  color: #8adfff;
}

.eyebrow--light::before {
  box-shadow: 0 0 0 4px rgba(138, 223, 255, 0.12);
}

.display {
  font-size: clamp(38px, 5.2vw, 72px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.052em;
  text-wrap: balance;
}

.display--small {
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.045em;
}

.lede {
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.55;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

.lede--light {
  color: rgba(245, 245, 247, 0.64);
}

.section-head {
  max-width: 800px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  max-width: none;
}

.section-head--split .section-head__copy {
  max-width: 760px;
}

.section-head p {
  margin-top: 18px;
}

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

.text-gradient {
  background: linear-gradient(102deg, #ffffff 6%, #9ce9ff 42%, #6f9bff 68%, #c4a3ff 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 300;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

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

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.25s var(--ease-smooth), color 0.25s var(--ease-smooth),
    border-color 0.25s var(--ease-smooth), transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform 0.25s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.btn--dark:hover {
  background: #000;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.btn--light {
  background: #fff;
  color: #111;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.22);
}

.btn--light:hover {
  background: #f2f2f4;
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
}

.btn--outline {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.btn--outline:hover {
  background: rgba(0, 0, 0, 0.04);
}

.btn--sm {
  min-height: 38px;
  padding: 0 17px;
  font-size: 13px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 500;
}

.link-arrow svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

.link-arrow--light {
  color: #8adfff;
}

/* ---------- Navigation ---------- */

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  background: rgba(245, 245, 247, 0.76);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transition: background 0.35s var(--ease-smooth), border-color 0.35s var(--ease-smooth),
    color 0.35s var(--ease-smooth);
}

.site-nav.is-solid {
  border-bottom-color: var(--line);
  background: rgba(245, 245, 247, 0.88);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.nav-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.025em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 9px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.brand-name {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.1;
}

.brand-cn {
  display: inline-block;
  margin-left: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  vertical-align: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
  font-size: 13px;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  color: var(--ink);
  opacity: 0.72;
  transition: opacity 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 0.2s ease, transform 0.25s var(--ease);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  opacity: 1;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  transition: transform 0.25s var(--ease), background 0.25s ease;
}

.nav-cta:hover {
  background: #000;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: currentColor;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.menu-open .nav-toggle span {
  background: transparent;
}

.menu-open .nav-toggle span::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .nav-toggle span::after {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0;
  z-index: 110;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 34px;
  background: rgba(7, 7, 9, 0.96);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  color: #f5f5f7;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s var(--ease-smooth), visibility 0.3s, transform 0.3s var(--ease);
}

.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
}

.mobile-menu__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: clamp(25px, 7vw, 38px);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.mobile-menu__links a span {
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.mobile-menu__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 36px;
}

.mobile-menu__foot a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

/* Dark nav state over the hero */
.page-home .site-nav:not(.is-solid):not(.menu-open) {
  border-bottom-color: transparent;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: #f5f5f7;
}

.page-home .site-nav:not(.is-solid):not(.menu-open) .brand-name {
  color: #fff;
}

.page-home .site-nav:not(.is-solid):not(.menu-open) .brand-cn {
  color: rgba(255, 255, 255, 0.54);
}

.page-home .site-nav:not(.is-solid):not(.menu-open) .brand-mark {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 4px 18px rgba(0, 0, 0, 0.4);
}

.page-home .site-nav:not(.is-solid):not(.menu-open) .nav-links a {
  color: rgba(255, 255, 255, 0.78);
}

.page-home .site-nav:not(.is-solid):not(.menu-open) .nav-links a:hover,
.page-home .site-nav:not(.is-solid):not(.menu-open) .nav-links a[aria-current="page"] {
  color: #fff;
}

.page-home .site-nav:not(.is-solid):not(.menu-open) .nav-cta {
  background: #fff;
  color: #111;
}

.site-nav.menu-open {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: rgba(7, 7, 9, 0.96);
  color: #fff;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}

.site-nav.menu-open .brand-name {
  color: #fff;
}

.site-nav.menu-open .brand-cn {
  color: rgba(255, 255, 255, 0.54);
}

.site-nav.menu-open .nav-toggle {
  color: #fff;
}

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

.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + clamp(48px, 7vw, 96px)) 0 clamp(52px, 7vw, 90px);
  background: #050507;
  color: #f5f5f7;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(900px 600px at 78% 34%, rgba(35, 101, 255, 0.2), transparent 60%),
    radial-gradient(700px 500px at 12% 76%, rgba(0, 210, 190, 0.12), transparent 62%),
    radial-gradient(800px 500px at 55% 110%, rgba(147, 87, 255, 0.14), transparent 62%),
    #050507;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 74px 74px;
  -webkit-mask-image: radial-gradient(ellipse at 62% 48%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse at 62% 48%, #000 0%, transparent 72%);
  opacity: 0.6;
  transform: perspective(600px) rotateX(58deg) scale(1.8) translateY(18%);
  transform-origin: center bottom;
}

.hero-aurora {
  position: absolute;
  z-index: -1;
  width: 54vw;
  height: 54vw;
  max-width: 900px;
  max-height: 900px;
  border-radius: 50%;
  background: conic-gradient(
    from 210deg,
    rgba(41, 121, 255, 0.02),
    rgba(43, 214, 255, 0.22),
    rgba(126, 85, 255, 0.16),
    rgba(255, 101, 214, 0.08),
    rgba(41, 121, 255, 0.02)
  );
  filter: blur(80px);
  opacity: 0.65;
  animation: auroraSpin 22s linear infinite;
  pointer-events: none;
}

.hero-aurora--one {
  top: 2%;
  right: -12%;
}

.hero-aurora--two {
  bottom: -30%;
  left: -18%;
  width: 40vw;
  height: 40vw;
  opacity: 0.3;
  animation-direction: reverse;
  animation-duration: 28s;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

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

.hero-title {
  margin: 0 0 26px;
  font-size: clamp(48px, 6.2vw, 86px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.hero-title span {
  display: block;
}

.hero-lede {
  max-width: 560px;
  color: rgba(245, 245, 247, 0.62);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.62;
  letter-spacing: -0.012em;
  text-wrap: pretty;
}

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

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-fact {
  min-width: 118px;
  padding: 18px 26px 0 0;
}

.hero-fact + .hero-fact {
  padding-left: 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-fact dt {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.hero-fact dd {
  margin-top: 6px;
  color: rgba(245, 245, 247, 0.48);
  font-size: 12px;
  letter-spacing: 0.02em;
}

/* Hero stage / folded screen */

.hero-stage {
  position: relative;
  min-height: clamp(360px, 41vw, 560px);
  perspective: 1500px;
  user-select: none;
}

.stage-ambient {
  position: absolute;
  inset: 12% 2% 8%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(74, 163, 255, 0.2), transparent 68%);
  filter: blur(42px);
  transform: translateZ(-100px);
}

.fusion-rig {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(100%, 620px);
  aspect-ratio: 16 / 9.4;
  transform: translate(-50%, -50%) rotateY(-15deg) rotateX(6deg) rotateZ(-1.5deg);
  transform-style: preserve-3d;
  animation: rigFloat 9s ease-in-out infinite;
  filter: drop-shadow(0 44px 80px rgba(0, 0, 0, 0.55));
}

.fusion-screen {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.fusion-panel {
  position: absolute;
  top: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.17);
  background-color: #06101d;
  box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.06);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.fusion-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 64% 26%, rgba(188, 247, 255, 0.35), transparent 34%),
    radial-gradient(ellipse at 34% 82%, rgba(60, 117, 255, 0.45), transparent 45%),
    linear-gradient(150deg, #030711 0%, #0a3260 34%, #087f95 60%, #4c4fd8 84%, #a15cff 100%);
  background-size: 300% 100%;
}

.fusion-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: linear-gradient(to top, #000 8%, transparent 78%);
  mask-image: linear-gradient(to top, #000 8%, transparent 78%);
  opacity: 0.42;
}

.fusion-panel--left {
  left: 0;
  width: 33.5%;
  border-radius: 22px 2px 2px 22px;
  transform-origin: right center;
  transform: rotateY(19deg);
}

.fusion-panel--center {
  left: 33.5%;
  width: 33%;
}

.fusion-panel--right {
  right: 0;
  width: 33.5%;
  border-radius: 2px 22px 22px 2px;
  transform-origin: left center;
  transform: rotateY(-19deg);
}

.fusion-panel--left::before {
  background-position: 0% center;
}

.fusion-panel--center::before {
  background-position: 50% center;
}

.fusion-panel--right::before {
  background-position: 100% center;
}

.fusion-panel--left::after {
  transform: skewY(-2deg) scale(1.1);
}

.fusion-panel--right::after {
  transform: skewY(2deg) scale(1.1);
}

.screen-horizon {
  position: absolute;
  right: -8%;
  bottom: 19%;
  left: -8%;
  height: 90px;
  background: radial-gradient(ellipse at 50% 100%, rgba(127, 234, 255, 0.85), transparent 67%);
  filter: blur(26px);
  opacity: 0.9;
  mix-blend-mode: screen;
  pointer-events: none;
}

.screen-scan {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 47%,
    rgba(255, 255, 255, 0.12) 50%,
    transparent 53%
  );
  background-size: 100% 240%;
  animation: screenScan 7s linear infinite;
  opacity: 0.8;
  pointer-events: none;
}

.stage-chip {
  position: absolute;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(15, 15, 18, 0.62);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  color: rgba(255, 255, 255, 0.86);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  white-space: nowrap;
}

.stage-chip--live {
  top: 8%;
  right: 0;
}

.stage-chip--sync {
  bottom: 8%;
  left: 0;
}

.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #53e28f;
  box-shadow: 0 0 10px rgba(83, 226, 143, 0.9);
}

.chip-line {
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, #8af3ff, transparent);
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.35);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-scroll::after {
  content: "";
  width: 1px;
  height: 24px;
  background: linear-gradient(rgba(255, 255, 255, 0.3), transparent);
  animation: scrollCue 2s ease-in-out infinite;
}

/* ---------- Intro ---------- */

.intro {
  padding: clamp(96px, 13vw, 180px) 0 clamp(80px, 10vw, 140px);
  background: var(--bg);
}

.intro .display {
  max-width: 1000px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 8vw, 120px);
  align-items: start;
  margin-top: clamp(36px, 5vw, 64px);
}

.intro-copy {
  max-width: 580px;
  color: var(--ink-soft);
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 500;
  line-height: 1.48;
  letter-spacing: -0.025em;
  text-wrap: pretty;
}

.intro-aside {
  max-width: 440px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.intro-aside p + p {
  margin-top: 16px;
}

.intro-aside strong {
  color: var(--ink);
  font-weight: 600;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(48px, 7vw, 88px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--line);
}

.metric {
  padding: clamp(22px, 3vw, 34px) clamp(16px, 2.5vw, 30px);
  background: var(--bg-soft);
}

.metric-value {
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.05em;
}

.metric-value span:not([data-count]) {
  margin-left: 2px;
  color: var(--blue);
  font-size: 0.55em;
  font-weight: 600;
  letter-spacing: 0;
}

.metric-label {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

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

.solutions {
  padding: clamp(40px, 6vw, 80px) 0 clamp(96px, 12vw, 160px);
}

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

.bento-card {
  position: relative;
  display: flex;
  min-height: 440px;
  overflow: hidden;
  flex-direction: column;
  padding: clamp(28px, 3.2vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  isolation: isolate;
}

.bento-card--dark {
  border-color: rgba(255, 255, 255, 0.1);
  background: #0a0a0d;
  color: #f5f5f7;
}

.bento-card--desktop {
  grid-column: span 7;
  min-height: 540px;
  background:
    radial-gradient(700px 380px at 76% 30%, rgba(41, 119, 255, 0.2), transparent 67%),
    linear-gradient(145deg, #0a0b0f, #12141c 70%);
  color: #f5f5f7;
}

.bento-card--cave {
  grid-column: span 5;
  min-height: 540px;
  background:
    radial-gradient(500px 340px at 80% 86%, rgba(255, 162, 92, 0.15), transparent 65%),
    linear-gradient(150deg, #f0eee9, #e6e4df);
}

.bento-card--ring,
.bento-card--sync,
.bento-card--control {
  grid-column: span 4;
  min-height: 390px;
}

.bento-card--sync {
  background:
    radial-gradient(440px 300px at 68% 30%, rgba(52, 129, 255, 0.2), transparent 65%),
    #0a0a0d;
  color: #f5f5f7;
}

.bento-card--control {
  background:
    radial-gradient(440px 300px at 62% 35%, rgba(130, 97, 255, 0.14), transparent 65%),
    #fbfbfd;
}

.card-kicker {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.card-kicker--light {
  color: #8adfff;
}

.card-title {
  position: relative;
  z-index: 3;
  max-width: 460px;
  margin-top: 14px;
  font-size: clamp(25px, 2.7vw, 36px);
  font-weight: 650;
  line-height: 1.14;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.card-text {
  position: relative;
  z-index: 3;
  max-width: 430px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.bento-card--dark .card-text {
  color: rgba(245, 245, 247, 0.54);
}

.card-foot {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 28px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.bento-card--dark .tag {
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(245, 245, 247, 0.62);
}

.bento-art {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

/* Desktop fusion illustration */

.desktop-mock {
  right: -8%;
  bottom: 34px;
  width: 73%;
  aspect-ratio: 1.25;
  transform: perspective(1100px) rotateY(-18deg) rotateX(4deg) rotateZ(-2deg);
  transform-origin: right bottom;
}

.mock-window {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 13px;
  background: rgba(16, 18, 26, 0.88);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.mock-window--main {
  right: 0;
  bottom: 0;
  width: 82%;
  height: 76%;
  transform: translateZ(24px);
}

.mock-window--side {
  top: 4%;
  left: 0;
  width: 42%;
  height: 50%;
  transform: translateZ(60px);
}

.mock-window--float {
  right: 10%;
  top: 0;
  width: 31%;
  height: 36%;
  transform: translateZ(78px);
}

.mock-bar {
  display: flex;
  height: 24px;
  align-items: center;
  gap: 4px;
  padding: 0 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
}

.mock-bar i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.26);
}

.mock-window--main .mock-bar::after {
  content: "Fusion Canvas";
  margin-left: 7px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 8px;
  letter-spacing: 0.05em;
}

.mock-canvas {
  position: absolute;
  inset: 24px 0 0;
  background:
    radial-gradient(ellipse at 72% 38%, rgba(235, 250, 255, 0.68), transparent 28%),
    radial-gradient(ellipse at 30% 78%, rgba(36, 118, 255, 0.55), transparent 42%),
    linear-gradient(155deg, #0a1730 0%, #0d5670 48%, #4e41a8 100%);
}

.mock-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.11) 1px, transparent 1px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(to top, #000, transparent 75%);
  mask-image: linear-gradient(to top, #000, transparent 75%);
}

.mock-sidebar {
  position: absolute;
  top: 32px;
  bottom: 13px;
  left: 9px;
  width: 27%;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.mock-sidebar::before,
.mock-sidebar::after {
  content: "";
  position: absolute;
  right: 10px;
  left: 10px;
  height: 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.16);
}

.mock-sidebar::before {
  top: 14px;
  box-shadow: 0 15px 0 rgba(255, 255, 255, 0.09), 0 30px 0 rgba(255, 255, 255, 0.09),
    0 45px 0 rgba(255, 255, 255, 0.09), 0 60px 0 rgba(255, 255, 255, 0.09);
}

.mock-sidebar::after {
  bottom: 12px;
  width: 50%;
  background: rgba(97, 211, 255, 0.55);
}

.mock-float-content {
  position: absolute;
  inset: 24px 0 0;
  padding: 10px;
}

.mock-float-content::before {
  content: "";
  display: block;
  width: 58%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.6);
}

.mock-float-content::after {
  content: "";
  display: block;
  width: 82%;
  height: 4px;
  margin-top: 8px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 0 rgba(255, 255, 255, 0.12), 0 20px 0 rgba(255, 255, 255, 0.12);
}

/* Folded screen illustration */

.fold-stage {
  right: -2%;
  bottom: 36px;
  left: -2%;
  height: 57%;
  perspective: 900px;
}

.fold-panel {
  position: absolute;
  bottom: 0;
  width: 36%;
  height: 82%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 30px 50px rgba(74, 58, 31, 0.2);
}

.fold-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 66% 30%, rgba(255, 255, 255, 0.75), transparent 32%),
    linear-gradient(145deg, #1e4f68 0%, #39a5a3 46%, #e4b56f 100%);
  opacity: 0.9;
}

.fold-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.45;
}

.fold-panel:nth-child(1) {
  left: 4%;
  transform: rotateY(27deg) skewY(-3deg);
  transform-origin: right bottom;
  border-radius: 8px 2px 2px 8px;
}

.fold-panel:nth-child(2) {
  left: 33%;
  height: 94%;
  transform: translateZ(30px);
  z-index: 2;
  border-radius: 2px;
}

.fold-panel:nth-child(3) {
  right: 4%;
  transform: rotateY(-27deg) skewY(3deg);
  transform-origin: left bottom;
  border-radius: 2px 8px 8px 2px;
}

.fold-floor {
  position: absolute;
  right: 4%;
  bottom: 8px;
  left: 4%;
  height: 44px;
  background: radial-gradient(ellipse at center, rgba(43, 38, 25, 0.3), transparent 70%);
  filter: blur(14px);
}

/* Ring / immersive illustration */

.ring-stage {
  right: -12%;
  bottom: -22%;
  width: 96%;
  aspect-ratio: 1;
  container-type: inline-size;
}

.ring-orbit {
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(0, 113, 227, 0.16);
  border-radius: 50%;
  transform: rotateX(64deg);
}

.ring-orbit::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px dashed rgba(0, 113, 227, 0.14);
  border-radius: 50%;
}

.ring-core {
  position: absolute;
  inset: 27%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 30%, rgba(255, 255, 255, 0.9), transparent 12%),
    conic-gradient(from 30deg, #0c5dc9, #19c9d2, #7e8dff, #d58cff, #0c5dc9);
  box-shadow: 0 0 80px rgba(30, 130, 255, 0.28), inset 0 0 40px rgba(255, 255, 255, 0.22);
  filter: saturate(1.15);
}

.ring-core::after {
  content: "";
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.05);
}

.ring-stage--dark .ring-orbit {
  border-color: rgba(255, 255, 255, 0.12);
}

.ring-stage--dark .ring-core::after {
  background: #0a0a0d;
}

/* Sync illustration */

.sync-stage {
  right: 7%;
  bottom: 42px;
  left: 7%;
  height: 104px;
}

.sync-track {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.13);
}

.sync-track:nth-child(1) {
  top: 0;
}

.sync-track:nth-child(2) {
  top: 26px;
}

.sync-track:nth-child(3) {
  top: 52px;
}

.sync-track:nth-child(4) {
  top: 78px;
}

.sync-track::before,
.sync-track::after {
  content: "";
  position: absolute;
  top: -2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.sync-track::before {
  left: 0;
}

.sync-track::after {
  right: 0;
}

.sync-bar {
  position: absolute;
  top: -4px;
  left: 0;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(111, 231, 255, 0.85), rgba(83, 140, 255, 0.8));
  box-shadow: 0 0 14px rgba(100, 190, 255, 0.4);
}

.sync-bar:nth-of-type(1) {
  width: 44%;
}

.sync-bar:nth-of-type(2) {
  width: 58%;
}

.sync-bar:nth-of-type(3) {
  width: 51%;
}

.sync-bar:nth-of-type(4) {
  width: 64%;
}

.sync-playhead {
  position: absolute;
  top: -9px;
  bottom: -7px;
  left: 62%;
  width: 1px;
  background: linear-gradient(rgba(138, 243, 255, 0.1), #8af3ff, rgba(138, 243, 255, 0.1));
  box-shadow: 0 0 18px rgba(138, 243, 255, 0.7);
  animation: playhead 5s ease-in-out infinite alternate;
}

.sync-playhead::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8af3ff;
  box-shadow: 0 0 10px #8af3ff;
}

/* Phone / control illustration */

.control-stage {
  right: 6%;
  bottom: -14%;
  width: 45%;
  aspect-ratio: 0.55;
  transform: rotate(-6deg);
}

.phone {
  position: absolute;
  inset: 0;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 34px;
  background: #17171a;
  box-shadow: 0 40px 80px rgba(31, 29, 55, 0.35);
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 28px;
  background: #f7f7fa;
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 3;
  width: 38%;
  height: 16px;
  border-radius: 999px;
  background: #17171a;
  transform: translateX(-50%);
}

.phone-head {
  padding: 36px 13px 10px;
}

.phone-head::before {
  content: "融合控制";
  display: block;
  color: #2b2b30;
  font-size: 10px;
  font-weight: 650;
}

.phone-head::after {
  content: "";
  display: block;
  width: 48%;
  height: 4px;
  margin-top: 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.1);
}

.phone-card {
  position: relative;
  height: 31%;
  margin: 4px 10px 8px;
  overflow: hidden;
  border-radius: 12px;
  background:
    radial-gradient(ellipse at 70% 32%, rgba(255, 255, 255, 0.7), transparent 30%),
    linear-gradient(145deg, #0c2d53, #138d9a 55%, #7454c8);
}

.phone-card::after {
  content: "LIVE";
  position: absolute;
  top: 7px;
  left: 7px;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font-size: 5px;
  letter-spacing: 0.08em;
}

.phone-row {
  display: flex;
  height: 21px;
  align-items: center;
  gap: 7px;
  margin: 0 10px 5px;
  padding: 0 7px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.phone-row i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #53c77a;
}

.phone-row::before {
  content: "";
  width: 33%;
  height: 3px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.14);
}

.phone-row::after {
  content: "";
  width: 17%;
  height: 3px;
  margin-left: auto;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.08);
}

/* ---------- Features ---------- */

.features {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(32px, 4vw, 52px);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature {
  min-height: 245px;
  padding: clamp(24px, 2.6vw, 34px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  transition: background 0.3s var(--ease-smooth);
}

.feature:hover {
  background: #fff;
}

.feature-icon {
  display: flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--blue);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.feature-icon svg {
  width: 19px;
  height: 19px;
}

.feature h3 {
  margin-top: 24px;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.feature p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.62;
}

/* ---------- Product ---------- */

.product {
  padding: clamp(90px, 12vw, 160px) 0;
}

.product-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  overflow: hidden;
  padding: clamp(36px, 5.2vw, 76px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(900px 520px at 86% 18%, rgba(41, 111, 255, 0.2), transparent 64%),
    radial-gradient(700px 480px at 70% 100%, rgba(155, 92, 255, 0.12), transparent 64%),
    #09090c;
  color: #f5f5f7;
  isolation: isolate;
}

.product-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 72% 35%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse at 72% 35%, #000, transparent 70%);
}

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

.product-copy .card-title {
  max-width: 480px;
  margin-top: 0;
  font-size: clamp(32px, 4vw, 54px);
}

.product-copy .card-text {
  max-width: 480px;
  font-size: 15px;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.check-list {
  display: grid;
  gap: 11px;
  margin-top: 30px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(245, 245, 247, 0.68);
  font-size: 13px;
}

.check-item svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 2px;
  color: #7fe4ff;
}

.product-board {
  position: relative;
  z-index: 2;
  perspective: 1600px;
}

.app-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background: #121216;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
  transform: rotateY(-5deg) rotateX(2deg);
  transform-origin: right center;
}

.app-top {
  display: flex;
  height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.app-dots {
  display: flex;
  gap: 5px;
}

.app-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.app-dots i:first-child {
  background: #ff6b62;
}

.app-dots i:nth-child(2) {
  background: #f7c948;
}

.app-dots i:nth-child(3) {
  background: #4fd17a;
}

.app-title {
  margin-left: 6px;
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.03em;
}

.app-title strong {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.app-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.45);
  font-size: 8px;
}

.app-status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #53e28f;
  box-shadow: 0 0 8px rgba(83, 226, 143, 0.9);
}

.app-body {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 420px;
}

.app-side {
  padding: 16px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(255, 255, 255, 0.02);
}

.app-side-group {
  margin-bottom: 20px;
}

.app-side-group > span {
  display: block;
  margin: 0 6px 7px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.app-side-item {
  display: flex;
  height: 27px;
  align-items: center;
  gap: 7px;
  padding: 0 7px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 8px;
}

.app-side-item.is-active {
  background: rgba(74, 139, 255, 0.16);
  color: #bfe4ff;
}

.app-side-item i {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.6;
}

.app-side-item::after {
  content: "";
  width: 27%;
  height: 3px;
  margin-left: auto;
  border-radius: 3px;
  background: currentColor;
  opacity: 0.25;
}

.app-main {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.app-canvas {
  position: relative;
  flex: 1;
  min-height: 280px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 62% 30%, rgba(229, 250, 255, 0.72), transparent 24%),
    radial-gradient(ellipse at 36% 78%, rgba(44, 115, 255, 0.55), transparent 43%),
    linear-gradient(150deg, #071326 0%, #0d4f67 45%, #5742a6 78%, #a866c8 100%);
}

.app-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 78%);
  mask-image: linear-gradient(to top, #000 10%, transparent 78%);
  opacity: 0.4;
}

.app-canvas::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: 22%;
  left: -10%;
  height: 70px;
  background: radial-gradient(ellipse at 50% 100%, rgba(132, 234, 255, 0.85), transparent 67%);
  filter: blur(24px);
}

.app-hud {
  position: absolute;
  z-index: 2;
  display: flex;
  gap: 5px;
}

.app-hud--tl {
  top: 12px;
  left: 12px;
}

.app-hud--br {
  right: 12px;
  bottom: 12px;
}

.hud-pill {
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(8, 12, 20, 0.42);
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--mono);
  font-size: 7px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hud-pill--live {
  color: #a8ffd0;
}

.app-timeline {
  display: flex;
  height: 58px;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(255, 255, 255, 0.025);
}

.play-btn {
  display: flex;
  width: 24px;
  height: 24px;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: #111;
}

.play-btn svg {
  width: 9px;
  height: 9px;
  margin-left: 1px;
}

.progress {
  position: relative;
  height: 3px;
  flex: 1;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
}

.progress::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 43%;
  border-radius: 3px;
  background: linear-gradient(90deg, #7fe7ff, #7d8cff);
}

.progress::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 43%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  transform: translate(-50%, -50%);
}

.timecode {
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--mono);
  font-size: 7px;
  white-space: nowrap;
}

/* ---------- Cases ---------- */

.cases {
  padding: clamp(84px, 11vw, 145px) 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

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

.case-card {
  position: relative;
  display: block;
  min-height: 300px;
  overflow: hidden;
  grid-column: span 4;
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  background: #101014;
  color: #fff;
  text-align: left;
  isolation: isolate;
}

.case-card--large {
  min-height: 440px;
  grid-column: span 7;
}

.case-card--medium {
  min-height: 440px;
  grid-column: span 5;
}

.case-card--wide {
  grid-column: span 6;
}

.case-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
}

.case-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0) 58%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.18), transparent 30%);
  transition: opacity 0.4s ease;
}

.case-card:hover .case-img {
  transform: scale(1.045);
  filter: saturate(1.08);
}

.case-card:hover::after {
  opacity: 0.92;
}

.case-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: clamp(18px, 2.4vw, 30px);
  padding-right: calc(clamp(18px, 2.4vw, 30px) + 30px);
}

.case-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.case-cat {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  color: rgba(255, 255, 255, 0.84);
  font-size: 9px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.case-date {
  margin-left: auto;
}

.case-title {
  display: block;
  max-width: 88%;
  font-size: clamp(17px, 1.9vw, 26px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.case-card--large .case-title,
.case-card--medium .case-title {
  font-size: clamp(22px, 2.6vw, 34px);
}

.case-arrow {
  position: absolute;
  right: clamp(18px, 2.4vw, 30px);
  bottom: clamp(18px, 2.4vw, 30px);
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.35s var(--ease), background 0.3s ease;
}

.case-arrow svg {
  width: 14px;
  height: 14px;
}

.case-card:hover .case-arrow {
  opacity: 1;
  transform: translateY(0);
}

.case-card:active {
  transform: scale(0.995);
}

/* Case page filter bar */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 clamp(28px, 4vw, 44px);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.filter-btn {
  min-height: 36px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.filter-btn:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.filter-btn.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.case-grid--all .case-card {
  grid-column: span 4;
  min-height: 320px;
}

.case-grid--all .case-title {
  max-width: 92%;
  font-size: clamp(18px, 1.8vw, 23px);
}

.case-empty {
  display: none;
  padding: 80px 20px;
  color: var(--muted);
  text-align: center;
}

.case-empty.is-visible {
  display: block;
}

/* Case dialog */

.case-dialog {
  position: relative;
  width: min(960px, calc(100% - 32px));
  max-height: min(86vh, 780px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 26px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.case-dialog::backdrop {
  background: rgba(0, 0, 0, 0.58);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

.case-dialog[open] {
  animation: dialogIn 0.38s var(--ease);
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.38);
  color: #fff;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background 0.25s ease, transform 0.25s var(--ease);
}

.dialog-close:hover {
  background: rgba(0, 0, 0, 0.58);
  transform: rotate(90deg);
}

.dialog-close svg {
  width: 15px;
  height: 15px;
}

.dialog-media {
  position: relative;
  height: min(46vw, 400px);
  background: #111;
}

.dialog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dialog-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.42), transparent 48%);
}

.dialog-copy {
  padding: clamp(26px, 4vw, 46px);
}

.dialog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
}

.dialog-copy h2 {
  max-width: 720px;
  margin-top: 12px;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.dialog-copy p {
  max-width: 700px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.dialog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

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

.faq {
  padding: clamp(84px, 11vw, 145px) 0;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
}

.faq-intro .display {
  font-size: clamp(34px, 4.4vw, 58px);
}

.faq-intro p {
  max-width: 390px;
  margin-top: 20px;
}

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

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

.faq-q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border: 0;
  background: none;
  font-size: clamp(16px, 1.55vw, 20px);
  font-weight: 600;
  letter-spacing: -0.025em;
  text-align: left;
}

.faq-icon {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  transition: transform 0.35s var(--ease), background 0.25s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-icon {
  background: var(--ink);
  transform: rotate(45deg);
}

.faq-item.is-open .faq-icon::before,
.faq-item.is-open .faq-icon::after {
  background: #fff;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}

.faq-a-inner {
  max-width: 720px;
  padding: 0 44px 26px 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.faq-a-inner p + p {
  margin-top: 12px;
}

.faq-a-inner strong {
  color: var(--ink);
  font-weight: 600;
}

.support-card {
  position: relative;
  overflow: hidden;
  margin-top: clamp(48px, 7vw, 88px);
  padding: clamp(30px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(500px 300px at 82% 20%, rgba(80, 150, 255, 0.18), transparent 64%),
    #0a0a0d;
  color: #f5f5f7;
}

.support-card h2 {
  max-width: 620px;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.support-card p {
  max-width: 540px;
  margin-top: 12px;
  color: rgba(245, 245, 247, 0.56);
  font-size: 14px;
}

.support-card .btn {
  margin-top: 26px;
}

/* ---------- CTA ---------- */

.cta-section {
  padding: 0 0 clamp(80px, 10vw, 140px);
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 8vw, 110px) clamp(24px, 5vw, 80px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(900px 520px at 50% -20%, rgba(43, 122, 255, 0.45), transparent 64%),
    radial-gradient(700px 500px at 84% 100%, rgba(120, 80, 255, 0.2), transparent 60%),
    radial-gradient(600px 440px at 14% 100%, rgba(0, 210, 190, 0.14), transparent 60%),
    #07070a;
  color: #f5f5f7;
  text-align: center;
  isolation: isolate;
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 10%, #000, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 10%, #000, transparent 72%);
}

.cta-panel .eyebrow {
  justify-content: center;
}

.cta-panel h2 {
  max-width: 880px;
  margin-inline: auto;
  font-size: clamp(38px, 6vw, 82px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.cta-panel p {
  max-width: 600px;
  margin: 20px auto 0;
  color: rgba(245, 245, 247, 0.58);
  font-size: clamp(15px, 1.5vw, 18px);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.cta-note {
  margin-top: 24px;
  color: rgba(245, 245, 247, 0.34);
  font-size: 11px;
  letter-spacing: 0.03em;
}

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

.site-footer {
  padding: clamp(56px, 7vw, 84px) 0 28px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.7fr));
  gap: clamp(28px, 5vw, 64px);
}

.footer-brand .brand {
  margin-bottom: 18px;
}

.footer-about {
  max-width: 340px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 20px;
  font-size: 13px;
}

.footer-contact a {
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--blue);
}

.footer-col h3 {
  margin-bottom: 14px;
  color: var(--muted-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col a {
  display: inline-block;
  padding: 5px 0;
  color: var(--ink-soft);
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--blue);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: clamp(44px, 6vw, 70px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted-light);
  font-size: 11px;
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom a {
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: var(--ink);
}

.back-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.back-top svg {
  width: 12px;
  height: 12px;
}

/* ---------- Page hero ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + clamp(70px, 9vw, 110px)) 0 clamp(54px, 7vw, 86px);
  background:
    radial-gradient(900px 460px at 84% -4%, rgba(70, 150, 255, 0.16), transparent 62%),
    radial-gradient(620px 420px at 8% 18%, rgba(154, 107, 255, 0.09), transparent 62%),
    var(--bg);
  isolation: isolate;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 1px;
  background: var(--line);
}

.page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: end;
}

.page-hero h1 {
  max-width: 920px;
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.058em;
  text-wrap: balance;
}

.page-hero .lede {
  max-width: 640px;
  margin-top: 24px;
}

.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--muted-light);
  font-size: 11px;
  letter-spacing: 0.03em;
}

.crumb a {
  transition: color 0.2s ease;
}

.crumb a:hover {
  color: var(--ink);
}

.crumb span {
  opacity: 0.4;
}

.page-hero__aside {
  padding-bottom: 6px;
}

.page-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--line);
}

.page-stat {
  min-height: 104px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.76);
}

.page-stat strong {
  display: block;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.045em;
}

.page-stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
}

/* ---------- About page ---------- */

.about-intro {
  padding: clamp(80px, 10vw, 130px) 0;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: start;
}

.about-intro-grid .display {
  max-width: 560px;
}

.about-copy {
  max-width: 560px;
}

.about-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.about-copy p + p {
  margin-top: 18px;
}

.about-copy strong {
  color: var(--ink);
  font-weight: 600;
}

.manifesto {
  padding: clamp(70px, 9vw, 120px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.manifesto-quote {
  max-width: 1100px;
  margin: 0 auto;
  font-size: clamp(30px, 4.5vw, 62px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.045em;
  text-align: center;
  text-wrap: balance;
}

.manifesto-quote span {
  color: var(--muted-light);
}

.manifesto-meta {
  margin-top: 28px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: clamp(30px, 4vw, 50px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
}

.principle {
  padding: clamp(26px, 3.6vw, 46px);
  background: var(--bg);
}

.principle-num {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.principle h3 {
  margin-top: 22px;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.principle p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.about-features {
  padding: clamp(80px, 10vw, 140px) 0;
}

.about-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: clamp(34px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
}

.about-feature {
  display: flex;
  gap: 16px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--bg-soft);
}

.about-feature__num {
  flex: none;
  width: 28px;
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.8;
}

.about-feature h3 {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.about-feature p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.about-shot {
  position: relative;
  overflow: hidden;
  margin-top: clamp(50px, 7vw, 90px);
  border-radius: var(--radius-lg);
  background: #111;
}

.about-shot img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  opacity: 0.88;
}

.about-shot__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

/* ---------- Contact page ---------- */

.contact-section {
  padding: clamp(60px, 8vw, 100px) 0 clamp(80px, 10vw, 130px);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: start;
}

.contact-panel h2 {
  max-width: 440px;
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.contact-panel > p {
  max-width: 420px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 32px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.62);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease);
}

.contact-item:hover {
  border-color: var(--line-strong);
  background: #fff;
  transform: translateY(-1px);
}

.contact-icon {
  display: flex;
  width: 38px;
  height: 38px;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(0, 113, 227, 0.08);
  color: var(--blue);
}

.contact-icon svg {
  width: 18px;
  height: 18px;
}

.contact-item__body {
  min-width: 0;
  flex: 1;
}

.contact-item__label {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-item__value {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-btn {
  display: inline-flex;
  min-height: 30px;
  flex: none;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.copy-btn:hover {
  border-color: var(--line-strong);
  background: var(--bg);
  color: var(--ink);
}

.copy-btn svg {
  width: 11px;
  height: 11px;
}

.contact-form-card {
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.contact-form-card h2 {
  font-size: clamp(23px, 2.5vw, 32px);
  font-weight: 650;
  letter-spacing: -0.04em;
}

.contact-form-card > p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

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

.form-field {
  display: grid;
  gap: 6px;
}

.form-field label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--bg-soft);
  font-size: 14px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form-field input,
.form-field select {
  height: 44px;
  padding: 0 13px;
}

.form-field textarea {
  min-height: 116px;
  padding: 11px 13px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--muted-light);
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}

.form-note {
  color: var(--muted-light);
  font-size: 11px;
}

.form-success {
  display: none;
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(48, 185, 96, 0.09);
  color: #1b7f43;
  font-size: 12px;
}

.form-success.is-visible {
  display: block;
}

.contact-aside {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.contact-note {
  padding: 20px;
  border-radius: var(--radius-md);
  background:
    radial-gradient(400px 220px at 88% 10%, rgba(61, 143, 255, 0.16), transparent 60%),
    #0a0a0d;
  color: #f5f5f7;
}

.contact-note h3 {
  font-size: 15px;
  font-weight: 600;
}

.contact-note p {
  margin-top: 6px;
  color: rgba(245, 245, 247, 0.5);
  font-size: 12px;
  line-height: 1.6;
}

/* Toast */

.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(20, 20, 22, 0.9);
  box-shadow: var(--shadow-md);
  color: #fff;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 0.25s ease, transform 0.3s var(--ease);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

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

/* ---------- 404 ---------- */

.error-page {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 80px;
  background:
    radial-gradient(800px 500px at 72% 10%, rgba(67, 143, 255, 0.12), transparent 62%),
    var(--bg);
}

.error-code {
  font-size: clamp(90px, 22vw, 260px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.09em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.16);
}

.error-page h1 {
  margin-top: 30px;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 650;
  letter-spacing: -0.045em;
}

.error-page p {
  max-width: 460px;
  margin-top: 14px;
  color: var(--muted);
}

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

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

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal-scale {
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.9s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.js .reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

@keyframes rigFloat {
  0%,
  100% {
    transform: translate(-50%, -50%) rotateY(-15deg) rotateX(6deg) rotateZ(-1.5deg) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) rotateY(-15deg) rotateX(6deg) rotateZ(-1.5deg) translateY(-14px);
  }
}

@keyframes auroraSpin {
  to {
    transform: rotate(1turn);
  }
}

@keyframes screenScan {
  0% {
    background-position: 0 -120%;
  }
  100% {
    background-position: 0 120%;
  }
}

@keyframes scrollCue {
  0%,
  100% {
    opacity: 0.2;
    transform: scaleY(0.6);
    transform-origin: top;
  }
  50% {
    opacity: 0.8;
    transform: scaleY(1);
    transform-origin: top;
  }
}

@keyframes playhead {
  0% {
    left: 28%;
  }
  100% {
    left: 78%;
  }
}

@keyframes dialogIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Hero load-in */
.hero-copy > * {
  animation: heroIn 0.9s var(--ease) both;
}

.hero-copy > :nth-child(2) {
  animation-delay: 0.07s;
}

.hero-copy > :nth-child(3) {
  animation-delay: 0.14s;
}

.hero-copy > :nth-child(4) {
  animation-delay: 0.2s;
}

.hero-copy > :nth-child(5) {
  animation-delay: 0.27s;
}

.hero-stage {
  animation: heroIn 1.1s var(--ease) 0.16s both;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  }

  .hero-stage {
    min-height: 380px;
  }

  .bento-card--desktop {
    grid-column: span 12;
    min-height: 500px;
  }

  .bento-card--cave {
    grid-column: span 7;
    min-height: 420px;
  }

  .bento-card--ring {
    grid-column: span 5;
    min-height: 420px;
  }

  .bento-card--sync,
  .bento-card--control {
    grid-column: span 6;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-panel {
    grid-template-columns: 1fr;
  }

  .product-board {
    max-width: 760px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.8fr));
  }
}

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

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 76px);
  }

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

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

  .hero-stage {
    min-height: clamp(320px, 58vw, 480px);
    margin-top: 14px;
  }

  .hero-scroll {
    display: none;
  }

  .intro-grid,
  .faq-layout,
  .about-intro-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .faq-intro {
    position: static;
  }

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

  .page-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .page-hero__aside {
    max-width: 480px;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .about-feature-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .bento-card--cave,
  .bento-card--ring {
    grid-column: span 12;
  }

  .bento-card--sync,
  .bento-card--control {
    grid-column: span 6;
  }

  .case-card--large,
  .case-card--medium {
    grid-column: span 6;
    min-height: 380px;
  }

  .case-grid--all .case-card {
    grid-column: span 6;
  }
}

@media (max-width: 700px) {
  :root {
    --nav-h: 50px;
    --radius-xl: 30px;
    --radius-lg: 24px;
  }

  .container,
  .container-wide {
    width: calc(100% - 32px);
  }

  .brand-cn {
    display: none;
  }

  .hero-title {
    font-size: clamp(43px, 12.8vw, 72px);
  }

  .hero-lede {
    font-size: 16px;
  }

  .hero-facts {
    margin-top: 36px;
  }

  .hero-fact {
    min-width: 50%;
    padding: 16px 14px 0 0;
  }

  .hero-fact + .hero-fact {
    padding-left: 0;
    border-left: 0;
  }

  .hero-fact:nth-child(even) {
    padding-left: 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-fact:nth-child(n + 3) {
    margin-top: 14px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .stage-chip--live {
    top: 2%;
    right: -4px;
  }

  .stage-chip--sync {
    bottom: 2%;
    left: -4px;
  }

  .metric-row {
    gap: 1px;
  }

  .bento-card {
    min-height: 380px;
    padding: 26px;
  }

  .bento-card--desktop {
    min-height: 460px;
  }

  .desktop-mock {
    right: -16%;
    width: 86%;
  }

  .bento-card--sync,
  .bento-card--control {
    grid-column: span 12;
  }

  .case-grid {
    grid-template-columns: 1fr;
  }

  .case-card,
  .case-card--large,
  .case-card--medium,
  .case-card--wide,
  .case-grid--all .case-card {
    grid-column: 1 / -1;
    min-height: 300px;
  }

  .case-card--large,
  .case-card--medium {
    min-height: 360px;
  }

  .case-title {
    max-width: 82%;
  }

  .product-panel {
    padding: 26px 20px;
  }

  .app-body {
    grid-template-columns: 1fr;
    min-height: 340px;
  }

  .app-side {
    display: none;
  }

  .app-canvas {
    min-height: 250px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature {
    min-height: 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-head--split {
    display: block;
  }

  .section-head--split .section-actions {
    margin-top: 22px;
  }

  .hero-aurora--one {
    right: -40%;
    width: 90vw;
    height: 90vw;
  }

  .dialog-media {
    height: 230px;
  }

  .case-dialog {
    max-height: 88vh;
  }

  .btn {
    min-height: 46px;
    padding: 0 20px;
    font-size: 14px;
  }
}

@media (max-width: 420px) {
  .hero-actions .btn {
    width: 100%;
  }

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

  .stage-chip {
    padding: 8px 10px;
    font-size: 9px;
  }

  .page-hero h1 {
    font-size: clamp(38px, 12vw, 58px);
  }
}

@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,
  .js .reveal-scale {
    opacity: 1;
    transform: none;
  }
}
