/* ============================================================
   PJ Matlock - shared design system
   Premium fintech, dark, graphic-driven. Zero third-party deps:
   type is self-hosted (Fontshare-licensed Clash Display/Satoshi).
   All motion is GPU-cheap and reduced-motion aware. Single
   source of truth for all three pages.
   ============================================================ */

/* Self-hosted type (was Fontshare CDN; license permits self-hosting) */
@font-face { font-family: "Clash Display"; src: url("/assets/fonts/ClashDisplay-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url("/assets/fonts/ClashDisplay-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url("/assets/fonts/ClashDisplay-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/assets/fonts/Satoshi-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/assets/fonts/Satoshi-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/assets/fonts/Satoshi-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
/* Metric-tuned local fallbacks so the swap doesn't reflow the hero */
@font-face { font-family: "Clash Display Fallback"; src: local("Arial"); size-adjust: 97%; ascent-override: 94%; descent-override: 22%; line-gap-override: 0%; }
@font-face { font-family: "Satoshi Fallback"; src: local("Arial"); size-adjust: 100%; ascent-override: 100%; descent-override: 25%; line-gap-override: 0%; }

:root {
  color-scheme: dark;

  /* Surfaces */
  --bg:            #05070d;
  --bg-2:          #080b15;
  --panel:         rgba(255, 255, 255, .025);
  --panel-2:       rgba(255, 255, 255, .045);
  --panel-hi:      rgba(255, 255, 255, .07);
  --hairline:      rgba(150, 175, 220, .12);
  --hairline-2:    rgba(150, 175, 220, .22);

  /* Ink */
  --ink:           #eef2fb;
  --ink-soft:      #c4cdde;
  --muted:         #8b97ad;
  --dim:           #59647a;

  /* Accents */
  --blue:          #4d8dff;
  --blue-bright:   #74a9ff;
  --green:         #2fe0a6;
  --green-bright:  #5cf0c0;
  --amber:         #ffc24b;
  --red:           #ff7d7d;

  /* Brand gradient */
  --grad:          linear-gradient(115deg, #4d8dff 0%, #43c6ff 45%, #2fe0a6 100%);
  --grad-soft:     linear-gradient(115deg, rgba(77,141,255,.16), rgba(47,224,166,.12));

  /* Type */
  --font-display:  "Clash Display", "Clash Display Fallback", ui-sans-serif, system-ui, sans-serif;
  --font-body:     "Satoshi", "Satoshi Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Geometry */
  --radius:        20px;
  --radius-lg:     26px;
  --maxw:          1100px;
  --maxw-read:     880px;

  /* Shadows */
  --shadow:        0 24px 60px -28px rgba(0, 0, 0, .85);
  --shadow-blue:   0 20px 60px -24px rgba(77, 141, 255, .45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  color: var(--ink-soft);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: .002em;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--blue-bright); text-decoration: none; }
a:hover { text-decoration: underline; }
/* In running text, links must be identifiable without relying on color alone */
main a:not([class]) { text-decoration: underline; text-decoration-color: rgba(116, 169, 255, .45); text-underline-offset: 3px; }
main a:not([class]):hover { text-decoration-color: var(--blue-bright); }

/* Visible keyboard focus on the dark theme */
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: 96px; }

/* Skip link: hidden until focused */
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 500;
  padding: 10px 16px; border-radius: 11px; font-weight: 700; font-size: .9rem;
  color: var(--ink); background: var(--bg-2); border: 1px solid var(--hairline-2);
  transform: translateY(-200%); transition: transform .15s ease;
}
.skip-link:focus { transform: none; text-decoration: none; }
strong { color: var(--ink); font-weight: 700; }
em { color: var(--ink-soft); }
::selection { background: rgba(77, 141, 255, .3); color: #fff; }

/* ----------------------------------------------------------------
   Ambient background: drifting mesh + data grid + grain
   ---------------------------------------------------------------- */
.bg { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; background: var(--bg); }
.bg::before {
  content: ''; position: absolute; inset: -20%;
  background:
    radial-gradient(40% 50% at 12% 6%,  rgba(77, 141, 255, .20), transparent 70%),
    radial-gradient(38% 45% at 88% 0%,  rgba(67, 198, 255, .14), transparent 68%),
    radial-gradient(45% 55% at 78% 92%, rgba(47, 224, 166, .12), transparent 70%),
    radial-gradient(35% 40% at 8%  88%, rgba(77, 141, 255, .10), transparent 72%);
  animation: drift 34s ease-in-out infinite alternate;
}
.bg::after {
  /* perspective data grid, masked to fade at edges */
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(150, 180, 230, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 180, 230, .05) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 35%, transparent 78%);
          mask-image: radial-gradient(120% 90% at 50% 0%, #000 35%, transparent 78%);
}
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-3%, 2%, 0) scale(1.08); }
}

