@font-face {
  font-family: Ubuntu;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/ubuntu-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: Ubuntu;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./fonts/ubuntu-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: Ubuntu;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/ubuntu-latin-700-normal.woff2") format("woff2");
}
@property --angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@property --mx {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 50%;
}
@property --my {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 50%;
}
@property --rise {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --lift {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --rx {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@property --ry {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
:root {
  /* Neutral scale shared with the Aster product surface. */
  --ink: #171717;
  --title: #171717;
  --body: #525252;
  --muted: #737373;
  --tertiary: #a3a3a3;
  --page: #fff;
  --surface: #f7f7f7;
  --field: #f5f5f5;
  --selected: #f2f3f5;
  --hover: #f7f7f7;
  --border: #e9edf3;
  --hairline: rgba(0, 0, 0, 0.06);
  --button-border: #e5e5e5;
  /* Aster brand. */
  --brand: #005abb;
  --brand-deep: #004e9f;
  --brand-ink: #003a7b;
  --accent: #0099e6;
  --focus: #5bbcff;
  /* Layout scale. */
  --content-max: 1220px;
  --gutter: 24px;
  --section-gap: 128px;
  --header-height: 64px;
  --radius-control: 8px;
  --radius-surface: 12px;
  --radius-card: 20px;
  --type-hero: clamp(44px, 8.2vw, 84px);
  --type-title: clamp(26px, 3.4vw, 38px);
  --type-card: clamp(17px, 1.6vw, 20px);
  --type-body: 14px;
  --type-caption: 12px;
  color-scheme: light;
  font-family: Ubuntu, "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--page);
  scroll-padding-top: 88px;
  scroll-behavior: auto;
}
* {
  box-sizing: border-box;
}
html {
  background: #fff;
}
body {
  margin: 0;
  background: transparent;
}
button,
input,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
}
button:disabled {
  cursor: default;
  opacity: 0.4;
}
button,
a,
summary,
[tabindex="0"] {
  outline-offset: 3px;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 2px solid var(--focus);
  box-shadow: 0 0 0 2px rgba(91, 188, 255, 0.22);
}
img {
  max-width: 100%;
  display: block;
}
svg {
  flex-shrink: 0;
}
.icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
.small-icon {
  width: 14px;
  height: 14px;
}
.icon-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.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;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 100;
  padding: 12px;
  background: #fff;
  transform: translateY(-160%);
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
}
.skip-link:focus {
  transform: none;
}

/* ---------- Ambient layers ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 30;
  pointer-events: none;
}
.scroll-progress > span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, #005abb, #0099e6 42%, #5bbcff 72%, #a78bfa);
  box-shadow: 0 0 14px rgba(0, 154, 230, 0.65);
  will-change: transform;
}
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 560px;
  height: 560px;
  margin: -280px 0 0 -280px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    circle closest-side,
    rgba(0, 90, 187, 0.1),
    rgba(0, 154, 230, 0.05) 46%,
    transparent 72%
  );
  will-change: transform;
  transition: opacity 0.5s ease;
}
body.has-pointer .cursor-glow {
  opacity: 1;
}
.cursor-core {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 31;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: rgba(120, 195, 255, 0.95);
  box-shadow: 0 0 12px rgba(120, 195, 255, 0.9);
  will-change: transform;
  transition: opacity 0.4s ease;
}
body.has-pointer .cursor-core {
  opacity: 1;
}

/* ---------- Controls ---------- */
.quiet-button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  height: 32px;
  border: 1px solid var(--button-border);
  border-radius: var(--radius-control);
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
  transition:
    background-color 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease;
}
.quiet-button:hover {
  background: var(--hover);
}
.pill-button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 9999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition:
    background-color 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease;
}
.pill-button:hover {
  background: #262626;
}
.ripple {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  transform: scale(0);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 70%);
  animation: ripple-out 0.62s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.quiet-button .ripple,
