/* Human Blueprint · replay page (system B, on top of ../assets/funnel.css) */

/* shared SVG gradient (Instagram) lives in a zero-size svg so it renders even while a slide is hidden */
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---- hero ---- */
.rp-hero { text-align: center; padding: clamp(72px, 10vw, 124px) 0 clamp(40px, 6vw, 72px); }
.rp-hero__wrap { max-width: 1260px; }
.rp-title { margin: 0 auto; font-size: clamp(31px, 3.55vw, 50px); line-height: 1.08; letter-spacing: -0.032em; }
@media (min-width: 1100px) { .rp-title .ln > span { white-space: nowrap; } }
.rp-lead { max-width: 46ch; margin-top: clamp(20px, 2.4vw, 28px); text-wrap: balance; }

/* replay player (display): his real whiteboard frame, player chrome, centred play */
.rplayer {
  position: relative; aspect-ratio: 16 / 9; max-width: 980px; margin: clamp(40px, 5.6vw, 60px) auto 0; border-radius: 26px; overflow: hidden; isolation: isolate;
  background: #14171a; border: 1px solid var(--hair); cursor: pointer;
  box-shadow: 0 70px 120px -70px rgba(0, 34, 66, 0.62), 0 2px 8px -2px var(--shadow);
}
.rplayer > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform 1.2s var(--ease); }
.rplayer:hover > img { transform: scale(1.025); }
.rplayer::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 14, 20, 0.5) 0%, rgba(10, 14, 20, 0) 24%, rgba(10, 14, 20, 0) 70%, rgba(10, 14, 20, 0.62) 100%); }
.rplayer__top { position: absolute; left: clamp(16px, 2.6vw, 26px); right: clamp(16px, 2.6vw, 26px); top: clamp(14px, 2.4vw, 22px); z-index: 2; display: flex; align-items: center; gap: 12px; text-align: left; color: #fff; }
.rplayer__tag { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 6px 12px 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.26); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.rplayer__tag i { width: 8px; height: 8px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 0 3px rgba(255, 77, 77, 0.28); }
.rplayer__name { min-width: 0; font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35); }
.rplayer__play { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; }
.rplayer__play > span { position: relative; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.96); color: var(--accent); box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.55); transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease); }
.rplayer__play > span::before { content: ""; position: absolute; inset: -13px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.55); animation: ring 2.6s var(--ease) infinite; }
.rplayer__play svg { width: 34px; height: 34px; margin-left: 4px; fill: currentColor; }
.rplayer:hover .rplayer__play > span { transform: scale(1.06); background: var(--accent); color: #fff; }
@keyframes ring { 0% { transform: scale(0.92); opacity: 0.9; } 70%, 100% { transform: scale(1.25); opacity: 0; } }
.rplayer__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; gap: clamp(12px, 1.8vw, 18px); padding: 0 clamp(16px, 2.4vw, 24px) clamp(12px, 1.8vw, 18px); color: rgba(255, 255, 255, 0.94); }
.rplayer__bar svg { width: 22px; height: 22px; flex: none; }
.rplayer__track { position: relative; flex: 1; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, 0.3); }
.rplayer__track i { position: absolute; left: 0; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -2px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2); }

