/* =========================================================================
   Phil Johansen · Lead Magnet design system
   Ported from the "slead" / simmone-lead-magnet aesthetic:
   dark ink canvas, brand gold accent, glassmorphism, animated grid,
   gold glow CTAs. Mobile-first, fully self-contained (no build step).
   ========================================================================= */

:root {
  --ink: #0a0a0b;
  --ink-50: #111113;
  --ink-100: #16161a;
  --ink-200: #1c1c21;
  --ink-300: #26262c;

  --gold: #ffcf00;
  --gold-soft: #ffe45c;
  --gold-deep: #e6bd00;

  --text: #f5f5f7;
  --text-dim: rgba(245, 245, 247, 0.65);
  --text-faint: rgba(245, 245, 247, 0.45);

  --maxw: 72rem;        /* 1152px */
  --radius: 1rem;

  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter",
    system-ui, sans-serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter",
    system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--ink);
}
::-webkit-scrollbar-thumb {
  background: var(--ink-300);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3a3a42;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 640px) {
  .container {
    padding-inline: 1.5rem;
  }
}

.narrow {
  max-width: 48rem;
}
.center {
  text-align: center;
}
.gold {
  color: var(--gold);
}
.muted {
  color: var(--text-dim);
}

section {
  position: relative;
}

/* ---------- Typography ---------- */
.h1 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.06;
  font-size: clamp(1.85rem, 6vw, 3.25rem);
  text-wrap: balance;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  font-size: clamp(1.6rem, 4.8vw, 2.75rem);
  text-wrap: balance;
}
.h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-size: clamp(1.15rem, 2.6vw, 1.4rem);
}
.lede {
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  color: var(--text-dim);
  line-height: 1.6;
  text-wrap: pretty;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(255, 207, 0, 0.8);
  font-weight: 500;
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 207, 0, 0.5));
}
.eyebrow::after {
  background: linear-gradient(to left, transparent, rgba(255, 207, 0, 0.5));
}

