/* ============================================================
   SPOTLIGHT MAESTRO — inner-page components
   Loaded after styles.css on every page. styles.css stays the
   base: palette, nav, buttons, cards, sections, footer.
   ============================================================ */

/* ---- nav: dropdown + active state ---- */
.nav-links a.is-here { color: #fff; }

.nav-drop { position: relative; }
.nav-drop > a { display: inline-flex; align-items: center; gap: 7px; }
.nav-drop > a::after {
  content: '';
  width: 7px; height: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .7;
}
.nav-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 250px;
  padding: 8px;
  border-radius: 13px;
  background: rgba(6,10,21,.96);
  border: 1px solid var(--rule);
  box-shadow: 0 24px 60px -16px rgba(0,0,0,.85), 0 0 40px -18px rgba(92,153,250,.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-drop:hover .nav-menu,
.nav-drop:focus-within .nav-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu a {
  display: block;
  padding: 10px 13px;
  border-radius: 8px;
  font-size: 14.5px;
  color: var(--ink-dim);
}
.nav-menu a:hover { color: #fff; background: rgba(122,163,224,.10); }
.nav-menu a b { display: block; font-weight: 600; color: var(--ink); }
.nav-menu a:hover b { color: #fff; }
.nav-menu a span { display: block; font-size: 12.5px; color: var(--ink-faint); margin-top: 1px; }

/* A card grid pinned to three across, for a section whose three cards
   should always share the row. */
.cards-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) { .cards-3 { grid-template-columns: 1fr; } }

/* ---- card footer link ---- */
.card-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mid);
}
.card-more::after {
  content: '';
  width: 7px; height: 7px;
  border-right: 1.7px solid currentColor;
  border-top: 1.7px solid currentColor;
  transform: rotate(45deg);
  transition: transform .18s ease;
}
.card-more:hover::after { transform: translateX(3px) rotate(45deg); }

/* ---- footer link columns ---- */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
  padding-bottom: 34px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--rule);
}
.footer-nav h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 12px;
}
.footer-nav a {
  display: block;
  font-size: 14px;
  color: var(--ink-dim);
  padding: 4px 0;
}
.footer-nav a:hover { color: #fff; }

/* ---- mobile nav ---- */
.nav-burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid rgba(150,180,225,.3);
  border-radius: 10px;
  background: none;
  cursor: pointer;
  position: relative;
}
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  content: '';
  position: absolute;
  left: 11px; right: 11px;
  height: 1.8px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-burger span { top: 50%; margin-top: -1px; }
.nav-burger span::before { left: 0; right: 0; top: -6px; }
.nav-burger span::after { left: 0; right: 0; top: 6px; }
.nav.open .nav-burger span { background: transparent; }
.nav.open .nav-burger span::before { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-burger span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 620px) {
  .nav-burger { display: block; }
  .nav { flex-wrap: wrap; }
  /* Closed: only the CTA shows (styles.css hides the rest). The dropdown
     wrapper has to be hidden as a block too or it leaves a phantom gap. */
  .nav-drop { display: none; }
  .nav-menu { display: none; }
  .nav.open .nav-links {
    flex-direction: column;
    align-items: stretch;
    flex-basis: 100%;
    padding: 10px 2px 14px;
    gap: 2px;
  }
  .nav.open .nav-links a { display: block; padding: 11px 12px; font-size: 16px; }
  .nav.open .nav-drop { display: block; }
  .nav.open .nav-drop > a { display: none; }
  .nav.open .nav-menu {
    display: block;
    position: static;
    opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; background: none;
    padding: 0;
    min-width: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav.open .nav-menu a { padding: 11px 12px; }
  .nav.open .nav-menu a b { font-weight: 500; color: var(--ink-dim); }
  .nav.open .nav-menu a span { display: none; }
  .nav.open .nav-cta { text-align: center; margin-top: 8px; }
  .nav.open::before { background: rgba(2,4,10,.94); }
}

/* ---- page hero: the title block every inner page opens on ---- */
.page-hero {
  padding: 84px 0 30px;
  text-align: center;
}
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 {
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.04;
  letter-spacing: -.03em;
  font-weight: 800;
  margin-bottom: 20px;
  text-wrap: balance;
}
.page-hero h1 em { font-style: normal; color: var(--mid); text-shadow: 0 0 42px rgba(92,153,250,.45); }
.page-hero .lede { margin-inline: auto; margin-bottom: 0; }

/* ---- framed screenshot ---- */
.shot {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(150,180,225,.22);
  background: #04070f;
  box-shadow:
    0 30px 80px -24px rgba(0,0,0,.85),
    0 0 70px -22px rgba(92,153,250,.35),
    0 0 0 1px rgba(0,0,0,.6);
}
/* height:auto matters: the imgs carry width/height attributes for layout
   stability, and without it the attribute height wins over a scaled width,
   which stretches the picture. */
.shot img { width: 100%; height: auto; }
.shot-caption {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-align: center;
}
.shot-hero { margin: 46px 0 0; }
.hero-shot { padding: 0 0 92px; }

/* A photographic scene rather than a UI capture: same frame, softer ring. */
.scene { border-color: rgba(150,180,225,.16); }

/* ---- alternating media rows ---- */
.rows { display: flex; flex-direction: column; gap: 84px; }
.row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 54px;
  align-items: center;
}
.row.flip .row-copy { order: 2; }
.row.flip .row-media { order: 1; }
.row-copy h3, .row-copy h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.14;
  margin-bottom: 14px;
  text-wrap: balance;
}
.row-copy p { color: var(--ink-dim); font-size: 16px; margin-bottom: 14px; }
.row-copy p:last-child { margin-bottom: 0; }
.row-copy strong { color: #fff; font-weight: 600; }
.row-copy em { color: var(--mid); }
.row-copy ul { list-style: none; margin-top: 4px; display: flex; flex-direction: column; gap: 9px; }
.row-copy li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-dim);
  font-size: 15.5px;
}
.row-copy li::before {
  content: '';
  position: absolute;
  left: 2px; top: .56em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--edge);
  box-shadow: 0 0 10px 2px rgba(92,153,250,.4);
}
.row-copy li strong { color: var(--ink); }

