/* The Training roadmap (r10, 26 Nov 2026): header, tabs, the winding step path, and the locked view. Tokens only, so light and dark both work. */
.rmPage { width: 100%; max-width: 560px; margin: 0 auto; }
.rmFlow { display: flex; flex-direction: column; gap: 14px; }
.rmHead { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.rmEyebrow { color: var(--brand-text); }
.rmH1 { text-transform: none; font: 700 34px/1 var(--font-num); letter-spacing: 0.01em; overflow-wrap: break-word; }
.rmMeta { font-size: 15px; color: var(--text-2); margin-top: 4px; }
.rmFrom { font-size: 14px; color: var(--text-3); }
.rmBar2 { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.rmTabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: var(--r-m); }
.rmTab { min-height: 40px; padding: 0 14px; border: 0; background: transparent; color: var(--text-2); font: 600 15px var(--font-ui); border-radius: var(--r-s); cursor: pointer; }
.rmTab.on { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,0.14); }
.rmAdjust { border-radius: var(--r-pill); }
.rmStatus { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); font-size: 15px; color: var(--text); }
.rmDot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); flex: none; }
.rmFounding { margin-left: auto; }
.rmWeek { align-self: center; }
.rmNote { padding: 12px 14px; border-radius: var(--r-m); background: var(--brand-soft); color: var(--brand-text); font-size: 14.5px; font-weight: 600; margin-bottom: 6px; }
.rmSkel { padding: 12px 0; }