/* ---------- Effects ---------- */
.glass {
  background: rgba(22, 22, 26, 0.6);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.glow-gold {
  box-shadow:
    0 0 0 1px rgba(255, 207, 0, 0.4),
    0 8px 40px -8px rgba(255, 207, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Animated brand-gold grid backdrop */
.grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 207, 0, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 207, 0, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(
    ellipse 80% 60% at 50% 30%,
    #000 30%,
    transparent 80%
  );
  mask-image: radial-gradient(
    ellipse 80% 60% at 50% 30%,
    #000 30%,
    transparent 80%
  );
  animation: gridShift 18s linear infinite;
}
@keyframes gridShift {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 56px 56px, 56px 56px;
  }
}
.glow-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(110px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.glow-orb.gold {
  background: rgba(255, 207, 0, 0.12);
}

/* keep content above backdrops */
.layer {
  position: relative;
  z-index: 1;
}

/* ---------- Badge / pills ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-dim);
}
.dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 9999px;
  background: var(--gold);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.trust-line {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 0.85rem;
  font-size: 0.8125rem;
  color: var(--text-faint);
}
.trust-line span {
  white-space: nowrap;
}

/* warning / qualifier callout */
.callout {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  max-width: 34rem;
  margin: 1.5rem auto 0;
  padding: 0.85rem 1.1rem;
  border-radius: 0.85rem;
  background: rgba(255, 207, 0, 0.06);
  border: 1px solid rgba(255, 207, 0, 0.2);
  font-size: 0.875rem;
  color: var(--text-dim);
  text-align: left;
  line-height: 1.5;
}
.callout .warn {
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1.4;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: 0.85rem;
  padding: 1rem 1.6rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  min-height: 52px;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn-gold {
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover {
  background: var(--gold-soft);
}
.btn:active {
  transform: scale(0.98);
}
.btn-block {
  width: 100%;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(4.5rem, 12vw, 7rem);
  padding-bottom: clamp(3rem, 8vw, 4.5rem);
  overflow: hidden;
}

/* hero visual / mockup placeholder */
.hero-visual {
  position: relative;
  margin: clamp(2rem, 5vw, 2.75rem) auto 0;
  max-width: 540px;
  width: 100%;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -2rem;
  border-radius: 2rem;
  background: rgba(255, 207, 0, 0.06);
  filter: blur(48px);
  z-index: 0;
}
.visual-frame {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 10;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(255, 207, 0, 0.08), transparent 60%),
    var(--ink-100);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 1.5rem;
  text-align: center;
}
.visual-frame .ph-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: rgba(255, 207, 0, 0.12);
  border: 1px solid rgba(255, 207, 0, 0.3);
  display: grid;
  place-items: center;
  color: var(--gold);
}
.visual-frame .ph-label {
  font-size: 0.8125rem;
  color: var(--text-faint);
  max-width: 18rem;
}
/* Hero video fills the 16:10 frame (overrides placeholder centering/padding) */
.visual-frame .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.visual-tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.7rem;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

/* avatar proof row */
.proof-row {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
  font-size: 0.85rem;
  color: var(--text-faint);
}
.proof-avatars {
  display: flex;
}
.proof-avatars span {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  border: 2px solid var(--ink-100);
  margin-left: -0.5rem;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: #fff;
}
.proof-avatars span:first-child {
  margin-left: 0;
}
.proof-row strong {
  color: var(--text);
  font-weight: 600;
}

/* ---------- Opt-in form ---------- */
.optin {
  max-width: 30rem;
  margin-inline: auto;
  text-align: left;
}
.optin .field {
  position: relative;
  margin-bottom: 0.7rem;
}
.optin input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.8rem;
  padding: 0.95rem 1rem;
  font-size: 1rem;
  color: var(--text);
  transition: border-color 0.15s ease, background 0.15s ease;
  min-height: 52px;
}
.optin input::placeholder {
  color: rgba(245, 245, 247, 0.38);
}
.optin input:focus {
  outline: none;
  border-color: rgba(255, 207, 0, 0.6);
  background: rgba(255, 255, 255, 0.06);
}
.optin input.invalid {
  border-color: rgba(255, 90, 90, 0.7);
}

/* phone group: country code + number */
.phone-group {
  display: flex;
  gap: 0.5rem;
}
.phone-group select {
  flex-shrink: 0;
  width: 7.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.8rem;
  padding: 0.95rem 0.6rem;
  font-size: 0.95rem;
  color: var(--text);
  min-height: 52px;
  -webkit-appearance: none;
  appearance: none;
}
.phone-group select:focus {
  outline: none;
  border-color: rgba(255, 207, 0, 0.6);
}
.phone-group input {
  flex: 1;
  min-width: 0;
}
.optin-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-faint);
  margin: 0.25rem 0 0.5rem;
}
.optin .btn {
  margin-top: 0.4rem;
}
.optin .err {
  color: #ff8a8a;
  font-size: 0.8125rem;
  margin-top: 0.5rem;
  min-height: 1rem;
}
.optin .hint {
  font-size: 0.75rem;
  color: var(--text-faint);
  text-align: center;
  margin-top: 0.7rem;
}

/* ---------- Curriculum / steps ---------- */
.section-pad {
  padding-block: clamp(3.5rem, 9vw, 6rem);
  /* contain the ambient glow-orbs so they can't widen the page on mobile */
  overflow: hidden;
}

.steps {
  display: grid;
  gap: 1rem;
  margin-top: clamp(2rem, 5vw, 3rem);
}
@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
.step {
  position: relative;
  display: flex;
  gap: 1rem;
  padding: 1.4rem;
  border-radius: var(--radius);
  background: rgba(28, 28, 33, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.step:hover {
  border-color: rgba(255, 207, 0, 0.25);
}
.step-num {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.7rem;
  background: rgba(255, 207, 0, 0.12);
  border: 1px solid rgba(255, 207, 0, 0.3);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  display: grid;
  place-items: center;
}
.step-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}
.step-body p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.55;
}
.step-body p + p {
  margin-top: 0.5rem;
}

