/* hub.css - the NEXT hub's own rules (2026-10-08, Opus hub pass). Loaded AFTER genesis.css,
   only on the lanes in content.HUB_NEXT_LANES (make_genesis copies it there and nowhere else).
   Every class here starts with nx- so nothing lands on genesis.css, pup.css or the product
   pages (OPUS-MISTAKES class 3). Tokens are genesis.css's own :root values. */

/* header: one row at 375-390 (the live page wraps the phone pill onto a second row) */
.top .wrap { flex-wrap: nowrap; }
.top .mark { flex: 1 1 auto; min-width: 0; font-size: 14px; letter-spacing: .01em; line-height: 1.3; }
.top .top-call { flex: 0 0 auto; letter-spacing: .03em; padding: 8px 11px; white-space: nowrap; }

/* ---------- 1. first screen ---------- */
section.nx-hero { padding-block: 18px 34px; }
.nx-hero .film { margin-bottom: 18px; }
.nx-hero h1 { margin-bottom: 12px; }
.nx-hero .lead { margin-bottom: 14px; }
.nx-filmcap { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-faint); }
.nx-filmcap .mini { min-height: 44px; padding: 8px 12px; }
.nx-hero h1 { font-size: clamp(25px, 6.4vw, 42px); }
.nx-facts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px; margin: 0; }
.nx-facts li { background: var(--panel); border: 1px solid var(--line); border-radius: 3px;
  padding: 9px 10px; line-height: 1.35; min-width: 0; }
.nx-facts b { display: block; color: var(--gold); font-size: 14.5px; margin-bottom: 2px; }
.nx-facts span { display: block; font-size: 12.5px; color: var(--ink-dim); }
@media (min-width: 640px) {
  .nx-facts li { padding: 12px 16px; }
  .nx-facts b { font-size: 17px; }
  .nx-facts span { font-size: 14px; }
}
.nx-hero .btn-row { margin: 16px 0 10px; }
/* desktop: the film and the words side by side, so the price line and the buttons are in the
   first screen at 1280 x 800 too (the film alone filled it on the live page) */
@media (min-width: 980px) {
  .nx-hero .wrap { max-width: 1200px; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    gap: 40px; align-items: center; }
  .nx-hero .film { margin-bottom: 0; }
  .nx-hero h1 { font-size: 36px; }
  .nx-facts b { font-size: 15.5px; }
  .nx-facts span { font-size: 13px; }
  .nx-facts li { padding: 10px 12px; }
}
.nx-disc { font-size: 13.5px; color: var(--ink-dim); border-left: 3px solid var(--gold);
  padding-left: 12px; margin: 4px 0 0; }

/* ---------- 2. how it works ---------- */
.nx-steps { list-style: none; counter-reset: nx; display: grid; gap: 12px; margin: 6px 0 0; }
.nx-steps li { counter-increment: nx; position: relative; padding: 14px 16px 14px 60px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 3px; }
.nx-steps li::before { content: counter(nx); position: absolute; left: 16px; top: 14px;
  width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #1a1509;
  font-weight: 700; display: grid; place-items: center; font-size: 15px; }
.nx-steps b { display: block; font-size: 16px; }
.nx-steps span { display: block; font-size: 14.5px; color: var(--ink-dim); }
@media (min-width: 720px) { .nx-steps { grid-template-columns: 1fr 1fr; } }

/* ---------- 3. the buildings ---------- */
.nx-cards { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .nx-cards { grid-template-columns: 1fr 1fr; } }
.nx-card { border: 1px solid var(--line); border-radius: 3px; background: var(--bg-soft);
  overflow: hidden; display: flex; flex-direction: column; }
.nx-card img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
.nx-card.nx-drawing img { object-fit: contain; background: #fff; }
.nx-card .nx-cbody { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.nx-card h3 { margin: 0; }
.nx-card p { font-size: 14.5px; color: var(--ink-dim); margin: 0; }
.nx-card .nx-line { font-size: 13px; color: var(--ink-faint); }
.nx-card .nx-buy { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 10px; }
.nx-card .nx-from { font-weight: 700; color: var(--ink); font-size: 16px; }
.nx-card .nx-buy .btn { padding: 10px 14px; min-height: 44px; font-size: 12.5px; flex: 0 1 auto; }
.nx-shops { margin-top: 18px; font-size: 15px; color: var(--ink-dim); }
.nx-shotscap { margin-top: 18px; }
.nx-shotscap + .shots { margin-top: 8px; }

/* ---------- 4. what you pay ---------- */
.nx-pay { display: grid; gap: 12px; margin-top: 18px; }
@media (min-width: 760px) { .nx-pay { grid-template-columns: repeat(3, 1fr); } }
.nx-pay > div { background: var(--panel); border: 1px solid var(--line); border-radius: 3px; padding: 16px; }
.nx-pay h3 { color: var(--gold); }
.nx-pay p { font-size: 14.5px; color: var(--ink-dim); margin: 0; }
.nx-priced td a { display: block; padding: 10px 0; margin: -10px 0; }

/* ---------- 5. built in Winlock ---------- */
.nx-who { margin-top: 18px; }

/* ---------- 6. questions ---------- */
.nx-fit { margin: 0 0 12px 18px; }
.nx-fit li { font-size: 14.5px; color: var(--ink-dim); margin-bottom: 6px; }
section#questions details.fold:first-of-type { margin-top: 8px; }
section#questions details.fold { margin-top: 10px; }