/* ----------------------------------------------------------------
   Layout
   ---------------------------------------------------------------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap.read { max-width: var(--maxw-read); }
.section { padding: 72px 0; }
.section.tight { padding: 48px 0; }
/* Full-bleed tinted band to break the section metronome */
.band { position: relative; }
.band::before {
  content: ''; position: absolute; inset: 0 -50vw; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(77, 141, 255, .045) 18%, rgba(77, 141, 255, .045) 82%, transparent);
}
.divider { position: relative; overflow: visible; border: none; height: 1px; background: linear-gradient(90deg, transparent, var(--hairline-2), transparent); }
.divider::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--bg); border: 1px solid var(--hairline-2);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--green-bright); margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--green); opacity: .7; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; }
h1, h2 { text-wrap: balance; }
.section > h2, .section-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 14px; }
.section-desc { color: var(--muted); font-size: 1.08rem; max-width: 620px; }

.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ----------------------------------------------------------------
   Navigation
   ---------------------------------------------------------------- */
body > nav, .site-header nav {
  position: sticky; top: 0; z-index: 200;
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  background: rgba(5, 7, 13, .72);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-brand {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.18rem;
  color: var(--ink); letter-spacing: .005em; text-decoration: none;
}
.nav-brand:hover { text-decoration: none; }
.nav-mark { width: 30px; height: 30px; flex-shrink: 0; display: block; }

/* Sticky header: nav + offer strip stay pinned together on scroll.
   One backdrop blur at the wrapper (blurring nav + strip separately
   doubled the per-frame GPU cost); children keep their tints only. */
.site-header { position: sticky; top: 0; z-index: 300; backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5); }
.site-header nav { position: static; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header .promo-bar { backdrop-filter: none; -webkit-backdrop-filter: none; }

/* Homepage-only offer strip under the nav bar */
.promo-bar {
  display: block; text-align: center; text-decoration: none;
  padding: 10px 16px; font-size: .85rem; font-weight: 600; line-height: 1.4;
  color: var(--ink-soft);
  background: rgba(11, 22, 18, .82);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--hairline);
  transition: background .2s, color .2s;
}
.promo-bar:hover { text-decoration: none; background: rgba(17, 33, 27, .9); color: var(--ink); }
.promo-bar .pb-brand { color: var(--ink); font-weight: 700; }
.promo-bar .pb-dot { color: var(--dim); margin: 0 4px; }
.promo-bar .pb-code { font-family: var(--font-display); font-weight: 700; color: var(--green-bright); letter-spacing: .1em; }
.promo-bar .pb-arrow { color: var(--green-bright); margin-left: 4px; }
/* Keep the pinned strip to a single compact line on phones */
@media (max-width: 720px) {
  .promo-bar { padding: 8px 10px; font-size: .74rem; letter-spacing: -.005em; }
  .promo-bar .pb-dot { margin: 0 3px; }
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  text-decoration: none; font-weight: 600; font-size: .92rem;
  padding: 9px 15px; border-radius: 11px; color: var(--muted);
  border: 1px solid transparent; transition: color .16s, background .16s, border-color .16s;
}
.nav-link:hover { color: var(--ink); background: var(--panel-2); text-decoration: none; }
.nav-link.active { color: var(--blue-bright); background: rgba(77, 141, 255, .09); border-color: rgba(77, 141, 255, .22); }
.nav-link.ext { color: var(--muted); }
.nav-toggle { display: none; background: none; border: 1px solid var(--hairline); border-radius: 11px; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 22px; height: 22px; display: block; }

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: calc(100% + 1px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 16px 16px;
    background: rgba(7, 10, 18, .97); border-bottom: 1px solid var(--hairline);
    backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .2s, opacity .2s, visibility .2s;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-link { padding: 12px 14px; font-size: 1rem; }
}