/* the path: bubbles sit on the left or right third of a 360-wide track; dotted lines run between them */
.rmPath { width: 100%; max-width: 360px; margin: 0 auto; }
.rmRow { position: relative; display: flex; align-items: center; min-height: 88px; }
.rmRow.l { justify-content: flex-start; padding-left: calc(33.333% + 48px); }
.rmRow.r { justify-content: flex-end; padding-right: calc(33.333% + 48px); text-align: right; }
.rmRow.cur.l { padding-left: calc(33.333% + 56px); }
.rmRow.cur.r { padding-right: calc(33.333% + 56px); }
.rmBub { position: absolute; top: 50%; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; transform: translate(-50%, -50%); background: var(--surface-2); color: var(--text-2); box-shadow: inset 0 0 0 2px var(--line-2); font: 700 24px var(--font-num); text-decoration: none; z-index: 1; }
.rmRow.l .rmBub { left: 33.333%; }
.rmRow.r .rmBub { left: 66.667%; }
.rmBub svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.rmRow.cur .rmBub { width: 76px; height: 76px; background: var(--brand); color: var(--on-brand); box-shadow: 0 0 0 7px color-mix(in srgb, var(--brand) 18%, transparent), 0 0 0 14px color-mix(in srgb, var(--brand) 8%, transparent); }
.rmRow.cur .rmBub svg { fill: currentColor; stroke: none; width: 30px; height: 30px; margin-left: 3px; }
.rmRow.done .rmBub { background: var(--brand-soft); color: var(--brand-text); box-shadow: inset 0 0 0 2px var(--brand-text); }
.rmRow.done .rmBub svg { stroke-width: 3; }
.rmRow.cp .rmBub { background: var(--gold-fill); color: var(--gold-ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold-fill) 28%, transparent); }
.rmRow.lock { }
.rmLabel { display: flex; flex-direction: column; gap: 3px; min-width: 0; align-items: flex-start; }
.rmRow.r .rmLabel { align-items: flex-end; }
.rmTitle { font-size: 17px; line-height: 1.2; font-weight: 700; color: var(--text); overflow-wrap: anywhere; }
.rmRow:not(.cur):not(.cp):not(.done) .rmTitle { color: var(--text-2); }
.rmSub { font-size: 14px; color: var(--text-3); }
.rmBadge { display: inline-flex; height: 22px; padding: 0 8px; align-items: center; border-radius: 6px; background: var(--brand); color: var(--on-brand); font: 700 14px var(--font-ui); letter-spacing: 0; text-transform: none; white-space: nowrap; }
.rmBadge.free { background: var(--brand-soft); color: var(--brand-text); }
.rmBar { display: block; width: 100px; height: 5px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.rmBar i { display: block; height: 100%; background: var(--brand); border-radius: 3px; }
.rmGo { margin-top: 6px; }
.rmConn { position: relative; height: 52px; margin: -6px 0; }
.rmConn.withStage { height: 76px; }
.rmConn svg { display: block; width: 100%; height: 100%; }
.rmConn line { stroke: var(--line-3); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 0.1 10; }
.rmStage, .rmStageTop .rmStage { display: inline-flex; align-items: center; height: 34px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--bg); font: 600 14px var(--font-ui); letter-spacing: 0; text-transform: none; color: var(--text-2); white-space: nowrap; }
.rmConn .rmStage { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.rmStageTop { display: flex; justify-content: center; margin: 4px 0 8px; }

/* free and signed out: everything after step 1 is blurred, with the unlock card centred over it */
.rmLockWrap { position: relative; min-height: 420px; }
.rmBlur { filter: blur(5px); opacity: 0.85; user-select: none; pointer-events: none; }
.rmUnlock { position: absolute; left: 50%; top: 28px; transform: translateX(-50%); width: min(100% - 8px, 392px); padding: 22px 20px 18px; text-align: center; display: flex; flex-direction: column; align-items: stretch; gap: 10px; box-shadow: var(--shadow-lg); border: 1px solid var(--line-2); z-index: 3; }
.rmLockIco { align-self: center; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); }
.rmLockIco svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rmUnlockH { font: 700 26px/1.05 var(--font-num); }
.rmUnlockSub { font-size: 15px; color: var(--text-2); }
.rmToggle { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: var(--r-m); margin-top: 2px; }
.rmOpt { min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; border: 0; background: transparent; border-radius: var(--r-s); font: 600 15px var(--font-ui); color: var(--text-2); cursor: pointer; }
.rmOpt.on { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,0.16); }
.rmSave { height: 20px; padding: 0 7px; display: inline-flex; align-items: center; border-radius: var(--r-pill); background: var(--gold-fill); color: var(--gold-ink); font: 700 14px var(--font-ui); }
.rmPrice { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 6px; }
.rmAmt { font: 700 34px/1 var(--font-num); }
.rmPer { color: var(--text-2); font-size: 15px; }
.rmPrice small { flex-basis: 100%; font-size: 14px; color: var(--text-3); }
.rmCta { margin-top: 2px; }
.rmSmall { font-size: 14px; line-height: 1.45; color: var(--text-3); }
.rmUnlock .foundingLine { font-size: 14px; }
@media (max-width: 420px) { .rmH1 { font-size: 30px; } .rmRow { min-height: 84px; } .rmTitle { font-size: 16px; } }
@media (prefers-reduced-motion: no-preference) { .rmRow.cur .rmBub { animation: rmPulse 2.4s ease-in-out infinite; } @keyframes rmPulse { 50% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--brand) 20%, transparent), 0 0 0 18px color-mix(in srgb, var(--brand) 6%, transparent); } } }

