/* Tilvo — build styles on top of tokens.css + brivo.css + mockups.css + palette.css + type.css.
   Layout for this page's sections only; every colour, radius and type size comes from the tokens. */

/* ── Hero A: capsule header, copy on the content edge, the Friday dashboard on the indigo field stage ── */
.tv-hero .vh-a__caps { position: relative; flex-wrap: wrap; }
.tv-hero .mnav { flex: 1 0 100%; margin-top: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); }
.tv-hero .vh-a__copy { justify-items: start; text-align: left; padding: 60px var(--inset) 48px; gap: 20px; }
.tv-hero .vh-a__title { max-width: 11.5em; }
.tv-hero .vh-a__copy .t-lead { max-width: 36em; }
.tv-hero .vh-a__form { justify-items: start; width: min(480px, 100%); margin-top: 8px; }
.tv-hero .vh-a__form .note { font-size: 14px; color: var(--text-2); }
.tv-hero .vh-a__stage { height: 488px; padding: 52px 0 0; }
.tv-hero .mk.vh-a__win { max-width: 940px; grid-template-columns: 72px 1fr; }
.tv-hero .vh-a__main { padding: 28px 32px; gap: 22px; }
.tv-hero .vh-a__kpis > div { padding: 18px 22px; }
.tv-hero .vh-a__kpis b { font-size: 34px; }
.tv-hero .vh-a__tx > div { padding: 14px 4px; font-size: 16px; }
.tv-hero .vh-a__tx small { font-size: 14px; }
.tv-hero .vh-a__kpis > div { align-content: start; }
.tv-hero .vh-a__kpis b small { font: 400 15px/1 var(--font); letter-spacing: 0; color: var(--muted); }
.tv-hero .vh-a__kpis .mk-bar i { background: var(--accent); }
.tv-hero .vh-a__tx > div > b { font-variant-numeric: tabular-nums; }
.tv-hero .vh-a__tx .coin { width: 32px; height: 32px; font-size: 13px; }
.tv-hero .vh-a__tx .mk-pill { flex: none; min-width: 52px; justify-content: center; font-style: normal; }
/* the card overlaps the window's lower-left corner (over the icon rail only), the toast its upper-right edge */
.tv-hero .mk.vh-a__card { left: calc(50% - 470px - 148px); bottom: 72px; }
.tv-hero .vh-a__rcpt { top: 10px; right: auto; left: calc(50% + 470px - 200px); box-shadow: var(--shadow-2); }
.tv-hero .vh-a__rcpt small { white-space: nowrap; }

/* ── Kitchens (sig-2, mirrored): field cell left follows the kitchen rows on the right ── */
.tv-kitchens { display: grid; grid-template-columns: 7fr 5fr; border-top: 1px solid var(--line); }
.tv-kitchens__field { background: var(--field); display: grid; place-items: center; padding: 64px 48px; min-height: 560px; }
.tv-kitchens__field > .mk { grid-area: 1 / 1; width: min(460px, 100%); }
.tv-card { opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out), visibility 0s .45s; }
.tv-card.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
.tv-card .mk-card { background: linear-gradient(180deg, var(--grad-top), var(--grad-bot)); color: var(--text); }
.tv-card__limit { flex-wrap: wrap; }
.tv-card__limit .mk-bar { flex: 1 0 100%; margin-top: 8px; }
.tv-card .mk-bar i { background: var(--info); }
.tv-card .mk-ctrl__row .tv-card__coin { width: 32px; height: 32px; font-size: 13px; flex: 0 0 32px; }
.tv-card .mk-ctrl__row span + span { flex: 1; }
.tv-card .mk-ctrl__row > b { font-weight: 500; font-variant-numeric: tabular-nums; }
.tv-card .mk-pill--due { flex: none; font-style: normal; }
.tv-kitchens__list { border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.tv-row { display: grid; gap: 6px; width: 100%; padding: 28px var(--inset); border-top: 1px solid var(--line); text-align: left; transition: background-color .3s var(--ease); }
.tv-row:first-child { border-top: 0; }
.tv-row:hover .tv-row__t { color: var(--text-2); }
.tv-row.is-open { background: var(--surface); }
.tv-row__top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.tv-row__t { font: 500 20px/1.4 var(--font-display); letter-spacing: -.5px; transition: color .3s var(--ease); }
.tv-row__v { font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--text); white-space: nowrap; }
.tv-row__who { font-size: 14px; color: var(--text-2); }
.tv-row__bar { display: block; height: 4px; margin-top: 8px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.tv-row__bar i { display: block; width: var(--w); height: 100%; border-radius: inherit; background: var(--accent); }
.tv-row:not(.is-open) .tv-row__bar i { background: var(--muted); }
.tv-row__p { display: none; max-width: 44ch; margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--text-2); text-wrap: pretty; }
.tv-row.is-open .tv-row__p { display: block; }
.tv-kitchens__list .tv-row:last-child { flex: 1; align-content: start; }