/* ----------------------------------------------------------------
   Buttons
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: 14px; font-family: var(--font-body);
  font-weight: 700; font-size: .98rem; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .16s ease, box-shadow .2s ease, background .2s, border-color .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { color: #051018; background: var(--grad); box-shadow: var(--shadow-blue); }
.btn-primary:hover { box-shadow: 0 26px 70px -22px rgba(67, 198, 255, .6); }
.btn-glass { color: var(--ink); background: var(--panel-2); border-color: var(--hairline-2); }
.btn-glass:hover { background: var(--panel-hi); border-color: rgba(77, 141, 255, .35); }

/* Social pills */
.social-row { display: flex; gap: 12px; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 14px; font-weight: 600; font-size: .95rem;
  text-decoration: none; color: var(--ink); position: relative;
  background: var(--panel-2); border: 1px solid var(--hairline);
  transition: transform .16s ease, box-shadow .2s, border-color .2s, background .2s;
}
.pill:hover { transform: translateY(-3px); text-decoration: none; background: var(--panel-hi); box-shadow: var(--shadow); }
.pill svg { width: 19px; height: 19px; flex-shrink: 0; }
.pill.discord:hover { border-color: rgba(114, 137, 255, .5); color: #c2ccff; }
.pill.x:hover       { border-color: rgba(220, 230, 245, .45); }
.pill.ig:hover      { border-color: rgba(225, 110, 170, .5); color: #f5b9d6; }

/* ----------------------------------------------------------------
   Hero (home)
   ---------------------------------------------------------------- */
.hero { position: relative; padding: 96px 0 56px; text-align: center; }
/* Contained glow staging the wordmark */
.hero::before {
  content: ''; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: min(760px, 92%); height: 300px; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 55% at 50% 42%, rgba(77, 141, 255, .17), rgba(47, 224, 166, .06) 55%, transparent 75%);
  filter: blur(14px);
}
.hero-chart {
  position: absolute; left: 0; right: 0; bottom: -10px; width: 100%; height: 360px;
  z-index: -1; opacity: .55; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.hero h1 {
  font-size: clamp(3rem, 10vw, 6.2rem); font-weight: 700; line-height: .98;
  letter-spacing: -.03em; color: #fff; margin-bottom: 22px;
}
.hero .tagline {
  font-size: clamp(1.05rem, 2.4vw, 1.35rem); color: var(--ink-soft);
  max-width: 560px; margin: 0 auto 34px; font-weight: 500;
  text-wrap: balance;
}
.hero .social-row { justify-content: center; }
.hero-chart .area { opacity: 0; animation: hc-fade 1.6s ease-out 1.1s forwards; }
.hero-chart .line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: hc-draw 2.4s cubic-bezier(.4, 0, .2, 1) .2s forwards; }
.hero-chart .pt { opacity: 0; transform-box: fill-box; transform-origin: center; animation: hc-fade .5s ease-out 2.1s forwards; }
.hero-chart .pt-ring { opacity: 0; transform-box: fill-box; transform-origin: center; animation: hc-pulse 2.6s ease-in-out 2.3s infinite; }
@keyframes hc-draw  { to { stroke-dashoffset: 0; } }
@keyframes hc-fade  { to { opacity: 1; } }
@keyframes hc-pulse { 0% { opacity: .5; transform: scale(1); } 70% { opacity: 0; transform: scale(3); } 100% { opacity: 0; transform: scale(3); } }

/* Stat strip */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 56px;
}
.stat {
  position: relative; padding: 26px 22px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(13, 18, 30, .78), rgba(8, 11, 20, .86));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--hairline); overflow: hidden;
  text-align: left;
}
.stat::before {
  content: ''; position: absolute; top: 16px; left: 22px; width: 18px; height: 2px;
  background: var(--grad); border-radius: 2px; opacity: .8;
}
.stat .num {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(2.1rem, 4.5vw, 2.9rem);
  color: #fff; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums;
  margin-top: 12px;
}
.stat .num .grad-text { display: inline; }
.stat .lbl { margin-top: 9px; font-size: .82rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat { padding: 18px 16px; }
  .stat::before { top: 12px; left: 16px; }
  .stat .num { font-size: clamp(1.7rem, 7vw, 2.2rem); margin-top: 10px; }
  .stat .lbl { font-size: .78rem; }
}

