/* Home — hero "middle cut" stage + home-only bands */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); }
.hero-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; }
.hero-top .display { max-width: 13ch; }
.hero-top .lede { margin-bottom: 4px; }
.hero-top .cta-row { margin-top: 28px; }
@media (max-width: 900px) { .hero-top { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .hero { padding-top: 20px; }
  .hero-c .cta-row { margin-top: 20px; }
  .cut { margin-top: 28px; width: 100%; }
  .cut-ctrl .seg { display: none; }
  .cut-bar { grid-template-columns: 1fr 1fr !important; }
  .cut-bar .cut-side { padding: 0 2px; font-size: .875rem; white-space: normal; overflow: visible; text-overflow: clip; }
  .cut-bar .cut-side b { font-size: 1.125rem; }
  .cut-side .lbl { margin-right: 2px; }
}

/* ---------- the cut ---------- */
/* centered stack: copy on top, the comparison sized so all of it fits in the first screen */
.hero { padding-top: clamp(20px, 3.2vh, 48px); }
.hero-c { text-align: center; max-width: 920px; margin: 0 auto; }
.hero-c .kicker { margin-bottom: 10px; }
.hero-c .display { font-size: clamp(2.25rem, 1.1rem + 2.6vw, 3.4rem); max-width: none; margin: 0 auto; }
.hero-c .lede { margin: 12px auto 0; max-width: 62ch; text-wrap: balance; }
.hero-c .cta-row { justify-content: center; margin-top: 20px; }
.cut { width: min(100%, max(420px, calc((100svh - 490px) * 1.532))); margin: clamp(20px, 3vh, 36px) auto 0; }
.cut-bar { position: relative; display: grid; grid-template-columns: var(--pos, 62%) 1fr; align-items: center; margin-top: 10px; transition: grid-template-columns .2s; }
.cut-side { font-size: var(--fs-small); color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 8px; }
.cut-side .lbl { color: var(--charcoal); font-weight: 500; margin-right: 4px; }
.cut-side b { font-weight: 500; color: var(--charcoal); font-size: 1.375rem; letter-spacing: -.03em; }
.cut-side.b { text-align: center; }
.cut-ctrl { display: flex; justify-content: center; align-items: center; gap: 12px 16px; flex-wrap: wrap; margin-top: 10px; }
.replay { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 0; background: transparent; border-radius: 999px; cursor: pointer; font-size: .9375rem; color: var(--muted); }
.replay:hover { color: var(--charcoal); background: rgba(39, 43, 46, .06); }
.replay svg { width: 18px; height: 18px; }
.replay[hidden] { display: none; }
.cut-note strong { font-weight: 500; color: var(--charcoal); }
.cut-task { font-size: var(--fs-small); color: var(--muted); }
.cut-task strong { color: var(--charcoal); font-weight: 500; }
.cut-count { font-variant-numeric: tabular-nums; font-size: var(--fs-small); color: var(--muted); display: flex; align-items: baseline; gap: 8px; }
.cut-count b { font-weight: 500; color: var(--charcoal); font-size: 1.5rem; letter-spacing: -.03em; min-width: 2ch; text-align: right; }
.cut-count .vs { color: var(--muted); }
.cut-count { flex-wrap: wrap; row-gap: 2px; }
.cut-count .grp { white-space: nowrap; display: inline-flex; align-items: baseline; gap: 6px; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.seg button { border: 0; background: transparent; padding: 0 18px; min-height: 44px; border-radius: 999px; cursor: pointer; font-size: .9375rem; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--charcoal); color: var(--ivory); }
.cut-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.cut-view { position: relative; container-type: inline-size; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line-strong); background: var(--white); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.cut-view[hidden] { display: none; }
.cut-view.is-desktop { aspect-ratio: 2880 / 1880; }
.cut-view.is-phone { width: min(100%, 340px, calc((100svh - 490px) * 720 / 1539)); min-width: 250px; margin: 0 auto; aspect-ratio: 720 / 1539; border-radius: var(--r-phone); border: var(--phone-bezel) solid var(--charcoal); }
.cut-before, .cut-after { position: absolute; inset: 0; }
.cut-after { clip-path: inset(0 var(--r, 38%) 0 var(--l, 0%)); will-change: clip-path; background: var(--white); }
.cut-after img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.cut-edge { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--copper); pointer-events: none; box-shadow: 0 0 0 1px rgba(255,255,255,.9); z-index: 3; }
.cut-edge.l { left: var(--l, 0%); }
.cut-edge.r { left: calc(100% - var(--r, 38%)); }
html:not(.js) .cut-edge.l, html:not(.js) .cut-handle, html:not(.js) .seg, html:not(.js) .cut-mark { display: none; }
.cut-view.is-split .cut-edge.l { opacity: 0; }
.cut-handle {
  position: absolute; top: 50%; left: calc(100% - var(--r, 50%)); width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  background: var(--charcoal); color: var(--ivory); display: grid; place-items: center; cursor: ew-resize; opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease), transform .3s var(--ease); border: 2px solid var(--copper);
}
.cut-handle svg { width: 20px; height: 20px; }
.cut-view.is-split .cut-handle { opacity: 1; pointer-events: auto; }
.cut-handle:hover, .cut-view.is-drag .cut-handle { transform: scale(1.08); }
.cut-mark {
  position: absolute; top: 0; bottom: 0; left: var(--l, 50%); right: var(--r, 50%); z-index: 2; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: var(--ivory); pointer-events: none; transition: opacity .5s var(--ease);
}
.cut-mark b { font-weight: 500; font-size: clamp(44px, 9cqw, 128px); line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; color: var(--charcoal); }
.cut-mark span { font-size: clamp(11px, 1.3cqw, 15px); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cut-view.is-phone .cut-mark b { font-size: 18cqw; }
.cut-view.is-phone .cut-mark span { font-size: 3.4cqw; }
.cut-view.is-sweep .cut-mark, .cut-view.is-split .cut-mark { opacity: 0; }
.cut-view.is-phone:not([hidden]) ~ .cut-view.is-phone:not([hidden]) ~ .cut-view.is-phone:not([hidden]) ~ .cut-bar { max-width: 340px; margin-left: auto; margin-right: auto; grid-template-columns: 1fr 1fr; }
.cut-view.is-phone:not([hidden]) ~ .cut-bar .cut-side { text-align: center; }
.bcp-sheet { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid #d0d0d0; box-shadow: 0 -0.8em 2em rgba(0,0,0,.18); padding: 1em 1em 1.2em; font-size: .85em; display: grid; gap: .5em; }
.bcp-sheet b { font-weight: 600; color: #a4262c; }
.bcp-sheet i { font-style: normal; justify-self: end; background: #1b5a96; color: #fff; padding: .3em 1.4em; border-radius: .2em; }
.steps-list { margin-top: 12px; font-size: var(--fs-small); }
.steps-list summary { cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: .2em; }
.steps-list summary::-webkit-details-marker { color: var(--muted); }
.steps-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; padding: 8px 0 4px; max-width: 760px; }
.steps-cols ol { margin-top: 8px; padding-left: 1.4em; color: var(--muted); display: grid; gap: 4px; }
@media (max-width: 640px) { .steps-cols { grid-template-columns: 1fr; } }
.cut-note { margin-top: 14px; font-size: .8125rem; color: var(--muted); max-width: 90ch; }
.cut-hint { font-size: .8125rem; color: var(--muted); }

/* ---------- recreated standard BC page (desktop) — scales with the stage ---------- */
.bc { position: absolute; inset: 0; font-family: "Segoe UI", Inter, system-ui, sans-serif; color: #212121; background: #fff; font-size: 1.08cqw; line-height: 1.35; overflow: hidden; }
.bc-top { height: 3.1em; background: #1b5a96; color: #fff; display: flex; align-items: center; gap: 1.2em; padding: 0 1.4em; font-size: 1.05em; }
.bc-top .wf { width: 1.1em; height: 1.1em; background: radial-gradient(circle, #fff 22%, transparent 24%) 0 0 / .37em .37em; opacity: .9; }
.bc-top .sp { flex: 1; }
.bc-top .ic { width: 1.1em; height: 1.1em; border: .12em solid rgba(255,255,255,.8); border-radius: 50%; }
.bc-top .env { background: #c42b1c; font-size: .7em; padding: .2em .4em; border-radius: .2em; font-weight: 600; }
.bc-body { display: grid; grid-template-columns: 1fr 17em; gap: 1.2em; padding: 1em 1.6em; }
.bc-cap { font-size: .8em; color: #616161; }
.bc-title { font-size: 1.75em; font-weight: 600; margin: .1em 0 .5em; letter-spacing: -.01em; }
.bc-acts { display: flex; gap: 1.3em; border-bottom: 1px solid #e0e0e0; padding-bottom: .5em; font-size: .92em; white-space: nowrap; overflow: hidden; }
.bc-acts span:first-child { border-bottom: .16em solid #1b5a96; padding-bottom: .3em; font-weight: 600; }
.bc-acts2 { display: flex; gap: 1em; padding: .55em 0; font-size: .85em; color: #1b5a96; white-space: nowrap; overflow: hidden; border-bottom: 1px solid #e0e0e0; }
.bc-acts2 span::before { content: "▪ "; color: #8a8a8a; }
.bc-ft { margin-top: .8em; }
.bc-ft .fth { font-size: 1.05em; font-weight: 600; letter-spacing: 0; border-bottom: 1px solid #e0e0e0; padding-bottom: .3em; display: flex; justify-content: space-between; }
.bc-ft .fth small { font-weight: 400; color: #616161; font-size: .85em; }
.bc-ft.col h4 { color: #333; }
.bc-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: .3em 1.8em; padding: .6em 0; font-size: .86em; }
.bc-fields div { display: flex; justify-content: space-between; gap: .6em; border-bottom: 1px dotted #c8c8c8; padding: .22em 0; }
.bc-fields div span:first-child { color: #616161; white-space: nowrap; }
.bc-fields div span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bc-lt { display: flex; gap: 1.1em; font-size: .85em; color: #1b5a96; padding: .45em 0; }
.bc-grid { width: 100%; border-collapse: collapse; font-size: .8em; table-layout: fixed; }
.bc-grid th { text-align: left; font-weight: 600; color: #444; padding: .45em .4em; border-bottom: 1px solid #c8c8c8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bc-grid td { padding: .5em .4em; border-bottom: 1px solid #ececec; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bc-grid td.n { text-align: right; }
.bc-grid tr.sel td { background: #e8f1fa; }
.bc-grid td.in { box-shadow: inset 0 0 0 1px #1b5a96; background: #fff; }
.bc-err { margin: .6em 0 0; display: flex; gap: .6em; align-items: flex-start; background: #fde7e9; border-left: .3em solid #c42b1c; padding: .55em .8em; font-size: .82em; }
.bc-err b { color: #a4262c; }
.bc-fb { border-left: 1px solid #e0e0e0; padding-left: 1em; font-size: .82em; }
.bc-fb .fbh { font-size: 1em; font-weight: 600; margin: .9em 0 .35em; display: flex; justify-content: space-between; }
.bc-fb .fbh:first-child { margin-top: 0; }
.bc-fb p { display: flex; justify-content: space-between; color: #616161; padding: .12em 0; }
.bc-fb p span:last-child { color: #1b5a96; }

.bc-dlg { position: absolute; left: 65%; top: 30%; width: 31%; background: #fff; border: 1px solid #c8c8c8; box-shadow: 0 1.2em 3em rgba(0,0,0,.22); padding: 1.3em 1.4em 1.1em; font-size: .95em; }
.bc-dlg-h { font-weight: 600; font-size: 1.15em; margin-bottom: .6em; display: flex; gap: .5em; align-items: center; }
.bc-dlg-h::before { content: "!"; display: grid; place-items: center; width: 1.3em; height: 1.3em; border-radius: 50%; background: #c42b1c; color: #fff; font-size: .8em; }
.bc-dlg-sub { color: #616161; margin-top: .6em; font-size: .92em; }
.bc-dlg-act { margin-top: 1.1em; display: flex; justify-content: flex-end; }
.bc-dlg-act span { background: #1b5a96; color: #fff; padding: .35em 1.6em; border-radius: .2em; }

/* recreated standard BC phone page */
.bcp { position: absolute; inset: 0; font-family: "Segoe UI", Inter, system-ui, sans-serif; color: #212121; background: #f4f4f4; font-size: 4.1cqw; line-height: 1.35; overflow: hidden; }
.bcp-top { background: #1b5a96; color: #fff; padding: 2.6em 1em .9em; display: flex; align-items: center; gap: .8em; }
.bcp-top b { font-weight: 600; flex: 1; }
.bcp-sec { background: #fff; margin: .6em 0; padding: .7em 1em; }
.bcp-sec .fth { font-size: .95em; font-weight: 600; letter-spacing: 0; margin-bottom: .4em; display: flex; justify-content: space-between; }
.bcp-sec .fth small { color: #1b5a96; font-weight: 400; }
.bcp-f { display: flex; justify-content: space-between; font-size: .85em; padding: .3em 0; border-bottom: 1px solid #eee; }
.bcp-f span:first-child { color: #666; }
.bcp-tile { border: 1px solid #e3e3e3; border-radius: .3em; padding: .55em .7em; margin-top: .5em; font-size: .85em; }
.bcp-tile b { font-weight: 600; display: block; }
.bcp-tile span { color: #666; display: block; }
.bcp-acts { display: flex; gap: .5em; padding: .6em 1em; font-size: .8em; color: #1b5a96; background: #fff; border-top: 1px solid #ddd; position: absolute; bottom: 0; left: 0; right: 0; justify-content: space-between; }

/* ---------- pain band ---------- */
.pain-grid .stat-num { font-size: clamp(2.4rem, 1rem + 3.4vw, 4rem); }
.pain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 900px) { .pain-grid { grid-template-columns: 1fr; } }
@media (min-width: 641px) and (max-width: 900px) {
  .pain-grid .stat { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: 32px; align-items: start; }
  .pain-grid .stat-num { grid-row: span 2; }
  .pain-grid .stat-lbl { margin-top: 4px; max-width: none; }
}
.pain-quote { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; border-top: 1px solid var(--line-dark); padding-top: clamp(32px, 4vw, 48px); }
.pain-quote .lede { color: var(--muted-dark); }
@media (max-width: 900px) { .pain-quote { grid-template-columns: 1fr; } }

/* ---------- products family ---------- */
.fam { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
@media (max-width: 900px) { .fam { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .fam { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scroll-padding-inline: var(--gutter); }
  .fam-card { flex: 0 0 78%; scroll-snap-align: start; }
}
.fam-card { background: var(--ivory); border-radius: var(--r-card); padding: 24px 24px 0; display: flex; flex-direction: column; text-decoration: none; overflow: hidden; transition: transform .4s var(--ease); }
.fam-card:hover { transform: translateY(-4px); }
.fam-name { font-size: 1.0625rem; font-weight: 500; letter-spacing: -.01em; }
.fam-name span { color: var(--muted); }
.fam-card p { color: var(--muted); margin-top: 8px; font-size: var(--fs-small); }
.fam-card .mini { margin-top: 24px; border-radius: var(--r-phone) var(--r-phone) 0 0; background: var(--charcoal); padding: 8px 8px 0; }
.fam-card .mini img { border-radius: calc(var(--r-phone) - 8px) calc(var(--r-phone) - 8px) 0 0; aspect-ratio: 720 / 640; object-fit: cover; object-position: top; width: 100%; }
.fam-card .mini.desk img { aspect-ratio: 720 / 760; object-position: top left; }

/* ---------- inside BC ---------- */
.inside { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); }
@media (max-width: 900px) { .inside { grid-template-columns: 1fr; } }
.inside { list-style: none; counter-reset: ins; }
.inside > li { counter-increment: ins; border-top: 1px solid var(--line-strong); padding-top: 20px; }
.inside > li::before { content: counter(ins, decimal-leading-zero); color: var(--copper); font-size: .9375rem; font-variant-numeric: tabular-nums; }
.inside .h4 { margin: 14px 0 8px; }
.inside p { color: var(--muted); }

/* ---------- work deck ---------- */
.deck { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.deck > .shot { grid-column: span 6; }
.deck > .shot.wide { grid-column: span 12; }
.deck > .shot.third { grid-column: span 4; }
@media (max-width: 760px) { .deck > .shot, .deck > .shot.third { grid-column: span 12; } }

/* ---------- upgrade timeline ---------- */
.wave { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(32px, 4vw, 56px); position: relative; }
.wave::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line-strong); }
.wave li { position: relative; padding: 32px 24px 0 0; }
.wave li::before { content: ""; position: absolute; top: 2px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--ivory); border: 2px solid var(--charcoal); }
.wave li.us::before { background: var(--copper); border-color: var(--copper); }
.wave h3 { font-size: var(--fs-h4); margin-bottom: 6px; }
.wave p { color: var(--muted); font-size: var(--fs-small); }
@media (max-width: 860px) {
  .wave { grid-template-columns: 1fr; }
  .wave::before { left: 5px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .wave li { padding: 0 0 28px 32px; }
  .wave li::before { top: 6px; }
}

/* centered hero: the small print under the comparison follows the same axis */
.cut-note { margin-left: auto; margin-right: auto; text-align: center; max-width: 72ch; }
.steps-list { text-align: center; }
.steps-list .steps-cols { text-align: left; margin: 0 auto; }
.cut > .small { text-align: center; }
