:root{
  --bg: #0b0b0f;
  --bg-accent: #ff6a55;
  --text: #e9e7ff;
  --muted: #b7b3d4;
  --primary: #8a5cff;
  --glass: rgba(255,255,255,.08);
  --radius: 14px;
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
}

*{box-sizing:border-box}
html,body{height:100%}
html{font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial}
body{
  margin:0;
  color:var(--text);
  background-color:var(--bg);
  background-image:
    linear-gradient(45deg, rgba(255,105,97,.25) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(0,0,0,.08) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255,105,97,.25) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(0,0,0,.08) 75%);
  background-size:12px 12px;
  background-position:0 0,0 6px,6px -6px,6px 0;
  min-height:100vh;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

header{
  position:sticky; top:0; z-index:40;
  display:flex; justify-content:center;
  padding:.5rem 1rem;
  background: rgba(14,14,22,.38);
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  border-bottom:1px solid rgba(255,255,255,.15);
}

header .brand{opacity:.0; pointer-events:none}

main{ padding: 2rem 1rem; }

.hero-grid{
  display:grid;
  grid-template-columns:1fr;
  gap: var(--space-4);
  align-items:center;
  max-width:1200px;
  margin:0 auto;
  padding: var(--space-5) 0;
}

.hero-copy{ padding: var(--space-4); }
.hero-copy h1{
  font-size: clamp(2rem,5vw,3.75rem);
  line-height:1.04;
  margin:0 0 .75rem;
  letter-spacing:.2px;
}
.hero-copy h2{
  font-size: clamp(1.1rem,2.5vw,1.6rem);
  color:var(--muted);
  margin:0 0 var(--space-4);
}
.hero-copy .cta{
  display:inline-block;
  padding:.9rem 1.25rem;
  border-radius:999px;
  background: linear-gradient(135deg, #7a5cff, #9b3aff);
  color:#fff;
  text-decoration:none;
  font-weight:600;
  border:1px solid rgba(255,255,255,.4);
  box-shadow:0 6px 16px rgba(122,92,255,.6);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-copy .cta:hover{
  transform: translateY(-1px);
  box-shadow:0 10px 22px rgba(122,92,255,.8);
  text-decoration: underline;
}
.hero-copy .cta:focus-visible{
  outline:3px solid var(--primary);
  outline-offset:2px;
}

.hero-media{ display:flex; justify-content:center; align-items:center; padding:0; }
.hero-media img{
  display:block; width:100%; max-width:520px; height:auto;
  border-radius:20px;
  box-shadow:0 8px 28px rgba(0,0,0,.55),0 0 0 6px rgba(128,0,128,.25);
}

@media (min-width:768px){
  .hero-grid{ grid-template-columns:1fr 1fr; padding:3rem 2rem; }
  .hero-copy{ padding:0 1rem; }
  .hero-media{ padding:0 1rem; }
}

@media (min-width:1200px){
  .hero-grid{ grid-template-columns:0.9fr 1.1fr 0.6fr; padding:4rem 2rem; }
  .hero-copy{ align-self:center; padding:0 1rem; }
}

@media (prefers-reduced-motion:reduce){
  *{animation:none!important; transition:none!important}
}

.site-footer{
  padding: var(--space-4) var(--space-4);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center;
  gap: var(--space-3);
  border-top:1px solid rgba(255,255,255,.15);
  background: rgba(0,0,0,.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.site-footer .footer-ad{ font-size:.95rem; }
.site-footer .footer-ad a{ color:#eaf2ff; text-decoration:underline; }
.site-footer .closing{ color:var(--muted); margin:0; }

@media (prefers-color-scheme: light){
  :root{ --bg: #f7f7f7; --text:#0b1020; --muted:#555; --glass: rgba(255,255,255,.95); }
  body{ background-color:#f7f7f7; color:var(--text); }
  header{ background: rgba(255,255,255,.9); }
  .site-footer{ background: rgba(255,255,255,.9); border-top:1px solid rgba(0,0,0,.08); color:#111; }
}