/* ---------- "The promise" editorial header + bento (slead OneAvatar) ---------- */
.promise-head {
  display: grid;
  gap: 1.75rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
@media (min-width: 900px) {
  .promise-head {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: start;
    position: relative;
  }
  /* vertical accent rule between columns */
  .promise-head::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 1px;
    background: linear-gradient(
      to bottom,
      transparent,
      rgba(255, 207, 0, 0.3),
      transparent
    );
  }
}
.promise-title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.08;
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  margin-top: 1rem;
}
.promise-title span {
  display: block;
}
.promise-right p {
  color: var(--text-dim);
  font-size: clamp(0.98rem, 1.8vw, 1.15rem);
  line-height: 1.7;
}
.promise-right p + p {
  margin-top: 1.1rem;
}
.promise-right .quote {
  border-left: 2px solid rgba(255, 207, 0, 0.7);
  padding-left: 1.1rem;
  color: var(--text);
  font-weight: 500;
}

.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-top: clamp(2rem, 5vw, 3rem);
}
@media (min-width: 900px) {
  .bento {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}
.bento-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--ink-100);
  border-radius: 1.25rem;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  transition: border-color 0.2s ease;
}
.bento-card:hover {
  border-color: rgba(255, 207, 0, 0.3);
}
.bento-card::after {
  content: "";
  position: absolute;
  top: -4rem;
  right: -4rem;
  width: 10rem;
  height: 10rem;
  border-radius: 9999px;
  background: rgba(255, 207, 0, 0.1);
  filter: blur(40px);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.bento-card:hover::after {
  opacity: 1;
}
@media (min-width: 900px) {
  .bento-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(255, 207, 0, 0.07), transparent 70%);
  }
  .bento-card.wide {
    grid-column: span 2;
  }
  /* fixed-column variants for clean tiling at specific step counts */
  .bento.bento-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento.bento-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* "You don't need…" reassurance list */
.nots {
  display: grid;
  gap: 0.7rem;
  margin-top: clamp(2rem, 5vw, 2.75rem);
}
@media (min-width: 640px) {
  .nots {
    grid-template-columns: repeat(2, 1fr);
  }
}
.not {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.9rem 1.1rem;
  border-radius: 0.8rem;
  background: rgba(28, 28, 33, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.45;
}
.not .x {
  flex-shrink: 0;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-faint);
  display: grid;
  place-items: center;
  margin-top: 0.05rem;
  font-size: 0.7rem;
}
.bento-num {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: rgba(255, 207, 0, 0.8);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.bento-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.25;
  color: #fff;
}
.bento-card p {
  margin-top: 0.6rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 36rem;
}
/* featured card: big stat on the right (desktop only) */
.bento-stat {
  display: none;
}
@media (min-width: 900px) {
  .featured .bento-stat {
    display: block;
    position: absolute;
    right: clamp(1.5rem, 3vw, 2.5rem);
    top: 50%;
    transform: translateY(-50%);
    text-align: right;
  }
  .featured .bento-num,
  .featured h3,
  .featured p {
    max-width: 62%;
  }
}
.bento-stat .big {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--gold);
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.85;
}
.bento-stat .label {
  display: block;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-faint);
  margin-top: 0.3rem;
}