/* replay expiry · variant C kinetic line on the same lab-paper panel as the register countdown */
.xp {
  margin: clamp(28px, 4vw, 40px) auto 0; max-width: 640px; padding: clamp(24px, 3vw, 32px) clamp(18px, 3vw, 40px) clamp(26px, 3vw, 34px);
  border-radius: 28px; background: rgba(255, 255, 255, 0.72); border: 1px solid var(--hair);
  box-shadow: 0 30px 60px -44px var(--shadow), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.xp__k { margin: 0 0 16px; font-family: var(--display); font-stretch: 125%; font-size: 14px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.cd__line { display: flex; justify-content: center; align-items: flex-start; gap: clamp(2px, 1vw, 10px); font-variant-numeric: tabular-nums; }
.cd__u { display: grid; justify-items: center; gap: 8px; min-width: clamp(62px, 15vw, 104px); }
.cd__g { display: block; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: clamp(42px, 6.6vw, 68px); line-height: 1; letter-spacing: -0.04em; color: var(--ink); }
.cd__g.slide { animation: cdSlide 0.45s cubic-bezier(0.2, 0.7, 0.3, 1); }
@keyframes cdSlide { 0% { transform: translateY(-12px); opacity: 0.25; } 100% { transform: none; opacity: 1; } }
.cd__sep { font-family: var(--display); font-weight: 300; font-size: clamp(30px, 4.8vw, 50px); line-height: 1.18; color: rgba(0, 57, 111, 0.38); }
.cd__l { font-size: 14px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.cd__bar { position: relative; height: 4px; margin: 22px auto 0; max-width: 440px; border-radius: 99px; background: var(--surface-3); }
.cd__bar > i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 99px; background: linear-gradient(90deg, rgba(0, 57, 111, 0.35), var(--accent)); transition: width 0.9s linear; }
.cd__bar > i::after { content: ""; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px #fff, 0 3px 10px -2px var(--accent-glow); }
.xp__cta { margin-top: clamp(24px, 3vw, 30px); }

/* ---- pillars recap · same component as the register page ---- */
.pgrid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 28px); padding-top: 24px; }
.pgrid::before { content: ""; position: absolute; top: 24px; left: 16%; right: 16%; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-line) 12%, var(--accent-line) 88%, transparent); }
.pcard { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 50px clamp(22px, 2.4vw, 32px) 32px; border-radius: 24px; background: var(--surface); border: 1px solid var(--hair); box-shadow: 0 34px 60px -48px var(--shadow); }
.pcard__n { position: absolute; top: -23px; left: 50%; transform: translateX(-50%); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1.5px solid var(--accent); font-family: var(--display); font-stretch: 118%; font-weight: 800; font-size: 15px; letter-spacing: 0.02em; color: var(--accent); box-shadow: 0 0 0 6px var(--bg); }
.pcard__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid var(--accent-line); }
.pcard__icon svg { width: 27px; height: 27px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pcard__k { display: block; margin: 20px 0 10px; font-family: var(--display); font-stretch: 125%; font-size: 14px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.pcard__t { font-size: clamp(21px, 1.85vw, 24px); line-height: 1.24; letter-spacing: -0.018em; }
.pcard__d { margin: 14px auto 30px; max-width: 32ch; font-size: 18px; line-height: 1.58; color: var(--muted); text-align: center; }
.pcard__range { width: 100%; max-width: 200px; margin: auto auto 6px; }

/* ---- the offer ---- */
.offer .sec-head { margin-bottom: clamp(40px, 6vw, 60px); }
.offer .lead { max-width: 44ch; text-wrap: balance; }

/* mechanism: three stages on one blueprint line */
.stages { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); max-width: 1060px; margin: 0 auto; padding-top: 10px; }
.stages::before { content: ""; position: absolute; top: 33px; left: 16.6%; right: 16.6%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(0, 57, 111, 0.12), var(--accent) 50%, rgba(46, 115, 86, 0.6)); }
.stage { position: relative; text-align: center; }
@supports (grid-template-rows: subgrid) {
  .stages { grid-template-rows: auto auto auto; }
  .stage { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
  .stage__t { align-self: center; }
}
.stage__n { position: relative; display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 20px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--display); font-stretch: 118%; font-weight: 800; font-size: 15px; box-shadow: 0 0 0 8px var(--bg), 0 10px 24px -8px var(--accent-glow); }
.stage:last-child .stage__n { background: var(--optimal); box-shadow: 0 0 0 8px var(--bg), 0 10px 24px -8px rgba(46, 115, 86, 0.5); }
.stage__t { font-size: clamp(21px, 1.9vw, 24px); line-height: 1.2; }
.stage__d { margin: 10px auto 0; max-width: 30ch; font-size: 18px; line-height: 1.55; color: var(--muted); text-wrap: balance; }

