/* OTO waitlist — cream + dark brown, warm glow, motion.
   Motion is CSS-only so the page stays fast on 4G phones. */

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

:root {
  color-scheme: light;

  --cream:      #F8F3EB;
  --cream-2:    #F1E8DA;
  --cream-3:    #E6D9C5;
  --brown:      #2E1F14;
  --brown-2:    #4A3626;
  --brown-soft: #7A6450;
  --amber:      #D99A4E;
  /* --amber is DECORATION only: dots, glows, borders. As text on cream it is
     2.19:1, which is unreadable. Anything that is read uses --amber-ink,
     which is the same hue at 5.14:1 on cream and 4.68:1 on cream-2. */
  --amber-ink:  #8C5D1C;
  --line:       rgba(46, 31, 20, .13);
  --danger:     #A33A2A;
  --good:       #3F6B4E;

  --r:    22px;
  --rl:   999px;
  --ease: cubic-bezier(.22, .8, .3, 1);
  --spring: cubic-bezier(.34, 1.42, .5, 1);
}

html, body { margin: 0; padding: 0; }

body {
  min-height: 100dvh;
  background: var(--cream);
  color: var(--brown);
  font: 16px/1.55 ui-sans-serif, -apple-system, "SF Pro Text", "Segoe UI",
        Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.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;
}

/* ============ ambient glow field ============ */

.glow-field {
  position: fixed; inset: -15vh -10vw; z-index: 0;
  pointer-events: none; overflow: hidden;
  filter: blur(90px); opacity: .6;
}
.glow-field i {
  position: absolute; display: block;
  width: 62vw; height: 62vw; border-radius: 50%;
  will-change: transform;
}
.glow-field i:nth-child(1) {
  background: radial-gradient(circle, #EFC894 0%, transparent 70%);
  top: -12%; left: -18%;
  animation: drift-a 28s ease-in-out infinite;
}
.glow-field i:nth-child(2) {
  background: radial-gradient(circle, #E0A97E 0%, transparent 70%);
  bottom: -18%; right: -20%;
  animation: drift-b 36s ease-in-out infinite;
}
.glow-field i:nth-child(3) {
  background: radial-gradient(circle, #F3DCC0 0%, transparent 72%);
  top: 38%; left: 34%;
  animation: drift-a 44s ease-in-out infinite reverse;
  opacity: .7;
}
@keyframes drift-a {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50%     { transform: translate3d(6vw, 7vh, 0) scale(1.16); }
}
@keyframes drift-b {
  0%,100% { transform: translate3d(0,0,0) scale(1.06); }
  50%     { transform: translate3d(-7vw, -6vh, 0) scale(.9); }
}

/* ============ layout ============ */

.wrap {
  position: relative; z-index: 1;
  width: 100%; max-width: 540px;
  margin: 0 auto;
  padding: max(20px, env(safe-area-inset-top)) 22px 48px;
}

/* ============ header ============ */

.top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 22px;
}

.logo {
  width: 52px; height: 52px;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(46,31,20,.22));
  animation: logo-in .9s var(--spring) backwards;
}
@keyframes logo-in {
  from { opacity: 0; transform: scale(.72) rotate(-9deg); }
  to   { opacity: 1; transform: none; }
}

.lang {
  display: flex; gap: 4px; padding: 4px;
  background: rgba(255,255,255,.62);
  border: 1px solid var(--line);
  border-radius: var(--rl);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 18px -10px rgba(46,31,20,.4);
}
.lang-btn {
  min-width: 54px; min-height: 44px;
  padding: 0 15px;
  border: 0; border-radius: var(--rl);
  background: transparent; color: var(--brown-soft);
  font: inherit; font-weight: 800; font-size: 14px;
  letter-spacing: .06em; cursor: pointer;
  transition: background .22s var(--ease), color .22s var(--ease),
              transform .22s var(--spring), box-shadow .22s;
}
.lang-btn:active { transform: scale(.93); }
.lang-btn.is-on {
  background: var(--brown); color: var(--cream);
  box-shadow: 0 6px 16px -8px rgba(46,31,20,.8);
}

/* ============ release status ============ */
/* The web app exists today, the phone apps do not, and the perks arrive at the
   app store launch. All three facts, before the form. */

.notice {
  margin: 0 0 12px;
  padding: 11px 14px;
  border: 1px solid rgba(217,154,78,.4);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255,255,255,.78), rgba(241,232,218,.62));
  box-shadow: 0 10px 24px -20px rgba(46,31,20,.8);
  animation: rise .7s var(--ease) .08s backwards;
}
.notice-row {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 4px 8px;
  font-size: 12.5px; font-weight: 700;
  color: var(--brown-2);
}
.notice-body {
  margin: 7px 0 0;
  font-size: 12.5px; line-height: 1.5;
  color: var(--brown-2);
}
.notice-spots {
  margin: 8px 0 0;
  padding-top: 8px;
  border-top: 1px dashed rgba(46,31,20,.14);
  font-size: 12.5px; font-weight: 800;
  color: var(--brown);
}
.status-item { display: inline-flex; align-items: center; gap: 6px; }
.status-sep { color: rgba(122,100,80,.55); }
.status-dot {
  width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto;
}
.status-dot.is-live { background: var(--good); box-shadow: 0 0 0 3px rgba(63,107,78,.16); }
.status-dot.is-soon { background: var(--amber); box-shadow: 0 0 0 3px rgba(217,154,78,.18); }
.status-link {
  color: inherit; text-decoration: none;
  border-bottom: 1px solid rgba(74,54,38,.35);
  padding-bottom: 1px;
}
.status-link:hover { border-color: var(--brown); }

