/* sim landing page */

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.h2 {
  font-size: clamp(2.25rem, 1.2rem + 4.4vw, 4.5rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.sub { margin-top: 18px; font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.25rem); color: var(--slate); max-width: 46ch; }
.sec { padding-block: clamp(80px, 11vw, 152px) 0; }
.fine { margin-top: 18px; color: var(--slate); font-size: 0.875rem; }

/* ---------- hero: your profile on day one ---------- */
.hero { position: relative; padding-bottom: clamp(56px, 8vw, 104px); }
.band {
  height: clamp(132px, 20vw, 240px);
  background:
    radial-gradient(60% 120% at 82% 10%, rgba(255, 255, 255, 0.28), transparent 60%),
    radial-gradient(50% 90% at 12% 110%, rgba(15, 20, 25, 0.35), transparent 70%),
    var(--header-img);
}
.hero-grid { display: grid; gap: 40px; }
.me-avatar {
  width: clamp(104px, 12vw, 140px); aspect-ratio: 1; border-radius: 50%;
  margin-top: calc(clamp(104px, 12vw, 140px) / -2);
  display: grid; place-items: center;
  background: var(--fill); color: #fff;
  font-weight: 900; font-size: clamp(1.75rem, 2.6vw, 2.25rem); letter-spacing: -0.03em;
  box-shadow: 0 0 0 5px var(--bg);
  position: relative;
}
.me-name { margin-top: 16px; font-size: 1.125rem; }
.hero h1 {
  margin-top: 14px;
  font-size: clamp(3rem, 1rem + 7.4vw, 6rem);
  font-weight: 900; line-height: 0.92; letter-spacing: -0.04em;
  max-width: 11ch;
}
.zero { color: var(--cobalt); }
.me-stats { margin-top: 22px; font-size: 1rem; }
.me-stats b { color: var(--ink); font-weight: 800; }
.lede { margin-top: 22px; font-size: clamp(1.0625rem, 0.95rem + 0.45vw, 1.3rem); max-width: 40ch; line-height: 1.5; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.soon { display: inline-flex; align-items: center; gap: 8px; color: var(--slate); font-weight: 600; font-size: 0.975rem; }

.hero-stage { position: relative; display: flex; justify-content: center; padding-bottom: 24px; }
.hero-phone { --w: min(272px, 72vw); }
.notifs {
  list-style: none; margin: 0; padding: 0;
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(320px, calc(100vw - 32px));
  display: grid; gap: 8px;
}
.notif {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 18px;
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--hair);
  box-shadow: var(--shadow-float);
  font-size: 0.925rem; line-height: 1.3;
  animation: notif-in 700ms var(--ease-out) both;
}
.notif .icon { color: var(--cobalt); width: 20px; height: 20px; }
.notif .n-heart { fill: var(--cobalt); }
.notif b { font-weight: 800; }
.notif .seal-i { margin-left: 3px; }
.notif:nth-child(1) { animation-delay: 500ms; }
.notif:nth-child(2) { animation-delay: 1100ms; }
.notif:nth-child(3) { animation-delay: 1700ms; }
.notif:nth-child(4) { animation-delay: 2300ms; }
@media (max-width: 899px) { .notif:nth-child(n+3) { display: none; } }
@keyframes notif-in {
  from { opacity: 0; transform: translateY(14px) scale(0.98); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: none; }
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(32px, 5vw, 80px); align-items: start; }
  .hero-stage { margin-top: calc(clamp(132px, 20vw, 240px) * -0.72); padding: 0 0 0 clamp(120px, 12vw, 190px); }
  .hero-phone { --w: clamp(272px, 24vw, 330px); }
  .notifs { left: 0; bottom: 64px; transform: none; width: 320px; }
}

