:root {
  --bg: #0b1420;
  --fg: #e7eef7;
  --muted: #9db0c7;
  --brand: #4f8cff;
  --brand-2: #70e1d2;
  --card: #0f1d2e;
  --border: #18314a;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
:root[data-theme="light"] {
  --bg: #ffffff;
  --fg: #0c1220;
  --muted: #536173;
  --brand: #3a6bff;
  --brand-2: #00c2a8;
  --card: #f4f7fb;
  --border: #e4ebf3;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: Inter, system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(
      1200px 800px at 20% -20%,
      #0f1d2e 0%,
      transparent 50%
    ),
    var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--fg);
  text-decoration: none;
  opacity: 0.9;
}
a:hover {
  opacity: 1;
}
.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}
.container.narrow {
  width: min(820px, 92vw);
}
.row {
  display: flex;
  gap: 16px;
}
.between {
  justify-content: space-between;
}
.center {
  align-items: center;
}
.gap {
  gap: 16px;
}
.section {
  padding: 96px 0;
}
@media (max-width: 720px) {
  .section {
    padding: 72px 0;
  }
}
.xl {
  font-size: clamp(32px, 6vw, 64px);
  line-height: 1.05;
  margin: 0 0 16px;
}
.lg {
  font-size: clamp(26px, 4.5vw, 40px);
  line-height: 1.1;
  margin: 0 0 16px;
}
.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 800px;
}
.btn {
  background: var(--brand);
  color: #fff;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform 0.08s ease, opacity 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn.block {
  width: 100%;
}
.btn.outline {
  background: transparent;
  border-color: var(--brand);
  color: var(--fg);
}
.btn.ghost {
  background: transparent;
  border: 1px solid var(--border);
  box-shadow: none;
}
.btn.small {
  padding: 8px 12px;
  font-size: 14px;
}
.btn.disabled,
.btn.disabled:hover {
  opacity: 0.55;
  pointer-events: none;
}
.brand {
  gap: 10px;
}
.brand .logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid;
  place-items: center;
  color: #0b1420;
  font-weight: 900;
}
.brand-name {
  font-weight: 800;
  letter-spacing: 0.5px;
}
.site-header {
  position: sticky;
  top: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 12, 20, 0.85),
    rgba(8, 12, 20, 0.6)
  );
  backdrop-filter: saturate(140%) blur(8px);
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav a {
  padding: 10px 12px;
  border-radius: 8px;
}
.nav a:hover {
  background: rgba(255, 255, 255, 0.05);
}
.hero {
  position: relative;
  isolation: isolate;
}
.hero-art {
  position: absolute;
  inset: auto 0 -40% 0;
  height: 60vh;
  pointer-events: none;
  background: radial-gradient(
      800px 500px at 80% 0,
      rgba(79, 140, 255, 0.25),
      transparent 60%
    ),
    radial-gradient(
      800px 600px at 10% 30%,
      rgba(112, 225, 210, 0.18),
      transparent 60%
    );
}
.grad {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.card {
  background: linear-gradient(
    175deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 18px 16px;
  box-shadow: var(--shadow);
}
.grid {
  display: grid;
  gap: 16px;
}
.features {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 960px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .features {
    grid-template-columns: 1fr;
  }
}
.pricing {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 960px) {
  .pricing {
    grid-template-columns: 1fr;
  }
}
.tier h3 {
  margin: 0 0 10px;
}
.tier .ticks {
  margin: 4px 0 16px;
  padding: 0 0 0 18px;
  color: var(--muted);
}
.tier.highlight {
  border-color: var(--brand);
}
details > summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}
details + details {
  margin-top: 12px;
}
.cta {
  padding: 72px 0;
  background: linear-gradient(
    180deg,
    rgba(79, 140, 255, 0.08),
    transparent 70%
  );
}
.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
}
/* Pinned Stage */
.stage {
  padding-top: 32px;
}
.stage-wrap {
  position: relative;
}
.stage-pin {
  position: sticky;
  top: 72px;
  min-height: 60vh;
  display: grid;
  place-items: center;
}
.stage-frame {
  position: relative;
  width: min(1100px, 90vw);
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.frame.is-active {
  opacity: 1;
  transform: scale(1);
}
.stage-steps {
  margin-top: 40vh;
  margin-bottom: 30vh;
  display: flex;
  flex-direction: column;
  gap: 26vh;
}
.stage-steps .step {
  max-width: 820px;
  margin: 0 auto;
}
.stage-steps h3 {
  margin: 0 0 6px;
}
.stage-steps p {
  margin: 0;
  color: var(--muted);
}
/* Utilities */
.hidden {
  display: none;
}
