/* =========================================================================
   STEADY STATE · thank-you page (extends brand.css + funnel-page.css)
   One-line header, prep-video faux player, three centred steps
   (calendar logos · Gmail inbox · WhatsApp invite), 2 videos.
   ========================================================================= */

/* ---------------------------------------------------------------- header */
.hero--ty { padding: clamp(84px, 12vh, 120px) 0 clamp(30px, 4vh, 44px); --flank-gap: 420px; }
.ty-title {
  white-space: nowrap; overflow-wrap: normal;
  font-size: calc(clamp(1.4rem, 6.2vw, 3.6rem) + var(--bump));
}
.hero--ty .lead { margin-top: 18px; }

/* ------------------------------------------------------------ prep video */
.prep { position: relative; padding: clamp(18px, 3vh, 30px) 0 0; }
.prep .container { max-width: calc(900px + 2 * var(--gutter)); }
.prep__head { text-align: center; margin-bottom: 26px; }
.prep__head .eyebrow { margin-bottom: 12px; }
.prep__line { margin: 0 auto; max-width: 52ch; color: var(--muted); font-size: calc(1rem + var(--bump)); line-height: 1.55; text-wrap: balance; }
/* nudge the frame up a touch so the play button sits on the shirt, not the chin */
.prep__player .player__img { transform: scale(1.1); transform-origin: 52% 100%; }
.player__time { font-size: calc(12px + var(--bump)); font-weight: 600; font-variant-numeric: tabular-nums; color: rgba(238, 243, 246, 0.86); }

/* ----------------------------------------------------------------- steps */
.steps-sec { padding-top: clamp(64px, 9vh, 96px); }
.steps { list-style: none; margin: 0 auto; padding: 0; max-width: 880px; display: flex; flex-direction: column; gap: 28px; }
.step {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(34px, 4vw, 44px) clamp(20px, 4vw, 44px) clamp(36px, 4vw, 46px); border-radius: 26px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--hair);
  box-shadow: 0 40px 90px -64px rgba(0, 0, 0, 0.95);
}
.step::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(60% 40% at 50% 0%, rgba(12, 191, 240, 0.08), transparent 70%);
}
.step__n {
  position: relative; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--bg); border: 1.5px solid var(--accent); color: var(--accent);
  font-family: var(--display); font-weight: 600; font-size: calc(17px + var(--bump));
  box-shadow: 0 0 0 6px rgba(12, 191, 240, 0.07), 0 0 24px -6px var(--accent-glow);
}
.step__h {
  position: relative; margin: 0; max-width: 34ch; font-family: var(--display); font-weight: 600; text-transform: uppercase;
  font-size: calc(clamp(1.35rem, 2.3vw, 1.75rem) + var(--bump)); line-height: 1.12; letter-spacing: 0.01em; text-wrap: balance;
}
.step__sub { position: relative; margin: 12px auto 0; max-width: 50ch; color: var(--muted); font-size: calc(1rem + var(--bump)); line-height: 1.55; text-wrap: balance; }
.step > .cal-btns, .step > .gmail, .step > .wa { position: relative; margin-top: 28px; }

/* ------------------------------------------------- calendar buttons */
.cal-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cal-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 52px; padding: 12px 20px;
  border-radius: 14px; background: rgba(238, 243, 246, 0.04); border: 1px solid var(--hair-2); color: var(--ink);
  font-weight: 700; font-size: calc(0.95rem + var(--bump));
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}
.cal-btn:hover { border-color: rgba(12, 191, 240, 0.6); background: rgba(12, 191, 240, 0.06); transform: translateY(-2px); }
.cal-btn svg { width: 22px; height: 22px; flex: none; }

/* =========================================================================
   GMAIL MOCKUP (step 2) · the real product look, light, inside the dark page
   ========================================================================= */
