/* rtbfabric-site only (not part of the kit). Linked in <head> through site.stylesheets.
   Brand stays the kit's: Outfit, link blue #144CFF. This file adds the site's own pieces:
   1 tokens and dark heroes · 2 home hero drawing · 3 home sections · 4 document layout with a left rail
   5 module rows · 6 bid-request field panel · 7 list/score figures and the threshold demo · 8 path drawing, notice, misc */

/* ---------- 1. tokens, dark heroes ---------- */
:root { --navy:#0B1230; --navy-2:#141D45; --blue:#144CFF; --drop:#E5484D; --pass:#1B8A4A; --surface:#F5F7FB; --rule:#DEE2E6; --text:#1E2330; --text-2:#4A5165;
  --mono:Consolas,Monaco,"Andale Mono","Ubuntu Mono",monospace; }
.hero.hero-video, .hero.dark { background:var(--navy) radial-gradient(ellipse at 88% 18%, rgba(20,76,255,.30), transparent 58%); }
.hero.dark { color:#fff; padding:52px 0 50px; }
.hero.dark h1 { color:#fff; font-size:2.6rem; margin:0 0 .7rem; text-wrap:balance; } /* balance: keeps the home headline from breaking inside "show-level" (T-1340) */
.hero.dark .sub-title { color:rgba(255,255,255,.8); font-size:1.28rem; line-height:1.55; max-width:760px; margin:0; }
.hero.dark .eyebrow { color:rgba(255,255,255,.7); }
.hero.dark .grid.one { max-width:none; }
.hero.dark .grid.has-frag { grid-template-columns:minmax(0,1fr) minmax(0,.92fr); gap:56px; align-items:center; }
.hero.dark .ctas { margin-top:1.4rem; }
.hero.dark .btn.outline { background:transparent; color:#fff; border-color:rgba(255,255,255,.55); }
@media (max-width:900px) { .hero.dark { padding:40px 0 38px; } .hero.dark h1 { font-size:2.1rem; } .hero.dark .sub-title { font-size:1.12rem; } .hero.dark .grid.has-frag { grid-template-columns:1fr; gap:28px; } }

/* ---------- 2. home hero drawing ---------- */
.hero-flow { --g1:27%; --g2:52%; --g3:77%; margin:0; background:rgba(255,255,255,.045); border:1px solid rgba(255,255,255,.14); border-radius:18px; padding:22px 26px 22px; box-shadow:0 22px 60px rgba(0,0,0,.38); }
.hf-ends { display:flex; justify-content:space-between; gap:16px; font-size:.86rem; font-weight:600; color:rgba(255,255,255,.86); line-height:1.25; }
.hf-ends span:last-child { text-align:right; }
.hf-link { position:relative; height:150px; margin:6px 0 0; }
.hf-link .pipe { position:absolute; left:0; right:0; top:44px; height:58px; border-radius:29px; background:linear-gradient(180deg,rgba(20,76,255,.42),rgba(20,76,255,.18)); border:1px solid rgba(132,166,255,.6); }
.hf-link .pipe::after { content:"Link"; position:absolute; left:8px; top:calc(100% + 9px); font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; color:rgba(255,255,255,.5); }
.hf-link .gate { position:absolute; top:22px; width:0; height:102px; border-left:2px dashed rgba(255,255,255,.75); }
.hf-link .gate i { position:absolute; left:-14px; top:-26px; width:28px; height:28px; border-radius:50%; background:#fff; color:var(--navy); font-style:normal; font-weight:600; font-size:.9rem; display:flex; align-items:center; justify-content:center; }
.hf-link .gate.g1 { left:var(--g1); } .hf-link .gate.g2 { left:var(--g2); } .hf-link .gate.g3 { left:var(--g3); }
.hf-link .dot { position:absolute; top:73px; left:0; width:13px; height:13px; margin:-6px 0 0 -6px; border-radius:50%; background:#fff; opacity:0; will-change:left,transform,opacity; }
.hf-link .dot.r1 { top:61px; } .hf-link .dot.r3 { top:85px; }
.hf-link .dot.pass { animation:rq-pass 7s linear infinite; }
.hf-link .dot.d1 { animation:rq-d1 7s linear infinite; } .hf-link .dot.d2 { animation:rq-d2 7s linear infinite; } .hf-link .dot.d3 { animation:rq-d3 7s linear infinite; }
@keyframes rq-pass { 0%{left:3%;opacity:0} 5%{opacity:1} 95%{opacity:1} 100%{left:97%;opacity:0} }
@keyframes rq-d1 { 0%{left:3%;opacity:0;transform:none;background:#fff} 5%{opacity:1} 27%{left:var(--g1);opacity:1;transform:none;background:#fff} 30%{left:var(--g1);opacity:1;transform:none;background:#FF6B6B} 42%{left:var(--g1);opacity:0;transform:translateY(58px);background:#FF6B6B} 100%{left:var(--g1);opacity:0;transform:translateY(58px);background:#FF6B6B} }
@keyframes rq-d2 { 0%{left:3%;opacity:0;transform:none;background:#fff} 5%{opacity:1} 52%{left:var(--g2);opacity:1;transform:none;background:#fff} 55%{left:var(--g2);opacity:1;transform:none;background:#FF6B6B} 67%{left:var(--g2);opacity:0;transform:translateY(58px);background:#FF6B6B} 100%{left:var(--g2);opacity:0;transform:translateY(58px);background:#FF6B6B} }
@keyframes rq-d3 { 0%{left:3%;opacity:0;transform:none;background:#fff} 5%{opacity:1} 77%{left:var(--g3);opacity:1;transform:none;background:#fff} 80%{left:var(--g3);opacity:1;transform:none;background:#FF6B6B} 92%{left:var(--g3);opacity:0;transform:translateY(58px);background:#FF6B6B} 100%{left:var(--g3);opacity:0;transform:translateY(58px);background:#FF6B6B} }
.hf-gates { position:relative; list-style:none; margin:0; padding:0; height:46px; }
.hf-gates li { position:absolute; top:0; width:25%; transform:translateX(-50%); text-align:center; font-size:.84rem; font-weight:600; line-height:1.25; color:#fff; }
.hf-gates li:nth-child(1) { left:var(--g1); } .hf-gates li:nth-child(2) { left:var(--g2); } .hf-gates li:nth-child(3) { left:var(--g3); }
.flow-legend { display:flex; flex-wrap:wrap; gap:8px 22px; justify-content:center; margin:14px 0 0; padding-top:14px; border-top:1px solid rgba(255,255,255,.12); font-size:.86rem; color:rgba(255,255,255,.78); }
.flow-legend span { display:inline-flex; align-items:center; gap:8px; }
.flow-legend i { width:11px; height:11px; border-radius:50%; background:#fff; display:inline-block; }
.flow-legend i.x { background:#FF6B6B; }
@media (prefers-reduced-motion: reduce) {
  .hf-link .dot { animation:none !important; opacity:1; }
  .hf-link .dot.pass.r1 { left:90%; } .hf-link .dot.pass.r2 { left:64%; } .hf-link .dot.pass.r3 { left:12%; }
  .hf-link .dot.d1 { left:var(--g1); transform:translateY(40px); background:#FF6B6B; } .hf-link .dot.d2 { left:var(--g2); transform:translateY(40px); background:#FF6B6B; } .hf-link .dot.d3 { left:var(--g3); transform:translateY(40px); background:#FF6B6B; }
}
@media (max-width:520px) { .hero-flow { --g1:19%; --g2:50%; --g3:81%; padding:18px 14px; } .hf-ends { font-size:.78rem; } .hf-link { margin-top:14px; } .hf-gates { height:62px; } .hf-gates li { width:31%; font-size:.76rem; } .hf-link .pipe::after { display:none; } }
.hero-split .sub-title { font-size:1.42rem; line-height:1.55; }
@media (max-width:900px) { .hero-split .sub-title { font-size:1.18rem; } .hero.hero-video { padding:44px 0 48px; } }

/* ---------- 3. home sections ---------- */
.lede-sec .lede { max-width:820px; margin:0 auto; text-align:center; font-size:1.22rem; line-height:1.6; color:var(--text); font-weight:300; }
.outcomes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; max-width:980px; margin:30px auto 0; }
.outcome { border:1px solid var(--rule); border-radius:14px; padding:22px 24px 20px 26px; background:#fff; position:relative; font-size:1.06rem; line-height:1.55; color:var(--text-2); overflow:hidden; }
.outcome::before { content:""; position:absolute; left:0; top:0; bottom:0; width:6px; background:var(--pass); }
.outcome.drop::before { background:var(--drop); }
.outcome b { display:block; color:var(--text); font-weight:600; font-size:1.2rem; margin:0 0 4px; }
.after-outcomes { max-width:820px; margin:26px auto 0; text-align:center; font-size:1.08rem; color:var(--text); }
.fineprint { max-width:820px; margin:8px auto 0; text-align:center; font-size:.92rem; color:var(--muted2); }
.fam { max-width:980px; margin:14px auto 0; border-top:1px solid var(--rule); }
.fam a.row { display:grid; grid-template-columns:230px 1fr 24px; gap:18px; align-items:baseline; padding:15px 10px; border-bottom:1px solid var(--rule); color:inherit; text-decoration:none; transition:background .12s; }
.fam a.row:hover { background:#fff; text-decoration:none; } .fam a.row:hover b, .fam a.row:focus-visible b { color:var(--blue); }
.fam a.row b { font-weight:600; font-size:1.1rem; } .fam a.row span { color:var(--text-2); } .fam a.row i { font-style:normal; color:var(--blue); text-align:right; }
@media (max-width:700px) { .outcomes { grid-template-columns:1fr; } .fam a.row { grid-template-columns:1fr 24px; } .fam a.row span { grid-column:1 / -1; grid-row:2; } }
.steps3 { list-style:none; counter-reset:st; margin:26px auto 0; padding:0; max-width:1040px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; position:relative; }
.steps3 li { counter-increment:st; position:relative; padding:58px 22px 0 0; }
.steps3 li::before { content:counter(st); position:absolute; left:0; top:0; width:42px; height:42px; border-radius:50%; background:var(--blue); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:600; font-size:1.08rem; z-index:1; }
.steps3 li::after { content:""; position:absolute; left:42px; right:0; top:20px; height:2px; background:var(--rule); }
.steps3 li:last-child::after { display:none; }
.steps3 h3 { font-size:1.22rem; font-weight:600; line-height:1.3; margin:0 0 6px; }
.steps3 p { margin:0; color:var(--text-2); font-size:1.02rem; line-height:1.55; }
@media (max-width:760px) { .steps3 { grid-template-columns:1fr; } .steps3 li { padding:4px 0 26px 60px; } .steps3 li::after { left:20px; right:auto; top:46px; bottom:4px; width:2px; height:auto; } }

/* ---------- 4. document layout: left rail + left-aligned body ---------- */
.doc-wrap { padding:52px 0 70px; }
.doc { display:grid; grid-template-columns:220px minmax(0,1fr); gap:64px; align-items:start; }
.doc.norail { grid-template-columns:minmax(0,860px); }
.rail { position:sticky; top:22px; font-size:.96rem; line-height:1.35; }
.rail .rail-h { font-size:.8rem; font-weight:600; color:var(--muted2); margin:0 0 8px; }
.rail a { display:block; padding:7px 0 7px 14px; border-left:2px solid var(--rule); color:var(--text-2); text-decoration:none; }
.rail a:hover { color:var(--blue); text-decoration:none; }
.rail a.on { border-left-color:var(--blue); color:var(--blue); font-weight:600; }
.rail .rail-group + .rail-group { margin-top:26px; }
.doc-sec { padding:0 0 44px; margin:0 0 44px; border-bottom:1px solid var(--rule); scroll-margin-top:22px; }
.doc-sec:last-child { border-bottom:0; margin-bottom:0; padding-bottom:0; }
.doc-sec > h2 { font-size:1.8rem; line-height:1.2; margin:0 0 16px; }
.doc-sec p, .doc-sec li { font-size:1.08rem; line-height:1.68; color:var(--text); }
.doc-sec > p, .doc-sec > ul, .doc-sec > ol { max-width:740px; }
.doc-sec ul { margin:0 0 1rem; padding-left:22px; } .doc-sec li { margin:0 0 8px; }
.doc-sec b { font-weight:600; }
.doc-sec .code { max-width:740px; margin:14px 0 18px; font-size:.9rem; }
.doc-sec .lead-p { font-size:1.22rem; line-height:1.6; font-weight:300; color:var(--text); }
@media (max-width:900px) {
  .doc-wrap { padding:28px 0 48px; }
  .doc { grid-template-columns:minmax(0,1fr); gap:22px; }
  .rail { position:static; display:flex; gap:8px; overflow-x:auto; padding:2px 12px 8px; margin:0 -12px; scrollbar-width:none; }
  .rail::-webkit-scrollbar { display:none; }
  .rail .rail-h { display:none; }
  .rail .rail-group { display:flex; gap:8px; } .rail .rail-group + .rail-group { margin-top:0; }
  .rail a { flex:0 0 auto; border:1px solid var(--rule); border-radius:900px; padding:5px 14px; background:#fff; white-space:nowrap; }
  .rail a.on { border-color:var(--blue); }
  .doc-sec { padding-bottom:32px; margin-bottom:32px; } .doc-sec > h2 { font-size:1.55rem; }
}
/* definition rows (RTB Fabric parts) and link rows */
.defs { margin:6px 0 0; border-top:1px solid var(--rule); max-width:860px; }
.defs > div { display:grid; grid-template-columns:210px 1fr; gap:22px; padding:16px 0; border-bottom:1px solid var(--rule); }
.defs dt { font-weight:600; font-size:1.1rem; color:var(--text); }
.defs dd { margin:0; font-size:1.06rem; line-height:1.6; color:var(--text-2); }
@media (max-width:640px) { .defs > div { grid-template-columns:1fr; gap:4px; } }
.linkrows { list-style:none; margin:6px 0 0; padding:0 !important; max-width:620px; border-top:1px solid var(--rule); }
.linkrows li { margin:0 !important; border-bottom:1px solid var(--rule); }
.linkrows a { display:flex; justify-content:space-between; align-items:center; gap:14px; padding:13px 4px; font-size:1.06rem; text-decoration:none; }
.linkrows a::after { content:"↗"; color:var(--muted2); font-size:1rem; }
.linkrows a:hover { text-decoration:none; background:var(--surface); }
/* numbered steps (How to use) */
.steps { max-width:760px; margin:6px 0 0; counter-reset:st; list-style:none; padding:0 !important; }
.steps > li { position:relative; padding:0 0 26px 62px; counter-increment:st; margin:0; }
.steps > li::before { content:counter(st); position:absolute; left:0; top:0; width:40px; height:40px; border-radius:50%; background:var(--blue); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:600; font-size:1.05rem; }
.steps > li::after { content:""; position:absolute; left:19px; top:46px; bottom:6px; width:2px; background:var(--rule); }
.steps > li:last-child { padding-bottom:0; } .steps > li:last-child::after { display:none; }
.steps h3 { font-size:1.22rem; font-weight:600; margin:5px 0 4px; line-height:1.3; }
.steps p { margin:0; color:var(--text-2); font-size:1.04rem; }
/* FAQ */
.faq-doc .qa { padding:24px 0; border-bottom:1px solid var(--rule); scroll-margin-top:22px; }
.faq-doc .qa:first-child { padding-top:0; } .faq-doc .qa:last-child { border-bottom:0; }
.faq-doc .qa h3 { font-size:1.3rem; font-weight:600; line-height:1.3; margin:0 0 8px; }
.faq-doc .qa p { margin:0; font-size:1.08rem; line-height:1.68; color:var(--text-2); max-width:760px; }

/* ---------- 5. module rows ---------- */
.m-tools { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin:0 0 6px; }
.m-tools .chip { cursor:pointer; font-family:inherit; line-height:1.4; }
.m-tools .chip.on { background:var(--blue); border-color:var(--blue); color:#fff; }
.m-fieldnote { display:none; align-items:center; flex-wrap:wrap; gap:8px 10px; margin:0 0 22px; padding:10px 14px; border-radius:10px; background:#EEF2FF; font-size:.95rem; color:var(--text); }
.m-fieldnote.show { display:flex; }
.m-fieldnote code { font-family:var(--mono); background:#fff; color:#27408B; padding:2px 8px; border-radius:6px; font-size:.84rem; font-weight:400; }
.m-fieldnote button { font:inherit; font-size:.92rem; color:var(--blue); background:none; border:0; padding:0; margin-left:auto; cursor:pointer; text-decoration:underline; }
.fam-block { margin:0 0 44px; scroll-margin-top:22px; }
.fam-block:last-child { margin-bottom:0; }
.fam-head { display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 16px; margin:0 0 12px; }
.fam-head h2 { font-size:1.6rem; line-height:1.2; margin:0; }
.fam-head p { margin:0; color:var(--text-2); font-size:1.02rem; }
.mrows { border:1px solid var(--rule); border-radius:14px; background:#fff; overflow:hidden; }
.mrow { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(0,1.15fr) 112px; gap:20px; align-items:start; padding:16px 20px; border-top:1px solid var(--rule); }
.mrow:first-child { border-top:0; }
.mrow.head { padding:9px 20px; background:var(--surface); font-size:.8rem; font-weight:600; color:var(--muted2); align-items:center; }
.mrow.mod { scroll-margin-top:80px; transition:background .12s; }
.mrow.mod:hover { background:#FAFBFE; }
.mrow.mod:target { background:#F1F5FF; box-shadow:inset 4px 0 0 var(--blue); }
.mrow h3 { font-size:1.12rem; font-weight:600; line-height:1.3; margin:0 0 3px; color:var(--text); }
.mrow .m-what { margin:0; font-size:.98rem; line-height:1.5; color:var(--text-2); }
.mrow .m-match { font-size:.95rem; line-height:1.45; color:var(--text); }
.mrow .m-match span { display:block; }
.mrow code { display:inline-block; margin:5px 4px 0 0; font-family:var(--mono); font-size:.8rem; font-weight:400; color:#27408B; background:#EEF2FF; padding:2px 7px; border-radius:5px; white-space:nowrap; }
.mrow .m-link { margin:6px 0 0; font-size:.95rem; }
.m-type { display:inline-flex; align-items:center; gap:7px; font-size:.84rem; font-weight:600; padding:4px 11px 4px 9px; border-radius:900px; line-height:1.3; white-space:nowrap; }
.m-type svg { width:16px; height:12px; flex:0 0 auto; }
.m-type.score { background:#EEF2FF; color:#144CFF; } .m-type.list { background:#F1F3F5; color:#343A40; } .m-type.enrichment { background:#E3F9EE; color:#11693A; }
.mrow.mod[hidden], .fam-block[hidden] { display:none; }
.mrow .m-loop { grid-column:1 / -1; margin-top:-6px; }
.m-loop summary { display:inline-flex; align-items:center; gap:9px; cursor:pointer; list-style:none; font-size:.92rem; font-weight:600; color:var(--link); padding:3px 0; border-radius:6px; }
.m-loop summary::-webkit-details-marker { display:none; }
.m-loop summary::before { content:""; flex:0 0 auto; width:22px; height:22px; border-radius:50%; background:#EEF2FF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M8.6 6.6v8.8l7-4.4z' fill='%23144CFF'/%3E%3C/svg%3E") center/22px no-repeat; }
.m-loop[open] summary::before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7 7l8 8M15 7l-8 8' stroke='%23144CFF' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.m-loop summary:hover { text-decoration:underline; text-underline-offset:3px; }
.m-loop summary:focus-visible { outline:2px solid var(--link); outline-offset:3px; }
.m-loop .when-open, .m-loop[open] .when-closed { display:none; } .m-loop[open] .when-open { display:inline; }
.m-loop video { display:block; width:100%; height:auto; aspect-ratio:16 / 9; margin:12px 0 4px; border:1px solid var(--rule); border-radius:10px; background:#F3F5FC; }
@media (max-width:760px) {
  .mrow.head { display:none; }
  .mrow { grid-template-columns:minmax(0,1fr) auto; gap:6px 12px; padding:16px; }
  .mrow.mod { border-top:1px solid var(--rule); } .mrows .mrow.mod:nth-child(2) { border-top:0; }
  .mrow .m-main { grid-column:1; grid-row:1; } .mrow .m-ty { grid-column:2; grid-row:1; }
  .mrow .m-match { grid-column:1 / -1; display:grid; grid-template-columns:86px minmax(0,1fr); gap:10px; font-size:.92rem; }
  .mrow .m-match::before { content:attr(data-label); color:var(--muted2); }
  .mrow code { white-space:normal; overflow-wrap:anywhere; }
  .mrow .m-loop { margin-top:6px; }
}

/* ---------- 6. bid-request field panel (Modules hero) ---------- */
.bidreq { margin:0; background:#0A0F26; border:1px solid rgba(255,255,255,.16); border-radius:16px; box-shadow:0 22px 60px rgba(0,0,0,.4); overflow:hidden; }
.bidreq-bar { display:flex; align-items:center; gap:8px; padding:11px 16px; border-bottom:1px solid rgba(255,255,255,.1); font-size:.86rem; color:rgba(255,255,255,.72); }
.bidreq-bar i { width:9px; height:9px; border-radius:50%; background:rgba(255,255,255,.22); display:inline-block; }
.bidreq-bar span { margin-left:8px; }
.bidreq pre { margin:0; padding:14px 20px 16px; font-family:var(--mono); font-size:.9rem; line-height:1.62; color:rgba(255,255,255,.46); white-space:pre; overflow-x:auto; }
.bidreq button { font:inherit; color:#D5DFFF; background:rgba(20,76,255,.26); border:1px solid rgba(132,166,255,.5); border-radius:6px; padding:0 7px; cursor:pointer; line-height:1.45; }
.bidreq button:hover, .bidreq button:focus-visible { background:rgba(20,76,255,.55); color:#fff; }
.bidreq button[aria-pressed="true"] { background:#fff; color:var(--navy); border-color:#fff; }
@media (max-width:520px) { .bidreq pre { font-size:.8rem; padding:14px; } }

/* ---------- 7. list / score figures, threshold demo ---------- */
.kinds { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; margin:4px 0 0; }
.kind { border:1px solid var(--rule); border-radius:14px; padding:20px 22px 22px; background:#fff; }
.kind p { margin:14px 0 0 !important; font-size:1.04rem !important; line-height:1.6 !important; color:var(--text-2) !important; }
.kind p b { color:var(--text); }
.kind-fig { height:74px; border-radius:10px; background:var(--surface); position:relative; overflow:hidden; }
.fig-list { display:grid; grid-template-rows:repeat(4,1fr); gap:5px; padding:10px 14px; }
.fig-list i { display:block; border-radius:4px; background:#DCE1EC; width:62%; }
.fig-list i:nth-child(2) { width:78%; } .fig-list i:nth-child(3) { width:70%; background:var(--drop); } .fig-list i:nth-child(4) { width:54%; }
.fig-score .bar { position:absolute; left:18px; right:18px; top:30px; height:8px; border-radius:4px; background:linear-gradient(90deg,#DCE1EC 0 62%, var(--drop) 62% 100%); }
.fig-score .mark { position:absolute; left:calc(18px + (100% - 36px) * .62); top:18px; width:2px; height:32px; background:var(--text); }
.fig-score .mark::before { content:""; position:absolute; left:-5px; top:-6px; width:12px; height:12px; border-radius:50%; background:var(--text); }
.fig-score .lo, .fig-score .hi { position:absolute; top:46px; font-size:.78rem; color:var(--muted2); font-family:var(--mono); } .fig-score .lo { left:18px; } .fig-score .hi { right:18px; }
@media (max-width:700px) { .kinds { grid-template-columns:1fr; } }
.thr { max-width:740px; margin:22px 0 6px; border:1px solid var(--rule); border-radius:14px; padding:38px 24px 18px; background:var(--surface); }
.thr-track { position:relative; height:66px; }
.thr-track .bar { position:absolute; left:0; right:0; top:42px; height:8px; border-radius:4px; background:#DCE1EC; }
.thr-track .zone { position:absolute; right:0; top:42px; height:8px; border-radius:0 4px 4px 0; background:var(--drop); }
.thr-track .pt { position:absolute; top:12px; width:12px; height:12px; margin-left:-6px; border-radius:50%; background:#fff; border:2px solid #8A93A8; transition:background .15s, border-color .15s, transform .15s; }
.thr-track .pt.hit { background:var(--drop); border-color:var(--drop); transform:translateY(27px); }
.thr-track .mark { position:absolute; top:4px; width:2px; height:54px; margin-left:-1px; background:var(--text); pointer-events:none; }
.thr-track .mark::after { content:""; position:absolute; left:-9px; top:33px; width:20px; height:20px; box-shadow:0 1px 4px rgba(0,0,0,.3); border-radius:50%; background:var(--text); border:2px solid #fff; box-sizing:border-box; }
.thr-track .mark span { position:absolute; left:50%; top:-24px; transform:translateX(-50%); font-size:.84rem; font-weight:600; color:var(--text); white-space:nowrap; }
.thr-track input[type=range] { position:absolute; left:-10px; width:calc(100% + 20px); top:26px; height:40px; margin:0; opacity:0; cursor:ew-resize; }
.thr-track input[type=range]:focus-visible ~ .mark::after { outline:3px solid var(--blue); outline-offset:2px; }
.thr-ends { display:flex; justify-content:space-between; font-size:.86rem; color:var(--text-2); margin-top:4px; }
.thr-legend { display:flex; gap:20px; margin-top:12px; font-size:.9rem; color:var(--text-2); }
.thr-legend span { display:inline-flex; align-items:center; gap:7px; }
.thr-legend i { width:11px; height:11px; border-radius:50%; background:#fff; border:2px solid #8A93A8; display:inline-block; box-sizing:border-box; } .thr-legend i.x { background:var(--drop); border-color:var(--drop); }

/* ---------- 8. path drawing, notice, misc ---------- */
.path { display:flex; align-items:stretch; gap:0; margin:24px 0 0; max-width:860px; }
.path .box { flex:1 1 0; min-width:0; background:#fff; border:1px solid var(--rule); border-radius:12px; padding:16px 10px; text-align:center; font-weight:600; font-size:.98rem; line-height:1.3; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.path .box.link { flex:2.1 1 0; border:2px solid var(--blue); background:#F5F8FF; padding:16px 12px; }
.path .box .mods { display:flex; flex-wrap:wrap; gap:6px; justify-content:center; margin-top:10px; font-weight:400; }
.path .box .mods span { font-size:.84rem; border:1px dashed #9DB4F5; border-radius:900px; padding:3px 11px; color:#3B4A6B; background:#fff; }
.path .box .mods span.px { border:1px solid var(--blue); background:var(--blue); color:#fff; font-weight:600; }
.path .arr { flex:0 0 30px; display:flex; align-items:center; justify-content:center; color:var(--muted2); font-size:1.25rem; }
@media (max-width:760px) { .path { flex-direction:column; max-width:420px; } .path .arr { flex-basis:24px; transform:rotate(90deg); } }
.notice { max-width:740px; margin:0 0 34px; border:1px solid #F0D48A; background:#FFF9E8; border-radius:12px; padding:16px 20px; font-size:1.08rem; line-height:1.55; }
.notice b { font-weight:600; }
.band h2 + .btn { margin-top:8px; }

/* ---------- 9. show data page: hero loop, channel schedule drawing ---------- */
.hero.dark .grid.has-anim { grid-template-columns:minmax(0,.84fr) minmax(0,1.3fr); gap:44px; align-items:center; }
.hero.dark .grid.has-anim h1 { font-size:2.25rem; line-height:1.18; margin-bottom:.8rem; }
.hero.dark .grid.has-anim .sub-title { font-size:1.14rem; line-height:1.55; margin-bottom:0; }
.hero.dark .anim video { border:1px solid rgba(255,255,255,.16); border-radius:14px; background:#F3F5FC; box-shadow:0 22px 60px rgba(0,0,0,.38); aspect-ratio:16 / 9; }
@media (max-width:900px) { .hero.dark .grid.has-anim { grid-template-columns:1fr; gap:26px; } .hero.dark .grid.has-anim h1 { font-size:2.1rem; } }
/* channel schedule drawing: one channel's airings in a row, a marker at the time of the request, the airing it falls in marked */
.sched { max-width:740px; margin:26px 0 4px; border:1px solid var(--rule); border-radius:14px; background:var(--surface); padding:18px 22px 20px; }
.sched-top { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 44px; }
.sched-top b { display:inline-flex; align-items:center; gap:10px; font-weight:600; font-size:1.05rem; color:var(--text); }
.sched-top b::before { content:""; width:26px; height:19px; border:2px solid var(--blue); border-radius:4px; box-sizing:border-box; box-shadow:0 5px 0 -3px var(--blue); }
.sched-top span { font-size:.8rem; color:var(--text-2); border:1px solid var(--rule); border-radius:900px; padding:2px 11px; background:#fff; }
.sched-row { position:relative; display:grid; grid-template-columns:4fr 6fr 4fr 6fr; gap:4px; }
.sched-row > div { min-width:0; background:#fff; border:1px solid var(--rule); border-radius:8px; padding:11px 12px 10px; font-weight:600; font-size:.98rem; line-height:1.25; color:var(--text-2); }
.sched-row > div small { display:block; margin-top:3px; font-family:var(--mono); font-weight:400; font-size:.76rem; color:var(--muted2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sched-row > div.on { background:var(--blue); border-color:var(--blue); color:#fff; } .sched-row > div.on small { color:rgba(255,255,255,.82); }
.sched-mark { font-style:normal; position:absolute; left:41%; top:-14px; bottom:-10px; width:2px; margin-left:-1px; background:var(--text); pointer-events:none; }
.sched-mark span { position:absolute; left:50%; top:-25px; transform:translateX(-50%); white-space:nowrap; font-size:.82rem; font-weight:600; color:#fff; background:var(--text); border-radius:900px; padding:3px 11px; }
.sched-note { margin:18px 0 0; padding-left:calc(20% + 4px); font-size:.92rem !important; font-weight:600; color:var(--blue) !important; line-height:1.3 !important; }
@media (max-width:560px) { .sched { padding:16px 14px 18px; } .sched-row { grid-template-columns:4fr 7fr 4fr 4fr; gap:3px; } .sched-row > div { padding:9px 6px 8px; font-size:.8rem; white-space:nowrap; } .sched-row > div small { font-size:.66rem; } .sched-row > div:not(.on) small { display:none; } .sched-mark { left:44%; } .sched-note { padding-left:calc(21.05% + 3px); } }

/* 10. home hero loop (site.hero_anim): the Video Producer's reel in the hero's right column, in place of the drawing */
.hero-split h1 { text-wrap:balance; }
.hero-split .grid.has-anim { grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr); gap:44px; align-items:center; }
.hero-split .grid.has-anim h1 { font-size:2.3rem; line-height:1.16; }
.hero-split .grid.has-anim .sub-title { font-size:1.2rem; }
.hero-split .anim { margin:0; }
.hero-split .anim video { border:1px solid rgba(255,255,255,.16); border-radius:14px; background:#F3F5FC; box-shadow:0 22px 60px rgba(0,0,0,.38); aspect-ratio:16 / 9; }
.hero-split .anim figcaption { color:rgba(255,255,255,.62); font-size:.86rem; line-height:1.45; margin:0 2px; }
@media (max-width:900px) { .hero-split .grid.has-anim { grid-template-columns:1fr; gap:28px; } .hero-split .grid.has-anim h1 { font-size:2.05rem; } .hero-split .grid.has-anim .sub-title { font-size:1.12rem; } }

/* 11. pause control under a hero loop (build.py anim_block; labels are the writer's, ea1b31d) */
.anim.ctl { display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:16px; row-gap:12px; align-items:start; }
.anim.ctl video, .anim.ctl img { grid-column:1 / -1; grid-row:1; }
.anim.ctl figcaption { grid-column:1; grid-row:2; }
.anim-toggle { grid-column:2; grid-row:2; display:inline-flex; align-items:center; gap:7px; font:inherit; font-size:.84rem; font-weight:500; line-height:1; white-space:nowrap; color:rgba(255,255,255,.88); background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.3); border-radius:999px; padding:7px 13px 7px 11px; cursor:pointer; }
.anim-toggle[hidden] { display:none; }
.anim-toggle:hover { background:rgba(255,255,255,.16); border-color:rgba(255,255,255,.55); color:#fff; }
.anim-toggle:focus-visible { outline:2px solid #fff; outline-offset:2px; }
.anim-toggle svg { width:11px; height:11px; fill:currentColor; flex:none; }
.anim-toggle .i-play, .anim-toggle.paused .i-pause { display:none; }
.anim-toggle.paused .i-play { display:block; }

/* 12. AWS Marketplace links (Jason, 2026-11-19: "two buttons, contact and the marketplace"; labels content-writer c2b510a) */
.visually-hidden { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; border:0; }
.band-ctas { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; }
.band h2 + .band-ctas { margin-top:8px; }
.band .btn.ghost-dark { text-decoration:none; }
.band .btn.ghost-dark:focus-visible, .band .btn.on-blue:focus-visible { outline:2px solid #fff; outline-offset:3px; }
.mrow .m-mkt a::after { content:"\2197"; display:inline-block; margin-left:.3em; font-size:.85em; text-decoration:none; }
