:root{
  --bg: #f4f6fa;
  --ink: #10151e;
  --muted: #5c6674;
  --accent: #1b3fea;
  --accent-soft: rgba(27,63,234,.08);
  --line: rgba(16,21,30,.05);
  --line-strong: rgba(27,63,234,.14);
}

*{ margin:0; padding:0; box-sizing:border-box; }

html, body{ height:100%; }

body{
  background:
    radial-gradient(60% 52% at 72% 12%, rgba(27,63,234,.07), transparent 70%),
    radial-gradient(50% 44% at 15% 88%, rgba(235,168,86,.10), transparent 70%),
    var(--bg);
  color: var(--ink);
  font-family: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  user-select: none;
}

@media (hover:hover) and (pointer:fine){
  body, body *{ cursor: none; }
}

/* ---------- background layers ---------- */

.orb{
  position: fixed;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}
.orb-e{
  top: -16vmax; right: -14vmax;
  width: 56vmax; height: 56vmax;
  background: radial-gradient(circle, rgba(27,63,234,.10), transparent 68%);
  filter: blur(46px);
}
.orb-g{
  bottom: -16vmax; left: -10vmax;
  width: 46vmax; height: 46vmax;
  background: radial-gradient(circle, rgba(235,168,86,.10), transparent 68%);
  filter: blur(46px);
}

.grid-static{
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 92px 92px;
  -webkit-mask-image: radial-gradient(95% 82% at 50% 45%, black 25%, transparent 100%);
  mask-image: radial-gradient(95% 82% at 50% 45%, black 25%, transparent 100%);
}

.floor{
  position: fixed;
  left: 50%; top: 78%;
  width: 240vw; height: 130vh;
  margin-left: -120vw;
  z-index: 2;
  pointer-events: none;
  will-change: transform;
}
.floor-plane{
  position: absolute; inset: 0;
  transform-origin: 50% 0;
  transform: perspective(900px) rotateX(64deg);
  background-image:
    linear-gradient(var(--line-strong) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 132px 132px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 32%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 32%);
}
.floor-plane::after{
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 160px;
  background: linear-gradient(to bottom, rgba(27,63,234,.06), transparent);
}

.vignette{
  position: fixed; inset: 0; z-index: 3;
  pointer-events: none;
  background: radial-gradient(130% 100% at 50% 38%, transparent 55%, rgba(16,21,30,.05) 100%);
}

.spotlight{
  position: fixed; z-index: 4;
  left: 0; top: 0;
  width: 560px; height: 560px;
  margin: -280px 0 0 -280px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, rgba(27,63,234,.10), rgba(27,63,234,.02) 42%, transparent 62%);
  mix-blend-mode: multiply;
  will-change: transform, opacity;
  transition: opacity .5s ease;
}
.spotlight.on{ opacity: 1; }

#particles{
  position: fixed; inset: 0; z-index: 5;
  pointer-events: none;
}

.noise{
  position: fixed; inset: 0; z-index: 6;
  pointer-events: none;
  opacity: .045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- content ---------- */

.stage{
  position: relative; z-index: 7;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 22vh 24px 0;
  text-align: center;
  will-change: transform;
}

.pill{
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 11px 24px 11px 26px;
  border: 1px solid rgba(27,63,234,.22);
  border-radius: 999px;
  background: rgba(27,63,234,.06);
  color: var(--accent);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .4em;
  text-transform: uppercase;
}
.pill .dot{
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(27,63,234,.7);
  animation: pulse 2.4s ease-in-out infinite;
}

.lead{
  margin-top: 34px;
  max-width: 34ch;
  text-wrap: balance;
  font-family: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 300;
  font-size: clamp(1rem, 2.2vw, 1.28rem);
  line-height: 1.6;
  letter-spacing: -.01em;
  color: var(--muted);
}

.brand{
  margin-top: 18px;
  font-family: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 8.2vw, 5.8rem);
  letter-spacing: -.045em;
  line-height: 1.05;
}
.brand .tld{
  font-weight: 400;
  color: var(--accent);
}

/* ---------- footer ---------- */

.footer{
  position: fixed;
  left: 0; right: 0; bottom: 26px;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 24px;
  font-family: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--muted);
}
.footer a{
  color: var(--muted);
  text-decoration: none;
  transition: color .25s ease;
}
.footer a:hover{
  color: var(--accent);
}
.footer .sep{
  color: rgba(16,21,30,.25);
}

/* ---------- reveal ---------- */

.reveal{
  opacity: 0;
  transform: translateY(24px);
  animation: rise 1s cubic-bezier(.22,.9,.3,1) var(--d, 0s) forwards;
}

@keyframes rise{
  to{ opacity: 1; transform: none; }
}
@keyframes pulse{
  0%, 100%{ opacity: 1; }
  50%{ opacity: .25; }
}

/* ---------- cursor ---------- */

.cursor-dot, .cursor-ring{
  position: fixed; left: 0; top: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
  will-change: transform;
}
.cursor-dot{
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(27,63,234,.8);
}
.cursor-ring{
  width: 38px; height: 38px;
  margin: -19px 0 0 -19px;
  border: 1px solid rgba(27,63,234,.5);
  border-radius: 50%;
  transition: opacity .3s ease, width .35s ease, height .35s ease, margin .35s ease, border-color .35s ease;
}
.cursor-dot.on, .cursor-ring.on{ opacity: 1; }
body.cursor-hover .cursor-ring{
  width: 66px; height: 66px;
  margin: -33px 0 0 -33px;
  border-color: rgba(27,63,234,.85);
  background: rgba(27,63,234,.05);
}

/* ---------- responsive / motion ---------- */

@media (hover:none), (pointer:coarse){
  .cursor-dot, .cursor-ring{ display: none; }
  .spotlight{ display: none; }
}

@media (max-width: 480px){
  .brand{ margin-top: 14px; }
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal{ opacity: 1; transform: none; }
  .pill .dot{ animation: none; }
}
