@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;700&display=swap');

:root {
  --background: #040705;
  --background-deep: #020302;
  --surface-1: rgba(8, 10, 10, 0.9);
  --surface-2: rgba(11, 13, 13, 0.94);
  --surface-3: #101313;
  --surface-4: #161919;
  --surface-soft: rgba(14, 16, 16, 0.8);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --primary: #64ff96;
  --primary-strong: #1fff73;
  --primary-soft: rgba(100, 255, 150, 0.06);
  --accent: #6fe5ff;
  --accent-soft: rgba(111, 229, 255, 0.12);
  --warning: #ffc96b;
  --text-primary: #f5fff8;
  --text-primary-soft: rgba(245, 255, 248, 0.86);
  --text-secondary: #adc3b6;
  --text-muted: #7b9388;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.28);
  --shadow-deep: 0 40px 90px rgba(0, 0, 0, 0.42);
  --shadow-glow: 0 24px 64px rgba(38, 255, 121, 0.05);
  --radius-xs: 14px;
  --radius-sm: 18px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-xl: 40px;
  --content-width: 1380px;
  --sidebar-width: 320px;
  --header-height: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--background-deep);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Manrope', sans-serif;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 12% 10%, rgba(100, 255, 150, 0.028), transparent 14%),
    radial-gradient(circle at 84% 12%, rgba(255, 255, 255, 0.018), transparent 17%),
    radial-gradient(circle at 50% 52%, rgba(100, 255, 150, 0.012), transparent 24%),
    linear-gradient(180deg, #030303 0%, #020202 34%, #010101 100%);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

body>*:not(.ambient-layer):not(.scroll-progress) {
  position: relative;
  z-index: 1;
}

body::before,
body::after {
  content: '';
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

body::before {
  inset: -8%;
  opacity: 0.37;
  background-image:
    radial-gradient(circle at 15% 12%, rgba(100, 255, 150, 0.05) 0%, transparent 10%),
    radial-gradient(circle at 80% 78%, rgba(100, 255, 150, 0.035) 0%, transparent 12%),
    linear-gradient(rgba(255, 255, 255, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.052) 1px, transparent 1px);
  background-size: auto, auto, 58px 58px, 58px 58px;
  background-position: 15% 12%, 80% 78%, 0 0, 0 0;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.76) 24%, rgba(0, 0, 0, 0.52) 68%, rgba(0, 0, 0, 0.14) 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.76) 24%, rgba(0, 0, 0, 0.52) 68%, rgba(0, 0, 0, 0.14) 100%);
}

body::after {
  top: -10rem;
  right: -8rem;
  width: 26rem;
  height: 26rem;
  border-radius: 999px;
  background: rgba(100, 255, 150, 0.05);
  filter: blur(120px);
  opacity: 0.08;
}

::selection {
  color: #041008;
  background: rgba(111, 229, 255, 0.9);
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(111, 229, 255, 0.55) rgba(255, 255, 255, 0.03);
}

*::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

*::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
}

*::-webkit-scrollbar-thumb {
  border-radius: 999px;
  border: 3px solid rgba(0, 0, 0, 0);
  background: linear-gradient(180deg, rgba(111, 229, 255, 0.8), rgba(100, 255, 150, 0.75));
  background-clip: padding-box;
}

.ambient-layer {
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  transform: translate3d(0, var(--parallax-offset, 0px), 0);
  will-change: transform, opacity;
  opacity: 0.22;
  filter: blur(120px);
  animation: floatAmbient 16s ease-in-out infinite;
}

.ambient-layer-one {
  top: 9rem;
  left: -9rem;
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, rgba(111, 229, 255, 0.22) 0%, rgba(111, 229, 255, 0.04) 52%, transparent 72%);
}

.ambient-layer-two {
  top: 24rem;
  right: -8rem;
  width: 22rem;
  height: 22rem;
  background: radial-gradient(circle, rgba(100, 255, 150, 0.18) 0%, rgba(100, 255, 150, 0.04) 54%, transparent 76%);
  animation-delay: -6s;
}

.ambient-layer-three {
  bottom: 8rem;
  left: 34%;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(255, 211, 109, 0.14) 0%, rgba(255, 211, 109, 0.04) 50%, transparent 76%);
  animation-delay: -11s;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
.brand-title,
.hero-tag,
.section-kicker,
.metric-label,
.sidebar-badge,
.docs-kicker,
.docs-chip,
.stage-label {
  font-family: 'Space Grotesk', sans-serif;
}