/* ----------------------------------------------------------------
   Glass cards + feature grid
   ---------------------------------------------------------------- */
.card {
  position: relative; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--hairline);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset;
  transition: transform .2s ease, border-color .2s, box-shadow .25s;
  overflow: hidden;
}
/* cursor spotlight */
.card.spot::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(77, 141, 255, .14), transparent 60%);
  transition: opacity .3s;
}
.card.spot:hover::after { opacity: 1; }
.card:hover { transform: translateY(-3px); border-color: var(--hairline-2); box-shadow: var(--shadow); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 800px) { .feature-grid { grid-template-columns: 1fr; } }
.feature { padding: 30px 26px; }
.feature .ic {
  width: 50px; height: 50px; border-radius: 15px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid rgba(77, 141, 255, .18);
}
.feature .ic svg { width: 24px; height: 24px; color: var(--blue-bright); }
.feature h3 { font-size: 1.2rem; margin-bottom: 9px; }
.feature p { color: var(--muted); font-size: .96rem; }

/* ----------------------------------------------------------------
   Case banner (home)
   ---------------------------------------------------------------- */
.banner {
  position: relative; border-radius: var(--radius-lg); padding: 46px 42px; overflow: hidden;
  background: linear-gradient(150deg, rgba(13, 20, 36, .9), rgba(8, 12, 22, .92));
  border: 1px solid var(--hairline-2); box-shadow: var(--shadow);
}
.banner::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--green), transparent);
}
.banner::after {
  content: ''; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 141, 255, .14), transparent 70%); pointer-events: none;
}
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .73rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 13px; border-radius: 8px; margin-bottom: 18px;
  color: var(--amber); background: rgba(255, 194, 75, .1); border: 1px solid rgba(255, 194, 75, .2);
}
.tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.banner h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); color: #fff; margin-bottom: 14px; }
.banner > p { color: var(--ink-soft); font-size: 1.06rem; max-width: 660px; margin-bottom: 26px; }

