/* Home v4 (hub #1617): how the ported mockup blocks sit inside our sections. */
.h4v-hero { padding: 128px 0 64px; }
.h4v-hero__in { position: relative; z-index: 1; }
.h4v-logos { padding-top: 40px; padding-bottom: 40px; }
.h4v-contact { margin-top: 96px; }

/* Meet Sena: our earlier canvas scenes in her four cards (Peter, 20 Nov). */
.dk .h6mc .v.v-ours { flex: 1; height: auto !important; min-height: 172px; display: flex; align-items: center; justify-content: center; padding: 12px 16px; }
.dk .h6mc .v.v-ours > .cvs { width: 100%; max-width: 320px; }

@media (max-width: 640px) {
  .h4v-hero { padding: 96px 0 32px; }
  .h4v-contact { margin-top: 64px; }
}

/* The Sena window in the hero stays light on the dark site, as in the mockup. */
html .dk.dk-heroDemo,
html[data-theme="dark"] .dk.dk-heroDemo,
html:not([data-theme="light"]) .dk.dk-heroDemo {
  --bg:#fff; --bg-alt:#f7f8f8; --card:#fff;
    --ink:#000; --body:#4a4d4c; --muted:#77807c;
    --line:#e6e8e7; --line-soft:#eeefef;
    --accent:#00fb9a; --accent-ink:#00a86b; --accent-wash:#eafff5; --accent-deep:#00875a;
    --sky:#7ce8ff;
    --band:#0a0c0b; --band-2:#111514; --band-line:#232725; --band-body:#a9b1ad;
    --grid-line:rgba(0,0,0,.045); --grid-dot:rgba(0,0,0,.07); --warn:#cf6647; --warn-wash:rgba(207,102,71,.12);
    --shadow:0 1px 2px rgba(0,0,0,.04),0 8px 24px rgba(0,0,0,.045);
    --shadow-lg:0 1px 2px rgba(0,0,0,.04),0 30px 70px rgba(10,20,15,.12);
    color-scheme:light;
}

/* Request buttons land on the form below the sticky header. */
#contact { scroll-margin-top: 88px; }

/* ── QA 21 Nov (good-page pass): sharp images, no repeats, readable in both themes ── */

/* Consumer activity: a drawn receipt instead of the 255px photo. Paper stays
   light in the dark theme, as every receipt on the site does. */
