/*
  Zparent Splash — Apple-like minimalism
  - Strong typographic hierarchy
  - Subtle motion
  - Crisp spacing and generous whitespace
*/

:root {
  --bg: #000;
  --fg: #f5f5f7; /* Apple-esque soft white */
  --muted: #a1a1a6; /* Secondary text */
  --accent: #2997ff; /* iOS / Apple CTA blue */
  --border: rgba(255, 255, 255, 0.08);
  --shadow: rgba(0,0,0,0.5);

  --maxw: 1080px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main { display: block; }
.container { width: min(100% - 2rem, var(--maxw)); margin: 0 auto; }

/* Hero */
.hero {
  min-height: 60vh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  text-align: center;
  padding: 3.5rem 1rem 1.5rem;
}
.logo {
  width: clamp(160px, 32vw, 340px);
  height: auto;
  filter: drop-shadow(0 8px 32px var(--shadow));
}
.tagline {
  margin: 1.25rem 0 0;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: clamp(1.25rem, 2.8vw, 2rem);
  color: var(--fg);
}
.coming-soon { margin-top: 1rem; }
.pill {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  font-size: 0.9rem;
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
}

/* Copy */

.copy {
  padding: 2.5rem 0 1.5rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
}
.lede {
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 1.5rem 0;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
.zlede {
  text-align: center;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 2.2rem;
  letter-spacing: -0.01em;
}
.z-list {
  list-style: none;
  padding: 0 1.2rem;
  margin: 0 auto;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}
.z-list li {
  padding: 0;
  border: none;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  line-height: 1.18;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--fg);
  background: none;
  transition: color .3s, opacity 3.2s cubic-bezier(.4,0,.2,1), filter 3.2s cubic-bezier(.4,0,.2,1);
.closing-copy-multi {
  text-align: center;
  margin-bottom: 1.5rem;
}
.closing-line {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  color: var(--muted);
  margin: 0.2em 0;
  opacity: 0;
  filter: blur(8px);
  transition: opacity 3.2s cubic-bezier(.4,0,.2,1), filter 3.2s cubic-bezier(.4,0,.2,1);
}
.closing-line .brand {
  color: var(--fg);
  font-weight: 700;
  letter-spacing: 0.01em;
}
.closing-line.visible {
  opacity: 1;
  filter: none;
}
  opacity: 0;
  filter: blur(8px);
}
.z-list li.visible {
  opacity: 1;
  filter: none;
  transition-delay: 0s;
}
.z-list li:nth-child(1) { animation-delay: .25s; }
.z-list li:nth-child(2) { animation-delay: .55s; }
.z-list li:nth-child(3) { animation-delay: .85s; }
.z-list li:nth-child(4) { animation-delay: 1.15s; }
.z-list li:nth-child(5) { animation-delay: 1.45s; }
.z-list li:nth-child(6) { animation-delay: 1.75s; }
.z-list li.visible {
  opacity: 1;
  filter: none;
}
.z-list strong {
  display: inline-block;
  font-size: 1.1em;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-right: 0.18em;
}

@keyframes zfadein {
  0% {
    opacity: 0;
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    filter: none;
  }
}

@media (min-width: 900px) {
  .z-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2.5rem 3.5rem;
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
  }
  .z-list li {
    flex: 0 1 44%;
    max-width: 420px;
    min-width: 320px;
    font-size: clamp(1.7rem, 2.5vw, 2.5rem);
    margin-bottom: 0;
  }
}

/* Closing */
.closing {
  padding: 2.25rem 0 3.5rem;
}
.closing-copy {
  text-align: center;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}
.brand { color: var(--fg); font-weight: 700; letter-spacing: 0.01em; }

.cta {
  display: inline-block;
  margin: 1rem auto 0;
  padding: 0.9rem 1.25rem;
  border-radius: 12px;
  background: var(--fg);
  color: #000;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 10px 30px rgba(41,151,255,0.15);
}
.cta:hover { transform: translateY(-2px); }
.cta:active { transform: translateY(0); }

.closing-inner { text-align: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 1rem 0 2rem; }
.fineprint { color: var(--muted); text-align: center; font-size: 0.85rem; }

/* Motion */
.fade-in { opacity: 0; transform: translateY(6px); animation: fadeIn .8s ease forwards; }
.fade-in-delay { opacity: 0; transform: translateY(6px); animation: fadeIn .8s ease .15s forwards; }
.fade-in-delay-2 { opacity: 0; transform: translateY(6px); animation: fadeIn .8s ease .3s forwards; }

.reveal { opacity: 0; transform: translateY(6px); }
.reveal.visible { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }

@keyframes fadeIn {
  to { opacity: 1; transform: none; }
}

/* Responsive tweaks */
@media (min-width: 900px) {
  .hero { min-height: 65vh; }
  .hero-inner { padding-top: 6rem; padding-bottom: 2.5rem; }
  .copy { padding-top: 2.5rem; }
}