.copy-button .ripple {
  background: radial-gradient(circle, rgba(0, 90, 187, 0.2), rgba(0, 90, 187, 0) 70%);
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-control);
  background: none;
  color: var(--body);
}
.icon-button:hover {
  background: var(--selected);
  color: var(--ink);
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  font-size: 13px;
  background: none;
  color: var(--muted);
  padding: 0 4px;
  border-radius: 6px;
}
.text-button:hover {
  color: var(--ink);
  background: var(--hover);
}
.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--body);
}
.inline-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
  --header-fg: rgba(255, 255, 255, 0.86);
  --header-strong: #fff;
  --header-hover: rgba(255, 255, 255, 0.14);
  --header-cta-bg: rgba(255, 255, 255, 0.16);
  --header-cta-fg: #fff;
  height: var(--header-height);
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: transparent;
  color: var(--header-strong);
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.24s ease,
    color 0.24s ease,
    border-color 0.24s ease;
}
.site-header.scrolled {
  --header-fg: var(--body);
  --header-strong: var(--ink);
  --header-hover: rgba(0, 0, 0, 0.05);
  --header-cta-bg: rgba(0, 0, 0, 0.05);
  --header-cta-fg: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--border);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.7px;
  white-space: nowrap;
  color: var(--header-strong);
}
.brand img {
  filter: brightness(0) invert(1);
  transition: filter 0.24s ease;
}
.site-header.scrolled .brand img,
.site-footer .brand img {
  filter: none;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  white-space: nowrap;
  color: var(--header-fg);
}
.desktop-nav a {
  position: relative;
  height: 36px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-radius: var(--radius-control);
  transition:
    background-color 0.16s ease,
    color 0.16s ease;
}
.desktop-nav a:hover {
  background: var(--header-hover);
  color: var(--header-strong);
}
.desktop-nav a.is-active {
  color: var(--header-strong);
}
.desktop-nav a.is-active:after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #fff, #a8dcff);
  transform-origin: 0 50%;
  animation: nav-underline 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-header.scrolled .desktop-nav a.is-active:after {
  background: linear-gradient(90deg, var(--brand), #5bbcff);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-download {
  height: 34px;
  padding: 0 16px;
  font-size: 13px;
  background: var(--header-cta-bg);
  color: var(--header-cta-fg);
}
.header-download:hover {
  background: var(--header-cta-bg);
  color: var(--header-cta-fg);
  filter: brightness(1.12);
}
.menu-toggle.icon-button {
  display: none;
  color: var(--header-strong);
}
.mobile-nav {
  position: absolute;
  top: 63px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 12px 20px 20px;
  box-shadow: 0 12px 32px #00000012;
}
.mobile-nav a {
  display: flex;
  align-items: center;
  height: 36px;
  border-radius: var(--radius-control);
  font-size: 13px;
  padding: 0 10px;
  color: var(--body);
}
.mobile-nav a:hover {
  background: var(--hover);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding-top: var(--header-height);
}
.hero-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 44, 112, 0.24) 42%, transparent 65%),
    radial-gradient(ellipse 22% 20% at 50% 28%, #7550ff, transparent 80%),
    radial-gradient(ellipse 26% 30% at 20% 46%, #10a3f5, transparent 75%),
    radial-gradient(ellipse 26% 28% at 80% 44%, #1655ef, transparent 76%),
    linear-gradient(180deg, #0660bf, #1382ec 34%, #68d6f8 64%, #e4f8ff 85%, #fff);
}
.aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  mix-blend-mode: screen;
  will-change: transform;
}
.aurora-blob-a {
  width: 540px;
  height: 540px;
  left: -6%;
  top: -12%;
  background: radial-gradient(circle, rgba(140, 96, 255, 0.75), transparent 70%);
  animation: aurora-a 19s ease-in-out infinite;
}
.aurora-blob-b {
  width: 480px;
  height: 480px;
  right: -8%;
  top: 4%;
  background: radial-gradient(circle, rgba(20, 190, 255, 0.68), transparent 70%);
  animation: aurora-b 23s ease-in-out infinite;
}
#aster-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.92;
}
.hero-copy {
  text-align: center;
  padding: 72px 24px 0;
}
.hero-mark {
  width: 152px;
  height: 152px;
  margin: 0 auto 20px;
  display: block;
  overflow: visible;
}
.hc-ring {
  fill: none;
  stroke: rgba(255, 255, 255, 0.62);
  stroke-width: 4.5;
  filter: drop-shadow(0 0 10px rgba(150, 205, 255, 0.45));
}
.hc-orbit-path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.34);
  stroke-width: 1.5;
  stroke-dasharray: 2 9;
}
.hc-orbit-path-inner {
  stroke-dasharray: 1.5 7;
  stroke: rgba(255, 255, 255, 0.26);
}
.hc-orbit {
  transform-origin: 128px 132px;
}
.hc-orbit-a {
  animation: hc-spin 17s linear infinite;
}
.hc-orbit-b {
  animation: hc-spin 12s linear infinite reverse;
}
.hc-comet {
  fill: #fff;
  filter: drop-shadow(0 0 7px rgba(168, 218, 255, 0.95));
}
.hc-comet-small {
  fill: #cfe9ff;
  filter: drop-shadow(0 0 5px rgba(140, 200, 255, 0.85));
}
.hc-star {
  filter: drop-shadow(0 0 22px rgba(126, 194, 255, 0.55));
}
.hc-core {
  fill: #0a4489;
  opacity: 0.9;
}
.hc-spark {
  fill: #a9dcff;
  transform-origin: 204px 49px;
  animation: hc-spark 3.6s ease-in-out infinite;
}
.hero h1 {
  font-size: var(--type-hero);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -3px;
  color: #fff;
  margin: 0;
}
.hero-copy > p {
  font-size: 15px;
  line-height: 26px;
  margin: 14px auto 0;
  max-width: 650px;
  color: rgba(255, 255, 255, 0.92);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.hero-download {
  background: #12161c;
  color: #fff;
}
.hero-download:hover {
  background: #000;
}
.button-divider {
  height: 16px;
  width: 1px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 3px;
}
.hero-marquee {
  position: relative;
  margin: 30px auto 0;
  max-width: 760px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.hero-marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.hero-marquee-set {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-marquee-set li {
  font-size: 12px;
  line-height: 1;
  padding: 8px 13px;
  border-radius: 9999px;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  white-space: nowrap;
}
.hero-screen {
  width: min(1100px, calc(100% - 48px));
  margin: 48px auto 0;
  transform: translate3d(0, var(--hero-shift, 0px), 0);
  will-change: transform;
}
.hero-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(42px) rotateX(-58deg);
  filter: blur(10px);
  animation: char-in 0.82s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--i) * 58ms + 140ms);
}
.enhanced .hero-mark {
  animation: rise-in 0.86s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.05s;
}
.enhanced .hero-copy > p {
  animation: rise-in 0.86s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.52s;
}
.enhanced .hero-actions {
  animation: rise-in 0.86s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.66s;
}
.enhanced .hero-marquee {
  animation: rise-in 0.86s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.78s;
}
.screenshot-figure {
  min-width: 0;
}
.screenshot-button {
  display: block;
  width: 100%;
  padding: 0;
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: zoom-in;
}
.screenshot-button img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #fff;
}
.screenshot-figure figcaption {
  font-size: 12px;
  line-height: 20px;
  color: var(--muted);
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.screenshot-figure figcaption > span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.capture-dot {
  height: 5px;
  width: 5px;
  background: var(--ink);
  border-radius: 50%;
  display: inline-block;
}
.hero-screen .screenshot-button {
  border-radius: var(--radius-card);
  box-shadow:
    0 28px 70px rgba(6, 58, 125, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.24);
}

/* ---------- Section frame ---------- */
.section {
  max-width: var(--content-max);
  padding: 0 var(--gutter);
  margin: var(--section-gap) auto 0;
}
.section-kicker {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--brand);
  margin: 0 0 16px;
}
.section-kicker > span {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 9999px;
  background: linear-gradient(
    100deg,
    rgba(0, 90, 187, 0.06),
    rgba(0, 154, 230, 0.13) 50%,
    rgba(0, 90, 187, 0.06)
  );
  background-size: 220% 100%;
  border: 1px solid rgba(0, 90, 187, 0.08);
  animation: kicker-shimmer 7s ease-in-out infinite;
}
.section-title {
  font-size: var(--type-title);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.9px;
  text-align: center;
  text-wrap: balance;
  color: var(--title);
  margin: 0;
}
.section-description {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  text-align: center;
  text-wrap: balance;
  margin: 14px auto 0;
  max-width: 640px;
}