/* ============ countdown ============ */

.timer {
  display: flex; align-items: center; justify-content: center;
  gap: 9px; flex-wrap: wrap;
  margin: 0 0 20px;
  padding: 12px 18px;
  border-radius: var(--rl);
  background: linear-gradient(135deg, rgba(255,255,255,.8), rgba(241,232,218,.72));
  border: 1px solid rgba(217,154,78,.42);
  box-shadow:
    0 0 0 4px rgba(217,154,78,.08),
    0 14px 30px -18px rgba(46,31,20,.5);
  font-size: 14px; font-weight: 700;
  color: var(--brown-2);
  animation: rise .7s var(--ease) backwards, timer-glow 3.4s ease-in-out infinite;
}
@keyframes timer-glow {
  0%,100% { box-shadow: 0 0 0 4px rgba(217,154,78,.08), 0 14px 30px -18px rgba(46,31,20,.5); }
  50%     { box-shadow: 0 0 0 7px rgba(217,154,78,.14), 0 16px 36px -18px rgba(217,154,78,.6); }
}
.timer-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(217,154,78,.65);
  animation: ping 2s ease-out infinite;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(217,154,78,.65); }
  70%  { box-shadow: 0 0 0 10px rgba(217,154,78,0); }
  100% { box-shadow: 0 0 0 0 rgba(217,154,78,0); }
}
.timer-clock {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  color: var(--brown);
  letter-spacing: -0.01em;
}

/* ============ hero ============ */

.hero { margin: 0 0 26px; }

.hero h1 {
  margin: 0;
  font-size: clamp(38px, 11vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
  animation: rise .8s var(--ease) .06s backwards;
}
.hero .dim {
  color: var(--brown-soft);
  text-shadow: 0 1px 0 rgba(255,255,255,.6);
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); filter: blur(4px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

/* ============ form ============ */

.form-zone { animation: rise .8s var(--ease) .14s backwards; }

#email {
  width: 100%; height: 62px;
  padding: 0 20px;
  font: inherit; font-size: 17px;
  color: var(--brown);
  background: rgba(255,255,255,.82);
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  outline: none;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
#email::placeholder { color: #A89680; }
#email:focus {
  border-color: var(--brown);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(46,31,20,.08);
}
#email.is-bad { border-color: var(--danger); }

.cta {
  position: relative; overflow: hidden;
  width: 100%; min-height: 68px;
  margin-top: 12px;
  border: 0; border-radius: var(--r);
  background: linear-gradient(135deg, #3A2717, var(--brown));
  color: var(--cream);
  font: inherit; font-size: 18px; font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow:
    0 16px 32px -16px rgba(46,31,20,.8),
    0 0 0 0 rgba(217,154,78,.5);
  transition: transform .22s var(--spring), box-shadow .3s, opacity .2s;
  animation: cta-glow 3.2s ease-in-out infinite;
}
@keyframes cta-glow {
  0%,100% { box-shadow: 0 16px 32px -16px rgba(46,31,20,.8), 0 0 0 0 rgba(217,154,78,.42); }
  50%     { box-shadow: 0 18px 36px -16px rgba(46,31,20,.85), 0 0 0 6px rgba(217,154,78,.1); }
}
.cta > span { position: relative; z-index: 1; }
.cta::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 22%, rgba(255,255,255,.32) 50%, transparent 78%);
  transform: translateX(-130%);
  transition: transform .75s var(--ease);
}
.cta:hover:not(:disabled)::before { transform: translateX(130%); }
.cta:active:not(:disabled) { transform: scale(.972); }
.cta:disabled { opacity: .6; cursor: wait; animation: none; }

.micro {
  margin: 14px 0 0; text-align: center;
  font-size: 13.5px; color: var(--brown-soft);
}
.error {
  margin: 12px 0 0; text-align: center;
  font-size: 14px; font-weight: 600; color: var(--danger);
}

/* ============ turnstile ============ */

.ts-wrap {
  margin-top: 14px;
  display: flex; justify-content: center;
  min-height: 65px;
}
.ts-wrap > div { width: 100%; max-width: 340px; }
/* Turnstile renders its own iframe; constrain it so it never overflows */
.ts-wrap iframe { border-radius: 14px; }

/* ============ success ============ */

.done { text-align: center; animation: rise .55s var(--ease) backwards; }

.check {
  width: 64px; height: 64px; margin: 0 auto 16px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brown); color: var(--cream);
  font-size: 31px; font-weight: 800;
  box-shadow: 0 14px 30px -14px rgba(46,31,20,.85);
  animation: pop .55s var(--spring) backwards;
}
@keyframes pop {
  0%   { transform: scale(.45); opacity: 0; }
  60%  { transform: scale(1.09); opacity: 1; }
  100% { transform: scale(1); }
}