.dk .ca .h4r { position: relative; height: 330px; display: grid; place-items: center; }
.dk .h4r-p {
  width: 78%; padding: 22px 18px 18px; transform: rotate(-3deg);
  background: #fbfaf6; color: #1f1f1f; border: 1px solid #e4dfd5; border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 18px 40px -18px rgba(0,0,0,.35);
  font: 500 12px/1.2 var(--font-geist-mono), 'Geist Mono', ui-monospace, monospace;
  display: grid; gap: 10px;
}
.dk .h4r-s { font-weight: 700; letter-spacing: .08em; font-size: 12.5px; }
.dk .h4r-p small { color: #5b5b5b; font-size: 11px; margin-top: -4px; }
.dk .h4r-l, .dk .h4r-t { display: flex; justify-content: space-between; gap: 12px; }
.dk .h4r-l i, .dk .h4r-t i, .dk .h4r-l em, .dk .h4r-t em { font-style: normal; }
.dk .h4r-l:first-of-type { background: #dff8ec; box-shadow: 0 0 0 1.5px #00a86b; margin: 0 -6px; padding: 3px 6px; border-radius: 3px; }
.dk .h4r-t { border-top: 1.5px dashed #9c978c; padding-top: 10px; font-weight: 700; }
.dk .h4r-bc { height: 26px; margin-top: 6px; background: repeating-linear-gradient(90deg,#222 0 2px,transparent 2px 4px,#222 4px 5px,transparent 5px 8px); }
.dk .ca .h4r { padding-top: 40px; }
.dk .ca .ca-chip { top: 6px; }
.dk .cs-ph .pic img, .dk .pic img { object-position: 88% 50%; }
.dk .t3photo img { object-position: 50% 50%; }

/* Computer vision: clean photo of another site, the overlay drawn on it */
.dk .cv-ph img { object-position: 78% 50%; }
.dk #cv .cv-box { left: 64%; top: 20%; width: 26%; height: 44%; }
.dk #cv .cv-res { max-width: calc(100% - 24px); color: #3a4a46; }
.dk #cv .cv-tag, .dk #cv .cv-box { z-index: 2; }
.dk #cv .cv-res { z-index: 3; }
.dk #cv .cv-scan { z-index: 1; }

/* light theme: accent text and muted copy pass 4.5:1 (site rule: accent text #00804e) */
html:not([data-theme="dark"]) .dk { --accent-ink: #00804e; --accent-deep: #00804e; --muted: #626469; }
.dk .ca-pills span.g { background: #00804e; border-color: #00804e; color: #fff; }
.dk .cs-steps span { background: #00804e; opacity: .45; }
.dk .cs-steps span.on { opacity: 1; }
.dk .cs-ph .on4, .dk .ph2 .on4 { color: #5b5b5b; }
.dk .cs-stamp { color: #1f6e46; border-color: #1f6e46; background: rgba(255,255,255,.92); }
.dk .dsq-fs i { color: #565d5a; }
.dk .dsq-t small { color: #565d5a; }
.dk .cv-l span { opacity: .5; }
.dk .cv-l span.on { opacity: 1; }
.dk .dx.aud .tm, .dk .tr3 .t3tabs span, .dk .t3crm small { color: #55666b; }
.dk .tr3 .t3nm { color: #006b41; }
.dk .tr3 .t3pane small, .dk .tr3 .t3crm small { color: #55666b; }
.dk .t3photo .t3gt { background: #00804e; }
.dk .cs-ph .gr, .dk .ph2 .gr { color: #4a4d4c; }
.dk .t3crm .v { color: #00804e; }

/* dark theme: the mockup hard-codes light-theme inks here */
html[data-theme="dark"] .dk .cv-l span b { color: #00fa9a; }
html[data-theme="dark"] .dk #cv .cv-res { background: #111413; border-color: #00fa9a; color: #c4c7c5; }
html[data-theme="dark"] .dk .dsq-t b { color: #fff; }
html[data-theme="dark"] .dk .dsq-t small { color: #a1a1a1; }
html[data-theme="dark"] .dk .dsq-fs i { color: #c4c7c5; background: #111413; border-color: #ffffff26; }
html[data-theme="dark"] .dk .dsq-fs i::before { background: #5b615e; }
html[data-theme="dark"] .dk .dsq-fs i.on { color: #fff; background: #00fa9a14; border-color: #00fa9a99; }
html[data-theme="dark"] .dk .dsq-fs i.on::before { background: #00fa9a; }
html[data-theme="dark"] .dk .ca-pills span { border-color: #ffffff33; }
html[data-theme="dark"] .dk .ca-pills span.g { background: #00fa9a; border-color: #00fa9a; color: #0a0a0a; }
html[data-theme="dark"] .dk .ca-net { background: #00fa9a1a; color: #00fa9a; }
html[data-theme="dark"] .dk .cs-steps span { background: #00fa9a; color: #0a0a0a; }
html[data-theme="dark"] .dk .cs-steps i { border-top-color: #ffffff40; }
html[data-theme="dark"] .dk .rc2 { background: #fbfaf6; border-color: #e4dfd5; color: #1f1f1f; }
html[data-theme="dark"] .dk .rc2 .tot { color: #1f1f1f; }
html[data-theme="dark"] .dk .cs-ph .on4, html[data-theme="dark"] .dk .ph2 .on4 { color: #a1a1a1; }
html[data-theme="dark"] .dk .cs-stamp { color: #00fa9a; border-color: #00fa9a; background: rgba(10,10,10,.85); }
html[data-theme="dark"] .dk .dx.aud .tm, html[data-theme="dark"] .dk .tr3 .t3tabs span, html[data-theme="dark"] .dk .t3crm small { color: #a1a1a1; }
html[data-theme="dark"] .dk .tr3 .t3tabs span.on { color: #fff; }
html[data-theme="dark"] .dk .tr3 .t3pane small, html[data-theme="dark"] .dk .tr3 .t3crm small, html[data-theme="dark"] .dk .cs-ph .gr, html[data-theme="dark"] .dk .ph2 .gr { color: #a1a1a1; }
html[data-theme="dark"] .dk .t3photo .t3gt { background: #00fa9a; color: #0a0a0a; }
html[data-theme="dark"] .dk .t3crm .v { color: #00fa9a; }
html[data-theme="dark"] .dk .tr3 .t3nm { color: #00fa9a; background: #00fa9a1a; box-shadow: 0 0 0 1.5px #00fa9a; }
@media (prefers-color-scheme: dark) {
html:not([data-theme="light"]) .dk .cv-l span b { color: #00fa9a; }
html:not([data-theme="light"]) .dk #cv .cv-res { background: #111413; border-color: #00fa9a; color: #c4c7c5; }
html:not([data-theme="light"]) .dk .dsq-t b { color: #fff; }
html:not([data-theme="light"]) .dk .dsq-t small { color: #a1a1a1; }
html:not([data-theme="light"]) .dk .dsq-fs i { color: #c4c7c5; background: #111413; border-color: #ffffff26; }
html:not([data-theme="light"]) .dk .dsq-fs i::before { background: #5b615e; }
html:not([data-theme="light"]) .dk .dsq-fs i.on { color: #fff; background: #00fa9a14; border-color: #00fa9a99; }
html:not([data-theme="light"]) .dk .dsq-fs i.on::before { background: #00fa9a; }
html:not([data-theme="light"]) .dk .ca-pills span { border-color: #ffffff33; }
html:not([data-theme="light"]) .dk .ca-pills span.g { background: #00fa9a; border-color: #00fa9a; color: #0a0a0a; }
html:not([data-theme="light"]) .dk .ca-net { background: #00fa9a1a; color: #00fa9a; }
html:not([data-theme="light"]) .dk .cs-steps span { background: #00fa9a; color: #0a0a0a; }
html:not([data-theme="light"]) .dk .cs-steps i { border-top-color: #ffffff40; }
html:not([data-theme="light"]) .dk .rc2 { background: #fbfaf6; border-color: #e4dfd5; color: #1f1f1f; }
html:not([data-theme="light"]) .dk .rc2 .tot { color: #1f1f1f; }
html:not([data-theme="light"]) .dk .cs-ph .on4, html:not([data-theme="light"]) .dk .ph2 .on4 { color: #a1a1a1; }
html:not([data-theme="light"]) .dk .cs-stamp { color: #00fa9a; border-color: #00fa9a; background: rgba(10,10,10,.85); }
html:not([data-theme="light"]) .dk .dx.aud .tm, html:not([data-theme="light"]) .dk .tr3 .t3tabs span, html:not([data-theme="light"]) .dk .t3crm small { color: #a1a1a1; }
html:not([data-theme="light"]) .dk .tr3 .t3tabs span.on { color: #fff; }
html:not([data-theme="light"]) .dk .tr3 .t3pane small, html:not([data-theme="light"]) .dk .tr3 .t3crm small, html:not([data-theme="light"]) .dk .cs-ph .gr, html:not([data-theme="light"]) .dk .ph2 .gr { color: #a1a1a1; }
html:not([data-theme="light"]) .dk .t3photo .t3gt { background: #00fa9a; color: #0a0a0a; }
html:not([data-theme="light"]) .dk .t3crm .v { color: #00fa9a; }
html:not([data-theme="light"]) .dk .tr3 .t3nm { color: #00fa9a; background: #00fa9a1a; box-shadow: 0 0 0 1.5px #00fa9a; }
}

/* Quality: the receipt's lines start clear of the phone that overlaps its left edge */
.dk .rc2 { padding-left: 34px; }
.dk .rc2 .tot { margin-left: 0; }
html[data-theme="dark"] .dk .ph2 { border-color: #2c302e; }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) .dk .ph2 { border-color: #2c302e; } }