/* ── Invoice match (charcoal): two documents joined by a seam of match marks ── */
.tv-short { --seam: 120px; }
.tv-match { position: relative; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--cl); }
.tv-match__col { padding: 48px var(--inset) 56px; display: grid; gap: 20px; align-content: start; }
.tv-match__col:first-child { padding-right: calc(var(--seam) / 2 + var(--inset)); }
.tv-match__col:last-child { padding-left: calc(var(--seam) / 2 + var(--inset)); }
.tv-match__lbl { font-size: 15px; font-weight: 500; color: var(--on-dark-2); }
.tv-doc.mk-dark { width: 100%; max-width: none; }
.tv-doc .mk-dark__amt { align-items: center; }
.tv-doc .mk-dark__amt > span:nth-child(2) { flex: 1; }
.tv-doc__pill { flex: none; font-style: normal; }
.dark .tv-doc .mk-pill--ok { background: color-mix(in srgb, var(--success) 22%, var(--deep-3)); color: #8EE6B8; }
.dark .tv-doc .mk-pill--due { background: color-mix(in srgb, var(--danger) 24%, var(--deep-3)); color: #FFB3B5; }
.tv-doc .mk-tag { margin-left: 8px; }
.tv-doc__rows { display: grid; gap: 6px; margin-top: 6px; }
.tv-doc__rows li { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 52px; padding: 0 16px; border-radius: var(--r); background: var(--deep-3); font-size: 15px; color: var(--on-dark); }
.tv-doc__rows b { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tv-doc__rows li.is-flag { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--danger) 70%, transparent); }
.tv-dot { display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--success); vertical-align: middle; }
.tv-match__seam { position: absolute; top: 0; bottom: 0; left: calc(50% - var(--seam) / 2); width: var(--seam); border-inline: 1px solid var(--cl); list-style: none; margin: 0; display: grid; align-content: start; justify-items: center; gap: 6px; padding: calc(48px + 24px + 20px + 8px + 54px + 12px + 30px) 0 0; }
.tv-match__seam li { position: relative; width: 100%; height: 52px; display: grid; place-items: center; }
.tv-match__seam li.is-flag::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: color-mix(in srgb, var(--danger) 70%, transparent); }
.tv-seam__flag { position: relative; height: 28px; padding: 0 10px; font-size: 13px; }
.tv-tick { width: 28px; height: 28px; border-radius: 50%; background: var(--success); display: grid; place-items: center; }
.tv-tick svg { width: 16px; height: 16px; fill: none; stroke: var(--on-dark); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tv-match__result { display: grid; grid-template-columns: 1fr var(--seam) 1fr; border-top: 1px solid var(--cl); margin-top: 0; }
.tv-match__ok { grid-column: 1 / 3; grid-row: 1; display: grid; gap: 14px; align-content: start; padding: 40px var(--inset) 44px; border-right: 1px solid var(--cl); color: var(--on-dark); }
.dark .tv-match__ok .tv-match__amt { font: 500 36px/1.1 var(--font-display); letter-spacing: -1.6px; font-variant-numeric: tabular-nums; color: var(--on-dark); }
.tv-match__ok p { display: flex; gap: 12px; align-items: flex-start; }
.tv-match__ok p b { display: block; font: 500 18px/1.5 var(--font-display); letter-spacing: -.4px; color: var(--on-dark); }
.tv-match__ok p small { display: block; margin-top: 2px; font-size: 14px; line-height: 1.5; color: var(--on-dark-2); max-width: 46ch; }
.tv-match__ok .mk-check { flex: none; margin-top: 3px; }
.tv-match__facts { grid-column: 3; grid-row: 1; display: grid; }
.tv-match__facts li { padding: 32px var(--inset) 34px; display: grid; gap: 8px; align-content: start; }
.tv-match__facts li + li { border-top: 1px solid var(--cl); }
.tv-match__facts .t-small { max-width: 44ch; }

/* ── Friday run: white head, then the field band with the week (five white cells) and the approval card ── */
.tv-friday__band { background: var(--field); border-top: 1px solid var(--line); }
.tv-week { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--bg); border-bottom: 1px solid var(--line); }
.tv-week li { padding: 28px var(--inset) 32px; display: grid; gap: 4px; align-content: start; }
.tv-week li + li { border-left: 1px solid var(--line); }
.tv-week__d { font-size: 14px; color: var(--text-2); }
.tv-week b { font: 500 20px/1.4 var(--font-display); letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.tv-week small { font-size: 14px; color: var(--text-2); }
.tv-week li.is-now { background: var(--text); color: var(--bg); }
.tv-week li.is-now .tv-week__d, .tv-week li.is-now small { color: color-mix(in srgb, var(--bg) 72%, transparent); }
.tv-friday__stage { display: grid; place-items: center; padding: 88px 48px 96px; }
.tv-run__wrap { position: relative; width: min(1120px, 100%); }
.mk.mk-dark.tv-run { width: 100%; max-width: none; padding: 8px; }
.tv-run__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 24px 24px 28px; }
.tv-run__t { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--on-dark-2); }
.tv-run__t .mk-pill { font-style: normal; }
.tv-run .mk-dark__big { margin-top: 8px; color: var(--on-dark); }
.tv-run .mk-dark__big small { color: var(--on-dark-2); }
.tv-run__btn { flex: none; display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border-radius: var(--r); background: var(--bg); color: var(--text); font-size: 15px; font-weight: 500; }
.tv-run__table { display: grid; gap: 6px; }
.tv-run__th, .tv-run__tr { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.2fr; align-items: center; gap: 16px; padding: 0 20px; }
.tv-run__th { height: 36px; font-size: 13px; color: var(--on-dark-2); }
.tv-run__tr { height: 60px; border-radius: var(--r); background: var(--deep-3); font-size: 15px; color: var(--on-dark); font-variant-numeric: tabular-nums; }
.tv-run__th span:last-child, .tv-run__tr b { text-align: right; }
.tv-run__tr b { font-weight: 500; }
.tv-run__tr > span:first-child { display: flex; align-items: center; gap: 12px; }
.tv-run__tr .coin { width: 30px; height: 30px; font-size: 12px; font-style: normal; }
.tv-run__held { color: #FFB3B5; }
.tv-run__tr.is-held { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--danger) 60%, transparent); }
.tv-approve__toast.mk-toast { position: absolute; right: -36px; top: -30px; box-shadow: var(--shadow-2); }