/* ---------- Feature tabs ---------- */
.feature-tabs {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px;
  border-radius: 9999px;
  background: var(--field);
  height: 34px;
  width: fit-content;
  margin: 40px auto 32px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.feature-tabs > button {
  position: relative;
  overflow: hidden;
  height: 26px;
  padding: 0 16px;
  border-radius: 9999px;
  background: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition:
    background-color 0.16s ease,
    color 0.16s ease;
}
.feature-tabs > button:hover {
  color: var(--ink);
}
.feature-tabs > button[aria-selected="true"] {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px #00000012;
}
.feature-tabs > button[aria-selected="true"]:after,
.platform-switcher > button[aria-selected="true"]:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 22%,
    rgba(0, 90, 187, 0.18) 46%,
    transparent 72%
  );
  background-size: 240% 100%;
  animation: shine 3.4s ease-in-out infinite;
  pointer-events: none;
}
.feature-panel {
  display: grid;
  grid-template-columns: 32% 64%;
  gap: 4%;
  align-items: center;
  min-height: 460px;
  padding: 28px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: 0 4px 18px #0000000a;
}
.enhanced .feature-panel {
  animation: panel-enter 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-copy {
  padding: 16px 12px;
}
.feature-icon {
  width: 24px;
  height: 24px;
  color: var(--brand);
  margin-bottom: 18px;
}
.feature-copy h3 {
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: -0.4px;
  font-weight: 500;
  color: var(--title);
  margin: 0 0 18px;
}
.feature-copy p {
  font-size: 13px;
  line-height: 1.95;
  color: var(--muted);
  margin: 0 0 18px;
}
.feature-copy ul {
  font-size: 12px;
  line-height: 2;
  color: var(--body);
  padding: 0;
  list-style: none;
  margin: 0 0 22px;
}
.feature-copy li:before {
  content: "·";
  margin-right: 8px;
  color: var(--tertiary);
}
.feature-screen {
  margin: 0;
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, #38bef4, #2572e8 65%, #7562e7);
}
#feature-panel-office .feature-screen {
  background: linear-gradient(135deg, #42d5cd, #17a5b5 60%, #218bc1);
}
#feature-panel-review .feature-screen {
  background: linear-gradient(135deg, #ffd18c, #fa9b80 60%, #ee7992);
}
#feature-panel-lineage .feature-screen {
  background: linear-gradient(135deg, #ba9af3, #8b78e6 55%, #5b9ae7);
}
.feature-screen figcaption {
  font-size: 11px;
  margin-top: 12px;
  display: block;
  width: fit-content;
  padding: 4px 9px;
  border-radius: 6px;
  background: #fff;
  color: var(--body);
}
.feature-screen .screenshot-button {
  border-radius: 12px;
}

/* ---------- Scene cards ---------- */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}
.scene-card {
  position: relative;
  padding: 26px 24px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: #fff;
  overflow: hidden;
}
.scene-card:hover {
  border-color: #d7e0ec;
  box-shadow: 0 18px 40px rgba(12, 45, 92, 0.08);
}
.scene-card:hover:before {
  opacity: 1;
}
.scene-index {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--tertiary);
}
.scene-icon {
  width: 22px;
  height: 22px;
  color: var(--brand);
  margin: 14px 0 16px;
}
.scene-card h3 {
  font-size: var(--type-card);
  font-weight: 500;
  letter-spacing: -0.2px;
  color: var(--title);
  margin: 0 0 10px;
}
.scene-card p {
  font-size: var(--type-body);
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 18px;
}
.scene-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.scene-tags li {
  font-size: 11px;
  line-height: 1;
  padding: 6px 9px;
  border-radius: 6px;
  background: var(--field);
  color: var(--body);
}