/* ---- mono keyline chips (cue-sheet shorthand) ---- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--mid);
  background: rgba(92,153,250,.10);
  border: 1px solid rgba(150,180,225,.22);
  padding: 5px 11px;
  border-radius: 999px;
}

/* ---- numbered steps (CSV wizard, buy flow) ---- */
.steps { counter-reset: step; display: flex; flex-direction: column; gap: 18px; }
.step {
  counter-increment: step;
  position: relative;
  padding: 22px 24px 24px 74px;
  border-radius: 15px;
  border: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(122,163,224,.06), rgba(122,163,224,.015));
}
.step::before {
  content: counter(step);
  position: absolute;
  left: 22px; top: 21px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 15px;
  color: var(--mid);
  background: rgba(92,153,250,.12);
  border: 1px solid rgba(150,180,225,.26);
}
.step h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--ink-dim); }
.step p + p { margin-top: 8px; }

/* ---- definition grid (settings tour, spec lists) ---- */
.defs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.def {
  padding: 24px 24px 26px;
  border-radius: 15px;
  border: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(122,163,224,.06), rgba(122,163,224,.015));
}
.def h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.def h3 .k {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--edge);
}
.def p { font-size: 14.5px; color: var(--ink-dim); }
.def p + p { margin-top: 8px; }

/* ---- comparison / roles table ---- */
.table-scroll { overflow-x: auto; border-radius: 15px; border: 1px solid var(--rule); }
table.matrix {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14.5px;
  background: linear-gradient(180deg, rgba(122,163,224,.05), rgba(122,163,224,.012));
}
.matrix th, .matrix td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.matrix thead th {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mid);
  background: rgba(92,153,250,.07);
  white-space: nowrap;
}
.matrix tbody tr:last-child th, .matrix tbody tr:last-child td { border-bottom: 0; }
.matrix tbody th { font-weight: 700; color: var(--ink); white-space: nowrap; }
.matrix td { color: var(--ink-dim); }
.matrix td.yes { color: var(--mid); }
.matrix td.no { color: var(--ink-faint); }

/* ---- callout ---- */
.callout {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 14px;
  border: 1px solid rgba(150,180,225,.24);
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(92,153,250,.12), transparent 60%),
    linear-gradient(180deg, rgba(122,163,224,.06), rgba(122,163,224,.02));
  font-size: 15px;
  color: var(--ink-dim);
}
.callout::before {
  content: '';
  flex: 0 0 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--mid), var(--edge-deep));
}
.callout strong { color: #fff; }
.callout p + p { margin-top: 8px; }

/* ---- the calling-script specimen ---- */
.specimen {
  padding: 30px 32px;
  border-radius: 15px;
  border: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(122,163,224,.05), rgba(122,163,224,.012));
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.specimen .line { display: flex; gap: 18px; align-items: baseline; }
.specimen .q {
  flex: 0 0 92px;
  text-align: right;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  color: var(--edge);
  white-space: nowrap;
}
.specimen .q.live { color: #f5a623; }
.specimen .words { font-size: 16.5px; color: var(--ink); line-height: 1.55; }
.specimen .words small { display: block; font-size: 13px; color: var(--ink-faint); margin-top: 2px; }
.specimen .line.live {
  margin: 0 -14px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(245,166,35,.5);
  background: rgba(245,166,35,.08);
}

/* ---- price / buy ---- */
.buy-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 26px;
  align-items: start;
}
.price-card {
  position: sticky;
  top: 96px;
  padding: 32px 30px 34px;
  border-radius: 17px;
  border: 1px solid rgba(150,180,225,.3);
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(92,153,250,.16), transparent 62%),
    linear-gradient(180deg, rgba(122,163,224,.09), rgba(122,163,224,.02));
}
.price-card .edition-kind {
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--edge);
  margin-bottom: 10px;
}
.price-card .price {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  color: #fff;
}
.price-card .price small { font-size: 17px; font-weight: 600; color: var(--ink-dim); letter-spacing: 0; }
.price-card .price-note { font-size: 13.5px; color: var(--ink-faint); margin: 8px 0 22px; }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.price-card li { position: relative; padding-left: 26px; font-size: 15px; color: var(--ink-dim); }
.price-card li::before {
  content: '';
  position: absolute;
  left: 0; top: .32em;
  width: 13px; height: 7px;
  border-left: 2px solid var(--mid);
  border-bottom: 2px solid var(--mid);
  transform: rotate(-45deg);
}
.price-card .btn { width: 100%; }
.price-card .after-btn { margin-top: 12px; font-size: 12.5px; color: var(--ink-faint); text-align: center; }

