/* Base reset & typography */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #0e0e0e;
  background: #fff;
  overflow-x: hidden;
}

/* Animated background gradient */
.bg-gradient {
  position: fixed;
  inset: -20%;
  background: radial-gradient(1200px 800px at 20% 10%, #f3f3f3 0%, transparent 50%),
              radial-gradient(900px 600px at 80% 30%, #f7f0ff 0%, transparent 60%),
              radial-gradient(700px 500px at 50% 90%, #eaf7ff 0%, transparent 60%);
  filter: blur(40px) saturate(110%);
  animation: float 20s ease-in-out infinite alternate;
  z-index: -2;
}
@keyframes float {
  0% { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(0,-2%,0) scale(1.03); }
}

/* Grain overlay */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image: url('data:image/svg+xml;utf8,  <svg xmlns="http://www.w3.org/2000/svg" width=\"120\" height=\"120\" viewBox=\"0 0 120 120\">  <filter id=\"n\">    <feTurbulence type=\"fractalNoise\" baseFrequency=\"0.9\" numOctaves=\"4\" stitchTiles=\"stitch\"/>    <feColorMatrix type=\"saturate\" values=\"0\"/>    <feComponentTransfer><feFuncA type=\"table\" tableValues=\"0 0.06\"/></feComponentTransfer>  </filter>  <rect width=\"100%\" height=\"100%\" filter=\"url(%23n)\"/></svg>');
  opacity: .35;
  mix-blend-mode: multiply;
  z-index: -1;
}

/* Layout */
.site-header {
  padding: clamp(24px, 4vw, 48px) 24px 8px;
  display: flex;
  justify-content: center;
}
.brand .logo {
  width: min(70vw, 520px);
  height: auto;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  animation: logoIn 900ms cubic-bezier(.2,.7,.2,1) 150ms forwards;
}
@keyframes logoIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.content {
  padding: 8px 24px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.headline {
  font-size: clamp(26px, 4.2vw, 40px);
  margin: 8px 0 0;
}
.sub {
  margin: 4px 0 0;
  font-weight: 300;
  color: #444;
  max-width: 720px;
}

.cta {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: .2px;
  transition: transform .18s ease, box-shadow .18s ease, background .3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.btn:active { transform: translateY(0); }

.btn.outline {
  background: transparent;
  color: #111;
  border: 1px solid #e0e0e0;
}
.btn.outline:hover { background: #111; color: #fff; }

.footer {
  text-align: center;
  padding: 40px 24px 48px;
  color: #666;
  font-size: 14px;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Small screens */
@media (max-width: 420px) {
  .btn { padding: 10px 14px; }
  .btn .icon { width: 16px; height: 16px; }
}