/* r13e (27 Nov 2026): the small unlock card, and the trial page (#/training/start, trial.js), after the KTK screenshots */
.rmUnlock { gap: 12px; padding: 20px 20px 16px; top: 20px; }
.rmUnlockH { font-size: 28px; }
.rmUnlockSub { font-size: 16px; }
.rmUnlock .rmCta { text-decoration: none; }
.trPage { max-width: 440px; margin: 0 auto; padding: 8px 0 32px; display: flex; flex-direction: column; gap: 18px; }
.trStartH { font: 700 34px/1.05 var(--font-num); text-align: center; margin: 8px 0 2px; text-wrap: balance; }
.trTimeline { list-style: none; margin: 0; padding: 0 4px; display: flex; flex-direction: column; }
.trTl { position: relative; display: flex; gap: 14px; padding-bottom: 20px; }
.trTl.last { padding-bottom: 0; }
.trTl::before { content: ''; position: absolute; left: 6px; top: 18px; bottom: -2px; width: 2px; background: var(--line-3); }
.trTl.last::before { display: none; }
.trDot { flex: none; width: 14px; height: 14px; margin-top: 3px; border-radius: 50%; background: var(--surface); border: 3px solid var(--brand); position: relative; z-index: 1; box-sizing: border-box; }
.trTl:first-child .trDot { background: var(--brand); }
.trTlBody { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.trTlBody b { font-size: 16px; color: var(--text); }
.trTlBody span { font-size: 15px; line-height: 1.35; color: var(--text-2); }
.trPlans { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.trPlan { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 68px; padding: 14px 16px; text-align: left; font: inherit; color: var(--text); background: var(--surface); border: 1.5px solid var(--line-2); border-radius: var(--r-m); cursor: pointer; }
.trPlan.on { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); background: color-mix(in srgb, var(--brand-soft) 45%, var(--surface)); }
.trPlan:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; }
.trRadio { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-3); box-sizing: border-box; display: grid; place-items: center; }
.trPlan.on .trRadio { border-color: var(--brand); }
.trPlan.on .trRadio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.trPlanBody { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.trPlanBody b { font-size: 17px; }
.trPlanBody span { font-size: 15px; color: var(--text-2); }
.trSave { position: absolute; right: 14px; top: -11px; height: 22px; padding: 0 9px; display: inline-flex; align-items: center; border-radius: 6px; background: var(--brand); color: var(--on-brand); font: 700 14px var(--font-ui); letter-spacing: 0; text-transform: none; }
.trTax { margin: -8px 0 0; text-align: center; font-size: 14px; color: var(--text-3); }
.trGo { text-decoration: none; min-height: 56px; font-size: 17px; }
.trLine { margin: -6px 0 0; text-align: center; font-size: 14px; line-height: 1.45; color: var(--text-2); }
.trFounding { color: var(--gold-text); }
.trChecks { list-style: none; margin: 6px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 12px; }
.trChecks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.3; }
.trTick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-text); display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.trLegal { margin: 0; text-align: center; font-size: 14px; color: var(--text-3); }
.trSkel { padding: 24px 0; }
.rmUnlockSub { text-wrap: balance; }

/* 3 Dec 2026 (training steps visible): no blur anywhere. Every step shows its number, title, what it trains and (locked) its lock; on the
   web "Unlocks with your free trial" under a locked step and the unlock card under the steps, not over them */
.rmBlur { filter: none; opacity: 1; }
.rmLockWrap { position: static; min-height: 0; margin-top: 8px; }
.rmLockWrap .rmUnlock { position: relative; left: auto; top: auto; transform: none; margin: 0 auto; }
.rmLine { font-size: 14.5px; line-height: 1.35; color: var(--text-2); max-width: 30ch; }
.rmRow.r .rmLine { text-align: right; }
.rmRow.lock .rmTitle { color: var(--text); }
.rmUnlockLine { display: block; font: 600 14px/1.35 var(--font-ui); color: var(--brand-text); }
/* the lock sits inline right before the first word on both sides (on left-text rows too, where the text is right-aligned) */
.rmUnlockLine::before { content: ''; display: inline-block; vertical-align: -1px; margin-right: 5px; width: 12px; height: 12px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10V8a5 5 0 0 1 10 0v2h1.5a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1h-13a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1zm2 0h6V8a3 3 0 0 0-6 0z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10V8a5 5 0 0 1 10 0v2h1.5a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1h-13a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1zm2 0h6V8a3 3 0 0 0-6 0z'/%3E%3C/svg%3E") center / contain no-repeat; }
