/* =========================================================================
   The Physician Media Masterclass · webinar deck
   Stage: fixed 1280 x 720 design canvas, scaled to the viewport by deck.js.
   Tokens come from /assets/brand.css (never edited). Deck-only styles here.
   ========================================================================= */

html, body { height: 100%; margin: 0; }
body {
  overflow: hidden;
  background: #0d1522;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

#viewport { position: fixed; inset: 0; overflow: hidden; }
#stage {
  position: absolute; left: 0; top: 0;
  width: 1280px; height: 720px;
  transform-origin: 0 0;
  overflow: hidden;
  background: var(--bg);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
}
#frame { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; overflow: hidden; animation: slideIn 0.5s var(--ease) both; }
@keyframes slideIn { from { opacity: 0; } }

#bar { position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--accent-2); z-index: 20; transition: width 0.4s var(--ease); }
#counter {
  position: absolute; right: 18px; bottom: 16px; z-index: 20;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(23, 40, 66, 0.55); color: #fff;
  font: 600 14px/1 var(--sans); letter-spacing: 0.04em; font-variant-numeric: tabular-nums;
  backdrop-filter: blur(6px);
}

#hint { display: none; position: fixed; left: 0; right: 0; bottom: 22px; text-align: center; color: rgba(255, 255, 255, 0.72); font: 500 14px/1.4 var(--sans); padding: 0 16px; }
body.portrait #hint { display: block; }

/* presenter notes (N key) */
#notes {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  max-height: 44vh; overflow-y: auto;
  padding: 18px max(16px, 4vw) 22px;
  background: rgba(13, 21, 34, 0.96); color: #eef1f6;
  font: 400 18px/1.6 var(--sans);
  border-top: 2px solid var(--accent-2);
  user-select: text; -webkit-user-select: text;
}
#notes[hidden] { display: none; }
#notes .nh { display: block; margin-bottom: 6px; font: 800 13px/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--sky); }
#notes p { margin: 0 0 10px; max-width: 900px; }
#notes .cf { color: #ffb4ae; font-weight: 700; }