.logo-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 14px;
  filter: drop-shadow(0 0 20px rgba(100, 255, 150, 0.18));
  flex-shrink: 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  text-decoration: none;
}

.brand-lockup.compact .logo-img {
  width: 40px;
  height: 40px;
}

.brand-copy {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.brand-caption {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.brand-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-primary);
}

.navbar {
  position: fixed;
  top: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 2.4rem), 1320px);
  height: var(--header-height);
  padding: 0 1.2rem 0 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: rgba(5, 5, 5, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  z-index: 1000;
  transition: top 0.3s ease, width 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform, top, width, background;
}

.landing.is-scrolled .navbar {
  top: 0.85rem;
  width: min(calc(100% - 1.4rem), 1340px);
  background: rgba(4, 5, 5, 0.96);
  border-color: rgba(161, 255, 199, 0.12);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.42);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

.nav-link[aria-current='page'] {
  color: var(--text-primary);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(111, 229, 255, 0.07));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.btn-premium,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.45rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.btn-premium {
  color: #072012;
  background: linear-gradient(135deg, #8bffb0 0%, var(--primary) 45%, #3df3ff 100%);
  box-shadow: 0 18px 40px rgba(100, 255, 150, 0.22);
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px rgba(100, 255, 150, 0.28);
}

.btn-ghost {
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(161, 255, 199, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.btn-small {
  padding: 0.78rem 1.1rem;
  font-size: 0.86rem;
}

.main-content {
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

.landing .main-content {
  padding: 8.5rem 1.5rem 0;
}

.hero {
  padding: 4rem 0 1.8rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(460px, 1.04fr);
  gap: clamp(2.4rem, 4vw, 4.8rem);
  align-items: start;
}

.hero-copy {
  max-width: 44rem;
  padding-right: clamp(0rem, 1.8vw, 1rem);
}

.hero-copy,
.hero-stage,
.docs-intro,
.docs-card,
.metric-card,
.hero-floating-card {
  animation: fadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: transform, opacity;
}

.hero-tag,
.section-kicker,
.sidebar-badge,
.docs-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}

.hero-tag::before,
.section-kicker::before,
.docs-kicker::before {
  content: '';
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: radial-gradient(circle, #d6ffe4 0%, var(--primary) 45%, rgba(100, 255, 150, 0.1) 100%);
  box-shadow: 0 0 20px rgba(100, 255, 150, 0.45);
}

.display-lg {
  margin: 1.25rem 0 1.4rem;
  max-width: 13ch;
  font-size: clamp(2.7rem, 4.4vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.045em;
  hyphens: auto;
}

.headline-md {
  margin: 0.9rem 0 0;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.hero-lead,
.section-desc,
.docs-lead,
.footer-note {
  color: var(--text-secondary);
}

.hero-lead {
  max-width: 60ch;
  margin: 0 0 2.4rem;
  font-size: 1.12rem;
  color: var(--text-primary-soft);
}

.text-gradient {
  background: linear-gradient(135deg, #cffff1 0%, var(--primary) 24%, var(--accent) 68%, #ffe085 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-neon {
  color: var(--primary);
  text-shadow: 0 0 24px rgba(100, 255, 150, 0.28);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.2rem;
}

.metric-card,
.card,
.docs-card,
.sidebar-inner,
.hero-stage-panel,
.quote-card,
.cta-panel {
  background: linear-gradient(180deg, rgba(14, 14, 14, 0.97) 0%, rgba(8, 8, 8, 0.97) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-deep), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.metric-card,
.card,
.info-card,
.feature-card,
.cta-panel {
  border-radius: var(--radius-md);
}

.metric-card {
  padding: 1.35rem;
}

.metric-label {
  display: inline-flex;
  align-items: center;
  font-size: 0.73rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}

.metric-card strong {
  display: block;
  margin-top: 0.65rem;
  font-size: 1.4rem;
  line-height: 1.1;
}

.metric-card p {
  margin: 0.75rem 0 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.hero-stage {
  position: relative;
  display: grid;
  gap: 1.1rem;
  perspective: 1400px;
  padding-top: 0.85rem;
}

.hero-stage-panel {
  position: relative;
  padding: 0.95rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(111, 229, 255, 0.07), transparent 26%),
    linear-gradient(180deg, rgba(14, 14, 14, 0.97) 0%, rgba(8, 8, 8, 0.97) 100%);
}

.hero-stage-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.06) 43%, transparent 58%);
  transform: translateX(-120%);
  animation: sheenSweep 10s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.hero-stage-panel>* {
  position: relative;
  z-index: 1;
}

.hero-stage-header,
.terminal-header,
.tech-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero-stage-header {
  padding: 0.35rem 0.35rem 1rem;
}

.stage-label {
  color: var(--text-muted);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 0;
}

.preview-img {
  width: 100%;
  height: auto;
  max-height: 540px;
  min-height: 0;
  object-fit: contain;
  object-position: center top;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.92) 0%, rgba(8, 8, 8, 0.96) 100%);
  transition: transform 0.7s ease, filter 0.7s ease;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.34);
}

.hero-stage-panel:hover .preview-img {
  transform: scale(1.025);
  filter: saturate(1.06);
}

.card-glass {
  background: linear-gradient(180deg, rgba(16, 16, 16, 0.92) 0%, rgba(9, 9, 9, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-soft), var(--shadow-glow);
  max-width: none;
  margin-left: 0;
  min-height: 100%;
}

.card-glass strong {
  display: block;
  margin-top: 0.4rem;
  font-size: 1.2rem;
}

.card-glass p {
  margin: 0.7rem 0 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.hero-dashboard-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.95fr);
  gap: 1rem;
}

.hero-floating-card {
  position: relative;
  overflow: hidden;
}

.hero-floating-card::before {
  content: '';
  position: absolute;
  inset: auto -10% -60% 10%;
  height: 10rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100, 255, 150, 0.13) 0%, rgba(100, 255, 150, 0.03) 44%, transparent 72%);
  pointer-events: none;
}

.hero-floating-card-compact {
  background:
    radial-gradient(circle at 100% 0%, rgba(111, 229, 255, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(16, 16, 16, 0.92) 0%, rgba(9, 9, 9, 0.9) 100%);
}

.hero-status-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0 0;
  padding: 0;
}

.hero-status-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-primary-soft);
  font-size: 0.92rem;
}