.gmail {
  width: 100%; border-radius: 16px; overflow: hidden; text-align: left; background: #fff; color: #202124;
  font-family: "Google Sans", Roboto, Arial, Helvetica, sans-serif; font-size: calc(14px + var(--bump)); line-height: 1.3;
  border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 34px 80px -36px rgba(0, 0, 0, 0.95);
}
.gmail svg { flex: none; }
.gm-top { display: flex; align-items: center; gap: 14px; padding: 10px 16px; background: #f6f8fc; }
.gm-burger { width: 22px; height: 22px; color: #5f6368; }
.gm-logo { display: flex; align-items: center; gap: 8px; flex: none; }
.gm-logo svg { width: 32px; height: 25px; }
.gm-logo span { font-size: calc(20px + var(--bump)); color: #5f6368; letter-spacing: -0.01em; }
.gm-search { flex: 1; min-width: 0; max-width: 520px; display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 24px; background: #e9eef6; color: #5f6368; }
.gm-search svg { width: 19px; height: 19px; }
.gm-search .ph { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-top-r { display: flex; align-items: center; gap: 14px; margin-left: auto; color: #5f6368; }
.gm-top-r svg { width: 20px; height: 20px; }
.gm-me { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #7b1fa2; color: #fff; font-weight: 600; font-size: calc(14px + var(--bump)); }
.gm-body { display: flex; background: #f6f8fc; }
.gm-rail { width: 200px; flex: none; padding: 6px 8px 14px 10px; }
.gm-compose { display: inline-flex; align-items: center; gap: 12px; margin: 4px 0 14px; padding: 15px 22px 15px 16px; border-radius: 16px; background: #c2e7ff; color: #001d35; font-weight: 600; }
.gm-compose svg { width: 20px; height: 20px; }
.gm-nav div { display: flex; align-items: center; gap: 16px; padding: 6px 12px; border-radius: 0 16px 16px 0; color: #202124; font-weight: 500; }
.gm-nav div svg { width: 18px; height: 18px; color: #444746; }
.gm-nav div.on { background: #d3e3fd; color: #041e49; font-weight: 700; }
.gm-nav .ct { margin-left: auto; font-size: calc(12px + var(--bump)); }
.gm-main { flex: 1; min-width: 0; margin: 0 10px 10px 0; border-radius: 16px; overflow: hidden; background: #fff; }
.gm-tabs { display: flex; border-bottom: 1px solid #eceff1; }
.gm-tab { display: flex; align-items: center; gap: 12px; padding: 14px 18px 12px; color: #444746; font-weight: 600; border-bottom: 3px solid transparent; }
.gm-tab svg { width: 18px; height: 18px; }
.gm-tab.on { color: #0b57d0; border-bottom-color: #0b57d0; }
.gm-row { display: grid; grid-template-columns: 18px 18px 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid #f1f3f4; }
.gm-row .cb { width: 16px; height: 16px; border: 2px solid #c4c7c5; border-radius: 3px; }
.gm-row .star { width: 18px; height: 18px; color: #dadce0; }
.gm-av { position: relative; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; color: #fff; font-weight: 600; font-size: calc(15px + var(--bump)); }
.gm-txt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.gm-sender { color: #5f6368; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-line { color: #5f6368; font-size: calc(13.5px + var(--bump)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; }
.gm-line b { color: #202124; font-weight: 500; }
.gm-snip { color: #5f6368; }
.gm-time { color: #5f6368; font-size: calc(12.5px + var(--bump)); white-space: nowrap; }
.gm-blur { filter: blur(3.4px); opacity: 0.75; user-select: none; }
.gm-hot { position: relative; background: #f2f6fc; box-shadow: inset 4px 0 0 #0b57d0; }
.gm-hot .gm-sender { color: #1f1f1f; font-weight: 700; }
.gm-hot .gm-line b { font-weight: 700; color: #1f1f1f; }
.gm-hot .gm-time { color: #1f1f1f; font-weight: 700; }
.gm-hot .star { color: #f4b400; }
/* round crop of the office frame, face (57% 26% of the frame) centred */
.gm-av.facecrop { --fx: 52%; --fy: 31%; --fz: 300%; background: #d7dde3; box-shadow: 0 0 0 2px #fff, 0 0 0 3px #0b57d0; }

/* =========================================================================
   WHATSAPP INVITE (step 3) · real WhatsApp green and logo
   ========================================================================= */
.wa { display: flex; flex-direction: column; align-items: center; }
.wa__av {
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 14px;
  background: radial-gradient(70% 70% at 50% 30%, #12202a, #06080a); border: 1px solid var(--hair-2);
  box-shadow: 0 0 0 5px rgba(37, 211, 102, 0.12);
}
.wa__av svg { width: 44px; height: 44px; }
.wa__name { margin: 0; font-weight: 800; font-size: calc(1.05rem + var(--bump)); color: var(--ink); }
.wa__meta { margin: 4px 0 20px; color: var(--faint); font-size: calc(0.86rem + var(--bump)); }
.wa-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 15px 30px;
  border-radius: 999px; background: #25D366; color: #fff; font-weight: 800; font-size: calc(1rem + var(--bump));
  box-shadow: 0 16px 40px -14px rgba(37, 211, 102, 0.6);
  transition: transform 0.2s var(--ease), filter 0.2s var(--ease), box-shadow 0.3s var(--ease);
}
.wa-btn:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 22px 50px -16px rgba(37, 211, 102, 0.7); }
.wa-btn svg { width: 26px; height: 26px; }
.wa-note {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; margin: 22px auto 0; max-width: 64ch;
  color: var(--muted); font-size: calc(0.92rem + var(--bump)); line-height: 1.45; text-align: center; text-wrap: balance;
}
.wa-note svg { width: 20px; height: 20px; flex: none; color: #25D366; }

/* ------------------------------------------------------------ mobile */
@media (max-width: 860px) {
  .gm-rail { display: none; }
  .gm-main { margin: 0; border-radius: 0; }
  .gm-search { max-width: none; }
  .gm-hide { display: none; }
}
@media (max-width: 760px) {
  .hero--ty { padding: 92px 0 26px; }
  .steps { gap: 20px; }
  .step { border-radius: 22px; }
  .step > .gmail { margin-left: -6px; margin-right: -6px; width: calc(100% + 12px); }
  .cal-btns { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; margin-left: auto; margin-right: auto; }
  .wa-btn { width: 100%; max-width: 320px; }
}
@media (max-width: 560px) {
  .gmail { font-size: calc(13px + var(--bump)); border-radius: 14px; }
  .gm-top { gap: 10px; padding: 9px 12px; }
  .gm-logo span { display: none; }
  .gm-search { padding: 8px 12px; }
  .gm-tab { padding: 12px 12px 10px; gap: 8px; }
  .gm-row { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; padding: 10px 12px; }
  .gm-row .cb, .gm-row .star { display: none; }
  .gm-line { white-space: normal; }
  .gm-line b { display: block; }
  .gm-snip { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .gm-dash { display: none; }
  .gm-blur .gm-line b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .step { padding-left: 16px; padding-right: 16px; }
  .wa-btn { gap: 10px; padding: 14px 18px; font-size: calc(0.94rem + var(--bump)); white-space: nowrap; }
  .wa__name { text-wrap: balance; }
  /* small player: drop the play button below his face */
  .prep__player .player__play { top: 63%; }
  .wa-note { text-align: center; flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .cal-btn, .wa-btn { transition: none; }
}
