/*
  Shared chrome for the route stubs (verify, order, account, restock,
  search, catalog/[format], about, 404, 500) and the internal-placeholder
  treatment used by pending policy sections.

  These pages consume design-system/tokens.css rather than inlining their
  own palette — see CLAUDE.md §5. Everything here is layout on top of those
  tokens; no colour is hardcoded.
*/
*{margin:0;padding:0;box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  background:linear-gradient(180deg,#F6FAFC,#DBEAF0 70%);
  background-attachment:fixed; min-height:100vh;
  color:var(--ink); font-family:var(--font-body,'Figtree',sans-serif);
  font-size:17px; line-height:1.55; letter-spacing:-0.011em;
  -webkit-font-smoothing:antialiased;
}
h1{font-family:var(--font-display,'Figtree',sans-serif);font-weight:600;letter-spacing:-0.035em;line-height:1.05;font-size:34px;margin:26px 0 14px}
h2{font-size:20px;font-weight:600;letter-spacing:-0.02em;margin:28px 0 8px}
a{color:inherit;text-decoration:none}
a:hover{color:var(--blue-deep)}
button{font-family:inherit;cursor:pointer}
:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:4px}
html.gate-active,html.gate-active body{overflow:hidden;height:100%}

.bb-wrap{max-width:820px;margin:0 auto;padding:0 22px}
.bb-nav{position:sticky;top:0;z-index:60;background:rgba(251,253,255,.72);backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px);border-bottom:1px solid rgba(0,0,0,.05)}
.bb-nav-inner{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;height:52px;max-width:1120px;margin:0 auto;padding:0 22px}
.bb-nav-links{grid-column:1;justify-self:start;font-size:13px;color:var(--ink-2);font-weight:500}
.logo-mark{height:18px;width:auto;display:block;grid-column:2}
.bb-cart{grid-column:3;justify-self:end;font-size:13px;font-weight:500;color:var(--ink-2)}

.lede{color:var(--ink-2);margin-bottom:20px}
.bb-form{display:flex;flex-direction:column;gap:8px;max-width:420px;margin:20px 0}
.bb-form label{font-size:13px;font-weight:500;color:var(--ink-2)}
.bb-form input,.bb-form select{font-family:inherit;font-size:16px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink)}
.bb-form button{margin-top:6px;background:var(--ink);color:#fff;border:none;border-radius:980px;padding:13px 22px;font-size:15px;font-weight:600;transition:background .18s}
.bb-form button:hover{background:var(--blue-deep)}
.bb-result{margin:18px 0 40px;font-size:15px;color:var(--ink-2);min-height:24px}
.bb-pills{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}
.bb-pill{border:1px solid var(--line);background:#fff;border-radius:980px;padding:8px 16px;font-size:13px;font-weight:500}
.bb-pill.on{border-color:var(--blue);color:var(--blue-deep)}

/* ---------------------------------------------------------------------
   INTERNAL PLACEHOLDER — never publicly visible.
   Pending policy sections and route notes render through this. It is
   deliberately loud: a bracketed string sitting in body text reads as a
   published policy with a typo, which is worse than an obvious gap.
   `data-internal` is the strip hook — the production build removes these
   nodes entirely rather than relying on CSS to hide them.
   --------------------------------------------------------------------- */
[data-internal]{
  display:block; margin:14px 0; padding:12px 14px 12px 16px;
  border-left:3px solid var(--flag-internal);
  background:repeating-linear-gradient(135deg,rgba(180,83,31,.07),rgba(180,83,31,.07) 8px,rgba(180,83,31,.13) 8px,rgba(180,83,31,.13) 16px);
  border-radius:0 10px 10px 0;
  font-size:13px; line-height:1.5; color:#6B3A12;
}
[data-internal]::before{
  content:"INTERNAL — NOT FOR PUBLICATION";
  display:block; font-size:10px; font-weight:600; letter-spacing:.14em;
  text-transform:uppercase; color:var(--flag-internal); margin-bottom:5px;
}
[data-internal] .needs{margin:6px 0 0 16px}
[data-internal] .needs li{margin:2px 0}
.status-attorney[data-internal]{border-left-color:#A1343C;}
.status-attorney[data-internal]::before{content:"ATTORNEY REVIEW REQUIRED — NOT FOR PUBLICATION";color:#A1343C}

/* Opaque, not 50% white: over the page gradient the translucent panel pulled the canonical
   disclaimer to 4.46:1 — under AA — where the same text reads 4.93:1 on white (measured live
   2026-09-19). The footer is a compliance block, so it gets a solid surface. */
.bb-foot{border-top:1px solid var(--line);margin-top:40px;padding:26px 0 40px;background:var(--surface)}
/* --ink-2, not --ink-3: the canonical RUO disclaimer is compliance-visible and must clear
   WCAG AA 4.5:1. Measured 2.59:1 on /club/ and 2.86:1 on /wholesale/ at --ink-3 (2026-09-19). */
.ruo{font-size:11.5px;line-height:1.6;color:var(--ink-2);max-width:820px}
.foot-base{margin-top:16px;font-size:11px;color:var(--ink-2)}
.brand-mark{font-weight:600;color:var(--ink-2)}
.bracket{color:var(--blue-deep)}   /* --blue is 3.63:1 at this size; --blue-deep clears AA. Bracket styling kept. */

@media (prefers-reduced-motion: reduce){
  .bb-form button{transition:none}
}
