/* ============================================================
   openclassactions.css — faithful recreation of openclassactions.com
   Real brand facts, sourced 2026-08-03 from their own stylesheet
   (css/style.css custom properties) and article/nav markup via curl:
   magenta #b512ce, black #111611, Libre Franklin (sans) + Raleway
   (display), green check accent, 10-14px pill/card radii.
   ============================================================ */
body.openclassactions {
  --brand: #b512ce;            /* --oca-magenta */
  --brand-hover: #9c0eb3;       /* --oca-magenta-hover */
  --brand-ink: #ffffff;
  --paper: #ffffff;
  --ink: #111611;               /* --oca-black */
  --muted: #555555;
  --muted-2: #777777;
  --rule: #ebecee;              /* --oca-gray-200 */
  --pink-bg: #fff4fb;
  --green: #96c26c;             /* --oca-green */
  --oca-sans: "Libre Franklin", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --oca-display: "Raleway", var(--oca-sans);
  --oca-serif: Georgia, "Times New Roman", Times, serif;
  font-family: var(--oca-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}

/* ---- navbar ---- */
.oca-navbar { border-bottom: 1px solid var(--rule); }
.oca-inner { max-width: 1100px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; gap: 28px; height: 56px; }
.oca-brand { display: block; }
.oca-brand-mark { display: block; height: 28px; width: auto; }
.oca-nav-links { list-style: none; display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; flex: 1; }
.oca-nav-links a {
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: 14px;
}
.oca-nav-links a.active, .oca-nav-links a:hover { color: var(--brand); }
.oca-avatar-slot { color: var(--ink); display: inline-flex; }

/* ---- article shell ---- */
.oca-main { max-width: 900px; margin: 0 auto; padding: 30px 40px 80px; }
.oca-crumb { margin: 0 0 18px; font-size: 12.5px; font-weight: 700; color: var(--muted-2); }
.oca-crumb a { color: var(--muted-2); text-decoration: none; }
.oca-crumb a:hover { color: var(--brand); }
.oca-crumb .sep { margin: 0 4px; }

.oca-eyebrow {
  font-family: var(--oca-sans); font-weight: 800; font-size: 12.5px;
  letter-spacing: .04em; text-transform: uppercase; color: var(--brand); margin: 0 0 10px;
}
.oca-h1 {
  font-family: var(--oca-display); font-weight: 800; letter-spacing: -.01em;
  font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 0 0 14px; color: #0b0b0c;
}
.oca-date { margin: 0 0 4px; font-size: 12.5px; color: var(--muted-2); font-weight: 600; }
.oca-date span { color: var(--ink); }
.oca-lede { font-family: var(--oca-serif); font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); line-height: 1.5; color: var(--muted); font-weight: 400; margin: 14px 0 22px; }

.oca-hero { margin: 0 0 8px; }
.oca-hero img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 55%; background: #efefef; border-radius: 10px; }
.oca-hero figcaption { margin-top: 8px; font-size: 12px; color: var(--muted-2); line-height: 1.4; }
.oca-hero .credit { display: inline; }

/* ---- byline ---- */
.oca-byline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 20px 0 0; padding: 0 0 18px; border-bottom: 1px solid var(--rule); }
.oca-avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex: none; display: block; }
.oca-author { display: grid; gap: 2px; }
.oca-author .who { font-size: 14px; font-weight: 700; }
.oca-author .who a { color: var(--ink); text-decoration: none; }
.oca-author .role { font-size: 12px; color: var(--muted-2); font-weight: 600; }
.oca-spacer { flex: 1; }
.oca-share { display: flex; gap: 10px; }
.oca-share .s {
  border: 1px solid var(--rule); border-radius: 999px; padding: 6px 14px;
  font-size: 12.5px; font-weight: 700; text-decoration: none; color: var(--ink);
}
.oca-share .s:hover { border-color: var(--brand); color: var(--brand); }

