:root{
  --bg:#070708;
  --panel:rgba(255,255,255,.05);
  --panel2:rgba(255,255,255,.035);
  --stroke:rgba(255,255,255,.10);
  --stroke2:rgba(255,255,255,.08);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.66);
  --cyan:#25f4ee;
  --pink:#fe2c55;
  --purple:#a78bfa;
  --lime:#86efac;
  --radius:18px;
  --shadow:0 18px 50px rgba(0,0,0,.60);
  --shadow-soft:0 12px 34px rgba(0,0,0,.42);
  --container:min(1180px, calc(100% - 40px));
}

*{ box-sizing:border-box; }

html,body{
  height:100%;
  max-width:100%;
  overflow-x:hidden;
}

body{
  margin:0;
  font-family:ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
  overflow-x:hidden;
}

a{
  color:inherit;
  text-decoration:none;
}

img,svg,video,canvas{
  max-width:100%;
  height:auto;
}

.container{
  width:var(--container);
  margin:0 auto;
}

:focus-visible{
  outline:2px solid rgba(37,244,238,.6);
  outline-offset:3px;
  border-radius:12px;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:10px;
  background:#101013;
  border:1px solid var(--stroke);
  padding:10px 12px;
  border-radius:12px;
}

.skip-link:focus{
  left:12px;
  z-index:999;
}

/* Background */
.bg-animated{
  position:fixed;
  inset:0;
  z-index:-10;
  pointer-events:none;
  overflow:hidden;
}

.blob{
  position:absolute;
  width:60vmax;
  height:60vmax;
  border-radius:50%;
  filter:blur(120px);
  opacity:.35;
  will-change:transform;
  animation:blobMove 20s ease-in-out infinite alternate;
}

.blob.b1{
  top:-20%;
  left:-20%;
  background:#25f4ee;
}

.blob.b2{
  top:-15%;
  right:-25%;
  background:#fe2c55;
  animation-delay:-6s;
}

.blob.b3{
  bottom:-25%;
  left:15%;
  background:#a78bfa;
  animation-delay:-12s;
}

@keyframes blobMove{
  0%{ transform:translate(0,0) scale(1); }
  50%{ transform:translate(80px,-60px) scale(1.2); }
  100%{ transform:translate(-60px,80px) scale(0.9); }
}

.grain{
  position:absolute;
  inset:-20%;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  opacity:.07;
  mix-blend-mode:overlay;
  animation:grainShift 7s steps(6) infinite;
}

@keyframes grainShift{
  0%{ transform:translate(0,0); }
  20%{ transform:translate(-5%,4%); }
  40%{ transform:translate(-2%,-6%); }
  60%{ transform:translate(6%,2%); }
  80%{ transform:translate(3%,-3%); }
  100%{ transform:translate(0,0); }
}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:70;
  background:rgba(7,7,8,.72);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(255,255,255,.06);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:240px;
}

.brand-logo{
  height:40px;
  width:auto;
  filter:drop-shadow(0 12px 22px rgba(0,0,0,.55));
}

.brand-text-wrap{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}

.brand-text{
  font-weight:950;
  letter-spacing:.2px;
}

.brand-badge{
  margin-top:4px;
  font-size:12px;
  font-weight:800;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  color:var(--muted);
  width:fit-content;
}

.nav{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.nav-link{
  font-size:14px;
  color:var(--muted);
  padding:8px 10px;
  border-radius:12px;
  border:1px solid transparent;
}

.nav-link:hover{
  background:rgba(255,255,255,.05);
  border-color:rgba(255,255,255,.10);
  color:var(--text);
}

.nav-link.is-active{
  color:var(--text);
  border-color:rgba(255,255,255,.14);
  background:rgba(255,255,255,.05);
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:11px 14px;
  border-radius:14px;
  border:1px solid transparent;
  font-weight:900;
  font-size:14px;
  transition:transform .12s ease, background .12s ease, border-color .12s ease, box-shadow .12s ease;
  will-change:transform;
  position:relative;
  overflow:hidden;
  cursor:pointer;
  color:var(--text);
}

.btn:active{
  transform:translateY(1px);
}

.btn-primary{
  background:linear-gradient(135deg, rgba(37,244,238,.22), rgba(254,44,85,.22));
  border-color:rgba(255,255,255,.14);
  box-shadow:0 12px 26px rgba(0,0,0,.38);
}

.btn-primary:hover{
  background:linear-gradient(135deg, rgba(37,244,238,.32), rgba(254,44,85,.32));
  box-shadow:0 16px 32px rgba(0,0,0,.45);
}

.btn-secondary{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.12);
}

.btn-secondary:hover{
  background:rgba(255,255,255,.09);
}

.btn-ghost{
  background:transparent;
  border-color:rgba(255,255,255,.14);
}

.btn-ghost:hover{
  background:rgba(255,255,255,.05);
}

/* Hero */
.hero{
  padding:56px 0 28px;
}

.hero-grid{
  display:grid;
  gap:22px;
  grid-template-columns:1fr;
  align-items:stretch;
}

.hero-grid.single{
  max-width:920px;
}