/* ── Integrations (library integrations-b): the core cell reads in ink on the pale field ── */
.tv-int .vm2-hub__core b, .tv-int .vm2-hub__core small { color: var(--text) !important; }
.tv-int .vm2-hub__core small { color: color-mix(in srgb, var(--text) 78%, transparent) !important; }

/* ── Brasa story (charcoal): the customer's sentence at display size, three proof cells beneath ── */
.tv-story__quote { margin: 0; padding: 112px var(--inset) 72px; display: grid; gap: 36px; justify-items: start; }
.tv-story__quote blockquote { margin: 0; }
.dark .tv-story__q { font: 500 76px/1.02 var(--font-display); letter-spacing: -0.035em; text-wrap: balance; color: var(--on-dark); text-indent: -.42em; }
.tv-story__by { display: flex; align-items: center; gap: 14px; }
.tv-story__by b { display: block; font-weight: 500; color: var(--on-dark); }
.tv-story__by small { display: block; font-size: 14px; color: var(--on-dark-2); }
.dark .tv-story__ini { font-size: 14px; background: var(--accent); color: var(--on-accent); }
.tv-story__stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--cl); }
.tv-story__stats li { padding: 40px var(--inset) 44px; display: grid; gap: 8px; align-content: start; }
.tv-story__stats li + li { border-left: 1px solid var(--cl); }
.dark .tv-story__stats .t-stat { color: var(--on-dark); }
.dark .tv-story__stats p { font-size: 15px; line-height: 1.5; color: var(--on-dark-2); max-width: 30ch; }
.dark .tv-story__stats p span { color: var(--on-dark); font-weight: 500; }
.tv-story h2.sr-only { font-weight: 500; }