/* ---------- Flow diagram ---------- */
.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: clamp(2rem, 5vw, 2.75rem);
}
.flow-node {
  display: inline-flex;
  align-items: center;
  border-radius: 0.7rem;
  padding: 0.65rem 0.95rem;
  font-size: 0.8125rem;
  font-weight: 500;
  background: rgba(28, 28, 33, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}
.flow-node.accent {
  background: linear-gradient(135deg, rgba(255, 207, 0, 0.16), rgba(255, 207, 0, 0.04));
  border-color: rgba(255, 207, 0, 0.4);
  color: var(--gold-soft);
}
.flow-arrow {
  color: rgba(255, 207, 0, 0.6);
  flex-shrink: 0;
}

/* ---------- Founder section ---------- */
.founder {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
}
@media (min-width: 768px) {
  .founder {
    grid-template-columns: 0.8fr 1.2fr;
  }
}
.founder-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 207, 0, 0.1), transparent 60%),
    var(--ink-100);
  display: grid;
  place-items: center;
  color: var(--text-faint);
  font-size: 0.8rem;
  text-align: center;
  padding: 1.5rem;
}
.founder-photo .ph-icon {
  position: absolute;
  top: 1rem;
  left: 1rem;
}
/* Live media fills the founder frame (overrides the placeholder padding) */
.founder-photo .founder-video,
.founder-photo .founder-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
/* Subtle bottom gradient so an overlaid caption stays legible */
.founder-photo .founder-video + .founder-cap,
.founder-photo .founder-img + .founder-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.5rem 1rem 0.9rem;
  background: linear-gradient(to top, rgba(10, 10, 11, 0.8), transparent);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.7);
  text-align: left;
}
.founder-body p {
  color: var(--text-dim);
  margin-bottom: 0.8rem;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.7;
}
.founder-body p strong {
  color: var(--text);
  font-weight: 600;
}

/* ---------- Outcomes checklist ---------- */
.outcomes {
  display: grid;
  gap: 0.7rem;
  margin-top: clamp(2rem, 5vw, 2.75rem);
}
@media (min-width: 640px) {
  .outcomes {
    grid-template-columns: repeat(2, 1fr);
  }
}
.outcome {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.9rem 1.1rem;
  border-radius: 0.8rem;
  background: rgba(28, 28, 33, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.45;
}
.outcome .tick {
  flex-shrink: 0;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 9999px;
  background: rgba(255, 207, 0, 0.18);
  border: 1px solid rgba(255, 207, 0, 0.45);
  color: var(--gold);
  display: grid;
  place-items: center;
  margin-top: 0.05rem;
}

/* ---------- Challenge: pillar checklists, ghost buttons, button stacks ---------- */
.pillar-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.plist {
  list-style: none;
  margin-top: 0.7rem;
  display: grid;
  gap: 0.55rem;
}
.plist li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.45;
}
.plist li::before {
  content: "";
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.12rem;
  border-radius: 0.32rem;
  border: 1px solid rgba(255, 207, 0, 0.45);
  background: rgba(255, 207, 0, 0.12);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.btn-ghost:hover {
  border-color: rgba(255, 207, 0, 0.5);
  background: rgba(255, 255, 255, 0.06);
}
.btn-stack {
  display: grid;
  gap: 0.7rem;
  max-width: 30rem;
  margin: 2rem auto 0;
}
@media (min-width: 560px) {
  .btn-stack.two {
    grid-template-columns: 1fr 1fr;
  }
}
.welcome-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: rgba(255, 207, 0, 0.12);
  border: 1px solid rgba(255, 207, 0, 0.3);
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  color: var(--gold);
  margin: 0 auto 1.25rem;
}
.hidden {
  display: none !important;
}
/* QR placeholder for the selfie-video upload step */
.qr-ph {
  width: 8rem;
  height: 8rem;
  flex-shrink: 0;
  border-radius: 0.9rem;
  border: 1px dashed rgba(255, 207, 0, 0.4);
  background: rgba(255, 207, 0, 0.05);
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 0.5rem;
}