.hero-copy{
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.10);
  box-shadow:var(--shadow);
  border-radius:28px;
  padding:28px;
  position:relative;
  overflow:hidden;
}

.hero-copy::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at top left, rgba(37,244,238,.12), transparent 28%),
    radial-gradient(circle at top right, rgba(254,44,85,.12), transparent 28%),
    radial-gradient(circle at bottom center, rgba(167,139,250,.10), transparent 32%);
  pointer-events:none;
}

.hero-copy > *{
  position:relative;
  z-index:1;
}

.eyebrow{
  margin:0 0 10px;
  color:var(--muted);
  font-weight:950;
  letter-spacing:.38px;
  font-size:12px;
  text-transform:uppercase;
}

.title{
  margin:0 0 12px;
  font-size:clamp(34px, 4.4vw, 56px);
  line-height:1.04;
  letter-spacing:-.75px;
}

.grad{
  background:linear-gradient(90deg, var(--cyan), var(--pink));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.subtitle{
  margin:0 0 18px;
  color:var(--muted);
  font-size:16px;
  line-height:1.7;
  max-width:68ch;
}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.badges{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:0 0 14px;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  font-weight:900;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:var(--muted);
}

.badge .b-dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background:var(--cyan);
}

.badge.pink .b-dot{ background:var(--pink); }
.badge.purple .b-dot{ background:var(--purple); }
.badge.lime .b-dot{ background:var(--lime); }

/* Sections */
.section{
  padding:38px 0 48px;
}

.section-kicker{
  color:rgba(255,255,255,.58);
  font-size:12px;
  text-transform:uppercase;
  font-weight:950;
  letter-spacing:.38px;
  margin-bottom:10px;
}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

.section-head h2{
  margin:0 0 8px;
  font-size:30px;
  letter-spacing:-.4px;
}

.section-head p{
  margin:0;
  color:var(--muted);
  max-width:78ch;
  line-height:1.65;
}

/* Legal cards */
.legal-grid{
  display:grid;
  gap:14px;
  grid-template-columns:repeat(2, minmax(0, 1fr));
}

.legal-card{
  padding:18px;
  border-radius:var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.045);
  box-shadow:0 10px 22px rgba(0,0,0,.25);
  transition:transform .14s ease, border-color .14s ease, background .14s ease;
  transform:translateZ(0);
}

.legal-card:hover{
  transform:translateY(-2px);
  border-color:rgba(255,255,255,.16);
  background:rgba(255,255,255,.055);
}

.card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}

.iconbox{
  width:40px;
  height:40px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 12px 22px rgba(0,0,0,.28);
  font-weight:1000;
  color:var(--text);
}

.tag{
  font-size:12px;
  font-weight:950;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  color:var(--muted);
  background:rgba(255,255,255,.03);
}

.legal-card h3{
  margin:0 0 8px;
  font-size:18px;
  letter-spacing:-.1px;
}

.legal-card p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
}

/* Info box */
.info-box{
  margin-top:18px;
  padding:18px;
  border-radius:var(--radius);
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(135deg, rgba(37,244,238,.10), rgba(254,44,85,.10));
  box-shadow:var(--shadow-soft);
}

.info-box h3{
  margin:0 0 8px;
  font-size:18px;
}

.info-box p{
  margin:0;
  color:rgba(255,255,255,.82);
  line-height:1.7;
}

/* Footer */
.footer{
  padding:22px 0 34px;
  border-top:1px solid rgba(255,255,255,.06);
  color:var(--muted);
}

.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.footer-links{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.footer-links a{
  padding:6px 10px;
  border-radius:12px;
  border:1px solid transparent;
}

.footer-links a:hover{
  background:rgba(255,255,255,.05);
  border-color:rgba(255,255,255,.10);
  color:var(--text);
}

/* Reveal */
.reveal{
  opacity:0;
  transform:translateY(10px);
  transition:opacity .55s ease, transform .55s ease;
  will-change:opacity, transform;
}

.reveal.is-in{
  opacity:1;
  transform:translateY(0);
}

/* Responsive */
@media (max-width: 980px){
  .brand{ min-width:0; }
}

@media (max-width: 820px){
  .header-inner{
    flex-direction:column;
    align-items:flex-start;
  }

  .nav{
    width:100%;
    justify-content:flex-start;
  }

  .brand-text{
    max-width:220px;
    overflow:hidden;
    text-overflow:ellipsis;
  }
}

@media (max-width: 720px){
  .hero{
    padding-top:36px;
  }

  .hero-copy{
    padding:22px;
    border-radius:22px;
  }

  .title{
    font-size:clamp(30px, 9vw, 42px);
  }

  .section-head h2{
    font-size:26px;
  }

  .legal-grid{
    grid-template-columns:1fr;
  }

  .hero-actions{
    width:100%;
  }

  .hero-actions .btn{
    flex:1 1 100%;
    justify-content:center;
    text-align:center;
  }
}

@media (prefers-reduced-motion: reduce){
  .blob,
  .grain{
    animation:none !important;
  }

  .legal-card,
  .btn,
  .reveal{
    transition:none;
  }

  .reveal{
    transform:none;
    opacity:1;
  }
}