
:root {
  --bg: #020617;
  --bg-elevated: rgba(15, 23, 42, 0.96);
  --border-subtle: rgba(30, 64, 175, 0.7);
  --border-soft: rgba(148, 163, 184, 0.4);
  --accent: #0ea5e9;
  --accent-strong: #38bdf8;
  --accent-secondary: #6366f1;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --text-soft: #6b7280;
  --radius-xl: 1.25rem;
  --radius-lg: 0.875rem;
  --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.9);
  --shadow-subtle: 0 18px 40px rgba(15, 23, 42, 0.85);
  --blur-strong: 18px;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "SF Pro Display", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #020617 0, #020617 35%, #000 100%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

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

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

main {
  position: relative;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Accessibility */

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.75rem;
  padding: 0.5rem 1rem;
  background: #0f172a;
  color: #e5e7eb;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  z-index: 50;
}

.skip-link:focus {
  left: 1.5rem;
}

/* Background */

.background {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.bg-grid {
  position: absolute;
  inset: -80px;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.15) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.12) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.45;
  mix-blend-mode: screen;
  animation: grid-pan 26s linear infinite alternate;
  mask-image: radial-gradient(circle at top, black 0%, transparent 60%);
}

.bg-pulse {
  position: absolute;
  width: 540px;
  height: 540px;
  right: -140px;
  top: -160px;
  background:
    radial-gradient(circle at 30% 20%, rgba(56, 189, 248, 0.42), transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(99, 102, 241, 0.5), transparent 60%);
  filter: blur(40px);
  opacity: 0.8;
  animation: glow-pulse 16s ease-in-out infinite alternate;
}

.bg-orbit {
  position: absolute;
  left: 9%;
  bottom: -190px;
  width: 430px;
  height: 430px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 20% 30%, rgba(56, 189, 248, 0.16), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(37, 99, 235, 0.18), transparent 55%);
  border: 1px solid rgba(56, 189, 248, 0.18);
  filter: blur(6px);
  opacity: 0.7;
  animation: orbit-drift 30s linear infinite alternate;
}

@keyframes grid-pan {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-40px, -40px, 0); }
}

@keyframes glow-pulse {
  from {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.6;
  }
  to {
    transform: translate3d(-40px, 20px, 0) scale(1.08);
    opacity: 0.9;
  }
}

@keyframes orbit-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(10px, -20px, 0) scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
  .bg-grid,
  .bg-pulse,
  .bg-orbit {
    animation: none;
  }
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 1.1rem 0;
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 23, 0.98),
    rgba(2, 6, 23, 0.94),
    transparent
  );
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
  background: radial-gradient(
      circle at top left,
      rgba(15, 23, 42, 0.98),
      rgba(2, 6, 23, 0.98)
    );
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.8);
  border-bottom-color: rgba(30, 64, 175, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo-lockup {
  height: 2.2rem;
  width: auto;
}

/* Nav */

.nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  font-size: 0.9rem;
}

.nav-link {
  position: relative;
  color: var(--text-soft);
  padding: 0.25rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--accent), var(--accent-secondary));
  transition: width 0.22s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text-main);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  width: 100%;
}

.nav-link-demo {
  color: var(--accent-strong);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  color: var(--text-main);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease, transform 0.1s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: radial-gradient(circle at top left, #38bdf8, #0ea5e9);
  color: #0b1120;
  box-shadow: 0 18px 40px rgba(56, 189, 248, 0.6);
  border-color: rgba(56, 189, 248, 0.75);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 50px rgba(56, 189, 248, 0.85);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.6);
  color: var(--text-main);
}

.btn-secondary:hover {
  border-color: rgba(148, 163, 184, 0.9);
  background: rgba(15, 23, 42, 1);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.5);
  border-color: rgba(148, 163, 184, 0.6);
  font-size: 0.86rem;
  padding-inline: 0.9rem;
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(148, 163, 184, 0.9);
}

/* Nav toggle */

.nav-toggle {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-toggle span + span {
  margin-top: 0.22rem;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(40deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.2);
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-40deg);
}

/* Hero */

.hero {
  position: relative;
  padding: 4.5rem 0 4rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 3.5rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  color: var(--accent-strong);
  margin-bottom: 0.9rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 3vw + 1.6rem, 3rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero-lead {
  margin: 0 0 1.4rem;
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 36rem;
}

.hero-lead strong {
  color: #e5e7eb;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.hero-points .dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  margin-top: 0.35rem;
  background: radial-gradient(circle at 30% 0, var(--accent-strong), var(--accent-secondary));
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.9);
  flex-shrink: 0;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.hero-meta {
  font-size: 0.8rem;
  color: var(--text-soft);
  max-width: 32rem;
}

.hero-panel {
  position: relative;
}

.card {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top left,
      rgba(15, 23, 42, 0.98),
      rgba(15, 23, 42, 0.96));
  padding: 1.4rem 1.35rem;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(var(--blur-strong));
  -webkit-backdrop-filter: blur(var(--blur-strong));
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(
      135deg,
      rgba(56, 189, 248, 0.6),
      rgba(129, 140, 248, 0.35),
      rgba(15, 23, 42, 0)
    )
    border-box;
  mask:
    linear-gradient(white, white) padding-box,
    linear-gradient(white, white);
  mask-composite: exclude;
  opacity: 0.75;
  pointer-events: none;
}

