:root {
  --page-bg: #000000;
  --panel-bg: rgba(0, 0, 0, 0.72);
  --line: rgba(122, 255, 255, 0.2);
  --text: #f4fbff;
  --muted: #a9bdd0;
  --cyan: #38faff;
  --magenta: #ff3df2;
  --lime: #baff37;
  --amber: #ffd95a;
  --blue: #4d7cff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (color-gamut: p3) {
  :root {
    --cyan: color(display-p3 0.08 0.98 1);
    --magenta: color(display-p3 1 0.12 0.92);
    --lime: color(display-p3 0.72 1 0.1);
    --amber: color(display-p3 1 0.82 0.22);
    --blue: color(display-p3 0.22 0.42 1);
  }
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--page-bg);
  color-scheme: dark;
}

body {
  min-height: 100vh;
  margin: 0;
  background: #000000;
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  content: none;
}

a {
  color: inherit;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.landing-shell {
  width: min(1160px, calc(100% - 36px));
}

.product-nav {
  position: fixed;
  left: 50%;
  top: 0;
  z-index: 20;
  width: min(1220px, calc(100% - 32px));
  transform: translateX(-50%);
  padding: 18px 0;
}

.product-nav::before {
  content: "";
  position: absolute;
  inset: 8px -12px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.product-page {
  position: relative;
  z-index: 1;
}

.product-hero {
  min-height: 88vh;
  display: grid;
  place-items: center;
  padding: 112px 20px 70px;
  text-align: center;
}

.product-hero-copy {
  width: min(940px, 100%);
  margin: 0 auto;
}

.product-kicker {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  font-weight: 700;
}

.product-hero h1 {
  margin: 0 auto 22px;
  color: #ffffff;
  font-size: 116px;
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: none;
  text-shadow:
    0 0 2px rgba(255, 255, 255, 0.82),
    0 0 44px rgba(56, 250, 255, 0.42),
    0 0 120px rgba(255, 61, 242, 0.26);
}

.product-wordmark-title {
  width: min(1040px, 100%);
  margin: 0 auto 20px !important;
  background: none !important;
  color: transparent !important;
  filter: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-shadow: none !important;
}

.hdr-wordmark {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  background: transparent;
  filter:
    drop-shadow(0 0 18px rgba(255, 255, 255, 0.22))
    drop-shadow(0 0 34px rgba(56, 250, 255, 0.34))
    drop-shadow(0 0 58px rgba(255, 61, 242, 0.2));
}

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

@supports (dynamic-range-limit: no-limit) {
  .hdr-wordmark {
    dynamic-range-limit: no-limit;
  }
}

.product-hero p {
  width: min(760px, 100%);
  margin: 0 auto;
  color: rgba(244, 251, 255, 0.82);
  font-size: 22px;
  line-height: 1.5;
}

.product-page .hero-actions {
  justify-content: center;
  margin-top: 34px;
}

.product-page .primary-action,
.product-page .secondary-action,
.product-page .control-button,
.product-page .copy-button,
.product-nav .control-button {
  min-height: 44px;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 750;
}

.product-page .primary-action {
  border-color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.92);
  color: #000000;
  box-shadow: 0 0 38px rgba(255, 255, 255, 0.22);
}

.product-page .secondary-action {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(0, 0, 0, 0.32);
  color: #ffffff;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.scroll-cue::after {
  content: "";
  display: block;
  width: 1px;
  height: 34px;
  margin: 12px auto 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.85), transparent);
}

.product-section {
  min-height: auto;
  display: grid;
  align-content: center;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 78px 0 104px;
}

.unified-section {
  padding-top: 34px;
}

.centered-heading {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.product-section .section-heading h2,
.asset-copy h2 {
  margin-bottom: 18px;
  color: #ffffff;
  font-size: 64px;
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow:
    0 0 28px rgba(56, 250, 255, 0.36),
    0 0 90px rgba(255, 61, 242, 0.18);
}

.product-section .section-heading p,
.asset-copy p {
  color: rgba(244, 251, 255, 0.76);
  font-size: 19px;
  line-height: 1.58;
}

.setup-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 42px 0 20px;
}

.single-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.landing-panel {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 24px;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(18px);
}

.landing-panel.wide {
  grid-column: 1 / -1;
}

.panel-heading {
  max-width: 760px;
}

.panel-heading h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 34px;
  line-height: 1.02;
  letter-spacing: 0;
}

.panel-heading p {
  color: rgba(244, 251, 255, 0.72);
  font-size: 17px;
  line-height: 1.55;
}

.setup-flow.compact {
  margin: 18px 0 0;
}

.setup-flow.compact .setup-step {
  min-height: 156px;
  padding: 18px;
}

.setup-flow.compact .setup-step span,
.spec-grid.compact .spec-item span {
  margin-bottom: 24px;
}

.setup-flow.compact .setup-step h3 {
  font-size: 22px;
}

.setup-step,
.asset-option,
.spec-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.54);
  backdrop-filter: blur(18px);
}

.setup-step {
  min-height: 220px;
  padding: 22px;
}

