:root {
  --void: #050505;
  --surface: #0c0c0c;
  --sheet: #121214;
  --text: rgba(245, 245, 245, 0.94);
  --muted: rgba(245, 245, 245, 0.58);
  --faint: rgba(245, 245, 245, 0.32);
  --accent: #e10600;
  --accent-soft: #ff2a1f;
  --accent-dim: rgba(225, 6, 0, 0.16);
  --border: rgba(245, 245, 245, 0.1);
  --border-strong: rgba(245, 245, 245, 0.18);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--void);
  color: var(--text);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.55;
  text-transform: lowercase;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; text-transform: lowercase; }
img { max-width: 100%; display: block; }

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

.glow {
  pointer-events: none;
  position: fixed;
  z-index: 0;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.glow-a {
  width: 520px;
  height: 520px;
  top: -180px;
  right: -120px;
  background: radial-gradient(circle, rgba(225, 6, 0, 0.28), transparent 68%);
}
.glow-b {
  width: 420px;
  height: 420px;
  bottom: 10%;
  left: -160px;
  background: radial-gradient(circle, rgba(255, 105, 180, 0.12), transparent 70%);
}

.scanlines,
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
}
.scanlines {
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(0, 0, 0, 0.12) 4px
  );
  opacity: 0.18;
  mix-blend-mode: multiply;
}
.noise {
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.heart { color: var(--accent-soft); }

.top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  padding-top: max(12px, env(safe-area-inset-top));
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--border);
}
.wordmark {
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 14px;
}
.top-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(225, 6, 0, 0.55);
  background: var(--accent-dim);
  color: #fff;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  transition: background 160ms ease, transform 160ms var(--ease);
}
.top-cta:hover { background: rgba(225, 6, 0, 0.28); }
.top-cta:active { transform: scale(0.97); }

main {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 96px;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  min-height: calc(100svh - 72px);
  padding: 48px 0 72px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--faint);
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 500;
}

.brand-line {
  display: inline-block;
  font-size: clamp(44px, 7.5vw, 68px);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 0.95;
  text-shadow: 0 0 40px rgba(225, 6, 0, 0.25);
}

.tagline {
  margin: 22px 0 12px;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-wrap: pretty;
  max-width: 22ch;
}

.lede {
  margin: 0 0 28px;
  max-width: 34ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  text-wrap: pretty;
}

