/* ===================== v8 · Reshape GTM onboarding + launchpad + brand =====================
   Enterprise white, one gold accent, black ink. Motion = transform/opacity only, springs in JS,
   staged CSS reveals; everything static under prefers-reduced-motion. */
:root { --gold: oklch(0.72 0.12 82); --gold-deep: oklch(0.6 0.12 78); --gold-soft: oklch(0.95 0.035 85); --ink-0: #0b0b0c; --spring: cubic-bezier(.2, 1.3, .3, 1); --out: cubic-bezier(.16, 1, .3, 1); }

/* ---------- brand lockup ---------- */
.rg-mark { flex: none; display: block; }
.brand-lockup .bl-text b.rg-word { font-weight: 500; letter-spacing: -0.01em; }
.rg-word .gtm { font-weight: 800; }
.brand-lockup .bl-text small.rg-sub { letter-spacing: .04em; }

/* ---------- onboarding shell ---------- */
.ob8 { position: relative; min-height: 100vh; min-height: 100dvh; background: #fff; display: flex; flex-direction: column; overflow-x: hidden; isolation: isolate; }
[data-theme="dark"] .ob8 { background: var(--bg); }
.ob8-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background-image: linear-gradient(to right, oklch(0.94 0 0 / .7) 1px, transparent 1px), linear-gradient(to bottom, oklch(0.94 0 0 / .7) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%); }
[data-theme="dark"] .ob8-bg { background-image: linear-gradient(to right, oklch(0.3 0 0 / .5) 1px, transparent 1px), linear-gradient(to bottom, oklch(0.3 0 0 / .5) 1px, transparent 1px); }
.ob8-bg i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.ob8-bg .g1 { width: 520px; height: 520px; background: radial-gradient(circle, oklch(0.9 0.08 85 / .9), transparent 65%); top: -200px; right: -120px; animation: ob8-drift 18s ease-in-out infinite alternate; }
.ob8-bg .g2 { width: 420px; height: 420px; background: radial-gradient(circle, oklch(0.93 0.02 250 / .9), transparent 65%); bottom: -180px; left: -140px; animation: ob8-drift 22s ease-in-out infinite alternate-reverse; }
@keyframes ob8-drift { to { transform: translate3d(-60px, 50px, 0) scale(1.08); } }
.ob8-head { position: sticky; top: 0; z-index: 5; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 14px 28px; background: rgb(255 255 255 / .78); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid oklch(0.93 0 0); }
[data-theme="dark"] .ob8-head { background: color-mix(in oklch, var(--bg) 80%, transparent); border-color: var(--line); }
.ob8-head-r { display: flex; align-items: center; gap: 10px; justify-self: end; }
.ob8-save { font-size: 11.5px; color: var(--ink-faint); display: inline-flex; align-items: center; gap: 6px; }
.ob8-save::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--good); }
.ob8-save.busy::before { background: var(--gold); animation: ob8-blink 900ms ease-in-out infinite; }
.ob8-save.err { color: var(--bad); } .ob8-save.err::before { background: var(--bad); }
@keyframes ob8-blink { 50% { opacity: .25; } }