.key-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
@media (max-width: 720px) { .key-points { grid-template-columns: 1fr; } }
.kp { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 15px; background: rgba(255, 255, 255, .02); border: 1px solid var(--hairline); }
.kp .ic { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(47, 224, 166, .1); border: 1px solid rgba(47, 224, 166, .18); }
.kp .ic svg { width: 17px; height: 17px; color: var(--green-bright); }
.kp h3 { font-family: var(--font-body); font-size: .98rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.kp p { font-size: .88rem; color: var(--muted); line-height: 1.5; }

/* ----------------------------------------------------------------
   Quote / statement block: left-set, display type, gradient rule
   ---------------------------------------------------------------- */
.quote { position: relative; padding: 44px 48px; border-radius: var(--radius-lg); background: var(--panel); border: 1px solid var(--hairline); text-align: left; overflow: hidden; }
.quote::before { content: ''; position: absolute; top: 40px; bottom: 40px; left: 0; width: 3px; background: linear-gradient(180deg, var(--blue), var(--green)); border-radius: 0 2px 2px 0; }
.quote p { font-family: var(--font-display); font-size: clamp(1.2rem, 2.6vw, 1.55rem); color: var(--ink); max-width: none; margin: 0; line-height: 1.5; font-weight: 500; position: relative; }
.quote .attrib { margin-top: 22px; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 720px) { .quote { padding: 34px 28px; } }

/* ----------------------------------------------------------------
   Page header (interior pages)
   ---------------------------------------------------------------- */
.page-hdr { padding: 64px 0 24px; }
.back-link { display: flex; width: fit-content; align-items: center; gap: 7px; font-size: .9rem; font-weight: 600; color: var(--muted); margin-bottom: 18px; }
.back-link:hover { color: var(--blue-bright); text-decoration: none; }
.page-hdr h1 { font-size: clamp(2.2rem, 5.5vw, 3.4rem); color: #fff; margin-bottom: 10px; }
.page-hdr .case-id { color: var(--muted); font-size: .95rem; font-variant-numeric: tabular-nums; }

/* Status callout */
.status-callout {
  position: relative; padding: 26px 30px; border-radius: var(--radius); margin: 26px 0 52px; overflow: hidden;
  background: var(--grad-soft); border: 1px solid rgba(77, 141, 255, .2);
}
.status-callout .status-label { display: inline-flex; align-items: center; gap: 8px; font-size: .73rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 11px; border-radius: 7px; margin-bottom: 12px; color: var(--amber); background: rgba(255, 194, 75, .1); border: 1px solid rgba(255, 194, 75, .2); }
.status-callout .status-label .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); animation: pulse 2.4s ease-in-out infinite; }
.status-callout p { color: var(--ink); font-size: 1.06rem; font-weight: 500; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ----------------------------------------------------------------
   Timeline (scroll-drawn)
   ---------------------------------------------------------------- */
.timeline h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 30px; }
.tl-items { position: relative; padding-left: 40px; }
.tl-track { position: absolute; left: 8px; top: 10px; bottom: 10px; width: 2px; background: var(--hairline-2); border-radius: 2px; overflow: hidden; }
.tl-fill { position: absolute; inset: 0; background: linear-gradient(180deg, var(--green), var(--blue) 55%, var(--amber)); transform-origin: top; transform: scaleY(0); transition: transform .15s linear; }
.tl-item { position: relative; margin-bottom: 30px; }
.tl-item:last-child { margin-bottom: 0; }
.tl-dot { position: absolute; left: -40px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 2px solid var(--blue); z-index: 1; transition: box-shadow .3s, border-color .3s; }
.tl-item.green .tl-dot { border-color: var(--green); }
.tl-item.amber .tl-dot { border-color: var(--amber); }
.tl-item.lit .tl-dot { box-shadow: 0 0 0 4px rgba(77, 141, 255, .12), 0 0 16px rgba(77, 141, 255, .5); }
.tl-item.green.lit .tl-dot { box-shadow: 0 0 0 4px rgba(47, 224, 166, .12), 0 0 16px rgba(47, 224, 166, .5); }
.tl-item.amber.lit .tl-dot { box-shadow: 0 0 0 4px rgba(255, 194, 75, .12), 0 0 16px rgba(255, 194, 75, .5); }
/* The live 'Case Pending' node gets a radar ping like the other live dots */
.tl-item.amber:last-child .tl-dot::after {
  content: ''; position: absolute; inset: -7px; border-radius: 50%;
  border: 2px solid rgba(255, 194, 75, .55);
  animation: tl-ping 2.6s cubic-bezier(0, 0, .2, 1) infinite;
}
@keyframes tl-ping {
  0% { transform: scale(.6); opacity: .9; }
  80%, 100% { transform: scale(1.5); opacity: 0; }
}
.tl-card { padding: 20px 24px; border-radius: 16px; background: var(--panel); border: 1px solid var(--hairline); transition: border-color .2s, transform .2s; }
.tl-item:hover .tl-card { border-color: var(--hairline-2); transform: translateX(3px); }
.tl-date { font-size: .82rem; font-weight: 700; color: var(--blue-bright); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 5px; font-variant-numeric: tabular-nums; }
.tl-item.green .tl-date { color: var(--green-bright); }
.tl-item.amber .tl-date { color: var(--amber); }
.tl-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.tl-desc { color: var(--muted); font-size: .96rem; }

/* ----------------------------------------------------------------
   Content sections / callouts / problems
   ---------------------------------------------------------------- */
.content-section { margin-bottom: 52px; }
.content-section > h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--hairline); }
.content-section p { margin-bottom: 16px; color: var(--ink-soft); }
.content-section p:last-child { margin-bottom: 0; }

.callout { padding: 26px 30px; border-radius: 18px; margin: 26px 0; background: var(--panel); border: 1px solid var(--hairline); border-left: 3px solid var(--blue); }
.callout.green { border-left-color: var(--green); }
.callout h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 12px; }
.callout p { color: var(--muted); font-size: .98rem; margin-bottom: 12px; }
.callout p:last-child { margin-bottom: 0; }
.callout ul { padding-left: 1.3rem; margin: 10px 0; }
.callout li { color: var(--muted); font-size: .98rem; margin-bottom: 8px; }
.callout li::marker { color: var(--blue); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 26px 0; }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }
.problem { padding: 28px 26px; }
.problem .num { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 7px; margin-bottom: 14px; color: var(--blue-bright); background: rgba(77, 141, 255, .1); border: 1px solid rgba(77, 141, 255, .18); }
.problem h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 10px; }
.problem p { color: var(--muted); font-size: .94rem; margin-bottom: 10px; }
.problem p:last-child { margin-bottom: 0; }

