/* PaperTrench showcase site */
:root {
  --bg: #07090e;
  --bg2: #0b0e14;
  --panel: #0e121a;
  --panel2: #12161f;
  --line: rgba(255, 255, 255, 0.07);
  --line2: rgba(255, 255, 255, 0.12);
  --text: #eaeff7;
  --muted: #8d97a9;
  --dim: #5c6674;
  --orange: #ff9d45;
  --orange2: #ffc081;
  --orange-deep: #e77b22;
  --green: #34d399;
  --green2: #7df3c4;
  --red: #e0433a;
  --blue: #6aa9ff;
  --violet: #a78bfa;
  --radius: 18px;
  /* One container width for the whole page: nav and every .wrap section must
     agree, or the content pillars drift out from under the navbar. Bumped
     from 1180px after ultrawide users reported the homepage pillar-boxing. */
  --wrap-max: 1440px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.55;
}
::selection { background: rgba(255, 157, 69, 0.35); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Keyboard users get a visible ring; mouse clicks stay clean. */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Anchor jumps (#bubbles, #install, …) land below the fixed navbar instead
   of underneath it. */
section[id], [id="watch"], [id="streamers"] { scroll-margin-top: 84px; }

.wrap { max-width: var(--wrap-max); margin: 0 auto; padding: 0 24px; }

/* ---------- background ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 100%);
}
.bg-glow {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(900px 500px at 15% -5%, rgba(255,157,69,0.13), transparent 60%),
    radial-gradient(800px 500px at 90% 10%, rgba(52,211,153,0.09), transparent 60%),
    radial-gradient(1000px 700px at 50% 110%, rgba(106,169,255,0.06), transparent 60%),
    var(--bg);
}

/* ---------- nav ---------- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(7, 9, 14, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--wrap-max); margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; gap: 28px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: -0.4px; }
.nav-logo img { width: 28px; height: 28px; border-radius: 8px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; color: var(--muted); font-weight: 600; }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  margin-left: 8px; font-size: 13.5px; font-weight: 700;
  padding: 9px 18px; border-radius: 999px;
  background: linear-gradient(135deg, var(--orange2), var(--orange-deep));
  color: #2a1400; transition: transform .2s, box-shadow .2s;
  box-shadow: 0 0 0 rgba(255,157,69,0);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(255,157,69,0.35); }

/* The "Watch Live" pill: a real call-to-action, not a text link — it has to
   read as "click here to watch streams" at a glance, and it survives mobile
   where the plain nav links are hidden. */
.nav-live {
  display: inline-flex; align-items: center; gap: 8px;
  margin-left: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: 0.4px;
  padding: 8px 16px; border-radius: 999px;
  color: #ffb3ae;
  background: rgba(224,67,58,0.12);
  border: 1px solid rgba(224,67,58,0.45);
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.nav-live .dot {
  width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--red); box-shadow: 0 0 10px var(--red);
  animation: pulse 1.6s infinite;
}
.nav-live:hover {
  color: #ffd9d6; background: rgba(224,67,58,0.22);
  transform: translateY(-1px); box-shadow: 0 6px 22px rgba(224,67,58,0.35);
}
.nav-live[aria-current="page"] {
  color: #fff; background: rgba(224,67,58,0.3);
  border-color: rgba(224,67,58,0.7);
}
/* Adding "News" pushed the desktop link row past what fits between the logo
   and the two pills on mid-width screens. The section deep-links drop first:
   they are shortcuts into a page you can also just scroll, whereas News and
   Install are destinations people go to on purpose. */
@media (max-width: 1010px) {
  .nav-links a[href$="#bubbles"], .nav-links a[href$="#replay"], .nav-links a[href$="#journal"] { display: none; }
  /* Clans made it eight items on the Arena pages. Tightening the gap buys back
     roughly what the new destination costs. */
  .nav-links { gap: 16px; }
}
/* The links are flex items, so when the row runs out of room the two PILLS are
   what give way — they shrink and break mid-word, which rendered the CTA as
   "GitHub" over a lone arrow. Measured on the Arena nav: broken from ~830px
   down, clean at ~860. Two fixes, because either alone leaves a bad state:
   pills that refuse to shrink, and a collapse breakpoint above the width where
   the row stops fitting. (The break was already there before Clans was added —
   a seven-item nav wrapped at 780 too — it just had less headroom to lose.) */
.nav-cta, .nav-live { flex: none; white-space: nowrap; }
@media (max-width: 860px) {
  .nav-links a:not(.nav-cta):not(.nav-live) { display: none; }
}
@media (max-width: 470px) {
  /* Tiny screens: keep both pills tappable side by side. Measured at 375px
     the logo plus both pills still ran ~30px past the viewport, so the
     gutters and the gap shrink too rather than letting the bar clip.
     Raised from 420px: with the pills no longer allowed to shrink, 421-470
     was carrying a 1px overflow. */
  .nav-inner { padding: 0 14px; }
  .nav-links { gap: 10px; }
  .nav-live { padding: 8px 10px; font-size: 11.5px; }
  .nav-cta { padding: 9px 11px; font-size: 12px; }
  .nav-logo { font-size: 15px; gap: 8px; }
  .nav-logo img { width: 22px; height: 22px; }
}
@media (max-width: 360px) {
  /* Below the narrowest phone anyone tests on, the wordmark plus two
     non-shrinking pills stopped fitting (measured: 39px over at 320). Shrink
     the type rather than clip a tappable control off the edge. */
  .nav-logo { font-size: 13px; }
  .nav-live, .nav-cta { font-size: 11px; padding: 7px 9px; }
  .nav-live { gap: 5px; }
}

/* ---------- hero ---------- */
.hero { padding: 150px 0 40px; position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--orange2); background: rgba(255,157,69,0.09);
  border: 1px solid rgba(255,157,69,0.3); border-radius: 999px; padding: 7px 16px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

h1 {
  margin: 26px 0 18px;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 1.03; letter-spacing: -0.035em; font-weight: 800;
}
h1 .grad-orange {
  background: linear-gradient(100deg, var(--orange2) 10%, var(--orange) 45%, var(--orange-deep) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
h1 .grad-green {
  background: linear-gradient(100deg, var(--green2), var(--green));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: clamp(17px, 2.2vw, 21px); color: var(--muted); max-width: 640px; }
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-ctas { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15.5px; font-weight: 700; padding: 14px 28px; border-radius: 14px;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange2), var(--orange-deep));
  color: #2a1400; box-shadow: 0 8px 30px rgba(255,157,69,0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(255,157,69,0.45); }
.btn-ghost { background: rgba(255,255,255,0.05); border: 1px solid var(--line2); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,0.09); transform: translateY(-2px); }

.hero-stats { display: flex; gap: 40px; margin-top: 46px; flex-wrap: wrap; }
.hero-stat .num { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; font-family: var(--mono); }
.hero-stat .num.o { color: var(--orange); }
.hero-stat .num.g { color: var(--green); }
.hero-stat .num.b { color: var(--blue); }
.hero-stat .lbl { font-size: 13px; color: var(--dim); font-weight: 600; margin-top: 2px; }

/* ---------- live chart demo ---------- */
.chart-demo {
  margin: 64px auto 0; position: relative;
  border: 1px solid var(--line2); border-radius: 20px;
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  box-shadow: 0 40px 120px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,157,69,0.06), inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
}
.chart-chrome {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.chart-chrome .cdot { width: 11px; height: 11px; border-radius: 50%; }
.chart-chrome .ticker { margin-left: 12px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.chart-chrome .ticker b { color: var(--text); }
.chart-chrome .live-pill {
  margin-left: auto; display: flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 800; letter-spacing: 1px;
  color: var(--green); background: rgba(52,211,153,0.1);
  border: 1px solid rgba(52,211,153,0.3); padding: 5px 12px; border-radius: 999px;
}
.chart-body { position: relative; height: 500px; }
#heroChart { width: 100%; height: 100%; display: block; }

/* =========================================================
   Faithful replica of the extension's quick-buy panel
   (styles adapted from extension/content.js Shadow-DOM CSS)
   ========================================================= */
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.pt-box {
  position: absolute; top: 16px; right: 16px; z-index: 5;
  width: 300px;
  color: #eaeff7;
  font-size: 12px; line-height: 1.45;
  font-variant-numeric: tabular-nums;
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(255, 157, 69, 0.10), transparent 62%),
    linear-gradient(180deg, rgba(17, 21, 28, 0.96), rgba(9, 11, 16, 0.97));
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-radius: 18px;
  box-shadow:
    0 32px 70px -18px rgba(0, 0, 0, 0.85),
    0 8px 24px -8px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  animation: floaty 7s ease-in-out infinite;
}
.pt-box::before {
  content: ''; position: absolute; inset: 0; z-index: 4;
  border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(150deg,
    rgba(255, 157, 69, 0.75), rgba(255, 157, 69, 0.14) 34%,
    rgba(255, 255, 255, 0.07) 62%, rgba(255, 157, 69, 0.42));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.pt-watermark {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-20deg);
  font-size: 56px; font-weight: 900; letter-spacing: 6px; white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 157, 69, 0.07);
  pointer-events: none; z-index: 0;
}
.pt-banner {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 6px 10px;
  background: linear-gradient(90deg, rgba(255,157,69,0.14), rgba(255,157,69,0.28), rgba(255,157,69,0.14));
  border-bottom: 1px solid rgba(255, 157, 69, 0.24);
  color: #ffc790;
  font-size: 8.5px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase;
  overflow: hidden;
}
.pt-banner::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.16) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: pt-sheen 5.5s ease-in-out infinite;
}
@keyframes pt-sheen { 0%, 62% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.pt-header {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 9px;
  padding: 10px 11px 9px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pt-icon {
  width: 27px; height: 27px; border-radius: 9px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 900; color: #2a1400;
  background: linear-gradient(145deg, #ffc081, #ff9d45 55%, #e77b22);
  box-shadow: 0 4px 14px rgba(255, 157, 69, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.pt-title { font-weight: 750; font-size: 12.5px; letter-spacing: -0.15px; }
.pt-title .sub { display: block; margin-top: 1px; font-size: 9px; font-weight: 500; color: #5a6273; }
.pt-hbtns { margin-left: auto; display: flex; gap: 2px; color: #5a6273; font-size: 11px; }
.pt-hbtns span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; }
.pt-body { position: relative; z-index: 2; padding: 11px 11px 12px; }
.pt-token-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.pt-token > div:first-child { font-size: 15px; font-weight: 800; letter-spacing: -0.3px; }
.pt-mint {
  display: inline-block; margin-top: 4px; padding: 2px 7px;
  font-family: var(--mono); font-size: 8.5px; font-weight: 500; color: #8d97a9;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 999px;
}
.pt-price { text-align: right; flex: none; }
.pt-price .num { font-size: 13.5px; font-weight: 800; letter-spacing: -0.3px; font-family: var(--mono); }
.pt-price .usd { margin-top: 3px; font-size: 9.5px; color: #8d97a9; }
.pt-balance {
  position: relative; overflow: hidden;
  padding: 10px 12px; margin-bottom: 11px;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.06); border-radius: 12px;
}
.pt-balance .lab {
  display: flex; align-items: center; gap: 6px;
  font-size: 8.5px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase;
  color: #5a6273;
}
.pt-balance .amt { margin-top: 3px; font-size: 20px; font-weight: 800; letter-spacing: -0.7px; }
.pt-delta { margin-top: 2px; font-size: 10px; font-weight: 650; }
.pt-dot { width: 6px; height: 6px; border-radius: 50%; flex: none; background: #34d399; animation: pt-pulse 2.1s ease-out infinite; }
@keyframes pt-pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.pt-label {
  margin: 11px 0 6px;
  font-size: 8.5px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase;
  color: #5a6273;
}
.pt-presets {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px;
  padding: 4px; border-radius: 12px;
  background: rgba(0, 0, 0, 0.32); border: 1px solid rgba(255,255,255,0.06);
}
.pt-preset {
  padding: 7px 2px; border: 1px solid transparent; border-radius: 9px;
  background: transparent; color: #8d97a9;
  font-size: 10.5px; font-weight: 750; text-align: center;
}
.pt-preset.sel {
  color: #2a1400; border-color: transparent;
  background: linear-gradient(145deg, #ffc081, #ff9d45);
  box-shadow: 0 4px 14px rgba(255, 157, 69, 0.3);
}
.pt-custom {
  margin-top: 7px; padding: 9px 10px;
  background: rgba(0, 0, 0, 0.32); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 9px; color: #5a6273;
  font-size: 11px;
}
.pt-buy-btn {
  position: relative; overflow: hidden;
  margin-top: 9px; padding: 11px;
  border-radius: 12px; text-align: center;
  background: linear-gradient(180deg, #3fe49b, #22b573);
  color: #032b1b; font-size: 13px; font-weight: 850; letter-spacing: 0.4px;
  box-shadow: 0 8px 22px -6px rgba(34, 181, 115, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.pt-buy-btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.32) 50%, transparent 65%);
  transform: translateX(-100%);
  animation: pt-sheen 6.5s ease-in-out infinite;
}
.pt-pos {
  margin-top: 11px; padding: 10px 12px;
  background: linear-gradient(135deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
  border: 1px solid rgba(255,255,255,0.06); border-radius: 12px;
}
.pt-pos .row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 4px 0; }
.pt-pos .row + .row { border-top: 1px solid rgba(255, 255, 255, 0.045); }
.pt-pos .k { font-size: 10px; color: #8d97a9; }
.pt-pos .v { font-weight: 700; font-family: var(--mono); font-size: 11px; }
.pt-pnl-chip {
  display: block; margin-top: 5px; padding: 5px 9px; border-radius: 8px;
  font-size: 11.5px; font-weight: 800;
  color: var(--green); background: rgba(52, 211, 153, 0.15);
}
.pt-sell-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 9px; }
.pt-sell {
  padding: 8px 2px; border-radius: 9px; text-align: center;
  border: 1px solid rgba(255, 95, 86, 0.32);
  background: linear-gradient(180deg, rgba(255, 95, 86, 0.19), rgba(255, 95, 86, 0.09));
  color: #ffb3ae; font-size: 10.5px; font-weight: 800;
}
.pt-footer-bar {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 7px 11px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(0, 0, 0, 0.28);
  font-size: 9px; color: #5a6273;
}
@media (max-width: 760px) { .pt-box { display: none; } .chart-body { height: 300px; } }

/* ---------- terminal scene (screenshots replacement) ---------- */
.terminal-scene { position: relative; }
.scene-posbar {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,0.3);
  font-family: var(--mono); font-size: 11px; overflow: hidden; white-space: nowrap;
}
.scene-posbar .pb-label {
  font-family: var(--font); font-size: 9px; font-weight: 800; letter-spacing: 1.2px;
  color: var(--orange2); border: 1px solid rgba(255,157,69,0.3); background: rgba(255,157,69,0.08);
  border-radius: 999px; padding: 3px 9px; flex: none;
}
.scene-posbar .pb-pos {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--line2); background: rgba(255,255,255,0.03);
  color: var(--muted);
}
.scene-posbar .pb-pos b { color: var(--text); font-weight: 700; }
.scene-posbar .pb-pos .up { color: var(--green); }
.scene-posbar .pb-pos .down { color: #ff8a80; }
.scene-body { position: relative; height: 520px; }
#sceneChart { width: 100%; height: 100%; display: block; }
@media (max-width: 760px) { .scene-body { height: 320px; } }

/* ---------- marquee ---------- */
.marquee-sec { padding: 70px 0 10px; }
.marquee-label { text-align: center; font-size: 12.5px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--dim); font-weight: 700; margin-bottom: 26px; }
.marquee { overflow: hidden; position: relative; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: scroll 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(calc(-50% - 8px)); } }
.site-chip {
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
  font-weight: 700; font-size: 15px; color: var(--muted);
  border: 1px solid var(--line2); border-radius: 999px; padding: 12px 26px;
  background: rgba(255,255,255,0.03);
}
.site-chip .sq { width: 9px; height: 9px; border-radius: 3px; }

/* ---------- sections ---------- */
section { padding: 110px 0; position: relative; }
.sec-kicker {
  display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: 2.5px;
  text-transform: uppercase; margin-bottom: 16px; padding: 6px 14px; border-radius: 999px;
}
.k-orange { color: var(--orange2); background: rgba(255,157,69,0.09); border: 1px solid rgba(255,157,69,0.28); }
.k-green { color: var(--green); background: rgba(52,211,153,0.08); border: 1px solid rgba(52,211,153,0.26); }
.k-blue { color: var(--blue); background: rgba(106,169,255,0.09); border: 1px solid rgba(106,169,255,0.26); }
.k-violet { color: var(--violet); background: rgba(167,139,250,0.09); border: 1px solid rgba(167,139,250,0.26); }
h2 { font-size: clamp(30px, 4.4vw, 50px); letter-spacing: -0.03em; line-height: 1.08; font-weight: 800; margin-bottom: 18px; }
.sec-sub { color: var(--muted); font-size: 17.5px; max-width: 620px; }
.sec-sub strong, .sec-sub b { color: var(--text); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split.rev > .split-visual { order: -1; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } .split.rev > .split-visual { order: 0; } }

.feature-list { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.feature-row { display: flex; gap: 14px; align-items: flex-start; }
.feature-row .fi {
  flex: 0 0 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  font-size: 17px; border: 1px solid var(--line2); background: rgba(255,255,255,0.04);
}
.feature-row h4 { font-size: 15.5px; font-weight: 700; margin-bottom: 2px; }
.feature-row p { font-size: 14px; color: var(--muted); }

/* visual cards / mock UI */
.visual-card {
  border: 1px solid var(--line2); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  box-shadow: 0 30px 90px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.05);
  overflow: hidden; position: relative;
}
.visual-card .glow-o::before, .glow-line { content: ""; }
.visual-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: var(--radius);
  background: radial-gradient(500px 200px at 20% 0%, rgba(255,157,69,0.07), transparent 60%);
}
.vc-pad { padding: 22px; }

/* screenshot frames */
.shot-frame {
  border: 1px solid var(--line2); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 90px rgba(0,0,0,0.55);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
}
.shot-frame:hover { transform: translateY(-6px) scale(1.012); box-shadow: 0 44px 110px rgba(0,0,0,0.65), 0 0 60px rgba(255,157,69,0.08); }

/* --- recorder mock --- */
.rec-mock { font-size: 13px; }
.rec-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.rec-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px rgba(224,67,58,0.8); animation: pulse 1.4s infinite; }
.rec-head .rec-lbl { font-weight: 800; letter-spacing: 1.5px; font-size: 12px; color: var(--red); }
.rec-head .rec-time { margin-left: auto; font-family: var(--mono); color: var(--muted); }
.rec-screen { position: relative; height: 210px; background: #0a0d13; overflow: hidden; }
#recChart { width: 100%; height: 100%; display: block; }
.rec-timeline { padding: 16px 18px 20px; }
.rec-track { position: relative; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.07); }
.rec-fill { position: absolute; inset: 0 auto 0 0; width: 62%; border-radius: 999px; background: linear-gradient(90deg, var(--orange-deep), var(--orange)); }
.rec-mark { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--bg); display: grid; place-items: center; font-size: 8px; font-weight: 900; }
.rec-mark.b { background: #22b573; color: #032b1b; }
.rec-mark.s { background: var(--red); color: #fff; }
.rec-scrub { position: absolute; top: 50%; left: 62%; transform: translate(-50%,-50%); width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 0 16px rgba(255,255,255,0.5); }
.rec-events { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.rec-evt { font-family: var(--mono); font-size: 11px; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--line2); color: var(--muted); background: rgba(255,255,255,0.03); }
.rec-evt.buy { color: var(--green); border-color: rgba(52,211,153,0.3); }
.rec-evt.sell { color: var(--red); border-color: rgba(224,67,58,0.3); }

/* --- journal mock --- */
.journal-mock { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.j-card { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: rgba(255,255,255,0.02); }
.j-head { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; }
.j-head .sym { font-weight: 800; color: var(--text); }
.j-tag { font-size: 10.5px; font-weight: 800; letter-spacing: 1px; padding: 4px 10px; border-radius: 999px; }
.j-tag.narrative { color: var(--blue); background: rgba(106,169,255,0.1); border: 1px solid rgba(106,169,255,0.3); }
.j-tag.breakout { color: var(--violet); background: rgba(167,139,250,0.1); border: 1px solid rgba(167,139,250,0.3); }
.j-pnl { margin-left: auto; font-family: var(--mono); font-weight: 700; }
.j-pnl.up { color: var(--green); } .j-pnl.down { color: var(--red); }
.j-thesis { margin-top: 10px; font-size: 13.5px; color: var(--muted); font-style: italic; border-left: 2px solid rgba(255,157,69,0.5); padding-left: 12px; }
.j-grade { display: inline-flex; margin-top: 12px; font-size: 11px; font-weight: 800; letter-spacing: 1px; padding: 5px 12px; border-radius: 999px; }
.j-grade.exc { color: var(--green); background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.3); }
.j-grade.early { color: var(--orange2); background: rgba(255,157,69,0.1); border: 1px solid rgba(255,157,69,0.3); }
.j-grade.rt { color: var(--red); background: rgba(224,67,58,0.1); border: 1px solid rgba(224,67,58,0.3); }
.j-left { font-family: var(--mono); font-size: 11.5px; color: var(--dim); margin-left: 10px; }

/* --- leaderboard mock --- */
.lb-mock { padding: 22px; }
.lb-title { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; margin-bottom: 16px; }
.lb-title .shield { color: var(--green); }
.lb-row {
  display: grid; grid-template-columns: 44px 1fr auto auto; gap: 12px; align-items: center;
  padding: 12px 14px; border-radius: 12px; font-size: 14px;
  border: 1px solid transparent; transition: border-color .2s, background .2s;
}
.lb-row:hover { background: rgba(255,255,255,0.03); border-color: var(--line); }
.lb-row .rank { font-family: var(--mono); font-weight: 800; font-size: 15px; }
.lb-row:nth-child(2) .rank { color: #ffd700; }
.lb-row:nth-child(3) .rank { color: #c0c0c8; }
.lb-row:nth-child(4) .rank { color: #cd7f32; }
.lb-row .handle { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.lb-row .avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.lb-row .verify { font-size: 10px; color: var(--green); border: 1px solid rgba(52,211,153,0.35); background: rgba(52,211,153,0.08); border-radius: 999px; padding: 2px 8px; font-weight: 800; letter-spacing: .5px; }
.lb-row .pnl { font-family: var(--mono); font-weight: 700; color: var(--green); }
.lb-row .win { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.lb-chain {
  margin-top: 18px; padding: 14px; border-radius: 12px; font-family: var(--mono); font-size: 11px;
  color: var(--dim); background: rgba(0,0,0,0.35); border: 1px solid var(--line);
  overflow: hidden; white-space: nowrap;
}
.lb-chain .h { color: var(--green); }
.lb-chain .arrow { color: var(--orange); }

/* ---------- bubbles section big canvas ---------- */
.bubbles-canvas-wrap { position: relative; }
.bubble-legend { display: flex; gap: 18px; margin-top: 20px; font-size: 13px; color: var(--muted); font-weight: 600; }
.bubble-legend .bl { display: flex; align-items: center; gap: 8px; }
.bubble-legend .bdot { width: 14px; height: 14px; border-radius: 50%; display: grid; place-items: center; font-size: 7px; font-weight: 900; }
.bubble-legend .bdot.b { background: #22b573; color: #032b1b; }
.bubble-legend .bdot.s { background: var(--red); color: #fff; }

/* ---------- grid of extra features ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 54px; }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr; } }
.gcard {
  border: 1px solid var(--line2); border-radius: var(--radius); padding: 28px;
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  transition: transform .3s, border-color .3s, box-shadow .3s;
  position: relative; overflow: hidden;
}
.gcard::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px 180px at 50% 0%, rgba(255,157,69,0.08), transparent 70%);
}
.gcard:hover { transform: translateY(-5px); border-color: rgba(255,157,69,0.3); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.gcard:hover::after { opacity: 1; }
.gcard .gi { font-size: 26px; margin-bottom: 16px; }
.gcard h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.gcard p { font-size: 14px; color: var(--muted); }

/* ---------- install ---------- */
.install-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 50px; }
@media (max-width: 900px) { .install-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .install-steps { grid-template-columns: 1fr; } }
.step {
  border: 1px solid var(--line2); border-radius: var(--radius); padding: 26px 22px;
  background: linear-gradient(180deg, var(--panel2), var(--panel)); position: relative;
}
.step .n {
  font-family: var(--mono); font-weight: 800; font-size: 13px;
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,157,69,0.12); color: var(--orange2); border: 1px solid rgba(255,157,69,0.3);
  margin-bottom: 16px;
}
.step h4 { font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--muted); }
.step code { font-family: var(--mono); font-size: 12px; color: var(--orange2); background: rgba(255,157,69,0.08); padding: 2px 7px; border-radius: 6px; }

/* ---------- privacy strip ---------- */
.privacy-strip {
  margin-top: 70px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
@media (max-width: 900px) { .privacy-strip { grid-template-columns: repeat(2, 1fr); } }
.pchip {
  display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600;
  border: 1px solid var(--line2); border-radius: 14px; padding: 16px 18px;
  background: rgba(255,255,255,0.02); color: var(--muted);
}
.pchip .pi { font-size: 20px; }

/* ---------- homepage live banner ---------- */
.live-banner {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  border-color: rgba(145,70,255,0.35);
}
.live-banner:hover { border-color: rgba(145,70,255,0.6); }
.live-banner::after {
  background: radial-gradient(500px 200px at 50% 0%, rgba(145,70,255,0.1), transparent 70%);
}
.live-banner .live-chip {
  flex: none;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 800; letter-spacing: 1.4px;
  padding: 7px 14px; border-radius: 999px;
  color: #fff; background: rgba(224,67,58,0.9);
  box-shadow: 0 6px 24px rgba(224,67,58,0.35);
}
.live-banner .live-chip .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #fff; animation: pulse 1.6s infinite;
}
.live-banner .txt { flex: 1; min-width: 240px; }
.live-banner .go {
  flex: none; font-weight: 700; font-size: 14px; color: #bf94ff;
  border: 1px solid rgba(145,70,255,0.4); background: rgba(145,70,255,0.08);
  padding: 9px 18px; border-radius: 999px;
  transition: background .2s, color .2s;
}
.live-banner:hover .go { background: rgba(145,70,255,0.2); color: #d9c2ff; }

/* ---------- final CTA ---------- */
.final-cta { text-align: center; padding: 130px 0 120px; position: relative; }
.final-cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 340px at 50% 55%, rgba(255,157,69,0.12), transparent 70%);
}
.final-cta h2 { font-size: clamp(34px, 5.5vw, 62px); }
.final-cta .sec-sub { margin: 0 auto; }
.final-cta .hero-ctas { justify-content: center; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 42px 0; }
.foot-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-inner .nav-logo { font-size: 15px; }
/* Wraps rather than running off the edge: the link list grew past one line's
   worth on phones once the Arena pages were added to it. */
.foot-links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 12px 22px; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.foot-links a:hover { color: var(--text); }
.foot-note { margin-top: 18px; font-size: 12.5px; color: var(--dim); }

/* ---------- reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .pt-box, .pt-box::before, .pt-banner::after, .pt-buy-btn::after, .pt-dot, .hero-badge .dot, .rec-dot, .nav-live .dot, .live-banner .live-chip .dot { animation: none; }
}

/* =========================================================================
   NEWS & PATCH NOTES
   Shared by news.html (the hub) and every news-*.html article. Kept in the
   one stylesheet rather than per-page <style> blocks because eight pages
   share this vocabulary — a copy per page is eight places to drift.
   ========================================================================= */

/* A reading column. Full-width .wrap is right for marketing rows and wrong
   for prose: past ~80 characters the eye loses the line on the way back. */
.wrap-read { max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* Accent per story. Set on <body> for an article, or on a card in the hub, so
   the deep-dive and the card that links to it read as one object. */
.a-orange { --accent: var(--orange2); --accent-line: rgba(255,157,69,0.40); --accent-soft: rgba(255,157,69,0.15); }
.a-violet { --accent: var(--violet);  --accent-line: rgba(167,139,250,0.45); --accent-soft: rgba(167,139,250,0.15); }
.a-green  { --accent: var(--green);   --accent-line: rgba(52,211,153,0.42);  --accent-soft: rgba(52,211,153,0.13); }
.a-blue   { --accent: var(--blue);    --accent-line: rgba(106,169,255,0.42); --accent-soft: rgba(106,169,255,0.13); }
.a-red    { --accent: #ff8a80;        --accent-line: rgba(224,67,58,0.45);   --accent-soft: rgba(224,67,58,0.14); }

/* ---------- release / category chips ---------- */
.ver-chip {
  display: inline-flex; align-items: center;
  font-family: var(--mono); font-size: 12.5px; font-weight: 800; letter-spacing: -0.2px;
  color: var(--orange2); background: rgba(255,157,69,0.10);
  border: 1px solid rgba(255,157,69,0.32); border-radius: 999px; padding: 5px 13px;
}
.ver-chip.major { color: #ffe3c4; background: rgba(255,157,69,0.20); border-color: rgba(255,157,69,0.55); }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
  border-radius: 999px; padding: 4px 11px; white-space: nowrap;
}
.tag.feature  { color: var(--orange2); background: rgba(255,157,69,0.09); border: 1px solid rgba(255,157,69,0.30); }
.tag.fix      { color: var(--green);   background: rgba(52,211,153,0.08); border: 1px solid rgba(52,211,153,0.28); }
.tag.security { color: var(--blue);    background: rgba(106,169,255,0.09); border: 1px solid rgba(106,169,255,0.28); }
.tag.speed    { color: var(--violet);  background: rgba(167,139,250,0.10); border: 1px solid rgba(167,139,250,0.30); }

/* ---------- news hub: featured articles ---------- */
.news-hero { padding: 132px 0 20px; }
.news-hero h1 { max-width: 900px; }
.news-hero .hero-sub { max-width: 700px; }

.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 46px; }
@media (max-width: 880px) { .feat-grid { grid-template-columns: 1fr; } }

/* The lead card spans the row — the newest thing we shipped should not have
   to compete for attention with the thing before it. */
.feat-card.lead { grid-column: 1 / -1; }

.feat-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: 26px 26px 24px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.feat-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s;
  background: radial-gradient(520px 240px at 12% 0%, var(--accent-soft, rgba(255,157,69,0.14)), transparent 70%);
}
.feat-card:hover { transform: translateY(-5px); border-color: var(--accent-line, rgba(255,157,69,0.34)); box-shadow: 0 26px 64px rgba(0,0,0,0.5); }
.feat-card:hover::after { opacity: 1; }
.feat-card > * { position: relative; z-index: 1; }
.feat-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 15px; }
.feat-date { font-size: 12.5px; color: var(--dim); font-weight: 600; }
.feat-card h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.2; margin-bottom: 9px; }
.feat-card.lead h3 { font-size: clamp(25px, 3.2vw, 34px); }
.feat-card p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.feat-card.lead p { font-size: 16px; max-width: 760px; }
.feat-card .go {
  margin-top: 18px; font-size: 13.5px; font-weight: 700;
  color: var(--accent, var(--orange2)); display: inline-flex; align-items: center; gap: 7px;
}
.feat-card .go .arr { transition: transform .25s; }
.feat-card:hover .go .arr { transform: translateX(4px); }

/* ---------- news hub: the archive ---------- */
.archive-sec { padding: 70px 0 90px; }
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0 8px; }
.filter-chip {
  font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
  color: var(--muted); background: rgba(255,255,255,0.035);
  border: 1px solid var(--line2); border-radius: 999px; padding: 8px 17px;
  transition: color .2s, background .2s, border-color .2s;
}
.filter-chip:hover { color: var(--text); background: rgba(255,255,255,0.08); }
.filter-chip[aria-pressed="true"] {
  color: #2a1400; background: linear-gradient(135deg, var(--orange2), var(--orange-deep));
  border-color: transparent;
}
.filter-count { font-size: 12.5px; color: var(--dim); font-weight: 600; margin-top: 14px; }

/* The archive is a timeline: one rail, one node per release. Releases are
   the unit people actually track ("am I on the one that fixed X?"). */
.timeline { position: relative; margin-top: 34px; padding-left: 30px; }
.timeline::before {
  content: ""; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 1px;
  background: linear-gradient(180deg, rgba(255,157,69,0.5), var(--line2) 22%, var(--line2) 78%, transparent);
}
.rel { position: relative; padding-bottom: 30px; }
.rel::before {
  content: ""; position: absolute; left: -30px; top: 20px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--line2);
}
.rel.is-major::before { border-color: var(--orange); box-shadow: 0 0 14px rgba(255,157,69,0.55); }
.rel-card {
  padding: 20px 22px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 15px;
  transition: border-color .22s, background .22s;
}
.rel-card:hover { border-color: var(--line2); background: var(--panel2); }
.rel-head { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; }
.rel-head .rel-date { font-size: 12.5px; color: var(--dim); font-weight: 600; margin-left: auto; }
.rel-title { font-size: 17px; font-weight: 800; letter-spacing: -0.3px; margin: 12px 0 4px; }
.rel-blurb { font-size: 14px; color: var(--muted); }
.rel-points { margin-top: 13px; display: flex; flex-direction: column; gap: 9px; }
.rel-point { display: flex; gap: 10px; font-size: 13.8px; color: var(--muted); line-height: 1.55; }
.rel-point .bullet { flex: none; margin-top: 7px; width: 5px; height: 5px; border-radius: 50%; background: rgba(255,157,69,0.6); }
.rel-point b { color: var(--text); font-weight: 650; }
.rel-more {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 15px;
  font-size: 13px; font-weight: 700; color: var(--orange2);
}
.rel-more + .rel-more { margin-left: 20px; }
.rel-more:hover { color: #ffd9b5; }

/* A superseded build — one we actively tell people not to run. It gets a red
   card and a banner, because "don't trade on this" cannot be a sentence a
   reader might skim past. */
.rel-card.is-superseded { border-color: rgba(224,67,58,0.35); background: linear-gradient(180deg, rgba(224,67,58,0.05), transparent 60%), var(--panel); }
.rel-warn {
  display: flex; align-items: center; gap: 9px; margin: 14px 0 2px;
  padding: 10px 14px; border-radius: 11px;
  background: rgba(224,67,58,0.10); border: 1px solid rgba(224,67,58,0.38);
  font-size: 13px; font-weight: 700; color: #ff8a80;
}
.rel-warn .ic { font-size: 14px; flex: none; }
.rel-card.is-superseded .rel-title { color: var(--muted); }

/* ---------- article pages ---------- */
.post-hero { padding: 122px 0 0; position: relative; }
.post-back { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--muted); transition: color .2s; }
.post-back:hover { color: var(--orange2); }
.post-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 26px 0 20px; }
.post-read { font-size: 12.5px; color: var(--dim); font-weight: 600; }
.post-title { font-size: clamp(33px, 5vw, 55px); letter-spacing: -0.035em; line-height: 1.06; font-weight: 800; }
.post-stand { margin-top: 20px; font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: var(--muted); }
.post-stand strong, .post-stand b { color: var(--text); font-weight: 600; }
.post-rule { height: 1px; background: linear-gradient(90deg, var(--accent, var(--orange)), transparent); margin: 40px 0 0; opacity: .55; }

.post-body { padding: 40px 0 30px; font-size: 16.5px; line-height: 1.72; color: #c3ccda; }
.post-body h2 {
  font-size: clamp(23px, 3vw, 30px); line-height: 1.22; letter-spacing: -0.02em;
  color: var(--text); margin: 52px 0 16px;
}
.post-body h3 { font-size: 18.5px; font-weight: 750; color: var(--text); margin: 34px 0 10px; letter-spacing: -0.2px; }
.post-body p { margin-bottom: 20px; }
.post-body strong, .post-body b { color: var(--text); font-weight: 650; }
.post-body a:not(.btn) { color: var(--accent, var(--orange2)); border-bottom: 1px solid rgba(255,157,69,0.3); }
.post-body a:not(.btn):hover { border-bottom-color: currentColor; }
.post-body ul, .post-body ol { margin: 0 0 22px; padding-left: 22px; }
.post-body li { margin-bottom: 10px; }
.post-body li::marker { color: var(--accent, var(--orange)); }
.post-body code {
  font-family: var(--mono); font-size: 0.88em;
  color: var(--orange2); background: rgba(255,157,69,0.08);
  padding: 2px 7px; border-radius: 6px;
}
.post-body hr { border: 0; height: 1px; background: var(--line); margin: 44px 0; }
.post-lede { font-size: 18px; color: var(--text); }

/* A pull-quote for the one sentence that carries the release. */
.post-pull {
  margin: 34px 0; padding: 4px 0 4px 24px;
  border-left: 3px solid var(--accent, var(--orange));
  font-size: clamp(19px, 2.4vw, 24px); line-height: 1.4; font-weight: 700;
  letter-spacing: -0.02em; color: var(--text);
}

/* Callout: the honesty notes. This product's differentiator is what it
   refuses to fake, so those passages get their own visual weight. */
.callout {
  margin: 32px 0; padding: 20px 24px;
  background: var(--panel); border: 1px solid var(--line2);
  border-left: 3px solid var(--accent, var(--orange)); border-radius: 14px;
  font-size: 15px; line-height: 1.65; color: var(--muted);
}
.callout .co-label {
  display: block; font-size: 11px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--accent, var(--orange2)); margin-bottom: 8px;
}
.callout p { margin-bottom: 12px; }
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--text); }