.signal-meter-stack {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.signal-meter {
  position: relative;
  height: 0.65rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.signal-meter::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--meter-width);
  border-radius: inherit;
  background: var(--meter-tint);
  box-shadow: 0 0 18px rgba(111, 229, 255, 0.22);
  animation: pulseMeters 3.8s ease-in-out infinite;
}

.signal-chip-row,
.docs-chip-row,
.voice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.signal-chip-row {
  margin-top: 1.35rem;
}

.signal-chip,
.docs-chip,
.voice-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.78rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-primary-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.signal-chip::before,
.voice-pill::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 18px rgba(100, 255, 150, 0.4);
}

.docs-chip {
  font-size: 0.77rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.hero-marquee {
  position: relative;
  margin-top: 1rem;
  padding: 0.9rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.hero-marquee-track {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: max-content;
  animation: marqueeMove 28s linear infinite;
}

.hero-marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-muted);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-marquee-track span::before {
  content: '';
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 14px rgba(111, 229, 255, 0.22);
}

.section-block {
  position: relative;
  padding-top: 4.35rem;
  scroll-margin-top: 8rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.2rem;
}

.section-desc {
  font-size: 1rem;
  margin: 0;
}

.section-desc.compact {
  max-width: 56ch;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.feature-grid-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-showcase::before {
  content: '';
  position: absolute;
  inset: 8rem 14% auto;
  height: 20rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(111, 229, 255, 0.08) 0%, rgba(100, 255, 150, 0.05) 34%, transparent 74%);
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
}

.showcase-card {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  align-content: start;
  overflow: hidden;
}

.showcase-primary {
  grid-column: span 7;
  padding: 1.55rem;
}

.showcase-sidebar-card,
.showcase-book-card {
  grid-column: span 5;
}

.showcase-settings-card {
  grid-column: span 7;
}

.showcase-ribbon {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  align-items: center;
}

.showcase-card-copy {
  position: relative;
  z-index: 1;
}

.showcase-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--accent);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.showcase-eyebrow::before {
  content: '';
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: radial-gradient(circle, #ffffff 0%, var(--accent) 45%, rgba(111, 229, 255, 0.12) 100%);
  box-shadow: 0 0 18px rgba(111, 229, 255, 0.3);
}

.showcase-card h3 {
  margin: 1rem 0 0.8rem;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.08;
}

.showcase-card p {
  margin: 0;
  color: var(--text-secondary);
}

.showcase-screen {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 0;
  overflow: visible;
}

.showcase-screen-tight {
  min-height: 0;
}

.showcase-screen-ribbon {
  min-height: 0;
}

.showcase-image {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: 100%;
  object-fit: contain;
  object-position: center top;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.92) 0%, rgba(8, 8, 8, 0.96) 100%);
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), filter 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.3);
}

