/* ==========================================================
   /recruiter-guides/ — indexable detail pages for the QA Recruiter's
   Guide Series (7 volumes + 2 bundles).

   Same structural pattern as /guides/ + /promo/ on the QA side (full-width
   image carousel, 65/35 content grid, purchase panel, spec table, sticky
   buy bar) -- same class names, so the two systems stay easy to maintain
   side by side. But the recruiter storefront's own established identity
   (recruiter-guides/index.html) is a LIGHT mint page with dark-teal ink
   and gold accents, not QA's dark navy -- so this is a fresh light-mode
   build of that structure, not a copy-and-recolor of promo.css. The real
   cover/interior screenshots are themselves dark teal cards, so the
   carousel FRAME stays dark to frame them properly; everything around it
   (nav, headline, body copy, purchase panel, footer) follows the site's
   real light identity.

   promo.js (unmodified, referenced by absolute path) drives the carousel
   and sticky bar -- it's pure behavior with no hardcoded colors, so it
   works here exactly as it does on /promo/ and /guides/.
   ========================================================== */

:root {
  --bg-0: #E9F6F0;
  --bg-1: #0c2b22;
  --panel-edge: rgba(15,110,86,.16);
  --cyan: #0E7A5C;
  --cyan-2: #12A87B;
  --gold: #FFD24A;
  --gold-deep: #E4B123;
  --ink: #0C3A2E;
  --ink-mute: #4B6A60;
  --ink-dim: #6E8A80;
  --line: rgba(15,110,86,.16);
  --bracket: #86C9B3;
  --maxw: 1240px;
  --display: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background:
    radial-gradient(90% 55% at 50% -12%, rgba(91,212,174,.28), transparent 60%),
    var(--bg-0);
  color: var(--ink);
  font-family: var(--display);
  font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: var(--cyan); text-decoration: none; }
.mono { font-family: var(--mono); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ───────── slim top bar (way back to the catalog) ───────── */
.rg-topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(233,246,240,.85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.rg-topbar-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 24px;
  height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.rg-topbar .logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-weight: 700; color: var(--ink);
  font-size: 13px; letter-spacing: 0.02em;
}
.rg-topbar .logo .mk {
  width: 27px; height: 27px; flex: none; display: grid; place-items: center;
  border: 1.5px solid var(--gold); color: var(--gold-deep);
  font-weight: 700; font-size: 13px; border-radius: 4px;
  box-shadow: 0 0 18px -4px rgba(255,210,74,.5);
}
.rg-back {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-mute); white-space: nowrap;
}
.rg-back:hover { color: var(--ink); }
@media (max-width: 560px) {
  .rg-topbar-inner { height: 52px; padding: 0 16px; }
  .rg-topbar .logo span:not(.mk) { display: none; }
}

/* ───────── page layout ───────── */
.promo-page { padding: 40px 0 100px; }

.promo-content-grid {
  display: grid;
  grid-template-areas: "left" "right";
  grid-template-columns: 1fr;
  gap: 8px 0;
}
.body-left { grid-area: left; min-width: 0; }
.body-right { grid-area: right; min-width: 0; }
@media (min-width: 900px) {
  .promo-content-grid {
    grid-template-areas: "left right";
    grid-template-columns: minmax(0, 65%) minmax(0, 1fr);
    align-items: start;
    gap: 0 48px;
  }
}

.promo-headline {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(28px, 5vw, 38px); line-height: 1.12; letter-spacing: -0.02em;
  color: var(--ink); margin: 0 0 16px; text-wrap: balance;
}
.price-author-row {
  display: flex; align-items: center; gap: 10px; margin: 0 0 26px;
  font-family: var(--mono); font-size: 12.5px; color: var(--ink-mute);
}
.price-author-row .par-price { color: var(--cyan); font-weight: 700; }
.price-author-row .par-sep { color: var(--ink-dim); }

.promo-copy p { font-size: 15.5px; line-height: 1.65; color: var(--ink-mute); margin: 0 0 16px; }
.promo-copy p:last-child { margin-bottom: 0; }

.promo-section-label {
  font-family: var(--mono); font-size: 15px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cyan); margin: 28px 0 16px;
}

/* ───────── outcome bullets ───────── */
.path-bullets { list-style: none; margin: 0 0 22px; padding: 0; }
.path-bullets li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; }
.path-bullets li .plus { color: var(--cyan); font-weight: 700; flex: none; line-height: 1.45; }
.path-bullets .pb-text { display: flex; flex-direction: column; gap: 3px; }
.path-bullets .pb-headline { font-size: 14px; font-weight: 500; color: var(--ink); line-height: 1.4; }
.path-bullets .pb-sub { font-size: 13.5px; line-height: 1.5; color: var(--ink-mute); }
.path-bullets .pb-sub .tech { color: var(--cyan-2); font-weight: 500; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.tags .tag {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--cyan); border: 1px solid rgba(15,110,86,.30); border-radius: 100px; padding: 5px 11px;
}