.done h2 {
  margin: 0 0 10px;
  font-size: 26px; font-weight: 800; letter-spacing: -0.025em;
}
.position { margin: 0 0 22px; font-size: 16px; color: var(--brown-2); }
.position strong {
  display: inline-block; padding: 0 6px;
  font-size: 23px; font-weight: 800; color: var(--brown);
}

.refer {
  margin-top: 26px; padding: 20px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-align: left;
  box-shadow: 0 12px 28px -20px rgba(46,31,20,.5);
}
.refer-title { margin: 0 0 6px; font-weight: 800; font-size: 15.5px; }
.refer-sub { margin: 0 0 14px; font-size: 14px; color: var(--brown-soft); line-height: 1.5; }

.refstat {
  margin: 0 0 14px;
  padding: 10px 13px;
  background: rgba(217,154,78,.15);
  border: 1px solid rgba(217,154,78,.3);
  border-radius: 11px;
  font-size: 13.5px; font-weight: 700;
  line-height: 1.45;
  color: var(--brown-2);
  animation: rise .5s var(--ease) .35s backwards;
}

.refer-row { display: flex; gap: 8px; }
#referLink {
  flex: 1; min-width: 0; height: 52px; padding: 0 14px;
  font: inherit; font-size: 13.5px; color: var(--brown-2);
  background: var(--cream-2);
  border: 1px solid var(--line); border-radius: 14px; outline: none;
}
#copyBtn {
  min-width: 90px; height: 52px; padding: 0 18px;
  border: 0; border-radius: 14px;
  background: var(--brown); color: var(--cream);
  font: inherit; font-weight: 700; font-size: 15px;
  cursor: pointer;
  transition: transform .2s var(--spring), background .2s;
}
#copyBtn:active { transform: scale(.94); }
#copyBtn.is-done { background: var(--good); }

/* ============ perk chips (above the form) ============ */

.chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; margin: 0 0 18px; padding: 0;
  animation: rise .8s var(--ease) .1s backwards;
}
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px 8px 11px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(217,154,78,.42);
  border-radius: 999px;
  font-size: 13px; font-weight: 700;
  color: var(--brown-2);
  box-shadow: 0 8px 18px -14px rgba(46,31,20,.7);
}
.chip-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(217,154,78,.18);
}

/* ============ founding member perks (collapsible) ============ */

.perks {
  position: relative;
  margin-top: 46px;
  background: linear-gradient(160deg, rgba(255,255,255,.82), rgba(241,232,218,.72));
  border: 1px solid rgba(217,154,78,.36);
  border-radius: var(--r);
  box-shadow:
    0 22px 46px -32px rgba(46,31,20,.85),
    inset 0 1px 0 rgba(255,255,255,.65);
}

/* While collapsed, the card breathes so people notice it is clickable.
   Opening it stops the animation immediately. */
.perks:not([open]) { animation: coax 2.8s ease-in-out infinite; }
@keyframes coax {
  0%, 100% {
    border-color: rgba(217,154,78,.36);
    box-shadow: 0 22px 46px -32px rgba(46,31,20,.85), 0 0 0 0 rgba(217,154,78,0);
  }
  50% {
    border-color: rgba(217,154,78,.72);
    box-shadow: 0 24px 48px -32px rgba(46,31,20,.9), 0 0 0 9px rgba(217,154,78,.11);
  }
}
.perks[open] { overflow: hidden; }

.perks-summary {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  border-radius: var(--r);
  -webkit-tap-highlight-color: transparent;
}
.perks-summary::-webkit-details-marker { display: none; }
.perks-summary:focus-visible {
  outline: 2.5px solid var(--brown);
  outline-offset: 3px;
}

.perks-head { flex: 1; min-width: 0; }

.perks-title {
  display: block;
  margin-top: 9px;
  font-size: 17px; font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.25;
  color: var(--brown);
}

.perks-hint {
  display: block;
  margin-top: 3px;
  font-size: 12.5px; font-weight: 600;
  color: var(--amber-ink);
  animation: hint-blink 2.8s ease-in-out infinite;
}
@keyframes hint-blink {
  0%, 100% { opacity: .55; }
  50%      { opacity: 1; }
}
.perks[open] .perks-hint { display: none; }

.perks-chevron {
  flex: 0 0 auto;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(217,154,78,.16);
  color: var(--brown);
  transition: transform .35s var(--ease), background .3s;
}
.perks-chevron svg { width: 18px; height: 18px; }
.perks[open] .perks-chevron {
  transform: rotate(180deg);
  background: rgba(217,154,78,.3);
}
.perks:not([open]) .perks-chevron {
  animation: nudge 2.8s ease-in-out infinite;
}
@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(3px); }
}

/* smooth open without JS */
.perks-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .42s var(--ease);
}
.perks[open] .perks-body { grid-template-rows: 1fr; }
.perks-inner { overflow: hidden; }
.perks-inner > .perks-sub { padding: 0 22px; }
.perks-inner > .perk-list { padding: 0 22px 20px; }