/* ---------- the loop, as a thread ---------- */
.how { border-top: 1px solid var(--hair); }
.how-grid { display: grid; gap: 56px; }
.thread { list-style: none; margin: 48px 0 0; padding: 0; max-width: 560px; }
.thread li { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; padding-bottom: 36px; }
.thread li:not(:last-child)::before {
  content: ""; position: absolute; left: 23px; top: 54px; bottom: 6px; width: 2px; background: var(--rule); border-radius: 2px;
}
.t-dot {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--raise); border: 1px solid var(--hair); color: var(--ink);
}
.t-dot .icon { width: 22px; height: 22px; }
.thread li:last-child .t-dot { background: var(--cobalt); color: var(--cobalt-ink); border-color: var(--cobalt); }
.thread h3 { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.015em; line-height: 1.3; padding-top: 8px; }
.thread p { margin-top: 6px; color: var(--slate); max-width: 46ch; }
.how-phones { position: relative; display: flex; justify-content: center; min-height: 0; }
.how-phones .p-back { --w: min(230px, 46vw); transform: rotate(-4deg) translateX(-30%); }
.how-phones .p-front { --w: min(230px, 46vw); position: absolute; top: 12%; left: 50%; transform: rotate(3deg) translateX(-20%); }
@media (max-width: 899px) { .how-phones { padding-bottom: 14%; } }
@media (min-width: 900px) {
  .how-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: start; }
  .how-phones { position: sticky; top: 96px; padding-bottom: 80px; }
  .how-phones .p-back, .how-phones .p-front { --w: clamp(230px, 20vw, 280px); }
}

/* ---------- three endings ---------- */
.the-post {
  margin-top: 48px; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px;
  max-width: 760px; padding: 20px 0; border-top: 1px solid var(--hair);
}
.the-post .av { width: 48px; height: 48px; font-size: 0.85rem; }
.post-text { margin-top: 2px; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
.tag { color: var(--cobalt); }
.outcomes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.outcomes li {
  display: grid; gap: 8px 32px; padding-block: 28px; border-bottom: 1px solid var(--hair);
}
.o-word { font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.5rem); font-weight: 900; letter-spacing: -0.04em; line-height: 0.9; }
.o-viral .o-word { position: relative; display: inline-block; padding-bottom: 8px; }
.o-viral .o-word::after {
  content: ""; position: absolute; left: 2px; right: 0; bottom: 0; height: 6px; border-radius: 6px; background: var(--foil);
}
.metrics { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.375rem); font-weight: 700; color: var(--slate); }
.metrics > span { display: inline-flex; align-items: center; gap: 8px; }
.metrics.live { color: var(--cobalt); }
.o-note { margin-top: 10px; color: var(--slate); max-width: 52ch; }
@media (min-width: 760px) {
  .outcomes li { grid-template-columns: minmax(200px, 0.8fr) minmax(0, 2fr); align-items: center; }
}

/* ---------- the crowd ---------- */
.crowd-grid { margin-top: 48px; display: grid; gap: 56px; }
.roster { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--hair); }
.roster li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--hair); }
.roster li p:first-child { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; }
.roster li p + p { margin-top: 2px; }
.roster .seal-i { margin-left: -2px; align-self: center; }
.role {
  margin-top: 2px; font-size: 0.8125rem; white-space: nowrap; font-weight: 700; color: var(--slate);
  border: 1px solid var(--rule); border-radius: var(--radius-pill); padding: 1px 10px;
}
.crowd-side { display: grid; gap: 24px; justify-items: center; align-content: start; }
.crowd-phones { position: relative; display: flex; justify-content: center; width: 100%; padding-bottom: 12%; }
.crowd-phones .p-back { --w: min(220px, 46vw); transform: rotate(-3deg) translateX(-30%); }
.crowd-phones .p-front { --w: min(220px, 46vw); position: absolute; top: 10%; left: 50%; transform: rotate(4deg) translateX(-20%); }
.side-note { color: var(--slate); max-width: 34ch; text-align: center; }
@media (min-width: 720px) { .roster { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
@media (min-width: 1080px) {
  .crowd-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
  .roster { grid-template-columns: 1fr; }
  .crowd-side { position: sticky; top: 96px; }
}

/* ---------- the threshold: always night ---------- */
.viral {
  margin-top: clamp(80px, 11vw, 152px);
  padding-block: clamp(72px, 10vw, 136px);
  background: var(--night); color: var(--night-ink);
  position: relative;
}
.viral::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--foil); }
.viral .sub { color: var(--night-slate); }
.viral ::selection { background: rgba(140, 114, 255, 0.4); }
.reel {
  margin: 56px auto 0; max-width: calc(var(--max) + 2 * var(--gutter));
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 1fr);
  gap: clamp(16px, 2.4vw, 32px);
  padding: 8px var(--gutter) 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-color: #3e4144 transparent;
}
.reel-item { margin: 0; scroll-snap-align: center; display: grid; justify-items: center; gap: 16px; }
.reel .phone { --w: min(240px, 60vw); box-shadow: 0 0 0 1px #2f3336, 0 30px 60px -20px rgba(0, 0, 0, 0.9); }
.reel figcaption { font-weight: 700; color: var(--night-ink); }
.reel:focus-visible { outline-offset: -3px; }
@media (min-width: 1100px) {
  .reel { overflow: visible; grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); }
  .reel-item:nth-child(even) { transform: translateY(48px); }
}

