/* =====================================================================
   Shared components for the webinar funnel pages (register / thank-you /
   replay). Builds on assets/funnel.css tokens. System B only.
   ===================================================================== */

/* ---- hero ---- */
.hero { padding: clamp(72px, 10vw, 128px) 0 clamp(48px, 6vw, 80px); text-align: center; }
.hero h1 { max-width: 30ch; }
.hero .sub { max-width: 46ch; }
.hero__cta { margin-top: clamp(36px, 4vw, 48px); }
.sec-head { text-align: center; margin: 0 auto clamp(44px, 5.5vw, 72px); }
.sec-head h2 { margin-bottom: 0; }
.sec-head .eyebrow { justify-content: center; }

/* inline brand logos inside eyebrows / tags */
.eyebrow .logo-i { width: 16px; height: 16px; }
.eyebrow--logo::before, .eyebrow--logo::after { display: none; }

/* ---- faux 16:9 player (prep video, replay) ---- */
.player { position: relative; max-width: 900px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: var(--ink); box-shadow: var(--shadow-2); border: 1px solid var(--line-soft); cursor: pointer; }
.player img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.player::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(80% 80% at 50% 50%, rgba(15, 27, 42, 0.05), rgba(15, 27, 42, 0.42)); }
.player:hover img { transform: scale(1.02); }
.player__play { position: absolute; top: 50%; left: 50%; z-index: 2; width: 84px; height: 84px; border-radius: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; background: rgba(255, 255, 255, 0.94); color: var(--navy); box-shadow: 0 20px 50px -16px rgba(15, 27, 42, 0.6), 0 0 0 10px rgba(255, 255, 255, 0.16); transition: transform 0.35s var(--ease), background 0.25s ease; }
.player__play svg { width: 30px; height: 30px; margin-left: 4px; }
.player:hover .player__play { transform: translate(-50%, -50%) scale(1.06); background: #fff; }
.player__chip { position: absolute; left: 18px; top: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: calc(12px + 2px); letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: rgba(15, 27, 42, 0.6); backdrop-filter: blur(8px); padding: 7px 12px; border-radius: 999px; }
@media (max-width: 600px) { .player { border-radius: 16px; } .player__play { width: 64px; height: 64px; } .player__play svg { width: 24px; height: 24px; } }

/* ---- YouTube proof grid (equal 4x2) ---- */
.proof__tile { transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.proof__tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.proof__tile { aspect-ratio: 16 / 9; }
.proof__tag { display: inline-flex; align-items: center; gap: 6px; }
.proof__tag svg { width: 14px; height: 14px; flex: none; }

/* ---- testimonial embeds: poster sits under the iframe ---- */
.vcard__media img { z-index: 0; }
.vcard__media iframe { z-index: 1; }
.vgrid { max-width: 980px; margin-left: auto; margin-right: auto; }

/* ---- generic brand logo buttons ---- */
.logo-btn svg { width: 22px; height: 22px; flex: none; }

/* ---- bottom CTA block ---- */
.end-cta { text-align: center; padding: 0 0 clamp(72px, 9vw, 112px); }

@media (max-width: 600px) {
  .hero { padding-top: 64px; }
  .sec-head { margin-bottom: 40px; }
}

/* mobile: eyebrows stay on one line, hero headline stays compact */
@media (max-width: 600px) {
  .eyebrow { letter-spacing: 0.12em; font-size: calc(11px + 2px); gap: 8px; flex-wrap: nowrap; max-width: 100%; }
  .eyebrow::before, .eyebrow::after { width: 14px; flex: none; }
  .hero h1 { font-size: calc(29px + 2px); line-height: 1.1; max-width: none; }
  .hero .sub { font-size: calc(17px + 2px); }
}
@media (max-width: 380px) { .eyebrow::before, .eyebrow::after { display: none; } }
@media (max-width: 600px) {
  .proof { gap: 10px; }
  .proof__tag { left: 6px; bottom: 6px; font-size: calc(11px + 2px); padding: 3px 7px; letter-spacing: 0.02em; }
  .proof__tag svg { width: 11px; height: 11px; }
}