.perks-flag {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 7px;
  margin-bottom: 15px;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--brown);
  color: var(--cream);
  font-size: 11px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
}
.perks-flag-shine,
.found-shine {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.38) 50%, transparent 70%);
  transform: translateX(-130%);
  animation: shine-sweep 3.8s var(--ease) infinite;
}
@keyframes shine-sweep {
  0%, 52%   { transform: translateX(-130%); }
  84%, 100% { transform: translateX(130%); }
}

.perks-sub {
  margin: 0 0 6px;
  padding-top: 2px;
  font-size: 14.5px; line-height: 1.55;
  color: var(--brown-soft);
}

.perk-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
}

.perk {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(46,31,20,.09);
}
.perk:first-child { border-top: 0; padding-top: 6px; }
.perk:last-child { padding-bottom: 4px; }

.perk-ico {
  flex: 0 0 auto;
  width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(217,154,78,.16);
  color: var(--brown);
  transition: transform .35s var(--spring), background .3s;
}
.perk-ico svg { width: 20px; height: 20px; }
.perk:hover .perk-ico {
  transform: scale(1.06) rotate(-4deg);
  background: rgba(217,154,78,.26);
}

.perk-body { flex: 1; min-width: 0; }
.perk-body h3 {
  margin: 0 0 3px;
  font-size: 15.5px; font-weight: 800;
  letter-spacing: -0.012em;
}
.perk-body p {
  margin: 0;
  font-size: 14px; line-height: 1.5;
  color: var(--brown-2);
}

/* ============ founding member, on the success screen ============ */

.done { position: relative; }

.found {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 7px;
  margin: 0 auto 14px;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(100deg, #3A2717, var(--brown));
  color: var(--cream);
  font-size: 11px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  animation: pop .6s var(--spring) backwards, found-glow 3.2s ease-in-out infinite;
}
@keyframes found-glow {
  0%,100% { box-shadow: 0 10px 24px -12px rgba(46,31,20,.9), 0 0 0 4px rgba(217,154,78,.14); }
  50%     { box-shadow: 0 12px 28px -12px rgba(46,31,20,.95), 0 0 0 9px rgba(217,154,78,.10); }
}
.found svg { color: var(--amber); flex: 0 0 auto; }
.found-shine { animation-delay: .7s; }

.unlocked {
  list-style: none;
  margin: 0 0 24px; padding: 0;
  display: flex; flex-direction: column; gap: 9px;
  text-align: left;
  animation: rise .6s var(--ease) .25s backwards;
}
.unlocked li {
  position: relative;
  padding-left: 24px;
  font-size: 14px; line-height: 1.5;
  color: var(--brown-2);
}
.unlocked li::before {
  content: '';
  position: absolute; left: 1px; top: 5px;
  width: 13px; height: 7px;
  border-left: 2.2px solid var(--amber);
  border-bottom: 2.2px solid var(--amber);
  transform: rotate(-45deg);
  border-radius: 1px;
}

/* one-off spark burst when someone joins */
.burst {
  position: absolute; left: 50%; top: 30px;
  width: 1px; height: 1px;
  pointer-events: none; z-index: 2;
}
.burst i {
  position: absolute; top: 0; left: 0;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--amber);
  opacity: 0;
  animation: spark 1000ms cubic-bezier(.2,.7,.3,1) forwards;
}
@keyframes spark {
  0%   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(.15); }
}

/* ============ how it works ============ */

.walk { margin-top: 58px; }

.walk-title {
  margin: 0 0 22px;
  font-size: 13px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--brown-soft);
  text-align: center;
}

.walk-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 14px;
}

