:root {
  --color-bg: #0d0a1c;
  --color-bg-raised: #15102b;
  --color-line: #2a2350;
  --color-text: #ece8ff;
  --color-text-muted: #a49cc8;
  --color-accent: #8b6cff;
  --color-accent-soft: #b4a2ff;
  --color-accent-glow: rgb(139 108 255 / 0.45);
  --color-up: #6fe3b0;

  --font-display: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --text-small: 0.875rem;
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lede: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  --text-title: clamp(1.75rem, 1.2rem + 2.4vw, 3rem);
  --text-hero: clamp(2.75rem, 1.4rem + 6vw, 5.75rem);

  --gutter: clamp(1rem, 0.5rem + 3vw, 3rem);
  --space-section: clamp(4rem, 3rem + 5vw, 8rem);
  --measure: 72rem;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(60rem 40rem at 75% -10%, rgb(91 63 224 / 0.28), transparent 70%),
    radial-gradient(40rem 30rem at -10% 60%, rgb(91 63 224 / 0.12), transparent 70%),
    var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--color-accent-soft);
  outline-offset: 4px;
  border-radius: 6px;
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 1.25rem var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.brand img {
  border-radius: 10px;
  box-shadow: 0 0 24px var(--color-accent-glow);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: var(--color-bg-raised);
  color: var(--color-text-muted);
  font-size: var(--text-small);
  white-space: nowrap;
}

.dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 10px var(--color-accent);
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2rem;
  max-width: var(--measure);
  margin: 0 auto;
  padding: clamp(2rem, 1rem + 5vw, 5rem) var(--gutter) var(--space-section);
}

.eyebrow,
.pitch-index {
  font-family: var(--font-mono);
  font-size: var(--text-small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-soft);
}

.hero h1 {
  margin-top: 1rem;
  font-size: var(--text-hero);
  font-weight: 800;
}

.lede {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: var(--text-lede);
  color: var(--color-text-muted);
}

.hero-visual {
  position: relative;
  margin: 0 auto;
  width: min(100%, 26rem);
}

.hero-visual svg {
  display: block;
  width: 100%;
  height: auto;
}

.brackets path {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 16;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card {
  fill: url(#foil);
  stroke: var(--color-accent-soft);
  stroke-width: 4;
}

.card-inner {
  fill: none;
  stroke: var(--color-accent);
  stroke-opacity: 0.5;
  stroke-width: 2;
}

.scan-line {
  fill: url(#sheen);
  animation: scan 3.2s var(--ease-out-expo) infinite alternate;
}

@keyframes scan {
  from {
    transform: translateY(-100px);
  }
  to {
    transform: translateY(100px);
  }
}

.price-chip {
  position: absolute;
  right: -0.5rem;
  bottom: 14%;
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  background: rgb(21 16 43 / 0.85);
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 40px rgb(0 0 0 / 0.45), 0 0 0 1px rgb(139 108 255 / 0.15);
  font-family: var(--font-mono);
}

.chip-label {
  grid-column: 1 / -1;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.chip-value {
  font-size: 1.25rem;
  font-weight: 700;
}

.chip-trend {
  align-self: center;
  font-size: 0.8rem;
  color: var(--color-up);
}

/* Stats */

.stats {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.stats dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  border-top: 1px solid var(--color-line);
}

.stats dl > div {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-line);
}

.stats dt {
  font-size: var(--text-small);
  color: var(--color-text-muted);
}

.stats dd {
  margin: 0.25rem 0 0;
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Pitches */

.pitches,
.features {
  max-width: var(--measure);
  margin: 0 auto;
  padding: var(--space-section) var(--gutter) 0;
}

.section-title {
  font-size: var(--text-title);
  font-weight: 800;
  margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem);
}

.pitch {
  display: grid;
  gap: 0.75rem;
  padding: 2rem 0;
  border-top: 1px solid var(--color-line);
}

.pitch h3 {
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem);
  font-weight: 700;
}

.pitch p:last-child {
  max-width: 38rem;
  color: var(--color-text-muted);
}

/* Features */

.feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 0;
}

.feature-list dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  padding-left: 1rem;
  border-left: 3px solid var(--color-accent);
}

.feature-list dd {
  margin: 0.5rem 0 0;
  padding-left: calc(1rem + 3px);
  color: var(--color-text-muted);
}

/* Promise */

.promise {
  max-width: var(--measure);
  margin: var(--space-section) auto 0;
  padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) var(--gutter);
  border-block: 1px solid var(--color-line);
  background: linear-gradient(120deg, rgb(91 63 224 / 0.18), transparent 60%);
}

.promise h2 {
  font-size: var(--text-title);
  font-weight: 800;
}

.promise p {
  margin-top: 1rem;
  max-width: 40rem;
  font-size: var(--text-lede);
  color: var(--color-text-muted);
}

/* Footer */

.site-footer {
  display: grid;
  gap: 0.5rem;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 3rem var(--gutter) 4rem;
  font-size: var(--text-small);
  color: var(--color-text-muted);
}

.disclaimer {
  max-width: 44rem;
  opacity: 0.75;
}

.footer-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--color-text);
  text-decoration-color: var(--color-line);
  text-underline-offset: 0.25em;
}

.footer-links a:hover,
.footer-links a[aria-current="page"] {
  text-decoration-color: var(--color-accent);
}

/* Wider screens */

@media (min-width: 48rem) {
  .stats dl {
    grid-template-columns: repeat(4, 1fr);
  }

  .stats dl > div + div {
    padding-left: 1.5rem;
    border-left: 1px solid var(--color-line);
  }

  .pitch {
    grid-template-columns: 14rem 1fr;
    column-gap: 2rem;
  }

  .pitch-index {
    grid-row: span 2;
    padding-top: 0.6rem;
  }

  .feature-list {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 3rem;
  }

  .promise {
    border-inline: 1px solid var(--color-line);
    border-radius: 24px;
  }
}

@media (min-width: 64rem) {
  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }

  .feature-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 30rem) {
  .status-pill {
    font-size: 0.75rem;
    padding: 0.35rem 0.7rem;
  }

  .price-chip {
    right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scan-line {
    animation: none;
  }
}
