/* ============================================================
   Sublime LMS — Bootcamps solution page (/bootcamps)
   Builds on colors_and_type.css + site.css + platform-pages.css.
   Scoped under .bcp; tokens only.
   ============================================================ */

.bcp { overflow-x: clip; }
.bcp .sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.bcp h3 { font-family: var(--font-display); color: var(--fg); letter-spacing: -0.01em; }
.bcp :focus-visible { outline: 3px solid var(--color-violet-500); outline-offset: 3px; border-radius: 10px; }
.bcp-journey, .bcp-alt { background: var(--color-ivory); }

/* ---------- browser frame around real product screens ---------- */
.bcp-frame {
  margin: 0; background: #fff;
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl); overflow: hidden;
}
.bcp-frame-bar {
  display: flex; align-items: center; gap: 14px;
  height: 34px; padding: 0 14px;
  background: var(--color-mist); border-bottom: 1px solid var(--border-strong);
}
.bcp-frame-dots { display: inline-flex; gap: 6px; flex: none; }
.bcp-frame-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--color-slate-300); }
.bcp-frame-url {
  flex: 1; min-width: 0; max-width: 340px; margin: 0 auto;
  height: 20px; line-height: 20px; padding: 0 12px;
  border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--border);
  font-size: 11px; color: var(--fg-muted); text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bcp-frame img { width: 100%; height: auto; aspect-ratio: 1440 / 900; background: var(--color-mist); }

/* ---------- hero ---------- */
.bcp-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 48px; align-items: center;
}
.bcp-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.7vw, 50px); line-height: 1.06; letter-spacing: -0.03em;
  color: var(--fg); margin: 14px 0 20px; text-wrap: balance;
}
.bcp-hero .lede { margin: 0 0 28px; }
.bcp .hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.bcp-hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.bcp-hero-points li { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--fg-body); }
.bcp-hero-points svg { width: 16px; height: 16px; color: var(--color-violet-600); }
.bcp-hero-art .bcp-frame { transform: perspective(1800px) rotateY(-4deg); transform-origin: left center; }

/* ---------- learner journey ---------- */
.bcp-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px;
  position: relative;
}
.bcp-steps::before {            /* the path the five steps sit on */
  content: ""; position: absolute; top: 45px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, var(--color-violet-400), var(--color-violet-1000), var(--color-emerald-500));
  opacity: .4;
}
.bcp-step {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 22px 18px; box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.bcp-step:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.bcp-step-ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--color-violet-100); color: var(--color-violet-700); margin-bottom: 14px;
}
.bcp-step-ico svg { width: 22px; height: 22px; }
.bcp-step-n { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--color-violet-700); }
.bcp-step h3 { font-size: 17px; margin: 6px 0 6px; }
.bcp-step p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--fg-body); }