.showcase-primary .showcase-image {
  max-height: 330px;
}

.showcase-sidebar-card .showcase-image,
.showcase-book-card .showcase-image {
  max-height: 430px;
}

.showcase-ribbon .showcase-image {
  max-height: 240px;
}

.showcase-card:hover .showcase-image {
  transform: scale(1.035);
  filter: saturate(1.08);
}

.screen-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  background: rgba(6, 10, 10, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  animation: floatBadge 7s ease-in-out infinite;
}

.screen-badge::before {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 16px rgba(100, 255, 150, 0.35);
}

.screen-badge-top {
  top: 1.35rem;
  left: 1.35rem;
}

.screen-badge-bottom {
  right: 1.35rem;
  bottom: 1.35rem;
  animation-delay: -3.5s;
}

.settings-stack {
  position: relative;
  min-height: 270px;
}

.settings-shot {
  position: absolute;
  width: min(72%, 360px);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.34);
  animation: floatStack 8s ease-in-out infinite;
}

.settings-shot-main {
  top: 0.8rem;
  left: 22%;
  z-index: 3;
}

.settings-shot-left {
  bottom: 0.8rem;
  left: 0;
  transform: rotate(-8deg);
  z-index: 2;
  animation-delay: -2.2s;
}

.settings-shot-right {
  top: 2.2rem;
  right: 0;
  transform: rotate(8deg);
  z-index: 1;
  animation-delay: -4.4s;
}

.card,
.tech-item,
.quote-card,
.cta-panel,
.docs-card {
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.card:hover,
.tech-item:hover,
.quote-card:hover,
.cta-panel:hover,
.docs-card:hover {
  transform: translateY(-4px);
  border-color: rgba(161, 255, 199, 0.14);
  box-shadow: var(--shadow-deep), 0 18px 36px rgba(38, 255, 121, 0.04);
}

.feature-card,
.info-card {
  padding: 1.8rem;
}

.feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(111, 229, 255, 0.08));
  color: var(--primary);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

.feature-card h3,
.info-card strong {
  margin: 1.2rem 0 0.8rem;
  font-size: 1.28rem;
  line-height: 1.15;
}

.feature-card p,
.info-card p,
.tech-item p,
.quote-card p,
.footer-note {
  margin: 0;
  color: var(--text-secondary);
}

.info-card strong,
.tech-item strong {
  color: var(--text-primary);
}

.asymmetric-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(1.4rem, 3vw, 2.8rem);
}

.mission-layout {
  align-items: stretch;
}

.mission-card {
  padding: 2.1rem;
}

.tech-list,
.staggered-grid {
  display: grid;
  gap: 1rem;
}

.tech-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.8rem;
}

.tech-item {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.92) 0%, rgba(8, 8, 8, 0.92) 100%);
}

.tech-item strong {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tech-item p,
.tech-item {
  font-size: 0.96rem;
}

.monitor-stack {
  position: relative;
  min-height: 100%;
  display: flex;
  align-items: center;
}

.spotlight {
  position: absolute;
  inset: 12% 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100, 255, 150, 0.08) 0%, rgba(111, 229, 255, 0.03) 42%, transparent 72%);
  filter: blur(42px);
  z-index: 0;
}

.terminal-window {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 6, 6, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-deep);
  z-index: 1;
}