/* ---------- Practice steps ---------- */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 44px 0 0;
  counter-reset: none;
}
.practice-step {
  position: relative;
  padding: 22px 20px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: #fff;
  overflow: hidden;
}
.practice-step:hover {
  border-color: #d7e0ec;
  box-shadow: 0 18px 40px rgba(12, 45, 92, 0.08);
}
.practice-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 9999px;
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition:
    background-color 0.24s ease,
    color 0.24s ease,
    border-color 0.24s ease;
}
.practice-step:hover .practice-index {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.practice-icon {
  width: 20px;
  height: 20px;
  color: var(--brand);
  margin: 14px 0 14px;
}
.practice-step h3 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.2px;
  color: var(--title);
  margin: 0 0 8px;
}
.practice-step p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}

/* ---------- Platform cards ---------- */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}
.platform-card {
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: #fff;
  padding: 28px 24px;
  overflow: hidden;
}
.platform-card:hover {
  border-color: #d7e0ec;
  box-shadow: 0 18px 40px rgba(12, 45, 92, 0.08);
}
.platform-card > .quiet-button {
  align-self: flex-start;
}
.platform-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 20px;
  color: var(--brand);
}
.platform-card h3 {
  font-size: var(--type-card);
  font-weight: 500;
  letter-spacing: -0.3px;
  margin: 0 0 10px;
  color: var(--title);
}
.platform-card > p {
  font-size: var(--type-body);
  line-height: 1.7;
  color: var(--muted);
  min-height: 48px;
  margin: 0 0 18px;
}
.platform-card ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  font-size: 12px;
  line-height: 2.2;
  color: var(--muted);
}
.platform-card li:before {
  content: "·";
  margin-right: 7px;
  color: var(--tertiary);
}
.platform-card li > a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--body);
}
.platform-card li > a:hover {
  color: var(--accent);
}
.platform-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 9999px;
  background: var(--field);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.platform-switcher > button {
  position: relative;
  overflow: hidden;
  height: 26px;
  padding: 0 12px;
  border-radius: 9999px;
  background: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition:
    background-color 0.16s ease,
    color 0.16s ease;
}
.platform-switcher > button:hover {
  color: var(--ink);
}
.platform-switcher > button[aria-selected="true"] {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px #00000012;
}
.platform-panels {
  margin-top: 14px;
}
.platform-panel {
  padding: 14px 16px;
  border-radius: var(--radius-surface);
  background: var(--surface);
}
.platform-spec {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 12px;
}
.platform-spec strong {
  font-weight: 500;
  color: var(--title);
}
.platform-panel .pill-button {
  height: 32px;
  padding: 0 16px;
  font-size: 13px;
  background: var(--ink);
}
.cli-command {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 11px 11px 14px;
  border-radius: var(--radius-surface);
  background: #101a29;
  border: 1px solid #1c2a3d;
}
.cli-command code {
  flex: 1;
  min-width: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 11.5px;
  line-height: 1.7;
  color: #a9ccf5;
  word-break: break-all;
}
.copy-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  height: 26px;
  padding: 0 10px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #dbe7f6;
  font-size: 12px;
  transition:
    background-color 0.16s ease,
    color 0.16s ease;
}
.copy-button:hover {
  background: rgba(255, 255, 255, 0.16);
}
.copy-button.is-copied {
  color: #8ee6b8;
  border-color: rgba(142, 230, 184, 0.4);
}
.cli-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.cli-links .quiet-button {
  font-size: 13px;
  padding: 0 10px;
}

/* ---------- Shared card motion ---------- */
.scene-card,
.practice-step,
.platform-card {
  --rise: 0px;
  --lift: 0px;
  --rx: 0deg;
  --ry: 0deg;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry))
    translateY(calc(var(--rise) + var(--lift)));
  transform-style: preserve-3d;
  transition:
    --mx 0.16s ease-out,
    --my 0.16s ease-out,
    --rx 0.18s ease-out,
    --ry 0.18s ease-out,
    --lift 0.24s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}
.scene-card:hover,
.practice-step:hover,
.platform-card:hover {
  --lift: -6px;
}
.scene-card:after,
.practice-step:after,
.platform-card:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    340px circle at var(--mx, 50%) var(--my, 50%),
    rgba(0, 90, 187, 0.1),
    transparent 64%
  );
  transition: opacity 0.26s ease;
}
.scene-card:hover:after,
.practice-step:hover:after,
.platform-card:hover:after {
  opacity: 1;
}

/* ---------- Comparison ---------- */
.table-scroll {
  overflow-x: auto;
  margin-top: 44px;
  background: var(--surface);
  border-radius: var(--radius-card);
}
.comparison table {
  border-collapse: collapse;
  width: 100%;
  min-width: 860px;
  text-align: left;
  line-height: 1.7;
  font-size: var(--type-body);
}
.comparison th,
.comparison td {
  border-bottom: 1px solid var(--hairline);
  padding: 14px 20px;
  vertical-align: top;
}
.comparison thead th {
  font-size: 15px;
  font-weight: 500;
  color: var(--body);
  height: 56px;
  padding: 14px 20px;
  vertical-align: middle;
}
.comparison thead th:first-child {
  width: 18%;
}
.comparison thead th:nth-child(2),
.comparison thead th:nth-child(3) {
  width: 27%;
}
.comparison thead th:nth-child(4) {
  width: 28%;
}
.comparison tbody th {
  font-size: 13px;
  font-weight: 500;
  color: var(--title);
}
.comparison td {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}
.comparison thead th:nth-child(2),
.comparison tbody td:nth-child(2),
.comparison thead th:nth-child(3),
.comparison tbody td:nth-child(3) {
  background: rgba(0, 90, 187, 0.04);
}
.comparison tr:last-child > * {
  border-bottom: 0;
}
.comparison tbody tr:hover > * {
  background: rgba(0, 90, 187, 0.03);
}

