/* tap.store landing.
   A white opening screen, then a deep-blue "stage" that widens to the full screen as you
   scroll and tells one story with parallax: post → tap → store → payment → payout.
   Display: Bricolage Grotesque. Text: Instrument Sans. Addresses and money: DM Mono. */

@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/fonts/instrument-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("/fonts/dm-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #FFFFFF;
  --canvas: #F2F5F9;
  --line: #DDE2EA;
  --ink: #0D0F1B;
  --ink-soft: #535870;
  --violet: #084FFF;
  --violet-deep: #0936AD;
  --violet-tint: #E6EDFF;
  --stage: #0A3ACC;
  --stage-lift: #1B4FE6;
  --yellow: #F6D548;
  --pink: #E662A8;
  --orange: #F08B3E;
  --mint: #86E3AC;
  --blue: #2F6FDB;
  --blue-tint: #E3EEFF;
  --magenta: #B42BC9;
  --magenta-tint: #FAE6FD;
  --green: #17794A;
  --red: #B3243F;
  --display: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r-lg: 22px;
  --r-md: 14px;
  /* set from script while scrolling; these are the resting values */
  --stage-inset: 20px;
  --stage-radius: 44px;
}

* { box-sizing: border-box; }
/* Sideways scrolling is switched off on the root as well as on body: some mobile browsers
   ignore it on body alone and let the page be dragged sideways. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--text); overflow-x: hidden; overflow-x: clip; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--violet); text-underline-offset: 3px; }
a:hover { color: var(--violet-deep); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 40; }
.skip:focus { top: 12px; }

/* ---- top bar ---- */
.top { position: sticky; top: 0; z-index: 20; padding-block: 12px; padding-top: max(12px, env(safe-area-inset-top, 0px)); }
.top { background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: background .2s; }
.top.is-over-stage { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.top .btn--dark, .top__nav { transition: color .2s, background .2s; }
.top.is-over-stage .logo-mark, .top.is-over-stage .logo-word { fill: #fff; }
.top.is-over-stage .logo-fold { fill: #B8CBFF; }
.top.is-over-stage .top__nav { background: #fff; }
.top.is-over-stage .btn--dark { background: #fff; color: var(--ink); }
.top__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mark { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.mark__logo { display: block; height: 30px; width: auto; }
.mark__logo path { transition: fill .2s; }
.top__nav { display: none; gap: 4px; background: var(--canvas); border-radius: 16px; padding: 6px; }
.top__nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15.5px; padding: 9px 16px; border-radius: 11px; }
.top__nav a:hover { background: var(--paper); }
.top.is-over-stage .top__nav a:hover { background: var(--canvas); }

.btn { appearance: none; border: 0; cursor: pointer; display: inline-grid; place-items: center; min-height: 54px; padding: 0 24px; border-radius: var(--r-md); background: var(--violet); color: #fff; font: 600 17px/1 var(--text); text-decoration: none; white-space: nowrap; box-shadow: 0 12px 24px -12px rgba(8, 79, 255, .5); transition: background .15s, transform .08s; }
.btn:hover { background: var(--violet-deep); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn--dark { background: var(--ink); box-shadow: none; }
.btn--dark:hover { background: #23263A; }
.btn--small { min-height: 44px; padding: 0 18px; font-size: 15.5px; border-radius: 12px; }
.btn--quiet { background: var(--canvas); color: var(--ink); box-shadow: none; }
.btn--quiet:hover { background: var(--line); color: var(--ink); }

/* ---- hero ---- */
.hero { padding-block: 20px 0; }
.hero__inner { display: grid; justify-items: center; text-align: center; gap: 18px; }
h1 { font: 600 clamp(42px, 11.5vw, 104px)/.96 var(--display); letter-spacing: -.045em; text-wrap: balance; max-width: 11em; }
.lede { font-size: clamp(17px, 2.1vw, 21px); color: var(--ink-soft); max-width: 36em; text-wrap: pretty; }

/* ---- form ---- */
.join { width: 100%; max-width: 860px; margin-top: 8px; display: grid; gap: 10px; text-align: left; }
.join__row { display: grid; gap: 12px; background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 14px; box-shadow: 0 24px 48px -32px rgba(13, 15, 27, .35); }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 13.5px; font-weight: 600; padding-left: 2px; }
.optional { font-weight: 400; color: var(--ink-soft); }
.field > input, .url { width: 100%; min-height: 52px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--canvas); font: 400 17px/1.2 var(--text); color: var(--ink); }
.field > input { padding: 0 14px; }
.field input::placeholder { color: #878B9C; }
.field > input:focus-visible, .url:focus-within { outline: 3px solid var(--violet); outline-offset: 1px; border-color: var(--violet); background: var(--paper); }
.url { display: flex; align-items: center; padding-left: 14px; overflow: hidden; }
.url__prefix { font: 500 16px/1 var(--mono); color: var(--ink-soft); white-space: nowrap; }
.url input { flex: 1; min-width: 0; min-height: 49px; border: 0; padding: 0 14px 0 1px; font: 500 16px/1 var(--mono); color: var(--ink); background: transparent; outline: none; }
.hint { font-size: 13.5px; color: var(--ink-soft); text-align: center; }
.hint:empty { display: none; }
.hint[data-state="ok"] { color: var(--green); font-weight: 600; }
.hint[data-state="bad"] { color: var(--red); font-weight: 600; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { font-size: 15px; font-weight: 600; color: var(--red); text-align: center; }
.status:empty { display: none; }
.fine { font-size: 13.5px; color: var(--ink-soft); text-align: center; }
.done { background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 8px; justify-items: center; text-align: center; }
.done__title { font: 700 28px/1.1 var(--display); letter-spacing: -.02em; }
.done__addr { font: 500 16px/1.4 var(--mono); color: var(--violet-deep); background: var(--violet-tint); border-radius: 10px; padding: 8px 12px; overflow-wrap: anywhere; }
.done p { color: var(--ink-soft); }

/* ---- stage ---- */
.stage { position: relative; margin-top: 48px; overflow-x: clip; }
.stage__layers, .stage__panel { margin-inline: var(--stage-inset); }
.stage__layers { position: absolute; inset: 0 0 auto 0; height: 0; }
.layer { position: absolute; left: 0; right: 0; height: 320px; border-radius: var(--stage-radius) var(--stage-radius) 0 0; transform-origin: 0 100%; }
.layer--yellow { top: -18px; background: var(--yellow); transform: rotate(-1.1deg); }
.layer--pink { top: -9px; background: var(--pink); transform: rotate(-.55deg); }
.stage__panel { position: relative; background: var(--stage); color: #fff; border-radius: var(--stage-radius) var(--stage-radius) 0 0; overflow: hidden; padding: 56px 0 120px; }

.orb, .ring { position: absolute; border-radius: 50%; pointer-events: none; }
.orb { background: var(--stage-lift); }
.orb--a { width: 760px; height: 760px; right: -280px; top: 300px; }
.orb--b { width: 620px; height: 620px; left: -300px; top: 1060px; }
.ring { border: 1.5px solid rgba(255, 255, 255, .22); }
.ring--a { width: 560px; height: 560px; right: -80px; top: 620px; }
.ring--b { width: 380px; height: 380px; left: 6%; top: 1320px; }

.journey { position: relative; width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 20px; display: grid; gap: 64px; justify-items: center; }
.journey__path { display: none; }
.scene { position: relative; width: 100%; display: grid; justify-items: center; gap: 16px; }
.dot, .cube { display: none; }

.chip { position: relative; z-index: 2; display: inline-block; font: 600 16px/1 var(--text); color: var(--ink); padding: 11px 15px; border-radius: 10px; white-space: nowrap; box-shadow: 0 10px 20px -10px rgba(4, 16, 70, .6); }
.chip--yellow { background: var(--yellow); transform: rotate(-7deg); }
.chip--pink { background: var(--pink); color: #fff; transform: rotate(6deg); }
.chip--white { background: #fff; color: var(--violet-deep); transform: rotate(-4deg); }
.chip--orange { background: var(--orange); transform: rotate(5deg); }
.chip--mint { background: var(--mint); transform: rotate(-5deg); }

/* scene 1: the post */
.post { width: min(270px, 86%); background: #0B2FA6; border-radius: 22px; padding: 14px; display: grid; gap: 10px; transform: rotate(-8deg); box-shadow: 14px 16px 0 #06237F; }
.post__head { display: flex; align-items: center; gap: 8px; }
.post__ava { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--pink); }
.post__name { font: 500 13px/1 var(--mono); color: #D6E0FF; }
.post__img { display: block; width: 100%; height: 170px; border-radius: 14px; object-fit: cover; object-position: 50% 28%; }
.post__line { height: 9px; border-radius: 5px; background: #5C7FEA; }
.post__line--short { width: 62%; }
.post__link { justify-self: start; font: 600 13px/1 var(--text); color: #fff; background: var(--pink); padding: 8px 11px; border-radius: 9px; }

/* scene 2: the tap */
.tap { position: relative; width: 190px; height: 190px; display: grid; place-items: center; }
.tap__ring { position: absolute; inset: 22px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); animation: tap-ring 2.4s ease-out infinite; }
.tap__ring--2 { animation-delay: .8s; }
.tap__ring--3 { animation-delay: 1.6s; }
.tap__touch { width: 96px; height: 96px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #FFE9F5 0%, #F59CCB 30%, var(--pink) 62%, #B83C86 100%); box-shadow: 0 18px 30px -12px rgba(4, 16, 70, .7); animation: tap-press 2.4s ease-in-out infinite; }
@keyframes tap-ring { 0% { transform: scale(.55); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes tap-press { 0%, 100% { transform: scale(1); } 8% { transform: scale(.9); } 18% { transform: scale(1); } }

/* scene 3: the store, shown in a phone */
.phone { position: relative; width: min(100%, 300px); padding: 10px; border-radius: 50px; background: linear-gradient(145deg, #4B4E5E 0%, #101218 38%, #2A2D3A 100%); box-shadow: inset 0 0 0 1.5px #6E7286, inset 0 0 0 5px #090A10, 0 50px 80px -30px rgba(4, 14, 60, .95), 0 4px 10px rgba(4, 14, 60, .5); }
.phone__btn { position: absolute; width: 4px; border-radius: 2px; background: #2A2D3A; }
.phone__btn--l1 { left: -3px; top: 112px; height: 28px; }
.phone__btn--l2 { left: -3px; top: 154px; height: 50px; }
.phone__btn--r { right: -3px; top: 148px; height: 76px; }
.phone__screen { position: relative; display: flex; flex-direction: column; aspect-ratio: 9 / 19.4; border-radius: 41px; overflow: hidden; background: #FAFBFF; color: var(--ink); }
.statusbar { position: relative; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 14px 24px 7px; }
.statusbar__time { font: 600 14px/1 var(--text); letter-spacing: -.01em; }
.statusbar__island { position: absolute; left: 50%; top: 10px; width: 30%; height: 25px; transform: translateX(-50%); border-radius: 16px; background: #000; }
.statusbar__icons { width: 60px; height: 12.5px; fill: currentColor; }
.store { position: relative; flex: 1; min-height: 0; overflow: hidden; padding: 8px 12px 0; display: grid; grid-auto-rows: max-content; gap: 8px; align-content: start; background: linear-gradient(180deg, #FAFBFF 0%, #EEF3FF 100%); }
.portrait { display: block; width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 5px #C9D7FB; }
.store__name { text-align: center; font: 700 17px/1.1 var(--display); letter-spacing: -.01em; overflow-wrap: anywhere; }
.store__handle { text-align: center; margin-top: -6px; font: 500 12.5px/1 var(--mono); color: var(--ink-soft); overflow-wrap: anywhere; }
.store__bio { text-align: center; font-size: 12.5px; line-height: 1.35; color: var(--ink-soft); padding-inline: 8px; }
.store__socials { display: flex; justify-content: center; gap: 8px; margin-bottom: 2px; }
.store__socials svg { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: #fff; border: 1px solid #DCE4F7; color: var(--ink); fill: currentColor; }

.feat, .item { appearance: none; width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; background: #fff; border: 1px solid #DCE4F7; transition: transform .12s, box-shadow .12s, border-color .12s; }
.feat { display: grid; padding: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 8px 18px -12px rgba(10, 58, 204, .45); }
.feat__cover { display: block; width: 100%; height: 84px; object-fit: cover; object-position: 50% 42%; }
.feat__kicker { font: 500 10px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--violet-deep); }
.feat__title { font: 700 16.5px/1.1 var(--display); letter-spacing: -.02em; }
.feat__body { display: grid; gap: 6px; padding: 10px 11px 11px; }
.feat__meta { font-size: 11.5px; color: var(--ink-soft); }
.stars { color: #E5A400; letter-spacing: 1px; }
.feat__cta { display: flex; align-items: center; justify-content: space-between; min-height: 36px; margin-top: 2px; padding: 0 12px; border-radius: 11px; background: var(--violet); color: #fff; font-weight: 600; font-size: 14px; }
.feat__cta b { font: 500 14px/1 var(--mono); }
.feat__cta s { opacity: .6; font-size: 12px; }
.item { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 10px; border-radius: 16px; padding: 7px 11px 7px 7px; }
.item--free { cursor: default; }
.feat:hover, .item:is(button):hover { border-color: #A9BDF5; }
.feat.is-pressed, .item.is-pressed { transform: scale(.97); border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-tint); }
.item__thumb { display: block; width: 44px; height: 44px; border-radius: 12px; flex: none; object-fit: cover; }
.item__body { display: grid; min-width: 0; }
.item__body b { font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.item__body span { font-size: 11.5px; color: var(--ink-soft); }
.item__price { font: 500 14px/1 var(--mono); }
.item__price small { font-size: 11px; color: var(--ink-soft); }
.item__price--free { color: var(--green); }
.browserbar { flex: none; display: grid; justify-items: center; gap: 7px; padding: 8px 12px 7px; background: #F4F6FC; border-top: 1px solid #DCE4F7; }
.browserbar__pill { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 34px; padding: 0 12px; border-radius: 11px; background: #E3E8F3; font: 500 12.5px/1 var(--mono); color: var(--ink); overflow: hidden; white-space: nowrap; }
.browserbar__pill svg { flex: none; width: 10px; height: 12px; fill: currentColor; color: var(--ink-soft); }
.browserbar__home { width: 104px; height: 5px; border-radius: 3px; background: var(--ink); }
.sale { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; border-radius: 16px; padding: 12px 14px; font-size: 14px; line-height: 1.25; transform: translateY(140%); opacity: 0; transition: transform .35s cubic-bezier(.2, .9, .3, 1.2), opacity .2s; }
.sale.is-on { transform: translateY(0); opacity: 1; }
.sale b { font: 500 15px/1 var(--mono); }
.sale small { color: #C6CDE6; font-size: 12px; }
.sale__tick, .paid__tick { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--mint); position: relative; }
.sale__tick::after, .paid__tick::after { content: ""; position: absolute; left: 36%; top: 20%; width: 22%; height: 42%; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* scene 4: the payment */
.pay { width: min(300px, 90%); background: #F5F8FF; color: var(--ink); border-radius: 24px; padding: 16px; display: grid; gap: 10px; transform: rotate(5deg); box-shadow: -14px 16px 0 #06237F; }
.pay__item { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; }
.pay__item b { display: block; font-size: 14px; line-height: 1.25; }
.pay__item small { color: var(--ink-soft); font-size: 12px; }
.pay__price { font: 500 14px/1 var(--mono); }
.pay__field { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border-radius: 11px; background: #fff; border: 1px solid #DCE4F7; font-size: 13.5px; color: var(--ink-soft); }
.pay__field--card { font-family: var(--mono); }
.pay__field--card i { width: 26px; height: 18px; border-radius: 4px; background: linear-gradient(135deg, var(--yellow), var(--orange)); }
.pay__btn { display: grid; place-items: center; min-height: 46px; border-radius: 12px; background: var(--violet); color: #fff; font-weight: 600; font-size: 15px; }
.pay__note { font-size: 11.5px; color: var(--ink-soft); text-align: center; }

/* scene 5: the payout */
.paid { display: flex; align-items: center; gap: 16px; background: #fff; color: var(--ink); border-radius: 24px; padding: 18px 22px; transform: rotate(-4deg); box-shadow: 14px 16px 0 #06237F; }
.paid__tick { width: 52px; height: 52px; }
.paid__text { display: grid; gap: 2px; }
.paid__text small { font-size: 13px; color: var(--ink-soft); }
.paid__text b { font: 500 30px/1.05 var(--mono); letter-spacing: -.02em; }

.stage__line { position: relative; margin: 88px auto 0; padding-inline: 24px; max-width: 14em; text-align: center; font: 600 clamp(32px, 6.6vw, 68px)/1 var(--display); letter-spacing: -.04em; text-wrap: balance; }

/* ---- sheet: everything after the stage ---- */
.sheet { position: relative; background: var(--paper); border-radius: 40px 40px 0 0; margin-top: -40px; }
.band { padding-block: 60px; }
.band--tint { background: var(--canvas); }
h2 { font: 600 clamp(30px, 5.4vw, 52px)/1.02 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.band__lede { margin-top: 14px; color: var(--ink-soft); max-width: 40em; }
h3 { font: 700 20px/1.2 var(--display); letter-spacing: -.01em; }

/* "What you can sell": six cells that deliberately differ — two photographs, four small
   pieces of interface — so the block reads as a set of different things, not a table. */
.bento { margin-top: 36px; display: grid; gap: 16px; grid-template-columns: 1fr; }
.cell { position: relative; display: flex; flex-direction: column; gap: 22px; min-width: 0; padding: 26px; border-radius: 28px; overflow: hidden; background: var(--canvas); }
.cell__text { position: relative; display: grid; gap: 9px; align-content: start; justify-items: start; }
.cell__text h3 { font-size: 24px; letter-spacing: -.02em; }
.cell__text p { font-size: 16px; color: var(--ink-soft); max-width: 30em; }
.tag { font: 500 12.5px/1 var(--mono); color: var(--violet-deep); background: var(--violet-tint); padding: 6px 9px; border-radius: 8px; }
.mock { margin-top: auto; font-size: 14px; }
.mock__head { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.mock__head span { font: 500 12px/1 var(--mono); opacity: .7; }

/* 1. downloads: a photograph with the text laid over it */
.cell--downloads { min-height: 380px; justify-content: flex-end; color: #fff; }
.cell--downloads .cell__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cell--downloads::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 15, 27, 0) 30%, rgba(13, 15, 27, .86) 100%); }
.cell--downloads .cell__text { z-index: 1; }
.cell--downloads .cell__text p { color: rgba(255, 255, 255, .86); }
.cell--downloads .tag { color: var(--ink); background: #fff; }

/* 2. courses: brand blue with a lesson list */
.cell--courses { background: var(--violet); color: #fff; }
.cell--courses .cell__text p { color: rgba(255, 255, 255, .84); }
.cell--courses .tag { color: var(--violet-deep); background: #fff; }
.mock--lessons { background: #fff; color: var(--ink); border-radius: 18px; padding: 16px; display: grid; gap: 10px; }
.mock__bar { display: block; height: 6px; border-radius: 3px; background: var(--violet-tint); }
.mock__bar i { display: block; width: 60%; height: 100%; border-radius: 3px; background: var(--violet); }
.mock--lessons ul { display: grid; gap: 2px; }
.mock--lessons li { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); }
.mock--lessons li span { font: 500 12px/1 var(--mono); color: var(--ink-soft); }
.mock--lessons li i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); }
.mock--lessons .is-done i { border-color: var(--green); background: var(--green); box-shadow: inset 0 0 0 3px #fff; }
.mock--lessons .is-next { font-weight: 600; }
.mock--lessons .is-next i { border-color: var(--violet); }
.mock--lessons .is-locked { color: var(--ink-soft); }

/* 3. calls: yellow with time slots */
.cell--calls { background: var(--yellow); }
.cell--calls .cell__text p { color: #4A4212; }
.cell--calls .tag { color: var(--ink); background: rgba(255, 255, 255, .7); }
.slots { margin-top: 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slots span { display: grid; place-items: center; min-height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .75); font: 500 14px/1 var(--mono); }
.slots .is-picked { background: var(--ink); color: #fff; }
.slots .is-taken { background: transparent; border: 1.5px dashed rgba(13, 15, 27, .3); color: rgba(13, 15, 27, .45); text-decoration: line-through; }

/* 4. memberships: pink with a price */
.cell--memberships { background: #FBDDEC; }
.cell--memberships .cell__text p { color: #5E2A46; }
.cell--memberships .tag { color: #8A1F5C; background: rgba(255, 255, 255, .7); }
.plan__price { font: 700 clamp(48px, 7vw, 68px)/.9 var(--display); letter-spacing: -.04em; }
.plan__price span { font: 500 16px/1 var(--mono); letter-spacing: 0; margin-left: 4px; }
.plan__note { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .75); font-weight: 600; font-size: 13.5px; }
.plan__note i { width: 14px; height: 14px; border-radius: 50%; border: 2.5px solid var(--pink); border-right-color: transparent; }

/* 5. freebies: a photograph beside the text */
.cell--freebies { padding: 0; gap: 0; }
.cell--freebies .cell__photo { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.cell--freebies .cell__text { padding: 24px 26px 28px; }
.cell--freebies .tag { color: var(--green); background: #DFF5E8; }

/* 6. chat access: dark with a conversation */
.cell--chat { background: var(--ink); color: #fff; }
.cell--chat .cell__text p { color: rgba(255, 255, 255, .72); }
.cell--chat .tag { color: #fff; background: rgba(255, 255, 255, .14); }
.mock--chat { display: grid; gap: 8px; justify-items: start; }
.chat__sys { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(134, 227, 172, .16); color: var(--mint); font-weight: 600; font-size: 13px; }
.chat__sys i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.chat__msg { padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: #23263A; max-width: 85%; }
.chat__msg--me { justify-self: end; border-radius: 16px 16px 4px 16px; background: var(--violet); }

/* Three promises: each one a row with the claim on one side and the piece of interface
   that makes it concrete on the other. */
.pledges { margin-top: 36px; display: grid; gap: 16px; }
.pledge { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; background: var(--paper); border-radius: 28px; padding: 18px; }
.pledge > * { min-width: 0; }
.pledge__text { display: grid; gap: 12px; align-content: center; padding: 6px 6px 0; }
.pledge__text h3 { font: 600 clamp(26px, 3.4vw, 38px)/1.05 var(--display); letter-spacing: -.03em; text-wrap: balance; }
.pledge__text p { color: var(--ink-soft); font-size: 17px; max-width: 32em; }
.pledge__show { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-content: center; justify-items: start; border-radius: 20px; padding: 16px; min-height: 220px; }
.pledge__show--blue { background: var(--violet-tint); }
.pledge__show--yellow { background: #FFF1B8; }
.pledge__show--pink { background: #FBDDEC; }

.panel { width: 100%; background: var(--paper); border-radius: 18px; padding: 16px 18px; box-shadow: 0 16px 30px -22px rgba(13, 15, 27, .5); font-size: 14.5px; }
.panel__head { display: flex; align-items: center; justify-content: space-between; font: 700 17px/1.2 var(--display); }
.panel__foot { margin-top: 10px; font-size: 13px; color: var(--ink-soft); }
.pill { display: inline-flex; align-items: center; padding: 6px 11px; border-radius: 999px; font: 600 12.5px/1 var(--text); }
.pill--green { color: var(--green); background: #DFF5E8; }
.pill--white { color: var(--ink); background: rgba(255, 255, 255, .8); }
.rows { margin-top: 8px; }
.rows li { display: grid; grid-template-columns: 1fr auto 78px; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.rows span { color: var(--ink-soft); white-space: nowrap; }
.rows b { font: 500 15px/1 var(--mono); }
.state { justify-self: end; font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--violet-deep); }
.state--done { color: var(--green); }

.panel--note { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.note__icon { width: 40px; height: 40px; border-radius: 12px; background: var(--yellow); position: relative; }
.note__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 16px; margin: -11px 0 0 -5px; border: solid var(--ink); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.note__title { font: 700 17px/1.2 var(--display); }
.note__text { margin-top: 4px; color: var(--ink-soft); }
.note__actions { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.fakebtn { display: inline-grid; place-items: center; min-height: 36px; padding: 0 14px; border-radius: 10px; background: var(--violet); color: #fff; font-weight: 600; font-size: 14px; }
.fakebtn--quiet { background: var(--canvas); color: var(--ink); }

.owned { width: 100%; display: grid; grid-template-columns: 1fr; gap: 10px; }
.owned li { position: relative; display: grid; gap: 3px; background: var(--paper); border-radius: 16px; padding: 16px 16px 16px 46px; }
.owned li::before { content: ""; position: absolute; left: 16px; top: 18px; width: 20px; height: 20px; border-radius: 50%; background: var(--pink); }
.owned li::after { content: ""; position: absolute; left: 23px; top: 22px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.owned b { font: 700 16px/1.2 var(--display); }
.owned span { font-size: 13px; color: var(--ink-soft); }

.closer { padding-block: 72px 28px; }
.closer__stack { position: relative; }
.closer { overflow-x: clip; }
.closer__stack .layer { height: 200px; border-radius: 40px 40px 0 0; }
.closer__panel { position: relative; overflow: hidden; display: grid; justify-items: center; gap: 14px; text-align: center; padding: 56px 20px 40px; border-radius: 40px; background: var(--stage); color: #fff; }
.closer__panel h2 { position: relative; max-width: 13em; font-size: clamp(34px, 6vw, 64px); }
.closer__lede { position: relative; max-width: 30em; font-size: clamp(17px, 2vw, 20px); color: rgba(255, 255, 255, .86); }
.closer__panel .join { position: relative; margin-top: 14px; }
.closer__panel .join__row { color: var(--ink); border-color: transparent; box-shadow: 0 30px 50px -30px rgba(4, 14, 60, .9); }
.closer__panel .hint { color: rgba(255, 255, 255, .86); }
.closer__panel .hint[data-state="ok"] { color: var(--mint); }
.closer__panel .hint[data-state="bad"], .closer__panel .status { color: #FFD0DA; }
.closer__panel .fine { color: rgba(255, 255, 255, .78); }
.closer__panel .fine a { color: #fff; }
.closer__panel .done { color: var(--ink); }
.closer__orb, .closer__ring, .closer__dot { position: absolute; border-radius: 50%; pointer-events: none; }
.closer__dot { display: none; }
.closer__orb { background: var(--stage-lift); }
.closer__orb--a { width: 420px; height: 420px; left: -170px; bottom: -200px; }
.closer__orb--b { width: 360px; height: 360px; right: -140px; top: -170px; }
.closer__ring { width: 300px; height: 300px; right: 4%; bottom: -150px; border: 1.5px solid rgba(255, 255, 255, .22); }
.closer__dot--y { width: 16px; height: 16px; left: 12%; top: 22%; background: var(--yellow); }
.closer__dot--p { width: 22px; height: 22px; right: 14%; top: 34%; background: var(--pink); }
.closer__dot--w { width: 10px; height: 10px; left: 22%; bottom: 20%; background: #fff; }

.foot { padding-block: 22px 40px; color: var(--ink-soft); font-size: 14.5px; }
.foot__row { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; }
.foot__logo { display: inline-flex; align-items: center; min-height: 44px; }
.foot__logo img { display: block; height: 28px; width: auto; }
.foot__nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; }
.foot__nav a, .linkish { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 500; }
.foot__nav a:hover, .linkish:hover { color: var(--violet); }
.linkish { appearance: none; border: 0; background: none; padding: 0; font: inherit; font-weight: 500; cursor: pointer; }

/* ---- consent ---- */
.consent { position: fixed; z-index: 30; left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); bottom: max(12px, env(safe-area-inset-bottom, 0px)); max-width: 460px; margin-left: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; box-shadow: 0 20px 50px -18px rgba(13, 15, 27, .45); display: grid; gap: 8px; font-size: 15px; color: var(--ink-soft); }
.consent__title { font: 700 18px/1.2 var(--display); color: var(--ink); }
.consent__actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 6px; }
.consent .btn { min-height: 44px; font-size: 15.5px; }

/* ---- plain pages (privacy, thanks, try again) ---- */
.page { padding-block: 28px 72px; }
.page .wrap { max-width: 760px; display: grid; gap: 16px; }
.page h1 { font-size: clamp(36px, 7vw, 60px); max-width: none; }
.page h2 { font-size: 26px; margin-top: 16px; }
.page p, .page li { color: var(--ink-soft); }
.page ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; }
.page .btn { justify-self: start; }
.note { background: #FFF6D6; border-radius: var(--r-md); padding: 14px 16px; color: var(--ink) !important; }

/* ---- medium and up: form in one row ---- */
@media (min-width: 760px) {
  .top__nav { display: flex; }
  .hero { padding-top: 44px; }
  .join__row { grid-template-columns: 1fr 1fr auto; align-items: end; padding: 16px; }
  .band { padding-block: 96px; }
  .pledge { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; padding: 28px; }
  .owned { grid-template-columns: repeat(2, 1fr); }
  .pledge__text { padding: 12px 8px 12px 16px; }
  .pledge--flip .pledge__text { order: 2; padding: 12px 16px 12px 8px; }
  .pledge__show { padding: 30px; min-height: 300px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .cell--freebies { flex-direction: row; }
  .cell--freebies .cell__photo { width: 46%; height: 100%; min-height: 260px; aspect-ratio: auto; }
  .cell--freebies .cell__text { align-content: center; }
  .cell--freebies, .cell--chat { grid-column: span 1; }
  .closer { padding-block: 104px 40px; }
  .closer__panel { padding: 88px 40px 64px; border-radius: 56px; }
  .closer__stack .layer { border-radius: 56px 56px 0 0; }
  .closer__dot { display: block; }
  :root { --stage-inset: 5vw; --stage-radius: 60px; }
  .stage { margin-top: 72px; }
}

/* ---- wide: the journey becomes a drawn route with free-floating scenes ---- */
@media (min-width: 1100px) {
  .stage__panel { padding: 0 0 160px; }
  .bento { grid-template-columns: repeat(12, 1fr); gap: 20px; }
  .cell--downloads { grid-column: 1 / span 5; grid-row: 1 / span 2; }
  .cell--courses { grid-column: 6 / span 7; flex-direction: row; align-items: center; gap: 28px; }
  .cell--courses .cell__text { flex: 1; }
  .cell--courses .mock { flex: 1.1; margin-top: 0; }
  .cell--calls { grid-column: 6 / span 4; }
  .cell--memberships { grid-column: 10 / span 3; }
  .cell--freebies { grid-column: 1 / span 7; }
  .cell--chat { grid-column: 8 / span 5; }
  .journey { display: block; height: 1720px; padding: 0; }
  .journey__path { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
  .journey__path path { stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: var(--draw, 0); }
  .scene { position: absolute; display: block; width: auto; }
  .post { width: 270px; }
  .pay { width: 300px; }
  .scene .chip { position: absolute; }

  .scene--post { left: 70px; top: 150px; }
  .scene--post .chip { left: 50px; top: -72px; }
  .scene--tap { left: 650px; top: 150px; }
  .scene--tap .chip { left: 200px; top: 34px; }
  .scene--store { left: 410px; top: 560px; width: 300px; }
  .scene--store .chip { left: 340px; top: 120px; }
  .scene--pay { left: 60px; top: 1120px; }
  .scene--pay .chip { left: 24px; top: -74px; }
  .scene--paid { left: 690px; top: 1400px; }
  .scene--paid .chip { left: 150px; top: -66px; }

  .dot { display: block; position: absolute; width: 16px; height: 16px; border-radius: 50%; }
  .dot--y { background: var(--yellow); }
  .dot--w { background: #fff; width: 10px; height: 10px; }
  .dot--p { background: var(--pink); width: 22px; height: 22px; }
  .dot--m { background: var(--mint); }
  .cube { display: block; position: absolute; width: 56px; height: 62px; background:
      linear-gradient(#FFF5CF, #FFF5CF) 0 0 / 100% 100% no-repeat; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
  .cube::before, .cube::after { content: ""; position: absolute; inset: 0; }
  .cube::before { background: #7C9BF2; clip-path: polygon(0 25%, 50% 50%, 50% 100%, 0 75%); }
  .cube::after { background: #3C5FD0; clip-path: polygon(50% 50%, 100% 25%, 100% 75%, 50% 100%); }
  .cube--small { width: 38px; height: 42px; }
  .stage__line { margin-top: 40px; }
  /* where each loose dot and cube sits along the route */
  .p1 { left: 57%; top: 96px; }
  .p2 { left: 31%; top: 500px; }
  .p3 { left: 91%; top: 430px; }
  .p4 { left: 24%; top: 1050px; }
  .p5 { left: 86%; top: 1250px; }
  .p6 { left: 52%; top: 1590px; }
  .p7 { left: 14%; top: 660px; }
  .p8 { left: 84%; top: 880px; }
  .p9 { left: 44%; top: 1500px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sale, .item, .btn { transition: none; }
  .tap__ring, .tap__touch { animation: none; }
  .tap__ring { transform: scale(1); opacity: .5; }
  .tap__ring--2 { transform: scale(1.2); opacity: .3; }
  .tap__ring--3 { transform: scale(1.4); opacity: .15; }
}
