/* zizi landing page. Single file, no build step. */

:root {
  --bg: #f7f5f1;
  --ink: #17161c;
  --muted: #6b6875;
  --accent: #7c6cf6;
  --accent-deep: #5b4bd6;
  --card: #ffffff;
  --line: #e7e3da;
  --radius: 18px;
  --wrap: 1120px;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-head: "Sora", "Inter", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid transparent;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}

/* ---------- hero ---------- */

.hero { padding: 64px 0 40px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

h1 {
  margin: 0 0 22px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(38px, 5.2vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.lede {
  margin: 0 0 30px;
  font-size: 18px;
  color: var(--muted);
  max-width: 46ch;
}

/* ---------- waitlist form ---------- */

.waitlist { max-width: 460px; }

.field-row {
  display: flex;
  gap: 10px;
  padding: 6px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field-row:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent);
}

.field-row input[type="email"] {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 12px 8px 12px 18px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  outline: none;
}
.field-row input::placeholder { color: #a5a1ad; }

.field-row button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 12px 24px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s ease, opacity .18s ease;
}
.field-row button:hover { background: var(--accent-deep); }
.field-row button:disabled { opacity: .55; cursor: default; }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin: 12px 0 0 6px;
  font-size: 14px;
  color: var(--muted);
  min-height: 21px;
}
.form-note.is-error { color: #c2413b; font-weight: 500; }
.form-note.is-ok { color: #1c7c54; font-weight: 600; }

/* ---------- hero art ---------- */

.hero-art {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.mascot {
  position: relative;
  width: min(82%, 400px);
  /* mascot.png is a real cutout with transparency, so it sits on the page
     background without any blend mode (mix-blend-mode is unreliable in Safari). */
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.bubble {
  position: absolute;
  max-width: 220px;
  padding: 11px 16px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.4;
  box-shadow: 0 12px 30px rgba(40, 32, 80, .10);
}
.bubble-a { top: 4%; left: -2%; }
.bubble-b { bottom: 16%; right: -4%; }
.bubble-c {
  bottom: -2%;
  left: 6%;
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ---------- cards ---------- */

.cards { padding: 72px 0; }

.cards h2 {
  margin: 0 0 34px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: -0.03em;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(40, 32, 80, .08);
}

.card-icon { font-size: 26px; line-height: 1; margin-bottom: 14px; }

.card h3 {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- quote strip ---------- */

.strip { padding: 18px 0 72px; }

.strip-inner {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 44px 0;
  text-align: center;
}

.strip-quote {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.strip-sub { margin: 0; font-size: 14px; color: var(--muted); }

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

.footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 40px;
  font-size: 14px;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }

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

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { min-height: 350px; order: -1; }
  .mascot { width: min(62%, 280px); }
  .bubble { font-size: 13px; max-width: 170px; }
  .card-grid { grid-template-columns: 1fr; }
}

/* Phones: floating overlay, same arrangement as desktop. */
@media (max-width: 700px) {
  .hero-art { min-height: 350px; }
  .mascot { width: min(66%, 250px); }
  .bubble {
    font-size: 12.5px;
    line-height: 1.35;
    max-width: 146px;
    padding: 9px 12px;
    border-radius: 13px;
  }
  .bubble-a { top: 0; left: 0; }
  .bubble-b { bottom: 24%; right: 0; }
  .bubble-c {
    bottom: 0;
    left: 0;
    right: auto;
    transform: none;
    white-space: nowrap;
  }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding: 36px 0 24px; }
  .field-row { flex-direction: column; border-radius: 20px; }
  .field-row input[type="email"] { padding: 14px 16px; text-align: center; }
  .field-row button { width: 100%; padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mascot { animation: none; }
  * { transition: none !important; }
}