/* ───────── buy button + reassurance lines ───────── */
.btn-buy {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--gold); color: #0F6E56;
  font-family: var(--mono); font-weight: 700; font-size: 13px;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 15px 22px; border-radius: 4px;
  transition: background .15s ease, transform .15s ease;
  width: 100%; justify-content: center;
}
.btn-buy:hover { background: #0F6E56; color: #fff; transform: translateY(-1px); }
.btn-buy .price { opacity: .85; }
.body-right .btn-buy { margin: 0 0 28px; }

.body-right .promo-price-line,
.body-right .promo-guarantee,
.body-right .instant-pdf { display: flex; align-items: center; gap: 8px; text-align: left; justify-content: flex-start; }
.body-right .li-icon { display: inline-flex; align-items: center; justify-content: center; width: 18px; flex: none; }
.instant-pdf { font-family: var(--mono); font-weight: 700; font-size: 14px; letter-spacing: 0.04em; color: var(--cyan); }
.body-right .instant-pdf { margin: 0 0 10px; }
.promo-price-line { font-size: 15px; color: var(--ink); font-weight: 500; }
.body-right .promo-price-line { margin: 0 0 10px; }
.promo-guarantee { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--cyan); }
.body-right .promo-guarantee { margin: 0 0 28px; }
.body-right .promo-section-label { margin-top: 4px; }

.regional-badge {
  display: inline-flex; align-items: center; gap: 6px; width: fit-content;
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.02em;
  line-height: 1.25; color: #0F6E56; margin: 0 0 20px;
  background: rgba(18,168,123,0.12); border: 1px solid rgba(18,168,123,0.35);
  border-radius: 6px; padding: 6px 11px;
}

/* purchase card */
.promo-purchase-panel {
  border: 1px solid rgba(15,110,86,.25); border-radius: 8px;
  background: rgba(255,255,255,.55);
  padding: 22px; margin: 0 0 28px;
}
.promo-purchase-panel .promo-summary { font-size: 13.5px; line-height: 1.55; color: var(--ink-mute); margin: 0 0 16px; }
.promo-purchase-panel .promo-spec { margin: 0; }

.promo-spec { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 0 0 36px; }
.promo-spec td { padding: 10px 4px; border-bottom: 1px solid var(--line); font-size: 13.5px; overflow-wrap: break-word; }
.promo-spec td:first-child { color: var(--ink-dim); font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; width: 38%; }
.promo-spec td:last-child { color: var(--ink); text-align: right; font-weight: 500; }

.promo-faq { margin: 0 0 36px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q { font-weight: 700; font-size: 15px; color: var(--ink); margin: 0 0 8px; }
.faq-a { font-size: 14.5px; line-height: 1.55; color: var(--ink-mute); margin: 0; }

/* ───────── free-preview link (this system's one addition over the QA
   template -- links out to the real in-browser PDF viewer, Guide-N-*.html,
   which stays exactly as it is) ───────── */
.link-preview {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--cyan);
}
.link-preview:hover { color: var(--ink); }

/* ───────── sticky bottom bar ───────── */
.promo-sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: rgba(233,246,240,.95);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-top: 1px solid var(--line);
  padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transform: translateY(100%);
  transition: transform .25s ease;
}
.promo-sticky-bar.visible { transform: translateY(0); }
.promo-sticky-bar .sb-price { font-family: var(--mono); font-weight: 700; font-size: 15px; color: var(--ink); flex: none; }
.promo-sticky-bar .btn-buy { width: auto; padding: 12px 20px; flex: none; }

/* ───────── image carousel (frame stays dark -- the real screenshots
   inside it are dark teal cards, so a light frame would look like a
   mismatted border around every slide) ───────── */
.promo-carousel-wrap { margin: 0 0 40px; }
.carousel { position: relative; }
.carousel-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; border-radius: 6px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide {
  flex: 0 0 100%; width: 100%; aspect-ratio: 1280 / 720;
  scroll-snap-align: start;
  border: 1px solid var(--panel-edge); border-radius: 6px;
  background: var(--bg-1);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.carousel-slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
.carousel-slide.cover-slide { border: none; background: none; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  border: 1px solid rgba(255,255,255,.18); background: rgba(12,43,34,.55);
  backdrop-filter: blur(3px); color: #fff;
  display: grid; place-items: center; cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }
.carousel-btn:hover { background: rgba(12,43,34,.8); border-color: rgba(255,210,74,.5); }
.carousel-btn:disabled { opacity: .3; cursor: default; }
.carousel-controls { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; display: flex; align-items: center; justify-content: center; }
.carousel-dots {
  display: flex; gap: 7px; background: rgba(12,43,34,.55); backdrop-filter: blur(3px);
  border: 1px solid rgba(255,255,255,.14); border-radius: 100px; padding: 6px 9px;
}
.carousel-dots .dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.35); border: none; padding: 0; cursor: pointer; }
.carousel-dots .dot.active { background: var(--gold); }

/* ───────── bundle-only: included-guide title links ───────── */
.pb-headline a { color: var(--cyan); }
.pb-headline a:hover { text-decoration: underline; }