/* ---- buy form fields ---- */
.buy-form .field-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 6px 0 10px;
}
.buy-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-dim);
}
.buy-form input, .buy-form select {
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  background: rgba(4,7,15,.6);
  border: 1px solid rgba(150,180,225,.26);
  border-radius: 9px;
  padding: 10px 12px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.buy-form input:focus, .buy-form select:focus {
  border-color: var(--edge);
  box-shadow: 0 0 0 3px rgba(92,153,250,.18);
}
.buy-form input::placeholder { color: var(--ink-faint); }
.buy-form select { appearance: none; -webkit-appearance: none; }
.buy-form .field-note { font-size: 13px; color: var(--ink-faint); }
#buyStatus:not(:empty) {
  color: var(--mid);
  border: 1px solid rgba(150,180,225,.3);
  border-radius: 9px;
  padding: 10px 12px;
  background: rgba(92,153,250,.08);
}

/* ---- download cards ---- */
.dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.dl {
  display: flex;
  flex-direction: column;
  padding: 30px 28px 30px;
  border-radius: 16px;
  border: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(122,163,224,.07), rgba(122,163,224,.02));
}
.dl h3 { font-size: 21px; font-weight: 800; letter-spacing: -.015em; margin-bottom: 4px; }
.dl .dl-kind {
  font-family: var(--font-mono);
  font-size: 12.5px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  color: var(--edge);
  margin-bottom: 14px;
}
.dl p { font-size: 15px; color: var(--ink-dim); margin-bottom: 20px; }
.dl .dl-meta {
  margin-top: auto;
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--ink-faint);
  margin-bottom: 18px;
}
.dl .btn { align-self: flex-start; }

/* ---- FAQ ---- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  border: 1px solid var(--rule);
  border-radius: 13px;
  background: linear-gradient(180deg, rgba(122,163,224,.05), rgba(122,163,224,.012));
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 17px 48px 17px 20px;
  font-weight: 600;
  font-size: 15.5px;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  position: absolute;
  right: 22px; top: 50%;
  width: 8px; height: 8px;
  border-right: 1.6px solid var(--ink-dim);
  border-bottom: 1.6px solid var(--ink-dim);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details > div { padding: 0 20px 18px; font-size: 15px; color: var(--ink-dim); }
.faq details > div p + p { margin-top: 8px; }

/* ---- the closing CTA band shared by inner pages ---- */
.next-band { border-top: 1px solid var(--rule); padding: 76px 0; text-align: center; }
.next-band h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.022em; margin-bottom: 14px; }
.next-band p { color: var(--ink-dim); max-width: 40em; margin: 0 auto 28px; }
.next-band .hero-actions { margin-bottom: 0; }

/* ---- utility ---- */
.section-tight { padding-top: 40px; }
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.mono-note {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--ink-faint);
}

/* ---- responsive ---- */
@media (max-width: 880px) {
  .row { grid-template-columns: 1fr; gap: 26px; }
  .row.flip .row-copy { order: 1; }
  .row.flip .row-media { order: 2; }
  .rows { gap: 62px; }
  .buy-grid { grid-template-columns: 1fr; }
  .price-card { position: static; }
  .page-hero { padding-top: 56px; }
}
@media (max-width: 620px) {
  .specimen { padding: 22px 18px; }
  .specimen .line { flex-direction: column; gap: 3px; }
  .specimen .q { text-align: left; flex-basis: auto; }
  .step { padding-left: 24px; padding-top: 66px; }
  .step::before { left: 22px; top: 20px; }
}