/* ---------- interactive showcase ---------- */
.bcp-tabs {
  display: grid; grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr);   /* visual ≈ 60–65% */
  gap: 36px; align-items: start; scroll-margin-top: 96px;
}
.bcp-tablist { display: flex; flex-direction: column; gap: 6px; }
.bcp-tab {
  display: flex; align-items: flex-start; gap: 14px; width: 100%;
  text-align: left; padding: 12px 16px;
  background: transparent; border: 1px solid transparent; border-radius: var(--radius-lg);
  color: var(--fg-body); position: relative;
  transition: background .2s var(--ease-out), border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.bcp-tab:hover { background: #fff; border-color: var(--border); }
.bcp-tab[aria-selected="true"] { background: #fff; border-color: var(--color-violet-200); box-shadow: var(--shadow-md); }
.bcp-tab[aria-selected="true"]::before {
  content: ""; position: absolute; left: -1px; top: 12px; bottom: 12px; width: 3px;
  border-radius: 0 3px 3px 0; background: var(--color-violet-600);
}
.bcp-tab-ico {
  width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center;
  background: var(--color-cloud); color: var(--fg-muted); transition: background .2s, color .2s;
}
.bcp-tab-ico svg { width: 17px; height: 17px; }
.bcp-tab[aria-selected="true"] .bcp-tab-ico { background: var(--color-violet-100); color: var(--color-violet-700); }
.bcp-tab-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bcp-tab-title { font-family: var(--font-display); font-weight: 650; font-size: 15px; color: var(--fg); }
.bcp-tab[aria-selected="true"] .bcp-tab-title { color: var(--color-violet-700); }
.bcp-tab-blurb { font-size: 13px; line-height: 1.45; color: var(--fg-muted); }
.bcp-panel:focus-visible { outline-offset: 6px; border-radius: var(--radius-lg); }
.bcp-panel.is-entering { animation: bcp-panel-in .32s var(--ease-out) both; }
@keyframes bcp-panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.bcp-panel-detail { margin: 18px 4px 0; font-size: 15px; line-height: 1.6; color: var(--fg-body); max-width: 720px; }
.bcp-panel-detail strong { color: var(--fg); }

/* ---------- feature splits ---------- */
.bcp-split { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 56px; align-items: center; }
.bcp-split.reverse { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
.bcp-split.reverse .bcp-split-copy { order: 2; }
.bcp-split .display-lg { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.025em; margin: 0 0 16px; }
.bcp-split .lede { margin: 0 0 24px; }
.bcp-split-art { position: relative; min-width: 0; }

.bcp-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.bcp-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.55; color: var(--fg-body); }
.bcp-checks svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--color-emerald-600); }
.bcp-checks strong { color: var(--fg); }

.bcp-types { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bcp-types li {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 600; color: var(--fg);
}
.bcp-types svg { width: 15px; height: 15px; color: var(--color-violet-600); }


/* phones */
.bcp-phones { position: relative; display: flex; justify-content: center; gap: 0; padding: 12px 0; }
.bcp-phone {
  margin: 0; width: min(280px, 44vw); aspect-ratio: 390 / 844;
  border: 10px solid var(--color-graphite); border-radius: 38px; overflow: hidden;
  background: var(--color-graphite); box-shadow: var(--shadow-xl); position: relative; z-index: 2;
}
.bcp-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 28px; }
.bcp-phone.is-back { transform: translateY(28px) rotate(-4deg); margin-right: -36px; z-index: 1; opacity: .97; }

/* ---------- use cases ---------- */
.bcp-uses-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bcp-use {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color .2s;
}
.bcp-use:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.bcp-ico { width: 42px; height: 42px; border-radius: 12px; display: inline-grid; place-items: center; background: var(--color-violet-100); color: var(--color-violet-700); }
.bcp-ico svg { width: 20px; height: 20px; }
.bcp-use h3 { font-size: 18px; margin: 16px 0 8px; }
.bcp-use p { flex: 1; margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--fg-body); }
.bcp-use-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; align-self: flex-start; min-height: 32px;
  font-size: 14px; font-weight: 600; color: var(--color-violet-700);
}
.bcp-use-link svg { width: 15px; height: 15px; transition: transform .2s var(--ease-out); }
.bcp-use-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.bcp-use-link:hover svg { transform: translate(2px, -2px); }

