/* =========================================================================
   Thank-you page · on top of /assets/brand.css + /register/funnel.css
   Faked UIs: calendar logo buttons, Gmail inbox, Skool group card.
   ========================================================================= */

.hero--ty { padding: clamp(68px, 9vw, 108px) 0 0; }
.ty-h1 { font-size: clamp(30px, 5.4vw, 60px); white-space: nowrap; }
.hero--ty .lead { margin-top: 18px; }

/* ---------- prep video ---------- */
.prep { padding-top: clamp(52px, 6vw, 68px); }
.prep .wrap { max-width: 920px; }
.prep__head { text-align: center; margin-bottom: 28px; }
.prep__head .eyebrow { margin-bottom: 10px; }
.prep__line { margin: 0; font-size: 19px; color: var(--muted); }

/* ---------- steps ---------- */
.steps { padding: clamp(72px, 8vw, 104px) 0 clamp(24px, 4vw, 40px); }
.steps .wrap { max-width: 920px; display: flex; flex-direction: column; gap: 28px; }
.step {
  position: relative; text-align: center; padding: 50px clamp(20px, 4vw, 44px) 46px;
  background: rgba(255, 255, 255, 0.86); border: 1px solid var(--hair-soft); border-radius: 28px; box-shadow: var(--shadow);
}
.step__n {
  display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 18px; border-radius: 50%;
  font-family: var(--display); font-size: 20px; font-weight: 700; color: #fff;
  background: linear-gradient(180deg, var(--accent-2), var(--accent)); box-shadow: 0 10px 22px -10px rgba(185, 66, 60, 0.7);
}
.step__h { font-family: var(--display); font-size: clamp(24px, 2.6vw, 30px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.step__sub { margin: 12px auto 0; max-width: 52ch; font-size: 19px; color: var(--muted); }
.step .cal-btns, .step .gmail, .step .skool { margin-top: 32px; }

/* calendar buttons with real logos */
.cal-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cal-btn {
  display: inline-flex; align-items: center; gap: 11px; min-height: 54px; padding: 13px 22px; border-radius: 14px;
  background: #fff; border: 1px solid var(--hair); color: var(--ink); font-size: 17px; font-weight: 700; text-decoration: none;
  box-shadow: 0 1px 2px rgba(23, 40, 66, 0.05); transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.cal-btn:hover { transform: translateY(-2px); border-color: var(--accent-line); box-shadow: var(--shadow); }
.cal-btn svg { width: 24px; height: 24px; flex: none; }

/* ---------- Gmail mockup ---------- */
.gmail {
  border-radius: 16px; overflow: hidden; background: #fff; color: #202124; text-align: left;
  border: 1px solid rgba(0, 0, 0, 0.1); box-shadow: 0 30px 70px -36px rgba(23, 40, 66, 0.55);
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 14px; line-height: 1.3;
}
.gm-top { display: flex; align-items: center; gap: 16px; padding: 10px 16px; background: #f6f8fc; }
.gm-burger { width: 22px; height: 22px; color: #5f6368; flex: none; }
.gm-logo { display: flex; align-items: center; gap: 8px; flex: none; }
.gm-logo svg { width: 32px; height: 25px; }
.gm-logo span { font-size: 22px; color: #5f6368; font-family: "Product Sans", Arial, sans-serif; }
.gm-search { flex: 1; max-width: 520px; display: flex; align-items: center; gap: 12px; background: #e9eef6; border-radius: 24px; padding: 11px 18px; color: #5f6368; }
.gm-search svg { width: 18px; height: 18px; flex: none; }
.gm-search .ph { font-size: 15px; }
.gm-top-r { display: flex; align-items: center; gap: 16px; margin-left: auto; color: #5f6368; }
.gm-top-r svg { width: 20px; height: 20px; }
.gm-ava { width: 32px; height: 32px; border-radius: 50%; background: #1a73e8; color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 14px; }
.gm-body { display: flex; background: #f6f8fc; }
.gm-rail { width: 200px; flex: none; padding: 6px 8px 16px 8px; }
.gm-compose { display: inline-flex; align-items: center; gap: 12px; background: #c2e7ff; color: #001d35; font-weight: 500; font-size: 14px; border-radius: 16px; padding: 16px 22px 16px 16px; margin: 4px 0 14px; }
.gm-compose svg { width: 20px; height: 20px; }
.gm-nav div { display: flex; align-items: center; gap: 16px; padding: 6px 12px 6px 16px; border-radius: 0 16px 16px 0; color: #202124; font-size: 14px; }
.gm-nav div svg { width: 18px; height: 18px; color: #444746; flex: none; }
.gm-nav div.on { background: #d3e3fd; color: #041e49; font-weight: 700; }
.gm-nav .ct { margin-left: auto; font-size: 13px; }
.gm-main { flex: 1; min-width: 0; background: #fff; border-radius: 16px 0 0 0; }
.gm-tabs { display: flex; border-bottom: 1px solid #f1f3f4; }
.gm-tab { flex: 1; display: flex; align-items: center; gap: 14px; padding: 15px 16px 13px; font-size: 14px; font-weight: 500; color: #5f6368; border-bottom: 3px solid transparent; }
.gm-tab.on { color: #0b57d0; border-bottom-color: #0b57d0; }
.gm-tab svg { width: 20px; height: 20px; flex: none; }
.gm-row { display: grid; grid-template-columns: 18px 20px 32px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px 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; fill: none; stroke: #c4c7c5; stroke-width: 1.8; }
.gm-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 600; color: #fff; 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: 14px; color: #202124; }
.gm-line { font-size: 14px; color: #5f6368; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-line b { color: #202124; font-weight: 400; }
.gm-time { font-size: 13px; color: #5f6368; white-space: nowrap; }
.gm-blur { filter: blur(3.4px); opacity: 0.75; user-select: none; }
.gm-hot { background: #fff; box-shadow: inset 4px 0 0 #0b57d0, 0 2px 8px -2px rgba(60, 64, 67, 0.3); position: relative; z-index: 1; border-radius: 2px; }
.gm-hot .gm-sender, .gm-hot .gm-line b, .gm-hot .gm-time { font-weight: 700; color: #202124; }
.gm-hot .star { fill: #f4b400; stroke: #f4b400; }

/* ---------- Skool group card ---------- */
.skool {
  max-width: 560px; margin-inline: auto; border-radius: 14px; overflow: hidden; background: #f8f7f5; text-align: left;
  border: 1px solid #e4e4e4; box-shadow: 0 30px 70px -36px rgba(23, 40, 66, 0.5);
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif; color: #202124;
}
.sk-top { display: flex; align-items: center; gap: 16px; padding: 12px 18px; background: #fff; border-bottom: 1px solid #e4e4e4; }
.sk-word { font-family: var(--sans); font-weight: 800; font-size: 25px; letter-spacing: -0.035em; line-height: 1; }
.sk-word i { font-style: normal; }
.sk-word .s1 { color: #2c3192; } .sk-word .s2 { color: #f2361c; } .sk-word .s3 { color: #f4ae0b; } .sk-word .s4 { color: #4cb5f0; } .sk-word .s5 { color: #e5341c; }
.sk-search { flex: 1; display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 8px; background: #f1f1f1; color: #909090; font-size: 15px; }
.sk-search svg { width: 17px; height: 17px; }
.sk-card { margin: 16px; background: #fff; border: 1px solid #e4e4e4; border-radius: 10px; overflow: hidden; }
.sk-cover { position: relative; aspect-ratio: 16 / 7.4; overflow: hidden; background: linear-gradient(120deg, #1b2940, #2a4064 60%, #34507a); }
.sk-cover__img { position: absolute; right: 0; top: 0; width: 44%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 14%; }
.sk-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #1f3251 54%, rgba(31, 50, 81, 0.55) 62%, rgba(31, 50, 81, 0) 78%); pointer-events: none; }
.sk-cover__txt { position: absolute; left: 6%; top: 50%; transform: translateY(-50%); width: 54%; display: flex; flex-direction: column; color: #fff; z-index: 1; }
.sk-cover__k { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sky); }
.sk-cover__t { margin-top: 6px; font-family: var(--display); font-size: clamp(20px, 3vw, 27px); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }
.sk-cover__s { margin-top: 8px; font-size: 13px; line-height: 1.35; color: rgba(255, 255, 255, 0.8); }
.sk-info { padding: 18px 20px 20px; }
.sk-id { display: flex; align-items: center; gap: 12px; }
.sk-ava { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; }
.sk-name { font-size: 19px; font-weight: 700; color: #202124; line-height: 1.2; }
.sk-by { font-size: 14px; color: #6b6b6b; }
.sk-desc { margin: 14px 0 0; font-size: 15px; line-height: 1.5; color: #404040; }
.sk-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; font-size: 14px; color: #6b6b6b; }
.sk-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: #f1f1f1; font-weight: 600; color: #404040; }
.sk-pill svg { width: 14px; height: 14px; }
.sk-free { background: #e8f5ec; color: #1f7a3d; }
.sk-members { display: inline-flex; margin-left: auto; }
.sk-members span { width: 30px; height: 30px; font-size: 10px !important; border-radius: 50%; display: grid; place-items: center; margin-left: -8px; border: 2px solid #fff; color: #fff; font-size: 11px; font-weight: 700; }
.sk-members span:first-child { margin-left: 0; }
.sk-join {
  display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 18px; border-radius: 8px;
  background: #f8d481; color: #202124; font-size: 15px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
  transition: background 0.2s;
}
.sk-join:hover { background: #f5c75d; }
.gift-note { display: block; text-align: center; margin: 26px auto 0; max-width: 640px; text-wrap: balance; font-size: 17px; font-weight: 600; color: var(--ink); }
.gift-note svg { display: inline-block; vertical-align: -4px; width: 20px; height: 20px; margin-right: 8px; color: var(--accent); }

@media (max-width: 860px) {
  .gm-rail { display: none; }
  .gm-main { border-radius: 0; }
}
@media (max-width: 700px) {
  .ty-h1 { white-space: normal; font-size: 30px; }
  .step { border-radius: 22px; padding: 40px 16px 34px; }
  .step__sub { font-size: 18px; }
  .cal-btns { flex-direction: column; align-items: stretch; max-width: 320px; margin-inline: auto; }
  .cal-btn { justify-content: center; }
  .gm-top { gap: 10px; padding: 8px 10px; }
  .gm-logo span, .gm-top-r svg, .gm-burger { display: none; }
  .gm-search { padding: 9px 12px; }
  .gm-tab:not(.on) { display: none; }
  .gm-row { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; padding: 10px 12px; }
  .gm-row .cb, .gm-row .star { display: none; }
  .gm-line { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .gm-snip { display: none; }
  .gm-hot .gm-line { -webkit-line-clamp: 3; }
  .sk-card { margin: 10px; }
  .sk-info { padding: 16px; }
  .sk-cover__s { display: none; }
  .gift-note { font-size: 17px; }
}

/* ---- mobile hardening (references/mobile.md) ---- */
img, svg, video, canvas, iframe { max-width: 100%; }
p, li, td, th, blockquote, figcaption, h1, h2, h3, h4, h5, h6 { overflow-wrap: anywhere; }
table, pre { display: block; max-width: 100%; overflow-x: auto; }