.walk-step {
  display: flex; align-items: center; gap: 20px;
  padding: 22px;
  background: rgba(255,255,255,.66);
  border: 1px solid var(--line);
  border-radius: var(--r);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 16px 34px -26px rgba(46,31,20,.65);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.walk-step:hover {
  transform: translateY(-2px);
  border-color: rgba(46,31,20,.2);
  box-shadow: 0 22px 44px -26px rgba(46,31,20,.75);
}

.walk-copy { flex: 1; min-width: 0; }

.walk-num {
  display: block;
  font-size: 11.5px; font-weight: 800;
  letter-spacing: .16em;
  color: var(--amber-ink);
  margin-bottom: 5px;
}

.walk-copy h3 {
  margin: 0 0 6px;
  font-size: 17px; font-weight: 800;
  letter-spacing: -0.018em;
  line-height: 1.25;
}

.walk-copy p {
  margin: 0;
  font-size: 14.5px; line-height: 1.55;
  color: var(--brown-2);
}

/* scroll reveal — only active when JS is present, so it degrades safely */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* the little animated art panels */

.walk-art {
  flex: 0 0 auto;
  width: 92px; height: 92px;
}
.art-frame {
  position: relative; overflow: hidden;
  width: 100%; height: 100%;
  border-radius: 18px;
  color: var(--brown);
  background: var(--cream-2);
  box-shadow: inset 0 0 0 1px var(--line);
}

/* --- step 1: background removal sweep --- */
.cutout-bg {
  position: absolute; inset: 0;
  background-color: var(--cream-2);
  background-image:
    linear-gradient(45deg, #E2D5C0 25%, transparent 25%, transparent 75%, #E2D5C0 75%),
    linear-gradient(45deg, #E2D5C0 25%, transparent 25%, transparent 75%, #E2D5C0 75%);
  background-size: 14px 14px;
  background-position: 0 0, 7px 7px;
}
.photo-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #C9A57E, #A87B52);
  transform-origin: left center;
  animation: erase 4.2s var(--ease) infinite;
}
@keyframes erase {
  0%, 14%   { transform: scaleX(1); }
  46%, 68%  { transform: scaleX(0); }
  92%, 100% { transform: scaleX(1); }
}
.garment {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  padding: 13px;
  filter: drop-shadow(0 3px 6px rgba(46,31,20,.22));
}

/* --- step 2: tiles snapping into place --- */
.grid-frame {
  display: grid; gap: 7px;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  padding: 11px;
  background: var(--cream-2);
}
.tile {
  border-radius: 9px;
  background: linear-gradient(145deg, #D7BE9C, #B89268);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
  animation: tile-in 4.2s var(--ease) infinite;
}
.t1 { animation-delay: 0s; }
.t2 { animation-delay: .2s; }
.t3 { animation-delay: .4s; }
.t4 { animation-delay: .6s; }
@keyframes tile-in {
  0%, 12%   { opacity: 0; transform: scale(.6); }
  30%, 70%  { opacity: 1; transform: scale(1); }
  92%, 100% { opacity: 0; transform: scale(.6); }
}

/* --- step 3: outfit assembled + glow --- */
.outfit-frame {
  background: linear-gradient(150deg, var(--cream-2), #E9DCC6);
  display: grid; place-items: center;
}
.halo {
  position: absolute;
  width: 84%; height: 84%; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,154,78,.55), transparent 68%);
  animation: halo 3.2s ease-in-out infinite;
}
@keyframes halo {
  0%,100% { transform: scale(.8); opacity: .4; }
  50%     { transform: scale(1.18); opacity: .95; }
}
.outfit-frame .mini {
  position: relative;
  width: 46%; height: 46%;
  margin: 0 -4px;
  animation: mini-in 4.2s var(--ease) infinite;
}
.outfit-frame {
  grid-template-columns: auto auto;
  grid-auto-flow: column;
  justify-content: center;
  align-content: center;
}
.outfit-frame .mini:nth-of-type(2) { animation-delay: .22s; }
@keyframes mini-in {
  0%, 14%   { opacity: 0; transform: translateY(9px) scale(.85); }
  34%, 72%  { opacity: 1; transform: none; }
  92%, 100% { opacity: 0; transform: translateY(9px) scale(.85); }
}

/* ============ app screens carousel ============ */

.screens { margin-top: 52px; }

.screens-title {
  margin: 0 0 6px;
  font-size: 13px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--brown-soft);
  text-align: center;
}

.screens-sub {
  margin: 0 0 18px;
  text-align: center;
  font-size: 13px;
  color: var(--brown-soft);
}

.carousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* bleed past the page padding so screens run to the edge */
  padding: 6px 22px 20px;
  margin: 0 -22px;
  scroll-padding-inline: 22px;
  overscroll-behavior-x: contain;
}
.carousel::-webkit-scrollbar { display: none; }

.slide {
  flex: 0 0 auto;
  margin: 0;
  /* The frame follows the screenshots rather than the other way round. These
     are 9:16-ish phone captures; a 9:19.5 frame cropped a fifth off every one. */
  width: min(62vw, 252px);
  aspect-ratio: 9 / 16;
  scroll-snap-align: center;
  border-radius: 26px;
  overflow: hidden;
  background: var(--cream-2);
  box-shadow:
    0 22px 46px -26px rgba(46,31,20,.85),
    inset 0 0 0 1px var(--line);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.slide:hover {
  transform: translateY(-3px);
  box-shadow:
    0 28px 52px -26px rgba(46,31,20,.9),
    inset 0 0 0 1px rgba(46,31,20,.2);
}
.slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  -webkit-user-drag: none;
  user-select: none;
}

.dots {
  display: flex; justify-content: center; align-items: center;
  gap: 0; margin-top: 2px;
}
/* The visible dot stays 6px, but the BUTTON is 44px so a thumb can hit it.
   A 6x6 tap target is not a small target, it is a decoration that fails. */
.dot {
  width: 44px; height: 44px; padding: 0;
  border: 0; background: transparent;
  display: grid; place-items: center;
  cursor: pointer;
}
.dot::before {
  content: ''; display: block;
  width: 6px; height: 6px; border-radius: 999px;
  background: rgba(46,31,20,.22);
  transition: width .32s var(--spring), background .3s;
}
.dot.is-on::before { width: 20px; background: var(--brown); }
.dot:focus-visible { outline: 2px solid var(--brown); outline-offset: -8px; border-radius: 999px; }

/* ============ plans ============ */
/* The prices belong on the page, not behind a click. Half the reason a
   waitlist converts is that people can see what they are joining for. */