/* ---------- FAQ ---------- */
.faq-list {
  border-top: 1px solid var(--hairline);
  max-width: 1000px;
  margin: 44px auto 0;
}
.faq details {
  border-bottom: 1px solid var(--hairline);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 18px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--title);
  cursor: pointer;
  list-style: none;
  line-height: 1.6;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary > .icon {
  width: 16px;
  height: 16px;
  color: #525252;
  transition: rotate 0.2s ease;
}
.faq details[open] summary > .icon {
  rotate: 45deg;
}
.faq details > p {
  font-size: var(--type-body);
  color: var(--muted);
  line-height: 1.8;
  max-width: 860px;
  margin: 0 0 22px;
}
.faq p a {
  color: var(--body);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq p a:hover {
  color: var(--accent);
}

/* ---------- Bottom call to action ---------- */
.bottom-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: var(--section-gap);
  padding: 88px 24px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 15% 100%, rgba(23, 198, 226, 0.7), transparent 55%),
    radial-gradient(ellipse at 85% 0%, rgba(134, 92, 246, 0.7), transparent 55%),
    linear-gradient(120deg, #0867cf, #3157c7 55%, #5141bc);
  border-block: 1px solid var(--hairline);
}
.bottom-cta:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #7ee8ff, #a78bfa, transparent);
  background-size: 200% 100%;
  animation: sweep-line 5.5s linear infinite;
}
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(78px);
  opacity: 0.72;
  pointer-events: none;
  will-change: transform;
}
.cta-orb-a {
  width: 520px;
  height: 520px;
  left: -10%;
  top: -34%;
  background: radial-gradient(circle, rgba(23, 198, 226, 0.9), transparent 70%);
  animation: aurora-a 17s ease-in-out infinite;
}
.cta-orb-b {
  width: 560px;
  height: 560px;
  right: -12%;
  bottom: -40%;
  background: radial-gradient(circle, rgba(134, 92, 246, 0.9), transparent 70%);
  animation: aurora-b 21s ease-in-out infinite;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.bottom-cta > .cta-inner > img {
  padding: 9px;
  border-radius: 16px;
  background: #fff;
}
.bottom-cta h2 {
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 500;
  letter-spacing: -1px;
  text-align: center;
  margin: 22px 0 10px;
  line-height: 1.35;
  color: #fff;
}
.bottom-cta p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 28px;
}
.pill-button-inverse {
  background: #fff;
  color: var(--ink);
}
.pill-button-inverse:hover {
  background: #f2f2f2;
}

/* ---------- Footer ---------- */
.site-footer {
  max-width: var(--content-max);
  padding: 56px var(--gutter) 26px;
  margin: auto;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) auto;
  gap: 48px;
}
.footer-top > .brand {
  align-self: start;
  color: var(--ink);
}
.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(132px, 1fr));
  gap: clamp(32px, 7vw, 104px);
}
.footer-top h3 {
  font-size: 12px;
  font-weight: 400;
  color: var(--tertiary);
  margin: 0 0 12px;
}
.footer-columns > div > a {
  display: block;
  font-size: 12px;
  color: #262626;
  margin: 8px 0;
}
.footer-columns a:hover {
  color: var(--accent);
}
.footer-bottom {
  border-top: 1px solid var(--field);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--tertiary);
  margin-top: 40px;
  padding-top: 20px;
}
.footer-bottom > a:hover {
  text-decoration: underline;
}

/* ---------- Floating controls ---------- */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--button-border);
  border-radius: 9999px;
  background: #fff;
  color: var(--body);
  box-shadow: 0 6px 20px rgba(20, 40, 80, 0.1);
  z-index: 18;
}
.back-to-top:hover {
  color: var(--ink);
  background: var(--hover);
}
.noscript-note {
  padding: 18px;
  text-align: center;
  background: var(--field);
  font-size: 13px;
  color: var(--muted);
}
.noscript-note a {
  color: var(--body);
  text-decoration: underline;
}