/* Before/after — the shape most of these releases actually have. */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0; }
@media (max-width: 700px) { .ba-grid { grid-template-columns: 1fr; } }
.ba {
  padding: 19px 21px; border-radius: 15px;
  background: var(--panel); border: 1px solid var(--line);
}
.ba .ba-lbl { font-size: 10.5px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px; }
.ba.before { border-color: rgba(224,67,58,0.25); }
.ba.before .ba-lbl { color: #ff8a80; }
.ba.after { border-color: rgba(52,211,153,0.28); }
.ba.after .ba-lbl { color: var(--green); }
.ba p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; }

/* Numbers row for an article's headline figures. */
.post-stats { display: flex; gap: 34px; flex-wrap: wrap; margin: 30px 0 34px; }
.post-stat .n { font-family: var(--mono); font-size: 27px; font-weight: 800; letter-spacing: -0.6px; color: var(--accent, var(--orange)); }
.post-stat .l { font-size: 12.5px; color: var(--dim); font-weight: 600; margin-top: 2px; }

/* ---------- the patch-notes panel ---------- */
.pn-panel {
  margin: 46px 0 10px; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line2); border-radius: var(--radius);
}
.pn-head {
  display: flex; align-items: center; gap: 11px; flex-wrap: wrap;
  padding: 15px 22px; border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.pn-head .pn-t { font-family: var(--mono); font-size: 12px; font-weight: 800; letter-spacing: 1.6px; color: var(--dim); text-transform: uppercase; }
.pn-head .pn-date { margin-left: auto; font-size: 12.5px; color: var(--dim); font-weight: 600; }
.pn-body { padding: 8px 22px 20px; }
.pn-item { padding: 16px 0; border-bottom: 1px solid var(--line); }
.pn-item:last-child { border-bottom: 0; padding-bottom: 4px; }
.pn-item h4 { font-size: 15.5px; font-weight: 750; color: var(--text); margin-bottom: 6px; letter-spacing: -0.2px; }
.pn-item p { font-size: 14.3px; line-height: 1.62; color: var(--muted); margin: 0; }
.pn-item p + p { margin-top: 9px; }
.pn-item code { font-family: var(--mono); font-size: 12.5px; color: var(--orange2); background: rgba(255,157,69,0.08); padding: 2px 6px; border-radius: 5px; }
.pn-foot {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 14px 22px; border-top: 1px solid var(--line); background: rgba(255,255,255,0.015);
  font-size: 13px; color: var(--dim);
}
.pn-foot a { color: var(--orange2); font-weight: 700; }

/* ---------- prev / next ---------- */
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 54px 0 10px; }
@media (max-width: 700px) { .post-nav { grid-template-columns: 1fr; } }
.pnav {
  padding: 19px 22px; border-radius: 15px;
  background: var(--panel); border: 1px solid var(--line);
  transition: transform .22s, border-color .22s;
}
.pnav:hover { transform: translateY(-3px); border-color: rgba(255,157,69,0.32); }
.pnav .dir { font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--dim); }
.pnav .t { display: block; margin-top: 7px; font-size: 15.5px; font-weight: 750; letter-spacing: -0.2px; }
.pnav.next { text-align: right; }

/* ---------- "what's new" strip (homepage) ---------- */
.news-strip {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin-top: 20px; padding: 20px 24px;
  background: linear-gradient(120deg, rgba(255,157,69,0.10), rgba(52,211,153,0.05));
  border: 1px solid rgba(255,157,69,0.28); border-radius: var(--radius);
  transition: border-color .25s, transform .25s;
}
.news-strip:hover { border-color: rgba(255,157,69,0.5); transform: translateY(-3px); }
.news-strip .txt { flex: 1; min-width: 260px; }
.news-strip h3 { font-size: 17.5px; font-weight: 800; margin-bottom: 4px; letter-spacing: -0.3px; }
.news-strip p { font-size: 13.8px; color: var(--muted); }
.news-strip .go {
  flex: none; font-weight: 700; font-size: 13.5px; color: var(--orange2);
  border: 1px solid rgba(255,157,69,0.4); background: rgba(255,157,69,0.09);
  padding: 9px 18px; border-radius: 999px; transition: background .2s;
}
.news-strip:hover .go { background: rgba(255,157,69,0.2); }
