@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --purple-900: #251152;
  --purple-800: #371f7d;
  --purple-700: #452a92;
  --purple-600: #522e98;
  --indigo-500: #4b50de;
  --lavender-300: #bc96ff;
  --lavender-200: #cdb4ff;
  --lime-400: #c9f45f;
  --lime-300: #d7ff81;
  --red-500: #ff4365;
  --font-core: "Outfit", "Zona Pro", "Poppins", system-ui, sans-serif;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: var(--font-core);
  background: #140c2b;
  color: #fff;
}

input::placeholder { color: rgba(255, 255, 255, .65); }

@keyframes nisaiDotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(215, 255, 129, .55); }
  50% { box-shadow: 0 0 0 9px rgba(215, 255, 129, 0); }
}

@keyframes nisaiHeartPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(255, 67, 101, .6)); }
  50% { transform: scale(1.25); filter: drop-shadow(0 0 6px rgba(255, 67, 101, .8)); }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: #0e0a1f;
  padding: 48px 24px;
  overflow: hidden;
  height: 100vh;
  display: flex;
  align-items: center;
  --mx: 50%;
  --my: 42%;
}

.hero-grid {
  position: absolute;
  inset: 0;
  display: grid;
  gap: 7px;
  padding: 7px;
  z-index: 0;
}

.hero-grid-cell {
  background: rgba(55, 31, 125, .55);
  box-shadow: inset 0 0 0 1px rgba(55, 31, 125, .8);
  border-radius: 8px;
  transition: background .25s, box-shadow .25s;
  cursor: pointer;
}

.hero-grid-cell:hover {
  background: rgba(215, 255, 129, .22);
  box-shadow: inset 0 0 0 1px rgba(215, 255, 129, .9), 0 0 18px 5px rgba(215, 255, 129, .55);
  border-radius: 8px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.hero-brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: block;
}

.hero-brand span {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(46px, 7.6vw, 84px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -.03em;
}

.hero h1 .accent { color: var(--lime-300); }

.hero p {
  margin: 20px auto 0;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .85);
  max-width: 560px;
  text-wrap: pretty;
}

.hero-form-wrap { margin-top: 28px; }

.waitlist-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.waitlist-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 16px 22px;
  border-radius: 999px;
  border: 1.5px solid rgba(215, 255, 129, .9);
  background: rgba(20, 12, 43, .35);
  color: #fff;
  font-size: 16px;
  font-family: var(--font-core);
  outline: none;
}

.waitlist-form button {
  padding: 16px 30px;
  border-radius: 999px;
  border: none;
  background: var(--lime-300);
  color: var(--purple-800);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-core);
  white-space: nowrap;
  flex: none;
}

.waitlist-form button:hover { background: var(--lime-400); }

.waitlist-confirm {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  border-radius: 999px;
  background: rgba(215, 255, 129, .14);
  box-shadow: inset 0 0 0 1.5px var(--lime-300);
  max-width: 420px;
  margin: 0 auto;
}

.waitlist-confirm.centered { display: inline-flex; margin: 0; }

.waitlist-error {
  margin: 12px auto 0;
  max-width: 420px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #ff4365;
}

.waitlist-confirm .heart-pulse {
  display: flex;
  flex: none;
  animation: nisaiHeartPulse 1.1s ease-in-out infinite;
}

.waitlist-confirm .msg {
  font-size: 15px;
  font-weight: 600;
  color: var(--lime-300);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(14, 10, 31, .9);
  -webkit-mask-image: radial-gradient(circle 220px at var(--mx) var(--my), transparent 0%, transparent 55%, black 100%);
  mask-image: radial-gradient(circle 220px at var(--mx) var(--my), transparent 0%, transparent 55%, black 100%);
}

.hero-glow {
  position: absolute;
  inset: 0;
  display: grid;
  gap: 7px;
  padding: 7px;
  z-index: 3;
  pointer-events: none;
}

/* ---------- Generic section rhythm ---------- */

.section { padding: clamp(72px, 10vw, 120px) 24px; }
.section-narrow { max-width: 700px; margin: 0 auto; }

/* ---------- Problem ---------- */

.problem { background: var(--purple-800); }

.kicker-pill {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(215, 255, 129, .14);
  box-shadow: inset 0 0 0 1.5px rgba(215, 255, 129, .5);
  font-size: 18px;
  font-weight: 700;
  color: var(--lime-300);
}

.problem h2 {
  margin: 20px 0 0;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -.01em;
}

.problem p {
  margin: 24px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--lavender-200);
  text-wrap: pretty;
}

.problem .closing {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  font-weight: 600;
}

/* ---------- How it works ---------- */

.how { background: var(--indigo-500); }

.how-inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
  align-items: center;
}

.how-text { flex: 1; min-width: 280px; }

.how-eyebrow { font-size: 15px; font-weight: 600; color: var(--lime-300); }