/* the stack */
.stack { max-width: 1060px; margin: clamp(48px, 6vw, 64px) auto 0; padding: clamp(26px, 3.4vw, 40px); border-radius: 32px; background: var(--surface); border: 1px solid var(--hair); box-shadow: 0 50px 90px -64px var(--shadow); }
.stack__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 4px 22px; margin-bottom: 8px; border-bottom: 1px solid var(--hair-soft); }
.stack__head .wordmark { font-size: 15px; }
.stack__label { font-family: var(--display); font-stretch: 125%; font-size: 14px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.stack__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 3.4vw, 44px); }
.item { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; padding: 22px 4px; border-bottom: 1px solid var(--hair-soft); }
.stack__list .item:nth-last-child(-n + 2) { border-bottom: 0; }
.item__ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid var(--accent-line); }
.item__ic svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.item__tx { display: block; min-width: 0; }
.item__tx b { display: block; font-family: var(--display); font-stretch: 108%; font-weight: 750; font-size: 20px; line-height: 1.25; letter-spacing: -0.012em; color: var(--ink); text-wrap: balance; }
.item__tx > span { display: block; margin-top: 6px; font-size: 18px; line-height: 1.55; color: var(--muted); }
.stack__bonus { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; margin-top: 14px; padding: 20px 22px; border-radius: 20px; background: linear-gradient(180deg, rgba(46, 115, 86, 0.08), rgba(46, 115, 86, 0.04)); border: 1px solid rgba(46, 115, 86, 0.24); }
.bonus__tag { padding: 7px 14px; border-radius: 999px; background: var(--optimal); color: #fff; font-family: var(--display); font-stretch: 125%; font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }

/* guarantee + capacity: two equal cards */
.assure { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 28px); max-width: 1060px; margin: clamp(22px, 2.6vw, 28px) auto 0; }
.acard { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: clamp(32px, 4vw, 44px) clamp(22px, 3.4vw, 40px); border-radius: 28px; background: var(--surface); border: 1px solid var(--hair); box-shadow: 0 40px 70px -56px var(--shadow); }
.acard__ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: rgba(46, 115, 86, 0.1); border: 1px solid rgba(46, 115, 86, 0.26); margin-bottom: 18px; }
.acard__ic svg { width: 30px; height: 30px; fill: none; stroke: var(--optimal); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.acard__t { font-size: clamp(23px, 2.2vw, 28px); line-height: 1.15; }
.acard__d { margin: 12px auto 0; max-width: 44ch; font-size: 18px; line-height: 1.6; color: var(--muted); }
.acard__num { display: block; font-family: var(--display); font-stretch: 118%; font-weight: 800; font-size: clamp(80px, 9vw, 112px); line-height: 0.9; letter-spacing: -0.05em; color: var(--accent); margin-bottom: 8px; }
.offer__cta, .mid-cta { margin-top: clamp(40px, 5vw, 56px); text-align: center; }

/* ---- proof ---- */
.section--flush { padding-top: 0; }
.tgrid { max-width: 760px; }
.ba__pair figure { aspect-ratio: 4 / 5; }
.ba > p { min-height: 3em; display: flex; align-items: center; justify-content: center; }
.bagrid { row-gap: clamp(18px, 2.6vw, 28px); }

/* Facebook recommendations as clean equal cards (quotes verbatim) */
.fbgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 16px; }
.fb { display: flex; flex-direction: column; padding: 22px 22px 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--hair); box-shadow: 0 18px 40px -32px var(--shadow); text-align: left; }
.fb__head { display: grid; grid-template-columns: 42px minmax(0, 1fr) 24px; gap: 12px; align-items: center; }
.fb__av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); color: var(--ink-2); font-weight: 700; font-size: 15px; letter-spacing: 0.02em; }
.fb__who { min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.fb__who > b { font-size: 16px; color: var(--ink); }
.fb__who > span { font-size: 14px; color: var(--faint); }
.fb__who > span b { color: var(--ink-2); font-weight: 650; }
.fb__logo { width: 24px; height: 24px; }
.fb__q { margin: 16px 0 0; font-size: 18px; line-height: 1.58; color: var(--ink-2); }
.rp-shots { margin-top: clamp(20px, 2.6vw, 28px); }

/* ---- application ---- */
.apply__head { margin-bottom: clamp(40px, 6vw, 56px); }
.apply__head .lead { max-width: 46ch; text-wrap: balance; }

/* Typeform-style form: one question at a time, letter keys, OK / Enter, progress, Powered by Typeform */
.tf {
  position: relative; max-width: 820px; min-height: 560px; margin: 0 auto; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 22px; background: #fff; color: #191919; border: 1px solid rgba(28, 27, 26, 0.1); text-align: left;
  box-shadow: 0 60px 110px -70px rgba(0, 34, 66, 0.6), 0 2px 8px -3px var(--shadow);
  transition: box-shadow 0.6s var(--ease);
}
.tf.glow { box-shadow: 0 0 0 4px rgba(0, 57, 111, 0.16), 0 60px 110px -70px rgba(0, 34, 66, 0.6); }
.tf__progress { position: absolute; left: 0; right: 0; top: 0; height: 5px; background: rgba(0, 57, 111, 0.1); }
.tf__progress i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 0 4px 4px 0; transition: width 0.45s var(--ease); }
.tf__brand { padding: 30px clamp(24px, 6vw, 72px) 0; }
.tf__brand .wordmark { font-size: 14px; color: var(--ink); }
.tf-slide, .tf-end { display: none; flex: 1; flex-direction: column; justify-content: center; padding: 30px clamp(24px, 6vw, 72px) 40px; max-width: 720px; }
.tf-slide.active, .tf-end.active { display: flex; animation: tfIn 0.42s cubic-bezier(0.22, 0.61, 0.36, 1); }
.tf-slide.back.active { animation-name: tfInBack; }
@keyframes tfIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes tfInBack { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }
.tf-num { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px; color: var(--accent); font-size: 16px; font-weight: 700; }
.tf-num svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.tf-q { display: block; margin: 0; font-family: var(--sans); font-size: clamp(23px, 2.5vw, 28px); line-height: 1.32; font-weight: 500; letter-spacing: -0.012em; color: #191919; }
.tf-q .req { color: var(--accent); }
.tf-desc { margin: 10px 0 0; font-size: 18px; line-height: 1.5; color: rgba(25, 25, 25, 0.6); }
.tf-opts { margin-top: 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.tf-opt {
  display: inline-flex; align-items: center; gap: 12px; min-width: min(100%, 340px); max-width: 100%; min-height: 50px; padding: 9px 14px 9px 10px; cursor: pointer;
  font-family: var(--sans); font-size: 18px; font-weight: 500; line-height: 1.35; color: var(--accent-deep); text-align: left;
  background: rgba(0, 57, 111, 0.05); border: 1px solid rgba(0, 57, 111, 0.32); border-radius: 8px;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.tf-opt:hover { background: rgba(0, 57, 111, 0.1); }
.tf-opt.sel { background: rgba(0, 57, 111, 0.14); border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.tf-opt.sel.blink { animation: blink 0.32s steps(2) 2; }
@keyframes blink { 50% { background: rgba(0, 57, 111, 0.04); } }
.tf-key { flex: none; width: 28px; height: 28px; border-radius: 5px; display: grid; place-items: center; font-size: 14px; font-weight: 700; color: var(--accent); background: #fff; border: 1px solid rgba(0, 57, 111, 0.4); }
.tf-opt.sel .tf-key { background: var(--accent); color: #fff; border-color: var(--accent); }
.tf-ot { flex: 1; min-width: 0; }
.tf-opt .tick { width: 20px; height: 20px; margin-left: 8px; flex: none; fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.tf-opt.sel .tick { opacity: 1; }
.tf-in {
  display: block; width: 100%; margin-top: 26px; padding: 6px 0 10px; border: 0; border-bottom: 1.5px solid rgba(0, 57, 111, 0.3); border-radius: 0; outline: none; background: transparent;
  font-family: var(--sans); font-size: clamp(22px, 2.4vw, 28px); font-weight: 400; line-height: 1.35; color: var(--accent-deep); resize: none; overflow: hidden;
  transition: border-color 0.2s ease;
}
.tf-in::placeholder { color: rgba(0, 57, 111, 0.32); }
.tf-in:focus { border-bottom-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.tf-ta { min-height: 52px; }
.tf-igwrap { position: relative; display: flex; align-items: flex-end; gap: 12px; margin-top: 26px; }
.tf-igwrap .tf-in { margin-top: 0; }
.tf-ig { flex: none; width: 30px; height: 30px; margin-bottom: 12px; }
.tf-err { min-height: 0; margin: 0; font-size: 15px; font-weight: 600; color: #b3261e; }
.tf-err:not(:empty) { display: inline-flex; align-self: flex-start; margin-top: 14px; padding: 6px 12px; border-radius: 6px; background: #fdecea; }
.tf-slide.need .tf-opts, .tf-slide.need .tf-in, .tf-slide.need .tf-igwrap { animation: nudge 0.4s ease; }
@keyframes nudge { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.tf-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.tf-ok { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 22px; border: 0; border-radius: 6px; cursor: pointer; background: var(--accent); color: #fff; font-family: var(--sans); font-size: 19px; font-weight: 700; box-shadow: 0 3px 10px -4px var(--accent-glow); transition: background 0.2s ease, transform 0.2s ease; }
.tf-ok:hover { background: var(--accent-2); }
.tf-ok:active { transform: scale(0.98); }
.tf-ok svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.tf-hint { font-size: 14px; color: rgba(25, 25, 25, 0.55); }
.tf-hint kbd { display: inline-block; padding: 1px 6px; margin: 0 2px; border: 1px solid rgba(25, 25, 25, 0.2); border-radius: 4px; font-family: inherit; font-size: 14px; font-weight: 600; color: rgba(25, 25, 25, 0.7); background: #fafafa; }
.tf__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px clamp(16px, 3vw, 22px) 16px; }
.tf__powered { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 6px; background: #f2f2f2; font-size: 14px; color: #3d3d3d; }
.tf__powered svg { width: 18px; height: 18px; fill: #191919; }
.tf__powered b { font-weight: 800; letter-spacing: -0.01em; }
.tf__nav { display: inline-flex; gap: 2px; border-radius: 6px; overflow: hidden; }
.tf__nav button { width: 44px; height: 44px; display: grid; place-items: center; border: 0; cursor: pointer; background: var(--accent); color: #fff; transition: opacity 0.2s ease; }
.tf__nav button:disabled { opacity: 0.4; cursor: default; }
.tf__nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* end screens */
.tf-end { align-items: center; text-align: center; margin: 0 auto; }
.tf-end__ic { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px; background: rgba(46, 115, 86, 0.12); color: var(--optimal); }
.tf-end__ic svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.tf-end__t { margin: 0; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; letter-spacing: -0.024em; color: #191919; text-wrap: balance; }
.tf-end__d { margin: 14px auto 0; max-width: 48ch; font-size: 19px; line-height: 1.6; color: rgba(25, 25, 25, 0.66); }
.ig-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; margin-top: 28px; padding: 14px 28px 14px 18px; border-radius: 999px; background: #fff; color: #191919; border: 1px solid rgba(25, 25, 25, 0.16); font-weight: 700; font-size: 18px; box-shadow: 0 14px 30px -20px rgba(214, 36, 159, 0.6); transition: transform 0.25s var(--ease), border-color 0.25s var(--ease); }
.ig-btn svg { width: 28px; height: 28px; flex: none; }
.ig-btn:hover { transform: translateY(-2px); border-color: #d6249f; }
.tf.finished .tf__nav { visibility: hidden; }

/* booking: hidden until the application is complete, then the Calendly inline embed */
.booking { max-width: 1000px; margin: clamp(56px, 7vw, 80px) auto 0; }
.booking.reveal { animation: revealUp 0.6s cubic-bezier(0.22, 0.61, 0.36, 1); }
@keyframes revealUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.booking__head { text-align: center; max-width: 640px; margin: 0 auto clamp(28px, 4vw, 40px); }
.booking__head .eyebrow { margin-bottom: 14px; }
.booking__head h3 { font-size: clamp(27px, 3vw, 36px); line-height: 1.12; letter-spacing: -0.025em; }
.booking__head p { margin: 14px auto 0; max-width: 50ch; font-size: 19px; line-height: 1.6; color: var(--muted); text-wrap: balance; }
.cal-frame { position: relative; height: 720px; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--hair); box-shadow: 0 50px 100px -70px rgba(0, 34, 66, 0.6); }
.cal-embed { position: absolute; inset: 0; z-index: 2; }
.cal-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.cal-wait { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: var(--faint); font-size: 16px; }
.cal-spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(0, 107, 255, 0.16); border-top-color: #006bff; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cal-frame.is-fallback { height: auto; }
.cal-fallback { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: clamp(40px, 6vw, 60px) 24px; }
.cal-fallback__ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: rgba(0, 107, 255, 0.08); border: 1px solid rgba(0, 107, 255, 0.2); }
.cal-fallback__ic svg { width: 28px; height: 28px; fill: none; stroke: #006bff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cal-fallback p { margin: 0; max-width: 40ch; font-size: 19px; line-height: 1.55; color: var(--muted); }
.cal-alt { display: block; margin: 18px auto 0; max-width: 520px; font-size: 16px; line-height: 1.6; color: var(--faint); text-align: center; text-wrap: balance; }
.cal-alt svg { display: inline-block; width: 20px; height: 20px; margin-right: 8px; vertical-align: -5px; }
.booking.is-fallback .cal-alt { display: none; }
.cal-alt a { color: var(--accent); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.booked { margin: 18px auto 0; max-width: 560px; padding: 14px 18px; border-radius: 14px; text-align: center; font-weight: 650; font-size: 17px; color: #146c3a; background: rgba(46, 115, 86, 0.1); border: 1px solid rgba(46, 115, 86, 0.24); }

/* ---- responsive ---- */
@media (max-width: 960px) {
  .pgrid { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; row-gap: 52px; }
  .pgrid::before { display: none; }
  .stages { grid-template-columns: minmax(0, 1fr); max-width: 460px; gap: 34px; }
  .stages::before { top: 34px; bottom: 60px; left: 50%; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, rgba(0, 57, 111, 0.12), var(--accent) 50%, rgba(46, 115, 86, 0.6)); opacity: 0.35; }
  .stage { padding: 0 0 4px; grid-row: auto; display: block; }
  .stages { grid-template-rows: none; }
  .stage__t, .stage__d { position: relative; background: var(--bg); }
  .stack__list { grid-template-columns: minmax(0, 1fr); }
  .stack__list .item:nth-last-child(-n + 2) { border-bottom: 1px solid var(--hair-soft); }
  .stack__list .item:last-child { border-bottom: 0; }
  .fbgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .assure { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .cal-frame { height: 1000px; }
}
@media (max-width: 620px) {
  .rplayer { border-radius: 20px; }
  .rplayer__name { display: none; }
  .rplayer__tag { font-size: 14px; padding: 5px 10px 5px 9px; }
  .rplayer__play > span { width: 68px; height: 68px; }
  .rplayer__play svg { width: 26px; height: 26px; }
  .rplayer__bar svg:nth-of-type(3), .rplayer__bar svg:nth-of-type(4) { display: none; }
  .rplayer__bar svg { width: 20px; height: 20px; }
  .xp { border-radius: 22px; }
  .xp__cta { width: 100%; }
  .stack { padding: 22px 18px 18px; border-radius: 24px; }
  .stack__head { flex-direction: column; gap: 8px; padding-bottom: 18px; }
  .item { grid-template-columns: 42px minmax(0, 1fr); gap: 14px; padding: 18px 2px; }
  .item__ic { width: 42px; height: 42px; border-radius: 12px; }
  .item__tx b { font-size: 19px; }
  .stack__bonus { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 18px; justify-items: start; }
  .acard { border-radius: 24px; }
  .ba > p { min-height: 0; }
  .fbgrid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; max-width: 440px; margin: 0 auto; }
  .tf { min-height: 540px; border-radius: 18px; }
  .tf__brand { padding: 24px 22px 0; }
  .tf-slide, .tf-end { padding: 22px 22px 30px; }
  .tf-q { font-size: 22px; }
  .tf-opt { width: 100%; min-width: 0; font-size: 18px; }
  .tf-in { font-size: 22px; }
  .tf-hint { display: none; }
  .tf__powered { font-size: 14px; }
  .booking__head p { font-size: 18px; }
}
@media (max-width: 380px) {
  .cd__u { min-width: 56px; }
  .cd__l { letter-spacing: 0.08em; }
}
@media (prefers-reduced-motion: reduce) {
  .cd__g.slide, .tf-slide.active, .tf-end.active, .booking.reveal, .tf-opt.sel.blink { animation: none; }
  .rplayer__play > span::before { animation: none; opacity: 0; }
  .cd__bar > i, .tf__progress i, .rplayer > img, .tf, .ig-btn { transition: none; }
}

/* stand-in note shown when the (not yet recorded) replay is clicked */
.rplayer__note { position: absolute; left: 50%; bottom: clamp(56px, 9vw, 74px); z-index: 3; transform: translate(-50%, 8px); max-width: calc(100% - 32px);
  padding: 10px 16px; border-radius: 12px; background: rgba(12, 14, 18, 0.78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff; font-size: 15px; font-weight: 600; text-align: center; opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.rplayer.is-noted .rplayer__note { opacity: 1; transform: translate(-50%, 0); }