.terminal-header {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(161, 255, 199, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.terminal-controls {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.terminal-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.terminal-body {
  padding: 1.6rem 1.4rem;
  display: grid;
  gap: 1rem;
  color: var(--text-primary-soft);
  font-family: 'Space Grotesk', sans-serif;
}

.terminal-row,
.terminal-status {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.terminal-highlight {
  color: var(--primary);
}

.status-dot {
  width: 0.72rem;
  height: 0.72rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: radial-gradient(circle, #e5ffef 0%, var(--primary) 48%, #00a83c 100%);
  box-shadow: 0 0 16px rgba(100, 255, 150, 0.45);
}

.terminal-status {
  justify-content: flex-start;
  margin-top: 0.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(161, 255, 199, 0.08);
}

.glow-bg {
  position: relative;
}

.glow-bg::before {
  content: '';
  position: absolute;
  inset: 15% 20% auto;
  height: 18rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(100, 255, 150, 0.05) 0%, rgba(111, 229, 255, 0.025) 35%, transparent 72%);
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
}

.staggered-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.staggered-grid .tech-item:nth-child(even) {
  margin-top: 1rem;
}

.voice-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 1.4rem;
  align-items: start;
}

.quote-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(111, 229, 255, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(15, 15, 15, 0.97) 0%, rgba(8, 8, 8, 0.97) 100%);
}

.quote-card p {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--text-primary-soft);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.6rem;
  align-items: center;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(100, 255, 150, 0.07), transparent 24%),
    linear-gradient(180deg, rgba(15, 15, 15, 0.97) 0%, rgba(8, 8, 8, 0.97) 100%);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.9rem;
}

.site-footer {
  margin-top: 4.5rem;
  padding: 3rem 1.5rem 3.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-footer {
  width: min(100%, var(--content-width));
  margin-left: auto;
  margin-right: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: start;
}

.footer-links {
  display: grid;
  gap: 0.9rem;
  justify-items: start;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-secondary);
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-link svg,
.footer-link i {
  color: var(--primary);
}

.footer-link:hover {
  color: var(--text-primary);
  transform: translateX(4px);
}

.footer-note {
  margin-top: 1.2rem;
  max-width: 52ch;
  font-size: 0.95rem;
}

.footer-note.muted {
  margin-top: 1.8rem;
  max-width: none;
  color: var(--text-muted);
}

.docs .layout {
  display: grid;
  grid-template-columns: minmax(280px, var(--sidebar-width)) minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 1.4rem 0 1.4rem 1.4rem;
}

.sidebar-inner {
  height: calc(100vh - 2.8rem);
  border-radius: var(--radius-lg);
  padding: 1.45rem;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  overflow: hidden;
}

.sidebar-brand {
  padding-bottom: 0.2rem;
}

.sidebar-intro {
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-intro p {
  margin: 0.7rem 0 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 0;
  flex: 1;
}

.sidebar-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 700;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-links {
  list-style: none;
  margin: 0;
  padding: 0 0.25rem 0 0;
  display: grid;
  gap: 0.5rem;
  overflow: auto;
}

.sidebar-links a {
  position: relative;
  display: block;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 600;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  border: 1px solid transparent;
}

.sidebar-links a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(161, 255, 199, 0.08);
  transform: translateX(4px);
}

.sidebar-links a.active {
  color: var(--text-primary);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.staggered-grid .tech-item:nth-child(even) {
  margin-top: 1rem;
}

.voice-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 1.4rem;
  align-items: start;
}

.quote-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(111, 229, 255, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(15, 15, 15, 0.97) 0%, rgba(8, 8, 8, 0.97) 100%);
}

.quote-card p {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--text-primary-soft);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.6rem;
  align-items: center;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(100, 255, 150, 0.07), transparent 24%),
    linear-gradient(180deg, rgba(15, 15, 15, 0.97) 0%, rgba(8, 8, 8, 0.97) 100%);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.9rem;
}