.card-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-soft);
  margin: 0 0 1.1rem;
}

.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.86rem;
  padding: 0.6rem 0.6rem;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(30, 64, 175, 0.7);
  margin-bottom: 0.55rem;
}

.metric-row.metric-status {
  border-color: rgba(56, 189, 248, 0.9);
}

.metric-label {
  color: var(--text-soft);
}

.metric-pill {
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.9);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.35), rgba(15, 23, 42, 1));
  font-size: 0.78rem;
}

.status-dot {
  width: 0.56rem;
  height: 0.56rem;
  border-radius: 999px;
  margin-right: 0.3rem;
  background: #22c55e;
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.9);
}

.status-text {
  font-size: 0.86rem;
}

.card-foot {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* Sections */

.section {
  position: relative;
  padding: 3rem 0;
}

.section + .section {
  padding-top: 2.5rem;
}

.section-inner {
  display: flex;
  flex-direction: column;
  gap: 1.9rem;
}

.section-header h2 {
  font-size: 1.4rem;
  margin: 0 0 0.4rem;
}

.section-header p {
  margin: 0;
  max-width: 40rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.grid-cols-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.info-card {
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.2rem;
  border: 1px solid rgba(31, 41, 55, 1);
  background: radial-gradient(circle at top left,
      rgba(15, 23, 42, 0.98),
      rgba(15, 23, 42, 0.96));
  box-shadow: var(--shadow-subtle);
}

.info-card h3 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.info-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* Reveal */

.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

/* Timeline */

.section-timeline::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at bottom left,
      rgba(37, 99, 235, 0.35),
      transparent 60%);
  opacity: 0.4;
  pointer-events: none;
}

.timeline {
  position: relative;
  display: grid;
  gap: 1.4rem;
  margin-top: 0.4rem;
}

.timeline-line {
  position: absolute;
  left: 0.9rem;
  top: 0.1rem;
  bottom: 0.1rem;
  width: 2px;
  background: linear-gradient(
    to bottom,
    rgba(56, 189, 248, 0),
    rgba(56, 189, 248, 0.85),
    rgba(129, 140, 248, 0.85),
    rgba(37, 99, 235, 0)
  );
  opacity: 0.9;
}

.timeline-item {
  position: relative;
  padding-left: 2.6rem;
  display: grid;
  grid-template-columns: minmax(0, 3fr) auto;
  gap: 0.75rem 1rem;
  align-items: flex-start;
}

.timeline-dot {
  position: absolute;
  left: 0.45rem;
  top: 0.45rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, var(--accent-strong), var(--accent-secondary));
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.9);
}

.timeline-content {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 0.9rem;
  border: 1px solid rgba(30, 64, 175, 0.7);
  padding: 0.85rem 0.9rem;
}

.timeline-tag {
  margin: 0 0 0.1rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  color: var(--accent-strong);
}

.timeline-content h3 {
  margin: 0 0 0.3rem;
  font-size: 0.98rem;
}

.timeline-content p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.timeline-meta {
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
  color: var(--text-soft);
  white-space: nowrap;
}

/* Community */

.section-community {
  padding-bottom: 3.5rem;
}

.community {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: 2.2rem;
  align-items: center;
}

.community-text h2 {
  margin: 0 0 0.7rem;
}

.community-text p {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.community-list {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.community-meta {
  margin-top: 0.6rem;
}

.card-signals {
  background: radial-gradient(circle at top right,
      rgba(15, 23, 42, 1),
      rgba(15, 23, 42, 0.98));
}

.signal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.signal-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  margin-right: 0.35rem;
  background: radial-gradient(circle at top, var(--accent-strong), var(--accent-secondary));
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.8);
  display: inline-block;
  vertical-align: middle;
}

.signal-list li {
  display: flex;
  align-items: center;
}

/* Footer */

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(30, 64, 175, 0.6);
  background: radial-gradient(circle at top left,
      rgba(15, 23, 42, 0.98),
      rgba(2, 6, 23, 1));
  padding: 1rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.footer-sep {
  margin-inline: 0.45rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-soft);
}

.footer-links a:hover {
  color: var(--accent-strong);
}

/* Demo page */

.demo-hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
}

.demo-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 3fr);
  gap: 3rem;
  align-items: center;
}

.demo-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-orbit-core {
  position: relative;
  width: 230px;
  height: 230px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 20%, rgba(56, 189, 248, 0.8), rgba(15, 23, 42, 0.9)),
    radial-gradient(circle at 75% 80%, rgba(129, 140, 248, 0.4), transparent 70%);
  box-shadow:
    0 0 40px rgba(56, 189, 248, 0.9),
    0 18px 60px rgba(15, 23, 42, 0.9);
  overflow: hidden;
}