/* ── FAQ C: the topic column pins a small demo cell to its bottom, so it never reads empty ── */
@media (min-width: 901px) { .tv-faq .v-faqc__cats { display: flex; flex-direction: column; } }
.tv-faq__call { margin-top: auto; padding: 32px var(--inset) 36px; border-top: 1px solid var(--line); display: grid; gap: 10px; justify-items: start; }
.tv-faq__call b { display: block; font: 500 18px/1.5 var(--font-display); letter-spacing: -.4px; }
.tv-faq__call small { display: block; font-size: 14px; line-height: 1.5; color: var(--text-2); max-width: 32ch; margin-bottom: 6px; }
.tv-faq .v-faqc__cats button:nth-of-type(3) { border-bottom: 0; }
.tv-faq .faq__list p { max-width: 64ch; }

/* ── Footer D ── */
.v-fd__top h2 { text-wrap: balance; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .tv-kitchens { grid-template-columns: 1fr 1fr; }
  .tv-week { grid-template-columns: repeat(3, 1fr); }
  .tv-week li:nth-child(4) { border-left: 0; }
  .tv-week li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .dark .tv-story__q { font-size: 60px; }
  .tv-hero .mk.vh-a__win { max-width: calc(100% - 96px); }
  .tv-hero .mk.vh-a__card { left: 16px; }
  .tv-hero .vh-a__rcpt { left: auto; right: 16px; }
  .tv-approve__toast.mk-toast { right: 16px; }
}
@media (max-width: 900px) {
  .tv-hero .vh-a__stage { height: auto; padding: 40px 24px 24px; }
  .tv-hero .mk.vh-a__win { max-width: none; }
  .tv-hero .vh-a__rcpt { position: relative; left: auto; right: auto; top: auto; margin: -22px 0 0 16px; width: fit-content; }
  .tv-kitchens { grid-template-columns: 1fr; }
  .tv-kitchens__list { border-left: 0; border-top: 1px solid var(--line); }
  .tv-kitchens__field { min-height: 0; padding: 48px 24px; }
  .tv-match { grid-template-columns: 1fr; }
  .tv-match__col:last-child { gap: 0; border-top: 1px solid var(--cl); }
  .tv-match__seam { border-bottom: 1px solid var(--cl); border-top: 0 !important; }
  .tv-match__col:last-child .tv-match__lbl { margin-top: 20px; }
  .tv-match__col:last-child .tv-doc { margin-top: 20px; }
  .tv-match__seam { margin: -40px calc(-1 * var(--inset)) 0; position: static; width: auto; border-inline: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 18px var(--inset); border-top: 1px solid var(--cl); }
  .tv-match__col:first-child, .tv-match__col:last-child { padding: 40px var(--inset) 44px; }
  .tv-match__seam::before { content: "Line by line"; font-size: 14px; color: var(--on-dark-2); margin-right: 6px; }
  .tv-match__seam li { width: auto; height: auto; }
  .tv-match__seam li.is-flag::before { display: none; }
  .tv-match__seam + .tv-match__col { border-left: 0; border-top: 1px solid var(--cl); }
  .tv-match__result { grid-template-columns: 1fr; }
  .tv-match__ok, .tv-match__facts { grid-column: auto; grid-row: auto; border-right: 0; }
  .tv-match__facts { border-top: 1px solid var(--cl); }
  .tv-story__quote { padding: 72px var(--inset) 56px; }
  .dark .tv-story__q { font-size: 46px; }
  .tv-friday__stage { padding: 48px 24px 56px; }
  .tv-approve__toast.mk-toast { position: relative; right: auto; top: auto; margin: -14px 16px 0 auto; width: fit-content; }
  .tv-run__head { flex-direction: column; align-items: flex-start; }
  .tv-run__th, .tv-run__tr { grid-template-columns: 1.6fr .8fr 1.2fr; }
  .tv-run__th span:nth-child(2), .tv-run__tr > span:nth-child(2) { display: none; }
  .tv-faq__call { display: none; }
}
@media (max-width: 560px) {
  .tv-hero .vh-a__copy { padding: 40px 20px 36px; }
  .tv-hero .vh-a__form .v-field { flex-direction: column; }
  .tv-hero .vh-a__form .v-field .btn { width: 100%; }
  .tv-hero .vh-a__stage { padding: 28px 16px 20px; }
  .tv-hero .vh-a__kpis { grid-template-columns: 1fr; }
  .tv-hero .vh-a__kpis > div + div { border-left: 0; border-top: 1px solid var(--line-2); }
  .tv-hero .vh-a__tx .coin { display: none; }
  .tv-hero .vh-a__rcpt { margin: -18px 0 0 8px; }
  .tv-week { grid-template-columns: 1fr 1fr; }
  .tv-week li { border-left: 0 !important; border-top: 1px solid var(--line); }
  .tv-week li:nth-child(even) { border-left: 1px solid var(--line) !important; }
  .tv-week li:nth-child(-n+2) { border-top: 0; }
  .tv-week li.is-now { grid-column: 1 / -1; }
  .tv-story__stats { grid-template-columns: 1fr; }
  .tv-story__stats li + li { border-left: 0; border-top: 1px solid var(--cl); }
  .dark .tv-story__q { font-size: 38px; }
  .tv-row { padding: 22px var(--inset); }
  .tv-doc .mk-dark__amt { flex-wrap: wrap; align-items: flex-start; }
  .tv-doc .mk-dark__amt > .tv-doc__pill { margin-left: 50px; }
  .tv-doc__rows li { padding: 0 12px; font-size: 14px; }
  .v-ctab .v-field { flex-direction: column; }
  .v-ctab .v-field .btn { width: 100%; }
}