/* ---------- final CTA ---------- */
.bcp-final-inner { text-align: center; max-width: 880px; }
.bcp-final .cta-lede { margin-left: auto; margin-right: auto; }
.bcp-final .hero-ctas { justify-content: center; }
.bcp-final .btn:focus-visible { outline-color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .bcp-hero-grid, .bcp-split, .bcp-split.reverse { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .bcp-split.reverse .bcp-split-copy { order: 0; }
  .bcp-hero-copy, .bcp-split-copy { max-width: 680px; }
  .bcp-hero-art .bcp-frame { transform: none; }
  .bcp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bcp-steps::before { display: none; }
  .bcp-uses-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bcp-tabs { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 24px; }
}

/* Tablet/mobile: the vertical tab list becomes a swipeable row of cards. */
@media (max-width: 900px) {
  .bcp-tabs { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .bcp-tablist {
    flex-direction: row; overflow-x: auto; gap: 10px;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin: 0 -20px; padding: 4px 20px 10px; scrollbar-width: thin;
  }
  .bcp-tab { flex: 0 0 auto; width: auto; min-height: 48px; scroll-snap-align: start; align-items: center; padding: 10px 14px; background: #fff; border-color: var(--border); }
  .bcp-tab-blurb { display: none; }
  .bcp-tab-title { font-size: 14.5px; white-space: nowrap; }
  .bcp-tab[aria-selected="true"]::before { left: 14px; right: 14px; top: auto; bottom: -1px; width: auto; height: 3px; border-radius: 3px 3px 0 0; }
}

@media (max-width: 760px) {
  .bcp-steps, .bcp-uses-grid { grid-template-columns: minmax(0, 1fr); }
  .bcp-step, .bcp-use { padding: 20px; }
  .bcp .hero-ctas .btn { flex: 1 1 100%; }
  .bcp-frame-bar { height: 26px; padding: 0 10px; }
  .bcp-frame-dots i { width: 7px; height: 7px; }
  .bcp-frame-url { font-size: 10px; height: 16px; line-height: 16px; }
  .bcp-phone { border-width: 7px; border-radius: 28px; }
  .bcp-phone img { border-radius: 21px; }
  .bcp-phone.is-back { margin-right: -24px; transform: translateY(20px) rotate(-4deg); }
  .bcp-panel-detail { font-size: 14.5px; margin-top: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .bcp-panel.is-entering { animation: none; }
  .bcp-step, .bcp-use, .bcp-tab, .bcp-use-link svg { transition: none; }
  .bcp-step:hover, .bcp-use:hover { transform: none; }
}

/* ---------- bootcamps additions: fact cards, note, two-up ---------- */
.bcp-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bcp-fact {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.bcp-fact:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.bcp-fact h3 { font-size: 18px; margin: 16px 0 8px; }
.bcp-fact p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--fg-body); }
.bcp .bcp-ico, .bcp .bcp-step-ico { background: var(--color-violet-100); color: var(--color-violet-700); }
.bcp .bcp-step-n { color: var(--color-violet-700); }
.bcp-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bcp-steps::before { left: 12%; right: 12%; background: linear-gradient(90deg, var(--color-violet-1000), var(--color-violet-600)); }
.bcp-note {
  display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 0; padding: 12px 14px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  font-size: 13.5px; line-height: 1.55; color: var(--fg-body);
}
.bcp-note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--color-violet-700); }
.bcp-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.bcp-duo-item h3 { display: flex; align-items: center; gap: 8px; font-size: 18px; margin: 0 0 6px; }
.bcp-duo-item h3 svg { width: 18px; height: 18px; color: var(--color-violet-600); }
.bcp-duo-item > p { margin: 0 0 18px; font-size: 15px; line-height: 1.55; color: var(--fg-body); }
@media (max-width: 1100px) { .bcp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bcp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .bcp-duo { grid-template-columns: minmax(0, 1fr); gap: 44px; } }
@media (max-width: 760px) { .bcp-steps, .bcp-facts { grid-template-columns: minmax(0, 1fr); } .bcp-fact { padding: 22px; } }
@media (prefers-reduced-motion: reduce) { .bcp-fact { transition: none; } .bcp-fact:hover { transform: none; } }

/* ---------- challenges: need → how Sublime LMS helps ---------- */
.bcp-challenges { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.bcp-challenge {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 24px; box-shadow: var(--shadow-sm); transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.bcp-challenge:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.bcp-label { display: block; margin-top: 16px; font-size: 11px; font-weight: 600; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--fg-muted); }
.bcp-label.is-answer { margin-top: 12px; color: var(--color-violet-700); }
.bcp-challenge h3 { font-size: 17px; margin: 4px 0 0; }
.bcp-challenge p { flex: 1; margin: 4px 0 0; font-size: 14px; line-height: 1.55; color: var(--fg-body); }
.bcp-challenge .bcp-use-link { margin-top: 14px; }

/* six-step journey */
.bcp-steps-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bcp-steps-6::before { display: none; }

/* need eyebrow + outcome line in solution sections */
.bcp-need { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 14px; font-weight: 600; color: var(--fg); }
.bcp-need span { padding: 3px 10px; border-radius: var(--radius-pill); background: var(--color-amber-50); color: var(--color-amber-600); font-size: 11px; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; }
.bcp-outcome {
  display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 0; padding: 12px 14px;
  background: var(--color-emerald-50); border-radius: var(--radius-md); font-size: 14.5px; line-height: 1.55; color: var(--fg);
}
.bcp-outcome svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--color-emerald-600); }
.bcp-duo-follow { margin-top: 56px; }

@media (max-width: 1100px) { .bcp-challenges { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bcp-steps-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .bcp-challenges, .bcp-steps-6 { grid-template-columns: minmax(0, 1fr); } .bcp-challenge { padding: 20px; } .bcp-duo-follow { margin-top: 40px; } }
@media (prefers-reduced-motion: reduce) { .bcp-challenge { transition: none; } .bcp-challenge:hover { transform: none; } }

/* The in-page Explore buttons jump rather than glide for visitors who prefer less motion. */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