/* ========== Daily Protocol · animated pillar cards ========== */
.proto {
  display: grid;
  gap: 1rem;
  margin-top: clamp(2.25rem, 5vw, 3.25rem);
}
@media (min-width: 760px) {
  .proto {
    grid-template-columns: repeat(2, 1fr);
  }
}
.proto-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  background: linear-gradient(180deg, rgba(28, 28, 33, 0.72), rgba(16, 16, 18, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: clamp(1.4rem, 2.4vw, 2rem);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.proto-card:hover {
  border-color: rgba(255, 207, 0, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -28px rgba(255, 207, 0, 0.35);
}
/* top accent bar grows on reveal */
.proto-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-soft));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}
.proto-card.in::before {
  transform: scaleX(1);
}
/* hover glow orb */
.proto-card::after {
  content: "";
  position: absolute;
  top: -3rem;
  right: -3rem;
  width: 9rem;
  height: 9rem;
  border-radius: 9999px;
  background: rgba(255, 207, 0, 0.14);
  filter: blur(38px);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.proto-card:hover::after {
  opacity: 1;
}
.proto-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}
.proto-icon {
  flex-shrink: 0;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 0.85rem;
  background: rgba(255, 207, 0, 0.12);
  border: 1px solid rgba(255, 207, 0, 0.35);
  color: var(--gold);
  display: grid;
  place-items: center;
  transition: transform 0.3s ease, background 0.3s ease;
}
.proto-card:hover .proto-icon {
  transform: rotate(-6deg) scale(1.06);
  background: rgba(255, 207, 0, 0.2);
}
.proto-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  color: #fff;
}
.proto-no {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: rgba(255, 207, 0, 0.28);
}
.proto-list {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}
.proto-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--text-dim);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.proto-card.in .proto-list li {
  opacity: 1;
  transform: none;
}
.proto-card.in .proto-list li:nth-child(1) { transition-delay: 0.18s; }
.proto-card.in .proto-list li:nth-child(2) { transition-delay: 0.28s; }
.proto-card.in .proto-list li:nth-child(3) { transition-delay: 0.38s; }
.proto-card.in .proto-list li:nth-child(4) { transition-delay: 0.48s; }
.proto-card.in .proto-list li:nth-child(5) { transition-delay: 0.58s; }
.proto-list .chk {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.05rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(255, 207, 0, 0.45);
  background: rgba(255, 207, 0, 0.1);
  color: var(--gold);
  display: grid;
  place-items: center;
}
.proto-list .chk svg {
  width: 0.7rem;
  height: 0.7rem;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.5, 0.64, 1);
}
.proto-card.in .proto-list li:nth-child(1) .chk svg { transition-delay: 0.3s; }
.proto-card.in .proto-list li:nth-child(2) .chk svg { transition-delay: 0.4s; }
.proto-card.in .proto-list li:nth-child(3) .chk svg { transition-delay: 0.5s; }
.proto-card.in .proto-list li:nth-child(4) .chk svg { transition-delay: 0.6s; }
.proto-card.in .proto-list li:nth-child(5) .chk svg { transition-delay: 0.7s; }
.proto-card.in .proto-list .chk svg {
  opacity: 1;
  transform: scale(1);
}

/* ========== Who this is for · animated roster ========== */
.who2 {
  display: grid;
  gap: 0.7rem;
  margin-top: clamp(2.25rem, 5vw, 3rem);
}
@media (min-width: 640px) {
  .who2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
.who2-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.2rem;
  border-radius: 0.85rem;
  background: rgba(28, 28, 33, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.97rem;
  color: var(--text);
  line-height: 1.4;
  overflow: hidden;
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease, background 0.25s ease;
}
.who2.in .who2-item {
  opacity: 1;
  transform: none;
}
.who2.in .who2-item:nth-child(1) { transition-delay: 0.04s; }
.who2.in .who2-item:nth-child(2) { transition-delay: 0.1s; }
.who2.in .who2-item:nth-child(3) { transition-delay: 0.16s; }
.who2.in .who2-item:nth-child(4) { transition-delay: 0.22s; }
.who2.in .who2-item:nth-child(5) { transition-delay: 0.28s; }
.who2.in .who2-item:nth-child(6) { transition-delay: 0.34s; }
.who2.in .who2-item:nth-child(7) { transition-delay: 0.4s; }
.who2.in .who2-item:nth-child(8) { transition-delay: 0.46s; }
.who2-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}
.who2-item:hover {
  border-color: rgba(255, 207, 0, 0.35);
  background: rgba(255, 207, 0, 0.05);
  transform: translateX(4px);
}
.who2-item:hover::before {
  transform: scaleY(1);
}
.who2-item .arw {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: rgba(255, 207, 0, 0.14);
  border: 1px solid rgba(255, 207, 0, 0.4);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
}
/* bold contrast line under the roster */
.who-note {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  max-width: 40rem;
  margin: 1.75rem auto 0;
  padding: 1.1rem 1.4rem;
  border-radius: 0.9rem;
  background: linear-gradient(180deg, rgba(255, 207, 0, 0.08), rgba(255, 207, 0, 0.02));
  border: 1px solid rgba(255, 207, 0, 0.3);
  text-align: left;
}
.who-note .x {
  flex-shrink: 0;
  font-size: 1.3rem;
}
.who-note p {
  font-size: 1rem;
  line-height: 1.5;
  color: #fff;
  font-weight: 500;
}
.who-note p .muted {
  color: var(--text-dim);
  font-weight: 400;
}