.plans { margin-top: 34px; }
.plans-title {
  margin: 0 0 6px;
  text-align: center;
  font-size: 13px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--brown-soft);
}
.plans-sub {
  margin: 0 auto 14px;
  max-width: 380px;
  text-align: center;
  font-size: 13px; line-height: 1.5;
  color: var(--brown-soft);
}
.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.plan {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.6);
}
.plan-plus {
  position: relative;
  /* The flag hangs over the top edge, so the card needs room under it or the
     flag lands on top of the plan name. */
  padding-top: 24px;
  border-color: rgba(217,154,78,.55);
  background: linear-gradient(160deg, rgba(255,255,255,.85), rgba(241,232,218,.7));
  box-shadow: 0 14px 28px -22px rgba(46,31,20,.9);
}
.plan-flag {
  position: absolute; top: -9px; left: 12px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--amber); color: var(--brown);
  font-size: 9px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
}
.plan-name {
  margin: 0;
  font-size: 11px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber-ink);
}
.plan-price {
  margin: 4px 0 0;
  font-size: 22px; font-weight: 800;
  letter-spacing: -.02em;
  color: var(--brown);
  font-variant-numeric: tabular-nums;
}
.plan-per {
  font-size: 12px; font-weight: 600;
  color: var(--brown-soft);
}
.plan-list {
  margin: 10px 0 0; padding: 0; list-style: none;
  display: grid; gap: 5px;
}
.plan-list li {
  position: relative;
  padding-left: 15px;
  font-size: 12.5px; line-height: 1.4;
  color: var(--brown-2);
}
.plan-list li::before {
  content: '';
  position: absolute; left: 2px; top: 6px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--amber);
}
.plans-note {
  margin: 12px 0 0;
  text-align: center;
  font-size: 12.5px; font-weight: 700;
  color: var(--brown-2);
}

@media (max-width: 340px) {
  .plan-price { font-size: 19px; }
  .plan-list li { font-size: 12px; }
}

/* ============ footer ============ */

.foot {
  margin-top: 40px;
  text-align: center;
  font-size: 13px;
  color: var(--brown-soft);
}

.foot-claim {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--brown-soft);
}

.foot-links {
  display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center;
  gap: 8px;
  font-size: 13px;
}
.foot-links a {
  color: var(--brown-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(122,100,80,.35);
  /* vertical padding buys a 44px tap target without changing the look */
  padding: 12px 6px;
  transition: color .2s, border-color .2s;
}
.foot-links a:hover {
  color: var(--brown);
  border-color: var(--brown);
}
.foot-links span { color: rgba(122,100,80,.5); }

/* ============ legal pages ============ */

.legal {
  max-width: 660px;
  margin: 0 auto;
  padding: max(22px, env(safe-area-inset-top)) 22px 80px;
  position: relative;
  z-index: 1;
}

.legal-back {
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 26px;
  font-size: 14px; font-weight: 700;
  color: var(--brown-soft);
  text-decoration: none;
}
.legal-back:hover { color: var(--brown); }

.legal h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 8vw, 38px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.legal .updated {
  margin: 0 0 34px;
  font-size: 13.5px;
  color: var(--brown-soft);
}

.legal h2 {
  margin: 34px 0 10px;
  font-size: 17px; font-weight: 800;
  letter-spacing: -0.015em;
}

.legal p,
.legal li {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--brown-2);
}

.legal ul { margin: 0 0 14px; padding-left: 20px; }
.legal li { margin-bottom: 6px; }

.legal a { color: var(--brown); }

/* Anything Milan still has to fill in. Deliberately loud so it cannot
   be missed, and obvious if it ever reaches the live site. */
.fill {
  background: #FFE8A3;
  color: #5A4300;
  padding: 1px 6px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 0.94em;
}

/* ============ toast ============ */

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 60;
  transform: translate(-50%, 18px) scale(.96);
  opacity: 0; pointer-events: none;
  padding: 12px 22px;
  background: var(--brown); color: var(--cream);
  border-radius: var(--rl);
  font-size: 14px; font-weight: 700;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.55);
  transition: opacity .3s var(--ease), transform .38s var(--spring);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0) scale(1); }

/* ============ focus + motion ============ */

:focus-visible {
  outline: 2.5px solid var(--brown);
  outline-offset: 3px;
  border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .photo-bg { transform: scaleX(0); }
  .tile, .outfit-frame .mini { opacity: 1; transform: none; }
  .cta:active:not(:disabled) { transform: none; }
  .slide:hover { transform: none; }
  .carousel { scroll-behavior: auto; }
}

/* wider screens */
@media (min-width: 620px) {
  .wrap { max-width: 600px; }
  .walk-art { width: 112px; height: 112px; }
  .walk-step { padding: 26px; gap: 26px; }
  .walk-copy h3 { font-size: 18.5px; }
  .walk-copy p { font-size: 15px; }
}

/* ============ tier + what happens next (success screen) ============ */

.tier-card {
  margin: 0 0 22px;
  padding: 18px 20px;
  text-align: left;
  background: var(--cream-2);
  border: 1px solid rgba(217,154,78,.5);
  border-radius: 18px;
}
.tier-kicker {
  display: block;
  margin-bottom: 6px;
  font-size: 11px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber-ink);
}
.tier-body {
  margin: 0;
  font-size: 14.5px; line-height: 1.55;
  color: var(--brown-2);
}

