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

/* ---- header ---- */
.ty-hero { text-align: center; padding: clamp(72px, 10vw, 120px) 0 0; }
.ty-title { font-size: clamp(40px, 5.2vw, 68px); line-height: 1.04; letter-spacing: -0.035em; white-space: nowrap; }
.ty-lead { margin-top: clamp(16px, 2vw, 22px); }
.ty-when { gap: 0; }
.ty-when::before { margin-right: 10px; }

/* ---- prep video (display player: his real whiteboard frame, centred play) ---- */
.prep { max-width: 900px; margin: clamp(52px, 7vw, 76px) auto 0; text-align: center; }
.prep .eyebrow { margin-bottom: 14px; }
.prep__line { margin: 0 auto clamp(26px, 3.4vw, 34px); max-width: 44ch; font-size: 19px; line-height: 1.6; color: var(--muted); text-wrap: balance; }
.player {
  position: relative; aspect-ratio: 16 / 9; border-radius: 26px; overflow: hidden; isolation: isolate; cursor: pointer;
  background: #14171a; border: 1px solid var(--hair);
  box-shadow: 0 60px 110px -62px rgba(0, 34, 66, 0.6), 0 2px 8px -2px var(--shadow);
}
.player > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 40%; transform: scale(1.01); transition: transform 1.2s var(--ease); }
.player:hover > img { transform: scale(1.035); }
.player::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgba(10, 14, 20, 0.72) 0%, rgba(10, 14, 20, 0.18) 38%, rgba(10, 14, 20, 0) 60%), radial-gradient(60% 60% at 50% 50%, rgba(10, 14, 20, 0), rgba(10, 14, 20, 0.16)); }
.player__cap { position: absolute; left: clamp(18px, 3.4vw, 34px); bottom: clamp(16px, 3vw, 30px); z-index: 2; text-align: left; max-width: 62%; }
.player__cap span { display: block; margin-bottom: 8px; font-family: var(--display); font-stretch: 125%; font-size: 14px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82); }
.player__cap b { display: block; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: clamp(19px, 2.3vw, 28px); line-height: 1.12; letter-spacing: -0.02em; color: #fff; text-wrap: balance; }
.player__play { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; border: 0; padding: 0; background: none; cursor: pointer; }
.player__play span {
  position: relative; width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.96); color: var(--accent);
  box-shadow: 0 18px 44px -12px rgba(0, 0, 0, 0.5); transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
}
.player__play span::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.55); animation: ring 2.6s var(--ease) infinite; }
.player__play svg { width: 30px; height: 30px; margin-left: 4px; fill: currentColor; }
.player:hover .player__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; } }
.player.is-playing { cursor: default; }
.player.is-playing > img, .player.is-playing::after, .player.is-playing .player__cap, .player.is-playing .player__play { display: none; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 4; }

/* ---- the three steps · centred cards ---- */
.steps { max-width: 900px; margin: clamp(64px, 9vw, 104px) auto 0; display: grid; gap: clamp(22px, 3vw, 30px); }
.step {
  position: relative; text-align: center; padding: clamp(40px, 5vw, 54px) clamp(18px, 4.4vw, 52px) clamp(40px, 5vw, 52px);
  border-radius: 30px; background: var(--surface); border: 1px solid var(--hair);
  box-shadow: 0 44px 80px -64px var(--shadow), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}
.step__n {
  width: 50px; height: 50px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); border: 1.5px solid var(--accent); box-shadow: 0 0 0 7px var(--accent-soft);
  font-family: var(--display); font-stretch: 118%; font-weight: 800; font-size: 18px; color: var(--accent);
}
.step__t { font-size: clamp(25px, 2.6vw, 32px); line-height: 1.14; letter-spacing: -0.024em; }
.step__sub { margin: 14px auto 0; max-width: 58ch; font-size: 19px; line-height: 1.55; color: var(--muted); text-wrap: balance; }
.step__body { margin-top: clamp(26px, 3.4vw, 34px); display: flex; flex-direction: column; align-items: center; }

