/* /servicos/sites-lojas-online: the page builds itself while five agent
   cursors work on it (see public/js/sites-build.js and
   docs/SERVICES_REDESIGN.md). All sections share the selected site theme
   and the inner-page texture from page-texture.css. */
.sb-page {
  --ink: var(--page-text, #f1f0eb);
  --muted: var(--page-muted, #9a998f);
  --soft-ink: color-mix(in srgb, var(--ink) 80%, transparent);
  --line: color-mix(in srgb, var(--ink) 12%, transparent);
  --panel: color-mix(in srgb, var(--ink) 4%, transparent);
  --solid: #1a1a18;
  --orange: #ff5000;
  position: relative;
  /* Own stacking layer, so the agents' cursors, selections and lifted
     elements always pass under the fixed site header. */
  isolation: isolate;
  overflow-x: clip;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
:root[data-theme="light"] .sb-page { --solid: #fff; }
/* Light mode: window chrome (top bars, address pills, dots) is light too, and
   the build outlines and design canvas stay visible on the light page. */
:root[data-theme="light"] .sb-shot { background: #eeebe4; box-shadow: 0 30px 70px rgba(27,27,23,.16); }
:root[data-theme="light"] :is(.sb-shot-bar, .sb-casa-frame, .sb-jr-display) { background: #e7e4dc; }
:root[data-theme="light"] .sb-casa-frame { box-shadow: 0 20px 50px rgba(27,27,23,.14); }
:root[data-theme="light"] :is(.sb-shot-bar, .sb-casa-bar, .sb-jr-addr) i { background: #c9c5bb; }
:root[data-theme="light"] :is(.sb-s-url, .sb-c-url) { background: #f8f7f3; color: #6b685f; }
:root[data-theme="light"] .sb-jr-addr { color: #6b685f; }
:root[data-theme="light"] .sb-jr-canvas { background-image: radial-gradient(rgba(27,27,23,.14) 1px, transparent 1.2px); }
:root[data-theme="light"] .sb-jr-lbl { color: #6b685f; }
:root[data-theme="light"] .sb-page [data-m="wire"] { outline-color: rgba(27,27,23,.28); background: rgba(27,27,23,.03) !important; }
.sb-page :is(h1, h2, h3, h4) { font-family: Sora, Inter, sans-serif; font-weight: 500; margin: 0; letter-spacing: -0.02em; color: inherit; }
.sb-page p { margin: 0; }
:where(.sb-page) a { color: inherit; text-decoration: none; }
.sb-wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.sb-note { font-size: 13px; color: var(--muted); margin-top: 14px; }

.sb-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 70px 0 110px; }
.sb-crumb { font-size: 13px; color: var(--muted); letter-spacing: 0.05em; margin-bottom: 26px; }
.sb-hero h1 { font-size: clamp(44px, 6vw, 84px); line-height: 1.02; }
.sb-experience { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-bottom: 26px; }
.sb-skip { padding: 8px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--muted); font: 500 13px Inter, sans-serif; cursor: pointer; transition: color .2s, border-color .2s; }
.sb-skip:hover { color: var(--ink); border-color: color-mix(in srgb, var(--ink) 40%, transparent); }
.sb-skip:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.sb-hero h1 .sb-o { color: var(--orange); }
.sb-hero-text { margin-top: 28px; max-width: 46ch; color: var(--soft-ink); }
.sb-hero-row { display: flex; align-items: center; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
/* Where the price and the button can't share a line, stack them from the
   start: the button's resize animation then can't pull it back up a line. */
@media (max-width: 460px) {
  .sb-hero-row { flex-direction: column; align-items: flex-start; }
  .sb-page .sb-rental { padding: 24px; }
  .sb-page .sb-rental .sb-cta { padding-inline: 20px; gap: 12px; }
}
.sb-price { font-family: Sora; font-size: 15px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 99px; }
.sb-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; width: 270px; padding: 17px 24px; border-radius: 99px; background: var(--orange); color: var(--ls-on-action); font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; }
.sb-ghost-link { display: inline-block; margin-left: 24px; color: var(--soft-ink); text-decoration: underline; text-underline-offset: 5px; font-size: 15px; }

/* Hero mockup: a small but complete storefront. Sizes use cqw so the page
   inside the frame scales as one piece with the frame. */
.sb-shot { position: relative; aspect-ratio: 4 / 3.1; border-radius: 16px; overflow: hidden; background: #1b1a18; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.5); container-type: inline-size; }
.sb-shot-bar { position: relative; height: 30px; display: flex; gap: 7px; align-items: center; padding: 0 14px; background: #24231f; }
.sb-shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #4a4943; }
.sb-s-url { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 5px; padding: 3px 14px; border-radius: 6px; background: #1a1916; color: #9a998f; font: 400 10px Inter, sans-serif; }
.sb-shot-body { position: absolute; inset: 30px 0 0; display: flex; flex-direction: column; background: #f5f0e8; color: #2b2520; font-family: Inter, sans-serif; }
.sb-s-ann { padding: .9cqw 0; background: #e8dfd1; color: #4a4238; text-align: center; font-size: 1.55cqw; letter-spacing: .04em; }
.sb-s-nav { display: flex; align-items: center; gap: 3cqw; padding: 2.2cqw 5cqw; border-bottom: 1px solid #e4dccf; font-size: 1.75cqw; }
.sb-s-brand { font: 700 2.6cqw Sora, sans-serif; letter-spacing: .02em; }
.sb-s-brand sup { font-size: .5em; font-weight: 500; }
.sb-s-links { display: flex; gap: 2.6cqw; color: #5c5349; }
.sb-s-links span:first-child { color: #2b2520; }
.sb-s-icons { margin-left: auto; display: flex; align-items: center; gap: 2.4cqw; }
.sb-s-icons svg { width: 2.6cqw; height: 2.6cqw; fill: none; stroke: #2b2520; stroke-width: 1.4; }
.sb-s-cart { position: relative; display: flex; }
.sb-s-cart i { position: absolute; right: -1.1cqw; top: -.9cqw; width: 2cqw; height: 2cqw; border-radius: 50%; background: #c8541f; color: #fff; font: 600 1.25cqw/2cqw Inter, sans-serif; font-style: normal; text-align: center; }
.sb-s-hero { flex: 1; display: grid; grid-template-columns: 1fr 1.05fr; gap: 4cqw; align-items: center; padding: 2.4cqw 5cqw 0; min-height: 0; }
.sb-s-kick { font-size: 1.45cqw; letter-spacing: .14em; text-transform: uppercase; color: #c8541f; }
.sb-shot-body .sb-s-title { margin-top: 1.4cqw; font: 600 4.2cqw/1.04 Sora, sans-serif; letter-spacing: -.02em; color: #2b2520; text-wrap: balance; }
.sb-shot-body .sb-s-text { margin-top: 1.8cqw; font-size: 1.7cqw; line-height: 1.5; color: #6b6156; max-width: 34cqw; }
.sb-s-actions { display: flex; align-items: center; gap: 2.6cqw; margin-top: 2.2cqw; }
.sb-shot-body .sb-s-btn { padding: 1.4cqw 2.8cqw; border-radius: 99px; background: #2b2520; color: #f5f0e8; font-size: 1.6cqw; font-weight: 500; }
.sb-s-link { font-size: 1.6cqw; color: #2b2520; border-bottom: 1px solid #2b2520; padding-bottom: .2cqw; }
.sb-s-photo { position: relative; height: 100%; max-height: 29cqw; border-radius: 1.6cqw; overflow: hidden; }
.sb-s-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; display: block; }
.sb-s-tag { position: absolute; left: 1.8cqw; bottom: 1.8cqw; display: flex; align-items: center; gap: 1cqw; padding: .9cqw 1.6cqw; border-radius: 99px; background: rgba(255,255,255,.92); font-size: 1.45cqw; color: #2b2520; box-shadow: 0 .6cqw 2cqw rgba(60,40,20,.15); }
.sb-s-tag i { width: 1.1cqw; height: 1.1cqw; border-radius: 50%; background: #c8541f; box-shadow: 0 0 0 .5cqw rgba(200,84,31,.2); }
.sb-s-row { padding: 2.8cqw 5cqw 3cqw; }
.sb-s-rowhead { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.6cqw; }
.sb-s-rowhead b { font: 600 2cqw Sora, sans-serif; }
.sb-s-rowhead span { color: #6b6156; border-bottom: 1px solid #b9ad9c; }
.sb-s-prods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2cqw; margin-top: 1.8cqw; }
.sb-s-prod { font-size: 1.5cqw; }
.sb-s-pimg { height: 14cqw; border-radius: 1.2cqw; background: #ebe3d6; overflow: hidden; }
.sb-s-pimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sb-s-p1 img { object-position: 50% 30%; }
.sb-s-p2 img { object-position: 50% 66%; }
.sb-s-p3 img { object-position: 45% 72%; }
.sb-s-pinfo { display: flex; justify-content: space-between; margin-top: 1cqw; color: #2b2520; }
.sb-s-pinfo b { font-weight: 600; }
.sb-s-prod small { display: block; margin-top: .2cqw; font-size: 1.3cqw; color: #8a7f72; }
@container (max-width: 460px) { .sb-shot-body .sb-s-text { display: none; } .sb-shot-body .sb-s-title { font-size: 5.2cqw; } }

/* ---------- shared section styles ---------- */
section.sb-blk { padding: 90px 0; border-top: 1px solid var(--line); }
.sb-kicker { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; }
.sb-blk h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; max-width: 20ch; }
.sb-lead { margin-top: 20px; max-width: 60ch; color: var(--soft-ink); }

.sb-pains-blk { display: grid; grid-template-columns: 1fr auto; gap: 90px; align-items: center; }
.sb-pains-main h2 { max-width: 15ch; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.03; }
.sb-pains-list { margin-top: 44px; max-width: 620px; }
.sb-ph { width: 320px; }
.sb-ph-screen { position: relative; aspect-ratio: 9 / 19.5; border: 10px solid #262624; border-radius: 40px; background: #f6f2ec; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.5); color: #222; }
.sb-ph-old, .sb-ph-new { position: absolute; inset: 0; padding: 26px 18px; }
.sb-ph-old { font-family: "Times New Roman", serif; background: #f2f2f2; z-index: 1; }
.sb-o-name { font-size: 26px; color: #0000ee; text-decoration: underline; }
.sb-o-warn { margin-top: 12px; padding: 8px; background: #ffef9f; border: 1px dashed #c9a400; font-size: 14px; }
.sb-o-img { margin-top: 14px; height: 150px; display: grid; place-items: center; border: 1px solid #bbb; color: #888; font-size: 13px; background: #e6e6e6; }
.sb-o-txt { margin-top: 14px; font-size: 15px; }
.sb-ph-new { padding: 0; font-family: Inter, sans-serif; }
.sb-n-head { display: flex; justify-content: space-between; padding: 18px; font: 600 16px Sora, sans-serif; }
.sb-n-img { height: 42%; margin: 0 14px; border-radius: 14px; overflow: hidden; background: #e6dccd; }
.sb-n-img img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; display: block; }
.sb-ph-new .sb-n-hours { display: flex; align-items: center; gap: 7px; margin: 14px 18px 0; font-size: 13px; color: #5c574e; }
.sb-n-hours svg { flex: none; color: var(--orange); }
.sb-n-menu { display: flex; justify-content: space-between; margin: 10px 18px 0; padding: 10px 0; border-top: 1px solid #e3dccf; font-size: 14px; }
.sb-n-btn { position: absolute; left: 18px; right: 18px; bottom: 22px; padding: 13px; border-radius: 99px; background: var(--orange); color: var(--ls-on-action); text-align: center; font-weight: 600; font-size: 14px; }
.sb-ph-note { margin-top: 10px; font-size: 11px; color: var(--muted); }
.sb-pains-list .sb-pain { display: grid; grid-template-columns: 35px 1fr; gap: 10px; padding: 24px 0; border-top: 1px solid var(--line); font-size: clamp(19px, 1.7vw, 23px); line-height: 1.4; color: var(--ink); }
.sb-pains-list .sb-pain .sb-mark { display: block; width: 14px; height: 1.5px; margin-top: .75em; background: var(--orange); }
.sb-pains-list .sb-answer { padding-top: 26px; border-top: 1px solid var(--line); margin-top: 0; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--soft-ink); }

.sb-feats-blk { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; }
.sb-feats-head h2 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.02; }
.sb-feats-head .sb-feats-img { margin: 64px 0 0; }

/* Devices: a laptop and a phone showing the CASA store, drawn in CSS. The
   laptop reuses the hero storefront (its sizes are in cqw of the screen). */
.sb-dev { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1.42; }
.sb-dev-laptop { position: absolute; left: 5%; top: 0; width: 80%; }
.sb-dev-lid { padding: 2.4% 2.4% 3.2%; border: 1px solid #3a3a37; border-radius: 14px 14px 3px 3px; background: #121211; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.sb-dev-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 3px; background: #f5f0e8; container-type: inline-size; }
.sb-dev-screen .sb-shot-body { inset: 0 0 auto; }
.sb-dev-screen .sb-s-photo { height: 25cqw; }
.sb-dev-base { position: relative; height: 12px; margin: 0 -6.5%; border-radius: 2px 2px 12px 12px / 2px 2px 9px 9px; background: linear-gradient(#d9d9d4, #a3a39e 45%, #5d5d59); }
.sb-dev-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 15%; height: 4px; transform: translateX(-50%); border-radius: 0 0 6px 6px; background: #8e8e89; }
.sb-dev-phone { position: absolute; right: 0; bottom: 0; width: 25%; aspect-ratio: 9 / 19; padding: 1.1%; border: 1.5px solid #3a3a37; border-radius: 20px; background: #121211; box-shadow: 0 24px 50px rgba(0,0,0,.55); }
.sb-dp-screen { position: relative; height: 100%; overflow: hidden; border-radius: 16px; background: #f5f0e8; color: #2b2520; font-family: Inter, sans-serif; container-type: inline-size; }
.sb-dp-screen svg { fill: none; stroke: #2b2520; stroke-width: 1.4; }
.sb-dp-nav { display: flex; align-items: center; gap: 6cqw; padding: 9cqw 7cqw 5cqw; }
.sb-dp-nav > b { font: 700 8cqw Sora, sans-serif; }
.sb-dp-nav sup { font-size: .5em; }
.sb-dp-cart { position: relative; display: flex; margin-left: auto; }
.sb-dp-cart svg, .sb-dp-menu { width: 8cqw; height: 8cqw; }
.sb-dp-cart i { position: absolute; right: -3cqw; top: -2.5cqw; width: 6cqw; height: 6cqw; overflow: hidden; border-radius: 50%; background: #c8541f; color: #fff; font: 600 4cqw/6cqw Inter, sans-serif; font-style: normal; text-align: center; }
.sb-dp-photo { height: 60cqw; margin: 0 6cqw; overflow: hidden; border-radius: 6cqw; }
.sb-dp-photo img, .sb-dp-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sb-dp-photo img { object-position: 62% 50%; }
.sb-dp-screen .sb-dp-kick { margin: 7cqw 7cqw 0; font-size: 4.6cqw; letter-spacing: .12em; text-transform: uppercase; color: #c8541f; }
.sb-dp-title { margin: 3cqw 7cqw 0; font: 600 11cqw/1.05 Sora, sans-serif; letter-spacing: -.02em; }
.sb-dp-btn { display: inline-block; margin: 5cqw 7cqw 0; padding: 3.5cqw 7cqw; border-radius: 99px; background: #2b2520; color: #f5f0e8; font-size: 5.2cqw; }
.sb-dp-head { display: flex; justify-content: space-between; align-items: baseline; margin: 10cqw 7cqw 0; font-size: 4.8cqw; color: #6b6156; }
.sb-dp-head b { font: 600 6.4cqw Sora, sans-serif; color: #2b2520; }
.sb-dp-prods { display: grid; grid-template-columns: 1fr 1fr; gap: 5cqw 4cqw; margin: 4cqw 7cqw 9cqw; font-size: 4.6cqw; }
.sb-dp-prods span { display: block; margin-top: 2cqw; }
.sb-dp-prods b { font-weight: 600; }
.sb-dp-img { height: 40cqw; overflow: hidden; border-radius: 4cqw; background: #e8dfd1; }
.sb-dp-img img { object-position: 50% 30%; }
.sb-dp-chair img { object-position: 50% 68%; }
.sb-dp-table img { object-position: 45% 70%; }
.sb-dp-vase img { object-position: 40% 55%; transform: scale(1.8); }

/* Subtle motion: a product is added to the cart (toast, then the count goes
   from 2 to 3) and the phone page scrolls slowly up and back. */
.sb-dev-toast { position: absolute; right: 3cqw; top: 12cqw; z-index: 2; display: flex; align-items: center; gap: 1.4cqw; padding: 1cqw 2.2cqw 1cqw 1cqw; border-radius: 1.4cqw; background: #fff; color: #2b2520; font: 500 1.7cqw Inter, sans-serif; box-shadow: 0 1.5cqw 4cqw rgba(60,40,20,.22); opacity: 0; animation: sb-dev-toast 8s ease-in-out infinite; }
.sb-dev-toast img { width: 4.4cqw; height: 4.4cqw; border-radius: .8cqw; object-fit: cover; object-position: 50% 70%; }
.sb-dev .sb-s-cart i, .sb-dp-cart i { overflow: hidden; }
.sb-dev .sb-s-cart i b, .sb-dp-cart i b { display: block; font-weight: 600; animation: sb-dev-count 8s ease-in-out infinite; }
.sb-dp-scroll { animation: sb-dp-scroll 16s ease-in-out infinite; }
@keyframes sb-dev-toast { 0%, 40% { opacity: 0; transform: translateY(-1.5cqw); } 46%, 78% { opacity: 1; transform: none; } 84%, 100% { opacity: 0; transform: translateY(-1.5cqw); } }
@keyframes sb-dev-count { 0%, 46% { transform: translateY(0); } 50%, 94% { transform: translateY(-100%); } 98%, 100% { transform: translateY(0); } }
@keyframes sb-dp-scroll { 0%, 14% { transform: translateY(0); } 48%, 64% { transform: translateY(-36%); } 96%, 100% { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .sb-dev * { animation: none !important; } }
.sb-feats-list { align-self: start; }
.sb-feat { display: grid; grid-template-columns: 35px 1fr; gap: 23px; padding: 28px 0; border-top: 1px solid var(--line); }
.sb-feat:last-child { border-bottom: 1px solid var(--line); }
.sb-feat .sb-mark { display: block; width: 12px; height: 1.5px; margin-top: 20px; background: var(--orange); }
.sb-feat h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.03em; }
.sb-feat p { margin-top: 14px; max-width: 49ch; font-size: 15px; color: var(--soft-ink); }

/* ---------- CASA example store ---------- */
.sb-casa-stage { display: flex; align-items: center; justify-content: center; height: clamp(210px, 52svh, 500px); margin-top: 32px; }
.sb-casa-frame { position: relative; flex: none; box-sizing: border-box; width: 100%; height: 100%; max-width: none; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #24231f; container-type: inline-size; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.sb-casa-viewport { height: calc(100% - 34px); overflow: hidden; }
.sb-casa-bar { position: relative; height: 34px; display: flex; gap: 7px; align-items: center; padding: 0 14px; }
.sb-casa-bar i { width: 9px; height: 9px; border-radius: 50%; background: #4a4943; }
.sb-c-url { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 4px 18px; border-radius: 7px; background: #1a1916; color: #9a998f; font: 400 12px Inter, sans-serif; white-space: nowrap; }
.sb-casa-view { position: relative; }
/* Same storefront as the hero mockup, at full size. The dark copy only
   changes these variables. */
.sb-casa-store { --c-bg: #f5f0e8; --c-ink: #2b2520; --c-soft: #e8dfd1; --c-muted: #6b6156; --c-line: #e4dccf; --c-accent: #c8541f; background: var(--c-bg); color: var(--c-ink); font-family: Inter, sans-serif; }
.sb-casa-dark .sb-casa-store { --c-bg: #1b1916; --c-ink: #f1e9dc; --c-soft: #2a2622; --c-muted: #a99d8e; --c-line: #34302a; --c-accent: #e2733f; }
/* Each theme is clipped to its own side of the divider, so the light store
   is never underneath the dark one and cannot show through rounding gaps
   at its edges while scrolling. */
.sb-casa-view > .sb-casa-store { clip-path: inset(0 calc(100% - var(--split, 100%)) 0 0); }
.sb-casa-dark { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--split, 100%)); pointer-events: none; background: #1b1916; }
.sb-c-ann { padding: 5px 0; text-align: center; font-size: 12px; letter-spacing: .04em; background: var(--c-soft); color: var(--c-muted); }
.sb-c-head { display: flex; align-items: center; gap: 34px; padding: 14px 32px; border-bottom: 1px solid var(--c-line); }
.sb-c-brand { font: 700 19px Sora, sans-serif; letter-spacing: .02em; }
.sb-c-brand sup { font-size: .5em; font-weight: 500; }
.sb-c-nav { display: flex; gap: 26px; flex: 1; font-size: 14px; color: var(--c-muted); }
.sb-c-nav span:first-child { color: var(--c-ink); }
.sb-c-icons { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.sb-c-icons svg { width: 19px; height: 19px; fill: none; stroke: var(--c-ink); stroke-width: 1.4; }
.sb-c-cart { position: relative; display: flex; }
.sb-c-cart i { position: absolute; right: -8px; top: -6px; width: 15px; height: 15px; border-radius: 50%; background: var(--c-accent); color: #fff; font: 600 9px/15px Inter, sans-serif; font-style: normal; text-align: center; }
.sb-c-show { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; padding: 24px 32px 16px; align-items: center; }
.sb-c-kick { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent); }
.sb-c-show h3 { font: 600 clamp(28px, 4cqw, 44px)/1.04 Sora, sans-serif; letter-spacing: -.02em; margin-top: 12px; text-wrap: balance; }
.sb-c-show p:not(.sb-c-kick) { margin-top: 16px; font-size: 15px; line-height: 1.55; color: var(--c-muted); max-width: 36ch; }
.sb-c-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.sb-c-btn { display: inline-block; padding: 12px 24px; border-radius: 99px; background: var(--c-ink); color: var(--c-bg); font-size: 14px; font-weight: 500; white-space: nowrap; }
.sb-c-link { font-size: 14px; color: var(--c-ink); border-bottom: 1px solid currentColor; padding-bottom: 2px; white-space: nowrap; }
.sb-c-hero-img { position: relative; height: 250px; border-radius: 14px; overflow: hidden; background: var(--c-soft); }
.sb-c-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; display: block; }
.sb-c-tag { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; background: rgba(255,255,255,.92); color: #2b2520; font-size: 12px; box-shadow: 0 6px 18px rgba(60,40,20,.15); }
.sb-c-tag i { width: 8px; height: 8px; border-radius: 50%; background: #c8541f; box-shadow: 0 0 0 4px rgba(200,84,31,.2); }
.sb-c-coll { padding: 18px 32px 24px; }
.sb-c-collhead { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.sb-c-coll h3 { font: 600 clamp(22px, 2.6cqw, 32px) Sora, sans-serif; letter-spacing: -.01em; margin-top: 8px; }
.sb-c-collhead .sb-c-link { color: var(--c-muted); }
.sb-c-prods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 14px; }
.sb-c-img { height: 130px; border-radius: 12px; overflow: hidden; background: var(--c-soft); }
.sb-c-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sb-ci1 img { object-position: 50% 30%; }
.sb-ci2 img { object-position: 50% 66%; }
.sb-ci3 img { object-position: 45% 70%; }
.sb-c-pinfo { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 12px; }
.sb-c-prod h4 { margin: 0; font: 500 15px Inter, sans-serif; }
.sb-c-prod .sb-c-price { font-size: 15px; font-weight: 600; white-space: nowrap; }
.sb-c-prod small { display: block; margin-top: 2px; font-size: 12px; color: var(--c-muted); }
@container (max-width: 640px) {
  .sb-casa-viewport { overflow-y: auto; touch-action: pan-y; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
  .sb-c-nav { display: none; }
  .sb-c-head { padding: 16px 20px; }
  .sb-c-show { grid-template-columns: 1fr; gap: 24px; padding: 26px 20px 10px; }
  .sb-c-hero-img { height: 220px; }
  .sb-c-coll { padding: 22px 20px 28px; }
  .sb-c-prods { grid-template-columns: 1fr 1fr; gap: 14px; }
  .sb-c-prod:last-child { display: none; }
  .sb-c-img { height: 140px; }
}
.sb-casa-divider { position: absolute; top: 0; bottom: 0; left: var(--split, 100%); width: 1px; margin-left: -.5px; background: rgba(140,128,112,.45); opacity: var(--div-on, 0); cursor: ew-resize; touch-action: none; }
.sb-casa-divider::after { content: "⇆"; position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: #f1f0eb; color: #101010; display: grid; place-items: center; font-size: 15px; }
.sb-casa-grip { position: absolute; top: 50%; right: 0; width: calc(30px / var(--casa-scale, 1)); height: calc(60px / var(--casa-scale, 1)); transform: translateY(-50%); cursor: ew-resize; opacity: 0; touch-action: none; }
.sb-casa-grip::after { content: ""; position: absolute; top: 15%; right: 0; width: calc(7px / var(--casa-scale, 1)); height: 70%; border-radius: 8px 0 0 8px; background: rgba(160,150,135,.85); }
.sb-casa-divider::before { content: ""; position: absolute; inset: 0; width: calc(44px / var(--casa-scale, 1)); transform: translateX(-50%); }
.sb-casa-frame.sb-ready .sb-casa-grip { opacity: 1; }
.sb-casa-status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.sb-casa-modes { display: flex; gap: 6px; }
.sb-casa-modes button { min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink); background: transparent; font: inherit; cursor: pointer; }
.sb-casa-modes button[aria-pressed="true"] { border-color: var(--orange); background: var(--orange); color: var(--ls-on-action); }
.sb-casa-modes button:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.sb-casa-help { flex-basis: 100%; }
@media (max-width: 820px) {
  .sb-casa-status { gap: 10px; font-size: 12px; }
  .sb-casa-modes button { padding-inline: 12px; }
}

/* ---------- pricing ---------- */
.sb-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; }
.sb-plan { padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); min-height: 360px; }
.sb-plan.sb-featured { border-color: rgba(255,80,0,.5); }
.sb-thumb { height: 150px; border-radius: 10px; margin-bottom: 20px; position: relative; overflow: hidden; background: var(--solid); }
.sb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sb-t1 img { object-position: 60% 28%; }
.sb-t2 img { object-position: 62% 20%; }
.sb-plan h3 { font-size: 21px; }
.sb-from-lbl { font-size: 12px; color: var(--muted); margin-right: 6px; }
.sb-p-price { font-family: Sora; font-size: 28px; margin-top: 8px; }
.sb-plan .sb-p-text { font-size: 14px; color: var(--soft-ink); margin-top: 10px; }
.sb-plan ul, .sb-rental ul { list-style: none; padding: 0; margin: 18px 0 0; font-size: 14px; color: var(--soft-ink); }
.sb-plan li, .sb-rental li { padding: 6px 0; border-top: 1px solid var(--line); }
.sb-plan li::before, .sb-rental li::before { content: "✓  "; color: var(--orange); }
.sb-rental { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 50px; margin-top: 26px; padding: 38px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); }
.sb-rental h3 { font-size: 30px; margin-top: 6px; }
.sb-rental .sb-cta { margin-top: 26px; width: 250px; max-width: 100%; }

/* ---------- visitor journey (scroll story) ---------- */
.sb-jr { --jr-screen-height: 440px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; }
/* Pin the heading and preview as one column until the final step is read. */
.sb-jr-visual { position: sticky; top: max(calc(var(--jr-chrome-height, var(--site-header-h, 90px)) + 16px), calc((100svh - var(--jr-visual-height, 650px)) / 2)); align-self: start; }
.sb-jr-visual[data-pin="false"] { position: relative; top: 0; }
.sb-jr-visual > .sb-kicker { margin-bottom: 14px; }
.sb-jr-display { position: relative; margin-top: 32px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #24231f; }
.sb-jr-addr { height: 34px; display: flex; gap: 7px; align-items: center; padding: 0 14px; font-size: 12px; color: #8d8b83; }
.sb-jr-addr i { width: 9px; height: 9px; border-radius: 50%; background: #4a4943; }
.sb-jr-addr span { margin-left: 14px; }
.sb-jr-screens { position: relative; height: var(--jr-screen-height); overflow: hidden; background: var(--jr-bg, #f3eee6); color: #2b2520; }
/* The three pages sit side by side and slide as the visitor reads each step
   (--jr is the active page). While the agents lay them out as artboards the
   inline transform takes over, without the transition. */
.sb-jr-screen { position: absolute; inset: 0; z-index: 1; padding: 0; background: #f3eee6; transform-origin: 0 0; transform: translateX(calc((var(--i) - var(--jr, 1)) * 100%)); transition: transform .8s cubic-bezier(.65, 0, .35, 1); }
.sb-jr-screen[style*="transform"] { transition: none; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
/* Design canvas shown while the pages are built: dotted grid, labels and the
   prototype links drawn between the pages. */
.sb-jr-canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: radial-gradient(rgba(241,240,235,.09) 1px, transparent 1.2px); background-size: 16px 16px; }
.sb-jr-lbl { position: absolute; left: calc(2.5% + var(--x) * 32.5%); top: calc(35% - 22px); font: 500 11px Inter, sans-serif; color: #a9a59a; white-space: nowrap; }
.sb-jr-links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sb-jr-links path { fill: none; stroke: #60a5fa; stroke-width: 3.4; stroke-linecap: round; stroke-dasharray: 1; }
.sb-jr-nav { display: flex; justify-content: space-between; padding: 16px 24px; font-size: 13px; border-bottom: 1px solid rgba(120,100,80,.18); }
.sb-jr-nav b { font-family: Sora; letter-spacing: .1em; }
.sb-jr-nav span { margin-left: 16px; }
.sb-jr-body { padding: 30px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: center; }
.sb-jr-body h3 { font-size: 30px; line-height: 1.05; margin-top: 8px; }
.sb-jr-body p { font-size: 13px; color: #7b6f62; margin-top: 10px; }
.sb-jr-kick { font-size: 11px; letter-spacing: .12em; color: #7b6f62; }
.sb-jr-img { height: 230px; border-radius: 12px; background: #e6dccd; position: relative; overflow: hidden; }
.sb-jr-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sb-jr-btn { display: inline-block; margin-top: 16px; padding: 9px 16px; border-radius: 99px; background: #2b2520; color: #f3eee6; font-size: 12px; }
.sb-jr-chips { display: flex; gap: 8px; padding: 0 24px; flex-wrap: wrap; }
.sb-jr-chips span { font-size: 11px; padding: 6px 10px; border-radius: 99px; background: #e6dccd; }
.sb-jr-form { display: grid; gap: 10px; margin-top: 14px; }
.sb-jr-form input, .sb-jr-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #cdbfae; border-radius: 8px; background: #fbf8f3; font: 13px Inter, sans-serif; color: #2b2520; }
.sb-jr-form button { justify-self: start; padding: 10px 18px; border: 0; border-radius: 99px; background: #2b2520; color: #f3eee6; font: 13px Inter, sans-serif; cursor: pointer; }
.sb-jr-sent { font-size: 13px; color: #2f7a46; min-height: 1em; }
.sb-jr-steps { display: grid; gap: 34vh; padding: calc(var(--jr-preview-offset, 170px) + 10vh) 0 20vh; }
.sb-jr-step { padding-left: 22px; border-left: 2px solid var(--line); }
.sb-jr-step.sb-on { border-color: var(--orange); }
.sb-jr-step .sb-k { font-size: 12px; letter-spacing: .12em; color: var(--orange); }
.sb-jr-step h3 { font-size: 26px; margin-top: 10px; line-height: 1.15; }
.sb-jr-step p { margin-top: 12px; font-size: 15px; color: var(--soft-ink); }
.sb-jr-progress { height: 3px; background: rgba(0,0,0,.06); }
.sb-jr-progress span { display: block; height: 100%; width: calc(var(--jr, 1) * 33.34%); background: var(--orange); transition: width .35s; }

/* ---------- process, tests, FAQ, close ---------- */
/* A timeline: numbered nodes joined by one line, so the steps read in order
   and as one continuous process. The line ends in an arrow on the last step. */
.sb-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 46px; }
.sb-step { position: relative; }
.sb-step .sb-n { display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid var(--orange); border-radius: 50%; font-family: Sora; font-size: 13px; color: var(--ink); }
.sb-step:first-child .sb-n { background: var(--orange); color: var(--ls-on-action); }
.sb-step::before { content: ""; position: absolute; top: 20px; left: 50px; right: -8px; height: 1.5px; background: linear-gradient(90deg, var(--orange), color-mix(in srgb, var(--orange) 45%, transparent)); }
.sb-step:last-child::before { right: 30%; }
.sb-step:last-child::after { content: ""; position: absolute; top: 16px; right: 30%; width: 8px; height: 8px; border-top: 1.5px solid var(--orange); border-right: 1.5px solid var(--orange); transform: rotate(45deg); }
.sb-step h3 { font-size: 19px; margin-top: 18px; }
.sb-step p { font-size: 14px; color: var(--soft-ink); margin-top: 8px; }

.sb-tests-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.sb-tests-layout .sb-lead { margin-top: 20px; }
.sb-checks { margin-top: 32px; display: grid; gap: 12px; max-width: 760px; }
/* Desktop: the handover steps span exactly the height of the checklist. The
   left column's children share rows with the aside (subgrid), so the title
   sits above and the steps line up with the first and last check. */
@media (min-width: 821px) {
  .sb-tests-layout { grid-template-rows: auto auto auto 1fr; row-gap: 0; align-items: stretch; }
  .sb-tests-layout > div:first-child { display: contents; }
  .sb-tests-layout > div:first-child > * { grid-column: 1; }
  .sb-tests-layout .sb-handover { grid-column: 2; grid-row: 1 / 5; display: grid; grid-template-rows: subgrid; padding: 0; }
  .sb-handover h3 { grid-row: 1 / 4; align-self: end; }
  .sb-handover-pack { grid-row: 4; margin-top: 32px; grid-template-rows: repeat(3, 1fr) auto; }
  .sb-handover-pack .sb-handover-doc { align-items: flex-start; }
  .sb-handover-doc > div { padding-top: 3px; }
}
.sb-handover { min-width: 0; padding: 12px 0; }
.sb-handover h3 { max-width: 16ch; margin: 0 0 28px; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; }
/* Handover: a vertical line of steps ending in a filled orange "ready" node. */
.sb-handover-pack { --node: 48px; position: relative; display: grid; gap: 0; }
.sb-handover-doc, .sb-handover-folder { position: relative; min-width: 0; display: flex; align-items: center; gap: 18px; padding-bottom: 26px; color: var(--ink); }
.sb-handover-doc::after { content: ""; position: absolute; left: calc(var(--node) / 2 - .5px); top: calc(var(--node) + 4px); bottom: 4px; width: 1px; background: color-mix(in srgb, var(--orange) 45%, transparent); }
.sb-handover-doc > div { min-width: 0; overflow-wrap: anywhere; }
.sb-handover-doc > svg, .sb-handover-folder > svg { box-sizing: border-box; flex: none; width: var(--node); height: var(--node); padding: 12px; border-radius: 50%; }
.sb-handover-doc > svg { border: 1px solid color-mix(in srgb, var(--orange) 55%, transparent); background: var(--solid); color: var(--orange); }
.sb-handover-doc strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.35; }
.sb-handover-doc span { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.sb-handover-folder { padding-bottom: 0; font-size: 16px; font-weight: 600; }
.sb-handover-folder > svg { order: -1; padding: 13px; background: var(--orange); color: var(--ls-on-action); box-shadow: 0 8px 22px color-mix(in srgb, var(--orange) 35%, transparent); }
.sb-check { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; }
.sb-check i { width: 26px; height: 26px; flex: none; border-radius: 8px; border: 1.5px solid #4a4943; display: grid; place-items: center; font-style: normal; font-size: 15px; color: transparent; transition: background .2s, border-color .2s, color .2s; }
.sb-check.sb-ok i { background: var(--orange); border-color: var(--orange); color: var(--ls-on-action); }

.sb-faq { margin-top: 40px; border-top: 1px solid var(--line); }
.sb-blk .sb-faq-title { max-width: none; font-size: clamp(32px, 3.6vw, 48px); }
.sb-q { border-bottom: 1px solid var(--line); }
.sb-q-row { width: 100%; border: 0; background: none; color: inherit; text-align: left; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; font-family: Sora; font-size: 20px; cursor: pointer; }
.sb-q-row > span:last-child { color: var(--orange); rotate: 0deg; transition: rotate .2s; }
.sb-q.sb-open .sb-q-row > span:last-child { rotate: 45deg; }
.sb-q-a { display: none; padding: 0 0 24px; max-width: 70ch; color: var(--soft-ink); }
.sb-q.sb-open .sb-q-a { display: block; }

.sb-final { text-align: center; padding: 120px 0 160px; border-top: 1px solid var(--line); }
.sb-final h2 { font-size: clamp(36px, 5vw, 64px); margin: 0 auto; max-width: none; }
.sb-final .sb-cta { margin-top: 36px; }

@media (max-width: 820px) {
  .sb-wrap { padding-left: 20px; padding-right: 20px; }
  .sb-hero { grid-template-columns: 1fr; padding-top: 30px; }
  .sb-pains-blk, .sb-plans, .sb-steps, .sb-feats-blk, .sb-rental, .sb-jr { grid-template-columns: minmax(0, 1fr); }
  .sb-feats-blk { gap: 30px; }
  .sb-pains-blk { gap: 50px; }
  .sb-pains-side { justify-self: center; width: min(320px, 100%); }
  .sb-ph { width: 100%; }
  .sb-tests-layout { grid-template-columns: 1fr; gap: 40px; }
  .sb-handover { width: 100%; max-width: 430px; justify-self: center; }
  .sb-handover-pack { --node: 42px; }
  .sb-handover-doc, .sb-handover-folder { gap: 14px; }
  .sb-handover-doc > svg { padding: 10px; }
  .sb-plan { min-height: 0; }
  .sb-steps { gap: 28px; }
  .sb-step { padding-left: 58px; min-height: 40px; }
  .sb-step .sb-n { position: absolute; left: 0; top: 0; }
  .sb-step h3 { margin-top: 8px; }
  .sb-step::before { top: 50px; bottom: -18px; left: 20px; right: auto; width: 1.5px; height: auto; background: var(--orange); }
  .sb-step:last-child::before, .sb-step:last-child::after { display: none; }
  .sb-jr-visual { position: relative; top: 0; }
  .sb-jr-steps { gap: 40px; padding: 30px 0; }
  .sb-jr-body { grid-template-columns: 1fr; }
  .sb-jr-img { height: 140px; }
  .sb-jr { --jr-screen-height: 520px; }
  .sb-ghost-link { display: block; margin: 20px 0 0; }
}

/* ---------- build states ---------- */
.sb-page [data-m="hidden"] { visibility: hidden; }
.sb-page [data-m="wire"] { outline: 1.5px dashed rgba(241, 240, 235, 0.22); outline-offset: -1px; background: rgba(241, 240, 235, 0.02) !important; border-color: transparent !important; box-shadow: none !important; }
.sb-page [data-m="wire"] > * { visibility: hidden; }
/* A typed "mistake" and the final text overlap in one cell: swapping them must
   not change the element's height. */
[data-type]:has(> .sb-from) { display: grid; }
[data-type] > :is(.sb-from, .sb-to) { grid-area: 1 / 1; }
.sb-ch { visibility: hidden; }
.sb-ch.sb-on { visibility: inherit; }
.sb-from .sb-ch.sb-on { color: var(--muted); }
.sb-from.sb-oops .sb-ch.sb-on { color: inherit; }
.sb-lifted { position: relative; z-index: 40; box-shadow: 0 30px 60px rgba(0,0,0,.55); }
:root[data-theme="light"] .sb-lifted { box-shadow: 0 24px 50px rgba(27,27,23,.16); }
:root[data-theme="light"] .sb-lifted.sb-solid { outline-color: rgba(27,27,23,.12); }
/* The dragged block keeps the page's own background (lifted by a faint ink tint),
   so it never flashes to pure white or black against the themed page. */
.sb-lifted.sb-solid { background: color-mix(in srgb, var(--page-bg, #101010) 96%, var(--ink)); border-radius: 12px; outline: 1px solid rgba(241, 240, 235, 0.16); }

/* ---------- agents ---------- */
#sb-agents { position: absolute; left: 0; top: 0; width: 100%; height: 0; pointer-events: none; z-index: 50; }
.sb-agent { position: absolute; left: 0; top: 0; will-change: transform; transition: opacity .3s; }
.sb-agent svg { display: block; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }
.sb-agent .sb-tip { position: absolute; left: 16px; top: 20px; padding: 4px 9px; border-radius: 6px; background: #f1f0eb; color: #101010; font: 500 12px/1.3 Inter, sans-serif; white-space: nowrap; opacity: 0; transform: translateY(-4px); transition: opacity .15s, transform .15s; }
.sb-agent .sb-tip.sb-show { opacity: 1; transform: none; }
.sb-sel { position: absolute; border: 1.5px solid; border-radius: 4px; pointer-events: none; z-index: 55; opacity: 0; transition: opacity .12s; }
.sb-sel.sb-show { opacity: 1; }
.sb-sel i { position: absolute; width: 8px; height: 8px; background: #101010; border: 1.5px solid; border-color: inherit; }
.sb-sel i:nth-child(1) { left: -5px; top: -5px; } .sb-sel i:nth-child(2) { right: -5px; top: -5px; }
.sb-sel i:nth-child(3) { left: -5px; bottom: -5px; } .sb-sel i:nth-child(4) { right: -5px; bottom: -5px; }
.sb-caret { position: absolute; width: 2px; z-index: 56; opacity: 0; }
.sb-caret.sb-show { opacity: 1; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.sb-frozen .sb-page * { transition: none !important; animation: none !important; }

/* Real links and buttons: the colour change on hover only once built. */
.sb-cta { transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
.sb-page .sb-cta { color: #fff; } /* beats the shared .ed-page a { color: inherit } */
.sb-cta:is(:hover, :focus-visible) { transform: translateY(-2px); background-color: #e94d00; box-shadow: 0 10px 26px rgba(255,80,0, .35); }
.sb-cta:active { transform: translateY(1px) scale(.98); }
.sb-cta-arrow { flex: none; transition: transform .18s ease; }
.sb-cta:is(:hover, :focus-visible) .sb-cta-arrow { transform: translateX(3px); }
.sb-price:hover { border-color: var(--orange); }
.sb-ghost-link:hover { color: var(--ink); }
.sb-q-row:focus-visible, .sb-cta:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .sb-cta,.sb-q-row > span:last-child { transition: none; } .sb-cta:hover { transform: none; } }

/* Until the script takes over, the parts it builds stay hidden (with
   JavaScript on and motion allowed); a late CSS fallback shows them anyway. */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .sb-page:not(.sb-ready) :is([data-b]:not([data-start="shown"]), [data-type]:not([data-type-instant])) { opacity: 0; animation: sb-fallback .4s 6s forwards; }
}
@keyframes sb-fallback { to { opacity: 1; } }
@media(max-width:820px){
  .sb-pains-blk{gap:56px}
  .sb-pains-side{scroll-margin-top:calc(var(--site-header-h,120px) + 24px)}
  .sb-plans{gap:56px}
  .sb-plan{scroll-margin-top:calc(var(--site-header-h,120px) + 24px)}
  .sb-jr{--jr-screen-height:clamp(140px,22svh,200px);gap:20px;position:relative}
  .sb-jr-visual{position:sticky;top:calc(var(--site-header-h,120px) + 8px);z-index:3;background:var(--page-bg,#101010);padding-bottom:12px}
  .sb-jr-visual > .sb-kicker{font-size:10px;margin-bottom:6px}
  .sb-jr-visual h2{font-size:clamp(24px,6vw,32px);max-width:19ch}
  .sb-jr-display{margin-top:12px;border-radius:10px}
  .sb-jr-addr{height:24px;font-size:9px}
  .sb-jr-addr i{width:6px;height:6px}
  .sb-jr-body{grid-template-columns:1fr 1fr;gap:10px;padding:10px 12px}
  .sb-jr-nav{padding:7px 12px;font-size:8px}
  .sb-jr-nav span{margin-left:8px}
  .sb-jr-body h3{font-size:17px;margin-top:4px}
  .sb-jr-body p{font-size:8px;margin-top:4px}
  .sb-jr-kick{font-size:7px}
  .sb-jr-img{height:95px}
  .sb-jr-btn{margin-top:6px;padding:4px 8px;font-size:8px}
  .sb-jr-chips{gap:4px;padding:0 12px}
  .sb-jr-chips span{font-size:7px;padding:3px 5px}
  .sb-jr-form{gap:4px;margin-top:4px}
  .sb-jr-form input,.sb-jr-form textarea{padding:4px 6px;font-size:9px;max-height:28px}
  .sb-jr-form button{padding:4px 8px;font-size:9px}
  .sb-jr-steps{position:relative;z-index:1;gap:32svh;padding:24px 0 20svh}
  .sb-jr-step{min-height:160px;scroll-margin-top:calc(var(--site-header-h,120px) + 320px)}
}

/* ---------- phones and small tablets: a denser two-column layout ----------
   Decisions (2026-11-08): hero text beside the store preview, problems beside
   the phone, features as three icon tiles, plans two-up, journey steps beside
   a pinned preview, steps as a zig-zag timeline, checks beside the handover.
   Below 360px the side-by-side parts stack again. */
.sb-feat .sb-mark svg { display: none; }
@media (max-width: 820px) {
  .sb-page { font-size: 15px; }
  section.sb-blk { padding: 56px 0; }
  .sb-kicker { font-size: 11px; margin-bottom: 10px; }
  .sb-blk h2, .sb-pains-main h2, .sb-feats-head h2 { font-size: clamp(24px, 7vw, 30px); line-height: 1.1; max-width: none; }
  .sb-lead { margin-top: 14px; font-size: 15px; }

  /* Hero: controls on top, title + text beside the preview, actions below. */
  .sb-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 14px; row-gap: 0; align-items: start; padding: 16px 0 48px; }
  .sb-hero > div:first-child { display: contents; }
  .sb-experience { grid-column: 1 / -1; grid-row: 1; justify-content: flex-end; margin-bottom: 14px; gap: 10px; }
  .sb-skip { padding: 4px 0; font-size: 11px; }
  .sb-hero h1 { grid-column: 1; grid-row: 2; font-size: clamp(26px, 7.6vw, 34px); line-height: 1.04; }
  .sb-page .sb-hero-text { grid-column: 1; grid-row: 3; margin-top: 12px; font-size: clamp(24px, 6vw, 30px); line-height: 1.2; letter-spacing: -0.01em; }
  .sb-hero .sb-shot { grid-column: 2; grid-row: 2 / span 2; align-self: center; border-radius: 10px; }
  .sb-hero .sb-shot-bar { height: 18px; gap: 4px; padding: 0 8px; }
  .sb-hero .sb-shot-bar i { width: 5px; height: 5px; }
  .sb-hero .sb-s-url { font-size: 6px; padding: 1px 6px; }
  .sb-hero .sb-shot-body { inset: 18px 0 0; }
  .sb-hero-row { grid-column: 1 / -1; grid-row: 4; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
  .sb-hero-row .sb-price { flex: none; font-size: 13px; padding: 7px 12px; }
  .sb-hero-row .sb-cta { flex: 1 1 100%; width: 100%; padding: 14px 22px; font-size: 15px; }

  /* Problems: title full width, list beside the phone. The copy block stays a
     real box (it is a build scene), its children placed through a subgrid. */
  .sb-pains-blk { grid-template-columns: minmax(0, 1fr) minmax(0, min(43%, 240px)); grid-template-rows: auto auto auto; column-gap: 14px; row-gap: 0; align-items: start; }
  .sb-pains-main { grid-column: 1 / -1; grid-row: 1 / -1; display: grid; grid-template-columns: subgrid; grid-template-rows: subgrid; }
  .sb-pains-main > .sb-kicker { grid-row: 1; grid-column: 1 / -1; }
  .sb-pains-main > h2 { grid-row: 2; grid-column: 1 / -1; margin-bottom: 20px; }
  .sb-pains-list { grid-row: 3; grid-column: 1; margin-top: 0; }
  .sb-pains-side { grid-row: 3; grid-column: 2; width: 100%; justify-self: stretch; position: relative; }
  .sb-pains-list .sb-pain { grid-template-columns: 16px 1fr; gap: 6px; padding: 12px 0; font-size: clamp(14px, 2.2vw, 17px); line-height: 1.4; }
  .sb-pains-list .sb-pain .sb-mark { width: 10px; }
  .sb-pains-list .sb-answer { padding-top: 12px; font-size: 13px; line-height: 1.5; }
  .sb-ph-screen { border-width: 6px; border-radius: 24px; }
  .sb-ph-old { padding: 14px 10px; }
  .sb-o-name { font-size: 16px; }
  .sb-o-warn { margin-top: 8px; padding: 4px; font-size: 10px; }
  .sb-o-img { margin-top: 8px; height: 80px; font-size: 9px; }
  .sb-o-txt { margin-top: 8px; font-size: 10px; }
  .sb-n-head { padding: 10px; font-size: 11px; }
  .sb-n-img { margin: 0 8px; border-radius: 9px; }
  .sb-ph-new .sb-n-hours { margin: 8px 10px 0; font-size: 9px; gap: 4px; }
  .sb-n-hours svg { width: 10px; height: 10px; }
  .sb-n-menu { margin: 4px 10px 0; padding: 5px 0; font-size: 10px; }
  .sb-n-btn { left: 10px; right: 10px; bottom: 12px; padding: 7px; font-size: 10px; }
  .sb-ph-note { font-size: 10px; }

  /* Features: devices full width, then three icon tiles (titles only). */
  .sb-feats-blk { gap: 24px; }
  .sb-feats-head .sb-feats-img { margin: 28px auto 0; }
  .sb-feats-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .sb-feat, .sb-feat:last-child { display: flex; flex-direction: column; gap: 10px; padding: 14px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
  .sb-feat .sb-mark { display: block; width: auto; height: auto; margin: 0; border-radius: 0; background: none; }
  .sb-feat .sb-mark svg { display: block; width: 22px; height: 22px; fill: none; stroke: var(--orange); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .sb-feat h3 { font-size: 14px; line-height: 1.25; letter-spacing: -0.01em; }
  .sb-feat p { display: none; }

  /* Reserve vertical space for a readable phone, not a thumbnail. */
  .sb-casa-stage { margin-top: 16px; height: clamp(280px, 52svh, 460px); }
  .sb-casa-status { margin-top: 12px; }

  /* Prices: three compact tiles (photo, name, short text) whose checklist
     opens on tap; the rental below. Narrow phones: a 2x2 grid with the
     rental as the fourth tile (see the 559px rule). */
  .sb-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 22px; }
  .sb-plan, .sb-rental { position: relative; display: flex; flex-direction: column; min-height: 0; padding: 10px; border-radius: 12px; }
  .sb-thumb { flex: none; height: 76px; margin-bottom: 10px; border-radius: 8px; }
  .sb-plan h3 { font-size: 14px; line-height: 1.2; }
  .sb-plan .sb-p-text { margin-top: 6px; font-size: 12px; line-height: 1.4; }
  .sb-plan ul, .sb-rental ul { display: none; margin-top: 8px; font-size: 11.5px; line-height: 1.35; }
  .sb-plan li, .sb-rental li { padding: 5px 0; }
  .sb-open > ul, .sb-rental.sb-open ul { display: block; }
  .sb-plan-more { display: flex; align-items: center; justify-content: space-between; gap: 6px; width: 100%; min-height: 36px; margin-top: auto; padding: 8px 0 0; border: 0; border-top: 1px solid var(--line); background: none; color: var(--soft-ink); font: 500 11.5px Inter, sans-serif; text-align: left; cursor: pointer; }
  .sb-plan .sb-plan-more { margin-top: auto; }
  .sb-plan .sb-p-text + .sb-plan-more { margin-top: 10px; }
  .sb-plan-more > span:last-child { flex: none; color: var(--orange); font-size: 16px; line-height: 1; transition: transform .2s; }
  .sb-open .sb-plan-more > span:last-child { transform: rotate(45deg); }
  .sb-plan-more:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
  /* The checklist opens below the button. */
  .sb-plan ul { order: 1; }
  .sb-plan .sb-plan-more, .sb-plan .sb-p-text + .sb-plan-more { order: 2; margin-top: auto; }
  .sb-plan.sb-open .sb-plan-more { margin-top: 10px; }
  .sb-plan .sb-p-text { margin-bottom: 10px; }
  .sb-rental { display: grid; grid-template-columns: minmax(0, 1fr) auto; row-gap: 0; column-gap: 14px; align-items: center; margin-top: 8px; padding: 14px; }
  .sb-rental > div { display: contents; }
  .sb-rental .sb-kicker { grid-column: 1; margin-bottom: 4px; font-size: 10px; }
  .sb-rental h3 { grid-column: 1; margin-top: 0; font-size: 18px; }
  .sb-rental .sb-lead { display: none; grid-column: 1 / -1; margin-top: 10px; font-size: 13px; }
  .sb-rental.sb-open .sb-lead { display: block; }
  .sb-rental .sb-p-price { grid-column: 1; margin-top: 2px; font-size: 18px; }
  .sb-rental ul { grid-column: 1 / -1; }
  .sb-rental .sb-plan-more { grid-column: 1 / -1; margin-top: 10px; }
  .sb-rental .sb-cta { grid-column: 2; grid-row: 1 / span 3; width: auto; margin-top: 0; padding: 12px 16px; font-size: 13px; gap: 10px; }

  /* Journey: heading full width, steps on the left, the preview pinned on the
     right. The heading column dissolves so the preview itself can stick. */
  .sb-jr { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 14px; row-gap: 0; --jr-screen-height: 210px; }
  .sb-jr-visual { display: contents; }
  .sb-jr-visual > .sb-kicker { grid-column: 1 / -1; grid-row: 1; font-size: 11px; margin-bottom: 10px; }
  .sb-jr-visual h2 { grid-column: 1 / -1; grid-row: 2; font-size: clamp(24px, 7vw, 30px); max-width: none; }
  .sb-jr-display { grid-column: 2; grid-row: 3; align-self: start; position: sticky; top: calc(var(--site-header-h, 72px) + 12px); z-index: 3; margin-top: 20px; border-radius: 8px; }
  .sb-jr-steps { grid-column: 1; grid-row: 3; gap: 12svh; padding: 20px 0 8svh; }
  .sb-jr-step { min-height: 0; padding-left: 10px; scroll-margin-top: calc(var(--site-header-h, 72px) + 24px); }
  .sb-jr-step .sb-k { font-size: 10px; }
  .sb-jr-step h3 { font-size: 15px; margin-top: 6px; }
  .sb-jr-step p { font-size: 12px; margin-top: 6px; line-height: 1.45; }
  .sb-jr-addr { height: 18px; font-size: 7px; gap: 4px; padding: 0 8px; }
  .sb-jr-addr i { width: 5px; height: 5px; }
  .sb-jr-addr span { margin-left: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sb-jr-nav { padding: 6px 8px; font-size: 7px; }
  .sb-jr-nav span { margin-left: 5px; }
  .sb-jr-body { grid-template-columns: 1fr; gap: 6px; padding: 8px; }
  .sb-jr-body h3 { font-size: 13px; }
  .sb-jr-body p { font-size: 7px; margin-top: 3px; }
  .sb-jr-kick { font-size: 6px; }
  .sb-jr-img { height: 60px; border-radius: 6px; }
  .sb-jr-btn { margin-top: 4px; padding: 3px 7px; font-size: 7px; }
  .sb-jr-chips { display: none; }
  .sb-jr-price { font-size: 13px !important; margin-top: 4px !important; }
  .sb-jr-form { gap: 3px; }
  .sb-jr-form input, .sb-jr-form textarea { padding: 3px 5px; font-size: 8px; max-height: 22px; border-radius: 5px; }
  .sb-jr-form button { padding: 3px 8px; font-size: 8px; }

  /* Steps: a zig-zag timeline down a central line. */
  .sb-steps { position: relative; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 44px; row-gap: 0; margin-top: 28px; }
  .sb-steps::before { content: ""; position: absolute; left: 50%; top: 18px; bottom: 18px; width: 1.5px; margin-left: -.75px; background: linear-gradient(var(--orange), color-mix(in srgb, var(--orange) 40%, transparent)); }
  .sb-step, .sb-step:nth-child(n) { grid-column: 1; padding: 0 0 18px; min-height: 0; text-align: right; }
  .sb-step:nth-child(even) { grid-column: 2; text-align: left; }
  .sb-step:nth-child(2) { grid-row: 2; } .sb-step:nth-child(3) { grid-row: 3; }
  .sb-step:nth-child(4) { grid-row: 4; } .sb-step:nth-child(5) { grid-row: 5; }
  .sb-step::before, .sb-step:last-child::before, .sb-step:last-child::after { display: none; }
  .sb-step .sb-n { position: absolute; top: 0; left: auto; right: -40px; width: 36px; height: 36px; font-size: 12px; background: var(--page-bg, #101010); z-index: 1; }
  .sb-step:nth-child(even) .sb-n { right: auto; left: -40px; }
  .sb-step:first-child .sb-n { background: var(--orange); }
  .sb-step h3 { margin-top: 6px; font-size: 16px; }
  .sb-step p { font-size: 12px; margin-top: 4px; line-height: 1.45; }

  /* Tests: heading and intro full width, checks beside the handover. */
  .sb-tests-layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); column-gap: 14px; row-gap: 0; align-items: start; }
  .sb-tests-layout > div:first-child { display: contents; }
  .sb-tests-layout > div:first-child > :not(.sb-checks) { grid-column: 1 / -1; }
  .sb-tests-layout .sb-checks { grid-column: 1; grid-row: 4; margin-top: 22px; gap: 8px; }
  .sb-tests-layout .sb-handover { grid-column: 2; grid-row: 4; max-width: none; margin-top: 22px; padding: 0; }
  .sb-check { gap: 8px; padding: 9px 10px; border-radius: 10px; font-size: 12px; line-height: 1.35; }
  .sb-check i { width: 20px; height: 20px; border-radius: 6px; font-size: 12px; }
  .sb-handover h3 { margin-bottom: 14px; font-size: 16px; }
  .sb-handover-pack { --node: 32px; }
  .sb-handover-doc, .sb-handover-folder { gap: 8px; padding-bottom: 14px; }
  .sb-handover-doc > svg { padding: 7px; }
  .sb-handover-folder > svg { padding: 8px; }
  .sb-handover-doc strong, .sb-handover-folder { font-size: 12px; }
  .sb-handover-doc span { font-size: 11px; }

  /* FAQ and close: one column, less empty space. */
  .sb-faq { margin-top: 20px; }
  .sb-q-row { padding: 16px 0; font-size: 16px; }
  .sb-q-a { font-size: 14px; padding-bottom: 16px; }
  .sb-final { padding: 64px 0 96px; }
  .sb-final h2 { font-size: clamp(28px, 8vw, 36px); }
}
/* The smallest phones: the side-by-side parts stack again. */
@media (max-width: 359px) {
  .sb-hero { grid-template-columns: minmax(0, 1fr); }
  .sb-hero .sb-shot { grid-column: 1; grid-row: 5; margin-top: 20px; }
  .sb-hero-row { flex-wrap: wrap; }
  .sb-pains-blk { grid-template-columns: minmax(0, 1fr); }
  .sb-pains-side { grid-column: 1; grid-row: 4; width: min(200px, 100%); justify-self: center; margin-top: 24px; }
  .sb-jr { grid-template-columns: minmax(0, 1fr); }
  .sb-jr-display { grid-column: 1; grid-row: 3; }
  .sb-jr-steps { grid-row: 4; }
  .sb-tests-layout { grid-template-columns: minmax(0, 1fr); }
  .sb-tests-layout .sb-handover { grid-column: 1; grid-row: 5; }
}
@media (min-width: 461px) and (max-width: 820px) {
  .sb-hero-row { flex-wrap: nowrap; }
  .sb-hero-row .sb-cta { flex: 0 1 300px; width: 300px; }
}

.sb-plan-more { display: none; }
@media (max-width: 820px) { .sb-plan-more { display: flex; } }
.sb-plan-more-label { pointer-events: none; }
/* Narrow phones: the three plans and the rental as a 2x2 grid. */
@media (max-width: 559px) {
  #sb-sec-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  #sb-sec-prices > h2 { grid-column: 1 / -1; }
  #sb-sec-prices .sb-plans { display: contents; }
  #sb-sec-prices .sb-plan:is(:nth-child(1), :nth-child(2)) { margin-top: 14px; }
  .sb-rental { display: flex; flex-direction: column; align-items: stretch; gap: 0; margin-top: 0; padding: 10px; }
  .sb-rental > div { display: contents; }
  .sb-rental .sb-kicker { order: 0; font-size: 9px; letter-spacing: .08em; }
  .sb-rental h3 { order: 1; font-size: 14px; line-height: 1.2; }
  .sb-rental .sb-p-price { order: 2; font-size: 15px; margin-top: 6px; }
  .sb-rental .sb-from-lbl { font-size: 10px; }
  .sb-rental .sb-lead { order: 3; font-size: 12px; line-height: 1.4; margin-top: 6px; }
  .sb-rental ul { order: 4; }
  .sb-rental .sb-cta { order: 5; width: 100%; margin-top: 10px; padding: 10px 8px; font-size: 12px; line-height: 1.25; justify-content: center; text-align: center; white-space: normal; border-radius: 18px; }
  .sb-rental .sb-cta .sb-cta-arrow { display: none; }
  .sb-rental .sb-plan-more { order: 6; margin-top: auto; }
  .sb-rental .sb-cta { margin-bottom: 10px; }
}

/* The recommended plan: a thicker orange outline and a "Mais popular" badge. */
.sb-plan.sb-featured { position: relative; border: 2px solid var(--orange); }
.sb-badge { position: absolute; top: 0; left: 50%; z-index: 2; transform: translate(-50%, -50%); padding: 5px 12px; border-radius: 99px; background: var(--orange); color: var(--ls-on-action); font: 600 12px/1.2 Inter, sans-serif; letter-spacing: .02em; white-space: nowrap; }
@media (max-width: 820px) {
  .sb-badge { padding: 3px 8px; font-size: 10px; }
  .sb-plans, #sb-sec-prices { padding-top: 0; }
  .sb-plan.sb-featured { padding: 9px; }
}

/* Plan faces preserve the original desktop flow and readable no-script copy. */
.sb-plan-turn, .sb-plan-front, .sb-plan-back { display: contents; }
.sb-plan-back-title, .sb-plan-return { display: none; }
.sb-page:not(.sb-plans-ready) .sb-plan-more { display: none; }
.sb-page:not(.sb-plans-ready) :is(.sb-plan ul, .sb-rental ul, .sb-rental .sb-lead) { display: block; }

@media (min-width: 821px) {
  .sb-rental { row-gap: 0; }
  .sb-rental .sb-plan-front > div:first-child { grid-column: 1; grid-row: 1 / 4; }
  .sb-rental .sb-plan-front > div:last-child { display: contents; }
  .sb-rental .sb-p-price { grid-column: 2; grid-row: 1; }
  .sb-rental .sb-plan-back ul { grid-column: 2; grid-row: 2; }
  .sb-rental .sb-cta { grid-column: 2; grid-row: 3; }
}

@media (max-width: 820px) {
  .sb-plans-ready :is(.sb-plan, .sb-rental) { display: grid; perspective: 900px; }
  .sb-plans-ready .sb-rental { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .sb-plans-ready .sb-plan-turn {
    display: grid;
    min-width: 0;
    transform-style: preserve-3d;
    transition: transform 380ms cubic-bezier(.45, 0, .55, 1);
  }
  .sb-plans-ready :is(.sb-plan, .sb-rental).sb-open .sb-plan-turn { transform: rotateY(180deg); }
  .sb-plans-ready :is(.sb-plan-front, .sb-plan-back) {
    display: flex;
    flex-direction: column;
    grid-area: 1 / 1;
    min-width: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: visibility 0s 190ms;
  }
  .sb-plans-ready .sb-plan-front { cursor: pointer; visibility: visible; }
  .sb-plans-ready .sb-plan-back { transform: rotateY(180deg); visibility: hidden; }
  .sb-plans-ready .sb-open .sb-plan-front { visibility: hidden; }
  .sb-plans-ready .sb-open .sb-plan-back { visibility: visible; }
  .sb-plans-ready .sb-rental .sb-plan-front { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 14px; align-items: center; cursor: default; }
  .sb-plans-ready .sb-rental .sb-plan-front > div { display: contents; }
  .sb-plans-ready .sb-rental .sb-lead { display: none; }
  .sb-plans-ready .sb-plan-back-title { display: block; order: 0; margin: 0; }
  .sb-plans-ready .sb-plan-back ul { display: block; order: 1; margin: 12px 0 16px; }
  .sb-plans-ready .sb-plan-return {
    display: flex;
    order: 2;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 40px;
    margin-top: auto;
    padding: 8px 0 0;
    border: 0;
    border-top: 1px solid var(--line);
    background: none;
    color: var(--soft-ink);
    font: 500 11.5px Inter, sans-serif;
    text-align: left;
    cursor: pointer;
  }
  .sb-plan-return svg { color: var(--orange); flex: none; }
  .sb-plan-return:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
  .sb-plans-ready .sb-plan.sb-open .sb-plan-more { margin-top: auto; }
}
@media (max-width: 559px) {
  .sb-plans-ready .sb-rental .sb-plan-front { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .sb-plans-ready :is(.sb-plan-turn, .sb-plan-front, .sb-plan-back) { transition: none; }
}

/* 2026-11-09 · No boxes: features and plans separate by spacing. Only the
   featured plan keeps its orange outline; the others keep the same padding
   so every column lines up. */
.sb-plan { border-color: transparent; background: none; }
.sb-plan.sb-featured { border: 2px solid var(--orange); border-radius: 16px; }
.sb-rental { border: 1px solid transparent; border-radius: 0; background: none; padding-inline: 26px; }
@media (max-width: 820px) {
  .sb-feat, .sb-feat:last-child { padding: 4px 0; border: 0; border-radius: 0; background: none; }
  .sb-page .sb-rental { padding: 10px; }
  /* The floating play / replay button is desktop only. */
}

/* Handover: light runs down the connector from one step to the next, then
   the finished step glows. One relay every 2.4s. */
.sb-handover-doc::before {
  content: ""; position: absolute; z-index: 1;
  left: calc(var(--node) / 2 - 1px); top: calc(var(--node) + 4px); bottom: 4px; width: 2px;
  border-radius: 2px;
  background: linear-gradient(to bottom, transparent 0, var(--orange) 50%, transparent 100%) 0 100% / 100% 300% no-repeat;
  animation: sb-wire 2.4s linear infinite;
  pointer-events: none;
}
.sb-handover-doc:nth-child(2)::before { animation-delay: .8s; }
.sb-handover-doc:nth-child(3)::before { animation-delay: 1.6s; }
@keyframes sb-wire {
  0% { background-position: 0 100%; }
  33.33%, 100% { background-position: 0 0; }
}
.sb-handover-folder > svg { animation: sb-wire-done 2.4s ease-out infinite; }
@keyframes sb-wire-done {
  0%, 100% { box-shadow: 0 8px 22px color-mix(in srgb, var(--orange) 35%, transparent); }
  12% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--orange) 22%, transparent), 0 8px 26px color-mix(in srgb, var(--orange) 55%, transparent); }
}
@media (prefers-reduced-motion: reduce) {
  .sb-handover-doc::before, .sb-handover-folder > svg { animation: none; }
  .sb-handover-doc::before { display: none; }
}
