/* ── REFERENCE BUILD PAGE — strata levy control ── */

/* Reference-build status note under the hero intro */
.refbuild-note{display:flex;align-items:flex-start;gap:14px;background:rgba(0,55,255,.04);border:1px solid rgba(0,55,255,.14);border-radius:6px;padding:16px 20px;margin-top:28px}
.rb-badge{font-size:9px;font-weight:600;text-transform:uppercase;letter-spacing:1px;color:var(--blue);background:var(--white);border:1px solid rgba(0,55,255,.2);border-radius:3px;padding:5px 9px;white-space:nowrap;flex-shrink:0;margin-top:1px}
.refbuild-note p{font-size:12px;font-weight:300;color:var(--muted);line-height:1.7}

/* Tags that flag the study's status */
.tag-note{background:rgba(0,55,255,.06);border-color:rgba(0,55,255,.2);color:var(--blue);font-weight:600}

/* Screenshots of the working tool */
.study-figure{margin:28px 0 0}
.study-figure img{display:block;width:100%;height:auto;border:1px solid var(--rule);border-radius:6px;background:var(--page)}
.study-figure figcaption{font-size:11.5px;font-weight:300;color:#545C6B;line-height:1.7;margin-top:10px}
.study-figure figcaption strong{color:var(--ink);font-weight:600}

/* Sidebar link to the live tool */
.sidebar-link{display:block;font-size:12.5px;font-weight:500;color:var(--blue);text-decoration:none;padding:11px 0 0;transition:opacity .15s}
.sidebar-link:hover{opacity:.75}

/* Worked example strip (the arithmetic) */
.arithmetic{background:var(--page);border:1px solid var(--rule);border-radius:6px;padding:20px 24px;margin-top:24px}
.arith-row{display:flex;align-items:baseline;justify-content:space-between;gap:20px;padding:9px 0;border-bottom:1px solid var(--rule);font-size:13px;font-weight:300;color:var(--muted);line-height:1.5}
.arith-row:last-child{border-bottom:none;padding-bottom:0}
.arith-row span:last-child{font-weight:500;color:var(--ink);white-space:nowrap}
.arith-row.arith-total{border-bottom:none;border-top:1px solid rgba(0,55,255,.25);margin-top:6px;padding-top:12px}
.arith-row.arith-total span{font-weight:600;color:var(--ink)}

/* ── FULL-WIDTH SCREENSHOT BAND ── */
.shots-band{background:var(--page);border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);padding:72px 64px 80px}
.shots-inner{max-width:1200px;margin:0 auto}
.shots-head{margin-bottom:36px;max-width:720px}
.shots-h2{font-size:26px;font-weight:600;color:var(--ink);letter-spacing:-.3px;margin-bottom:12px;line-height:1.25}
.shots-sub{font-size:14px;font-weight:300;color:#545C6B;line-height:1.8}
.shots-band .study-figure{margin-top:32px}
.shots-band .study-figure img{box-shadow:0 8px 32px rgba(11,13,20,.07)}

/* ── TAIL SECTION (single reading column) ── */
.study-body--tail{padding-top:64px}
.study-body-inner--single{grid-template-columns:minmax(0,760px)}

/* Two CTAs at the foot of the page */
.tail-cta{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:36px}

@media(max-width:1024px){
  .plain-row{grid-template-columns:1fr}
  .plain-was{border-right:none;border-bottom:1px solid var(--rule)}
  .shots-band{padding-left:32px;padding-right:32px}
}
@media(max-width:768px){
  .refbuild-note{flex-direction:column;gap:10px}
  .arith-row{flex-direction:column;gap:2px}
  .arith-row span:last-child{white-space:normal}
  .shots-h2{font-size:22px}
  .tail-cta .btn-primary,.tail-cta .btn-outline{width:100%;text-align:center;justify-content:center}
}