/* ---------- Dialogs ---------- */
dialog {
  border: 1px solid var(--border);
  border-radius: var(--radius-surface);
  padding: 24px;
  width: min(512px, calc(100% - 32px));
  max-height: 80dvh;
  color: var(--ink);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  background: #fff;
  overflow: auto;
}
dialog::backdrop {
  background: rgba(0, 0, 0, 0.2);
}
dialog[open] {
  animation: dialog-enter 160ms cubic-bezier(0.16, 1, 0.3, 1);
}
dialog[open]::backdrop {
  animation: scrim-enter 160ms cubic-bezier(0.16, 1, 0.3, 1);
}
dialog.closing {
  animation: dialog-leave 200ms cubic-bezier(0.4, 0, 1, 1);
}
dialog.closing::backdrop {
  animation: scrim-leave 200ms cubic-bezier(0.4, 0, 1, 1);
}
.dialog-heading,
.screenshot-dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.dialog-heading > .icon-button,
.screenshot-dialog-heading > .icon-button {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}
.dialog-heading > .icon-button > .icon,
.screenshot-dialog-heading > .icon-button > .icon {
  width: 14px;
  height: 14px;
}
.dialog-heading {
  margin-bottom: 23px;
}
dialog h2 {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 9px;
}
dialog > p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 22px;
}
.download-options {
  display: grid;
  gap: 4px;
}
.download-options > a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  background: #fff;
  border-radius: 8px;
  border-bottom: 1px solid var(--hairline);
}
.download-options > a:last-child {
  border-bottom: 0;
}
.download-options > a:hover {
  background: var(--hover);
}
.download-options > a > .icon {
  width: 16px;
  height: 16px;
  color: var(--body);
}
.download-options > a > .icon:last-child {
  margin-left: auto;
}
.download-options strong {
  display: block;
  line-height: 16px;
  font-size: 13px;
  font-weight: 500;
}
.download-options small {
  display: block;
  line-height: 14px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
dialog > .release-note {
  font-size: 12px;
  margin: 22px 0 14px;
}
dialog > .inline-link {
  font-size: 13px;
}
#screenshot-dialog {
  width: min(1280px, calc(100% - 24px));
  max-height: 94dvh;
  padding: 16px;
}
.screenshot-dialog-heading {
  margin-bottom: 13px;
}
.screenshot-dialog-heading h2 {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
#screenshot-full {
  width: 100%;
  max-height: 76dvh;
  object-fit: contain;
  border: 0.5px solid var(--border);
  border-radius: 12px;
}
.screenshot-dialog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
}
.screenshot-dialog-footer p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}

/* ---------- Animated icon set ---------- */
.icon-anim circle {
  fill: currentColor;
  stroke: none;
}
.an-line {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: an-draw 3.4s ease-in-out infinite;
}
.an-line-1 {
  animation-delay: 0.1s;
}
.an-line-2 {
  animation-delay: 0.34s;
}
.an-folder-flap {
  transform-origin: 5px 9.2px;
  animation: an-flap 3.6s ease-in-out infinite;
}
.an-shield {
  transform-box: fill-box;
  transform-origin: center;
  animation: an-shield 3.2s ease-in-out infinite;
}
.an-check {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: an-check 3.2s ease-in-out infinite;
}
.an-layer {
  animation: an-layer 3.6s ease-in-out infinite;
}
.an-layer-2 {
  animation-delay: 0.14s;
}
.an-layer-3 {
  animation-delay: 0.28s;
}
.an-caret {
  animation: an-blink 1.15s ease-in-out infinite;
}
.an-bracket-l {
  animation: an-bracket-l 3.2s ease-in-out infinite;
}
.an-bracket-r {
  animation: an-bracket-r 3.2s ease-in-out infinite;
}
.an-slash {
  animation: an-slash 3.2s ease-in-out infinite;
}
.an-bar {
  transform-box: fill-box;
  transform-origin: bottom;
  animation: an-bar 2.9s ease-in-out infinite;
}
.an-bar-2 {
  animation-delay: 0.16s;
}
.an-bar-3 {
  animation-delay: 0.32s;
}
.an-dot {
  animation: an-dot 2.6s ease-in-out infinite;
}
.an-dot-2 {
  animation-delay: 0.22s;
}
.an-scan {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: an-draw 3.6s ease-in-out infinite;
}
.an-traveler {
  offset-path: path("M4.5 6.6h5.2a3.6 3.6 0 0 1 3.6 3.6v3.6a3.6 3.6 0 0 0 3.6 3.6h3.6");
  animation: an-travel 3.8s linear infinite;
}
.an-glow {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: an-draw 3.8s ease-in-out infinite;
}
.an-screen {
  animation: an-screen 3.8s ease-in-out infinite;
}
.an-base {
  animation: an-base 3.8s ease-in-out infinite;
}
.anim-download {
  animation: an-bounce 2.4s ease-in-out infinite;
}
.an-tray {
  animation: an-tray 2.4s ease-in-out infinite;
}

/* ---------- Flow rail and live terminal ---------- */
.practice-flow {
  position: relative;
  height: 2px;
  margin: 46px 24px 30px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #cfd9e6 10%,
    #cfd9e6 90%,
    transparent
  );
  overflow: hidden;
}
.practice-flow:after {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 90px;
  height: 6px;
  border-radius: 9999px;
  background: linear-gradient(90deg, transparent, var(--brand), #5bbcff, transparent);
  filter: blur(0.4px);
  animation: rail-sweep 4.6s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}
.cli-demo {
  margin-bottom: 14px;
  border-radius: var(--radius-surface);
  border: 1px solid #1c2a3d;
  background: #0d1622;
  overflow: hidden;
}
.cli-demo-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-bottom: 1px solid #1c2a3d;
  background: rgba(255, 255, 255, 0.03);
}
.cli-demo-bar > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2c3d54;
}
.cli-demo-bar > span:first-child {
  background: #ff5f57;
}
.cli-demo-bar > span:nth-child(2) {
  background: #febc2e;
}
.cli-demo-bar > span:nth-child(3) {
  background: #28c840;
}
.cli-demo-bar > b {
  margin-left: 6px;
  font-size: 10.5px;
  font-weight: 500;
  color: #6d8299;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.cli-demo-body {
  margin: 0;
  padding: 12px 13px 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  line-height: 1.85;
  color: #9ec3ec;
  white-space: pre-wrap;
  word-break: break-word;
  min-height: 92px;
}
.cli-demo-body .cli-caret {
  display: inline-block;
  width: 6px;
  height: 12px;
  vertical-align: -1px;
  background: #5bbcff;
  animation: caret-blink 1s steps(1, end) infinite;
}

