/* Scale TubeHero product page. Everything is scoped with tbh-.
   The coral diamond is the app's own "this video waits for you" mark. It marks the three approvals here too. */
.tbh { --tbh-night: #1f1d3d; --tbh-deep: #15132c; --tbh-lamp: #f4ecd6; --tbh-soft: #cfcbe6; }
.tbh h1, .tbh h2, .tbh h3 { text-wrap: balance; }
.tbh .tbh-diamond { display: inline-block; flex: none; width: .62em; height: .62em; border-radius: 2px; background: var(--coral); transform: rotate(45deg); }

.tbh-page .pb-brand::before { width: 26px; height: 26px; border: 0; border-radius: 0; background: url("/images/scale-tubehero/mark.svg?v=20261130th1") center / contain no-repeat; box-shadow: none; }

/* ---------------------------------------------------------------- hero */
.tbh-hero { overflow-x: clip; padding: clamp(44px, 6vw, 92px) 0 clamp(40px, 4vw, 60px); background: var(--tbh-night); color: #fff; }
.tbh-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(28px, 4.5vw, 72px); align-items: center; }
.tbh-hero-copy > .tbh-lead-mark { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; font-size: clamp(19px, 1.6vw, 23px); font-weight: 680; letter-spacing: -.03em; }
.tbh-lead-mark img { width: 52px; height: 52px; }
.tbh-hero h1 { max-width: 11.5ch; margin: 0 0 22px; font-size: clamp(46px, 5.5vw, 84px); font-weight: 600; letter-spacing: -.06em; line-height: .95; }
.tbh-hero-copy > p { max-width: 35em; margin: 0; color: #e4e1f3; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; }
.tbh-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.tbh-cta .button { min-height: 52px; padding-inline: 26px; font-size: 16px; }
.tbh .tbh-get { border-color: var(--coral); background: var(--coral); color: var(--ink); }
.tbh .tbh-get:hover, .tbh .tbh-get:focus-visible { border-color: var(--ink); background: var(--ink); color: #fff; }
.tbh-hero .tbh-get:hover, .tbh-hero .tbh-get:focus-visible { border-color: #fff; background: #fff; color: var(--ink); }
.tbh-cta-note a { color: #fff; text-underline-offset: 4px; }
.tbh .tbh-ghost { border-color: rgba(255, 255, 255, .5); background: transparent; color: #fff; }
.tbh-hero-copy > .tbh-cta-note { margin-top: 16px; color: var(--tbh-soft); font-size: 16px; }

/* Video placeholder: a production slate. Fixed 16:9, so the real player fits the same space. */
.tbh-video { position: relative; min-width: 0; aspect-ratio: 16 / 9; }
.tbh-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 18px; }
.tbh-slate { position: absolute; inset: 0; display: flex; flex-direction: column; color: var(--tbh-night); container-type: inline-size; }
.tbh-slate-clap { height: 15%; margin-bottom: 1.2%; border-radius: 12px 12px 4px 4px; background: repeating-linear-gradient(115deg, var(--tbh-lamp) 0 7.4%, #c5b0f4 7.4% 14.8%, var(--tbh-lamp) 14.8% 22.2%, #dceeb1 22.2% 29.6%, var(--tbh-lamp) 29.6% 37%, #ff6f61 37% 44.4%); transform-origin: 1.5% 100%; animation: tbh-clap 1.1s .35s cubic-bezier(.5, 0, .2, 1) backwards; }
.tbh-slate-body { display: grid; flex: 1; grid-template-rows: auto 1fr auto; min-height: 0; padding: 4.4% 5%; border-radius: 4px 4px 18px 18px; background: var(--tbh-lamp); }
.tbh-slate dl { display: grid; grid-template-columns: 1.6fr 1.5fr .6fr; gap: 4%; margin: 0; }
.tbh-slate dl div { padding-bottom: 5%; border-bottom: 2px solid rgba(31, 29, 61, .22); }
.tbh-slate dt { color: #5d5671; font-size: clamp(12px, 2.1cqi, 15px); line-height: 1.25; }
.tbh-slate dd { margin: 2px 0 0; font-size: clamp(14px, 3.2cqi, 23px); font-weight: 640; letter-spacing: -.03em; line-height: 1.15; }
.tbh-slate strong { align-self: center; font-size: clamp(34px, 10.4cqi, 78px); font-weight: 640; letter-spacing: -.065em; line-height: .95; }
.tbh-slate small { color: #5d5671; font-size: clamp(13px, 2.4cqi, 17px); line-height: 1.35; }
@keyframes tbh-clap { 0% { transform: rotate(-11deg); } 55% { transform: rotate(-11deg); } 78% { transform: rotate(0); } 88% { transform: rotate(-1.6deg); } 100% { transform: rotate(0); } }

/* The road: five stages, three diamonds. */
.tbh-road { margin-top: clamp(44px, 5vw, 76px); }
.tbh-road ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.tbh-road li { position: relative; padding: 32px 20px 0 0; }
.tbh-road li::before { position: absolute; top: 8px; right: 0; left: 0; height: 2px; content: ""; background: rgba(255, 255, 255, .26); }
.tbh-road li:last-child::before { right: auto; width: 18px; }
.tbh-road li::after { position: absolute; top: 2px; left: 0; width: 14px; height: 14px; content: ""; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px var(--tbh-night); }
.tbh-road li.is-stop::after { border-radius: 3px; background: var(--coral); transform: rotate(45deg); }
.tbh-road b { display: block; font-size: 19px; font-weight: 640; letter-spacing: -.03em; line-height: 1.2; }
.tbh-road span { display: block; max-width: 24ch; margin-top: 5px; color: var(--tbh-soft); font-size: 15px; line-height: 1.4; }
.tbh-road > p { display: flex; align-items: baseline; gap: 10px; margin: 24px 0 0; color: #fff; font-size: 16px; }

/* ------------------------------------------------------------- sections */
.tbh-section { padding: clamp(60px, 7.5vw, 112px) 0; }
.tbh-section--tint { background: var(--soft); }
.tbh-section--tight-top { padding-top: 0; }
.tbh-title { max-width: 16ch; margin: 0 0 18px; font-size: clamp(36px, 4.7vw, 66px); font-weight: 590; letter-spacing: -.055em; line-height: .99; }
.tbh-title--wide { max-width: 22ch; }
.tbh-lede { max-width: 38em; margin: 0; color: #4c4a52; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; }

.tbh-parts { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 20px; margin-top: clamp(34px, 4vw, 56px); }
.tbh-part { padding: clamp(26px, 3vw, 44px); border-radius: 24px; background: var(--lime); }
.tbh-part--agent { background: var(--lilac); }
.tbh-part h3 { margin: 0 0 18px; font-size: clamp(25px, 2.3vw, 33px); font-weight: 620; letter-spacing: -.045em; }
.tbh-part ul { margin: 0; padding: 0; list-style: none; }
.tbh-part li { padding: 13px 0; border-top: 1px solid rgba(31, 29, 61, .2); font-size: 18px; line-height: 1.4; }
.tbh-part--agent ul { columns: 2; column-gap: 40px; }
.tbh-part--agent li { break-inside: avoid; }

/* ---------------------------------------------------------------- steps */
.tbh-step { padding: clamp(36px, 4.4vw, 64px) 0; }
.tbh-step-grid { display: grid; grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr); gap: clamp(28px, 5vw, 84px); align-items: center; }
.tbh-step--flip .tbh-step-grid { grid-template-columns: minmax(0, 1.26fr) minmax(0, .74fr); }
.tbh-step--flip .tbh-step-copy { order: 2; }
.tbh-step-no { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; color: #4c4a52; font-size: 17px; font-weight: 600; }
.tbh-step h3 { margin: 0 0 16px; font-size: clamp(31px, 3.5vw, 50px); font-weight: 600; letter-spacing: -.05em; line-height: 1.02; }
.tbh-step-copy > p:not(.tbh-step-no) { margin: 0 0 14px; color: #3b3940; font-size: 18px; line-height: 1.55; }
.tbh-step-copy > p:last-child { margin-bottom: 0; }
.tbh-plate { min-width: 0; margin: 0; padding: clamp(14px, 2.5vw, 38px); border-radius: 28px; background: var(--cream); }
.tbh-plate--lilac { background: var(--explore-lilac); }
.tbh-plate--lime { background: var(--lime); }
.tbh-plate--mint { background: var(--mint); }
.tbh-plate--night { background: var(--tbh-night); }
.tbh-app { margin-top: clamp(28px, 5vw, 72px); }
.tbh-plate img { display: block; width: 100%; height: auto; border-radius: 14px; }
.tbh-plate figcaption { margin-top: 13px; color: rgba(5, 5, 5, .68); font-size: 14px; line-height: 1.4; }
.tbh-plate--night figcaption { color: var(--tbh-soft); }

/* App panels rebuilt from the real screens. */
.tbh-ui { padding: clamp(16px, 2vw, 28px); border-radius: 16px; background: #fcfcfa; color: #161616; box-shadow: 0 14px 34px -18px rgba(31, 29, 61, .4); font-size: 15px; line-height: 1.42; }
.tbh-ui-tabs { display: inline-flex; gap: 2px; margin-bottom: 16px; padding: 4px; border: 1px solid #e7e7e2; border-radius: 999px; background: #fff; font-size: 14px; }
.tbh-ui-tabs span { padding: 4px 13px; border-radius: 999px; color: #64645f; }
.tbh-ui-tabs .on { display: inline-flex; align-items: center; gap: 8px; background: #000; color: #fff; font-weight: 600; }
.tbh-ui-title { margin: 0 0 3px; font-size: 23px; font-weight: 640; letter-spacing: -.035em; }
.tbh-ui-sub { margin: 0 0 14px; color: #64645f; }
.tbh-ui-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 18px; padding: 11px 0; border-top: 1px solid #e7e7e2; }
.tbh-ui-row small { grid-column: 1 / -1; color: #64645f; font-size: 14px; }
.tbh-ui-row b { font-weight: 620; }
.tbh-ui-row em { color: #64645f; font-style: normal; font-size: 14px; }
.tbh-ui-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 8px; padding-top: 15px; border-top: 1px solid #e7e7e2; color: #64645f; font-size: 14px; }
.tbh-ui-btn { flex: none; align-self: start; white-space: nowrap; padding: 8px 16px; border-radius: 999px; background: #000; color: #fff; font-size: 14px; font-weight: 620; }
.tbh-ui-btn--line { border: 1px solid #deded8; background: #fff; color: #161616; }
.tbh-beat { margin: 0 0 14px; padding-left: 16px; border-left: 3px solid #e7e7e2; }
.tbh-beat.is-good { border-color: #188848; }
.tbh-beat.is-flag { border-color: #c79a12; }
.tbh-beat p { margin: 0; font-size: 18px; letter-spacing: -.012em; }
.tbh-beat a, .tbh-beat u { color: #4c4a52; font-size: 14px; }
.tbh-beat i { display: block; color: #64645f; font-style: normal; font-size: 14px; }
.tbh-beat .good { color: #14713b; font-weight: 620; }
.tbh-beat .note { margin-top: 8px; padding: 9px 13px; border: 1.5px solid #161616; border-radius: 10px; background: #fff; font-size: 15px; }

.tbh-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 4px 0 14px; }
.tbh-cardlet { overflow: hidden; border: 1px solid #e7e7e2; border-radius: 12px; background: #fff; }
.tbh-cardlet p { margin: 0; padding: 10px 12px 12px; font-size: 14px; line-height: 1.35; }
.tbh-cardlet p b { display: block; font-size: 15px; }
.tbh-cardlet p span { color: #64645f; }
.tbh-pic { display: block; width: 100%; aspect-ratio: 16 / 9; }
.tbh-cost { display: grid; grid-template-columns: 1fr auto; gap: 5px 0; margin: 0; }
.tbh-cost dt { color: #64645f; } .tbh-cost dd { margin: 0; text-align: right; }
.tbh-cost .sum { padding-top: 7px; border-top: 1px solid #000; color: #000; font-weight: 640; }
.tbh-mix { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; border-top: 1px solid #e7e7e2; }
.tbh-mix b::before { display: inline-block; width: 10px; height: 10px; margin-right: 9px; border-radius: 2px; content: ""; background: var(--k); }
.tbh-mix span { display: inline-flex; overflow: hidden; border: 1px solid #deded8; border-radius: 999px; font-size: 14px; }
.tbh-mix i { padding: 5px 12px; font-style: normal; } .tbh-mix i.on { background: #000; color: #fff; }

/* ---------------------------------------------------------------- flags */
.tbh-flags { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 80px); margin: clamp(30px, 4vw, 52px) 0 0; }
.tbh-flags div { padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .24); }
.tbh-flags dt { font-size: 23px; font-weight: 620; letter-spacing: -.035em; }
.tbh-flags dd { margin: 7px 0 0; color: #dcd8ef; font-size: 18px; line-height: 1.5; }
.tbh-night { background: var(--tbh-night); color: #fff; }
.tbh-night .tbh-lede { color: #dcd8ef; }
.tbh-night .tbh-plain { max-width: 44em; margin: 26px 0 0; color: #fff; font-size: 18px; }

/* ------------------------------------------------------ kit, kinds, plan */
.tbh-kit { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 84px); align-items: start; }
.tbh-kit ul { margin: 0; padding: 0; list-style: none; }
.tbh-kit li { display: grid; grid-template-columns: minmax(150px, .72fr) minmax(0, 1fr); gap: 6px 24px; padding: 17px 0; border-top: 1px solid var(--line); font-size: 18px; }
.tbh-kit li:last-child { border-bottom: 1px solid var(--line); }
.tbh-kit b { font-size: 20px; font-weight: 620; letter-spacing: -.03em; line-height: 1.3; }
.tbh-kit li span { color: #4c4a52; line-height: 1.45; }
.tbh-kinds { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.tbh-kinds li { padding: 10px 18px; border-radius: 999px; background: var(--explore-lilac); font-size: 17px; font-weight: 600; }
.tbh-who { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 80px); margin: clamp(28px, 3.6vw, 48px) 0 0; }
.tbh-who p { margin: 0; padding: 20px 0; border-top: 1px solid rgba(5, 5, 5, .18); color: #4c4a52; font-size: 18px; line-height: 1.5; }
.tbh-who b { display: block; margin-bottom: 4px; color: var(--ink); font-size: 23px; font-weight: 620; letter-spacing: -.035em; }
.tbh-first { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(28px, 3.6vw, 48px); }
.tbh-first > div { padding: clamp(26px, 3vw, 42px); border-radius: 24px; background: var(--mint); }
.tbh-first > div + div { border: 2px dashed #a7a6b6; background: transparent; }
.tbh-first h3 { margin: 0 0 14px; font-size: 27px; font-weight: 620; letter-spacing: -.04em; }
.tbh-first ul { margin: 0; padding-left: 20px; }
.tbh-first li { margin-bottom: 10px; font-size: 18px; line-height: 1.45; }

/* Reverse Engineer, in order. */
.tbh-turns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(20px, 2.6vw, 44px); margin: clamp(30px, 4vw, 52px) 0 0; padding: 0; list-style: none; counter-reset: turn; }
.tbh-turns li { padding-top: 18px; border-top: 3px solid var(--tbh-night); counter-increment: turn; }
.tbh-turns b { display: block; font-size: 20px; font-weight: 620; letter-spacing: -.03em; line-height: 1.25; }
.tbh-turns b::before { content: counter(turn) ". "; }
.tbh-turns span { display: block; margin-top: 7px; color: #3b3940; font-size: 17px; line-height: 1.45; }
.tbh-plain-note { max-width: 46em; margin: 28px 0 0; color: #3b3940; font-size: 18px; line-height: 1.5; }
.tbh-plain-note a { text-underline-offset: 4px; }
/* What you can bring. */
.tbh-own { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3.4vw, 56px); margin: clamp(30px, 4vw, 52px) 0 0; }
.tbh-own--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tbh-own > div { padding: 22px 0; border-top: 1px solid rgba(5, 5, 5, .18); }
.tbh-own dt { font-size: 23px; font-weight: 620; letter-spacing: -.035em; line-height: 1.2; }
.tbh-own dd { margin: 7px 0 0; color: #3b3940; font-size: 18px; line-height: 1.5; }
.tbh-goals { margin-top: clamp(26px, 3.4vw, 44px); padding: clamp(24px, 3vw, 42px); border-radius: 24px; background: var(--lilac); }
.tbh-goals h3 { margin: 0 0 18px; font-size: clamp(25px, 2.3vw, 33px); font-weight: 620; letter-spacing: -.045em; line-height: 1.1; }
.tbh-goals ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px clamp(20px, 3vw, 44px); margin: 0; padding: 0; list-style: none; }
.tbh-goals li b { display: block; font-size: 20px; letter-spacing: -.03em; }
.tbh-goals li span { display: block; margin-top: 4px; font-size: 17px; line-height: 1.45; }
.tbh-goals p { margin: 20px 0 0; font-size: 17px; }
/* Downloads. */
.tbh-get-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(28px, 3.6vw, 48px); }
.tbh-get-card { min-width: 0; padding: clamp(24px, 2.4vw, 34px); border-radius: 22px; background: var(--soft); }
.tbh-get-card h3 { margin: 0; font-size: 30px; font-weight: 620; letter-spacing: -.045em; }
.tbh-get-card > p { margin: 4px 0 18px; color: #4c4a52; font-size: 17px; }
.tbh-get-card .button { width: 100%; min-height: 52px; font-size: 16px; }
.tbh-get-card > .tbh-get-sub { margin: 24px 0 8px; color: var(--ink); font-weight: 620; }
.tbh-get-card ol { margin: 0; padding-left: 22px; }
.tbh-get-card li { margin-bottom: 9px; font-size: 17px; line-height: 1.45; overflow-wrap: anywhere; }
.tbh-get-card code { font-size: 15px; }

.tbh-table { margin: clamp(26px, 3.4vw, 44px) 0 0; }
.tbh-table > div { display: grid; grid-template-columns: minmax(170px, 300px) minmax(0, 1fr); gap: 4px 40px; padding: 19px 0; border-top: 1px solid rgba(5, 5, 5, .16); }
.tbh-table dt { font-size: 20px; font-weight: 620; letter-spacing: -.03em; }
.tbh-table dd { max-width: 46em; margin: 0; color: #3b3940; font-size: 18px; line-height: 1.5; }
.tbh-limit { margin: 26px 0 0; padding: clamp(22px, 2.6vw, 34px); border-radius: 22px; background: var(--lime); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; }
.tbh-limit b { display: block; margin-bottom: 4px; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.04em; line-height: 1.2; }

.tbh-family { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(28px, 3.6vw, 46px); }
.tbh-family a, .tbh-family div { display: block; padding: 28px; border-radius: 22px; background: #e5f7ec; color: var(--ink); text-decoration: none; }
.tbh-family a + a { background: #ece5fb; }
.tbh-family div { background: var(--tbh-night); color: #fff; }
.tbh-family b { display: block; margin-bottom: 8px; font-size: 24px; font-weight: 640; letter-spacing: -.04em; }
.tbh-family span { font-size: 17px; line-height: 1.45; }
.tbh-family u { display: block; margin-top: 14px; font-size: 16px; font-weight: 600; text-underline-offset: 4px; }

.tbh-final { padding: clamp(72px, 9vw, 130px) 0; background: #f4ecd6; text-align: center; }
.tbh-final img { width: 92px; height: 92px; margin: 0 auto 22px; }
.tbh-final h2 { max-width: 14ch; margin: 0 auto 18px; font-size: clamp(42px, 6vw, 82px); font-weight: 590; letter-spacing: -.06em; line-height: .96; }
.tbh-final p { max-width: 36em; margin: 0 auto; font-size: 19px; }
.tbh-final .tbh-cta { justify-content: center; }
.tbh-page .product-direct-answers .faq-list, .tbh-page .product-direct-answers .tbh-legal { margin-inline: 0; }
.tbh-legal { max-width: 860px; margin: 34px auto 0; color: #64645f; font-size: 15px; line-height: 1.5; }
.tbh [hidden] { display: none !important; }

@media (max-width: 1020px) {
  .tbh-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .tbh-hero h1 { max-width: 14ch; }
  .tbh-step-grid, .tbh-step--flip .tbh-step-grid, .tbh-kit, .tbh-parts { grid-template-columns: minmax(0, 1fr); }
  .tbh-step--flip .tbh-step-copy { order: 0; }
  .tbh-family, .tbh-get-grid, .tbh-turns { grid-template-columns: minmax(0, 1fr); }
  .tbh-turns { gap: 24px; }
  .tbh-own { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .tbh-hero { padding-top: 34px; }
  .tbh-cta .button { width: 100%; }
  .tbh-road ol { grid-template-columns: minmax(0, 1fr); }
  .tbh-road li { padding: 0 0 22px 36px; }
  .tbh-road li::before { top: 8px; right: auto; bottom: -8px; left: 6px; width: 2px; height: auto; }
  .tbh-road li:last-child::before { display: none; }
  .tbh-road li::after { top: 5px; }
  .tbh-road span { max-width: none; }
  .tbh-road > p { margin-top: 6px; }
  .tbh-part--agent ul { columns: 1; }
  .tbh-flags, .tbh-who, .tbh-first, .tbh-own, .tbh-own--two, .tbh-goals ul { grid-template-columns: minmax(0, 1fr); }
  .tbh-kit li, .tbh-table > div { grid-template-columns: minmax(0, 1fr); }
  .tbh-cards { grid-template-columns: minmax(0, 1fr); }
  .tbh-cardlet { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; }
  .tbh-cardlet .tbh-pic { height: 100%; object-fit: cover; }
  .tbh-ui-foot, .tbh-mix { flex-direction: column; align-items: flex-start; }
  .tbh-plate { border-radius: 20px; }
  .tbh-plate .tbh-home { aspect-ratio: 811 / 770; object-fit: cover; }
}
@media (prefers-reduced-motion: reduce) { .tbh-slate-clap { animation: none; } }