.setup-step span,
.spec-item span {
  display: block;
  margin-bottom: 52px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.setup-step h3,
.asset-option h3 {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 26px;
  line-height: 1.05;
}

.setup-step p,
.asset-option p,
.spec-item p {
  color: rgba(244, 251, 255, 0.68);
  line-height: 1.55;
}

.product-section .code-box {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.72);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5);
}

.asset-showcase {
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  align-items: center;
  gap: 42px;
}

.asset-copy {
  max-width: 520px;
}

.asset-options {
  display: grid;
  gap: 14px;
}

.asset-options.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.asset-option {
  padding: 24px;
}

.asset-option pre {
  margin: 18px 0 0;
  padding: 14px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.66);
  color: #d8fdff;
  font-size: 13px;
  line-height: 1.55;
}

.product-page pre,
.product-page code {
  overflow-wrap: anywhere;
}

.product-page pre {
  white-space: pre-wrap;
}

.api-section {
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 44px;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.spec-grid.compact {
  margin-top: 18px;
}

.spec-item {
  min-height: 230px;
  padding: 22px;
}

.spec-item strong {
  display: block;
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 24px;
  line-height: 1.05;
}

.product-footer {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  text-align: center;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.topbar.product-nav {
  position: fixed;
  left: 50%;
  top: 0;
  z-index: 20;
  width: min(1220px, calc(100% - 32px));
  transform: translateX(-50%);
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border: 1px solid color-mix(in srgb, var(--cyan), transparent 18%);
  border-radius: 8px;
  background:
    linear-gradient(135deg, transparent 8%, rgba(255,255,255,0.9) 8% 12%, transparent 12% 38%, rgba(255,255,255,0.9) 38% 43%, transparent 43%),
    radial-gradient(circle at 28% 22%, var(--cyan), transparent 46%),
    radial-gradient(circle at 78% 78%, var(--magenta), transparent 42%);
  box-shadow: 0 0 28px color-mix(in srgb, var(--cyan), transparent 30%);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav-links a,
.control-button,
.copy-button {
  border: 1px solid rgba(122, 255, 255, 0.28);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(5, 9, 24, 0.72);
  color: #f7feff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0 22px rgba(56, 250, 255, 0.12);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.nav-links a:hover,
.control-button:hover,
.copy-button:hover {
  transform: translateY(-1px);
  border-color: var(--cyan);
  box-shadow: 0 0 32px rgba(56, 250, 255, 0.36);
}

.hero {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  align-items: center;
  gap: 38px;
  padding: 24px 0 42px;
}

.landing-hero {
  min-height: calc(100vh - 92px);
  display: flex;
  align-items: center;
  padding: 44px 0 90px;
}

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

.landing-copy {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 18px var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 18px var(--lime), 0 0 38px var(--lime);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    0 0 1px #fff,
    0 0 26px rgba(56, 250, 255, 0.72),
    0 0 82px rgba(255, 61, 242, 0.46);
}

.landing-copy h1 {
  max-width: 860px;
  margin-bottom: 24px;
  font-size: clamp(66px, 11vw, 150px);
  line-height: 0.82;
}

.hero-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.62;
}

.landing-copy p {
  max-width: 700px;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid color-mix(in srgb, var(--cyan), transparent 20%);
  border-radius: 999px;
  padding: 0 18px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.primary-action {
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--magenta));
  color: #02040b;
  box-shadow: 0 0 36px rgba(56, 250, 255, 0.46), 0 0 80px rgba(255, 61, 242, 0.28);
}

.secondary-action {
  background: rgba(4, 8, 24, 0.78);
}

.demo-stage {
  min-height: 540px;
  position: relative;
  border: 1px solid rgba(122, 255, 255, 0.22);
  border-radius: 8px;
  overflow: hidden;
  background: #000000;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 28px 90px rgba(0, 0, 0, 0.48),
    0 0 90px rgba(56, 250, 255, 0.16);
}

.demo-stage::before,
.demo-stage::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  filter: blur(14px);
}

.demo-stage::before {
  width: 230px;
  height: 230px;
  left: 14%;
  top: 16%;
  background: var(--cyan);
  opacity: 0.28;
  animation: orbFloatA 5s ease-in-out infinite alternate;
}

.demo-stage::after {
  width: 280px;
  height: 280px;
  right: 10%;
  bottom: 12%;
  background: var(--magenta);
  opacity: 0.24;
  animation: orbFloatB 6s ease-in-out infinite alternate;
}

.stage-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(122, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 52%, #000 0 50%, transparent 78%);
  opacity: 0.72;
}

.neon-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(70%, 360px);
  aspect-ratio: 1;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 26px var(--cyan),
    inset 0 0 34px rgba(56, 250, 255, 0.28),
    0 0 98px rgba(255, 61, 242, 0.46);
  animation: ringPulse 2.4s ease-in-out infinite;
}

.neon-ring:nth-child(3) {
  width: min(52%, 270px);
  border-color: var(--magenta);
  box-shadow:
    0 0 26px var(--magenta),
    inset 0 0 34px rgba(255, 61, 242, 0.28),
    0 0 98px rgba(56, 250, 255, 0.34);
  animation-delay: -0.9s;
}