/* display-font figures: proportional, so the grotesk's wide tabular stops never gap the amounts */
.t-stat, .mk-big, .mk-dark__big, .dark .tv-match__ok .tv-match__amt, .tv-week b, .tv-run .mk-dark__big, .vh-a__kpis b { font-variant-numeric: lining-nums proportional-nums; }
.dark .tv-story__q { text-indent: 0; }

@media (max-width: 560px) {
  .tv-card__limit > span:first-child { flex: 1 0 100%; }
  .tv-card__limit > b { margin-top: 4px; }
}

.tv-run .mk-dark__big { padding: 0; }
.tv-friday__stage > .tv-run__wrap { min-width: 0; }
@media (max-width: 560px) {
  .tv-friday__stage { padding: 40px 16px 48px; }
  .mk.mk-dark.tv-run { padding: 6px; }
  .tv-run__head { padding: 18px 14px 20px; gap: 16px; }
  .tv-run__th, .tv-run__tr { grid-template-columns: minmax(0, 1.5fr) minmax(0, .9fr) minmax(0, 1.2fr); gap: 10px; padding: 0 12px; font-size: 14px; }
  .tv-run__tr .coin { width: 26px; height: 26px; }
  .tv-run__tr > span:first-child { gap: 8px; min-width: 0; }
}
/* hero window: an invoice column fills the middle of each supplier row */
.tv-hero .vh-a__tx > div > span:nth-child(2) { flex: 1 1 0; }
.tv-hero .tv-tx__inv { flex: 0 0 200px; display: flex; align-items: center; gap: 0; }
.tv-ic { width: 32px; height: 32px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--text-2); }
.tv-ic svg, .tv-st svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tv-ln { width: 36px; display: grid; place-items: center; color: var(--success-ink); }
.tv-ln svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tv-ln.is-bad { color: var(--danger-ink); }
.tv-st { margin-left: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--success); color: var(--on-dark); display: grid; place-items: center; }
.tv-st svg { width: 13px; height: 13px; stroke-width: 2.4; }
.tv-st.is-bad { background: var(--danger); }
@media (max-width: 1100px) { .tv-hero .tv-tx__inv { display: none; } }
.tv-hero .vh-a__tx > div > b { flex: 0 0 104px; text-align: right; }
.tv-hero .vh-a__tx .mk-pill { flex: 0 0 108px; display: inline-flex; justify-content: center; }
@media (max-width: 560px) { .tv-hero .vh-a__tx > div > b { flex: none; } }
@media (max-width: 560px) { .tv-hero .vh-a__tx .mk-pill { display: none; } .tv-hero .vh-a__tx > div > span:nth-child(2) { min-width: 0; } }
@media (max-width: 560px) {
  .tv-hero .vh-a__main { padding: 16px 14px; gap: 16px; }
  .tv-hero .vh-a__kpis > div { padding: 14px 16px; }
  .tv-hero .vh-a__kpis b { font-size: 26px; }
  .tv-hero .vh-a__tx > div { font-size: 15px; padding: 12px 2px; }
  .tv-hero .vh-a__rcpt { max-width: calc(100% - 24px); }
  .tv-hero .vh-a__rcpt small { white-space: normal; }
}
@media (max-width: 560px) { .tv-hero .mk.vh-a__win { grid-template-columns: 1fr; } }

