/* Coaching with Ashwin: one band, the same on mobiusengine.ai's home page (frontend/public/home/)
   and Mogi's landing page (src/features/coaching/CoachingBand.tsx). Founder, 2026-12-04: the $500
   hour, his book and experience, and what the hour is for. The button opens the one checkout that
   any new account can use: app.mobiusengine.ai/billing#coaching (sign in with Google, then Stripe).
   Self-contained: the colours and fonts fall back to fixed values when site.css is not on the page.
   Every class starts with cx- so it can never collide with the host page. Dark only: both hosts
   are on the night sky. No serif, no mono labels (founder). */

.cx {
  --cx-gold: #d9b871;
  --cx-gold-hi: #ecd398;
  --cx-ink: #f1f4fb;
  --cx-dim: #b4bdd6;
  --cx-faint: rgba(241, 244, 251, 0.6);
  --cx-line: rgba(255, 255, 255, 0.1);
  --cx-glass: rgba(255, 255, 255, 0.045);
  --cx-display: var(--f-display, "Figtree", "Helvetica Neue", Arial, sans-serif);
  --cx-body: var(--f-body, "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif);
  position: relative;
  padding: clamp(72px, 10vw, 120px) clamp(16px, 4vw, 32px);
  color: var(--cx-ink);
  font-family: var(--cx-body);
}
.cx *, .cx *::before, .cx *::after { box-sizing: border-box; }
.cx-wrap { max-width: 1200px; margin: 0 auto; }

.cx-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(20px, 3vw, 36px);
  border-radius: 28px;
  border: 1px solid rgba(217, 184, 113, 0.28);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(217, 184, 113, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

/* Left: the portrait and the book under it. */
.cx-side { display: flex; flex-direction: column; gap: 14px; }
.cx-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  background: #0d1430;
}
.cx-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cx-photo figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 48px 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(4, 7, 26, 0.92));
  font-family: var(--cx-display);
}
.cx-name { display: block; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.cx-role { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 600; color: var(--cx-dim); }

.cx-book {
  display: flex; align-items: center; gap: 14px;
  padding: 12px; border-radius: 16px;
  border: 1px solid var(--cx-line); background: var(--cx-glass);
  color: inherit; text-decoration: none;
  transition: border-color 0.25s, background 0.25s;
}
.cx-book:hover, .cx-book:focus-visible { border-color: rgba(217, 184, 113, 0.55); background: rgba(217, 184, 113, 0.08); }
.cx-book img { width: 54px; height: 86px; flex: none; border-radius: 3px; object-fit: cover; box-shadow: 0 8px 18px -6px rgba(0, 0, 0, 0.7); }
.cx-book-k { display: block; font-size: 12px; font-weight: 700; color: var(--cx-gold); }
.cx-book-t { display: block; margin-top: 2px; font-family: var(--cx-display); font-size: 16px; font-weight: 800; line-height: 1.2; }
.cx-book-a { display: block; margin-top: 4px; font-size: 13px; color: var(--cx-faint); }

/* Right: the pitch. */
.cx-main { display: flex; flex-direction: column; min-width: 0; }
.cx-kicker {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  margin: 0; padding: 6px 12px; border-radius: 999px;
  background: rgba(217, 184, 113, 0.12); color: var(--cx-gold-hi);
  font-family: var(--cx-display); font-size: 13px; font-weight: 700;
}
.cx-title {
  margin: 16px 0 0;
  font-family: var(--cx-display);
  font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; font-weight: 800; letter-spacing: -0.035em;
}
.cx-title em { font-style: normal; background: linear-gradient(135deg, #f3dfa8, #d9b871 45%, #b8913f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cx-lede { margin: 14px 0 0; max-width: 60ch; font-size: 16.5px; line-height: 1.6; color: var(--cx-dim); }

.cx-creds { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: 22px 0 0; padding: 0; list-style: none; }
.cx-creds img { display: block; width: auto; filter: brightness(0) invert(1); opacity: 0.85; }
.cx-creds .cx-l-openai { height: 22px; }
.cx-creds .cx-l-google { height: 23px; margin-top: 5px; }
.cx-creds .cx-l-jpm { height: 19px; }
.cx-fact { font-family: var(--cx-display); font-size: 14px; font-weight: 700; color: var(--cx-ink); }
.cx-fact span { color: var(--cx-faint); font-weight: 600; }

.cx-uses-h { margin: 28px 0 0; font-family: var(--cx-display); font-size: 15px; font-weight: 800; color: var(--cx-ink); }
.cx-uses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.cx-use {
  display: flex; gap: 12px; padding: 14px; border-radius: 16px;
  border: 1px solid var(--cx-line); background: var(--cx-glass);
}
.cx-ico {
  display: grid; place-items: center; flex: none;
  width: 34px; height: 34px; border-radius: 10px;
  background: rgba(217, 184, 113, 0.14); color: var(--cx-gold-hi);
}
.cx-ico svg { width: 18px; height: 18px; }
.cx-use-t { display: block; font-family: var(--cx-display); font-size: 15px; font-weight: 800; line-height: 1.25; }
.cx-use-d { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.45; color: var(--cx-dim); }

.cx-buy {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px;
  margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--cx-line);
}
.cx-price { margin: 0; display: flex; align-items: baseline; gap: 8px; font-family: var(--cx-display); }
.cx-amt { font-size: 42px; font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.cx-per { font-size: 15px; font-weight: 600; color: var(--cx-dim); }
.cx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.cx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: linear-gradient(135deg, #f3dfa8 0%, #d9b871 38%, #b8913f 72%, #8a6d2f 100%);
  color: #1a1408; text-decoration: none;
  font-family: var(--cx-display); font-size: 16px; font-weight: 800;
  box-shadow: 0 14px 40px -14px rgba(217, 184, 113, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}
.cx-btn:hover, .cx-btn:focus-visible { transform: translateY(-1px); box-shadow: 0 20px 50px -14px rgba(217, 184, 113, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.cx-btn svg { width: 18px; height: 18px; }
.cx-alt { color: var(--cx-dim); font-size: 14.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cx-alt:hover { color: var(--cx-ink); }
.cx-note { flex-basis: 100%; margin: 0; font-size: 13px; color: var(--cx-faint); }

@media (max-width: 900px) {
  .cx-card { grid-template-columns: 1fr; }
  .cx-side { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: end; }
  .cx-photo figcaption { padding: 32px 10px 10px; }
  .cx-name { font-size: 16px; }
  .cx-role { font-size: 12px; }
  .cx-actions { margin-left: 0; }
}
@media (max-width: 560px) {
  .cx-uses { grid-template-columns: 1fr; }
  .cx-side { grid-template-columns: 1fr; }
  .cx-photo { aspect-ratio: 4 / 3.4; }
  .cx-btn { width: 100%; }
  .cx-actions { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .cx-btn, .cx-book { transition: none; }
  .cx-btn:hover { transform: none; }
}
