/* Yalla2X Box page, rebuilt 2026-10-27 from the owner's Yalla2x_Box_Updated.html: its layout in the site's skin.
   The HTML's light panels in the site's warm greys (it used cool blue-greys), its dark cards in Midnight (--dark) and
   Card (--dark-2) with a gold glow where it had a blue one (owner, 2026-10-22: brand gold, never blue). Golds: --gold-mark
   for the gold words of the headings on light grounds (the wordmark's gold, as the HTML's #D6A53E), --gold-ink for small
   gold words on light grounds, --gold and --gold-light on Midnight. Inter for text, Space Grotesk 700 for the headings
   (site.css). Every font-size is a type-scale token from site.css, so the HTML's 9-11px labels are the 12px caption.
   Breakpoints: 1199px (laptop), 1023px (tablet), 767px (phone), 479px (small phone). Classes are yb- prefixed. */

/* ---------- shared on this page ---------- */
.yb-sec { padding-block: clamp(72px, 8.6vw, 124px); }
.yb-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  font-size: var(--t-cap); font-weight: 700; letter-spacing: 0.16em; line-height: 1.3; text-transform: uppercase; color: var(--gold-ink);
}
.yb-eyebrow--rule::before { content: ""; flex: none; width: 29px; height: 1px; background: var(--gold-mark); }
.yb-gold { color: var(--gold-mark); }
.yb-h2 { margin-top: 18px; font-size: var(--t-h1); line-height: 1.03; letter-spacing: -0.045em; }
/* the gold second line wraps evenly, never leaving one word alone ("comes with / it.") */
.yb-h2 > .yb-gold { display: block; text-wrap: balance; }
.yb-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; margin-bottom: 40px; }
.yb-head__lead { flex: none; max-width: 470px; font-size: var(--t-body); line-height: 1.65; color: var(--ink-2); }
.yb-tiny { margin: 0; font-size: var(--t-cap); font-weight: 700; letter-spacing: 0.15em; line-height: 1.3; color: var(--gold-ink); }
.yb-note { margin-top: 20px; font-size: var(--t-cap); line-height: 1.6; color: var(--ink-num); }
.yb-hero .btn svg, .yb-why .btn svg, .yb-phone .btn svg, .yb-eng .btn svg { color: currentColor; }
/* the gold button of the engineering panel (the HTML's .pill.goldbg) */
.yb-btn-gold { background: var(--gold); color: var(--ink); }
.yb-btn-gold:hover { background: var(--gold-deep); }

/* ---------- hero: the rounded light panel under the header ---------- */
.yb-hero {
  position: relative; overflow: hidden; margin: calc(var(--hdr) + 16px) clamp(8px, 1.4vw, 20px) 0; border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 75% 40%, #f4efe3 0%, rgba(244, 239, 227, 0) 47%),
    linear-gradient(120deg, #f9f9f8 0%, #f5f5f3 56%, #efeee9 100%);
}
.yb-hero__grid { position: relative; display: grid; grid-template-columns: 47% 53%; align-items: center; min-height: 650px; }
.yb-hero__copy { position: relative; z-index: 2; padding: 76px 0 80px; }
.yb-hero__title {
  margin: 33px 0 23px; font-family: var(--font-head); font-weight: 700; font-size: var(--t-display);
  line-height: 1.02; letter-spacing: -0.05em; text-wrap: initial;
}
.yb-hero__lead { max-width: 550px; font-size: var(--t-lead); line-height: 1.6; color: var(--ink-2); }
.yb-hero__actions { gap: 12px; margin-top: 30px; }
.yb-hero__art { position: relative; display: flex; align-items: center; justify-content: center; height: 100%; }
/* the gold rings behind the box */
.yb-hero__art::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 620px; height: 620px; border-radius: 50%;
  border: 1px solid rgba(204, 157, 49, 0.26); box-shadow: 0 0 0 105px rgba(214, 172, 74, 0.045), 0 0 0 170px rgba(214, 172, 74, 0.03);
  transform: translate(-35%, -40%);
}
/* the whole Box inside the panel (owner, 2026-10-27: "the edge is cutted"): the HTML drew it at 112% of its column,
   pushed right, and the panel's rounded overflow cut off its right side; it now fills its column and no more */
.yb-hero__img {
  position: relative; z-index: 1; width: 100%; max-width: 100%; height: auto;
  filter: drop-shadow(0 30px 25px rgba(57, 51, 46, 0.12));
}
.yb-hero__tag {
  position: absolute; top: 64px; right: 3%; z-index: 2; margin: 0;
  font-size: var(--t-cap); font-weight: 700; letter-spacing: 0.19em; line-height: 1.3; color: var(--ink-num);
}
/* the "28+" card sits under the Box's front corner, clear of the Box */
.yb-float {
  position: absolute; left: 4%; bottom: 4%; z-index: 2; min-width: 170px; margin: 0; padding: 14px 18px;
  border: 1px solid #e6e4de; border-radius: 17px; background: rgba(255, 255, 255, 0.93);
  -webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px); box-shadow: 0 16px 35px rgba(35, 35, 35, 0.07);
  font-size: var(--t-cap); line-height: 1.45; color: var(--ink-2);
}
.yb-float strong { display: block; font-family: var(--font-head); font-size: var(--t-h4); font-weight: 700; line-height: 1.1; letter-spacing: -0.04em; color: var(--ink); }
.yb-float__icon { position: absolute; right: 14px; top: 12px; color: var(--gold-ink); }
.yb-float__icon svg { display: block; width: 12px; height: 12px; }
.yb-hero__foot { position: absolute; left: 0; bottom: 21px; margin: 0; font-size: var(--t-cap); line-height: 1.4; color: var(--ink-num); }

/* ---------- the five-part strip under the hero ---------- */
.yb-strip { border-bottom: 1px solid var(--line); }
.yb-strip__list { display: flex; justify-content: space-between; gap: 25px; padding-block: 26px; }
.yb-strip__list li { display: flex; align-items: center; gap: 12px; white-space: nowrap; font-size: var(--t-small); font-weight: 600; color: var(--ink-2); }
.yb-strip__list b { font-size: var(--t-body); font-weight: 700; color: var(--gold-ink); }

/* ---------- 01: what comes with Yalla2x ---------- */
.yb-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(230px, auto); gap: 15px; }
.yb-ben {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-width: 0;
  padding: 30px; border: 1px solid var(--line); border-radius: 25px; background: var(--panel);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.yb-ben:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(11, 15, 20, 0.06); }