.site-footer {
  margin-top: 4.5rem;
  padding: 3rem 1.5rem 3.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-footer {
  width: min(100%, var(--content-width));
  margin-left: auto;
  margin-right: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: start;
}

.footer-links {
  display: grid;
  gap: 0.9rem;
  justify-items: start;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-secondary);
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-link svg,
.footer-link i {
  color: var(--primary);
}

.footer-link:hover {
  color: var(--text-primary);
  transform: translateX(4px);
}

.footer-note {
  margin-top: 1.2rem;
  max-width: 52ch;
  font-size: 0.95rem;
}

.footer-note.muted {
  margin-top: 1.8rem;
  max-width: none;
  color: var(--text-muted);
}

.docs .layout {
  display: grid;
  grid-template-columns: minmax(280px, var(--sidebar-width)) minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 1.4rem 0 1.4rem 1.4rem;
}

.sidebar-inner {
  height: calc(100vh - 2.8rem);
  border-radius: var(--radius-lg);
  padding: 1.45rem;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  overflow: hidden;
}

.sidebar-brand {
  padding-bottom: 0.2rem;
}

.sidebar-intro {
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-intro p {
  margin: 0.7rem 0 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 0;
  flex: 1;
}

.sidebar-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 700;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-links {
  list-style: none;
  margin: 0;
  padding: 0 0.25rem 0 0;
  display: grid;
  gap: 0.5rem;
  overflow: auto;
}

.sidebar-links a {
  position: relative;
  display: block;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 600;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  border: 1px solid transparent;
}

.sidebar-links a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(161, 255, 199, 0.08);
  transform: translateX(4px);
}

.sidebar-links a.active {
  color: var(--text-primary);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(111, 229, 255, 0.04));
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.sidebar-support {
  padding-top: 1rem;
  border-top: 1px solid rgba(161, 255, 199, 0.08);
  display: grid;
  gap: 0.8rem;
}

.docs-main {
  width: 100%;
  max-width: none;
  padding: 2rem 2rem 3rem;
}

.docs-intro {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}

.docs-lead {
  max-width: 66ch;
  margin: 1rem 0 0;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.docs-card {
  padding: clamp(1.4rem, 3vw, 2.5rem);
  border-radius: calc(var(--radius-lg) + 4px);
  background: var(--surface-1);
}

.article-body {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.article-body h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.article-body h1+p {
  font-size: 1.05rem;
  color: var(--text-primary-soft);
  margin-top: -0.5rem;
  margin-bottom: 2rem;
}

.article-body h2 {
  margin: 3.5rem 0 1.2rem;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  line-height: 1.15;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.article-body h2::before {
  content: '';
  width: 3rem;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
  border-radius: 99px;
  flex-shrink: 0;
}

.article-body h3 {
  margin: 2.2rem 0 1rem;
  font-size: 1.15rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.article-body p,
.article-body ul,
.article-body ol,
.article-body blockquote,
.article-body pre,
.article-body table,
.article-body hr {
  margin: 1.2rem 0 0;
}

.article-body p {
  max-width: 72ch;
}

.article-body strong {
  color: var(--text-primary);
  font-weight: 600;
}

.article-body a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(111, 229, 255, 0.2);
  transition: all 0.25s ease;
}

.article-body a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: rgba(100, 255, 150, 0.05);
}

.article-body ul,
.article-body ol {
  padding-left: 1.2rem;
  display: grid;
  gap: 0.7rem;
}

.article-body li {
  padding-left: 0.25rem;
}

.article-body li::marker {
  color: var(--primary);
  font-weight: 800;
}

.article-body blockquote {
  position: relative;
  padding: 1.2rem 1.4rem 1.2rem 3.4rem;
  max-width: 74ch;
  border-radius: 20px;
  border: 1px solid rgba(255, 201, 107, 0.1);
  background: linear-gradient(180deg, rgba(26, 22, 13, 0.3) 0%, rgba(14, 12, 9, 0.3) 100%);
  color: var(--text-primary-soft);
  font-style: italic;
}

.article-body blockquote::before {
  content: '!';
  position: absolute;
  left: 1.15rem;
  top: 1.15rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-style: normal;
  color: #1d1504;
  background: var(--warning);
  font-size: 0.8rem;
}

.article-body blockquote p {
  margin-top: 0;
}

.article-body img {
  display: block;
  margin: 2.5rem auto;
  width: auto;
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease;
}

.article-body img:hover {
  transform: scale(1.01);
}

.article-body p>em:only-child {
  display: block;
  text-align: center;
  margin-top: -1.5rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.article-body pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 1.2rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(2, 4, 3, 0.95);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.02);
}

.article-body code {
  padding: 0.15rem 0.4rem;
  border-radius: 8px;
  background: rgba(100, 255, 150, 0.08);
  color: var(--primary);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9em;
}

.article-body pre code {
  padding: 0;
  background: transparent;
  color: var(--text-primary-soft);
  font-size: 0.9rem;
}

.article-body hr {
  height: 1px;
  border: 0;
  margin: 3rem 0;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.mobile-header {
  position: sticky;
  top: 0;
  z-index: 1001;
  height: 74px;
  padding: 0 1rem;
  display: none;
  align-items: center;
  justify-content: space-between;
  background: rgba(5, 5, 5, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1000;
}

.overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

html.js.reveal-ready [data-reveal]:not(.is-visible),
html.js.reveal-ready [data-reveal='stagger']:not(.is-visible)>*,
html.js.reveal-ready [data-reveal='showcase']:not(.is-visible)>*,
html.js.reveal-ready [data-reveal='split']:not(.is-visible)>* {
  will-change: transform, opacity, filter;
}

html.js.reveal-ready [data-reveal]:not([data-reveal='stagger']):not([data-reveal='showcase']):not([data-reveal='split']) {
  opacity: 0;
  filter: blur(10px);
  transform: translate3d(0, 40px, 0) scale(0.985);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

html.js.reveal-ready [data-reveal='stagger']>*,
html.js.reveal-ready [data-reveal='showcase']>*,
html.js.reveal-ready [data-reveal='split']>* {
  opacity: 0;
  filter: blur(10px);
  transform: translate3d(0, 44px, 0) scale(0.985);
  transition:
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

html.js.reveal-ready [data-reveal='split']> :nth-child(2) {
  transform: translate3d(26px, 40px, 0) scale(0.985);
}

html.js.reveal-ready [data-reveal='stagger']> :nth-child(1),
html.js.reveal-ready [data-reveal='showcase']> :nth-child(1),
html.js.reveal-ready [data-reveal='split']> :nth-child(1) {
  transition-delay: 70ms;
}

html.js.reveal-ready [data-reveal='stagger']> :nth-child(2),
html.js.reveal-ready [data-reveal='showcase']> :nth-child(2),
html.js.reveal-ready [data-reveal='split']> :nth-child(2) {
  transition-delay: 150ms;
}

html.js.reveal-ready [data-reveal='stagger']> :nth-child(3),
html.js.reveal-ready [data-reveal='showcase']> :nth-child(3) {
  transition-delay: 230ms;
}

html.js.reveal-ready [data-reveal='stagger']> :nth-child(4),
html.js.reveal-ready [data-reveal='showcase']> :nth-child(4) {
  transition-delay: 310ms;
}

html.js.reveal-ready [data-reveal='stagger']> :nth-child(5),
html.js.reveal-ready [data-reveal='showcase']> :nth-child(5) {
  transition-delay: 390ms;
}

html.js.reveal-ready [data-reveal].is-visible {
  opacity: 1 !important;
  filter: blur(0) !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
}

html.js.reveal-ready [data-reveal='stagger'].is-visible>*,
html.js.reveal-ready [data-reveal='showcase'].is-visible>*,
html.js.reveal-ready [data-reveal='split'].is-visible>* {
  opacity: 1 !important;
  filter: blur(0) !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
}

.border-beam-neon {
  position: relative;
  overflow: hidden;
}

.border-beam-neon::before {
  content: '';
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 180deg, transparent 0%, transparent 72%, rgba(100, 255, 150, 0.42) 82%, rgba(111, 229, 255, 0.34) 90%, transparent 100%);
  animation: rotateBeam 5s linear infinite;
  z-index: 0;
}

.border-beam-neon::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: inherit;
  z-index: 0;
}

.border-beam-neon>* {
  position: relative;
  z-index: 1;
}

@keyframes rotateBeam {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes sheenSweep {

  0%,
  64% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(140%);
  }
}

@keyframes gridDrift {
  from {
    background-position: 15% 12%, 80% 78%, 0 0, 0 0;
  }

  to {
    background-position: 15% 12%, 80% 78%, 116px 0, 116px 0;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes marqueeMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 0.45rem));
  }
}

@keyframes pulseMeters {

  0%,
  100% {
    opacity: 0.88;
    filter: saturate(1);
  }

  50% {
    opacity: 1;
    filter: saturate(1.15);
  }
}

@keyframes floatAmbient {

  0%,
  100% {
    transform: translate3d(0, var(--parallax-offset, 0px), 0) scale(1);
  }

  50% {
    transform: translate3d(0, calc(var(--parallax-offset, 0px) - 14px), 0) scale(1.04);
  }
}

@keyframes scanSweep {
  0% {
    transform: translate3d(-24%, 0, 0);
  }

  50% {
    transform: translate3d(18%, 0, 0);
  }

  100% {
    transform: translate3d(46%, 0, 0);
  }
}

@keyframes floatStack {

  0%,
  100% {
    transform: translateY(0) rotate(var(--card-rotate, 0deg));
  }

  50% {
    transform: translateY(-12px) rotate(var(--card-rotate, 0deg));
  }
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 1180px) {

  .hero-grid,
  .asymmetric-layout,
  .voice-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .showcase-ribbon {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    max-width: 760px;
  }

  .hero-dashboard-row {
    grid-template-columns: 1fr;
  }

  .hero-metrics,
  .feature-grid,
  .feature-grid-wide,
  .tech-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-primary,
  .showcase-sidebar-card,
  .showcase-book-card,
  .showcase-settings-card,
  .showcase-ribbon {
    grid-column: auto;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 1024px) {
  .navbar {
    width: min(calc(100% - 1.2rem), 1320px);
    top: 0.6rem;
  }

  .nav-link {
    display: none;
  }

  .landing .main-content {
    padding-top: 7rem;
  }

  .docs .layout {
    grid-template-columns: 1fr;
  }

  .mobile-header,
  .overlay {
    display: flex;
  }

  .overlay {
    display: block;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: min(88vw, 340px);
    height: 100vh;
    padding: 1rem;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1002;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-inner {
    height: 100%;
  }

  .docs-main {
    padding: 1.25rem 1.25rem 2rem;
  }

  .staggered-grid .tech-item:nth-child(even) {
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  body::before {
    inset: -4%;
    background-size: auto, auto, 42px 42px, 42px 42px;
    animation-duration: 18s;
  }

  body::after {
    width: 18rem;
    height: 18rem;
    top: -6rem;
    right: -5rem;
    opacity: 0.11;
  }

  .ambient-layer {
    filter: blur(84px);
    opacity: 0.2;
  }

  .landing .main-content,
  .site-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero {
    padding-top: 3.1rem;
  }

  .display-lg {
    font-size: clamp(2.45rem, 12vw, 3.5rem);
  }

  .headline-md {
    font-size: clamp(1.7rem, 9vw, 2.4rem);
  }

  .hero-metrics,
  .feature-grid,
  .feature-grid-wide,
  .tech-list,
  .staggered-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .preview-img,
  .hero-visual {
    min-height: 0;
  }

  .preview-img {
    max-height: 360px;
  }

  .hero-dashboard-row,
  .showcase-ribbon {
    grid-template-columns: 1fr;
  }

  .showcase-card,
  .showcase-primary {
    padding: 1.25rem;
  }

  .screen-badge {
    left: 1rem;
    right: auto;
    max-width: calc(100% - 2rem);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
  }

  .screen-badge-bottom {
    bottom: 1rem;
  }

  .settings-stack {
    min-height: 240px;
  }

  .settings-shot {
    width: min(78%, 260px);
  }

  .settings-shot-main {
    left: 16%;
  }

  .btn-premium,
  .btn-ghost {
    width: 100%;
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .docs-card,
  .docs-intro,
  .mission-card,
  .feature-card,
  .info-card,
  .quote-card,
  .cta-panel,
  .metric-card {
    padding: 1.25rem;
  }

  .article-body h1 {
    font-size: 2rem;
  }

  .article-body h2 {
    font-size: 1.45rem;
  }

  .article-body blockquote {
    padding: 1.1rem 1rem 1.1rem 2.9rem;
  }

  .signal-chip,
  .voice-pill,
  .docs-chip {
    width: 100%;
    justify-content: center;
  }

  .hero-marquee-track {
    animation-duration: 22s;
  }

  .terminal-row,
  .terminal-status,
  .hero-stage-header,
  .tech-item-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Changelog Components */
.changelog-container {
  position: relative;
  padding-left: 3rem;
  margin-top: 3rem;
}

.changelog-container::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary) 0%, transparent 100%);
  border-radius: 99px;
  opacity: 0.2;
}

.changelog-entry {
  position: relative;
  margin-bottom: 4rem;
}

.changelog-entry::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0.75rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 15px var(--primary);
  z-index: 1;
}

.version-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 30px;
  background: rgba(100, 255, 150, 0.1);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  border: 1px solid rgba(100, 255, 150, 0.2);
  margin-bottom: 1rem;
}

.version-date {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-left: 0.75rem;
}

.changelog-card {
  padding: 2.5rem;
  background: var(--surface-1);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.changelog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(100, 255, 150, 0.15);
}

.changelog-title {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-family: 'Space Grotesk', sans-serif;
}

.changelog-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.changelog-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  line-height: 1.6;
}

.changelog-item b {
  color: var(--primary);
  font-weight: 600;
}

.changelog-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 0.6rem;
}

/* Homepage Preview Specific */
.changelog-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (max-width: 960px) {
  .changelog-preview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .changelog-container {
    padding-left: 1.5rem;
  }

  .changelog-entry::before {
    left: -1.75rem;
  }

  .changelog-card {
    padding: 1.5rem;
  }
}

.center-actions {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}