:root{
  --bg: #070A0F;
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.08);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);
  --muted2: rgba(255,255,255,.55);
  --border: rgba(255,255,255,.10);
  --accent1: #B6FF6A;
  --accent2: #6AE4FF;
  --accent3: #B36CFF;
  --shadow: 0 18px 60px rgba(0,0,0,.55);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  background: radial-gradient(1200px 800px at 70% 10%, rgba(182,255,106,.09), transparent 55%),
              radial-gradient(900px 700px at 20% 30%, rgba(106,228,255,.08), transparent 55%),
              radial-gradient(1100px 900px at 50% 90%, rgba(179,108,255,.06), transparent 55%),
              var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height:1.45;
}

a{ color: inherit; text-decoration:none; }
a:hover{ text-decoration: underline; text-underline-offset: 3px; }

.bg{ position:fixed; inset:0; pointer-events:none; overflow:hidden; }
.ring{
  position:absolute;
  width: min(1200px, 130vw);
  height: min(1200px, 130vw);
  left: 50%;
  top: -260px;
  transform: translateX(-50%);
  border-radius: 999px;
  filter: blur(0px) saturate(1.2);

  background:
    conic-gradient(from 210deg,
      rgba(182,255,106,.0),
      rgba(182,255,106,.24),
      rgba(106,228,255,.22),
      rgba(179,108,255,.20),
      rgba(182,255,106,.0)
    );

  -webkit-mask: radial-gradient(circle, transparent 57%, #000 58%);
  mask: radial-gradient(circle, transparent 57%, #000 58%);

  opacity: .8;
  animation: slowspin 52s linear infinite, ringpulse 9.5s ease-in-out infinite;
  transform-origin: 50% 50%;
}

@keyframes ringpulse{
  0%, 100%{ filter: blur(0px) saturate(1.15); opacity: .75; }
  50%{ filter: blur(0.6px) saturate(1.35); opacity: .92; }
}

@keyframes slowspin{
  from{ transform: translateX(-50%) rotate(0deg); }
  to{ transform: translateX(-50%) rotate(360deg); }
}

.grain{
  position:absolute;
  inset:-25%;
  opacity:.12;
  background-image: url('assets/grain.svg');
  background-size: 260px 260px;
  mix-blend-mode: overlay;
  animation: graindrift 14s steps(10) infinite;
  transform: translate3d(0,0,0);
}

@keyframes graindrift{
  0%{ transform: translate3d(-2%, -2%, 0); }
  25%{ transform: translate3d(1%, -3%, 0); }
  50%{ transform: translate3d(3%, 2%, 0); }
  75%{ transform: translate3d(-1%, 3%, 0); }
  100%{ transform: translate3d(-2%, -2%, 0); }
}

.top{
  position: sticky;
  top: 0;
  z-index: 10;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 18px 20px;
  backdrop-filter: blur(10px);
  background: rgba(7,10,15,.60);
  border-bottom: 1px solid var(--border);
}

.brand{ display:flex; align-items:center; gap:10px; }
.word{ font-weight: 720; letter-spacing: .08em; }
.mark{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), transparent 55%),
    conic-gradient(from 180deg, rgba(182,255,106,.75), rgba(106,228,255,.70), rgba(179,108,255,.70), rgba(182,255,106,.75));
  -webkit-mask: radial-gradient(circle, transparent 50%, #000 51%);
  mask: radial-gradient(circle, transparent 50%, #000 51%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.10);
}

.nav{ display:flex; gap:16px; }
.nav a{ color: var(--muted); font-weight: 520; }
.nav a:hover{ color: var(--text); text-decoration:none; }

main{ max-width: 1020px; margin: 0 auto; padding: 0 20px 70px; }

.hero{ padding: 68px 0 30px; }
.eyebrow{ color: var(--muted2); letter-spacing: .06em; text-transform: uppercase; font-size: .82rem; }

h1{ margin: 10px 0 12px; font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.06; }
.lead{ max-width: 62ch; color: var(--muted); font-size: 1.08rem; }

.accent{
  background: linear-gradient(90deg, var(--accent1), var(--accent2), var(--accent3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.heroActions{ display:flex; gap:12px; margin: 18px 0 20px; flex-wrap: wrap; }
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--text);
  text-decoration:none;
  font-weight: 600;
}
.btn:hover{ background: rgba(255,255,255,.06); text-decoration:none; }
.btn.primary{
  border-color: rgba(182,255,106,.25);
  background: linear-gradient(180deg, rgba(182,255,106,.18), rgba(182,255,106,.10));
}

.statRow{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.stat{
  padding: 14px 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.stat .k{ color: var(--muted2); font-size: .86rem; letter-spacing:.04em; text-transform: uppercase; }
.stat .v{ margin-top: 4px; font-weight: 650; }

.motif{ margin-top: 16px; max-width: 74ch; color: var(--muted); }
.mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }
.muted{ color: var(--muted2); }

.section{ padding: 46px 0 10px; }
.section h2{ font-size: 1.55rem; margin: 0 0 18px; }

.grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.card{
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.card h3{ margin: 0 0 8px; }
.card p{ color: var(--muted); margin: 0 0 12px; }
.card ul{ margin: 0; padding-left: 18px; color: var(--muted); }
.card li{ margin: 6px 0; }

.timeline{
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  overflow:hidden;
}
.step{
  display:grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 16px 16px;
  border-top: 1px solid var(--border);
}
.step:first-child{ border-top:none; }
.step .n{
  width: 34px; height: 34px; border-radius: 12px;
  display:flex; align-items:center; justify-content:center;
  font-weight: 720;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  color: rgba(255,255,255,.85);
}
.step p{ margin: 6px 0 0; color: var(--muted); }

.cta{
  margin-top: 38px;
  border-radius: 22px;
  border: 1px solid rgba(182,255,106,.20);
  background:
    radial-gradient(800px 300px at 10% 20%, rgba(182,255,106,.12), transparent 60%),
    radial-gradient(700px 280px at 80% 30%, rgba(106,228,255,.10), transparent 55%),
    rgba(255,255,255,.03);
  padding: 22px;
}
.cta p{ color: var(--muted); max-width: 72ch; }
.fineprint{ margin-top: 10px; font-size: .92rem; color: var(--muted2); }

.footer{
  margin-top: 46px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  color: var(--muted2);
}
.sep{ margin: 0 8px; color: rgba(255,255,255,.32); }

@media (max-width: 820px){
  .grid{ grid-template-columns: 1fr; }
  .statRow{ grid-template-columns: 1fr; }
  .nav{ display:none; }
  .hero{ padding-top: 46px; }
  .ring{ top: -360px; }
}


/* --- Motion polish (subtle, not flashy) --- */
.hero > *{
  animation: risein 700ms cubic-bezier(.2,.9,.2,1) both;
}
.hero .eyebrow{ animation-delay: 40ms; }
.hero h1{ animation-delay: 90ms; }
.hero .lead{ animation-delay: 140ms; }
.hero .heroActions{ animation-delay: 190ms; }
.hero .statRow{ animation: risein 820ms cubic-bezier(.2,.9,.2,1) both; animation-delay: 240ms; }
.hero .motif{ animation-delay: 280ms; }

@keyframes risein{
  from{ opacity: 0; transform: translate3d(0, 10px, 0); }
  to{ opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Hover micro-interactions */
.btn{
  transition: transform 140ms ease, background 160ms ease, border-color 160ms ease;
  will-change: transform;
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0px) scale(.99); }

.card{
  transition: transform 180ms ease, border-color 200ms ease, background 200ms ease;
  will-change: transform;
}
.card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
}

.stat{
  transition: transform 180ms ease, border-color 200ms ease;
  will-change: transform;
}
.stat:hover{ transform: translateY(-2px); border-color: rgba(255,255,255,.16); }

.timeline .step{
  transition: background 200ms ease;
}
.timeline .step:hover{ background: rgba(255,255,255,.02); }

/* Accent shimmer for gradient text */
.accent{
  background-size: 220% 100%;
  animation: shimmer 5.5s ease-in-out infinite;
}
@keyframes shimmer{
  0%, 100%{ background-position: 0% 50%; }
  50%{ background-position: 100% 50%; }
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce){
  .hero > *, .hero .statRow, .accent, .grain{ animation: none !important; }
  .btn, .card, .stat{ transition: none !important; }
}

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