/* hero, round 2: headline left, lead + form in the right column (bottom-aligned), the field stage richer and closer */
@media (min-width: 1101px) {
  .tv-hero .vh-a__copy { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; column-gap: 64px; padding: 64px var(--inset) 56px; }
  .tv-hero .vh-a__title { max-width: none; margin: 0; }
  .tv-hero .tv-hero__side { display: grid; gap: 22px; padding-top: 6px; }
  .tv-hero .tv-hero__side .t-lead { max-width: 36em; }
  .tv-hero .vh-a__form { margin-top: 0; width: 100%; }
}
.tv-hero__side { display: grid; gap: 20px; justify-items: start; }
.tv-hero .vh-a__stage { background: linear-gradient(180deg, var(--grad-top) 0%, var(--grad-bot) 68%, color-mix(in srgb, var(--grad-bot) 62%, var(--accent)) 100%); }
.tv-hero .mk.vh-a__card { left: 16px; bottom: 56px; }
@media (max-width: 1100px) { .tv-hero .mk.vh-a__card { display: none; } }
@media (max-width: 900px) {
  .tv-hero .vh-a__stage { display: flex; flex-direction: column; }
  .tv-hero .vh-a__rcpt { order: -1; position: relative; z-index: 2; margin: 0 0 -20px 16px; }
}
/* hero, round 3: the kitchen card only kisses the window's lower-left edge; the phone toast tucks in less */
@media (min-width: 1101px) {
  .tv-hero .mk.vh-a__win { max-width: 880px; }
  .tv-hero .mk.vh-a__card { left: calc(50% - 440px - 188px); bottom: 48px; }
  .tv-hero .vh-a__rcpt { left: calc(50% + 440px - 196px); }
}
@media (max-width: 900px) { .tv-hero .vh-a__rcpt { margin: 0 0 -10px 16px; } }