/* ---- inline "File Claim" CTA — matches their real inline module ---- */
.oca-inline-cta {
  margin: 30px 0; padding: 26px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  text-align: center;
}
.oca-inline-cta .cta-line { margin: 0 0 16px; font-size: 15px; color: var(--ink); font-weight: 500; }
.oca-inline-cta .file-claim {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--brand); color: #fff; padding: 13px 26px; border-radius: 10px;
  font-weight: 700; font-size: 14.5px; text-decoration: none; border: 0;
  transition: background .2s ease, transform .2s ease;
}
.oca-inline-cta .file-claim:hover { background: var(--brand-hover); transform: translateY(-1px); }

/* ---- facts strip ---- */
.oca-facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin: 28px 0; padding: 22px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.fact { display: grid; gap: 4px; }
.fact-label { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.fact-value { font-family: var(--oca-sans); font-size: 15.5px; font-weight: 800; color: var(--ink); line-height: 1.3; }
.fact-value.active { color: #2f8d5b; }
.fact-sub { font-size: 11.5px; color: var(--muted-2); line-height: 1.4; }
@media (max-width: 720px) {
  .oca-facts { grid-template-columns: 1fr 1fr; }
}

/* ---- body copy ---- */
.oca-body { max-width: 780px; }
.oca-body p { margin: 0 0 18px; }
.oca-body p.lead { font-size: 17px; }
.oca-body h2 { font-family: var(--oca-serif); font-size: 22px; font-weight: 700; margin: 30px 0 12px; color: #0b0b0c; }
.oca-body ul { margin: 0 0 18px; padding-left: 22px; }
.oca-body li { margin-bottom: 8px; line-height: 1.5; }

/* ---- rewarded gate, skinned to OpenClassActions' design system ---- */
body.openclassactions .gate-eyebrow { color: var(--brand); font-family: var(--oca-sans); font-weight: 800; font-size: 12.5px; letter-spacing: .06em; }
body.openclassactions .reward-locker { border-radius: 14px; }
body.openclassactions .reward-locker .lock-badge { display: none; }
body.openclassactions .reward-locker h3 {
  font-family: var(--oca-display); font-weight: 800; letter-spacing: -.01em;
  font-size: clamp(22px, 2.8vw, 28px); line-height: 1.2; color: #0b0b0c; margin: 4px 0 10px;
}
body.openclassactions .reward-locker p { font-family: var(--oca-sans); font-size: 14.5px; line-height: 1.55; color: var(--muted); max-width: none; margin: 0 0 20px; }
body.openclassactions .rv-cta {
  background: var(--brand); color: #fff; border-radius: 10px;
  padding: 15px 24px; font-family: var(--oca-sans); font-weight: 700; font-size: 14.5px;
  box-shadow: none;
}
body.openclassactions .rv-cta:hover { background: var(--brand-hover); filter: none; transform: translateY(-1px); }
body.openclassactions .rv-later { font-family: var(--oca-sans); color: var(--muted-2); font-weight: 600; font-size: 13px; }
body.openclassactions .reward-locker .rv-foot { display: none; }
body.openclassactions .lk-side h4 { font-family: var(--oca-sans); text-transform: uppercase; letter-spacing: .06em; font-size: 11.5px; font-weight: 800; color: var(--muted-2); }
body.openclassactions .lk-side li { font-family: var(--oca-sans); font-size: 14.5px; color: var(--ink); }
body.openclassactions .lk-side li svg { color: var(--green); }
body.openclassactions .gate-fine { font-family: var(--oca-sans); color: var(--muted-2); font-size: 12px; }
body.openclassactions .rv-floating .txt, body.openclassactions .rv-floating button { font-family: var(--oca-sans); }
body.openclassactions .rv-floating button { background: var(--brand); color: #fff; border-radius: 10px; font-weight: 700; }

/* ---- responsive ---- */
@media (max-width: 720px) {
  .oca-inner { padding: 0 20px; gap: 18px; }
  .oca-nav-links { gap: 16px; }
  .oca-main { padding: 24px 20px 60px; }
  .oca-byline { gap: 10px; }
  .oca-share .lbl { display: none; }
}