.waitlist {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  max-width: 460px;
}
.waitlist input {
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(18, 18, 20, 0.92);
  color: var(--text);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.waitlist input:focus {
  border-color: rgba(225, 6, 0, 0.55);
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.15);
}
.waitlist button {
  min-height: 52px;
  min-width: 148px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(225, 6, 0, 0.28);
  transition: transform 160ms var(--ease), filter 160ms ease;
}
.waitlist button:hover { filter: brightness(1.06); }
.waitlist button:active { transform: scale(0.97); }
.waitlist button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.form-note {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  padding-left: 6px;
  color: var(--faint);
  font-size: 11px;
  letter-spacing: 0.05em;
}
.form-note.ok { color: #4ad67a; }
.form-note.err { color: #ff7a7a; }

.share-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.ghost {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}
.ghost:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
}

.hero-stage { display: grid; place-items: center; }
.phone {
  width: min(300px, 82vw);
  transform: rotate(-1.8deg);
  animation: float 6s var(--ease) infinite;
}
@keyframes float {
  0%, 100% { transform: rotate(-1.8deg) translateY(0); }
  50% { transform: rotate(-0.8deg) translateY(-8px); }
}
.phone-bezel {
  position: relative;
  padding: 10px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(160deg, rgba(255,255,255,0.08), transparent 35%),
    #0a0a0a;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.8) inset,
    0 28px 70px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(225, 6, 0, 0.08);
}
.notch {
  position: absolute;
  top: 16px;
  left: 50%;
  z-index: 5;
  width: 84px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #050505;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.phone-screen {
  position: relative;
  aspect-ratio: 9 / 17.2;
  overflow: hidden;
  border-radius: 20px;
  background: #070707;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.deck {
  position: absolute;
  /* clear dynamic island above + caption/album chrome below (incl. stack offset) */
  inset: 42px 14px 68px;
}
.card {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #111;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  min-width: 0;
}
.card-b { transform: scale(0.97) translateY(6px); opacity: 0.72; }
.card-c { transform: scale(0.94) translateY(12px); opacity: 0.42; }
.card-a {
  z-index: 3;
  animation: swipeLoop 5.2s var(--ease) infinite;
}
@keyframes swipeLoop {
  0%, 14% { transform: translateX(0) rotate(0deg); }
  30% { transform: translateX(38%) rotate(7deg); }
  36% { transform: translateX(38%) rotate(7deg); opacity: 1; }
  44% { transform: translateX(118%) rotate(12deg); opacity: 0; }
  45% { transform: translateX(-118%) rotate(-11deg); opacity: 0; }
  58% { transform: translateX(-32%) rotate(-6deg); opacity: 1; }
  70% { transform: translateX(-32%) rotate(-6deg); }
  84%, 100% { transform: translateX(0) rotate(0deg); opacity: 1; }
}
.photo {
  min-height: 0;
  height: 100%;
  background-size: cover;
  background-position: center;
}
.p1 {
  background-image:
    radial-gradient(circle at 30% 20%, rgba(255,180,160,0.35), transparent 40%),
    linear-gradient(160deg, rgba(225,6,0,0.28), transparent 50%),
    linear-gradient(30deg, #1c1418, #3d2432 42%, #152230);
}
.p2 {
  background-image:
    radial-gradient(circle at 70% 30%, rgba(255,105,180,0.22), transparent 45%),
    linear-gradient(120deg, #121c18, #1d3040 55%, #1a1218);
}
.p3 {
  background-image:
    radial-gradient(circle at 40% 70%, rgba(180,200,120,0.18), transparent 40%),
    linear-gradient(90deg, #1c1610, #2c2a16 50%, #101820);
}
.card-end {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 10px 10px;
  background: #111;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.note-chip {
  margin: 0;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 7px 9px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.55);
  color: rgba(255, 255, 255, 0.92);
  font-size: 9px;
  letter-spacing: 0.02em;
  line-height: 1.35;
  text-transform: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}
.meta {
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1.35;
  white-space: nowrap;
}
.stamp {
  position: absolute;
  top: 12px;
  z-index: 5;
  padding: 5px 9px;
  border-radius: 6px;
  border: 1.5px solid currentColor;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0;
  backdrop-filter: blur(4px);
  pointer-events: none;
}
.stamp-keep {
  left: 12px;
  color: #4ad67a;
  transform: rotate(-10deg);
  animation: stampKeep 5.2s var(--ease) infinite;
}
.stamp-release {
  right: 12px;
  color: #ff6b6b;
  transform: rotate(10deg);
  animation: stampRelease 5.2s var(--ease) infinite;
}
@keyframes stampKeep {
  0%, 14%, 84%, 100% { opacity: 0; }
  30%, 36% { opacity: 1; }
  44% { opacity: 0; }
}
@keyframes stampRelease {
  0%, 44%, 84%, 100% { opacity: 0; }
  58%, 70% { opacity: 1; }
}
.chrome {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 16px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  letter-spacing: 0.12em;
  background: #070707;
  pointer-events: none;
}
.stage-caption {
  margin: 18px 0 0;
  text-align: center;
  color: var(--faint);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.moves, .split, .steal, .beta, .lockbox-demo, .how {
  padding: 72px 0 28px;
  border-top: 1px solid var(--border);
}
.moves h2,
.split h2,
.steal h2,
.beta h2,
.how h2,
.lockbox-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.section-lede {
  margin: 0 0 28px;
  max-width: 54ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  text-wrap: pretty;
}

.move-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.move-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
}
.glyph {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 1px solid rgba(225, 6, 0, 0.28);
  background: var(--accent-dim);
  color: var(--accent-soft);
  font-size: 18px;
  font-weight: 700;
}
.move-list h3 {
  margin: 2px 0 6px;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.move-list p,
.split p,
.steal p,
.how p,
.beta p {
  margin: 0;
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.55;
  text-wrap: pretty;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: start;
}
.proof {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.proof li {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(14, 14, 16, 0.8);
  color: var(--muted);
}
.proof strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lockbox-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding-top: 56px;
}
.lockbox-points {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.lockbox-points li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: baseline;
  color: var(--muted);
}
.lockbox-points span {
  color: var(--accent-soft);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 11px;
}

.lockbox-card {
  width: min(360px, 100%);
  margin: 0 auto;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent 40%),
    #090909;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(225, 6, 0, 0.08);
}
.lockbox-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(225, 6, 0, 0.45);
  background: var(--accent-dim);
  color: var(--accent-soft);
  font-size: 18px;
}
.handle {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.handle-sub {
  margin: 3px 0 0;
  color: var(--faint);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.nine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  aspect-ratio: 1;
}
.nine-grid .cell {
  position: relative;
  border: 0;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  padding: 0;
  min-height: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.nine-grid .cell:hover {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}
.nine-grid .cell.selected {
  box-shadow: 0 0 0 2px rgba(225, 6, 0, 0.7);
  transform: scale(0.97);
}
.nine-grid .cell.swap {
  animation: cellPulse 0.45s var(--ease);
}
@keyframes cellPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
.nine-grid .cell::after {
  content: attr(data-n);
  position: absolute;
  left: 7px;
  top: 5px;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
}
.c1 { background-image: radial-gradient(circle at 30% 25%, rgba(255,160,140,0.35), transparent 45%), linear-gradient(140deg, #3a2030, #102030 55%, #1a1a1a); }
.c2 { background-image: radial-gradient(circle at 70% 20%, rgba(120,180,255,0.22), transparent 40%), linear-gradient(200deg, #203040, #181018 60%, #102018); }
.c3 { background-image: radial-gradient(circle at 40% 70%, rgba(200,210,120,0.2), transparent 40%), linear-gradient(160deg, #221810, #303018 50%, #101820); }
.c4 { background-image: radial-gradient(circle at 20% 80%, rgba(255,105,180,0.2), transparent 40%), linear-gradient(30deg, #1a1020, #402028 45%, #101818); }
.c5 { background-image: radial-gradient(circle at 50% 30%, rgba(100,220,160,0.18), transparent 45%), linear-gradient(180deg, #102820, #201028 55%, #181810); }
.c6 { background-image: radial-gradient(circle at 80% 40%, rgba(255,180,100,0.18), transparent 40%), linear-gradient(120deg, #281820, #103038 50%, #201010); }
.c7 { background-image: radial-gradient(circle at 35% 20%, rgba(160,140,255,0.2), transparent 40%), linear-gradient(210deg, #181828, #302010 55%, #101820); }
.c8 { background-image: radial-gradient(circle at 60% 70%, rgba(255,120,120,0.18), transparent 40%), linear-gradient(90deg, #201818, #183028 50%, #281018); }
.c9 { background-image: radial-gradient(circle at 45% 35%, rgba(140,220,220,0.18), transparent 40%), linear-gradient(150deg, #101820, #281828 50%, #182010); }
.grid-hint {
  margin: 14px 0 0;
  text-align: center;
  color: var(--faint);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.steal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.steal-grid figure {
  margin: 0;
  padding: 22px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(225, 6, 0, 0.08), transparent 55%),
    rgba(14, 14, 16, 0.7);
}
.steal-grid figcaption {
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.beta-panel {
  padding: clamp(28px, 5vw, 48px);
  border-radius: 24px;
  border: 1px solid rgba(225, 6, 0, 0.4);
  background:
    radial-gradient(600px 240px at 0% 0%, rgba(225, 6, 0, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent),
    var(--sheet);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.waitlist-secondary { max-width: 520px; margin-top: 24px; }

footer {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0 max(40px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
}
footer .mini { font-weight: 700; margin-right: 6px; }
footer a:hover { color: var(--text); }
.fine { margin: 8px 0 0; color: var(--faint); }

@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
    padding: 8px 0 48px;
    align-items: start;
  }
  .hero-stage {
    order: 0;
    width: 100%;
  }
  .phone {
    width: min(200px, 52vw);
    margin: 0 auto;
  }
  .deck {
    inset: 36px 12px 58px;
  }
  .card-end {
    gap: 5px;
    padding: 7px 8px 9px;
  }
  .note-chip {
    font-size: 8px;
    padding: 6px 7px;
    letter-spacing: 0;
  }
  .chrome {
    padding: 12px 12px 14px;
    font-size: 9px;
  }
  .meta {
    font-size: 9px;
  }
  .stamp {
    top: 8px;
    font-size: 10px;
    padding: 4px 7px;
  }
  .tagline {
    max-width: 28ch;
  }
  .lede {
    margin-bottom: 22px;
  }
  .split,
  .lockbox-demo,
  .steal-grid {
    grid-template-columns: 1fr;
  }
  .waitlist {
    grid-template-columns: 1fr;
  }
  .waitlist button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .phone,
  .card-a,
  .stamp-keep,
  .stamp-release {
    animation: none !important;
  }
}