.next { text-align: left; margin: 0 0 26px; }
.next-title {
  margin: 0 0 8px;
  font-size: 11px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--brown-soft);
}
.next-list {
  margin: 0; padding: 0; list-style: none;
  display: grid; gap: 8px;
}
.next-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px; line-height: 1.5;
  color: var(--brown-2);
}
.next-list li::before {
  content: '';
  position: absolute; left: 2px; top: 8px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber);
}

/* ============ tier headings inside the perks card ============ */

.tier-head {
  margin: 0 0 4px;
  padding: 0 22px;
  font-size: 11px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber-ink);
}
.tier-head-2 { margin-top: 16px; }

/* ============ share button (native share sheet) ============ */

#shareBtn {
  min-width: 76px; height: 52px; padding: 0 14px;
  border: 1.5px solid var(--brown); border-radius: 14px;
  background: transparent; color: var(--brown);
  font: inherit; font-weight: 700; font-size: 15px;
  cursor: pointer;
  transition: transform .2s var(--spring), background .2s;
}
#shareBtn:active { transform: scale(.94); }
#shareBtn:hover { background: rgba(46,31,20,.06); }

/* ============ short screens ============
   The primary button must not sit below the fold. On a 360x640 phone the
   Turnstile box alone is 72px, which used to push "Claim my spot" off-screen.
   Everything here gives up space, never legibility. */

@media (max-height: 760px) {
  .wrap { padding-top: max(14px, env(safe-area-inset-top)); }
  .top { margin-bottom: 12px; }
  .timer { margin-bottom: 12px; padding: 9px 14px; font-size: 13px; }
  .hero { margin-bottom: 16px; }
  .hero h1 { font-size: clamp(32px, 9.6vw, 44px); line-height: 1.03; }
  .chips { margin-bottom: 14px; }
  .chip { padding: 6px 12px 6px 9px; font-size: 12px; }
  #email { height: 58px; }
  .ts-wrap { margin-top: 10px; min-height: 60px; }
  .cta { min-height: 60px; margin-top: 10px; }
  .micro { margin-top: 10px; font-size: 12.5px; }
}

@media (max-height: 660px) {
  .top { margin-bottom: 8px; }
  .notice { padding: 8px 12px; margin-bottom: 6px; }
  .notice-body { display: none; }
  .notice-row { font-size: 11.5px; }
  .notice-spots { font-size: 11.5px; margin-top: 6px; padding-top: 6px; }
  .hero h1 { font-size: 24px; }
  .timer { margin-bottom: 8px; padding: 5px 10px; font-size: 12px; }
  .chips { gap: 6px; margin-bottom: 8px; }
  .chip { padding: 5px 10px 5px 8px; font-size: 11.5px; }
  .cta { min-height: 54px; font-size: 17px; }
}

/* ============================================================
   v2 layout: live card, slots bar, tiers, waves, next-steps
   The page was a wall of text. These blocks replace prose with
   things you can scan: a badge, a bar, three cards, two numbers.
   ============================================================ */

/* ---- live now -------------------------------------------------- */

.live {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 14px;
  padding: 11px 13px;
  border: 1px solid rgba(63,107,78,.28);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255,255,255,.86), rgba(232,240,233,.7));
  box-shadow: 0 10px 24px -20px rgba(46,31,20,.7);
  animation: rise .7s var(--ease) .06s backwards;
}
.live-dot {
  width: 9px; height: 9px; flex: 0 0 auto;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 0 rgba(63,107,78,.5);
  animation: ping 2.4s ease-out infinite;
}
.live-copy { margin: 0; min-width: 0; flex: 1; }
.live-copy strong {
  display: block;
  font-size: 13.5px; line-height: 1.25;
  color: var(--brown);
}
.live-copy span {
  display: block; margin-top: 1px;
  font-size: 11.5px; line-height: 1.3;
  color: var(--brown-soft);
}
.live-btn {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 5px;
  height: 44px; padding: 0 15px;
  border-radius: 999px;
  background: var(--brown); color: var(--cream);
  font-size: 13px; font-weight: 700;
  text-decoration: none;
  transition: transform .15s var(--spring);
}
.live-btn:active { transform: scale(.95); }

/* ---- slots bar -------------------------------------------------- */

.slots { margin: 0 0 16px; animation: rise .7s var(--ease) .1s backwards; }
.slots-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 10px; margin-bottom: 6px;
}
.slots-label {
  font-size: 10.5px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber-ink);
}
.slots-count {
  font-size: 12.5px; font-weight: 800;
  color: var(--brown-2);
  font-variant-numeric: tabular-nums;
}
.slots-bar {
  height: 9px; border-radius: 999px;
  background: rgba(46,31,20,.1);
  overflow: hidden;
}
.slots-fill {
  display: block; height: 100%; width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--amber), #c4883c);
  transition: width .9s var(--ease);
}
.slots.is-full .slots-fill { background: var(--good); }

/* ---- section titles -------------------------------------------- */