.yb-ben p:not(.yb-tiny, .yb-ben__foot, .yb-chain) { max-width: 400px; margin-top: 12px; font-size: var(--t-small); line-height: 1.57; color: var(--ink-2); }
.yb-ben--main {
  grid-column: span 7; grid-row: span 2; min-height: 515px; padding: 42px; border-color: var(--dark-line); color: #fff;
  background:
    radial-gradient(circle at 95% 80%, rgba(246, 196, 83, 0.16), rgba(246, 196, 83, 0) 52%),
    linear-gradient(130deg, var(--dark) 0%, var(--dark-2) 100%);
}
.yb-ben--main .yb-tiny { color: var(--gold); }
.yb-ben--main p:not(.yb-tiny, .yb-chain) { color: var(--on-dark-2); }
.yb-ben__top { display: flex; align-items: center; justify-content: space-between; }
.yb-ben__star { display: grid; place-items: center; width: 41px; height: 41px; border: 1px solid rgba(246, 196, 83, 0.45); border-radius: 50%; color: var(--gold); }
.yb-ben__big { max-width: 560px; font-size: var(--t-h2); line-height: 1.05; letter-spacing: -0.045em; color: #fff; }
.yb-ben__big em, .yb-clarity__h em { font-style: normal; color: var(--gold); }
.yb-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 55px 0 0; }
.yb-chain span { padding: 9px 12px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 50px; background: rgba(255, 255, 255, 0.07); font-size: var(--t-cap); letter-spacing: 0.09em; color: var(--on-dark); }
.yb-chain i { width: 27px; height: 1px; background: var(--gold); }
.yb-ben--phone {
  grid-column: span 5; grid-row: span 2; min-height: 515px; padding: 35px; justify-content: flex-start;
  background: radial-gradient(circle at 80% 60%, rgba(230, 214, 171, 0.35), rgba(230, 214, 171, 0) 51%), #f1f1ee;
}
.yb-ben__mid { max-width: 300px; margin-top: 13px; font-size: var(--t-h3); line-height: 1.08; letter-spacing: -0.04em; }
.yb-ben--phone .yb-ben__copy p:not(.yb-tiny) { max-width: 275px; }
/* the HTML's little phone in the card, drawn in CSS */
.yb-device {
  position: absolute; right: 27px; bottom: -55px; width: 190px; height: 350px; padding: 18px 12px 10px;
  border: 7px solid #242932; border-radius: 29px; background: var(--dark); color: var(--ink);
  box-shadow: 0 16px 30px rgba(11, 15, 20, 0.16); transform: rotate(9deg);
}
.yb-device::before { content: ""; position: absolute; inset: 6px; z-index: -1; border-radius: 20px; background: #fff; }
.yb-device__notch { position: absolute; left: 50%; top: 1px; z-index: 1; width: 58px; height: 13px; border-radius: 0 0 11px 11px; background: #05080c; transform: translateX(-50%); }
.yb-device__logo { display: block; font-family: var(--font-head); font-size: var(--t-body); font-weight: 700; letter-spacing: -0.05em; }
.yb-device__logo span, .yb-mock__logo span { color: var(--gold-mark); }
.yb-device__rule { display: block; height: 1px; margin: 12px 0; background: #ddd; }
.yb-device__row {
  display: flex; justify-content: space-between; margin: 7px 0; padding: 9px 8px; border: 1px solid #e7e7e5; border-radius: 8px;
  background: #f5f5f4; font-size: var(--t-cap); font-weight: 700; letter-spacing: 0.04em; line-height: 1.2;
}
.yb-device__row b { color: var(--gold-mark); }
.yb-ben--small { grid-column: span 4; min-height: 255px; justify-content: flex-start; }
.yb-ben__icon {
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 25px; border: 1px solid #eee6d7; border-radius: 12px;
  background: #fff; font-size: var(--t-h6); line-height: 1; color: var(--gold-ink);
}
.yb-ben__h { font-size: var(--t-h5); line-height: 1.13; letter-spacing: -0.035em; }
.yb-ben__foot { margin-top: auto; padding-top: 28px; font-size: var(--t-cap); font-weight: 700; letter-spacing: 0.09em; color: var(--gold-ink); }
.yb-bundle { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-top: 20px; }
.yb-bundle__item { display: grid; grid-template-columns: 16px 1fr; column-gap: 12px; row-gap: 4px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; }
.yb-bundle__item b { font-size: var(--t-body); font-weight: 600; }
.yb-bundle__item p { grid-column: 2; font-size: var(--t-small); line-height: 1.6; color: var(--ink-2); }
.yb-bundle__dot { width: 11px; height: 11px; margin-top: 6px; border-radius: 50%; background: var(--gold-mark); }
.yb-bundle__dot--hollow { border: 2px solid var(--gold-mark); background: none; }

/* ---------- 02: the four systems ---------- */
.yb-systems { background: #f7f7f5; }
.yb-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.yb-card {
  display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e4e3df; border-radius: 26px; background: #fff;
  box-shadow: 0 10px 30px rgba(17, 20, 24, 0.035);
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease), border-color 0.24s var(--ease);
}
.yb-card:hover { transform: translateY(-6px); border-color: #d3b16b; box-shadow: 0 20px 45px rgba(11, 15, 20, 0.1); }
.yb-card--feature { border-color: #d4ac4f; box-shadow: inset 0 0 0 1px rgba(211, 163, 57, 0.35), 0 15px 42px rgba(188, 149, 64, 0.09); }
.yb-card__media {
  position: relative; display: flex; align-items: center; justify-content: center; height: 275px; padding-top: 30px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 32%, #fff 0%, #f2f1ee 67%, #e9e6de 100%);
}
.yb-card__media img { width: auto; max-width: 88%; height: 80%; object-fit: contain; filter: drop-shadow(0 18px 16px rgba(57, 51, 46, 0.14)); }
/* the Station and Rack pictures were shot on white: their files are made transparent with their own soft shadow
   (.scratch/box-v3/make_media.py), so no drawn shadow is added */
.yb-card__media--white img { height: 90%; filter: none; }
.yb-card__num { position: absolute; top: 18px; left: 18px; z-index: 2; margin: 0; font-size: var(--t-cap); font-weight: 700; letter-spacing: 0.13em; color: var(--gold-ink); }
.yb-card__ribbon {
  position: absolute; top: 15px; right: 15px; z-index: 2; margin: 0; padding: 7px 11px; border: 1px solid #ecd9a8; border-radius: 99px;
  background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: var(--t-cap); font-weight: 700; letter-spacing: 0.1em; line-height: 1.2; color: var(--gold-ink);
}
.yb-card__body { display: flex; flex: 1; flex-direction: column; padding: 26px 28px 25px; }
.yb-card__cat { margin: 0; font-size: var(--t-cap); font-weight: 600; letter-spacing: 0.1em; color: var(--ink-num); }
.yb-card__title { margin: 10px 0; font-size: var(--t-h4); line-height: 1.1; letter-spacing: -0.04em; }
.yb-card__for { max-width: 550px; font-size: var(--t-body); line-height: 1.55; color: var(--ink-2); }
.yb-card__cap { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; margin: 0; padding: 20px 0 12px; border-bottom: 1px solid var(--line); }
.yb-card__cap strong { font-family: var(--font-head); font-size: var(--t-h3); font-weight: 700; line-height: 1; letter-spacing: -0.05em; white-space: nowrap; }
.yb-card__cap small { max-width: 245px; font-size: var(--t-cap); line-height: 1.4; text-align: right; color: var(--ink-num); }
.yb-card__chip { margin: 12px 0 17px; font-size: var(--t-small); line-height: 1.55; color: var(--ink-2); }
.yb-pack { margin-bottom: 12px; padding: 13px 15px; border: 1px solid #ece5d7; border-radius: 14px; background: #f6f4ef; }
.yb-pack__head { margin: 0 0 8px; font-size: var(--t-cap); font-weight: 700; letter-spacing: 0.11em; color: var(--gold-ink); }
.yb-pack__row { display: flex; align-items: flex-start; gap: 9px; margin: 5px 0 0; font-size: var(--t-small); line-height: 1.4; color: var(--ink-2); }
.yb-tick { font-weight: 700; color: var(--gold-ink); }
.yb-price { display: flex; flex-direction: column; gap: 3px; margin: 0 0 16px; padding: 16px 18px; border: 1px solid #e7dcc5; border-radius: 13px; background: linear-gradient(120deg, #faf8f2, #f1f0ed); }
.yb-price span { font-size: var(--t-cap); font-weight: 600; color: var(--ink-num); }
.yb-price strong { font-family: var(--font-head); font-size: var(--t-h4); font-weight: 700; line-height: 1.2; letter-spacing: -0.04em; }
.yb-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: auto; }
.yb-more, .yb-ask {
  display: inline-flex; flex: 1 1 200px; align-items: center; justify-content: center; gap: 12px; min-height: 49px; padding: 12px 15px;
  border: 1px solid var(--line-3); border-radius: 14px; font-size: var(--t-small); font-weight: 700; line-height: 1.25; text-align: center;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.yb-more { background: #fff; color: var(--ink); }
.yb-more svg { color: var(--gold-ink); }
.yb-more:hover { border-color: var(--ink); }
.yb-ask { border-color: var(--dark); background: var(--dark); color: #fff; }
.yb-ask:hover { border-color: #262b31; background: #262b31; }
.yb-more svg, .yb-ask svg { width: 12px; height: 12px; flex: none; }
.yb-clarity {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 0.95fr 1.3fr; align-items: center; gap: 20px 38px;
  margin-top: 26px; padding: 35px 38px 29px; border-radius: 27px; background: var(--dark); color: #fff;
}
.yb-clarity::before {
  content: ""; position: absolute; top: -130px; left: 28%; width: 450px; height: 290px; pointer-events: none; opacity: 0.13;
  background: radial-gradient(ellipse, #dfaa43 0%, rgba(223, 170, 67, 0) 70%);
}
.yb-clarity > * { position: relative; }
.yb-clarity .yb-tiny { color: var(--gold); }
.yb-clarity__h { margin: 12px 0; font-size: var(--t-h3); line-height: 1.08; letter-spacing: -0.045em; color: #fff; }
.yb-clarity__lead p:not(.yb-tiny) { max-width: 495px; font-size: var(--t-body); line-height: 1.7; color: #c9ced5; }
.yb-clarity__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.yb-clarity__list li {
  display: flex; flex-direction: column; gap: 4px; min-height: 120px; padding: 16px 14px;
  border: 1px solid rgba(240, 206, 138, 0.18); border-radius: 15px; background: rgba(255, 255, 255, 0.055);
}
.yb-picon { display: block; margin-bottom: 7px; font-size: var(--t-h6); line-height: 1; color: var(--gold); }
.yb-clarity__list b { font-size: var(--t-small); font-weight: 600; color: #fff; }
.yb-clarity__list small { font-size: var(--t-cap); line-height: 1.4; color: var(--on-dark-2); }
.yb-clarity__note { grid-column: 1 / -1; margin: 0; padding-top: 21px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: var(--t-small); line-height: 1.6; color: var(--on-dark-2); }
.yb-clarity__note b { color: var(--gold-light); }

/* ---------- 03: why private AI ---------- */
.yb-why { padding-block: clamp(88px, 10.4vw, 150px); }
.yb-why__grid { display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); align-items: center; gap: 25px; }
.yb-why__copy { padding-right: 45px; }
.yb-why__copy .yb-h2 { margin: 23px 0 25px; }
.yb-why__copy > p:not(.yb-eyebrow) { max-width: 470px; margin-bottom: 23px; line-height: 1.75; color: var(--ink-2); }
.yb-why__copy b { font-weight: 600; color: var(--ink); }
.yb-why__panel { position: relative; overflow: hidden; min-height: 530px; padding: 38px; border-radius: 27px; background: linear-gradient(130deg, #f3f3f1 0%, #e9e8e6 100%); }
.yb-why__panel::before, .yb-why__panel::after { content: ""; position: absolute; border: 1px solid rgba(209, 181, 129, 0.52); border-radius: 50%; }
.yb-why__panel::before { right: -230px; top: -90px; width: 650px; height: 650px; }
.yb-why__panel::after { right: -125px; top: 25px; width: 430px; height: 430px; }
.yb-why__list { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; max-width: 92%; padding-top: 12px; }
.yb-why__list li {
  display: grid; grid-template-columns: 36px 1fr; align-items: start; gap: 16px; padding: 20px 22px;
  border: 1px solid #fff; border-radius: 17px; background: rgba(255, 255, 255, 0.87); box-shadow: 0 15px 25px rgba(68, 68, 68, 0.035);
}
.yb-why__n { font-weight: 700; color: var(--gold-ink); }
.yb-why__list b { font-size: var(--t-body); font-weight: 600; }
.yb-why__list p { margin-top: 5px; font-size: var(--t-small); line-height: 1.6; color: var(--ink-2); }
.yb-why__caption { position: absolute; right: 25px; bottom: 24px; z-index: 2; margin: 0; font-size: var(--t-cap); font-weight: 700; letter-spacing: 0.13em; color: var(--ink-num); }

/* ---------- 04: one phone, connected work ---------- */
.yb-phone { overflow: hidden; margin: 0 clamp(8px, 1.4vw, 20px); padding-block: 80px; border-radius: 28px; background: #f6f6f5; }
.yb-phone__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 50px; min-height: 560px; }
.yb-phone__copy .yb-h2 { margin: 24px 0; }
.yb-phone__lead { max-width: 580px; font-size: var(--t-lead); line-height: 1.7; color: var(--ink-2); }
.yb-points { display: flex; flex-wrap: wrap; gap: 11px; margin: 25px 0; }
.yb-points li { padding: 10px 13px; border: 1px solid var(--line); border-radius: 99px; background: #fff; font-size: var(--t-small); line-height: 1.3; }
.yb-points b { font-weight: 700; color: var(--gold-ink); }
.yb-included { display: flex; gap: 12px; max-width: 520px; margin: 0 0 25px; padding: 16px 18px; border: 1px solid #e5d4ac; border-radius: 18px; background: rgba(255, 255, 255, 0.8); }
.yb-included__icon { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); font-weight: 700; color: var(--ink); }
.yb-included b { display: block; margin-bottom: 3px; font-size: var(--t-small); font-weight: 600; }
.yb-included p { margin: 0; font-size: var(--t-cap); line-height: 1.5; color: var(--ink-num); }
.yb-phone__visual { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 510px; }
.yb-phone__visual::before {
  content: ""; position: absolute; left: 50%; top: 46%; width: 450px; height: 450px; border: 1px solid rgba(217, 183, 112, 0.4); border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(225, 191, 124, 0.09), 0 0 0 145px rgba(217, 183, 112, 0.045); transform: translate(-50%, -50%);
}
.yb-mock {
  position: relative; z-index: 1; width: 280px; height: 500px; padding: 7px; border: 11px solid var(--dark); border-radius: 44px;
  background: #e8e9ea; box-shadow: 26px 35px 45px rgba(11, 15, 20, 0.2), inset 0 0 0 2px #747980;
}
.yb-mock__top { position: absolute; top: 6px; left: 50%; z-index: 1; width: 86px; height: 18px; border-radius: 0 0 13px 13px; background: var(--dark); transform: translateX(-50%); }
.yb-mock__screen { height: 100%; overflow: hidden; padding: 38px 17px 14px; border-radius: 27px; background: #fff; }
.yb-mock__logo { display: block; font-family: var(--font-head); font-size: var(--t-h5); font-weight: 700; line-height: 1.1; letter-spacing: -0.06em; }
.yb-mock__sub { display: block; margin-top: 3px; font-size: var(--t-cap); letter-spacing: 0.04em; color: var(--ink-num); }
.yb-mock__sum { display: flex; align-items: flex-end; justify-content: space-between; margin: 21px 0 14px; padding: 18px; border-radius: 14px; background: var(--dark); color: #fff; }
.yb-mock__sum span { max-width: 80px; font-size: var(--t-cap); line-height: 1.3; }
.yb-mock__sum strong { font-family: var(--font-head); font-size: var(--t-h3); font-weight: 700; line-height: 1; color: var(--gold); }
.yb-mock__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
.yb-mock__grid > span { display: block; padding: 14px 11px; border: 1px solid #e9e9e5; border-radius: 12px; background: #f5f5f4; font-size: var(--t-h6); line-height: 1; color: var(--gold-ink); }
.yb-mock__grid i { display: block; margin-top: 7px; font-size: var(--t-cap); font-style: normal; line-height: 1.2; color: var(--ink-2); }
.yb-mock__status { margin: 18px 0 0; font-size: var(--t-cap); color: var(--ink-num); }
.yb-mock__status i { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: var(--gold-mark); }
.yb-phone__note { position: relative; z-index: 1; margin: 34px 0 0; font-size: var(--t-cap); font-weight: 700; letter-spacing: 0.14em; line-height: 1.5; text-align: center; text-transform: uppercase; color: var(--ink-num); }

/* ---------- 05: the engineering (Midnight) ---------- */
/* the "Watch how it comes together" pill sits on the picture's lower edge, as in the HTML */
.yb-eng { overflow: hidden; margin: 12px clamp(8px, 1.4vw, 20px) 0; border-radius: 27px; background: var(--dark); color: #fff; }
.yb-eng__grid { display: grid; grid-template-columns: 43% 57%; min-height: 580px; }
.yb-eng__copy { display: flex; flex-direction: column; justify-content: center; padding: 75px 45px 70px 0; }
.yb-eng .yb-eyebrow, .yb-eng .yb-gold { color: var(--gold); }
.yb-eng .yb-eyebrow--rule::before { background: var(--gold); }
.yb-eng__copy .yb-h2 { margin: 25px 0; color: #fff; }
.yb-eng__copy > p:not(.yb-eyebrow) { max-width: 490px; line-height: 1.75; color: #c9ced5; }
.yb-caps { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 32px; }
.yb-caps li { padding: 7px 12px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 20px; background: rgba(255, 255, 255, 0.07); font-size: var(--t-cap); line-height: 1.4; }
.yb-eng__film {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; padding: 48px 0;
  background: radial-gradient(circle at 50% 45%, #54504a 0%, #262a2b 58%, var(--dark) 90%);
}
.yb-eng__film img { width: 94%; height: auto; }
.yb-eng__launch {
  position: relative; display: inline-flex; align-items: center; gap: 8px; margin-top: -22px; padding: 12px 21px;
  border: 1px solid #8f918a; border-radius: 100px; background: rgba(255, 255, 255, 0.93); color: var(--ink);
  font-size: var(--t-small); font-weight: 700; white-space: nowrap;
  transition: background-color 0.2s var(--ease);
}
.yb-eng__launch:hover { background: var(--gold); }
.yb-play { font-size: var(--t-cap); }
.yb-eng :focus-visible { outline-color: var(--gold); }

/* ---------- the windows: "Explore this system" and the Box film ---------- */
.yb-dlg {
  width: min(790px, calc(100vw - 32px)); max-height: min(86vh, 790px); overflow-y: auto; padding: 35px;
  border: 0; border-radius: 22px; background: #fff; color: var(--ink); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.33);
}
.yb-dlg::backdrop { background: rgba(11, 15, 20, 0.78); }
/* the window itself takes no focus ring (opened by its #anchor without script it is the focused target); its controls keep theirs */
.yb-dlg:focus, .yb-dlg:focus-visible { outline: none; }
.yb-dlg--film { width: min(960px, calc(100vw - 32px)); background: var(--dark); color: #fff; }
.yb-dlg--film .yb-eyebrow { color: var(--gold-light); }
.yb-dlg--film .yb-eyebrow--rule::before { background: var(--gold); }
.yb-dlg__close {
  position: absolute; top: 15px; right: 19px; display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 50%; background: #f1f0ed; font-size: var(--t-h5); line-height: 1; color: var(--ink);
}
.yb-dlg__close:hover { background: var(--panel-2); }
.yb-dlg--film .yb-dlg__close { background: rgba(255, 255, 255, 0.14); color: #fff; }
.yb-dlg--film :focus-visible { outline-color: var(--gold); }
.yb-dlg__title { margin: 15px 0 14px; font-size: var(--t-h3); line-height: 1.05; letter-spacing: -0.045em; color: inherit; }
.yb-dlg__price { margin: 3px 0 15px; font-size: var(--t-h5); font-weight: 700; letter-spacing: -0.03em; color: var(--gold-ink); }
.yb-dlg__desc { line-height: 1.7; color: var(--ink-2); }
.yb-dlg__specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 25px 0; border-top: 1px solid var(--line); }
.yb-dlg__specs > div { padding: 17px 12px 17px 0; border-bottom: 1px solid var(--line); }
.yb-dlg__specs dt { font-size: var(--t-cap); color: var(--ink-num); }
.yb-dlg__specs dd { margin: 0; font-size: var(--t-body); font-weight: 600; line-height: 1.4; }
.yb-dlg__fine { margin-top: 14px; font-size: var(--t-cap); line-height: 1.7; color: var(--ink-2); }
.yb-dlg--film .yb-dlg__fine { color: var(--on-dark-2); }
.yb-dlg__video { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 10px; background: #000; }
/* without script a window opens as its #anchor: fixed in the middle, the page dimmed behind it */
:root:not(.js) .yb-dlg:target {
  position: fixed; inset: 0; z-index: 200; display: block; height: fit-content; margin: auto;
  box-shadow: 0 0 0 100vmax rgba(11, 15, 20, 0.78), 0 40px 90px rgba(0, 0, 0, 0.33);
}
/* the page under an open window does not scroll (js/yalla2x-box.js) */
html.yb-lock { overflow: hidden; }

/* the site's closing panel follows the engineering panel straight away: no hairline over it */
main:has(.yb-eng) + .cta { border-top: 0; }

/* ---------- laptops ---------- */
/* "superintelligence" at 72px is 545px wide: the hero's word column holds it from 1360px */
@media (max-width: 1359px) {
  .yb-hero__title { font-size: var(--t-h1); }
}
@media (max-width: 1199px) {
  .yb-hero__grid { min-height: 590px; }
  .yb-hero__copy { padding: 60px 0 65px; }
  .yb-bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .yb-ben--main, .yb-ben--phone { grid-column: span 3; }
  .yb-ben--small { grid-column: span 2; }
  .yb-ben--main { padding: 28px; }
  .yb-device { right: 10px; width: 170px; }
  .yb-why__grid { grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); }
  .yb-why__panel { padding: 24px; }
  .yb-eng__copy { padding-left: 0; }
}

/* ---------- tablets ---------- */
@media (max-width: 1023px) {
  .yb-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .yb-head__lead { max-width: 640px; }
  .yb-card__body { padding: 20px; }
  .yb-card__media { height: 230px; }
  .yb-clarity { grid-template-columns: minmax(0, 1fr); }
  .yb-clarity__list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .yb-ben--main, .yb-ben--phone { min-height: 440px; }
  .yb-ben--phone { padding: 28px; }
  .yb-ben--phone .yb-ben__copy p:not(.yb-tiny) { max-width: 230px; }
  .yb-device { bottom: -95px; }
  .yb-why__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .yb-why__copy { padding-right: 0; }
  .yb-why__panel { min-height: 0; padding-bottom: 64px; }
  .yb-eng__grid { grid-template-columns: minmax(0, 1fr); }
  .yb-eng__copy { padding: 64px 0 32px; }
  .yb-eng__film { margin-bottom: 40px; border-radius: 20px; }
}

/* ---------- phones ---------- */
@media (max-width: 767px) {
  .yb-h2 { font-size: var(--t-display); line-height: 1.04; }
  .yb-hero { margin-top: calc(var(--hdr) + 8px); }
  .yb-hero__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .yb-hero__copy { padding: 40px 0 10px; }
  .yb-hero__title { margin: 24px 0 20px; }
  .yb-hero__lead { font-size: var(--t-body); }
  /* one column: the Box, then the "28+" card under it (laid over the Box it hid the front corner) */
  .yb-hero__art { flex-direction: column; align-items: flex-start; min-height: 0; padding-top: 12px; }
  .yb-hero__art::before { width: 380px; height: 380px; }
  /* the tag above the Box in the flow, so a two-line tag on a small phone never sits on it */
  .yb-hero__tag { position: relative; top: auto; right: auto; align-self: flex-end; margin-bottom: 14px; text-align: right; }
  .yb-float { position: relative; left: auto; bottom: auto; min-width: 150px; margin: 14px 0 0; padding: 12px 14px; }
  .yb-hero__foot { position: static; padding: 4px 0 22px; }
  .yb-strip__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; padding-block: 20px; }
  .yb-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 10px; }
  .yb-ben { padding: 22px; }
  .yb-ben--main, .yb-ben--phone { grid-column: span 2; grid-row: auto; min-height: 380px; }
  .yb-ben--main { padding: 26px; }
  .yb-ben--small { grid-column: span 1; min-height: 0; }
  .yb-ben--small:last-child { grid-column: span 2; }
  .yb-ben__icon { margin-bottom: 15px; }
  .yb-ben__foot { padding-top: 18px; }
  .yb-chain { margin-top: 36px; }
  .yb-bundle { grid-template-columns: minmax(0, 1fr); }
  .yb-cards { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .yb-card__media { height: 250px; }
  .yb-card__body { padding: 22px; }
  .yb-card__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yb-clarity { padding: 26px 22px; }
  .yb-clarity__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yb-clarity__list li { min-height: 0; }
  .yb-why__panel { padding: 18px 18px 54px; }
  .yb-why__list { max-width: 100%; }
  .yb-why__list li { gap: 10px; padding: 16px; }
  .yb-phone { padding-block: 56px; }
  .yb-phone__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; min-height: 0; }
  .yb-phone__visual { min-height: 0; padding-block: 40px 0; }
  .yb-phone__visual::before { width: 300px; height: 300px; }
  .yb-eng__copy { padding-top: 56px; }
  .yb-eng__film { padding: 24px 0 32px; }
  .yb-dlg { padding: 26px 20px; }
}

/* ---------- small phones ---------- */
@media (max-width: 479px) {
  .yb-ben--small { grid-column: span 2; }
  .yb-ben--phone { min-height: 0; padding-bottom: 0; }
  .yb-ben--phone .yb-ben__copy p:not(.yb-tiny) { max-width: none; }
  /* the little phone under the words, its foot cut by the card */
  .yb-device { position: relative; right: auto; bottom: auto; align-self: center; margin: 28px 0 -70px; transform: rotate(6deg); }
  .yb-card__actions { grid-template-columns: minmax(0, 1fr); }
  .yb-card__media { height: 230px; }
  .yb-card__num { left: 16px; letter-spacing: 0.08em; }
  .yb-card__ribbon { right: 12px; padding: 6px 9px; letter-spacing: 0.04em; }
  .yb-card__cap small { max-width: 150px; }
  .yb-dlg__specs { grid-template-columns: minmax(0, 1fr); }
  .yb-mock { width: 262px; height: 480px; }
}

@media (prefers-reduced-motion: reduce) {
  .yb-ben, .yb-card, .yb-more, .yb-ask, .yb-eng__launch { transition: none; }
  .yb-ben:hover, .yb-card:hover { transform: none; }
}

/* ---------- 2026-10-28: the Box page after the competitor audit ----------
   Price in the hero, sourced figures, what connects out, checks a buyer can run, how buying works, questions, and
   the enquiry panel with the founder's contact card. Same tokens and breakpoints as above. */

.yb-sec--tint { background: #f7f7f5; }
/* the cards on this page are not links: no lift that suggests they are */
.yb-ben:hover { transform: none; box-shadow: none; }

/* ---------- hero: the price card where the "28+" card was ---------- */
.yb-hero__title { font-size: var(--t-display); text-wrap: balance; }
.yb-hero__more { margin: 20px 0 0; font-size: var(--t-small); font-weight: 600; }
.yb-hero__more .link { display: inline; padding: 12px 0; color: var(--ink); }
.yb-hero__more .link svg { display: inline-block; width: 12px; height: 12px; margin-left: 6px; vertical-align: 0; }
.yb-float--price { min-width: 240px; padding: 16px 20px; }
.yb-float__k { display: block; font-size: var(--t-cap); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); }
.yb-float--price strong { margin: 3px 0 4px; font-size: var(--t-h3); }
.yb-float__aed { display: block; font-size: var(--t-small); line-height: 1.4; color: var(--ink-2); }
.yb-float__row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 4px; }
.yb-float__row b { font-size: var(--t-small); font-weight: 600; color: var(--ink-2); }
.yb-float__row strong { margin: 0; font-size: var(--t-h4); }
.yb-float--price small { display: block; margin-top: 7px; font-size: var(--t-cap); line-height: 1.4; color: var(--ink-num); }
/* the small print stays in the words column, clear of the price card */
@media (min-width: 1024px) { .yb-hero__foot { max-width: 44%; } }
@media (min-width: 1024px) and (max-width: 1359px) { .yb-hero__foot { position: static; grid-column: 1 / -1; max-width: none; padding: 0 0 24px; } }

/* ---------- the proof strip: every item is a link ---------- */
.yb-strip__list { flex-wrap: wrap; row-gap: 6px; }
.yb-strip__list li { white-space: normal; }
.yb-strip__list a {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: inherit;
  border-bottom: 1px solid transparent; transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.yb-strip__list a:hover { color: var(--ink); border-bottom-color: var(--gold-mark); }
.yb-strip__list b { font-size: var(--t-small); }
/* two pre-existing small captions sit just under 4.5:1 on their gradients */
.yb-why__caption, .yb-hero__tag { color: var(--ink-2); }

/* ---------- system cards ---------- */
.yb-card__flag { margin: 0 0 9px; font-size: var(--t-cap); font-weight: 700; letter-spacing: 0.1em; line-height: 1.4; text-transform: uppercase; color: var(--gold-ink); }
.yb-card__chip a, .yb-compare a, .yb-eng__src a, .yb-dlg__src a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.yb-card__chip a, .yb-compare a, .yb-compare__src a, .yb-dlg__src a { color: var(--gold-ink); }
.yb-compare__src a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
/* the sources sit outside the scrolling table: a long caption inside it made phone browsers widen the whole page */
.yb-compare__src { max-width: 980px; margin-top: 12px; font-size: var(--t-cap); line-height: 1.6; color: var(--ink-num); }
.yb-price__aed { font-size: var(--t-cap); font-weight: 600; color: var(--ink-num); }
.yb-card__note { margin: -4px 0 16px; font-size: var(--t-cap); line-height: 1.55; color: var(--ink-num); }

/* ---------- the comparison table ---------- */
.yb-swipe { display: none; margin: 26px 0 8px; font-size: var(--t-cap); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-num); }
.yb-compare-wrap { margin-top: 26px; overflow-x: auto; border: 1px solid #e4e3df; border-radius: 22px; background: #fff; }
.yb-compare-wrap:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; }
.yb-compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: var(--t-small); }
.yb-compare caption { caption-side: bottom; padding: 14px 20px 18px; text-align: left; font-size: var(--t-cap); line-height: 1.6; color: var(--ink-num); }
.yb-compare th, .yb-compare td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.45; }
.yb-compare thead th { font-family: var(--font-head); font-size: var(--t-h6); font-weight: 700; letter-spacing: -0.02em; background: #f7f7f5; }
.yb-compare tbody th { width: 15%; font-weight: 600; color: var(--ink-2); }
.yb-compare thead th:first-child, .yb-compare tbody th { position: sticky; left: 0; z-index: 1; background: #fff; }
.yb-compare thead th:first-child { background: #f7f7f5; }
.yb-compare tbody tr:last-child th, .yb-compare tbody tr:last-child td { border-bottom: 0; font-weight: 700; color: var(--ink); }

/* ---------- what the price covers: three columns in the dark panel ---------- */
.yb-scope { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.yb-scope__col { padding: 18px 16px; border: 1px solid rgba(240, 206, 138, 0.18); border-radius: 15px; background: rgba(255, 255, 255, 0.055); }
.yb-scope__col:target { border-color: var(--gold); }
.yb-scope__h { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; font-size: var(--t-small); font-weight: 700; line-height: 1.3; color: #fff; }
.yb-scope__col ul { display: grid; gap: 8px; }
.yb-scope__col li { position: relative; padding-left: 14px; font-size: var(--t-cap); line-height: 1.5; color: var(--on-dark-2); }
.yb-scope__col li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.yb-scope__col--no li::before { background: none; border: 1px solid var(--on-dark-3); }
.yb-dot { flex: none; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); }
.yb-dot--hollow { border: 2px solid var(--gold); background: none; }
.yb-dot--ring { border: 2px solid var(--on-dark-3); background: none; }

/* ---------- 02: what comes installed ---------- */
.yb-ben--side { grid-column: span 5; min-height: 250px; justify-content: flex-start; }
.yb-ben--half { grid-column: span 6; min-height: 0; justify-content: flex-start; }
.yb-bento--installed .yb-chain span { white-space: nowrap; }

/* ---------- 03: connections ---------- */
.yb-conn__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.yb-flow-wrap { overflow: hidden; border: 1px solid #e4e3df; border-radius: 22px; background: #fff; }
.yb-flow { width: 100%; border-collapse: collapse; font-size: var(--t-small); }
.yb-flow th, .yb-flow td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.5; }
.yb-flow thead th { font-size: var(--t-cap); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-num); background: #f7f7f5; }
.yb-flow tbody th { width: 24%; font-weight: 600; color: var(--ink); }
.yb-flow tbody td { color: var(--ink-2); }
.yb-flow tbody td:last-child { width: 21%; font-weight: 600; color: var(--ink); }
.yb-flow tbody tr:last-child th, .yb-flow tbody tr:last-child td { border-bottom: 0; }
.yb-conn__fig { margin: 0; padding: 24px 24px 20px; border-radius: 22px; background: var(--dark); color: var(--on-dark); }
.yb-conn__fig svg { display: block; width: 100%; height: auto; }
.yb-conn__fig figcaption { margin-top: 10px; font-size: var(--t-cap); line-height: 1.5; color: var(--on-dark-2); }
.yd-site { fill: none; stroke: var(--dark-line-2); stroke-width: 1.5; stroke-dasharray: 6 6; }
.yd-wall { stroke: var(--gold); stroke-width: 3; }
.yd-label { fill: var(--on-dark-3); font: 700 13px var(--font); letter-spacing: 0.14em; }
.yd-box { fill: var(--dark-2); stroke: var(--gold); stroke-width: 1.5; }
.yd-box-t { fill: #fff; font: 700 21px var(--font-head); letter-spacing: -0.02em; }
.yd-box-s { fill: var(--on-dark-2); font: 500 14px var(--font); }
.yd-link path { fill: none; stroke: var(--on-dark-3); stroke-width: 1.5; stroke-dasharray: 4 5; }
.yd-switch rect { fill: rgba(255, 255, 255, 0.08); stroke: var(--dark-line-2); stroke-width: 1.5; }
.yd-switch circle { fill: var(--on-dark-2); }
.yd-out { fill: #fff; font: 600 16px var(--font); }
.yd-off { fill: var(--on-dark-3); font: 500 12.5px var(--font); }

/* ---------- 04: checks a buyer can run ---------- */
.yb-proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.yb-proof > li { display: flex; }
.yb-proof__card {
  display: flex; flex: 1; flex-direction: column; padding: 26px 24px 22px; border: 1px solid var(--line); border-radius: 22px;
  background: var(--panel); color: inherit; transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.yb-proof__card:hover { transform: translateY(-3px); border-color: #d3b16b; box-shadow: 0 18px 34px rgba(11, 15, 20, 0.06); }
.yb-proof__card h3 { margin: 12px 0 10px; font-size: var(--t-h5); line-height: 1.15; letter-spacing: -0.035em; }
.yb-proof__card p:not(.yb-tiny) { font-size: var(--t-small); line-height: 1.6; color: var(--ink-2); }
.yb-proof__live { margin-top: 14px; padding: 11px 13px; border: 1px solid #ece5d7; border-radius: 12px; background: #fff; }
.yb-proof__card .yb-proof__live { font-size: var(--t-cap); line-height: 1.5; }
.yb-proof__live b { font-weight: 700; color: var(--ink); }
.yb-proof__go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 22px; font-size: var(--t-cap); font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--gold-ink); }
.yb-proof__go svg { width: 12px; height: 12px; }

/* ---------- 05: the law note in the why panel ---------- */
.yb-law { max-width: 470px; margin: 0 0 25px; padding: 16px 18px; border: 1px solid #e5d4ac; border-radius: 18px; background: rgba(255, 255, 255, 0.8); font-size: var(--t-small); line-height: 1.6; color: var(--ink-2); }
.yb-law b { display: block; margin-bottom: 4px; font-weight: 600; color: var(--ink); }

/* ---------- 06: how buying works ---------- */
.yb-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.yb-steps > li { padding: 26px 24px; border: 1px solid #e4e3df; border-radius: 22px; background: #fff; }
.yb-steps__n { display: block; margin-bottom: 14px; font-size: var(--t-cap); font-weight: 700; letter-spacing: 0.13em; color: var(--gold-ink); }
.yb-steps h3 { margin-bottom: 8px; font-size: var(--t-h5); line-height: 1.15; letter-spacing: -0.035em; }
.yb-steps p { font-size: var(--t-small); line-height: 1.6; color: var(--ink-2); }
#buying .yb-bundle__item { align-content: start; background: #fff; }

/* ---------- 07: inside the Box, a still in place of the film ---------- */
.yb-eng__film { margin: 0; }
.yb-eng__film img { border-radius: 18px; }
.yb-eng__cap { margin-top: 12px; font-size: var(--t-cap); color: var(--on-dark-2); }
.yb-eng__src { max-width: 490px; margin: -12px 0 28px; font-size: var(--t-cap); line-height: 1.6; color: var(--on-dark-2); }
.yb-eng__src a { color: var(--gold-light); }
main:has(.yb-eng) + .cta { border-top: 1px solid var(--line); }

/* ---------- 08: questions ---------- */
.yb-faq { max-width: 920px; border-top: 1px solid var(--line); }
.yb-faq details { border-bottom: 1px solid var(--line); }
.yb-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 60px; padding: 16px 0;
  cursor: pointer; list-style: none; font-size: var(--t-body); font-weight: 600; line-height: 1.4;
}
.yb-faq summary::-webkit-details-marker { display: none; }
.yb-faq summary::after {
  content: "+" / ""; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line-2);
  border-radius: 50%; font-size: var(--t-h6); font-weight: 400; line-height: 1; color: var(--gold-ink);
}
.yb-faq details[open] summary::after { content: "\2212" / ""; }
.yb-faq summary:hover::after { border-color: var(--ink); }
.yb-faq details p { max-width: 720px; padding: 0 0 22px; font-size: var(--t-body); line-height: 1.7; color: var(--ink-2); }

/* ---------- 09: enquire, with the founder's contact card ---------- */
.yb-talk__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: center; gap: 48px; }
.yb-talk__copy .yb-h2 { margin: 20px 0 22px; }
.yb-talk__copy > p:not(.yb-eyebrow):not(.yb-legal):not(.yb-talk__mail) { max-width: 560px; line-height: 1.7; color: var(--ink-2); }
.yb-talk__copy .actions { gap: 12px; margin-top: 26px; }
.yb-talk__mail { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 22px; font-size: var(--t-small); color: var(--ink-2); }
.yb-talk__mail a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.yb-copy {
  min-height: 44px; padding: 8px 15px; border: 1px solid var(--line-3); border-radius: 12px; background: #fff;
  font: inherit; font-weight: 600; color: var(--ink); cursor: pointer;
}
.yb-copy:hover { border-color: var(--ink); }
.yb-copy__ok { font-size: var(--t-cap); font-weight: 600; color: var(--gold-ink); }
.yb-legal { max-width: 640px; margin-top: 18px; font-size: var(--t-cap); line-height: 1.6; color: var(--ink-num); }
.yb-legal + .yb-legal { margin-top: 8px; }
.yb-qr {
  justify-self: end; width: min(100%, 364px); padding: 22px 22px 20px; border: 1px solid #e4e3df; border-radius: 26px;
  background: #fff; box-shadow: 0 10px 30px rgba(17, 20, 24, 0.05); text-align: center;
}
.yb-qr .yb-tiny { margin-bottom: 12px; }
/* the code keeps at least 280px across: below that it stops scanning reliably (tested) */
.yb-qr img { display: block; width: 100%; min-width: 280px; max-width: 320px; height: auto; margin: 0 auto; border-radius: 14px; }
.yb-qr__who { margin: 14px 0 14px; font-size: var(--t-small); line-height: 1.4; color: var(--ink-2); }
.yb-qr__who b { display: block; font-size: var(--t-body); font-weight: 600; color: var(--ink); }
.yb-qr__save { width: 100%; justify-content: center; }
/* the phone enquire bar: after the hero has scrolled away, until the enquiry section is on screen */
.yb-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97); box-shadow: 0 -10px 30px rgba(11, 15, 20, 0.08);
}
.yb-sticky[hidden] { display: none; }
.yb-sticky__p { display: flex; flex-direction: column; margin: 0; line-height: 1.25; }
.yb-sticky__p span { font-size: var(--t-cap); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-ink); }
.yb-sticky__p strong { font-size: var(--t-small); font-weight: 700; color: var(--ink); }
.yb-sticky__p em { font-size: var(--t-cap); font-style: normal; color: var(--ink-num); }
/* the bar never sits over the last row of the footer */
html.yb-sticky-on body { padding-bottom: calc(var(--yb-bar-h, 72px) + 8px); }
.yb-sticky__go { flex: none; min-height: 44px; }
@media (min-width: 768px) { .yb-sticky { display: none !important; } }
/* the site-wide chat button rides above the bar while it shows */
html.yb-sticky-on .lk-wa { bottom: calc(var(--yb-bar-h, 78px) + 8px); }
.yb-qr__hint { margin-top: 10px; font-size: var(--t-cap); line-height: 1.5; color: var(--ink-num); }

/* ---------- the windows: sourced specifications and the short version ---------- */
.yb-dlg__aed { margin: -10px 0 15px; font-size: var(--t-small); font-weight: 600; color: var(--ink-num); }
.yb-dlg__src { margin: -8px 0 20px; font-size: var(--t-cap); line-height: 1.6; color: var(--ink-num); }
.yb-dlg__specs--one { grid-template-columns: minmax(0, 1fr); }
.yb-dlg__specs--one > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 4px 18px; }
.yb-dlg__specs--one dd { font-size: var(--t-small); font-weight: 500; line-height: 1.55; }
.yb-dlg--glance .actions { gap: 10px; }
.yb-dlg .btn--line { background: #fff; }

/* ---------- laptops ---------- */
@media (max-width: 1359px) {
  .yb-hero__title { font-size: var(--t-display); }
}
@media (max-width: 1199px) {
  .yb-ben--main { grid-column: span 3; }
  .yb-ben--side, .yb-ben--half { grid-column: span 3; }
  .yb-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yb-scope { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1200px) {
  .yb-conn__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
}

/* ---------- tablets ---------- */
@media (max-width: 1023px) {
  .yb-scope { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .yb-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yb-talk__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .yb-qr { justify-self: start; }
  .yb-conn__fig { max-width: 640px; }
}
/* one column for the hero below the tablet's width: the words, then the Box with its price */
@media (min-width: 768px) and (max-width: 1023px) {
  .yb-hero__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .yb-hero__copy { padding: 56px 0 8px; }
  .yb-hero__art { flex-direction: column; align-items: flex-start; padding: 8px 0 0; }
  .yb-hero__tag { position: relative; top: auto; right: auto; align-self: flex-end; margin-bottom: 14px; }
  .yb-hero__img { max-width: 720px; align-self: center; }
  .yb-float { position: relative; left: auto; bottom: auto; margin: 16px 0 0; }
  .yb-hero__foot { position: static; padding: 6px 0 24px; }
}

/* ---------- phones ---------- */
@media (max-width: 767px) {
  .yb-hero__title { font-size: var(--t-display); }
  .yb-float--price { width: 100%; }
  /* the prices on the first phone screen: before the render, not under it */
  .yb-hero__art .yb-float--price { order: -1; margin: 0 0 16px; }
  .yb-swipe { display: block; }
  .yb-qr { display: flex; flex-direction: column; }
  .yb-qr .yb-tiny { order: 0; } .yb-qr__who { order: 1; margin-top: 0; } .yb-qr__save { order: 2; } .yb-qr img { order: 3; margin-top: 16px; } .yb-qr__hint { order: 4; }
  main { padding-bottom: 24px; }
  .yb-strip__list a { gap: 9px; }
  .yb-ben--main, .yb-ben--side, .yb-ben--half { grid-column: span 2; min-height: 0; }
  .yb-ben--main { min-height: 380px; }
  .yb-scope { grid-template-columns: minmax(0, 1fr); }
  .yb-proof, .yb-steps { grid-template-columns: minmax(0, 1fr); }
  .yb-compare { min-width: 640px; }
  /* connections: each row becomes a small card */
  .yb-flow thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .yb-flow, .yb-flow tbody, .yb-flow tr, .yb-flow th, .yb-flow td { display: block; width: auto; }
  .yb-flow tbody tr { padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .yb-flow tbody tr:last-child { border-bottom: 0; }
  .yb-flow tbody th, .yb-flow tbody td, .yb-flow tbody td:last-child { width: auto; padding: 0; border: 0; }
  .yb-flow tbody td { margin-top: 6px; }
  .yb-flow tbody td::before { content: attr(data-label) ": "; font-weight: 700; color: var(--ink); }
  /* on a phone the diagram's labels would be 6px: the table above already carries every row */
  .yb-conn__fig { display: none; }
  .yb-dlg__specs--one > div { grid-template-columns: minmax(0, 1fr); }
  .yb-talk__copy .actions .btn { width: 100%; justify-content: center; }
  .yb-qr { width: 100%; max-width: 364px; }
}

/* ---------- small phones ---------- */
@media (max-width: 479px) {
  .yb-qr { padding: 18px 14px 16px; }
  /* the prices stay on the first screen of a small phone */
  .yb-hero__tag { display: none; }
  .yb-hero__copy { padding-top: 28px; }
  .yb-hero__title { margin: 18px 0 16px; }
  .yb-faq summary { font-size: var(--t-small); }
}

/* ---------- printing the short version ---------- */
@media print {
  html.yb-print-glance body * { visibility: hidden; }
  html.yb-print-glance #yb-glance, html.yb-print-glance #yb-glance * { visibility: visible; }
  html.yb-print-glance #yb-glance { position: absolute; inset: 0 auto auto 0; width: 100%; max-height: none; overflow: visible; box-shadow: none; }
  html.yb-print-glance #yb-glance .actions, html.yb-print-glance #yb-glance .yb-dlg__close { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .yb-proof__card, .yb-strip__list a { transition: none; }
  .yb-proof__card:hover { transform: none; }
}