/* calendar buttons with real logos */
.step__body.cal { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cal__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 58px; padding: 14px 22px;
  font-weight: 650; font-size: 18px; color: var(--ink); background: var(--surface-2); border: 1px solid var(--hair); border-radius: 16px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.cal__btn svg { width: 23px; height: 23px; flex: none; }
.cal__btn:hover { transform: translateY(-2px); background: #fff; border-color: var(--accent-line); box-shadow: 0 16px 30px -22px var(--accent-glow); }

/* ---- Gmail mockup (real Gmail look; Indri's email on top, everything else blurred) ---- */
.gmail { width: 100%; border-radius: 18px; overflow: hidden; background: #fff; color: #202124; text-align: left; border: 1px solid rgba(0, 0, 0, 0.12); box-shadow: 0 36px 70px -44px rgba(0, 34, 66, 0.45); font-family: Roboto, "Google Sans", Arial, sans-serif; font-size: 16px; line-height: 1.3; }
.gm-top { display: flex; align-items: center; gap: 16px; padding: 10px 16px; border-bottom: 1px solid #eceff1; }
.gm-burger { width: 20px; height: 20px; color: #5f6368; flex: none; }
.gm-logo { display: flex; align-items: center; gap: 8px; flex: none; }
.gm-logo svg { width: 32px; height: 24px; }
.gm-logo span { font-size: 22px; color: #5f6368; }
.gm-search { flex: 1; min-width: 0; max-width: 520px; display: flex; align-items: center; gap: 12px; background: #eaf1fb; border-radius: 10px; padding: 10px 16px; color: #5f6368; }
.gm-search svg { width: 18px; height: 18px; flex: none; }
.gm-search span { flex: 1; font-size: 16px; white-space: nowrap; overflow: hidden; }
.gm-me { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; background: #0b8043; color: #fff; display: grid; place-items: center; font-weight: 500; font-size: 15px; flex: none; }
.gm-body { display: flex; }
.gm-rail { width: 196px; flex: none; padding: 10px 8px 12px 12px; }
.gm-compose { display: inline-flex; align-items: center; gap: 12px; background: #c2e7ff; color: #001d35; font-weight: 500; font-size: 16px; border-radius: 16px; padding: 14px 22px 14px 16px; margin: 2px 0 14px; }
.gm-compose svg { width: 20px; height: 20px; }
.gm-nav div { display: flex; align-items: center; gap: 16px; padding: 7px 12px; border-radius: 0 16px 16px 0; font-size: 15px; color: #202124; }
.gm-nav div svg { width: 18px; height: 18px; color: #5f6368; flex: none; }
.gm-nav div.on { background: #d3e3fd; color: #041e49; font-weight: 700; }
.gm-nav div .ct { margin-left: auto; font-size: 14px; }
.gm-main { flex: 1; min-width: 0; border-left: 1px solid #f1f3f4; }
.gm-tabs { display: flex; gap: 6px; padding: 0 8px; border-bottom: 1px solid #f1f3f4; }
.gm-tab { display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-size: 15px; color: #5f6368; font-weight: 500; border-bottom: 3px solid transparent; white-space: nowrap; }
.gm-tab.on { color: #0b57d0; border-bottom-color: #0b57d0; }
.gm-tab svg { width: 18px; height: 18px; flex: none; }
.gm-row { display: grid; grid-template-columns: 18px 18px 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid #f5f5f5; }
.gm-row .cb { width: 16px; height: 16px; border: 2px solid #bdc1c6; border-radius: 3px; }
.gm-row .star { width: 18px; height: 18px; color: #dadce0; }
.gm-av { width: 36px; height: 36px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-weight: 500; font-size: 16px; overflow: hidden; }
.gm-av img { width: 100%; height: 100%; object-fit: cover; }
.gm-txt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.gm-sender { font-size: 15px; color: #5f6368; }
.gm-line { font-size: 15px; color: #5f6368; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; }
.gm-line b { color: #202124; font-weight: 500; }
.gm-time { font-size: 14px; color: #5f6368; white-space: nowrap; }
.gm-blur { filter: blur(3.5px); opacity: 0.78; user-select: none; }
.gm-hot { box-shadow: inset 4px 0 0 #0b57d0; background: #f2f6fc; }
.gm-hot .gm-sender, .gm-hot .gm-line b, .gm-hot .gm-time { color: #202124; font-weight: 700; }
.gm-hot .star { color: #f4b400; }

/* ---- WhatsApp join + the gift card it delivers ---- */
.wa-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 60px; padding: 16px 34px;
  border-radius: 999px; background: #25d366; color: #fff; font-weight: 700; font-size: 19px; letter-spacing: -0.005em;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 18px 36px -16px rgba(37, 211, 102, 0.75);
  transition: transform 0.25s var(--ease), filter 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.wa-btn svg { width: 26px; height: 26px; flex: none; }
.wa-btn:hover { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 22px 40px -16px rgba(37, 211, 102, 0.8); }

.wgift {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(22px, 3.4vw, 40px);
  width: 100%; max-width: 640px; margin-top: clamp(30px, 4vw, 40px); padding: clamp(22px, 3vw, 30px) clamp(22px, 3.4vw, 36px);
  border-radius: 24px; background: var(--surface-2); border: 1px solid var(--hair-soft); text-align: left;
}
.wgift__art { display: grid; place-items: center; padding: 8px 6px; }
.gcard {
  --gw: 150px; position: relative; width: var(--gw); aspect-ratio: 820 / 1100; border-radius: calc(var(--gw) * 26 / 820); overflow: hidden;
  background: #fbfaf6; transform: rotate(-4deg); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  box-shadow: 0 34px 50px -30px rgba(28, 27, 26, 0.55), 0 2px 8px -2px rgba(28, 27, 26, 0.18);
}
.gcard img { position: absolute; left: 50%; top: 50%; width: calc(var(--gw) * 1200 / 820); max-width: none; height: auto; transform: translate(-50%, -50%) rotate(2deg) scale(1.025); }
.wgift:hover .gcard, .gcard:hover { transform: rotate(0); box-shadow: 0 40px 56px -30px rgba(28, 27, 26, 0.5), 0 2px 8px -2px rgba(28, 27, 26, 0.16); }
.wgift__k { display: block; margin-bottom: 8px; font-family: var(--display); font-stretch: 125%; font-size: 14px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.wgift__name { font-size: clamp(23px, 2.3vw, 28px); line-height: 1.12; letter-spacing: -0.022em; }
.wgift__val { margin: 10px 0 0; font-size: 18px; line-height: 1.55; color: var(--muted); }
.wgift__note { display: inline-flex; align-items: center; gap: 9px; margin: 16px 0 0; padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(37, 211, 102, 0.09); border: 1px solid rgba(26, 140, 74, 0.2); color: #146c3a; font-weight: 700; font-size: 15px; line-height: 1.3; }
.wgift__note svg { width: 19px; height: 19px; flex: none; }

/* ---- videos ---- */
.ty-videos { padding-top: clamp(96px, 13vw, 150px); }
.tgrid { max-width: 760px; }

/* ---- responsive ---- */
@media (max-width: 860px) {
  .gm-rail { display: none; }
  .gm-main { border-left: 0; }
}
@media (max-width: 620px) {
  .ty-title { white-space: normal; font-size: clamp(36px, 10.4vw, 44px); }
  .player { border-radius: 20px; }
  .player__cap { max-width: 78%; }
  .player__cap span { font-size: 14px; margin-bottom: 4px; letter-spacing: 0.12em; }
  .player__cap b { font-size: 17px; }
  .player__play span { width: 66px; height: 66px; }
  .player__play svg { width: 24px; height: 24px; }
  .player__play { place-items: center; padding-bottom: 14%; }
  .step { border-radius: 24px; }
  .step__body.cal { flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; margin-inline: auto; }
  .gm-top { gap: 12px; padding: 10px 12px; }
  .gm-logo span { display: none; }
  .gm-row { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; padding: 11px 12px; }
  .gm-row .cb, .gm-row .star { display: none; }
  .gm-tab:not(.on) { display: none; }
  .wa-btn { width: 100%; max-width: 360px; padding-inline: 20px; }
  .wgift { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 16px; padding: 26px 20px 24px; }
  .gcard { --gw: 132px; }
  .wgift__note { font-size: 14px; border-radius: 16px; padding: 9px 14px; text-align: left; }
  .ty-hero .eyebrow { display: block; line-height: 1.6; }
  .ty-hero .eyebrow::before { display: none; }
  .ty-when__sep { display: none; }
  .ty-when__b { display: block; }
  .player__cap span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .player > img, .player__play span, .cal__btn, .wa-btn, .gcard { transition: none; }
  .player__play span::before { animation: none; opacity: 0; }
}
