/* DrivenOS B — live editorial product illustrations. All colours follow the lab theme. */
.osr, [data-osv="a"] {
  --ink: var(--text); --soft: var(--muted); --panel: #171a17; --panel-hi: #20251f;
  --edge: #323a30; --green: var(--brand); --green-ink: #11260c;
}
.osr {
  position: relative; padding: 100px var(--gutter) 48px;
}
.osr-head { display:flex; align-items:flex-end; justify-content:space-between; gap:40px; margin-bottom:64px; }
.osr-label { font:500 12px Inter,sans-serif; letter-spacing:.22em; color:var(--accent); }
.osr-title { margin-top:22px; font-size:clamp(48px,5.4vw,92px); max-width:16ch; }
.osr-title span { color:var(--faint); }
.osr-head p { max-width:32ch; color:var(--muted); font-size:15px; }
.osr-tools { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:22px; }
.osr-tools > span { color:var(--soft); font:500 10px Inter,sans-serif; letter-spacing:.16em; text-transform:uppercase; }
.osr-motion { display:inline-flex; align-items:center; gap:9px; border:1px solid var(--line); border-radius:999px; padding:9px 13px; font-size:11px; color:var(--muted); }
.osr-motion svg { width:12px; height:12px; fill:none; stroke:currentColor; stroke-width:2; }
.osr-motion:focus-visible,.os-switch button:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
.osr-motion:active { transform:scale(.97); }
.osr-body { position:relative; }
.osr-row { position:relative; display:grid; grid-template-columns:minmax(0,1fr) minmax(340px,43%) minmax(0,1fr); gap:28px; min-height:max(78vh,570px); padding:54px 0; border-top:1px solid var(--line); }
.osr-row:last-child { border-bottom:1px solid var(--line); }
.osr-cross { position:absolute; left:50%; top:-9px; width:17px; height:17px; transform:translateX(-50%); }
.osr-cross::before,.osr-cross::after { content:""; position:absolute; background:var(--muted); top:8px; left:0; width:17px; height:1px; }
.osr-cross::after { transform:rotate(90deg); }
.osr-name { display:flex; flex-direction:column; justify-content:space-between; gap:32px; }
.osr-name .num { display:block; font:500 11px Inter,sans-serif; letter-spacing:.16em; color:var(--soft); margin-bottom:23px; }
.osr-name h3 { font-size:clamp(29px,2.65vw,48px); line-height:1; max-width:12ch; color:var(--accent); }
.osr-name p { font-size:13px; line-height:1.6; max-width:24ch; color:var(--soft); margin-top:18px; }
.osr-hatch { font:500 14px monospace; letter-spacing:-.08em; color:var(--accent); }
.osr-points { grid-column:3; list-style:none; padding:0; }
.osr-points li { display:grid; grid-template-columns:20px 1fr; gap:12px; padding:0 0 22px; margin-bottom:22px; border-bottom:1px solid var(--line); }
.osr-points li:last-child { border-bottom:0; }
.osr-points .n { font:400 10px monospace; color:var(--soft); padding-top:3px; }
.osr-points .t { font:500 11px/1.65 Inter,sans-serif; letter-spacing:.09em; text-transform:uppercase; }
.osr-inline { display:grid; grid-column:2; position:sticky; top:max(92px,calc(50vh - 235px)); align-self:start; height:470px; min-width:0; overflow:clip; pointer-events:none; }
.osb-scene { width:460px; height:440px; position:relative; flex:none; font:400 13px/1.5 Inter,sans-serif; color:var(--ink); transform-origin:center; }
.osr-inline > .osb-scene { position:absolute; left:50%; top:50%; margin:-220px 0 0 -230px; }
.osb-scene *, .osb-scene *::before, .osb-scene *::after { box-sizing:border-box; }
.osb-scene svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; flex:none; }
.osb-card { background:var(--panel); border:1px solid var(--edge); border-radius:16px; box-shadow:0 20px 45px -25px #0009; }
.osb-kicker { font-size:9px; font-weight:500; letter-spacing:.15em; text-transform:uppercase; color:var(--soft); }
.osb-green { color:var(--green); }
.osb-pill { display:inline-flex; align-items:center; gap:6px; padding:5px 9px; border:1px solid var(--edge); border-radius:999px; font-size:9px; color:var(--green); white-space:nowrap; }
.osb-dot { width:5px; height:5px; display:inline-block; background:var(--green); border-radius:50%; }
.osb-icon { display:grid; place-items:center; width:42px; height:42px; border:1px solid var(--edge); border-radius:12px; color:var(--green); background:var(--panel-hi); }
.osb-avatar { display:grid; place-items:center; width:35px; height:35px; border-radius:50%; color:var(--green); background:var(--panel-hi); border:1px solid var(--edge); font-size:10px; font-weight:600; }
.osb-footer { position:absolute; bottom:5px; left:0; right:0; display:flex; align-items:center; justify-content:center; gap:8px; color:var(--soft); font-size:9px; letter-spacing:.13em; text-transform:uppercase; }
.osb-footer svg { width:13px; height:13px; color:var(--green); }
/* 01 — a call becomes a conversation, without a device frame. */
.osb-call { position:absolute; left:14px; top:37px; width:293px; padding:18px; transform:rotate(-5deg); }
.osb-call-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:17px; }
.osb-call-main { display:flex; gap:12px; align-items:center; }
.osb-call-main strong { display:block; font-size:16px; font-weight:500; }
.osb-call-main small { color:var(--soft); font-size:11px; }
.osb-call .osb-icon { color:#d3a394; }
.osb-chat { position:absolute; right:8px; top:142px; width:330px; padding:20px; transform:rotate(2deg); }
.osb-chat-head { display:flex; justify-content:space-between; padding-bottom:15px; margin-bottom:17px; border-bottom:1px solid var(--edge); }
.osb-chat-head strong { font-size:12px; font-weight:500; }
.osb-message { max-width:92%; width:fit-content; padding:11px 14px; border-radius:13px 13px 3px 13px; background:var(--green); color:var(--green-ink); margin-left:auto; font-size:12px; line-height:1.5; }
.osb-message.reply { border:1px solid var(--edge); color:var(--ink); background:var(--panel-hi); border-radius:13px 13px 13px 3px; margin:10px 0; }
.osb-delivered { color:var(--soft); text-align:right; font-size:9px; margin-top:7px; }
.osb-chat .osb-pill { margin-top:13px; }
/* 02 — one business number, an entire team. */
.osb-number { position:absolute; left:40px; right:40px; top:28px; padding:25px; text-align:center; }
.osb-number strong { display:block; font-size:29px; letter-spacing:-1px; margin:8px 0 10px; font-weight:500; }
.osb-wave { display:flex; justify-content:center; align-items:center; gap:5px; height:44px; margin-top:14px; }
.osb-wave i { width:3px; height:var(--h); border-radius:2px; background:var(--green); transform:scaleY(.6); }
.osb-route { position:absolute; left:84px; top:229px; width:292px; height:33px; border-top:1px solid var(--edge); border-left:1px solid var(--edge); border-right:1px solid var(--edge); border-radius:12px 12px 0 0; }
.osb-route::before { content:""; position:absolute; left:50%; bottom:0; height:55px; width:1px; background:var(--edge); }
.osb-team { position:absolute; top:264px; left:20px; right:20px; display:flex; gap:10px; }
.osb-person { flex:1; display:flex; flex-direction:column; align-items:center; padding:17px 8px 13px; gap:8px; border-radius:12px; }
.osb-person small { font-size:9px; color:var(--soft); }
.osb-person--picked { border-color:var(--green); }
.osb-person--picked small { color:var(--green); }
/* 03 — a compact, readable automation track. */
.osb-flow { position:absolute; top:21px; left:42px; right:42px; }
.osb-flow-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:23px; }
.osb-step { display:flex; align-items:center; gap:13px; position:relative; padding:15px 17px; border-radius:12px; }
.osb-step strong { display:block; font-size:12px; font-weight:500; }
.osb-step small { display:block; font-size:10px; color:var(--soft); }
.osb-step .osb-icon { width:33px; height:33px; border-radius:9px; }
.osb-step .osb-icon svg { width:16px; height:16px; }
.osb-step > span:last-child { margin-left:auto; font-size:10px; color:var(--green); }
.osb-connector { height:22px; width:1px; background:var(--edge); margin-left:34px; position:relative; }
.osb-connector i { position:absolute; top:0; left:-1px; width:3px; height:8px; background:var(--green); border-radius:2px; }
.osb-schedule { display:flex; gap:8px; margin-top:17px; padding-left:10px; }
.osb-schedule span { border:1px solid var(--edge); background:var(--panel); padding:6px 11px; border-radius:6px; font-size:9px; color:var(--soft); }
/* 04 — a lead progresses on a miniature, three-column board. */
.osb-board { position:absolute; top:62px; left:0; right:0; padding:20px 16px; transform:rotate(-2deg); }
.osb-board-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:22px; }
.osb-board-head strong { font-size:13px; font-weight:500; }
.osb-columns { display:grid; grid-template-columns:repeat(3,1fr); gap:9px; }
.osb-column { min-width:0; background:var(--panel-hi); padding:10px 7px; border-radius:9px; min-height:221px; }
.osb-column-title { font-size:9px; color:var(--soft); display:flex; align-items:center; justify-content:space-between; margin-bottom:13px; }
.osb-ticket { padding:12px 10px; background:var(--panel); border:1px solid var(--edge); border-radius:8px; margin-bottom:8px; }
.osb-ticket strong { display:block; font-size:10px; font-weight:500; }
.osb-ticket small { display:block; color:var(--soft); font-size:8px; margin:4px 0 12px; }
.osb-ticket b { font-size:12px; font-weight:500; }
.osb-ticket--quiet { opacity:.55; }
.osb-ticket--moving { position:absolute; left:calc(66.6667% - 2px); top:108px; width:calc(33.3333% - 26px); border-color:var(--green); z-index:2; box-shadow:0 8px 18px #0002; }
.osb-ticket--moving b { color:var(--green); }
.osb-board-total { display:flex; justify-content:space-between; border-top:1px solid var(--edge); margin-top:15px; padding-top:13px; font-size:10px; color:var(--soft); }
.osb-board-total b { color:var(--green); font-weight:500; }
/* 05 — a completed job becomes visible proof. */
.osb-rating { position:absolute; left:30px; top:33px; }
.osb-rating-number { display:flex; align-items:baseline; gap:12px; }
.osb-rating-number strong { font-family:var(--display); font-weight:800; font-stretch:75%; font-size:111px; line-height:1.1; letter-spacing:-6px; }
.osb-rating-number span { color:var(--soft); font-size:12px; }
.osb-stars { display:flex; gap:6px; color:var(--green); margin:5px 0 11px; }
.osb-stars svg { width:24px; height:24px; fill:currentColor; stroke:none; }
.osb-review { position:absolute; left:28px; right:16px; top:221px; padding:22px; transform:rotate(-3deg); }
.osb-review-head { display:flex; gap:11px; align-items:center; }
.osb-review-head strong { display:block; font-size:12px; font-weight:500; }
.osb-review-head small { display:block; font-size:9px; color:var(--soft); }
.osb-review-head > svg { margin-left:auto; color:var(--green); }
.osb-review p { font-size:14px; line-height:1.65; margin-top:17px; }
.osb-request { position:absolute; right:16px; top:99px; width:205px; padding:14px; transform:rotate(6deg); }
.osb-request > div { display:flex; align-items:center; gap:8px; font-size:10px; margin-bottom:8px; }
.osb-request svg { color:var(--green); width:16px; height:16px; }
.osb-request p { font-size:11px; color:var(--soft); }
@media (min-width:901px) and (max-height:650px) { .osr-inline { height:390px; top:max(84px,calc(50vh - 195px)); } }
@media (min-width:1500px) { .osr-points .t { font-size:13px; } .osr-name p { font-size:15px; } }
@media (max-width:1050px) and (min-width:901px) { .osr-row { column-gap:16px; grid-template-columns:minmax(0,1fr) minmax(310px,40%) minmax(0,1fr); } .osr-name h3 { font-size:28px; } .osr-points .t { font-size:10px; } }
@media (max-width:900px) {
  .osr { padding-top:60px; }
  .osr-head { display:block; margin-bottom:40px; }
  .osr-head p { margin-top:24px; max-width:45ch; }
  .osr-title { font-size:clamp(44px,8vw,72px); }
  .osr-tools > span { max-width:20ch; line-height:1.6; }
  .osr-row { grid-template-columns:1fr 1fr; padding:34px 0 40px; min-height:0; gap:28px; }
  .osr-name { grid-column:1/-1; flex-direction:row; }
  .osr-name h3 { max-width:18ch; font-size:38px; }
  .osr-name p { max-width:34ch; }
  .osr-hatch { align-self:flex-start; }
  .osr-inline { display:grid; grid-column:1/-1; place-items:center; position:relative; top:auto; min-width:0; height:440px; overflow:clip; }
  .osr-points { grid-column:1/-1; display:grid; grid-template-columns:1fr 1fr; gap:0 26px; }
  .osr-points li { margin:0; padding:13px 0; border-top:1px solid var(--line); border-bottom:0; }
  .osr-points .t { font-size:11px; }
  .osr-cross { left:auto; right:0; }
}
@media (max-width:480px) { .osr-inline { height:360px; } .osr-name h3 { font-size:34px; } .osr-points { grid-template-columns:1fr; } .osr-name .num { margin-bottom:15px; } }
/* A static inline scene per feature is also the no-JS / reduced-motion presentation. */
@media (prefers-reduced-motion:reduce) {
  .osr-row { min-height:0; align-items:center; }
  .osr-inline { position:relative; top:auto; display:grid; place-items:center; height:470px; }
  .osr-motion { display:none; }
}

/* Story uses the same matte illustrations, within its original two-column stage. */
[data-osv="a"] .os__pin { padding-top:150px; }
[data-osv="a"] .os-stage { height:min(calc(100svh - 190px),700px); min-height:390px; background:var(--bg); border:1px solid var(--line); }
[data-osv="a"] .os-stage::before { display:none; }
[data-osv="a"] .os-slide { padding:0; }
[data-osv="a"] .os-slide > .osb-scene { position:absolute; left:50%; top:50%; margin:-220px 0 0 -230px; }
[data-osv="a"] .os__copy { min-height:min(calc(100svh - 190px),700px); }
[data-osv="a"] .os-count { color:var(--muted); }
.osa-motion { align-self:flex-start; margin-top:14px; }
[data-osv="a"] .os__index { margin-top:20px; }
[data-osv="a"] .os__item:focus-visible { outline:2px solid var(--accent); outline-offset:4px; border-radius:4px; }
@media (max-width:900px) {
 [data-osv="a"] .os__pin { padding-block:48px 70px; gap:32px; }
 [data-osv="a"] .os-stage { height:440px; min-height:0; }
 [data-osv="a"] .os__copy { min-height:0; }
 [data-osv="a"] .os__item { font-size:clamp(23px,4vw,36px); padding-block:5px; }
}
@media (max-width:480px) { [data-osv="a"] .os-stage { height:360px; } }
@media (prefers-reduced-motion:reduce) {
 [data-osv="a"] .os__pin { height:auto; }
 [data-osv="a"] .osa-motion { display:none; }
 [data-osv="a"] .os__item, [data-osv="a"] .os__item .arw, [data-osv="a"] .os__item .nm::after { transition:none; }
}

/* Shared comparison controls: Story, Rows and Stack. */
.os-switch { position:sticky; top:86px; z-index:35; width:fit-content; max-width:calc(100% - 2 * var(--gutter)); box-shadow:0 5px 25px #0002; }
.os-switch button { white-space:nowrap; }
@media (max-width:900px) {
 .os-switch { top:80px; margin-inline:var(--gutter); display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); width:calc(100% - 2 * var(--gutter)); }
 .os-switch button { padding:0 9px; font-size:12px; height:36px; }
}