/* ════ Hero swapped back to the previous build's shared sorvi-frame hero (Farhan 2026-10-21) — header C capsule over the photo frame ════ */
.tv-head.site-head { position: absolute; top: 0; left: 0; right: 0; z-index: 40; background: none; border: 0; }
.tv-head .frame { border-inline-color: transparent; padding: 28px 16px 0; }
.tv-head .v-capsule { box-shadow: 0 1px 2px rgba(20, 20, 20, .06); }
.tv-head .mnav { margin-top: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); }
.tv-logo { width: 28px; height: 28px; }

/* white copy on the photo's darker left third; the pay-run window is a kit screen */
.sh-sorvi-frame { --hero-tuck: 0px; --hero-pad-top: 148px; --sh-scrim: 1.14; }
[data-host-skill="brivo"].sh-sorvi-frame h1 { color: var(--on-dark); max-width: 9.6em; }
[data-host-skill="brivo"].sh-sorvi-frame .sh-eyebrow { color: var(--on-dark); background: none; padding: 0; border-radius: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; font-size: 15px; font-weight: 500; }   /* plain label, like Brivo's own (hero-blend) */
.sh-sorvi-frame .sh-lead { max-width: 30em; }
@media (min-width: 1181px) {
  .sh-sorvi-frame .sh-grid { grid-template-columns: 500px minmax(0, 1fr); }
  .sh-sorvi-frame .sh-visual { justify-self: end; width: min(580px, 100%); }
}
.sh-win__body { display: block; padding: 22px 24px 26px; background: var(--bg); }
.tv-hrun .mk-big { font-size: 34px; }
.tv-hrun .mk-tr b { display: inline-flex; align-items: center; gap: 10px; }
.tv-hrun .coin { width: 26px; height: 26px; font-size: 12px; }
.tv-hero-toast.mk-toast { position: static; box-shadow: var(--shadow-2); }
.tv-hero-toast.mk-toast b { color: var(--text); }
.tv-hero-toast.mk-toast small { color: var(--text-2); }
[data-host-skill="brivo"] .sh-win__title { color: var(--text-2); }
@media (min-width: 1025px) { .sh-sorvi-frame .sh-story { top: -76px; right: 28px; width: 272px; } }
@media (max-width: 1024px) {
  .tv-head .frame { padding-top: 20px; }
  .sh-sorvi-frame { --gutter: 40px; }
}
@media (max-width: 560px) {
  .sh-sorvi-frame { --gutter: 20px; --hero-pad-top: 124px; }
  .sh-sorvi-frame .sh-story, .sh-sorvi-frame .sh-story[data-pos] { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: auto; margin: 12px 0 0; }
  .sh-win__body { padding: 16px 14px 18px; }
  .tv-hrun .mk-big { font-size: 28px; }
  .tv-hrun .coin { display: none; }
  .tv-hrun .mk-table { --mk-cols: 1.6fr 1fr !important; }
}
/* the window rises over the + strip that picks the rails up again, so the strip is the only gap under the hero */
.sh-sorvi-frame { position: relative; z-index: 2; padding-bottom: 0; }
@media (max-width: 560px) { .sh-sorvi-frame { padding-bottom: 0; } }
/* copy lines up with the page's content edge (the frame inset) and sits vertically centred below the header */
@media (min-width: 1181px) {
  .sh-sorvi-frame .sh-grid { width: min(var(--container), 100% - 2 * var(--gutter)); padding-inline: calc(var(--inset) - 11px); align-items: center; padding-top: 104px; padding-bottom: 0; }
  .sh-sorvi-frame .sh-copy { padding-bottom: 0; align-self: center; }
}
/* the story card overlaps the pay-run window's top edge */
@media (min-width: 1025px) { .sh-sorvi-frame .sh-story { top: -58px; } }
/* very wide screens: the left scrim falls short of the copy, so a soft fade sits only under the text block (contrast @2560) */
@media (min-width: 1700px) {
  .sh-sorvi-frame .sh-copy { position: relative; }
  .sh-sorvi-frame .sh-copy::before { content: ""; position: absolute; inset: -96px -140px -96px -200px; z-index: -1; pointer-events: none;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--sh-tone) 62%, transparent), color-mix(in srgb, var(--sh-tone) 30%, transparent) 70%, transparent); }
}