.sec-title {
  margin: 0 0 12px;
  text-align: center;
  font-size: 12.5px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--brown-soft);
}

/* ---- tiers ------------------------------------------------------ */

.tiers { margin-top: 34px; }
.tier-grid { display: grid; gap: 9px; }
.tier {
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.62);
}
.tier-plus { border-color: rgba(217,154,78,.5); }
.tier-max {
  border-color: rgba(46,31,20,.35);
  background: linear-gradient(160deg, rgba(255,255,255,.8), rgba(238,231,219,.75));
  box-shadow: 0 14px 28px -24px rgba(46,31,20,.9);
}
.tier-name {
  margin: 0;
  font-size: 11px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber-ink);
}
.tier-price {
  margin: 3px 0 0;
  font-size: 21px; font-weight: 800;
  letter-spacing: -.02em;
  color: var(--brown);
  font-variant-numeric: tabular-nums;
}
.tier-price span { font-size: 11.5px; font-weight: 600; color: var(--brown-soft); }
.tier-list {
  margin: 9px 0 0; padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.tier-list li {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--cream-2);
  font-size: 11.5px; font-weight: 600;
  color: var(--brown-2);
}
.tier-max .tier-list li { background: rgba(255,255,255,.75); }

/* ---- founders / first wave -------------------------------------- */

.waves {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.waves .sec-title { grid-column: 1 / -1; }
.wave {
  position: relative;
  padding: 14px 13px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.62);
}
.wave-founders {
  border-color: rgba(217,154,78,.6);
  background: linear-gradient(160deg, rgba(255,255,255,.9), rgba(241,232,218,.8));
  box-shadow: 0 16px 30px -24px rgba(46,31,20,.9);
}
.wave-ico {
  display: grid; place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--amber); color: var(--brown);
  font-size: 13px; line-height: 1;
}
.wave-second .wave-ico { background: var(--cream-3); color: var(--brown-2); }
.wave-body { margin-top: 8px; }
.wave-name {
  margin: 0;
  font-size: 10.5px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--brown-soft);
}
.wave-num {
  margin: 2px 0 0;
  font-size: 30px; line-height: 1.05; font-weight: 800;
  letter-spacing: -.04em;
  color: var(--brown);
  font-variant-numeric: tabular-nums;
}
.wave-num span {
  display: block;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--brown-soft);
}
.wave-get {
  margin: 8px 0 0;
  font-size: 12.5px; line-height: 1.35;
  color: var(--brown-2);
}
.wave-get strong { color: var(--brown); }

/* ---- next steps (success) --------------------------------------- */

.done-tier {
  display: inline-block;
  margin: 8px 0 0;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(217,154,78,.22);
  font-size: 11.5px; font-weight: 700;
  color: var(--brown);
}
.next-steps {
  list-style: none;
  margin: 18px 0 0; padding: 0;
  display: grid; gap: 9px;
  text-align: left;
}
.next-steps li { display: flex; align-items: center; gap: 11px; }
.next-steps .n {
  flex: 0 0 auto;
  min-width: 20px;
  font-size: 25px; line-height: 1; font-weight: 800;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}
.next-text {
  flex: 1;
  font-size: 14px; line-height: 1.35;
  color: var(--brown);
}
.next-arrow { color: var(--brown-soft); font-size: 15px; }
.done-cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px;
  height: 48px; padding: 0 20px;
  border-radius: 14px;
  background: var(--brown); color: var(--cream);
  font-size: 14px; font-weight: 700;
  text-decoration: none;
}
.done-cta:active { transform: scale(.97); }

.closed {
  margin: 14px 0 0;
  text-align: center;
  font-size: 14px; font-weight: 600;
  color: var(--brown-2);
}

@media (max-width: 340px) {
  .wave-num { font-size: 26px; }
  .tier-price { font-size: 19px; }
}

/* ============================================================
   AI framing + the camera step
   ============================================================ */

.hero-kicker {
  margin: 0 0 6px;
  font-size: 10.5px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber-ink);
  animation: rise .7s var(--ease) .04s backwards;
}

/* A viewfinder, not a picture frame: four corner brackets, a slow focus
   breath on the garment, and a shutter flash every few seconds. */
.cam-frame {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,255,255,.9), rgba(241,232,218,.9) 70%);
}
.cam-corner {
  position: absolute;
  width: 16px; height: 16px;
  border: 2.5px solid var(--brown);
  border-radius: 3px;
}
.cam-corner.tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.cam-corner.tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.cam-corner.bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.cam-corner.br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

.cam-frame .garment {
  width: 62%;
  animation: focus-breath 3.8s ease-in-out infinite;
}
@keyframes focus-breath {
  0%, 100% { transform: scale(1); opacity: .92; }
  45%      { transform: scale(1.05); opacity: 1; }
}

.cam-flash {
  position: absolute; inset: 0;
  background: #fff;
  opacity: 0;
  animation: shutter 3.8s ease-out infinite;
}
@keyframes shutter {
  0%, 84%   { opacity: 0; }
  87%       { opacity: .85; }
  92%       { opacity: 0; }
  100%      { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .cam-frame .garment, .cam-flash { animation: none; }
}
