/* S2-01j onboarding v5.1 — the stage: scene frame, mini browser, finding cards (stage.css), ported from Roster design/calyvro-onboarding-v5 and scoped under .onb5. */
.onb5 .scene { position: relative; min-height: 500px; display: grid; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); gap: 36px; padding: 36px; align-items: start; }
.onb5 .scene[data-solo] { grid-template-columns: minmax(0, 1fr); place-items: center; }
.onb5 .src { position: relative; align-self: start; display: grid; gap: 14px; }
.onb5 .find { position: relative; min-width: 0; display: grid; align-content: start; gap: 18px; }
.onb5 .find__head { display: grid; gap: 8px; }
.onb5 .find__title { font-size: 28px; line-height: 1.1; letter-spacing: -.035em; font-weight: 600; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.onb5 .find__line { font-size: 15px; line-height: 1.5; color: var(--ink2); max-width: 46ch; }
/* ---- the site window ---- */
.onb5 .bw { width: 100%; max-width: 540px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-3); overflow: hidden; position: relative; }
.onb5 .scene[data-solo] .bw { max-width: 640px; }
.onb5 .bw__bar { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 44px; padding: 0 14px; background: var(--surface); }
.onb5 .bw__dots { display: flex; gap: 6px; }
.onb5 .bw__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--sunk2); }
.onb5 .bw__addr { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 14px 0 10px; border-radius: 999px; background: var(--sunk); font-size: 12px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.onb5 .bw__addr img { width: 14px; height: 14px; border-radius: 4px; }
.onb5 .bw__tabs { display: flex; gap: 10px; justify-self: end; }
.onb5 .bw__tab { font-size: 11px; font-weight: 500; color: var(--ink3); display: inline-flex; align-items: center; gap: 5px; transition: color .3s; }
.onb5 .bw__tab::before { content: ''; width: 6px; height: 6px; border-radius: 50%; border: 1.3px solid var(--sunk2); transition: all .3s; }
.onb5 .bw__tab[data-read] { color: var(--ink); }
.onb5 .bw__tab[data-read]::before { background: var(--violet); border-color: var(--violet); }
/* reading progress: a hairline under the bar that fills as pages are read */
.onb5 .bw__prog { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sunk); }
.onb5 .bw__prog i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p, 0%); background: var(--violet); transition: width .8s var(--ease); }
.onb5 .bw__page { position: relative; background: #181818; color: #fff; padding: 20px 22px 0; min-height: 320px; overflow: hidden; font-family: 'Manrope', var(--sans); }
.onb5 .bw__nav { display: flex; gap: 14px; align-items: center; font-size: 9.5px; color: #c4c4c4; margin-bottom: 26px; white-space: nowrap; }
.onb5 .bw__nav img { height: 12px; width: auto; margin-right: 8px; }
.onb5 .bw__eyebrow { font-size: 8px; font-weight: 600; letter-spacing: .16em; color: #9a9a9a; margin-bottom: 10px; }
.onb5 .bw__h1 { font-family: 'Cormorant Garamond', var(--serif); font-size: 30px; line-height: 1.02; letter-spacing: -.01em; font-weight: 500; margin: 0 0 10px; min-height: 2.04em; }
.onb5 .bw__h1 em { font-style: italic; color: #c4c4c4; font-weight: 400; }
.onb5 .bw__sub { font-size: 10.5px; color: #a8a8a8; margin: 0 0 16px; min-height: 1.4em; }
.onb5 .bw__hero { border-radius: 10px 10px 0 0; overflow: hidden; aspect-ratio: 16/8.5; background: #222; }
.onb5 .bw__hero img { width: 100%; height: 100%; object-fit: cover; }
.onb5 .bw__prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.onb5 .bw__price { border: 1px solid #2f2f2f; border-radius: 10px; padding: 10px; font-size: 9.5px; color: #bdbdbd; }
.onb5 .bw__price b { display: block; color: #fff; font-size: 15px; font-weight: 500; margin-bottom: 2px; }
/* the reading lens: a soft band sweeps, a ring glides between the things being read */
.onb5 .bw__beam { position: absolute; left: 0; right: 0; top: 0; height: 64px; margin-top: -64px; background: rgba(143, 129, 238, .10); border-bottom: 1.5px solid var(--violet-2); pointer-events: none; }
.onb5 .bw__hl { position: absolute; border-radius: 10px; box-shadow: 0 0 0 1.5px var(--violet-2), 0 0 0 6px rgba(143, 129, 238, .22), 0 0 32px 4px rgba(143, 129, 238, .25); pointer-events: none; transition: left .55s var(--ease), top .55s var(--ease), width .55s var(--ease), height .55s var(--ease), opacity .3s; animation: bw-lens calc(1.6s / var(--spd)) ease-in-out infinite; }
.onb5 .bw__hl::after { content: attr(data-note); position: absolute; left: -2px; top: -34px; height: 24px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 999px; background: var(--surface); color: var(--ink); font: 600 11px/1 var(--sans); letter-spacing: -.005em; white-space: nowrap; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .45); }
.onb5 .bw__hl[data-note=""]::after { display: none; }
@keyframes bw-lens { 50% { box-shadow: 0 0 0 1.5px var(--violet-2), 0 0 0 9px rgba(143, 129, 238, .14), 0 0 40px 6px rgba(143, 129, 238, .2); } }
.onb5 .src__note { display: flex; align-items: center; gap: 8px; margin: 0 4px; font-size: 13px; color: var(--ink3); }
.onb5 .src__note::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 3px var(--halo); }
/* ---- brand ---- */
.onb5 .brand { display: grid; gap: 22px; }
.onb5 .logo-chip { display: grid; place-items: center; height: 112px; border-radius: 16px; background: #181818; padding: 18px 28px; }
.onb5 .logo-chip img { width: auto; height: auto; max-height: 100%; max-width: 58%; object-fit: contain; }
.onb5 .sw { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.onb5 .sw__i { display: grid; gap: 8px; justify-items: start; }
.onb5 .sw__box { width: 100%; aspect-ratio: 1; max-width: 64px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(20, 20, 32, .1); }
.onb5 .sw__name { font-size: 13px; font-weight: 500; }
.onb5 .fonts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.onb5 .fontrow { display: flex; align-items: center; gap: 14px; }
.onb5 .fontrow__aa { width: 52px; height: 52px; border-radius: 14px; background: var(--sunk); display: grid; place-items: center; font: 500 24px/1 'Manrope', var(--sans); flex: none; }
.onb5 .fontrow__aa.serif { font: italic 500 30px/1 'Cormorant Garamond', var(--serif); }
.onb5 .fontrow__name { font-weight: 600; font-size: 14px; letter-spacing: -.01em; }
.onb5 .fontrow__role { font-size: 12px; color: var(--ink3); }
.onb5 .look { font: italic 400 19px/1.3 var(--serif); color: var(--ink2); }
/* ---- offer ---- */
.onb5 .offer__sum { font-size: 19px; line-height: 1.4; letter-spacing: -.02em; font-weight: 500; min-height: 4.2em; text-wrap: pretty; }
.onb5 .plans { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.onb5 .pcard { padding: 16px 16px 0 0; }
.onb5 .pcard + .pcard { padding-left: 16px; border-left: 1px solid var(--line); }
.onb5 .plan__name { font-size: 13px; font-weight: 500; color: var(--ink2); }
.onb5 .plan__price { font-size: 30px; font-weight: 600; letter-spacing: -.04em; margin-top: 4px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.onb5 .plan__price small { font-size: 13px; color: var(--ink3); font-weight: 500; letter-spacing: 0; margin-left: 2px; }
.onb5 .plan__credits { font-size: 12px; color: var(--ink3); margin-top: 4px; }
.onb5 .plan__line { display: none; }
.onb5 .tools { font-size: 13px; color: var(--ink2); line-height: 1.6; }
.onb5 .tools b { font-weight: 600; color: var(--ink); margin-right: 6px; }
/* ---- who buys ---- */
.onb5 .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.onb5 .persona { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); cursor: pointer; transition: border-color .25s, opacity .25s, box-shadow .25s, background .25s; }
.onb5 .persona__pick { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line2); display: grid; place-items: center; margin-top: 1px; transition: all .25s var(--ease); }
.onb5 .persona__pick .cv-i { width: 12px; height: 12px; stroke-width: 2.4; opacity: 0; }
.onb5 .persona[data-on] { box-shadow: var(--sh-1); border-color: rgba(20, 20, 32, .14); }
.onb5 .persona[data-on] .persona__pick { background: var(--ink); border-color: var(--ink); color: #fff; }
.onb5 .persona[data-on] .persona__pick .cv-i { opacity: 1; }
.onb5 .persona:not([data-on]) { opacity: .5; background: transparent; }
.onb5 .persona__name { font-weight: 600; font-size: 15px; letter-spacing: -.015em; line-height: 1.3; }
.onb5 .persona__line { font-size: 13px; color: var(--ink2); margin-top: 4px; line-height: 1.45; }
/* ---- voice ---- */
.onb5 .quotes { display: grid; gap: 6px; }
.onb5 .quote { font-family: var(--serif); font-size: 32px; line-height: 1.1; letter-spacing: -.01em; font-weight: 400; min-height: 1.1em; color: var(--ink); }
.onb5 .quote + .quote { color: var(--ink3); font-size: 24px; }
.onb5 .quote__src { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink3); margin-top: 6px; }
.onb5 .quote__src img { width: 14px; height: 14px; border-radius: 4px; }
.onb5 .words { font: italic 400 19px/1.3 var(--serif); color: var(--ink2); }
/* ---- proof ---- */
.onb5 .claims { display: grid; }
.onb5 .claim { display: flex; align-items: center; gap: 14px; padding: 13px 0; font-size: 15px; font-weight: 500; letter-spacing: -.01em; border-top: 1px solid var(--line); }
.onb5 .claim:first-child { border-top: 0; padding-top: 0; }
.onb5 .claim .cv-i { color: var(--violet); width: 18px; height: 18px; }
.onb5 .marks { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.onb5 .mark-dot { width: 40px; height: 40px; border-radius: 50%; background: var(--sunk); display: grid; place-items: center; }
.onb5 .mark-dot .cv-mark { width: 19px; height: 19px; color: var(--ink); }
.onb5 .note { font-size: 13px; color: var(--ink3); display: flex; gap: 8px; align-items: center; line-height: 1.45; }
.onb5 .note .cv-i { width: 14px; height: 14px; }
/* ---- channels ---- */
/* ---- pillars ---- */
/* ---- posts (previews look like the real thing) ---- */
/* ---- measure ---- */
@keyframes cv-meter { to { width: 100%; } }
/* ---- "From your read" (carried into later scenes) ---- */
@media (max-width: 1240px) {
  .onb5 .scene { gap: 28px; padding: 28px; }
}
@media (max-width: 900px) {
  .onb5 .scene { grid-template-columns: minmax(0, 1fr); padding: 18px; gap: 18px; min-height: 0; }
  .onb5 .scene[data-solo] { padding: 14px; }
/* phones: the site stays visible as a cropped window above the findings */
  .onb5 .scene:not([data-solo]) .bw__page { max-height: 172px; min-height: 0; }
  .onb5 .scene:not([data-solo]) .bw__hero { display: none; }
  .onb5 .scene:not([data-solo]) .src__note { display: none; }
  .onb5 .scene:not([data-solo]) .src:not(:has(.bw)) { display: none; }
  .onb5 .bw { border-radius: 18px; }
  .onb5 .bw__bar { height: 40px; }
  .onb5 .bw__tabs { display: none; }
  .onb5 .bw__bar { grid-template-columns: auto 1fr; gap: 12px; }
  .onb5 .bw__addr { justify-self: start; }
  .onb5 .find__title { font-size: 24px; }
  .onb5 .find__line { font-size: 14px; }
  .onb5 .card { padding: 18px; border-radius: 18px; }
}
@media (max-width: 560px) {
  .onb5 .grid2 { grid-template-columns: 1fr; }
  .onb5 .sw { gap: 8px; }
  .onb5 .sw__name { display: none; }
  .onb5 .fonts { grid-template-columns: 1fr; gap: 10px; }
  .onb5 .fontrow__aa { width: 44px; height: 44px; }
  .onb5 .logo-chip { height: 84px; }
  .onb5 .quote { font-size: 26px; }
  .onb5 .quote + .quote { font-size: 20px; }
  .onb5 .offer__sum { font-size: 17px; min-height: 0; }
  .onb5 .plan__price { font-size: 24px; }
  .onb5 .pcard { padding-right: 10px; }
  .onb5 .pcard + .pcard { padding-left: 10px; }
  .onb5 .bw__h1 { font-size: 24px; }
  .onb5 .find__title { font-size: 22px; }
}
.onb5 .bw__hl[data-in]::after { top: 10px; left: 10px; }