/* ---------- Scene card accent border ---------- */
.scene-card:before,
.platform-card:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--angle, 0deg),
    transparent 0deg,
    rgba(0, 90, 187, 0.75) 62deg,
    transparent 132deg,
    transparent 262deg,
    rgba(91, 188, 255, 0.7) 322deg,
    transparent 382deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  animation: conic-spin 6s linear infinite;
  transition: opacity 0.3s ease;
}
.scene-card:hover:before,
.platform-card:hover:before {
  opacity: 1;
}

/* ---------- Motion ---------- */
@keyframes hc-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes hc-spark {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.82);
  }
  50% {
    opacity: 1;
    transform: scale(1.14);
  }
}
@keyframes caret-blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@keyframes rail-sweep {
  0% {
    transform: translateX(-90px);
  }
  100% {
    transform: translateX(calc(100% + 90px));
  }
}
@keyframes conic-spin {
  to {
    --angle: 360deg;
  }
}
@keyframes an-draw {
  0% {
    stroke-dashoffset: 100;
  }
  30%,
  70% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -100;
  }
}
@keyframes an-flap {
  0%,
  100% {
    transform: rotate(0deg);
  }
  42%,
  62% {
    transform: rotate(-5deg) translateY(-1px);
  }
}
@keyframes an-shield {
  0%,
  100% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.07);
  }
  30% {
    transform: scale(1);
  }
}
@keyframes an-check {
  0% {
    stroke-dashoffset: 100;
  }
  24%,
  72% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: 100;
  }
}
@keyframes an-layer {
  0%,
  100% {
    opacity: 0.9;
    transform: translateY(0);
  }
  45% {
    opacity: 0.4;
    transform: translateY(-1.6px);
  }
}
@keyframes an-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
@keyframes an-bracket-l {
  0%,
  100% {
    transform: translateX(0);
  }
  42% {
    transform: translateX(-1.8px);
  }
}
@keyframes an-bracket-r {
  0%,
  100% {
    transform: translateX(0);
  }
  42% {
    transform: translateX(1.8px);
  }
}
@keyframes an-slash {
  0%,
  100% {
    opacity: 0.65;
  }
  50% {
    opacity: 1;
  }
}
@keyframes an-bar {
  0%,
  100% {
    transform: scaleY(0.3);
  }
  50% {
    transform: scaleY(1);
  }
}
@keyframes an-dot {
  0%,
  100% {
    opacity: 0.3;
  }
  45% {
    opacity: 1;
  }
}
@keyframes an-travel {
  0% {
    offset-distance: 0%;
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    offset-distance: 100%;
    opacity: 0;
  }
}
@keyframes an-screen {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.72;
  }
}
@keyframes an-base {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}
@keyframes an-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  45% {
    transform: translateY(2.6px);
  }
}
@keyframes an-tray {
  0%,
  100% {
    opacity: 1;
  }
  45% {
    opacity: 0.45;
  }
}
@keyframes dialog-enter {
  from {
    opacity: 0;
    scale: 0.98;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}
@keyframes dialog-leave {
  from {
    opacity: 1;
    scale: 1;
  }
  to {
    opacity: 0;
    scale: 0.98;
  }
}
@keyframes scrim-enter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes scrim-leave {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes panel-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes reveal-enter {
  from {
    opacity: 0;
    --rise: 26px;
  }
  to {
    opacity: 1;
    --rise: 0px;
  }
}
@keyframes char-in {
  from {
    opacity: 0;
    transform: translateY(42px) rotateX(-58deg);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes aurora-a {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(76px, 54px, 0) scale(1.16);
  }
}
@keyframes aurora-b {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1.08);
  }
  50% {
    transform: translate3d(-84px, 66px, 0) scale(0.94);
  }
}
@keyframes kicker-shimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@keyframes shine {
  0% {
    background-position: 130% 0;
  }
  60%,
  100% {
    background-position: -130% 0;
  }
}
@keyframes ripple-out {
  to {
    transform: scale(1);
    opacity: 0;
  }
}
@keyframes sweep-line {
  0% {
    background-position: 0% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
@keyframes nav-underline {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
.enhanced [data-reveal] {
  opacity: 0;
}
.enhanced [data-reveal].is-visible {
  animation: reveal-enter 0.68s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.enhanced .scene-grid [data-reveal]:nth-child(2),
.enhanced .practice-grid [data-reveal]:nth-child(2),
.enhanced .platform-grid [data-reveal]:nth-child(2) {
  animation-delay: 0.07s;
}
.enhanced .scene-grid [data-reveal]:nth-child(3),
.enhanced .practice-grid [data-reveal]:nth-child(3),
.enhanced .platform-grid [data-reveal]:nth-child(3) {
  animation-delay: 0.14s;
}
.enhanced .scene-grid [data-reveal]:nth-child(4),
.enhanced .practice-grid [data-reveal]:nth-child(4),
.enhanced .platform-grid [data-reveal]:nth-child(4) {
  animation-delay: 0.21s;
}
.enhanced .practice-grid [data-reveal]:nth-child(5) {
  animation-delay: 0.28s;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .scene-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .practice-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1100px) {
  .desktop-nav {
    gap: 10px;
  }
  .site-header {
    padding: 0 24px;
  }
  .platform-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .platform-card > p {
    min-height: 0;
  }
  .feature-panel {
    grid-template-columns: 32% 64%;
    padding: 20px;
  }
  .feature-copy {
    padding: 12px 8px;
  }
  .feature-copy h3 {
    font-size: 20px;
  }
  .feature-copy li {
    font-size: 11px;
  }
}
@media (max-width: 767px) {
  :root {
    --gutter: 20px;
    --section-gap: 80px;
    scroll-padding-top: 78px;
  }
  .site-header {
    padding: 0 20px;
  }
  .brand {
    font-size: 22px;
  }
  .brand img {
    width: 28px;
    height: 28px;
  }
  .desktop-nav {
    display: none;
  }
  .header-actions {
    gap: 10px;
  }
  .header-download {
    font-size: 13px;
    padding: 0 14px;
  }
  .menu-toggle.icon-button {
    display: inline-flex;
    width: 24px;
    height: 30px;
  }
  .hero-copy {
    padding: 52px 20px 0;
  }
  .hero-mark {
    width: 118px;
    height: 118px;
    margin-bottom: 16px;
  }
  .hero h1 {
    font-size: clamp(44px, 13vw, 60px);
    letter-spacing: -2px;
  }
  .hero-copy > p {
    font-size: 13px;
    line-height: 23px;
    margin-top: 16px;
    max-width: 340px;
  }
  .hero-copy > p br {
    display: none;
  }
  .hero-actions {
    margin-top: 26px;
  }
  .hero-marquee {
    margin-top: 24px;
  }
  .hero-marquee-set li {
    font-size: 11px;
    padding: 7px 11px;
  }
  .hero-screen {
    width: calc(100% - 40px);
    margin-top: 38px;
  }
  .screenshot-figure figcaption {
    font-size: 10px;
    line-height: 1.8;
    margin-top: 9px;
    gap: 8px;
  }
  .hero-screen .screenshot-button {
    border-radius: 14px;
  }
  .section-kicker {
    margin-bottom: 10px;
  }
  .section-title {
    letter-spacing: -0.4px;
  }
  .section-description {
    font-size: 13px;
    margin-top: 10px;
    line-height: 1.8;
  }
  .feature-tabs {
    gap: 2px;
    margin: 28px auto 22px;
  }
  .feature-tabs > button {
    font-size: 13px;
    padding: 0 13px;
  }
  .feature-panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    padding: 12px;
    border-radius: 16px;
    min-height: 0;
  }
  .feature-copy {
    padding: 15px 13px 0;
  }
  .feature-copy h3 {
    font-size: 22px;
    line-height: 1.5;
    margin-bottom: 16px;
  }
  .feature-copy h3 br {
    display: none;
  }
  .feature-icon {
    height: 20px;
    width: 20px;
    margin-bottom: 15px;
  }
  .feature-copy p {
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 16px;
  }
  .feature-copy ul {
    font-size: 12px;
    line-height: 2;
    margin-bottom: 20px;
  }
  .feature-copy li {
    font-size: 12px;
  }
  .feature-screen {
    padding: 12px;
  }
  .feature-screen figcaption {
    font-size: 10px;
  }
  .scene-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 32px;
  }
  .scene-card {
    padding: 22px 20px;
  }
  .practice-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 32px;
  }
  .practice-step {
    padding: 20px 18px 22px;
  }
  .platform-grid {
    margin-top: 32px;
  }
  .platform-card {
    padding: 24px 20px;
  }
  .platform-icon {
    height: 22px;
    width: 22px;
    margin-bottom: 16px;
  }
  .platform-card ul {
    margin-top: 20px;
  }
  .cli-command {
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
  }
  .copy-button {
    justify-content: center;
  }
  .table-scroll {
    margin-top: 32px;
  }
  .comparison th,
  .comparison td {
    padding: 13px 16px;
  }
  .comparison td,
  .comparison tbody th {
    font-size: 12px;
  }
  .comparison thead th {
    font-size: 13px;
    padding: 12px 16px;
  }
  .faq-list {
    margin-top: 32px;
  }
  .faq summary {
    min-height: 60px;
    gap: 15px;
    font-size: 14px;
  }
  .faq details > p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 20px;
  }
  .bottom-cta {
    margin-top: 80px;
    padding: 60px 20px;
  }
  .bottom-cta > .cta-inner > img {
    height: 54px;
    width: 54px;
  }
  .bottom-cta h2 {
    font-size: 26px;
    margin: 20px 0 10px;
  }
  .bottom-cta p {
    font-size: 13px;
    margin-bottom: 24px;
  }
  .site-footer {
    padding: 40px 20px 22px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-columns {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 14px;
  }
  .footer-top h3 {
    margin-bottom: 10px;
  }
  .footer-columns > div > a {
    margin: 8px 0;
  }
  .footer-bottom {
    font-size: 11px;
    margin-top: 28px;
    padding-top: 18px;
  }
  .back-to-top {
    right: 18px;
    bottom: 20px;
  }
  .screenshot-dialog-footer {
    align-items: flex-start;
    gap: 12px;
  }
  .screenshot-dialog-footer p {
    font-size: 10px;
  }
  .screenshot-dialog-footer a {
    padding: 0 10px;
    height: 32px;
    font-size: 13px;
  }
  #screenshot-dialog {
    padding: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  :root {
    scroll-behavior: auto;
  }
  .enhanced [data-reveal] {
    opacity: 1;
  }
  .hero-char {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .cursor-glow {
    display: none;
  }
}

body.enhanced .feature-tabs {
  display: flex;
}
body:not(.enhanced) .platform-switcher {
  display: none;
}
body:not(.enhanced) .platform-panel {
  margin-bottom: 8px;
}