.neon-word {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: clamp(52px, 8vw, 92px);
  font-weight: 900;
  line-height: 0.9;
  text-align: center;
  text-shadow:
    0 0 2px #fff,
    0 0 26px var(--cyan),
    0 0 88px var(--magenta);
  text-transform: uppercase;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.landing-section {
  padding: 74px 0 8px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin-bottom: 14px;
  color: #ffffff;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 0.96;
  letter-spacing: 0;
  text-shadow:
    0 0 18px rgba(56, 250, 255, 0.48),
    0 0 54px rgba(255, 61, 242, 0.26);
}

.section-heading p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.58;
}

.info-panel {
  min-height: 154px;
  border: 1px solid rgba(122, 255, 255, 0.22);
  border-radius: 8px;
  padding: 18px;
  background: var(--panel-bg);
  box-shadow: 0 0 40px rgba(56, 250, 255, 0.08);
}

.info-panel pre {
  margin: 14px 0 0;
  padding: 12px;
  overflow: auto;
  border: 1px solid rgba(122, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.72);
  color: #d8fdff;
  font-size: 12px;
  line-height: 1.5;
}

.info-panel h2,
.info-panel h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.info-panel p,
.info-panel li {
  color: var(--muted);
  line-height: 1.55;
}

.code-box {
  position: relative;
  margin: 28px 0 0;
  border: 1px solid rgba(122, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(1, 2, 10, 0.9);
  overflow: hidden;
}

.install-box {
  margin-top: 18px;
}

.code-box pre {
  margin: 0;
  padding: 18px;
  overflow: auto;
  color: #d7fbff;
  font-size: 14px;
  line-height: 1.55;
}

.copy-button {
  position: absolute;
  right: 10px;
  top: 10px;
  padding: 7px 10px;
}

.split-demo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.sample-page {
  border: 1px solid rgba(122, 255, 255, 0.18);
  border-radius: 8px;
  padding: 22px;
  min-height: 360px;
  background: #000000;
}

.sample-page.plain {
  background: #f6f6f6;
  color: #171717;
}

.sample-page.plain p {
  color: #555;
}

.sample-page.enhanced {
  background: #000000;
}

.meter {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.meter span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--lime));
  box-shadow: 0 0 22px rgba(56, 250, 255, 0.38);
}

.demo-footer {
  padding: 52px 0 12px;
  color: var(--muted);
  font-size: 14px;
}

@keyframes orbFloatA {
  to { transform: translate(180px, 230px) scale(1.22); }
}

@keyframes orbFloatB {
  to { transform: translate(-160px, -210px) scale(0.88); }
}

@keyframes ringPulse {
  50% {
    transform: translate(-50%, -50%) scale(1.08);
    opacity: 0.72;
  }
}

@media (max-width: 860px) {
  .site-shell {
    width: min(100% - 28px, 1180px);
  }

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

  .hero {
    min-height: auto;
  }

  .panel-grid,
  .split-demo {
    grid-template-columns: 1fr;
  }

  .demo-stage {
    min-height: 410px;
  }

  .product-nav {
    width: min(100% - 22px, 1220px);
    align-items: flex-start;
    padding-top: 12px;
  }

  .product-nav .brand {
    min-height: 38px;
  }

  .product-nav .nav-links {
    gap: 6px;
  }

  .product-nav .nav-links a {
    display: none;
  }

  .product-hero {
    min-height: 88vh;
    padding: 108px 18px 72px;
  }

  .product-hero h1 {
    max-width: 360px;
    font-size: 62px;
    line-height: 0.9;
  }

  .product-hero p {
    font-size: 17px;
  }

  .product-page .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: min(100%, 320px);
    margin-right: auto;
    margin-left: auto;
  }

  .product-section {
    min-height: auto;
    width: min(100% - 28px, 1160px);
    padding: 54px 0 74px;
  }

  .product-section .section-heading h2,
  .asset-copy h2 {
    font-size: 42px;
  }

  .setup-flow,
  .setup-flow.compact,
  .single-page-grid,
  .asset-options.compact,
  .asset-showcase,
  .api-section,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .landing-panel.wide {
    grid-column: auto;
  }

  .landing-panel {
    padding: 18px;
  }

  .panel-heading h3 {
    font-size: 28px;
  }

  .setup-step,
  .asset-option,
  .spec-item {
    min-height: auto;
  }

  .setup-step span,
  .spec-item span {
    margin-bottom: 28px;
  }

  .asset-showcase,
  .api-section {
    gap: 22px;
  }

  .product-footer {
    width: min(100% - 28px, 1160px);
  }
}

@media (min-width: 861px) and (max-width: 1080px) {
  .product-hero h1 {
    font-size: 90px;
  }

  .setup-flow,
  .setup-flow.compact,
  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .single-page-grid,
  .asset-options.compact {
    grid-template-columns: 1fr;
  }

  .asset-showcase,
  .api-section {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
