:root {
  --ink: #141619;
  --paper: #f8fafc;
  --signal: #10b981;
  --signal-bright: #34d399;
  --spark: #2563eb;
  --spark-soft: #4d8eff;
  --muted: #94a3b8;
  --ink-soft: #334155;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--paper);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: linear-gradient(to bottom, rgba(20, 22, 25, 0.92), rgba(20, 22, 25, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: 2rem;
  height: 2rem;
}

.header-cta {
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--signal-bright);
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 999px;
  transition: background 140ms var(--ease), color 140ms var(--ease), transform 140ms var(--ease);
}

.header-cta:hover {
  background: rgba(16, 185, 129, 0.15);
  transform: translateY(-1px);
}

.header-cta:active {
  transform: translateY(0) scale(0.98);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 6.5rem 1.5rem 4rem;
}

.hero-mesh {
  position: absolute;
  inset: -20% -10% auto;
  height: 85%;
  background:
    radial-gradient(ellipse 55% 50% at 75% 35%, rgba(37, 99, 235, 0.35), transparent 60%),
    radial-gradient(ellipse 50% 45% at 20% 60%, rgba(16, 185, 129, 0.28), transparent 55%),
    radial-gradient(ellipse 40% 35% at 50% 10%, rgba(77, 142, 255, 0.18), transparent 50%);
  animation: mesh-drift 18s var(--ease) infinite alternate;
  filter: blur(8px);
}

@keyframes mesh-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-3%, 2%, 0) scale(1.05); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
  }
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal-bright);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 8vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--signal-bright), var(--spark-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 1.25rem 0 0;
  max-width: 34ch;
  font-size: 1.15rem;
  color: var(--muted);
}

.hero-actions {
  margin-top: 2rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.4rem;
  background: var(--signal);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 0.65rem;
  border: none;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  transition:
    transform 140ms var(--ease),
    background 140ms var(--ease),
    box-shadow 320ms var(--ease);
}

.btn-primary:hover {
  background: var(--signal-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(16, 185, 129, 0.55);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.play-badge {
  flex-shrink: 0;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.mark-ring {
  position: relative;
  width: min(280px, 70vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(37, 99, 235, 0.25), transparent 55%);
}

.mark-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(77, 142, 255, 0.35);
  animation: ring-pulse 4.5s var(--ease) infinite;
}

@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.04); opacity: 1; }
}

.mark {
  width: 78%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(37, 99, 235, 0.35));
}

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 48px;
  overflow: hidden;
}

.hero-scroll span {
  display: block;
  width: 100%;
  height: 40%;
  background: linear-gradient(to bottom, transparent, var(--signal-bright));
  animation: scroll-line 1.8s var(--ease) infinite;
}

@keyframes scroll-line {
  0% { transform: translateY(-100%); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(250%); opacity: 0; }
}

/* Sections */
.section-inner {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.features {
  padding: 5.5rem 0 4rem;
  background: var(--paper);
  color: var(--ink);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-lede {
  margin: 0.75rem 0 2.5rem;
  color: var(--ink-soft);
  max-width: 36ch;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #e2e8f0;
}

.feature {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid #e2e8f0;
  align-items: start;
}

.feature-index {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--spark);
  letter-spacing: 0.06em;
  padding-top: 0.35rem;
}

.feature h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.feature p {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
  max-width: 42ch;
}

.audience {
  padding: 5rem 0;
  background: var(--ink);
}

.audience-inner {
  max-width: 40rem;
}

.audience h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
  background: linear-gradient(110deg, var(--paper), var(--signal-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.audience p {
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.cta-band {
  padding: 4.5rem 0 5.5rem;
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(16, 185, 129, 0.2), transparent 60%),
    #0e1012;
}

.cta-inner {
  text-align: center;
}

.cta-inner h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
}

.cta-inner p {
  margin: 0.85rem auto 1.75rem;
  max-width: 36ch;
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding: 2.5rem 1.5rem 3rem;
  background: var(--ink);
}

.footer-inner {
  width: min(920px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.95rem;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-weight: 700;
}

.footer-brand span {
  color: var(--muted);
  font-size: 0.875rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 140ms var(--ease);
}

.footer-nav a:hover {
  color: var(--signal-bright);
}

.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  color: #64748b;
}

/* Reveals */
.reveal,
.reveal-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms var(--ease),
    transform 520ms var(--ease);
}

.reveal.is-in,
.reveal-scroll.is-in {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(1) { transition-delay: 60ms; }
.reveal:nth-child(2) { transition-delay: 140ms; }
.reveal:nth-child(3) { transition-delay: 220ms; }
.reveal:nth-child(4) { transition-delay: 300ms; }

.hero-visual.reveal { transition-delay: 280ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .hero-mesh,
  .mark-ring::before,
  .hero-scroll span {
    animation: none;
  }

  .reveal,
  .reveal-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn-primary:hover,
  .header-cta:hover {
    transform: none;
  }
}