/* progress */
.ob8-progress { width: min(560px, 100%); justify-self: center; }
.ob8-pg-top { display: flex; justify-content: space-between; gap: 10px; font-size: 11.5px; color: var(--ink-soft); margin-bottom: 7px; white-space: nowrap; }
.ob8-pg-top b { color: var(--ink); font-weight: 600; }
.ob8-pg-pct { color: var(--ink-faint); }
.ob8-bar { position: relative; height: 6px; border-radius: 99px; background: oklch(0.94 0 0); overflow: visible; }
[data-theme="dark"] .ob8-bar { background: var(--line); }
.ob8-fill { position: absolute; inset: 0; border-radius: inherit; transform-origin: left center; background: linear-gradient(90deg, var(--ink-0), oklch(0.35 0.03 80) 55%, var(--gold)); overflow: hidden; }
[data-theme="dark"] .ob8-fill { background: linear-gradient(90deg, oklch(0.5 0.05 80), var(--gold)); }
.ob8-fill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgb(255 255 255 / .55), transparent); transform: translateX(-100%); animation: ob8-shine 2.4s var(--out) infinite; }
@keyframes ob8-shine { 60%, 100% { transform: translateX(100%); } }
.ob8-tick { position: absolute; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #fff; border: 1.5px solid oklch(0.85 0 0); transition: transform 400ms var(--spring), background 300ms, border-color 300ms; }
.ob8-tick:first-child { display: none; }
.ob8-tick.done { background: var(--gold); border-color: var(--gold); }
.ob8-tick.on { border-color: var(--ink); transform: scale(1.35); }

/* stage */
.ob8-stage { flex: 1; width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 56px 0 72px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: start; }
.ob8-stage.full { grid-template-columns: minmax(0, 1fr); padding-top: 40px; }
.ob8-panel { min-width: 0; animation: ob8-in 620ms var(--out) both; }
.ob8-panel > * { animation: ob8-rise 640ms var(--out) backwards; } /* backwards, not both: no lingering transform → position:fixed children (mobile sticky CTA) stay viewport-fixed */
.ob8-panel > *:nth-child(2) { animation-delay: 60ms; } .ob8-panel > *:nth-child(3) { animation-delay: 120ms; } .ob8-panel > *:nth-child(4) { animation-delay: 180ms; } .ob8-panel > *:nth-child(n+5) { animation-delay: 230ms; }
@keyframes ob8-in { from { opacity: 0; } }
@keyframes ob8-rise { from { opacity: 0; transform: translate3d(0, 14px, 0); } }
.ob8-canvas { position: sticky; top: 110px; animation: ob8-rise 800ms var(--out) 120ms backwards; }

.ob8-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 16px; }
.ob8-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 oklch(0.72 0.12 82 / .5); animation: ob8-pulse 2.2s ease-out infinite; }
@keyframes ob8-pulse { 70% { box-shadow: 0 0 0 7px oklch(0.72 0.12 82 / 0); } 100% { box-shadow: 0 0 0 0 oklch(0.72 0.12 82 / 0); } }
.ob8-h1 { font-family: var(--ui); font-size: clamp(30px, 4.1vw, 46px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 650; color: var(--ink); margin: 0 0 14px; text-wrap: balance; overflow-wrap: anywhere; }
.ob8-h2 { font-family: var(--ui); font-size: clamp(24px, 3vw, 34px); line-height: 1.1; letter-spacing: -0.025em; font-weight: 650; color: var(--ink); margin: 0 0 10px; text-wrap: balance; overflow-wrap: anywhere; }
.ob8-h3 { font-family: var(--ui); font-size: 20px; letter-spacing: -0.015em; font-weight: 650; margin: 0; }
.ob8-h1 .accent, .ob8-h2 .accent { color: var(--gold); }
.ob8-lede { font-size: 16px; line-height: 1.55; color: var(--ink-soft); max-width: 56ch; margin: 0 0 26px; text-wrap: pretty; }
.ob8-form { display: grid; gap: 14px; max-width: 520px; }
.ob8-field { display: grid; gap: 8px; margin-bottom: 18px; }
.ob8-field > span, .ob8-sub, .ob8 .field .lbl { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); }
.ob8-sub { margin: 4px 0 8px; }
.input.ob8-big { font-size: 20px; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff; transition: border-color 160ms, box-shadow 200ms; letter-spacing: -0.01em; }
[data-theme="dark"] .input.ob8-big { background: var(--surface); }
.input.ob8-big:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px oklch(0.72 0.12 82 / .22); }
.ob8-fine { margin-top: 6px; }
.ob8-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.btn.ob8-cta { position: relative; padding: 14px 22px; font-size: 15px; border-radius: 12px; background: var(--ink-0); color: #fff; border-color: var(--ink-0); box-shadow: 0 1px 0 rgb(255 255 255 / .12) inset, 0 8px 24px -10px rgb(0 0 0 / .45); transition: transform 180ms var(--spring), box-shadow 200ms, opacity 160ms; overflow: hidden; }
.btn.ob8-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, oklch(0.85 0.1 85 / .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform 700ms var(--out); }
.btn.ob8-cta:hover:not(:disabled)::after { transform: translateX(120%); }
.btn.ob8-cta:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 1px 0 rgb(255 255 255 / .12) inset, 0 14px 30px -12px rgb(0 0 0 / .5); }
.btn.ob8-cta:active:not(:disabled) { transform: translateY(1px) scale(.98); }
.btn.ob8-cta:disabled { opacity: .38; box-shadow: none; }
[data-theme="dark"] .btn.ob8-cta { background: var(--gold); color: #111; border-color: var(--gold); }
.btn .spin, .ob8 .spin { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: ob8-spin 700ms linear infinite; vertical-align: -2px; margin-right: 6px; }
@keyframes ob8-spin { to { transform: rotate(360deg); } }

.ob8-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.ob8-chip { font: inherit; font-size: 13px; padding: 8px 13px; border-radius: 99px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink-soft); cursor: pointer; transition: transform 200ms var(--spring), background 160ms, color 160ms, border-color 160ms; }
[data-theme="dark"] .ob8-chip { background: var(--surface); }
.ob8-chip:hover { border-color: var(--ink-faint); color: var(--ink); }
.ob8-chip.on { background: var(--ink-0); border-color: var(--ink-0); color: #fff; transform: scale(1.04); }
[data-theme="dark"] .ob8-chip.on { background: var(--gold); color: #111; border-color: var(--gold); }
.ob8-chip:active { transform: scale(.96); }
.input.ob8-chip-input { width: 140px; padding: 8px 13px; border-radius: 99px; font-size: 13px; border: 1px dashed var(--line-strong); background: transparent; }
.ob8-seg { display: inline-flex; padding: 3px; border-radius: 12px; background: oklch(0.96 0 0); margin-bottom: 18px; }
[data-theme="dark"] .ob8-seg { background: var(--surface-2); }
.ob8-seg button { font: inherit; font-size: 14px; border: 0; background: transparent; padding: 9px 18px; border-radius: 9px; cursor: pointer; color: var(--ink-soft); transition: background 200ms, color 200ms, box-shadow 200ms; }
.ob8-seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgb(0 0 0 / .1), 0 0 0 1px oklch(0.9 0 0); }
[data-theme="dark"] .ob8-seg button.on { background: var(--surface); }
.ob8-more { margin: 0 0 10px; font-size: 13px; color: var(--ink-soft); }
.ob8-more summary { cursor: pointer; margin-bottom: 8px; }
.ob8-more .input { max-width: 360px; }
.ob8-toast, .ob8-pilltoast { position: fixed; left: 50%; top: 78px; z-index: 50; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 99px; background: var(--ink-0); color: #fff; font-size: 13px; box-shadow: 0 12px 30px -12px rgb(0 0 0 / .5); animation: ob8-toast 3.4s var(--out) both; white-space: nowrap; max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis; }
.ob8-pilltoast { animation-duration: 2.2s; background: linear-gradient(90deg, var(--ink-0), oklch(0.3 0.04 80)); }
.ob8-toast svg, .ob8-pilltoast svg { color: var(--gold); flex: none; }
@keyframes ob8-toast { 0% { opacity: 0; transform: translate(-50%, -10px) scale(.96); } 10%, 85% { opacity: 1; transform: translate(-50%, 0) scale(1); } 100% { opacity: 0; transform: translate(-50%, -6px); } }

/* ---------- live org canvas ---------- */
.oc-card { position: relative; border-radius: 20px; background: rgb(255 255 255 / .86); border: 1px solid oklch(0.92 0 0); box-shadow: 0 30px 60px -30px rgb(0 0 0 / .22), 0 1px 0 #fff inset; padding: 26px; backdrop-filter: blur(6px); }
[data-theme="dark"] .oc-card { background: var(--surface); border-color: var(--line); }
.oc-top { display: flex; align-items: center; gap: 14px; }
.oc-mono { width: 54px; height: 54px; border-radius: 14px; background: var(--ink-0); color: #fff; display: grid; grid-auto-flow: column; place-content: center; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; box-shadow: 0 10px 22px -10px rgb(0 0 0 / .5); flex: none; overflow: hidden; }
.oc-mono i { font-style: normal; display: inline-block; animation: oc-letter 520ms var(--spring) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes oc-letter { from { opacity: 0; transform: translateY(70%) rotate(-8deg); } }
.oc-co { min-width: 0; display: grid; gap: 3px; }
.oc-co b { font-size: 22px; letter-spacing: -0.02em; overflow-wrap: anywhere; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.oc-co b.ghost { color: var(--ink-faint); }
.oc-co span { font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
.oc-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0 0; margin-top: 14px; border-top: 1px dashed var(--line); font-size: 13px; }
.oc-row > .mono { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.oc-in { animation: ob8-rise 520ms var(--out) both; }
.oc-qs { display: flex; gap: 6px; }
.oc-qs span { font-size: 11.5px; padding: 3px 8px; border-radius: 6px; background: oklch(0.96 0 0); color: var(--ink-soft); font-family: var(--mono, ui-monospace); }
.oc-qs span.now { background: var(--ink-0); color: #fff; }
[data-theme="dark"] .oc-qs span { background: var(--surface-2); } [data-theme="dark"] .oc-qs span.now { background: var(--gold); color: #111; }
.oc-team { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.oc-person { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px; border-radius: 14px; background: linear-gradient(135deg, var(--gold-soft), #fff 70%); border: 1px solid oklch(0.9 0.04 85); min-width: 0; }
[data-theme="dark"] .oc-person { background: var(--surface-2); border-color: var(--line); }
.oc-person.ghost { background: transparent; border-style: dashed; border-color: var(--line-strong); }
.oc-person.ghost b { color: var(--ink-faint); }
.oc-person > div { display: grid; min-width: 0; } .oc-person b { overflow-wrap: anywhere; }
.oc-av { width: 42px; height: 42px; border-radius: 50%; background: var(--ink-0); color: var(--gold); display: grid; place-items: center; font-weight: 700; flex: none; animation: ob8-pop 480ms var(--spring) both; }
.oc-radar { position: relative; margin-top: 10px; }
.oc-pts { position: absolute; right: 0; top: 4px; text-align: right; display: grid; }
.oc-pts b { font-size: 34px; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.oc-pts small { color: var(--ink-faint); font-size: 12px; }
.oc-ghostgrid { position: relative; margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; aspect-ratio: 16 / 9; }
.oc-ghostgrid span { border-radius: 10px; border: 1px dashed var(--line-strong); background: repeating-linear-gradient(135deg, transparent 0 8px, oklch(0.97 0 0) 8px 9px); }
.oc-ghostgrid em { position: absolute; inset: auto 0 -26px; text-align: center; font-size: 11px; font-style: normal; }
@keyframes ob8-pop { 0% { opacity: 0; transform: scale(.6); } 100% { opacity: 1; transform: scale(1); } }
.ob8-pop { display: inline-block; animation: ob8-pop 460ms var(--spring) both; }

/* ---------- live radar ---------- */
.lr { display: block; max-width: 100%; overflow: visible; }
.lr-ring { fill: none; stroke: oklch(0.92 0 0); stroke-width: .8; }
[data-theme="dark"] .lr-ring, [data-theme="dark"] .lr-spoke { stroke: var(--line); }
.lr-spoke { stroke: oklch(0.92 0 0); stroke-width: .8; stroke-dasharray: 2 3; transition: stroke 300ms; }
.lr-spoke.on { stroke-dasharray: none; stroke: oklch(0.86 0 0); }
.lr-spoke.focus { stroke: var(--gold); stroke-width: 1.6; stroke-dasharray: none; }
.lr-pillar { font: 700 12px var(--ui); fill: var(--ink-faint); transition: fill 300ms; }
.lr-pillar.done { fill: var(--gold-deep); }
.lr-shape { fill: oklch(0.72 0.12 82 / .2); stroke: var(--gold-deep); stroke-width: 2; stroke-linejoin: round; }
.lr-dot { fill: var(--ink-0); } .lr-dot.will { fill: var(--gold-deep); }
[data-theme="dark"] .lr-dot { fill: #fff; }
.lr-ping { fill: none; stroke: var(--gold); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: lr-ping 700ms var(--out) forwards; }
@keyframes lr-ping { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(4); } }

/* ---------- plan modal ---------- */
.ob8-modal-bg { background: rgb(10 10 12 / .38); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: ob8-in 320ms ease both; }
.ob-modal.ob8-modal { width: min(760px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; border-radius: 22px; padding: 30px; box-shadow: 0 40px 100px -30px rgb(0 0 0 / .45); animation: ob8-modal 620ms var(--spring) both; }
@keyframes ob8-modal { from { opacity: 0; transform: translate(-50%, calc(-50% + 30px)) scale(.94); } }
.ob8-sync { padding: 40px 0; text-align: center; font-size: 15px; }
.ob8-timeline { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 18px 0 4px; padding: 0; position: relative; }
.ob8-timeline::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--line) 60%); }
.ob8-timeline li { position: relative; padding-top: 22px; display: grid; gap: 2px; font-size: 12.5px; color: var(--ink-soft); }
.ob8-timeline li::before { content: ""; position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--line-strong); }
.ob8-timeline li.on::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 4px oklch(0.72 0.12 82 / .2); }
.ob8-timeline b { color: var(--ink); font-size: 13px; }

/* ---------- confirm / fiscal / team ---------- */
.ob8-confirm .check-draw { margin-bottom: 18px; }
.ob8-quarters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 6px 0 4px; }
.ob8-quarters > div { position: relative; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; gap: 3px; font-size: 12px; color: var(--ink-soft); animation: ob8-rise 460ms var(--out) both; animation-delay: calc(var(--i) * 60ms); min-width: 0; }
[data-theme="dark"] .ob8-quarters > div { background: var(--surface); }
.ob8-quarters b { color: var(--ink); font-size: 14px; }
.ob8-quarters > div.on { border-color: var(--ink-0); box-shadow: 0 0 0 1px var(--ink-0) inset, 0 10px 24px -14px rgb(0 0 0 / .4); }
.ob8-quarters em { position: absolute; top: -9px; right: 10px; font-style: normal; font-size: 10px; background: var(--gold); color: #111; padding: 2px 7px; border-radius: 99px; }
.ob8-fy { margin-bottom: 14px; }
.ob8-avatars button { animation: ob8-pop 380ms var(--spring) both; animation-delay: calc(var(--i) * 18ms); transition: transform 200ms var(--spring); }
.ob8-avatars button:hover { transform: translateY(-2px); }
.ob8-avatars button.on { transform: scale(1.12); }

/* ---------- review ---------- */
.ob8-rv-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; }
.ob8-rv-live { text-align: right; display: grid; flex: none; }
.ob8-rv-live b { font-size: 40px; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.ob8-rv-live small { color: var(--ink-faint); font-size: 12px; }
.ob8 .ob8-rv-live { display: none; }
.ob8-mobile-radar { display: none; }
.ob8-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 16px; align-items: center; }
.ob8-pills > button[role="tab"] { font: inherit; display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px 7px 8px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-size: 13px; color: var(--ink-soft); cursor: pointer; transition: border-color 160ms, background 160ms, transform 220ms var(--spring); }
[data-theme="dark"] .ob8-pills > button[role="tab"] { background: var(--surface); }
.ob8-pills > button.on { border-color: var(--ink); color: var(--ink); }
.ob8-pills > button.done { color: var(--ink); }
.ob8-pills > button em { font-style: normal; font-size: 11px; color: var(--ink-faint); }
.ob8-pills .mono { font-weight: 700; font-size: 12px; }
.ob8-ring { width: 18px; height: 18px; transform: rotate(-90deg); flex: none; }
.ob8-ring circle { fill: none; stroke: oklch(0.92 0 0); stroke-width: 2.4; }
.ob8-ring circle.v { stroke: var(--gold); stroke-dasharray: 50.3; transition: stroke-dashoffset 500ms var(--out); stroke-linecap: round; }
.ob8-pills > button.done .ob8-ring circle.v { stroke: var(--gold-deep); }
.ob8-mode { margin-left: auto; }
.ob8-card { position: relative; border-radius: 18px; border: 1px solid var(--line); background: #fff; padding: 26px; box-shadow: 0 24px 50px -32px rgb(0 0 0 / .3); }
[data-theme="dark"] .ob8-card { background: var(--surface); }
.ob8-card.dirf { animation: ob8-slf 420ms var(--out) both; } .ob8-card.dirb { animation: ob8-slb 420ms var(--out) both; }
@keyframes ob8-slf { from { opacity: 0; transform: translate3d(36px, 0, 0); } }
@keyframes ob8-slb { from { opacity: 0; transform: translate3d(-36px, 0, 0); } }
.ob8-focus-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.ob8-trait { font-family: var(--ui); font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.025em; font-weight: 650; margin: 10px 0 8px; line-height: 1.1; }
.ob8-lookfor { color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; margin: 0 0 22px; max-width: 60ch; }
.ob8-lookfor .mono { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--gold-deep); margin-bottom: 4px; }
.ob8-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.ob8-scale button { font: inherit; position: relative; display: grid; gap: 4px; justify-items: center; padding: 16px 6px 13px; border-radius: 14px; border: 1px solid var(--line-strong); background: #fff; cursor: pointer; transition: transform 220ms var(--spring), border-color 160ms, background 160ms, box-shadow 220ms; min-height: 72px; -webkit-tap-highlight-color: transparent; }
[data-theme="dark"] .ob8-scale button { background: var(--surface-2); }
.ob8-scale button b { font-size: 24px; line-height: 1; letter-spacing: -0.02em; }
.ob8-scale button span { font-size: 11.5px; color: var(--ink-soft); text-align: center; line-height: 1.2; }
.ob8-scale button:hover { transform: translateY(-2px); border-color: var(--ink-faint); box-shadow: 0 10px 20px -14px rgb(0 0 0 / .35); }
.ob8-scale button:active { transform: scale(.95); }
.ob8-scale button.on { background: var(--ink-0); border-color: var(--ink-0); color: #fff; transform: scale(1.04); box-shadow: 0 14px 26px -14px rgb(0 0 0 / .6), 0 0 0 4px oklch(0.72 0.12 82 / .25); }
.ob8-scale button.on span { color: oklch(0.85 0.06 85); }
.ob8-scale button.on b { color: var(--gold); }
[data-theme="dark"] .ob8-scale button.on { background: var(--gold); color: #111; } [data-theme="dark"] .ob8-scale button.on b, [data-theme="dark"] .ob8-scale button.on span { color: #111; }
.ob8-minimap { display: flex; gap: 6px; margin-top: 22px; }
.ob8-minimap button { width: 28px; height: 6px; border-radius: 99px; border: 0; padding: 0; background: oklch(0.92 0 0); cursor: pointer; transition: background 200ms, transform 200ms var(--spring); }
.ob8-minimap button.done { background: var(--gold); }
.ob8-minimap button.on { background: var(--ink-0); transform: scaleY(1.5); }
.ob8-kbd { margin-top: 14px; }
.kbd { display: inline-block; min-width: 18px; padding: 1px 5px; border-radius: 5px; border: 1px solid var(--line-strong); border-bottom-width: 2px; font-size: 11px; text-align: center; font-family: var(--mono, ui-monospace); margin: 0 2px; }
.ob8-results .ob8-quota { position: relative; max-width: 240px; }
.ob8-results .ob8-quota .input { padding-right: 40px; font-size: 30px; font-weight: 650; }
.ob8-pct { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--ink-faint); }
.ob8-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; margin: 6px 0 4px; background: linear-gradient(90deg, var(--ink-0) var(--v), oklch(0.93 0 0) var(--v)); outline: none; }
.ob8-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--ink-0); box-shadow: 0 4px 12px -4px rgb(0 0 0 / .4), 0 0 0 4px oklch(0.72 0.12 82 / .25); cursor: grab; transition: transform 160ms var(--spring); }
.ob8-slider::-webkit-slider-thumb:active { transform: scale(1.15); }
.ob8-slider::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid #111; }
.ob8-slider-l { position: relative; display: flex; justify-content: space-between; font-size: 10.5px; height: 16px; margin-bottom: 14px; }
.ob8-slider-l span:nth-child(2) { position: absolute; transform: translateX(-50%); color: var(--gold-deep); }
.ob8-sum { margin-top: 16px; }
.ob8-sticky { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ob8-left { margin-left: auto; }
.ob8-reveal-btn { background: linear-gradient(100deg, var(--ink-0), oklch(0.32 0.05 80)) !important; }
.ob8-list .ob-item { animation: ob8-rise 420ms var(--out) both; }

/* ---------- reveal ---------- */
.ob8-reveal { position: relative; }
.rv-calc { position: fixed; inset: 0; z-index: 30; display: grid; place-content: center; justify-items: center; gap: 14px; background: rgb(255 255 255 / .92); backdrop-filter: blur(8px); animation: ob8-in 300ms ease both; text-align: center; }
[data-theme="dark"] .rv-calc { background: color-mix(in oklch, var(--bg) 92%, transparent); }
.rv-calc-n { display: flex; gap: 48px; }
.rv-calc-n > span { display: grid; gap: 4px; }
.rv-calc-n b { white-space: nowrap; font-size: clamp(54px, 9vw, 96px); letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.rv-calc-n small { font-size: 12px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .06em; }
.rv-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.rv-text .check-draw { margin-bottom: 14px; }
.rv-quad { display: inline-block; animation: rv-word 700ms var(--spring) both; }
@keyframes rv-word { from { opacity: 0; transform: translateY(40%) scale(.9); filter: blur(6px); } }
.rv-k { margin: 6px 0 20px; }
.rv-insights { animation: ob8-rise 600ms var(--out) backwards; }
.rv-pp { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 6px; }
.rv-pp > div { position: relative; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); display: grid; gap: 2px; overflow: hidden; }
.rv-pp b { font-size: 15px; } .rv-pp em { font-style: normal; font-size: 12px; color: var(--ink-soft); }
.rv-pp i { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--w); background: var(--gold); transform-origin: left; animation: rv-bar 900ms var(--out) 200ms both; }
.rv-pp > div:last-child i { background: var(--ink-faint); }
@keyframes rv-bar { from { transform: scaleX(0); } }
.rv-card { padding: 18px; border-radius: 18px; box-shadow: 0 30px 60px -36px rgb(0 0 0 / .35); }
.rv-chart-ph { aspect-ratio: 520 / 400; }
.rv-chart { display: block; width: 100%; height: auto; overflow: visible; }
.rv-q rect { fill: oklch(0.975 0 0); stroke: oklch(0.93 0 0); opacity: 0; transform-box: fill-box; transform-origin: center; animation: rv-q 600ms var(--out) both; animation-delay: calc(var(--i) * 90ms); transition: fill 500ms ease; }
[data-theme="dark"] .rv-q rect { fill: var(--surface-2); stroke: var(--line); }
.rv-q text { font: 600 12px var(--ui); fill: var(--ink-faint); opacity: 0; animation: rv-fade 500ms ease both; animation-delay: calc(300ms + var(--i) * 90ms); }
.rv-q.hit rect { fill: color-mix(in oklch, var(--qc) 22%, #fff); stroke: var(--qc); }
.rv-q.hit text { fill: var(--ink); }
@keyframes rv-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rv-q { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
.rv-split { stroke: var(--ink-faint); stroke-dasharray: 4 4; stroke-width: 1; opacity: .6; }
.rv-axis { stroke: var(--line-strong); }
.rv-al { font: 500 11px var(--ui); fill: var(--ink-faint); }
.rv-trail { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-dasharray: 3 5; opacity: .7; stroke-dashoffset: 400; animation: rv-trail 1.1s var(--out) forwards; }
@keyframes rv-trail { from { stroke-dasharray: 3 5; opacity: 0; } to { opacity: .7; } }
.rv-dot circle { stroke: #fff; stroke-width: 3; filter: drop-shadow(0 6px 10px rgb(0 0 0 / .3)); }
.rv-dot-l { font: 700 13px var(--ui); fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.rv-ripple { fill: none; stroke: var(--gold); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: rv-rip 1.3s var(--out) forwards; }
.rv-ripple.r2 { animation-delay: 220ms; }
@keyframes rv-rip { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(6); } }

/* ---------- launch ---------- */
.ob8-launch { max-width: 900px; margin: 0 auto; }
.ln-hero { text-align: center; display: grid; justify-items: center; margin-bottom: 40px; }
.ln-hero .check-draw { margin-bottom: 14px; }
.ln-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }
.ln-stats > div { display: grid; gap: 2px; padding: 14px 20px; border-radius: 14px; border: 1px solid var(--line); background: #fff; min-width: 150px; animation: ob8-pop 520ms var(--spring) both; animation-delay: calc(250ms + var(--i) * 110ms); }
[data-theme="dark"] .ln-stats > div { background: var(--surface); }
.ln-stats b { font-size: 22px; letter-spacing: -0.02em; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.ln-stats span { font-size: 12px; color: var(--ink-faint); overflow-wrap: anywhere; }
.ln-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.ln-h .mono { font-size: 11.5px; }
.ln-moves { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ln-move { font: inherit; text-align: left; position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 4px 14px; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: transform 240ms var(--spring), box-shadow 240ms, border-color 160ms; animation: ob8-rise 520ms var(--out) both; animation-delay: calc(500ms + var(--i) * 80ms); }
[data-theme="dark"] .ln-move { background: var(--surface); }
div.ln-move { cursor: default; }
button.ln-move:hover:not(:disabled) { transform: translateY(-3px); box-shadow: 0 20px 34px -22px rgb(0 0 0 / .4); border-color: var(--line-strong); }
.ln-move.next { border-color: var(--ink-0); box-shadow: 0 0 0 1px var(--ink-0) inset; }
.ln-move.next::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; box-shadow: 0 0 0 0 oklch(0.72 0.12 82 / .45); animation: ln-glow 2.4s ease-out 1.4s infinite; pointer-events: none; }
@keyframes ln-glow { 70% { box-shadow: 0 0 0 10px oklch(0.72 0.12 82 / 0); } 100% { box-shadow: 0 0 0 0 oklch(0.72 0.12 82 / 0); } }
.ln-move.locked { background: repeating-linear-gradient(135deg, #fff 0 10px, oklch(0.985 0 0) 10px 11px); }
.ln-move.locked .ln-ic { background: oklch(0.95 0 0); color: var(--ink-faint); }
.ln-ic { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; background: var(--ink-0); color: var(--gold); display: grid; place-items: center; }
.ln-body { display: grid; gap: 3px; min-width: 0; }
.ln-body b { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.ln-min { grid-column: 2; font-size: 11px; color: var(--ink-faint); }
.ln-move.next .ln-min { color: var(--gold-deep); }
.ob8-inv .ob-inv { margin-top: 8px; }
.ln-actions { justify-content: center; margin-top: 34px; }

/* ---------- dashboard launchpad ---------- */
.lp { position: relative; margin: 0 0 28px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(135deg, #fff 55%, var(--gold-soft)); padding: 24px; overflow: hidden; animation: ob8-rise 700ms var(--out) both; }
[data-theme="dark"] .lp { background: var(--surface); }
.lp.lp-live { animation: lp-reveal 700ms var(--out) both; }
@keyframes lp-reveal { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.lp-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.lp-ring { width: 56px; height: 56px; position: relative; flex: none; }
.lp-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.lp-ring circle { fill: none; stroke: oklch(0.92 0 0); stroke-width: 5; }
.lp-ring circle.v { stroke: var(--gold); stroke-linecap: round; transition: stroke-dashoffset 900ms var(--out); }
.lp-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; }
.lp-head h3 { font-size: 19px; letter-spacing: -0.015em; margin: 0; }
.lp-head .faint { font-size: 13px; }
.lp-chip { margin-left: auto; font-size: 12px; padding: 5px 10px; border-radius: 99px; background: var(--ink-0); color: #fff; white-space: nowrap; }
.lp-x { border: 0; background: transparent; color: var(--ink-faint); cursor: pointer; padding: 6px; border-radius: 8px; }
.lp-x:hover { background: oklch(0.95 0 0); color: var(--ink); }
.lp-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .7fr); gap: 20px; }
.lp-list { display: grid; gap: 8px; }
.lp-item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: inherit; transition: transform 200ms var(--spring), border-color 160ms, box-shadow 200ms; animation: ob8-rise 500ms var(--out) both; animation-delay: calc(var(--i) * 60ms); cursor: pointer; font: inherit; text-align: left; }
[data-theme="dark"] .lp-item { background: var(--surface-2); }
.lp-item:hover { transform: translateX(3px); border-color: var(--line-strong); }
.lp-item.next { border-color: var(--ink-0); box-shadow: 0 0 0 1px var(--ink-0) inset; }
.lp-item.done { opacity: .62; } .lp-item.done b { text-decoration: line-through; text-decoration-color: var(--gold); }
.lp-item .lp-c { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; color: #111; }
.lp-item.done .lp-c { background: var(--gold); border-color: var(--gold); animation: ob8-pop 420ms var(--spring) both; }
.lp-item b { font-size: 14px; display: inline-flex; gap: 8px; align-items: center; }
.lp-item .sm { display: block; }
.lp-item .lp-go { font-size: 12px; color: var(--ink-faint); white-space: nowrap; }
.lp-item.next .lp-go { color: var(--ink); font-weight: 600; }
.lp-glance { border-radius: 14px; border: 1px solid var(--line); background: #fff; padding: 14px; display: grid; gap: 10px; align-content: start; }
[data-theme="dark"] .lp-glance { background: var(--surface-2); }
.lp-glance h4 { margin: 0; font-size: 13px; }
.lp-mini { display: block; width: 100%; height: auto; }
.lp-mini .q { fill: oklch(0.975 0 0); stroke: oklch(0.93 0 0); }
.lp-mini .ql { font: 600 9px var(--ui); fill: var(--ink-faint); }
.lp-mini .gd { fill: none; stroke: var(--line-strong); stroke-dasharray: 2 2; animation: lp-ghost 2.6s ease-in-out infinite; animation-delay: calc(var(--i) * 300ms); }
@keyframes lp-ghost { 50% { opacity: .35; } }
.lp-mini .rd { stroke: #fff; stroke-width: 2; animation: ob8-pop 600ms var(--spring) both; animation-delay: calc(300ms + var(--i) * 120ms); transform-box: fill-box; transform-origin: center; }
.lp-cov { display: grid; gap: 6px; font-size: 12px; }
.lp-cov .bar { height: 6px; border-radius: 99px; background: oklch(0.93 0 0); overflow: hidden; }
.lp-cov .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--ink-0), var(--gold)); transform-origin: left; animation: rv-bar 1s var(--out) both; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .ob8-stage { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
  .ob8-canvas { position: relative; top: 0; order: -1; }
  .step-review .ob8-canvas { display: none; }
  .ob8 .ob8-rv-live { display: grid; }
  .ob8-mobile-radar { display: block; max-width: 280px; margin: 8px auto 0; }
  .oc-card { padding: 18px; }
  .oc-ghostgrid { display: none; }
  .rv-grid { grid-template-columns: 1fr; gap: 24px; }
  .rv-card { order: -1; }
  .lp-body { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ob8-head { grid-template-columns: auto 1fr; gap: 12px; padding: 10px 16px; }
  .ob8-head .brand-lockup .bl-text small { display: none; }
  .ob8-progress { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .ob8-pg-pct { display: none; }
  .ob8-stage { width: calc(100% - 32px); padding: 20px 0 120px; }
  .step-company .ob8-canvas, .step-fiscal .ob8-canvas, .step-team .ob8-canvas, .step-person .ob8-canvas, .step-plan .ob8-canvas { display: none; }
  .ob8-h1 { font-size: 30px; } .ob8-h2 { font-size: 25px; }
  .ob8-lede { font-size: 15px; margin-bottom: 20px; }
  .ob8-quarters { grid-template-columns: 1fr 1fr; }
  .ob8-scale { gap: 6px; } .ob8-scale button { padding: 14px 2px 10px; min-height: 66px; } .ob8-scale button span { font-size: 10px; }
  .ob8-card { padding: 18px; border-radius: 16px; }
  .ob8-pills > button .pn { display: none; }
  .ob8-mode { margin-left: 0; }
  .ob8-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgb(255 255 255 / .94); backdrop-filter: blur(12px); border-top: 1px solid var(--line); margin: 0; }
  [data-theme="dark"] .ob8-sticky { background: color-mix(in oklch, var(--bg) 94%, transparent); }
  .ob8-sticky .ob8-left { display: none; }
  .ob8-sticky .btn:not(.ghost) { flex: 1; justify-content: center; }
  .ob8-kbd { display: none; }
  .ob-modal.ob8-modal { padding: 22px 18px; border-radius: 18px; }
  .ob8-timeline { grid-template-columns: 1fr; gap: 10px; } .ob8-timeline::before { display: none; } .ob8-timeline li { padding: 0 0 0 24px; }
  .ln-moves { grid-template-columns: 1fr; }
  .rv-calc-n { gap: 24px; }
  .rv-pp { grid-template-columns: 1fr; }
  .ob8-actions .btn.ob8-cta { width: 100%; justify-content: center; }
  .lp { padding: 18px; } .lp-chip { margin-left: 0; }
}

/* ---------- reduced motion: final state, no loops ---------- */
@media (prefers-reduced-motion: reduce) {
  .ob8 *, .ob8 *::before, .ob8 *::after, .lp *, .lp, .ob8-modal, .ob8-modal-bg { animation: none !important; transition: none !important; }
  .rv-q rect, .rv-q text { opacity: 1; }
  .ob8-bg i { display: none; }
}

/* Growth-plan trialists get Pro features during the trial: say so instead of locking */
.trial-tag { display: inline-flex; align-items: center; margin-left: 8px; padding: 2px 7px; border-radius: 999px; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: #8a6a1f; background: #d6b25e1f; border: 1px solid #d6b25e55; vertical-align: 2px; white-space: nowrap; }

/* v8 polish from pressure-test screenshots */
.ob8-modal .plan.on { background: linear-gradient(180deg, #fffaf0 0%, #fff 70%); border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset, 0 18px 40px -28px rgb(150 110 20 / .45); }
.btn.ob8-cta { max-width: 100%; }
@media (max-width: 640px) {
  .btn.ob8-cta { white-space: normal; text-align: center; justify-content: center; line-height: 1.3; }
  .rv-insights .btn.ob8-cta { width: 100%; }
}