.demo-orbit-ring {
  position: absolute;
  inset: 14px;
  border-radius: 999px;
  border: 1px dashed rgba(15, 23, 42, 0.1);
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.15);
  mix-blend-mode: screen;
  pointer-events: none;
}

.ring-middle {
  inset: 32px;
  opacity: 0.9;
  border-style: solid;
  border-color: rgba(148, 163, 184, 0.4);
}

.ring-inner {
  inset: 52px;
  border-style: solid;
  border-color: rgba(248, 250, 252, 0.45);
  opacity: 0.9;
}

.ring-outer {
  animation: orbit-rotate 16s linear infinite;
}

.ring-middle {
  animation: orbit-rotate-reverse 26s linear infinite;
}

.ring-inner {
  animation: orbit-rotate 34s linear infinite;
}

.demo-orbit-node {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #f9fafb;
  box-shadow:
    0 0 0 4px rgba(248, 250, 252, 0.4),
    0 0 24px rgba(248, 250, 252, 0.9);
}

.node-main {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
}

.node-1 {
  top: 16%;
  left: 62%;
}

.node-2 {
  bottom: 20%;
  left: 22%;
}

.node-3 {
  bottom: 12%;
  right: 18%;
}

.node-1,
.node-2,
.node-3 {
  animation: node-pulse 3s ease-in-out infinite alternate;
}

@keyframes orbit-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbit-rotate-reverse {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

@keyframes node-pulse {
  from { transform: scale(1); opacity: 0.9; }
  to { transform: scale(1.2); opacity: 1; }
}

.demo-hero-copy h1 {
  margin-top: 0.2rem;
}

.demo-flow {
  padding: 3.5rem 0 3rem;
}

.demo-flow-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.demo-flow-sticky {
  position: sticky;
  top: 5.5rem;
  align-self: flex-start;
}

.demo-flow-sticky h2 {
  margin-top: 0;
}

.demo-flow-indicator {
  margin-top: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.demo-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.78rem;
  color: var(--text-soft);
  background: rgba(15, 23, 42, 0.9);
}

.demo-step-pill::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.8);
}

.demo-step-pill.is-active {
  border-color: rgba(56, 189, 248, 0.9);
  color: var(--text-main);
  background: radial-gradient(circle at top.left, rgba(56, 189, 248, 0.28), rgba(15, 23, 42, 0.96));
}

.demo-step-pill.is-active::before {
  background: #22c55e;
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.9);
}

.demo-flow-steps {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.demo-step {
  border-radius: 1.1rem;
  padding: 1.2rem 1.2rem;
  border: 1px solid rgba(31, 41, 55, 1);
  background: radial-gradient(circle at top left,
      rgba(15, 23, 42, 0.98),
      rgba(15, 23, 42, 0.96));
  box-shadow: var(--shadow-subtle);
}

.demo-step h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.demo-step p {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.demo-step ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  color: var(--text-soft);
}

/* Demo panel grid */

.demo-panels {
  padding: 3.5rem 0 4rem;
}

.demo-panels-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.demo-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.demo-panel {
  border-radius: 1.2rem;
  padding: 1.25rem 1.25rem;
  border: 1px solid rgba(31, 41, 55, 1);
  background: radial-gradient(circle at top left,
      rgba(15, 23, 42, 0.98),
      rgba(15, 23, 42, 0.96));
  box-shadow: var(--shadow-subtle);
}

.demo-panel-tag {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  color: var(--accent-strong);
}

.demo-panel h3 {
  margin: 0 0 0.3rem;
}

.demo-panel p {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.demo-panel ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  color: var(--text-soft);
}

/* 404 helper */

.hero.hero-404 {
  text-align: center;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.4rem;
  }

  .hero-panel {
    order: -1;
  }

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

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

  .demo-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.2rem;
  }

  .demo-hero-visual {
    order: -1;
  }

  .demo-flow-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .demo-flow-sticky {
    position: static;
  }

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

@media (max-width: 720px) {
  .site-header {
    padding: 0.9rem 0;
  }

  .nav {
    position: fixed;
    inset: 3.2rem 1.2rem auto 1.2rem;
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(30, 64, 175, 0.7);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.95);
    flex-direction: column;
    padding: 0.75rem 0.85rem;
    transform-origin: top right;
    transform: translate3d(0, -12px, 0);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  body.nav-open .nav {
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
  }

  .nav-link {
    padding: 0.45rem 0.4rem;
  }

  .nav-ghost {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .grid-cols-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .demo-panel-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

@media (max-width: 480px) {
  .container {
    padding-inline: 1.1rem;
  }

  .hero h1,
  .demo-hero-copy h1 {
    font-size: 2.1rem;
  }

  .hero-cta,
  .demo-hero .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}