/* ---------- earned: the seal ---------- */
.earned-grid { display: grid; gap: 48px; align-items: center; }
.seal-stage { display: grid; place-items: center; perspective: 900px; }
.seal {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 40%; --shift: 30%;
  position: relative; width: min(340px, 70vw); aspect-ratio: 1;
  -webkit-mask: url("brand/seal-shape.svg") center / contain no-repeat;
  mask: url("brand/seal-shape.svg") center / contain no-repeat;
  background: linear-gradient(135deg, #4ccbff 0%, #ff6fcf 18%, #ffd23f 34%, #3fe29a 50%, #8c72ff 66%, #4ccbff 82%, #ff6fcf 100%);
  background-size: 260% 260%;
  background-position: var(--shift) var(--shift);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 500ms var(--ease-out), background-position 500ms var(--ease-out);
  animation: foil-drift 9s ease-in-out infinite alternate;
}
.seal.is-live { animation: none; transition-duration: 120ms; }
.seal-sheen {
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0) 45%);
  mix-blend-mode: soft-light;
}
.seal-check { position: absolute; inset: 0; width: 100%; height: 100%; }
.seal-check path { fill: none; stroke: #0f1419; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
@keyframes foil-drift { from { background-position: 10% 10%; } to { background-position: 90% 90%; } }
.earn-list { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--hair); max-width: 520px; }
.earn-list li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--hair); font-size: 1.0625rem; }
.earn-list .icon { color: var(--cobalt); transform: translateY(3px); }
.earn-list b { font-weight: 800; }
@media (min-width: 900px) { .earned-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }

/* ---------- AI and privacy ---------- */
.ai-grid { margin-top: 48px; display: grid; gap: 40px; }
.writers { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.writers li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--hair); }
.writers .icon { width: 26px; height: 26px; margin-top: 2px; }
.writers h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.015em; }
.writers p { margin-top: 4px; color: var(--slate); max-width: 52ch; }
.ledger { background: var(--raise); border-radius: 24px; padding: clamp(24px, 3vw, 36px); align-self: start; }
.ledger h3 { font-size: 1.125rem; font-weight: 800; }
.ledger dl { margin: 16px 0 20px; }
.ledger dl div { padding: 12px 0; border-top: 1px solid var(--rule); }
.ledger dt { font-weight: 800; }
.ledger dd { margin: 2px 0 0; color: var(--slate); }
.ledger a { font-weight: 700; display: inline-block; padding: 6px 0; }
@media (min-width: 900px) { .ai-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); column-gap: 56px; } }

/* ---------- close ---------- */
.close { padding-block: clamp(96px, 13vw, 176px) clamp(56px, 8vw, 96px); }
.close-mark { width: 100%; max-width: 980px; height: auto; margin-inline: auto; }
.close-row { margin-top: clamp(40px, 6vw, 72px); display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: end; justify-content: space-between; }
.close .h2 { max-width: 14ch; }