/* Sources */
.sources { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 18px; }
@media (max-width: 640px) { .sources { grid-template-columns: 1fr; } }
.source { display: flex; gap: 14px; align-items: flex-start; text-decoration: none; color: var(--ink-soft); padding: 18px 20px; }
.source:hover { text-decoration: none; }
.source .fav { flex: 0 0 34px; height: 34px; border-radius: 9px; overflow: hidden; background: rgba(255, 255, 255, .04); border: 1px solid var(--hairline); display: grid; place-items: center; }
.source .fav img { width: 20px; height: 20px; }
.source h3 { font-family: var(--font-body); font-size: .96rem; font-weight: 700; color: var(--ink); margin-bottom: 3px; line-height: 1.3; }
.source .meta { color: var(--muted); font-size: .85rem; }
.source .domain { font-weight: 600; color: #b9c4d6; font-size: .85rem; }

/* ----------------------------------------------------------------
   FAQ accordion
   ---------------------------------------------------------------- */
.faq h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--hairline); }
.faq-head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--hairline); }
.faq-head h2 { flex: 1; margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.faq-toggle-all {
  flex-shrink: 0; background: none; border: none; cursor: pointer; padding: 4px 2px;
  font-family: var(--font-body); font-size: .84rem; font-weight: 700; color: var(--blue-bright);
}
.faq-toggle-all:hover { text-decoration: underline; }
.faq-item { border: 1px solid var(--hairline); border-radius: 15px; margin-bottom: 11px; overflow: hidden; background: var(--panel); transition: border-color .18s, background .18s; scroll-margin-top: 96px; }
.faq-item:hover { border-color: var(--hairline-2); }
.faq-item.open { border-color: rgba(77, 141, 255, .3); background: var(--panel-2); }
.faq-q { width: 100%; padding: 20px 24px; border: none; background: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-family: var(--font-display); font-size: 1.04rem; font-weight: 600; color: var(--ink); text-align: left; }
.faq-chevron { width: 22px; height: 22px; flex-shrink: 0; transition: transform .25s ease; color: var(--blue-bright); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .3s ease, visibility .3s; }
.faq-item.open .faq-a { grid-template-rows: 1fr; visibility: visible; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner > div { padding: 0 24px 22px; color: var(--muted); font-size: .98rem; line-height: 1.7; }
.faq-a-inner p { margin-bottom: 12px; }
.faq-a-inner p:last-child { margin-bottom: 0; }

/* ----------------------------------------------------------------
   Closing
   ---------------------------------------------------------------- */
.closing { text-align: center; padding: 48px 36px; border-radius: var(--radius-lg); background: var(--panel); border: 1px solid var(--hairline); }
.closing p { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--ink); max-width: 680px; margin: 0 auto; line-height: 1.65; font-weight: 500; }

/* ----------------------------------------------------------------
   Halcyon offer page
   ---------------------------------------------------------------- */
.offer {
  position: relative; padding: 40px 38px; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid transparent;
  background:
    linear-gradient(150deg, rgba(13, 20, 36, .95), rgba(8, 12, 22, .96)) padding-box,
    linear-gradient(115deg, rgba(77, 141, 255, .55), rgba(67, 198, 255, .35), rgba(47, 224, 166, .5)) border-box;
  box-shadow: var(--shadow); text-align: center;
}
.offer .offer-label { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-bright); margin-bottom: 16px; }
.offer .pct { font-family: var(--font-display); font-size: clamp(3rem, 9vw, 5rem); font-weight: 700; line-height: 1; color: #fff; letter-spacing: -.03em; }
.code-badge { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: .22em; color: #fff; background: rgba(47, 224, 166, .12); border: 1px dashed rgba(47, 224, 166, .45); border-radius: 12px; padding: 10px 24px; margin: 6px 0; }
/* Tap-to-copy variant (halcyon page) */
button.code-badge { cursor: pointer; min-width: 150px; transition: border-color .2s, background .2s, transform .16s ease; }
button.code-badge:hover { border-color: rgba(47, 224, 166, .8); background: rgba(47, 224, 166, .18); transform: translateY(-1px); }
button.code-badge .cb-icon { width: 18px; height: 18px; opacity: .65; letter-spacing: 0; }
.code-badge.copied { border-style: solid; border-color: var(--green); background: rgba(47, 224, 166, .2); font-size: 1.05rem; letter-spacing: .08em; }
.copy-hint { font-size: .78rem; color: var(--dim); margin-top: 6px; }
.disclosure { font-size: .82rem; color: var(--muted); border-top: 1px solid var(--hairline); margin-top: 36px; padding-top: 20px; }

/* ----------------------------------------------------------------
   Footer: structured brand close, shared by all three pages
   ---------------------------------------------------------------- */
footer {
  margin-top: 72px; border-top: 1px solid var(--hairline);
  background: linear-gradient(180deg, transparent, rgba(77, 141, 255, .03));
  color: var(--muted); font-size: .9rem;
}
.foot-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; padding: 44px 24px 28px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.foot-note { font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin-top: 3px; }
.foot-links { display: flex; gap: 4px 18px; align-items: center; flex-wrap: wrap; }
.foot-links a { color: var(--ink-soft); padding: 4px 2px; }
.foot-links a:hover { color: var(--ink); }
.foot-bottom {
  border-top: 1px solid var(--hairline); padding: 20px 24px;
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap;
  font-size: .82rem; color: var(--dim);
}
.foot-disclaimer { max-width: 680px; font-size: .82rem; color: var(--muted); line-height: 1.55; }
@media (max-width: 720px) { .foot-grid, .foot-bottom { flex-direction: column; } }

/* ----------------------------------------------------------------
   Partner card (home): copy left, offer chip right
   ---------------------------------------------------------------- */
.partner-card { padding: 38px 40px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 36px; }
.partner-card .section-desc { max-width: 640px; }
.partner-chip { text-align: center; padding: 26px 36px; border-radius: 18px; background: rgba(47, 224, 166, .05); border: 1px solid rgba(47, 224, 166, .2); }
.partner-chip .pct-sm { font-family: var(--font-display); font-weight: 700; font-size: 2.3rem; color: #fff; letter-spacing: -.02em; line-height: 1; margin-bottom: 12px; }
@media (max-width: 800px) { .partner-card { grid-template-columns: 1fr; padding: 28px 24px; } .partner-chip { display: none; } }

/* Coverage grid variant: three outlets side by side */
.sources.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .sources.three { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------
   Key facts box (case-status)
   ---------------------------------------------------------------- */
.factbox dl { display: grid; grid-template-columns: max-content 1fr; gap: 12px 28px; margin: 0; }
.factbox dt { font-size: .76rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.factbox dd { margin: 0; color: var(--ink-soft); font-size: .96rem; }
@media (max-width: 560px) { .factbox dl { grid-template-columns: 1fr; gap: 2px 0; } .factbox dd { margin-bottom: 12px; } }

/* ----------------------------------------------------------------
   Updates log (case-status)
   ---------------------------------------------------------------- */
.update-row { display: flex; gap: 20px; padding: 13px 2px; border-bottom: 1px solid var(--hairline); align-items: baseline; }
.update-row:last-child { border-bottom: none; }
.update-date { flex: 0 0 128px; font-size: .8rem; font-weight: 700; color: var(--blue-bright); text-transform: uppercase; letter-spacing: .05em; font-variant-numeric: tabular-nums; }
.update-text { color: var(--ink-soft); font-size: .96rem; }
@media (max-width: 560px) { .update-row { flex-direction: column; gap: 3px; } }

/* ----------------------------------------------------------------
   On-this-page quick nav (case-status)
   ---------------------------------------------------------------- */
.toc { margin: 0 0 44px; padding: 20px 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--hairline); }
.toc .toc-label { font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.toc ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 8px; padding: 0; margin: 0; }
.toc a {
  display: inline-block; padding: 7px 13px; border-radius: 10px;
  font-size: .85rem; font-weight: 600; color: var(--ink-soft);
  background: var(--panel-2); border: 1px solid var(--hairline);
  text-decoration: none;
}
.toc a:hover { text-decoration: none; color: var(--ink); border-color: var(--hairline-2); background: var(--panel-hi); }

/* ----------------------------------------------------------------
   Long-read affordances: progress bar + back-to-top (case-status)
   ---------------------------------------------------------------- */
.read-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 400; background: var(--grad); pointer-events: none; }
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 350;
  width: 44px; height: 44px; border-radius: 13px; cursor: pointer;
  display: grid; place-items: center;
  color: var(--ink); background: rgba(10, 14, 24, .88); border: 1px solid var(--hairline-2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s, visibility .25s, transform .25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: rgba(77, 141, 255, .4); }
.to-top svg { width: 20px; height: 20px; }

/* ----------------------------------------------------------------
   Reveal-on-scroll
   ---------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; will-change: auto; }

/* ----------------------------------------------------------------
   Reduced motion / reduced data
   ---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bg::before { animation: none; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .tl-fill { transform: scaleY(1) !important; transition: none; }
  .status-callout .status-label .dot { animation: none; }
  .read-progress { display: none; }
  * { animation-duration: .001ms !important; animation-delay: 0s !important; transition-delay: 0s !important; animation-iteration-count: 1 !important; }
}
@media (prefers-reduced-data: reduce) {
  .bg::before { animation: none; }
  .grain { display: none; }
}

/* ----------------------------------------------------------------
   Print: light document theme (journalists print /case-status/).
   Dark ink on white paper, FAQs forced open, URLs printed.
   ---------------------------------------------------------------- */
@media print {
  :root { color-scheme: light; }
  body { background: #fff !important; color: #222 !important; font-size: 12px; }
  h1, h2, h3, h4, strong, .stat .num, .tl-title, .faq-q, .quote p, .closing p, .status-callout p, .pct, .pct-sm, .code-badge { color: #000 !important; }
  p, li, .tl-desc, .lbl, .meta, .kp p, .problem p, .callout p, .callout li, .faq-a-inner > div, .section-desc, .foot-disclaimer, .factbox dd, .update-text, em { color: #222 !important; }
  .tl-date, .eyebrow, .tag, .status-label, .case-id, .domain, .attrib, .factbox dt, .update-date, .offer-label, .copy-hint, .disclosure { color: #444 !important; background: none !important; border-color: #bbb !important; }
  .source { flex-wrap: wrap; }
  .source::after { flex-basis: 100%; }
  .grad-text { background: none !important; -webkit-background-clip: initial !important; background-clip: initial !important; -webkit-text-fill-color: initial !important; color: #000 !important; }
  a { color: #003d99 !important; }
  .bg, .grain, .hero-chart, .promo-bar, .nav-toggle, .back-link, .social-row, .read-progress, .to-top, .faq-toggle-all, .faq-chevron, .toc, .skip-link { display: none !important; }
  nav, .site-header { position: static !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: #fff !important; border-color: #ccc !important; }
  .nav-links { display: none !important; }
  .nav-brand { color: #000 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .grid-2 { grid-template-columns: 1fr 1fr !important; gap: 12px; }
  .sources { grid-template-columns: 1fr !important; gap: 10px; }
  .key-points { grid-template-columns: 1fr 1fr !important; }
  .tl-fill { transform: scaleY(1) !important; }
  .tl-dot { background: #fff !important; border-color: #555 !important; box-shadow: none !important; }
  .tl-dot::after { display: none !important; }
  .card, .problem, .callout, .faq-item, .status-callout, .closing, .tl-card, .quote, .banner, .offer, .stat, .kp, .toc {
    break-inside: avoid; border: 1px solid #ccc !important; background: #fff !important; box-shadow: none !important;
  }
  .quote::before, .banner::before, .banner::after, .stat::before, .band::before { display: none !important; }
  /* Force accordion answers open on paper */
  .faq-a { grid-template-rows: 1fr !important; visibility: visible !important; }
  /* Print the actual URLs for sources and external links */
  .source { position: relative; }
  .source::after { content: attr(href); display: block; font-size: 9px; color: #555; padding: 0 20px 12px; word-break: break-all; }
  .content-section p a[href^="http"]::after, .faq-a-inner a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; color: #555; word-break: break-all; }
  .content-section, .timeline { break-inside: avoid; }
  .faq { break-before: page; }
  .page-hdr { padding: 24px 0 16px; }
  .section { padding: 24px 0; }
  footer { background: none; }
  .foot-links { display: none !important; }
}