/* ---------- Final CTA ---------- */
.final-cta {
  padding-block: clamp(4rem, 10vw, 7rem);
  overflow: hidden;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(245, 245, 247, 0.3);
  line-height: 1.7;
}
.site-footer a {
  color: rgba(245, 245, 247, 0.45);
}
.site-footer a:hover {
  color: var(--gold);
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(120%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.sticky-cta.show {
  transform: translateY(0);
}
.sticky-cta .btn {
  width: 100%;
  min-height: 50px;
}
@media (min-width: 768px) {
  .sticky-cta {
    display: none;
  }
}

/* ---------- Social-proof toast ---------- */
.sp-toast {
  position: fixed;
  left: 0.85rem;
  bottom: 5.25rem;
  z-index: 40;
  max-width: 18rem;
  opacity: 0;
  transform: translateY(1rem) scale(0.96);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
@media (min-width: 768px) {
  .sp-toast {
    bottom: 1.25rem;
  }
}
.sp-toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.sp-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 1rem;
  padding: 0.5rem 0.85rem 0.5rem 0.5rem;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}
.sp-avatar {
  position: relative;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}
.sp-avatar::after {
  content: "";
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 9999px;
  background: var(--gold);
  box-shadow: 0 0 0 2px var(--ink-100);
}
.sp-text {
  min-width: 0;
  flex: 1;
}
.sp-name {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sp-name .from {
  color: var(--text-faint);
}
.sp-meta {
  font-size: 0.6875rem;
  color: var(--text-faint);
  margin-top: 0.1rem;
}
.sp-meta .ago {
  color: rgba(255, 207, 0, 0.8);
}
.sp-close {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border: none;
  background: transparent;
  border-radius: 9999px;
  color: rgba(245, 245, 247, 0.3);
  display: grid;
  place-items: center;
  transition: color 0.15s ease, background 0.15s ease;
}
.sp-close:hover {
  color: rgba(245, 245, 247, 0.8);
  background: rgba(255, 255, 255, 0.05);
}

/* ---------- Confirmation page ---------- */
.confirm-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.confirm-main {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.25rem;
  overflow: hidden;
}
.confirm-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: rgba(255, 207, 0, 0.15);
  border: 1px solid rgba(255, 207, 0, 0.35);
  padding: 0.4rem 0.9rem;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.75rem;
}
.confirm-badge .check {
  display: grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  border-radius: 9999px;
  background: var(--gold);
  color: var(--ink);
}
.confirm-steps {
  display: grid;
  gap: 0.6rem;
  max-width: 30rem;
  margin: 2.25rem auto 0;
  text-align: left;
}
.confirm-step {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  background: rgba(28, 28, 33, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
  color: var(--text-dim);
}
.confirm-step b {
  color: var(--text);
  font-weight: 600;
}
.confirm-step .n {
  flex-shrink: 0;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 9999px;
  background: rgba(255, 207, 0, 0.14);
  border: 1px solid rgba(255, 207, 0, 0.35);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  display: grid;
  place-items: center;
}

/* ---------- Reveal-on-scroll animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* confetti canvas sits above everything but ignores input */
#confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 60;
}