/* ------------------------------------------------------------------ */
/* slide surfaces                                                       */
/* ------------------------------------------------------------------ */
.sl { position: absolute; inset: 0; background: var(--bg); color: var(--ink); }
.sl.navy { background: radial-gradient(120% 90% at 80% 0%, #24385a 0%, var(--navy) 55%, #121c2d 100%); color: #fff; }
.sl.paper { background: var(--bg); }
.sl.white { background: #fff; }
.sl.warm { background: linear-gradient(180deg, #f7f5f1, #efe9df); }

.tag {
  position: absolute; left: 64px; top: 40px; z-index: 6;
  font: 800 15px/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
}
.navy .tag, .ontop .tag, .tag.lt { color: var(--sky); }

.h { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -0.028em; line-height: 1.08; text-wrap: balance; font-size: 56px; }
.h.xl { font-size: 74px; line-height: 1.04; }
.h.l { font-size: 62px; }
.h.m { font-size: 48px; line-height: 1.12; }
.h.s { font-size: 40px; line-height: 1.15; }
.h.xs { font-size: 34px; line-height: 1.2; }
.p { margin: 22px 0 0; font-size: 28px; line-height: 1.42; color: var(--muted); text-wrap: pretty; }
.p.s { font-size: 24px; }
.navy .p, .ontop .p { color: rgba(255, 255, 255, 0.78); }
.navy .h, .ontop .h { color: #fff; }
.em { color: var(--accent); }
.navy .em, .ontop .em { color: #ff9d94; }
.sky { color: var(--sky); }
.eb { display: block; margin: 0 0 18px; font: 800 17px/1.2 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.navy .eb, .ontop .eb { color: var(--sky); }
.small { font-size: 17px; color: var(--muted-2); font-weight: 600; letter-spacing: 0.02em; }
.navy .small { color: rgba(255, 255, 255, 0.6); }
.illus { position: absolute; right: 64px; top: 38px; z-index: 6; font: 700 14px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); padding: 7px 12px; border: 1px solid var(--hair); border-radius: 999px; background: rgba(255,255,255,0.6); }
.navy .illus { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.2); background: transparent; }

.center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 96px 120px; }

/* entrance */
.a { animation: rise 0.8s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.af { animation: fade 0.9s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes fade { from { opacity: 0; } }
.az { animation: zoomIn 1.1s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes zoomIn { from { opacity: 0; transform: scale(0.94); } }
.kb { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.06); } }

/* ------------------------------------------------------------------ */
/* photo layouts                                                        */
/* ------------------------------------------------------------------ */
.ph { position: absolute; inset: 0; overflow: hidden; background: #1b2940; }
.ph img, .fr img, .pol img, .cl img, .sp img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cold img { filter: saturate(0.55) contrast(1.02) brightness(0.96); }
.warmg img { filter: saturate(1.08) contrast(1.02); }

.scrim { position: absolute; inset: 0; pointer-events: none; }
.scrim.bl { background: linear-gradient(20deg, rgba(10, 17, 30, 0.88) 0%, rgba(10, 17, 30, 0.55) 34%, rgba(10, 17, 30, 0) 62%); }
.scrim.br { background: linear-gradient(-20deg, rgba(10, 17, 30, 0.88) 0%, rgba(10, 17, 30, 0.55) 34%, rgba(10, 17, 30, 0) 62%); }
.scrim.l { background: linear-gradient(90deg, rgba(10, 17, 30, 0.9) 0%, rgba(10, 17, 30, 0.62) 38%, rgba(10, 17, 30, 0) 66%); }
.scrim.r { background: linear-gradient(-90deg, rgba(10, 17, 30, 0.9) 0%, rgba(10, 17, 30, 0.62) 38%, rgba(10, 17, 30, 0) 66%); }
.scrim.tl { background: linear-gradient(160deg, rgba(10, 17, 30, 0.86) 0%, rgba(10, 17, 30, 0.5) 34%, rgba(10, 17, 30, 0) 60%); }
.scrim.b { background: linear-gradient(0deg, rgba(10, 17, 30, 0.9) 0%, rgba(10, 17, 30, 0.6) 30%, rgba(10, 17, 30, 0) 56%); }

.cap { position: absolute; z-index: 4; max-width: 600px; color: #fff; }
.cap .h { color: #fff; }
.cap .p { color: rgba(255, 255, 255, 0.84); }
.cap.bl { left: 64px; bottom: 64px; }
.cap.br { right: 64px; bottom: 64px; text-align: right; }
.cap.l { left: 64px; top: 50%; transform: translateY(-50%); }
.cap.r { right: 64px; top: 50%; transform: translateY(-50%); }
.cap.tl { left: 64px; top: 96px; }
.cap.b { left: 64px; right: 64px; bottom: 60px; max-width: none; text-align: center; }
.cap.b .h { max-width: 1000px; margin: 0 auto; }

/* split: photo one side, text other */
.sp { position: absolute; top: 0; bottom: 0; width: 54%; overflow: hidden; }
.sp.left { left: 0; } .sp.right { right: 0; }
.sptx { position: absolute; top: 0; bottom: 0; width: 46%; display: flex; flex-direction: column; justify-content: center; padding: 96px 64px 72px; }
.sptx.left { left: 0; } .sptx.right { right: 0; }

/* framed photo */
.fr { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); background: #1b2940; border: 10px solid #fff; }
.navy .fr { border-color: rgba(255, 255, 255, 0.95); }

/* polaroid */
.pol { position: relative; background: #fff; padding: 16px 16px 0; box-shadow: 0 30px 60px -28px rgba(23, 40, 66, 0.55), 0 2px 6px rgba(23, 40, 66, 0.08); border-radius: 6px; }
.pol .pi { overflow: hidden; border-radius: 2px; background: #1b2940; }
.pol .pc { padding: 16px 6px 20px; font: 600 21px/1.3 var(--display); color: var(--ink); text-align: center; letter-spacing: -0.01em; }

/* row/cluster */
.row { display: flex; gap: 24px; }
.cl { overflow: hidden; border-radius: 16px; box-shadow: var(--shadow); background: #1b2940; position: relative; }
.cl .lab { position: absolute; left: 12px; bottom: 12px; padding: 7px 12px; border-radius: 999px; background: rgba(13, 21, 34, 0.78); color: #fff; font: 700 15px/1 var(--sans); backdrop-filter: blur(4px); }

/* ------------------------------------------------------------------ */
/* components                                                           */
/* ------------------------------------------------------------------ */
.card { background: #fff; border: 1px solid var(--hair-soft); border-radius: 20px; box-shadow: var(--shadow); }
.navy .card { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); box-shadow: none; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; font: 700 22px/1 var(--sans); }
.ico { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.btnx { display: inline-flex; align-items: center; gap: 12px; padding: 20px 36px; border-radius: 999px; background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: #fff; font: 700 26px/1 var(--sans); box-shadow: 0 18px 36px -16px rgba(185, 66, 60, 0.7); }

/* quiz */
.quiz { display: flex; gap: 22px; margin-top: 46px; justify-content: center; }
.qopt { width: 220px; padding: 22px 0; border-radius: 18px; border: 2px solid var(--hair); background: #fff; font: 700 30px/1 var(--display); color: var(--muted); text-align: center; }
.qopt.pick { background: var(--accent); border-color: var(--accent); color: #fff; animation: pick 0.5s var(--ease) both; animation-delay: 1.8s; }
@keyframes pick { from { background: #fff; border-color: var(--hair); color: var(--muted); transform: scale(1); } 60% { transform: scale(1.06); } }
.qwhy { animation-delay: 2.2s !important; }

/* chat prompt (Zoom chat panel mock) */
.zchat { width: 400px; height: 520px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; display: flex; flex-direction: column; font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #232333; }
.zchat .zh { height: 52px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid #e6e6ea; font-weight: 600; font-size: 17px; position: relative; }
.zchat .zh::before { content: ""; position: absolute; left: 16px; top: 22px; width: 14px; height: 2px; background: #8a8a99; box-shadow: 0 -5px 0 #8a8a99, 0 5px 0 #8a8a99; display: none; }
.zchat .zb { flex: 1; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; background: #fafafc; }
.zchat .zm { align-self: flex-start; max-width: 85%; }
.zchat .zm .who { font-size: 13px; color: #747487; margin-bottom: 4px; }
.zchat .zm .bub { background: #fff; border: 1px solid #e6e6ea; border-radius: 12px; padding: 10px 14px; font-size: 17px; }
.zchat .zm.host .bub { background: #e8f1ff; border-color: #cfe0ff; }
.zchat .zf { border-top: 1px solid #e6e6ea; padding: 12px 14px 14px; }
.zchat .to { font-size: 14px; color: #747487; margin-bottom: 8px; }
.zchat .to b { color: #0b5cff; font-weight: 600; }
.zchat .inp { min-height: 46px; border: 1px solid #c9c9d3; border-radius: 10px; padding: 11px 14px; font-size: 18px; color: #232333; display: flex; align-items: center; }
.zchat .inp .typed { overflow: hidden; white-space: nowrap; display: inline-block; animation: type 1.2s steps(var(--n, 3)) both; animation-delay: 0.9s; }
@keyframes type { from { width: 0; } }
.zchat .inp .cur { width: 2px; height: 22px; background: #0b5cff; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.zchat .ph2 { color: #9a9aaa; }

/* yes/no */
.yn { display: flex; gap: 22px; justify-content: center; margin-top: 48px; }
.yn span { padding: 22px 56px; border-radius: 999px; font: 700 30px/1 var(--display); border: 2px solid rgba(255,255,255,0.25); color: rgba(255,255,255,0.6); }
.yn span.yes { background: #fff; color: var(--navy); border-color: #fff; animation: pick2 0.6s var(--ease) both; animation-delay: 1.2s; }
@keyframes pick2 { from { background: transparent; color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.25); } }

/* myth vs truth */
.mvt { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }
.mvt > div { display: flex; flex-direction: column; justify-content: center; padding: 96px 64px 72px; }
.mvt .myth { background: #ece7de; color: var(--muted); }
.mvt .myth .h { color: #7d8592; position: relative; }
.mvt .myth .strike { position: relative; display: inline; background-image: linear-gradient(var(--accent), var(--accent)); background-size: 100% 4px; background-repeat: no-repeat; background-position: 0 55%; animation: strike 0.9s var(--ease) both; animation-delay: 1.1s; }
@keyframes strike { from { background-size: 0% 4px; } }
.mvt .truth { background: var(--navy); color: #fff; }
.mvt .truth .h { color: #fff; }
.mvt .lbl { font: 800 17px/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 26px; }
.mvt .myth .lbl { color: #8a909b; }
.mvt .truth .lbl { color: #ff9d94; }

/* pillar divider */
.pnum { font: 700 300px/0.8 var(--display); letter-spacing: -0.06em; color: rgba(255, 255, 255, 0.08); position: absolute; right: 40px; bottom: -20px; }

/* stats */
.stats { display: flex; gap: 28px; justify-content: center; margin-top: 56px; }
.stat { width: 340px; padding: 36px 28px 30px; text-align: center; }
.stat .n { font: 700 72px/1 var(--display); letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.navy .stat .n { color: #fff; }
.stat .l { margin-top: 14px; font-size: 21px; line-height: 1.35; color: var(--muted); font-weight: 600; }
.navy .stat .l { color: rgba(255,255,255,0.72); }

/* youtube cards */
.yts { display: flex; gap: 28px; justify-content: center; margin-top: 46px; }
.yt { width: 360px; }
.yt .th { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; box-shadow: var(--shadow); background: #000; }
.yt .th img { width: 100%; height: 100%; object-fit: cover; }
.yt .ti { margin-top: 14px; display: flex; gap: 12px; }
.yt .av { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex: none; }
.yt .av img { width: 100%; height: 100%; object-fit: cover; }
.yt .tt { font: 600 19px/1.3 Roboto, -apple-system, "Segoe UI", Arial, sans-serif; color: #0f0f0f; }
.yt .mt { margin-top: 4px; font: 400 16px/1.3 Roboto, -apple-system, "Segoe UI", Arial, sans-serif; color: #606060; }
.navy .yt .tt { color: #fff; } .navy .yt .mt { color: rgba(255,255,255,0.65); }

/* zoom frame */
.zoom { position: relative; border-radius: 14px; overflow: hidden; background: #1a1a1a; box-shadow: 0 40px 90px -40px rgba(0,0,0,0.7); font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.zoom .zt { height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 14px; color: #d6d6d6; font-size: 14px; background: #242424; }
.zoom .zt i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.zoom .zt .ttl { flex: 1; text-align: center; margin-right: 60px; }
.zoom .zv { position: relative; aspect-ratio: 16 / 9; background: #000; }
.zoom .zv img { width: 100%; height: 100%; object-fit: cover; }
.zoom .rec { position: absolute; left: 14px; top: 12px; display: flex; align-items: center; gap: 7px; background: rgba(0,0,0,0.55); color: #fff; font-size: 14px; padding: 6px 10px; border-radius: 6px; }
.zoom .rec b { width: 9px; height: 9px; border-radius: 50%; background: #e02828; display: inline-block; }
.zoom .zbar { height: 62px; display: flex; align-items: center; justify-content: center; gap: 22px; color: #e8e8e8; background: #1f1f1f; font-size: 12px; }
.zoom .zbar div { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 56px; }
.zoom .zbar svg { width: 22px; height: 22px; fill: none; stroke: #e8e8e8; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.zoom .zbar .end { margin-left: 24px; background: #e02828; color: #fff; padding: 8px 14px; border-radius: 8px; font-size: 14px; font-weight: 600; min-width: 0; }

/* phone */
.phone { position: relative; width: 300px; height: 620px; border-radius: 46px; background: #0b0b0d; padding: 12px; box-shadow: 0 50px 90px -40px rgba(10, 17, 30, 0.65), inset 0 0 0 2px #2a2a2e; }
.phone .scr { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #fff; }
.phone .isl { position: absolute; left: 50%; top: 10px; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: #000; z-index: 5; }
.sysf { font-family: -apple-system, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }

/* instagram profile */
.igp { width: 560px; padding: 30px 32px 26px; }
.igp .top { display: flex; align-items: center; gap: 28px; }
.igp .pfp { width: 132px; height: 132px; border-radius: 50%; padding: 4px; background: conic-gradient(from 200deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); flex: none; }
.igp .pfp img { width: 100%; height: 100%; border-radius: 50%; border: 4px solid #fff; object-fit: cover; }
.igp .hdl { font: 600 26px/1.2 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #000; }
.igp .cnt { display: flex; gap: 26px; margin-top: 14px; font: 400 19px/1.2 -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: #000; }
.igp .cnt b { font-weight: 700; }
.igp .nm { margin-top: 20px; font: 600 18px/1.3 -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: #000; }
.igp .bio { font: 400 18px/1.4 -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: #000; }
.igp .cat { font: 400 16px/1.3 -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: #737373; }
.igp .btns { display: flex; gap: 8px; margin-top: 16px; }
.igp .btns span { flex: 1; text-align: center; padding: 10px 0; border-radius: 9px; background: #efefef; font: 600 16px/1 -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: #000; }
.igp .btns span.f { background: #0095f6; color: #fff; }
.iggrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin-top: 18px; }
.iggrid div { aspect-ratio: 4 / 5; overflow: hidden; background: #ddd; }
.iggrid img { width: 100%; height: 100%; object-fit: cover; }

/* skool card */
.skc { width: 470px; overflow: hidden; font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.skc .cov { height: 210px; position: relative; background: linear-gradient(135deg, #1b2940, #2a4066 60%, #b9423c 140%); display: flex; align-items: center; justify-content: center; gap: 16px; color: #fff; }
.skc .cov svg { width: 64px; height: 64px; }
.skc .cov span { font: 700 34px/1.05 var(--display); letter-spacing: -0.02em; }
.skc .bd { padding: 20px 22px 22px; }
.skc .gt { display: flex; align-items: center; gap: 12px; }
.skc .gt img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.skc .gn { font-size: 21px; font-weight: 700; color: #202124; }
.skc .gd { margin-top: 12px; font-size: 17px; line-height: 1.45; color: #4a4a4a; }
.skc .gm { margin-top: 14px; font-size: 15px; color: #909090; }
.skc .join { margin-top: 16px; text-align: center; padding: 14px; border-radius: 10px; background: #f8d481; color: #202124; font-weight: 700; font-size: 17px; letter-spacing: 0.02em; }

/* instagram DM */
.igdm { position: absolute; inset: 0; display: flex; flex-direction: column; background: #fff; }
.igdm .hd { padding: 50px 14px 10px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #efefef; }
.igdm .hd .av { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #1b2940, #3a557f); flex: none; display: grid; place-items: center; color: #fff; font: 700 14px/1 var(--display); }
.igdm .hd b { font-size: 15px; color: #000; display: block; }
.igdm .hd small { font-size: 12px; color: #737373; }
.igdm .bd { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; gap: 10px; justify-content: flex-end; }
.igdm .m { max-width: 78%; padding: 10px 13px; border-radius: 20px; font-size: 15px; line-height: 1.35; }
.igdm .m.in { align-self: flex-start; background: #efefef; color: #000; }
.igdm .m.out { align-self: flex-end; background: #3797f0; color: #fff; }
.igdm .lnk { align-self: flex-end; width: 76%; border-radius: 16px; overflow: hidden; border: 1px solid #e3e3e3; }
.igdm .lnk .lt { height: 84px; background: linear-gradient(135deg, #1b2940, #2f4870); }
.igdm .lnk .lb { padding: 9px 11px; font-size: 13px; color: #000; background: #fafafa; }
.igdm .lnk .lb span { display: block; color: #737373; font-size: 12px; margin-top: 2px; }
.igdm .ft { margin: 0 10px 14px; padding: 10px 14px; border: 1px solid #dbdbdb; border-radius: 22px; color: #8e8e8e; font-size: 14px; }

/* flow / steps */
.flow { position: absolute; left: 64px; right: 64px; top: 280px; display: flex; justify-content: space-between; align-items: flex-start; }
.node { width: 230px; text-align: center; position: relative; z-index: 2; }
.node .nb { width: 112px; height: 112px; margin: 0 auto; border-radius: 30px; display: grid; place-items: center; background: #fff; border: 1px solid var(--hair); box-shadow: var(--shadow); color: var(--ink); }
.node .nb .ico { width: 46px; height: 46px; stroke-width: 1.6; }
.node .nt { margin-top: 22px; font: 700 25px/1.2 var(--display); letter-spacing: -0.015em; color: var(--ink); }
.node .ns { margin-top: 8px; font-size: 19px; line-height: 1.35; color: var(--muted); }
.navy .node .nb { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.18); color: #fff; box-shadow: none; }
.navy .node .nt { color: #fff; } .navy .node .ns { color: rgba(255,255,255,0.7); }
.node.hot .nb { background: var(--accent); border-color: var(--accent); color: #fff; }
.wire { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; z-index: 1; }
.wire path { fill: none; stroke: var(--accent-2); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1400; stroke-dashoffset: 0; animation: draw 1.6s var(--ease) both; animation-delay: var(--d, 0.2s); }
.wire path.base { stroke: var(--hair); animation: none; stroke-dasharray: none; }
.navy .wire path.base { stroke: rgba(255,255,255,0.14); }
@keyframes draw { from { stroke-dashoffset: 1400; } }

/* offer stack */
.stk { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.si { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 14px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: #fff; font: 600 20px/1.25 var(--sans); min-height: 66px; }
.si .ico { width: 26px; height: 26px; color: var(--sky); }
.si.off { opacity: 0.16; }
.si.new { background: rgba(255,255,255,0.12); border-color: rgba(169,192,230,0.5); animation: rise 0.7s var(--ease) both; animation-delay: var(--d, 0s); }
.si.star { border-color: #ff9d94; background: rgba(185,66,60,0.22); }
.si.star .ico { color: #ff9d94; }
.si .ua { margin-left: auto; padding: 6px 10px; border-radius: 999px; background: var(--accent); font: 800 12px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.grp { font: 800 15px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--sky); }

/* bonus */
.bn { font: 800 18px/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.navy .bn { color: #ff9d94; }

/* roadmap cover */
.rmc { width: 340px; height: 450px; border-radius: 10px; background: #fff; box-shadow: 0 40px 80px -30px rgba(10,17,30,0.6), 0 2px 6px rgba(10,17,30,0.1); overflow: hidden; display: flex; flex-direction: column; color: var(--ink); text-align: left; }
.rmc .rt { background: var(--navy); color: #fff; padding: 22px 22px 20px; }
.rmc .rt .k { font: 800 11px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--sky); }
.rmc .rt .t { margin-top: 10px; font: 700 27px/1.08 var(--display); letter-spacing: -0.02em; }
.rmc .rb { flex: 1; padding: 16px 22px 0; display: flex; flex-direction: column; gap: 10px; }
.rmc .rf { border-bottom: 1px solid var(--hair); padding-bottom: 9px; }
.rmc .rf b { display: block; font: 800 11px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.rmc .rf i { display: block; height: 7px; margin-top: 8px; border-radius: 4px; background: #ece8e1; }
.rmc .rf i + i { width: 70%; }
.rmc .rx { display: flex; align-items: center; gap: 9px; padding: 14px 22px; font: 600 13px/1 var(--display); color: var(--ink); }
.rmc .rx svg { width: 22px; height: 22px; }
.rmc .mo { display: flex; gap: 4px; margin-top: 2px; }
.rmc .mo span { flex: 1; height: 16px; border-radius: 4px; background: #f1ede6; font: 700 9px/16px var(--sans); text-align: center; color: var(--muted-2); }
.blur { filter: blur(7px) saturate(0.8); }

/* week calendar */
.wk { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; width: 980px; }
.wk .dh { font: 800 15px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); text-align: center; padding-bottom: 6px; }
.wk .col { display: flex; flex-direction: column; gap: 6px; height: 330px; }
.wk .ev { border-radius: 9px; padding: 8px 10px; font: 700 15px/1.2 var(--sans); color: var(--ink); background: #e3e9f3; border-left: 4px solid #6f8bb8; animation: rise 0.5s var(--ease) both; animation-delay: var(--d, 0s); overflow: hidden; }
.wk .ev.or { background: #f4e2df; border-left-color: var(--accent); }
.wk .ev.fam { background: #e6efe4; border-left-color: #6c9a62; }
.wk .ev.ch { background: #efeae2; border-left-color: #a0927c; }
.dropin { position: absolute; padding: 14px 22px; border-radius: 12px; background: var(--accent); color: #fff; font: 700 21px/1 var(--sans); box-shadow: 0 18px 36px -14px rgba(185,66,60,0.7); animation: nofit 2.4s var(--ease) both; animation-delay: 2.2s; }
@keyframes nofit { 0% { opacity: 0; transform: translateY(-30px); } 30% { opacity: 1; transform: none; } 45% { transform: translateX(-10px); } 55% { transform: translateX(10px); } 65% { transform: translateX(-6px); } 75% { transform: none; } 100% { opacity: 1; } }

/* bars (distribution gap) */
.bars { width: 860px; display: flex; flex-direction: column; gap: 34px; }
.bar2 .bl2 { display: flex; justify-content: space-between; font: 700 24px/1 var(--display); color: #fff; margin-bottom: 14px; letter-spacing: -0.01em; }
.bar2 .tr { height: 34px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; }
.bar2 .fl { height: 100%; width: var(--w); border-radius: 999px; animation: grow 1.6s var(--ease) both; animation-delay: var(--d, 0.3s); }
@keyframes grow { from { width: 0; } }
.gapbr { position: absolute; border-top: 3px dashed #ff9d94; animation: fade 0.8s ease both; animation-delay: 2.3s; }

/* orbit (you stay the expert) */
.orb { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 2px dashed rgba(255,255,255,0.18); }
.orbn { position: absolute; width: 250px; text-align: center; animation: rise 0.7s var(--ease) both; animation-delay: var(--d, 0s); }
.orbn .k { width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font: 700 22px/1 var(--display); }
.orbn .t { font: 700 23px/1.2 var(--display); color: #fff; letter-spacing: -0.01em; }

/* hats around doctor */
.hat { position: absolute; padding: 14px 22px; border-radius: 999px; background: #fff; border: 1px solid var(--hair); box-shadow: var(--shadow); font: 700 23px/1 var(--sans); color: var(--ink); animation: rise 0.6s var(--ease) both; animation-delay: var(--d, 0s); white-space: nowrap; }

/* fan-out demo */
.clip { position: absolute; width: 112px; height: 200px; border-radius: 14px; overflow: hidden; box-shadow: 0 16px 30px -14px rgba(10,17,30,0.6); background: #1b2940; animation: fanout 1s var(--ease) both; animation-delay: var(--d, 0s); }
.clip img { width: 100%; height: 100%; object-fit: cover; }
.clip span { position: absolute; left: 8px; right: 8px; bottom: 10px; padding: 6px 7px; border-radius: 7px; background: #fff; color: #111; font: 700 11px/1.2 var(--sans); text-align: center; }
@keyframes fanout { from { opacity: 0; transform: translate(var(--fx, -300px), var(--fy, 0)) scale(0.6) rotate(0deg); } }

/* traveling dot */
.dot { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(185,66,60,0.18); animation: travel 3.6s var(--ease) both; animation-delay: 1.6s; }
@keyframes travel { from { transform: translateX(0); opacity: 0; } 8% { opacity: 1; } to { transform: translateX(var(--tx)); opacity: 1; } }

/* misc */
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 14px; background: #fff; border: 1px solid var(--hair); font: 600 22px/1.25 var(--sans); color: var(--ink); box-shadow: var(--shadow); }
.chip.dim { background: transparent; box-shadow: none; color: var(--muted-2); border-style: dashed; }
.chip.hot { border-color: var(--accent-line); background: #fff; }
.chip.hot .ico { color: var(--accent); }
.x-strike { position: relative; }
.x-strike::after { content: ""; position: absolute; left: 14px; right: 14px; top: 50%; height: 3px; background: var(--accent); transform-origin: left; animation: strikeL 0.6s var(--ease) both; animation-delay: var(--d2, 1s); }
@keyframes strikeL { from { transform: scaleX(0); } }

.seat { width: 150px; height: 150px; border-radius: 30px; display: grid; place-items: center; border: 2px solid rgba(255,255,255,0.22); color: rgba(255,255,255,0.9); animation: rise 0.6s var(--ease) both; animation-delay: var(--d, 0s); }
.seat .ico { width: 64px; height: 64px; stroke-width: 1.4; }

.revc { padding: 20px 22px; }
.revc .rn { display: flex; align-items: center; gap: 12px; font: 700 18px/1.2 var(--sans); color: var(--ink); }
.revc .rn i { width: 40px; height: 40px; border-radius: 50%; background: #e8edf5; color: var(--navy); display: grid; place-items: center; font: 700 16px/1 var(--display); font-style: normal; flex: none; }
.revc .rn small { display: block; font: 600 14px/1.2 var(--sans); color: var(--muted-2); margin-top: 3px; }
.revc .rt2 { margin-top: 12px; font-size: 19px; line-height: 1.45; color: var(--ink); }
.stars { color: #e7a300; letter-spacing: 2px; font-size: 18px; }

/* reduced motion: finished state immediately */
html.reduced *, html.reduced *::before, html.reduced *::after { animation: none !important; transition: none !important; }

/* ---- mobile hardening (references/mobile.md) ---- */
*, *::before, *::after { box-sizing: border-box; }
img, svg, video, canvas, iframe { max-width: 100%; }
p, li, td, th, blockquote, figcaption, h1, h2, h3, h4, h5, h6 { overflow-wrap: anywhere; }
table, pre { display: block; max-width: 100%; overflow-x: auto; }
@media (max-width: 700px) {
  #notes { font-size: 17px; }
}
@media (max-width: 420px) {
  .tok-merge, .tok-link, code { white-space: normal; }
}
