/* ============================================================
   /journeys — shared styles for the hub and the three journey
   pages. One file rather than four <style> blocks, because these
   pages are siblings and a divergence between them would be
   invisible until someone opened two of them side by side.

   Loaded AFTER /style.css, which supplies the platform tokens.
   Everything here is scoped to .jn-* so it cannot reach any
   other surface.

   Journey colour is set per page by a modifier on <body>:
   .j-money (green), .j-ai (blue), .j-bitcoin (orange). The hub
   sets none and uses all three.
   ============================================================ */

body { overflow-x: hidden; }

/* Per-page accent, read by everything below. */
body.j-money   { --jn: #22c55e; --jn-soft: rgba(34,197,94,.14);  --jn-line: rgba(34,197,94,.34); }
body.j-ai      { --jn: #38bdf8; --jn-soft: rgba(56,189,248,.14); --jn-line: rgba(56,189,248,.34); }
body.j-bitcoin { --jn: #f7931a; --jn-soft: rgba(247,147,26,.14); --jn-line: rgba(247,147,26,.34); }

.jn-glow { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
body.j-money   .jn-glow { background: radial-gradient(720px 520px at 50% -8%, rgba(34,197,94,.11) 0%, transparent 62%); }
body.j-ai      .jn-glow { background: radial-gradient(720px 520px at 50% -8%, rgba(56,189,248,.12) 0%, transparent 62%); }
body.j-bitcoin .jn-glow { background: radial-gradient(720px 520px at 50% -8%, rgba(247,147,26,.12) 0%, transparent 62%); }
/* Hub: all three, so no single journey leads by colour. */
.jn-glow.tri {
  background: radial-gradient(620px 460px at 22% -6%, rgba(34,197,94,.10) 0%, transparent 62%),
              radial-gradient(620px 460px at 78% -6%, rgba(56,189,248,.10) 0%, transparent 62%),
              radial-gradient(560px 400px at 50% 104%, rgba(247,147,26,.08) 0%, transparent 60%);
}

.jn-wrap { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; padding: 0 1.4rem; }
.jn-wrap.narrow { max-width: 820px; }

.jn-crumb { font-size: .84rem; color: var(--text-secondary); text-decoration: none; display: inline-block; margin-top: .4rem; }
.jn-crumb:hover { color: var(--text-primary); }

/* ── Hero ────────────────────────────────────────────────── */
.jn-hero { padding: 2.4rem 0 0; text-align: center; }
.jn-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--jn, var(--text-secondary));
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 1.3rem;
}
.jn-eyebrow::before, .jn-eyebrow::after { content: ''; width: 22px; height: 1px; background: currentColor; }
.jn-h1 { font-size: clamp(2rem, 6vw, 3rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.13; margin-bottom: 1.3rem; }
.jn-h1 .c { color: #22c55e; } .jn-h1 .e { color: #38bdf8; } .jn-h1 .o { color: #f7931a; }
.jn-accent { color: var(--jn); }
.jn-lead { font-size: 1.06rem; line-height: 1.76; color: var(--text-secondary); max-width: 60ch; margin: 0 auto 1rem; }
.jn-lead strong { color: var(--text-primary); font-weight: 600; }

/* ── Three-colour proof strip ────────────────────────────── */
.jn-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; margin: 2.4rem 0 0; }
.jn-stat { background: var(--bg-card); border: 1px solid rgba(226,232,240,.10); border-radius: var(--radius); padding: 1.2rem .9rem; text-align: center; }
.jn-stat-v { font-size: clamp(1.25rem, 3.2vw, 1.6rem); font-weight: 700; letter-spacing: -.02em; }
.jn-stat-l { font-size: .77rem; color: var(--text-secondary); margin-top: .4rem; line-height: 1.45; }
.jn-stat:nth-child(1) { border-top: 2px solid #f7931a; } .jn-stat:nth-child(1) .jn-stat-v { color: #f7931a; }
.jn-stat:nth-child(2) { border-top: 2px solid #38bdf8; } .jn-stat:nth-child(2) .jn-stat-v { color: #38bdf8; }
.jn-stat:nth-child(3) { border-top: 2px solid #22c55e; } .jn-stat:nth-child(3) .jn-stat-v { color: #22c55e; }

/* ── The one-minute video poster: between the tiles and the lesson list,
      on the same rail as the tiles. A 16:9 still of that journey's video
      with a play button; the click opens the shared lightbox
      (/_shared/sneak-peek.js). Mirrors the pricing page's .peek-* rules,
      with the 1px border in the journey colour like the cards. ────────── */
.jn-peek { margin: 1.4rem 0 0; }
.jn-peek-btn {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0;
  border: 1px solid var(--jn-line); border-radius: var(--radius); overflow: hidden;
  background: #000; cursor: pointer; font-family: inherit; color: var(--text-primary);
  box-shadow: 0 30px 70px -40px rgba(0,0,0,.9);
  transition: transform .2s ease, border-color .2s ease;
}
.jn-peek-btn:hover { transform: translateY(-3px); border-color: var(--jn); }
.jn-peek-btn:focus-visible { outline: 2px solid var(--jn); outline-offset: 2px; }
.jn-peek-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jn-peek-btn::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,11,.08) 0%, rgba(10,10,11,.05) 55%, rgba(10,10,11,.78) 100%);
}
.jn-peek-play {
  position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px;
  border-radius: 50%; background: var(--accent); color: #0a0a0b; display: grid; place-items: center;
  box-shadow: 0 8px 30px rgba(0,0,0,.5); transition: transform .2s ease, background .2s ease;
}
.jn-peek-play svg { width: 28px; height: 28px; margin-left: 4px; }
.jn-peek-btn:hover .jn-peek-play { transform: scale(1.06); background: var(--accent-hover); }
.jn-peek-cap {
  position: absolute; left: 18px; bottom: 14px; display: inline-flex; align-items: center; gap: .5rem;
  font-size: .95rem; font-weight: 600; color: var(--text-primary); text-shadow: 0 1px 8px rgba(0,0,0,.6);
  text-align: left;
}
.jn-peek-cap .len { color: var(--text-secondary); font-weight: 500; }

/* ── Sections ────────────────────────────────────────────── */
.jn-sec { margin-top: 3.6rem; }
.jn-sec-h { font-size: clamp(1.25rem, 3.2vw, 1.6rem); font-weight: 700; letter-spacing: -.025em; text-align: center; margin-bottom: .6rem; line-height: 1.25; }
.jn-sec-sub { text-align: center; color: var(--text-secondary); font-size: .95rem; margin-bottom: 1.8rem; line-height: 1.6; }

/* ── The lesson list. The reason these pages exist: nothing
      public says what is actually inside a journey. ───────── */
.jn-lessons { display: grid; gap: .6rem; }
.jn-lesson {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--bg-card); border: 1px solid rgba(226,232,240,.11);
  border-radius: var(--radius-sm); padding: .95rem 1.15rem; transition: border-color .18s;
}
.jn-lesson:hover { border-color: var(--jn-line); }
.jn-n {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  background: var(--jn-soft); color: var(--jn);
  font-weight: 700; font-size: .8rem; display: grid; place-items: center; margin-top: .1rem;
}
.jn-l-t { font-weight: 650; font-size: 1rem; margin-bottom: .18rem; }
.jn-l-d { font-size: .9rem; color: var(--text-secondary); line-height: 1.58; }
.jn-tag {
  display: inline-block; margin-left: .5rem; font-size: .68rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: #4ade80;
  border: 1px solid rgba(74,222,128,.4); border-radius: 99px; padding: .1rem .45rem; vertical-align: middle;
}

/* ── Callout ─────────────────────────────────────────────── */
.jn-note {
  margin-top: 1.4rem; background: var(--bg-card); border: 1px solid rgba(226,232,240,.12);
  border-top: 2px solid #4ade80; border-radius: var(--radius); padding: 1.3rem 1.4rem; text-align: center;
}
.jn-note p { color: var(--text-secondary); font-size: .96rem; line-height: 1.7; max-width: 52ch; margin: 0 auto; }
.jn-note strong { color: var(--text-primary); font-weight: 600; }

/* ── Hub cards ───────────────────────────────────────────── */
.jn-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 3rem 0 0; }
.jn-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg-card); border-radius: var(--radius); padding: 1.6rem 1.5rem;
  text-decoration: none; color: inherit; transition: border-color .18s, box-shadow .18s, transform .18s;
}
.jn-card:hover { transform: translateY(-2px); }
.jn-card.money   { border: 1px solid rgba(34,197,94,.34); }
.jn-card.money:hover   { border-color: rgba(34,197,94,.7);  box-shadow: 0 10px 30px rgba(34,197,94,.10); }
.jn-card.ai      { border: 1px solid rgba(56,189,248,.34); }
.jn-card.ai:hover      { border-color: rgba(56,189,248,.7); box-shadow: 0 10px 30px rgba(56,189,248,.10); }
.jn-card.bitcoin { border: 1px solid rgba(247,147,26,.34); }
.jn-card.bitcoin:hover { border-color: rgba(247,147,26,.7); box-shadow: 0 10px 30px rgba(247,147,26,.10); }
.jn-c-emoji { font-size: 1.9rem; line-height: 1; margin-bottom: .85rem; }
.jn-c-name { font-size: 1.32rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: .4rem; }
.jn-card.money .jn-c-name   { color: #22c55e; }
.jn-card.ai .jn-c-name      { color: #38bdf8; }
.jn-card.bitcoin .jn-c-name { color: #f7931a; }
.jn-c-line { font-size: .97rem; line-height: 1.66; color: var(--text-secondary); margin-bottom: 1.1rem; flex: 1; }
.jn-c-meta { font-size: .78rem; color: var(--text-secondary); letter-spacing: .04em; display: flex; gap: .5rem; align-items: center; margin-bottom: 1rem; flex-wrap: wrap; }
.jn-c-meta .dot { opacity: .4; }
.jn-c-go { font-size: .9rem; font-weight: 700; }
.jn-card.money .jn-c-go   { color: #22c55e; }
.jn-card.ai .jn-c-go      { color: #38bdf8; }
.jn-card.bitcoin .jn-c-go { color: #f7931a; }

.jn-deeper { margin-top: 3.2rem; border-top: 1px solid rgba(226,232,240,.10); padding-top: 2.6rem; }
.jn-deeper-lead { text-align: center; color: var(--text-secondary); font-size: 1rem; line-height: 1.75; max-width: 56ch; margin: 0 auto 1.6rem; }
.jn-deeper-lead strong { color: var(--text-primary); font-weight: 600; }
.jn-card.wide { flex-direction: row; align-items: center; gap: 1.5rem; }
.jn-card.wide .jn-c-emoji { margin-bottom: 0; font-size: 2.6rem; }
.jn-card.wide .jn-c-body { flex: 1; }
.jn-card.wide .jn-c-line { margin-bottom: .7rem; }

/* ── The choose block. Three doors, self-selected. ───────── */
.jn-choose { margin-top: 3.6rem; border-top: 1px solid rgba(226,232,240,.10); padding-top: 2.8rem; text-align: center; }
.jn-choose-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 1.6rem; }
.jn-choose-btn {
  display: block; text-decoration: none; font-weight: 700; font-size: 1rem;
  padding: 1rem .8rem; border-radius: var(--radius); background: var(--bg-card);
  transition: border-color .18s, background .18s, transform .18s;
}
.jn-choose-btn small { display: block; font-weight: 500; font-size: .78rem; color: var(--text-secondary); margin-top: .28rem; letter-spacing: 0; }
.jn-choose-btn:hover { transform: translateY(-2px); }
.jn-choose-btn.money   { border: 1px solid rgba(34,197,94,.4);  color: #22c55e; }
.jn-choose-btn.money:hover   { border-color: #22c55e; background: rgba(34,197,94,.08); }
.jn-choose-btn.ai      { border: 1px solid rgba(56,189,248,.4); color: #38bdf8; }
.jn-choose-btn.ai:hover      { border-color: #38bdf8; background: rgba(56,189,248,.08); }
.jn-choose-btn.bitcoin { border: 1px solid rgba(247,147,26,.4); color: #f7931a; }
.jn-choose-btn.bitcoin:hover { border-color: #f7931a; background: rgba(247,147,26,.08); }

/* ── Close ───────────────────────────────────────────────── */
.jn-end { margin-top: 3.4rem; text-align: center; border-top: 1px solid rgba(226,232,240,.10); padding-top: 2.8rem; }
.jn-end-h { font-size: clamp(1.3rem, 3.4vw, 1.7rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: 1.2rem; }
/* The payoff sits above the closing heading here, so it hands over to the
   heading with a shorter gap; the heading keeps its own 1.2rem gap below. */
.jn-end .payoff, .jn-choose .payoff { margin-bottom: 1.1rem; }
.jn-end-note { margin-top: .9rem; font-size: .85rem; color: var(--text-secondary); line-height: 1.6; }
.jn-end-note b { display: block; color: #4ade80; font-weight: 700; font-size: .92rem; margin-bottom: .15rem; }
.jn-sib { margin-top: 2.6rem; text-align: center; font-size: .92rem; color: var(--text-secondary); }
.jn-sib a { font-weight: 650; text-decoration: none; }
.jn-sib a.m { color: #22c55e; } .jn-sib a.a { color: #38bdf8; } .jn-sib a.b { color: #f7931a; }
.jn-sib a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 640px) {
  .jn-peek-play { width: 58px; height: 58px; margin: -29px 0 0 -29px; }
  .jn-peek-play svg { width: 22px; height: 22px; }
  .jn-peek-cap { left: 12px; bottom: 10px; font-size: .85rem; }
  .jn-pair { grid-template-columns: 1fr; }
  .jn-card.wide { flex-direction: column; align-items: flex-start; gap: .9rem; }
  .jn-choose-btns { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .jn-stats { grid-template-columns: 1fr; }
}