.how-text h2 {
  margin: 14px 0 0;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -.01em;
}

.how-text > p {
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .75);
}

.how-steps {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.how-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.how-step .num {
  font-size: 15px;
  font-weight: 700;
  color: var(--lime-300);
  flex: none;
  width: 28px;
}

.how-step .desc { font-size: 16px; line-height: 1.4; }

.how-visual {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.board {
  display: grid;
  grid-template-columns: repeat(10, 22px);
  grid-auto-rows: 22px;
  gap: 5px;
}

.board-cell {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}

.board-cell.lime {
  background: var(--lime-300);
  box-shadow: 0 0 9px rgba(215, 255, 129, .6);
}

.board-cell.matched {
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.board-cell.matched svg { filter: drop-shadow(0 0 6px rgba(255, 67, 101, .7)); }

.legend {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.legend-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.legend-swatch {
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}

.legend-swatch.lime {
  background: var(--lime-300);
  box-shadow: 0 0 9px rgba(215, 255, 129, .6);
}

.legend-swatch.heart {
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.legend-swatch.heart svg { filter: drop-shadow(0 0 6px rgba(255, 67, 101, .7)); }

.legend-row span { font-size: 15px; line-height: 1.4; color: rgba(255, 255, 255, .75); }

/* ---------- Safety ---------- */

.safety {
  background: var(--lavender-300);
  color: var(--purple-800);
  padding: clamp(80px, 11vw, 140px) 24px;
}

.safety-inner { max-width: 880px; margin: 0 auto; }

.safety-eyebrow { font-size: 15px; font-weight: 600; color: var(--purple-700); }

.safety h2 {
  margin: 14px 0 0;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.02em;
  max-width: 680px;
}

.safety-inner > p {
  margin: 22px 0 0;
  font-size: 17px;
  line-height: 1.5;
  max-width: 600px;
  color: var(--purple-700);
}

.safety-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.safety-card {
  background: #fff;
  border-radius: 24px;
  padding: 26px;
}

.safety-card .icon { display: flex; color: var(--purple-800); }
.safety-card .icon svg { width: 26px; height: 26px; }

.safety-card .title { margin-top: 16px; font-size: 17px; font-weight: 600; }

.safety-card .body {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--purple-700);
}

/* ---------- Quote ---------- */

.quote { background: #140c2b; padding: clamp(96px, 13vw, 160px) 24px; }

.quote-inner { max-width: 640px; margin: 0 auto; text-align: center; }

.quote-lines { display: flex; flex-direction: column; gap: 10px; }

.quote-lines div {
  font-size: clamp(22px, 3.6vw, 32px);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -.01em;
}

/* ---------- Why no photos ---------- */

.why { background: var(--purple-800); }

.why-eyebrow { font-size: 15px; font-weight: 600; color: var(--lime-300); }

.why h2 {
  margin: 14px 0 0;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -.01em;
}

.why p {
  margin: 22px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--lavender-200);
  text-wrap: pretty;
}

/* ---------- Team ---------- */

.team { background: var(--purple-600); }

.team-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
  align-items: center;
}

.team-text { flex: 1.2; min-width: 300px; }

.team-eyebrow { font-size: 15px; font-weight: 600; color: var(--lime-300); }

.team-text h2 {
  margin: 14px 0 0;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.015em;
  text-wrap: balance;
}

.team-text p {
  margin: 22px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .75);
  text-wrap: pretty;
}

.team-stats {
  flex: 1;
  min-width: 260px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
  font-size: 18px;
}

.stat-row:last-child { border-bottom: none; }

.stat-label { color: #fff; }

.stat-count {
  color: rgba(255, 255, 255, .45);
  font-variant-numeric: tabular-nums;
}

/* ---------- Waitlist CTA ---------- */

.cta { background: var(--purple-900); padding: clamp(88px, 12vw, 140px) 24px; }

.cta-inner { max-width: 600px; margin: 0 auto; text-align: center; }

.cta h2 {
  margin: 0;
  font-size: clamp(34px, 5.5vw, 52px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.02em;
}

.cta > .cta-inner > p {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--lavender-200);
}

.cta-form-wrap { margin-top: 32px; }

.cta .waitlist-form input[type="email"] {
  max-width: 320px;
  background: rgba(255, 255, 255, .06);
}

/* ---------- Footer ---------- */

.footer { background: #140c2b; padding: 64px 24px 48px; }

.footer-inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 32px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 40px;
}

.footer-title { font-size: 15px; font-weight: 600; color: #fff; }

.footer-sub {
  margin-top: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, .5);
}

.footer-mail {
  display: inline-block;
  margin-top: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--lime-300);
  text-decoration: none;
}

.footer-mail:hover { color: var(--lime-400); }

.footer-meta { font-size: 13px; color: rgba(255, 255, 255, .35); }
