/* ============================================================
   Project Sheldon — stylesheet
   Namespace: .ps-*   ·   Theme: polished chrome on black
   ============================================================ */

/* ── Design tokens ─────────────────────────────────────────── */
:root {
  --ps-void:     #000000;
  --ps-wall:     #08090b;
  --ps-surface:  #0c0d0f;
  --ps-raised:   #141518;
  --ps-graphite: #1e2024;
  --ps-line:     #2c2f34;
  --ps-steel:    #6b7078;
  --ps-mist:     #9a9fa7;
  --ps-chrome:   #c3c7cd;
  --ps-platinum: #eceef1;
  --ps-glow:     #ffffff;

  --ps-chrome-fill: linear-gradient(180deg,
    #ffffff 0%, #f2f3f5 16%, #cfd2d7 34%, #8d929a 46%, #737881 50%,
    #9da2aa 56%, #dde0e4 72%, #ffffff 86%, #c4c8ce 100%);
  --ps-chrome-soft: linear-gradient(180deg, #ffffff 0%, #dcdfe3 44%, #a9aeb5 52%, #eceef0 100%);
  --ps-chrome-edge: linear-gradient(90deg, #1e2024 0%, #8d929a 30%, #ffffff 50%, #8d929a 70%, #1e2024 100%);

  --ps-font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --ps-font-text:    "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ps-font-mono:    "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --ps-ease: cubic-bezier(.16, 1, .3, 1);
  --ps-pad: clamp(20px, 4vw, 56px);
  --ps-wrap: 80rem;             /* 1280px — equivalent of tailwind max-w-7xl */
  --ps-radius: 16px;
}

/* ── Reset & baseline ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--ps-void); color: var(--ps-chrome); -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { font-family: var(--ps-font-text); font-size: 17px; line-height: 1.55; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
code, kbd, pre { font-family: var(--ps-font-mono); font-size: .92em; }
kbd { background: var(--ps-raised); border: 1px solid var(--ps-line); border-bottom-width: 2px; border-radius: 5px; padding: 1px 6px; font-size: .78em; color: var(--ps-platinum); }
code { background: var(--ps-raised); padding: 1px 6px; border-radius: 5px; color: var(--ps-platinum); border: 1px solid var(--ps-graphite); }
::selection { background: var(--ps-platinum); color: var(--ps-void); }
:focus-visible { outline: 1.5px solid var(--ps-glow); outline-offset: 4px; border-radius: 6px; }

.ps-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ps-wrap { max-width: var(--ps-wrap); margin: 0 auto; padding: 0 clamp(20px, 3vw, 32px); }

/* ── Buttons ──────────────────────────────────────────────── */
.ps-cta {
  --ps-h: 54px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--ps-h); padding: 0 28px; border: 0;
  border-radius: var(--ps-h);
  font: 600 15px/1 var(--ps-font-text); letter-spacing: .01em;
  cursor: pointer; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .4s var(--ps-ease), box-shadow .5s var(--ps-ease), color .3s, background-color .3s, border-color .3s;
}
.ps-cta--sm { --ps-h: 44px; padding: 0 20px; font-size: 14px; }
.ps-cta--block { width: 100%; }
.ps-cta__ico { width: 16px; height: 16px; transition: transform .4s var(--ps-ease); }
.ps-cta:hover .ps-cta__ico { transform: translateX(3px); }
.ps-cta__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; transition: transform .4s var(--ps-ease); }
.ps-cta:hover .ps-cta__dot { transform: scale(1.5); }

.ps-cta--chrome {
  color: #0a0b0d; background: var(--ps-chrome-soft);
  box-shadow: inset 0 1px 0 #ffffff, inset 0 -1px 0 #6f747c, 0 0 0 1px #3a3d43, 0 8px 18px -8px #000;
}
.ps-cta--chrome::before {
  content: ""; position: absolute; inset: -40% auto -40% -60%; width: 45%; z-index: -1;
  background: linear-gradient(100deg, #ffffff00, #ffffff, #ffffff00);
  transform: skewX(-18deg) translateX(-120%);
  transition: transform .9s var(--ps-ease);
}
.ps-cta--chrome:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 #6f747c, 0 0 0 1px #9da2aa, 0 0 26px #ffffff55, 0 12px 26px -10px #000; }
.ps-cta--chrome:hover::before { transform: skewX(-18deg) translateX(480%); }
.ps-cta--chrome:active { transform: translateY(0) scale(.98); }

.ps-cta--ghost {
  color: var(--ps-platinum); background: #060607;
  border: 1px solid #3a3d43; box-shadow: inset 0 1px 0 #1c1e22;
}
.ps-cta--ghost:hover {
  color: #fff; border-color: #e6e8eb; background: #0e0f11;
  text-shadow: 0 0 10px #ffffffb0;
  box-shadow: inset 0 1px 0 #2c2f34, 0 0 22px #ffffff26;
}

/* ── Chips / tags / meta ──────────────────────────────────── */
.ps-chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 10px; border-radius: 99px;
  font: 600 11.5px/1 var(--ps-font-text); letter-spacing: .02em; white-space: nowrap;
}
.ps-chip--chrome { background: var(--ps-chrome-soft); color: #0a0b0d; box-shadow: inset 0 1px 0 #fff, 0 0 0 1px #4a4e55; }
.ps-chip--outline { background: #0e0f11; border: 1px solid var(--ps-line); color: var(--ps-chrome); }
.ps-chip--dark { background: var(--ps-raised); color: var(--ps-platinum); box-shadow: inset 0 1px 0 #2e3137; }
.ps-chip__pip { width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px #fff; }
.ps-chip svg { width: 12px; height: 12px; }

.ps-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--ps-raised); border: 1px solid #202226; color: var(--ps-mist); font: 600 11.5px/1 var(--ps-font-mono); letter-spacing: .02em; }
.ps-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ps-steel); white-space: nowrap; }
.ps-meta svg { width: 14px; height: 14px; }
.ps-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ps-steel); }
.ps-dot--on { background: #fff; box-shadow: 0 0 8px #fff; animation: ps-pulse 2.6s ease-in-out infinite; }
@keyframes ps-pulse { 50% { box-shadow: 0 0 2px #fff; background: #9da2aa; } }

/* ── Icon tile / glass highlight ──────────────────────────── */
.ps-gloss {
  width: 42px; height: 42px; flex: none;
  border-radius: 11px; display: grid; place-items: center;
  color: #c9ccd2;
  background: linear-gradient(180deg, #1c1e22, #101114);
  border: 1px solid #2a2d32;
  box-shadow: inset 0 1px 0 #383b41, 0 4px 10px -4px #000;
  transition: color .35s, border-color .35s, box-shadow .35s;
}
.ps-gloss svg { width: 20px; height: 20px; }
.ps-gloss--lg { width: 56px; height: 56px; border-radius: 14px; }
.ps-gloss--lg svg { width: 26px; height: 26px; }
.ps-tile:hover .ps-gloss { color: #fff; border-color: #80858d; box-shadow: inset 0 1px 0 #4a4e55, 0 0 18px #ffffff40; }

.ps-eyebrow {
  display: inline-block; font: 600 12px/1 var(--ps-font-mono);
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--ps-steel); margin-bottom: 14px;
}

.ps-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14.5px; font-weight: 600; color: var(--ps-platinum); white-space: nowrap;
}
.ps-arrow i {
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--ps-raised); border: 1px solid var(--ps-line);
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.ps-arrow svg { width: 14px; height: 14px; }
.ps-arrow:hover i { border-color: #e6e8eb; background: #1b1d21; box-shadow: 0 0 16px #ffffff40; }

/* ============================================================
   HERO (kept from starter template, namespaced)
   ============================================================ */
.ps-stage {
  position: relative; min-height: 100svh;
  display: grid; grid-template-rows: auto 1fr auto;
  isolation: isolate; overflow: hidden; background: var(--ps-void);
}
#ps-neon, #ps-sparks {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: -1; display: block; pointer-events: none;
}
.ps-stage__fallback { display: none; }
.no-gl .ps-stage__fallback {
  display: block; position: absolute; z-index: -1;
  right: 12%; top: 50%; translate: 0 -50%;
  width: min(40vw, 62vh); aspect-ratio: 1;
  background: #fff;
  -webkit-mask: url('../img/project-sheldon-logo.webp') center/contain no-repeat;
  mask: url('../img/project-sheldon-logo.webp') center/contain no-repeat;
  filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 22px #b9c3d6);
}

.ps-topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 26px var(--ps-pad);
}
.ps-sig { display: flex; align-items: center; gap: 14px; }
.ps-sig__mark {
  width: 38px; height: 38px; flex: none;
  border-radius: 9px;
  filter: drop-shadow(0 0 0 transparent);
  transition: filter .5s;
}
.ps-sig:hover .ps-sig__mark { filter: drop-shadow(0 0 6px #ffffffb0); }
.ps-sig__name {
  font-family: var(--ps-font-display); font-weight: 500;
  font-size: 15px; letter-spacing: .14em; color: var(--ps-platinum);
}
.ps-topbar__nav {
  display: flex;
  gap: clamp(14px, 1.8vw, 26px);
  font-size: 14px;
  font-weight: 500;
}
.ps-topbar__nav a {
  position: relative; color: var(--ps-chrome);
  transition: color .3s, text-shadow .3s;
}
.ps-topbar__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--ps-glow);
  box-shadow: 0 0 8px #fff, 0 0 2px #fff;
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ps-ease);
}
.ps-topbar__nav a:hover { color: var(--ps-glow); text-shadow: 0 0 12px #ffffff80; }
.ps-topbar__nav a:hover::after { transform: scaleX(1); }

.ps-stage__body {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end; padding: 0 var(--ps-pad) clamp(40px, 8vh, 96px);
}
.ps-stage__copy { max-width: 720px; }
.ps-stage__copy h1 {
  font-family: var(--ps-font-display); font-weight: 500;
  font-size: clamp(2.1rem, 4.1vw, 4.5rem);
  line-height: 1.04; letter-spacing: -.035em;
  color: transparent;
  background:
    radial-gradient(240px 150px at var(--ps-mx, 30%) var(--ps-my, 40%), #ffffff, #ffffff00 70%),
    var(--ps-chrome-fill);
  background-size: 100% 100%, 100% 1.04em;
  background-repeat: no-repeat, repeat-y;
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 -1px 0 #3d4046) drop-shadow(0 0 22px #ffffff1f);
  padding-bottom: .06em;
}
.ps-stage__lede {
  margin-top: 26px; max-width: 54ch;
  font-size: clamp(16px, 1.25vw, 18.5px); color: var(--ps-chrome);
}
.ps-stage__lede strong { color: var(--ps-platinum); font-weight: 600; }
.ps-stage__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.ps-stage__traits {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  margin-top: 26px; font-size: 13.5px; color: var(--ps-mist);
}
.ps-stage__traits li { display: inline-flex; align-items: center; gap: 8px; }
.ps-stage__traits svg { width: 12px; height: 12px; color: var(--ps-chrome); }

.ps-stage__hint {
  justify-self: end; align-self: end; max-width: 26ch;
  text-align: right; font-size: 13.5px; color: var(--ps-steel);
  transition: color .4s;
}
.ps-stage.is-hot .ps-stage__hint { color: var(--ps-chrome); }
.ps-stage__hint b { color: var(--ps-platinum); font-weight: 500; }

.ps-stage__foot {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; padding: 18px var(--ps-pad);
  font-size: 13.5px; color: var(--ps-steel);
  border-top: 1px solid #141518;
}
.ps-stage__foot span:last-child { display: flex; align-items: center; gap: 10px; }
.ps-stage__live {
  width: 6px; height: 6px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px #fff, 0 0 14px #fff;
  animation: ps-pulse 2.4s ease-in-out infinite;
}

/* Page-load reveal — intentionally a no-op: hero content shows instantly. */
.ps-reveal,
.ps-reveal--d1,
.ps-reveal--d2,
.ps-reveal--d3,
.ps-reveal--d4 { opacity: 1; transform: none; filter: none; animation: none; }

/* ============================================================
   SECTIONS (common)
   ============================================================ */
.ps-block { padding: clamp(72px, 9vw, 112px) 0; border-top: 1px solid #111214; background: var(--ps-void); }
.ps-block--alt { background: var(--ps-wall); }
.ps-block--tight { padding: clamp(28px, 4vw, 56px) 0; }

.ps-block__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px; margin-bottom: 40px;
}
.ps-block__head p { max-width: 52ch; color: var(--ps-mist); font-size: 16px; }
.ps-block__hero { max-width: 68ch; margin: 0 auto 48px; text-align: center; }
.ps-block__hero p { color: var(--ps-mist); margin-top: 16px; font-size: 16.5px; }

h2 {
  font-family: var(--ps-font-display); font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.08;
  letter-spacing: -.03em; color: var(--ps-platinum);
}
h3 {
  font-family: var(--ps-font-display); font-weight: 500;
  font-size: 17px; line-height: 1.25; letter-spacing: -.01em; color: var(--ps-platinum);
}

/* ── Tile (card) ──────────────────────────────────────────── */
.ps-tile {
  position: relative;
  border-radius: var(--ps-radius); padding: 22px;
  background: radial-gradient(360px circle at var(--ps-cx, 50%) var(--ps-cy, -20%), #17191d, var(--ps-surface) 70%);
  border: 1px solid var(--ps-graphite);
  box-shadow: inset 0 1px 0 #24272c, 0 18px 36px -26px #000;
  transition: border-color .35s, transform .45s var(--ps-ease), box-shadow .45s;
}
.ps-tile::before {
  content: ""; position: absolute; left: 22px; right: 22px; top: -1px;
  height: 1px; background: var(--ps-chrome-edge);
  transform: scaleX(.2); opacity: 0;
  transition: transform .6s var(--ps-ease), opacity .4s;
}
.ps-tile:hover { border-color: #464a51; transform: translateY(-3px); box-shadow: inset 0 1px 0 #30333a, 0 26px 44px -24px #000, 0 0 32px -12px #ffffff3a; }
.ps-tile:hover::before { transform: scaleX(1); opacity: 1; }

/* Grid utilities */
.ps-grid { display: grid; gap: 14px; }
.ps-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ps-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ============================================================
   STATUS STRIP — four equal-height, compact, animated KPI cards
   ============================================================ */
.ps-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.ps-stat {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 14px 16px;
  min-height: 120px;
  border-radius: 14px;
  background: linear-gradient(180deg, #0f1114, #09090b);
  border: 1px solid var(--ps-graphite);
  box-shadow: inset 0 1px 0 #202226;
  overflow: hidden;
}
/* Light periodic sheen — animation is the whole point of this strip */
.ps-stat::after {
  content: "";
  position: absolute; inset: -40% -60%;
  background: linear-gradient(100deg, transparent 45%, #ffffff10 50%, transparent 55%);
  transform: translateX(-100%);
  animation: ps-stat-sheen 7s var(--ps-ease) infinite;
  pointer-events: none;
}
.ps-stat:nth-child(2)::after { animation-delay: 1.75s; }
.ps-stat:nth-child(3)::after { animation-delay: 3.5s; }
.ps-stat:nth-child(4)::after { animation-delay: 5.25s; }
@keyframes ps-stat-sheen {
  0%, 60%   { transform: translateX(-100%); }
  85%, 100% { transform: translateX(200%); }
}

.ps-stat header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; margin-bottom: 8px;
  font: 600 11px/1 var(--ps-font-mono);
  letter-spacing: .14em; text-transform: uppercase; color: var(--ps-steel);
}
.ps-stat header .ps-chip {
  height: 20px; padding: 0 8px;
  font-size: 10.5px; letter-spacing: .04em;
}

.ps-stat__value {
  display: block;
  font: 500 clamp(20px, 1.9vw, 25px)/1 var(--ps-font-display);
  letter-spacing: -.02em;
  color: transparent;
  background: var(--ps-chrome-fill);
  background-size: 100% 1.1em;
  -webkit-background-clip: text; background-clip: text;
  align-self: center;
}
.ps-stat__value small {
  font-size: .55em; margin-left: 4px; font-weight: 400;
  color: var(--ps-steel); -webkit-text-fill-color: var(--ps-steel);
}

.ps-stat__viz {
  display: flex; align-items: flex-end;
  height: 28px;
  margin-top: 4px;
}

/* ── Equalizer (injector state, latency) ── */
.ps-eqz {
  display: flex; align-items: flex-end;
  gap: 3px; width: 100%; height: 100%;
}
.ps-eqz i {
  flex: 1;
  height: 50%;
  border-radius: 1.5px;
  background: linear-gradient(180deg, #dfe3e8, #6b7078);
  box-shadow: inset 0 1px 0 #ffffffa0;
  animation: ps-eqz-bounce 1.4s ease-in-out infinite;
  transform-origin: bottom;
}
.ps-eqz i:nth-child(1)  { animation-delay: -.1s; animation-duration: 1.3s; }
.ps-eqz i:nth-child(2)  { animation-delay: -.4s; animation-duration: 1.7s; }
.ps-eqz i:nth-child(3)  { animation-delay: -.2s; animation-duration: 1.1s; }
.ps-eqz i:nth-child(4)  { animation-delay: -.7s; animation-duration: 1.9s; }
.ps-eqz i:nth-child(5)  { animation-delay: -.3s; animation-duration: 1.5s; }
.ps-eqz i:nth-child(6)  { animation-delay: -.6s; animation-duration: 1.3s; }
.ps-eqz i:nth-child(7)  { animation-delay: -.2s; animation-duration: 1.6s; }
.ps-eqz i:nth-child(8)  { animation-delay: -.9s; animation-duration: 1.2s; }
.ps-eqz i:nth-child(9)  { animation-delay: -.5s; animation-duration: 1.8s; }
.ps-eqz i:nth-child(10) { animation-delay: -.1s; animation-duration: 1.4s; }
.ps-eqz i:nth-child(11) { animation-delay: -.8s; animation-duration: 1.6s; }
.ps-eqz i:nth-child(12) { animation-delay: -.3s; animation-duration: 1.3s; }
.ps-eqz--mini i { border-radius: 1px; }
@keyframes ps-eqz-bounce {
  0%, 100% { transform: scaleY(.35); opacity: .78; }
  50%      { transform: scaleY(1);   opacity: 1; }
}

/* ── Sparkline (daily users) ── */
.ps-stat__spark { width: 100%; height: 100%; display: block; overflow: visible; }
.ps-stat__spark [data-viz="spark-line"] {
  stroke-dasharray: 600; stroke-dashoffset: 600;
  animation: ps-spark-draw 2.4s var(--ps-ease) forwards;
}
.ps-stat__spark [data-viz="spark-dot"]  {
  animation: ps-spark-ping 1.8s ease-in-out infinite;
  transform-origin: 220px 3px;
}
.ps-stat__spark [data-viz="spark-fill"] {
  opacity: 0;
  animation: ps-spark-fade 2.4s ease-out .3s forwards;
}
@keyframes ps-spark-draw { to { stroke-dashoffset: 0; } }
@keyframes ps-spark-fade { to { opacity: 1; } }
@keyframes ps-spark-ping {
  0%, 100% { filter: drop-shadow(0 0 2px #fff); }
  50%      { filter: drop-shadow(0 0 8px #fff); }
}

/* ── Shield list (anti-cheat) ── */
.ps-shields {
  display: flex; gap: 10px; align-items: center;
  font: 500 11.5px/1 var(--ps-font-mono);
  color: var(--ps-chrome); letter-spacing: .06em;
}
.ps-shields li { display: inline-flex; align-items: center; gap: 4px; }
.ps-shields svg {
  width: 12px; height: 12px;
  color: var(--ps-platinum);
  animation: ps-shield-pulse 3s ease-in-out infinite;
}
.ps-shields li:nth-child(2) svg { animation-delay: .4s; }
.ps-shields li:nth-child(3) svg { animation-delay: .8s; }
@keyframes ps-shield-pulse { 50% { filter: drop-shadow(0 0 6px #fff); } }

/* ============================================================
   BENTO (what's inside)
   ============================================================ */
.ps-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(220px, auto);
  grid-auto-flow: dense;
  gap: 14px;
}
.ps-bento .ps-tile { padding: 26px; display: flex; flex-direction: column; }
.ps-bento .ps-tile--wide { grid-column: span 2; }
.ps-tile__head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; margin-bottom: 16px;
}
.ps-num {
  font: 500 15px/1 var(--ps-font-display);
  letter-spacing: .05em;
  color: transparent;
  background: var(--ps-chrome-fill);
  background-size: 100% 1.4em;
  -webkit-background-clip: text; background-clip: text;
  opacity: .9;
}
.ps-bento .ps-tile h3 { margin-bottom: 10px; font-size: 19px; }
.ps-bento .ps-tile p { color: var(--ps-mist); font-size: 14.5px; line-height: 1.55; max-width: 58ch; }

.ps-tile__timer, .ps-tile__size {
  margin-top: auto; padding-top: 18px;
  display: flex; align-items: center; gap: 12px;
}
.ps-tile__timer svg { width: 22px; height: 22px; color: var(--ps-platinum); }
.ps-tile__timer strong, .ps-tile__size strong {
  font: 500 18px/1 var(--ps-font-display); color: var(--ps-platinum);
}
.ps-tile__timer span, .ps-tile__size span {
  font-size: 13px; color: var(--ps-steel);
}

.ps-kv { margin-top: 16px; display: grid; gap: 8px; }
.ps-kv li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 8px; border-bottom: 1px dashed #26282d;
  font: 400 13px/1.4 var(--ps-font-mono);
}
.ps-kv li:last-child { border: 0; }
.ps-kv span { color: var(--ps-steel); }
.ps-kv b { color: var(--ps-chrome); font-weight: 500; }

/* Inline terminal mock */
.ps-code {
  margin-top: 18px;
  border-radius: 10px;
  background: #050506;
  border: 1px solid #1a1c20;
  overflow: hidden;
  box-shadow: inset 0 0 20px #000;
}
.ps-code__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  background: #0b0c0e; border-bottom: 1px solid #1a1c20;
  font: 500 12px/1 var(--ps-font-mono); color: var(--ps-steel);
}
.ps-code__bar i { width: 9px; height: 9px; border-radius: 50%; background: #2c2f34; }
.ps-code__bar i:first-child { background: #3a3d43; }
.ps-code__bar span { margin-left: 10px; }
.ps-code pre {
  padding: 14px 16px;
  font: 400 12.5px/1.65 var(--ps-font-mono);
  color: var(--ps-chrome);
}
.ps-code .c { color: #55595f; font-style: italic; }
.ps-code .k { color: var(--ps-platinum); font-weight: 600; }
.ps-code .s { color: #dfe3e8; }
.ps-code .n { color: var(--ps-steel); }

.ps-cadence { margin-top: auto; padding-top: 20px; }
.ps-cadence__scale,
.ps-cadence__bars {
  display: grid; grid-template-columns: repeat(6, 1fr);
}
.ps-cadence__scale {
  margin-bottom: 8px;
  font: 500 11px/1 var(--ps-font-mono); color: var(--ps-steel); letter-spacing: .1em;
}
.ps-cadence__bars { gap: 8px; align-items: flex-end; height: 72px; }
.ps-cadence__bars i {
  display: block;
  height: var(--v, 50%);
  background: linear-gradient(180deg, #dfe3e8, #6b7078);
  border-radius: 3px;
  box-shadow: inset 0 1px 0 #ffffff80;
}
.ps-cadence__bars i.is-now {
  background: linear-gradient(180deg, #ffffff, #c3c7cd);
  box-shadow: inset 0 1px 0 #fff, 0 0 20px #ffffff80;
}
.ps-cadence__note { margin-top: 10px; font-size: 12.5px; color: var(--ps-steel); }

/* ============================================================
   ARCHITECTURE DIAGRAM (how it works)
   ============================================================ */
.ps-arch {
  border-radius: 20px;
  background: linear-gradient(180deg, #0e1013, #08090b);
  border: 1px solid var(--ps-graphite);
  box-shadow: inset 0 1px 0 #24272c, 0 40px 80px -40px #000;
  padding: 36px 36px 32px;
}
.ps-arch__diagram {
  width: 100%; height: auto; display: block;
  margin-bottom: 30px;
}
/* flow dots travelling along the kernel channel pipe */
.ps-arch__flow {
  animation: ps-arch-run 2.6s linear infinite;
}
.ps-arch__flow--a { animation-delay: 0s; }
.ps-arch__flow--b { animation-delay: .35s; opacity: .7; }
.ps-arch__flow--c { animation-delay: .7s;  opacity: .4; }
@keyframes ps-arch-run {
  from { transform: translateX(0);   opacity: 1; }
  80%  { opacity: 1; }
  to   { transform: translateX(280px); opacity: 0; }
}

.ps-arch__notes {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--ps-graphite);
}
.ps-arch__notes li {
  padding: 18px 20px;
  border-radius: 14px;
  background: #0b0c0e;
  border: 1px solid var(--ps-graphite);
  box-shadow: inset 0 1px 0 #1f2125;
}
.ps-arch__notes .ps-num { display: block; margin-bottom: 8px; }
.ps-arch__notes h3 { font-size: 15.5px; margin-bottom: 6px; }
.ps-arch__notes p { font-size: 13.5px; color: var(--ps-mist); line-height: 1.5; max-width: 42ch; }

/* ============================================================
   SECURITY PANEL
   ============================================================ */
.ps-sec {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}
.ps-sec__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.ps-sec__list li {
  position: relative;
  padding: 22px 22px 22px 68px;
  border-radius: 14px;
  background: var(--ps-surface);
  border: 1px solid var(--ps-graphite);
  box-shadow: inset 0 1px 0 #1f2125;
  transition: border-color .3s;
}
.ps-sec__list li:hover { border-color: #3a3d43; }
.ps-sec__x {
  position: absolute;
  left: 22px; top: 22px;
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 9px;
  color: #fff;
  background: linear-gradient(180deg, #1a1c20, #0b0c0e);
  border: 1px solid #3a3d43;
  box-shadow: inset 0 1px 0 #2c2f34;
}
.ps-sec__x svg { width: 14px; height: 14px; }
.ps-sec__list h3 { font-size: 15px; margin-bottom: 6px; }
.ps-sec__list p  { font-size: 13.5px; color: var(--ps-mist); line-height: 1.5; max-width: 40ch; }

.ps-sec__cert {
  padding: 22px;
  border-radius: 14px;
  background: linear-gradient(180deg, #121419, #0a0b0d);
  border: 1px solid #00000000;
  background: radial-gradient(360px circle at 50% -10%, #1a1c20, #0a0b0d 70%) padding-box,
              var(--ps-chrome-fill) border-box;
  box-shadow: 0 0 40px -14px #ffffff50, 0 18px 36px -26px #000;
  display: flex; flex-direction: column;
}
.ps-sec__cert header {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 20px; margin-bottom: 20px;
  border-bottom: 1px solid var(--ps-graphite);
}
.ps-sec__cert header h3 { font-size: 16px; margin-bottom: 4px; }
.ps-sec__cert header span { font: 500 11.5px/1 var(--ps-font-mono); color: var(--ps-steel); letter-spacing: .08em; }
.ps-sec__cert header .ps-chip { margin-left: auto; align-self: flex-start; }

.ps-sec__facts { display: grid; gap: 14px; }
.ps-sec__facts > div { display: grid; gap: 4px; }
.ps-sec__facts dt {
  font: 600 10.5px/1 var(--ps-font-mono);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ps-steel);
}
.ps-sec__facts dd {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 9px;
  background: #050506;
  border: 1px solid #1a1c20;
}
.ps-sec__facts code {
  background: transparent; border: 0; padding: 0;
  color: var(--ps-chrome); font-size: 12.5px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  flex: 1;
}
.ps-sec__copy {
  display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--ps-raised); border: 1px solid var(--ps-line);
  color: var(--ps-mist); cursor: pointer;
  transition: all .25s;
}
.ps-sec__copy svg { width: 12px; height: 12px; }
.ps-sec__copy:hover { color: #fff; border-color: #80858d; }
.ps-sec__copy.is-ok { color: #fff; border-color: #fff; box-shadow: 0 0 10px #ffffff50; }

.ps-sec__cert footer {
  margin-top: auto; padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 8px;
}

/* ============================================================
   HOTKEY CHEAT SHEET
   ============================================================ */
.ps-keys { padding: 24px; display: flex; flex-direction: column; }
.ps-keys header {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 18px; margin-bottom: 18px;
  border-bottom: 1px solid var(--ps-graphite);
}
.ps-keys header h3 { font-size: 16.5px; }
.ps-keys ul { display: grid; gap: 10px; }
.ps-keys li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--ps-chrome);
  flex-wrap: wrap;
}
.ps-keys li span:not(:empty) {
  color: var(--ps-mist);
}
.ps-keys li > span:last-child {
  flex: 1; text-align: right;
  color: var(--ps-mist);
}
.ps-keys kbd {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 26px; height: 26px; padding: 0 7px;
  font: 500 11.5px/1 var(--ps-font-mono);
  color: var(--ps-platinum);
  background: linear-gradient(180deg, #202226, #0e0f11);
  border: 1px solid #2c2f34;
  border-bottom-width: 2px;
  border-radius: 6px;
  box-shadow: inset 0 1px 0 #3a3d43;
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.ps-cmp {
  border-radius: 18px;
  border: 1px solid var(--ps-graphite);
  background: linear-gradient(180deg, #0e1013, #08090b);
  box-shadow: inset 0 1px 0 #24272c, 0 40px 80px -40px #000;
  overflow-x: auto;
}
.ps-cmp__tbl {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
}
.ps-cmp__tbl th, .ps-cmp__tbl td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--ps-graphite);
  color: var(--ps-chrome);
  vertical-align: middle;
}
.ps-cmp__tbl thead th {
  padding: 20px 18px;
  background: #0b0c0e;
  border-bottom: 1px solid var(--ps-line);
  color: var(--ps-platinum);
  font-weight: 500;
}
.ps-cmp__tbl thead th strong {
  display: block;
  font: 500 15px/1.2 var(--ps-font-display);
  color: var(--ps-platinum);
  letter-spacing: -.01em;
}
.ps-cmp__tbl thead th span {
  display: block; margin-top: 4px;
  font: 500 11px/1 var(--ps-font-mono);
  color: var(--ps-steel); letter-spacing: .08em;
}
.ps-cmp__tbl tbody th {
  font: 500 13px/1.3 var(--ps-font-mono);
  letter-spacing: .04em;
  color: var(--ps-mist);
  text-transform: uppercase;
  width: 230px;
}
.ps-cmp__tbl tr:last-child th,
.ps-cmp__tbl tr:last-child td { border-bottom: 0; }
.ps-cmp__tbl tbody tr:hover { background: #0d0e11; }

/* Highlighted Project Sheldon column */
.ps-cmp__tbl .is-mine {
  background: linear-gradient(180deg, #1a1c20, #121419);
  color: var(--ps-platinum);
  position: relative;
}
.ps-cmp__tbl thead .is-mine {
  background: radial-gradient(260px circle at 50% 120%, #24272c, #121419 70%);
  box-shadow: inset 0 2px 0 var(--ps-chrome-fill, #fff);
}
.ps-cmp__tbl thead .is-mine strong {
  color: transparent;
  background: var(--ps-chrome-fill);
  background-size: 100% 1.2em;
  -webkit-background-clip: text; background-clip: text;
}

.ps-tick {
  width: 16px; height: 16px; display: inline-block;
  color: #fff;
  background: linear-gradient(180deg, #ffffff, #c3c7cd);
  border-radius: 50%;
  padding: 3px;
  -webkit-text-fill-color: initial;
}
.ps-tick--off {
  color: var(--ps-steel);
  background: #141518;
  border: 1px solid #26282d;
  padding: 2px;
  box-shadow: none;
}
.ps-cmp__tbl td small {
  display: block; margin-top: 4px;
  font: 500 11px/1 var(--ps-font-mono);
  color: var(--ps-steel); letter-spacing: .06em;
}
.ps-cmp__tbl .is-mine strong { color: var(--ps-platinum); font-weight: 600; }

/* ============================================================
   INTERFACE SHOWCASE
   ============================================================ */
.ps-shot { position: relative; }
.ps-shot__frame {
  position: relative;
  border-radius: 18px; overflow: visible;
  background: linear-gradient(180deg, #0f1114, #08090b);
  border: 1px solid var(--ps-graphite);
  box-shadow: inset 0 1px 0 #24272c, 0 40px 80px -40px #000;
}
.ps-shot__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--ps-graphite);
  font: 500 12px/1 var(--ps-font-mono); color: var(--ps-steel);
}
.ps-shot__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3d43; }
.ps-shot__title { margin-left: 10px; color: var(--ps-chrome); }
.ps-shot__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.ps-shot__media img { width: 100%; height: 100%; object-fit: cover; }
.ps-shot figcaption {
  text-align: center; margin-top: 18px;
  font: 500 12px/1 var(--ps-font-mono); color: var(--ps-steel); letter-spacing: .14em; text-transform: uppercase;
}

/* Callout pins on the screenshot */
.ps-pin { position: absolute; display: block; }
.ps-pin--1 { top: 22%; left: 18%; }
.ps-pin--2 { top: 56%; left: 8%; }
.ps-pin--3 { bottom: 10%; right: 12%; }
.ps-pin__ring {
  display: block; width: 14px; height: 14px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px #00000080, 0 0 0 6px #ffffff40, 0 0 18px #fff;
  animation: ps-pulse 2.6s ease-in-out infinite;
}
.ps-pin__tip {
  position: absolute; top: -8px; left: 24px;
  display: grid; gap: 2px;
  min-width: 170px; padding: 10px 14px;
  background: #0c0d0f; border: 1px solid var(--ps-line);
  border-radius: 10px;
  font-size: 12.5px; color: var(--ps-chrome); line-height: 1.4;
  box-shadow: 0 10px 24px -8px #000;
  opacity: 0; transform: translateY(4px);
  transition: opacity .35s, transform .35s;
  pointer-events: none;
}
.ps-pin__tip b { color: var(--ps-platinum); font-weight: 600; font-size: 13px; }
.ps-pin:hover .ps-pin__tip,
.ps-pin:focus .ps-pin__tip { opacity: 1; transform: translateY(0); }

.ps-shot__caps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-top: 36px;
}
.ps-shot__caps li {
  display: flex; gap: 14px;
  padding: 18px; border-radius: 14px;
  background: var(--ps-surface);
  border: 1px solid var(--ps-graphite);
  box-shadow: inset 0 1px 0 #1f2125;
}
.ps-shot__caps b { display: block; color: var(--ps-platinum); font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.ps-shot__caps p { font-size: 14px; color: var(--ps-mist); line-height: 1.5; }

/* ============================================================
   INSTALL
   ============================================================ */
.ps-osbar {
  display: inline-flex; margin: 0 auto 40px; padding: 5px;
  border-radius: 99px;
  background: #0b0c0e; border: 1px solid var(--ps-line);
  box-shadow: inset 0 1px 0 #1c1e22;
  justify-self: center;
}
.ps-osbar { display: flex; max-width: max-content; margin-left: auto; margin-right: auto; }
.ps-osbar__item {
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 20px;
  border: 0; border-radius: 99px;
  background: transparent; color: var(--ps-mist);
  font: 600 14px/1 var(--ps-font-text); cursor: pointer;
  transition: all .3s;
}
.ps-osbar__item svg { width: 16px; height: 16px; }
.ps-osbar__item .ps-chip { margin-left: 4px; height: 20px; padding: 0 7px; font-size: 10.5px; }
.ps-osbar__item:hover { color: var(--ps-platinum); }
.ps-osbar__item.is-on {
  background: var(--ps-chrome-soft); color: #0a0b0d;
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px #4a4e55;
}

.ps-timeline {
  position: relative;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px; padding-top: 44px;
}
.ps-timeline::before {
  content: ""; position: absolute; left: 24px; right: 24px; top: 20px;
  height: 1px;
  background: linear-gradient(90deg, #2c2f34, #8d929a 50%, #2c2f34);
}
.ps-step {
  position: relative;
  padding: 24px 20px 22px;
  border-radius: 14px;
  background: var(--ps-surface);
  border: 1px solid var(--ps-graphite);
  box-shadow: inset 0 1px 0 #1f2125;
}
.ps-step__node {
  position: absolute; top: -32px; left: 50%; translate: -50% 0;
  width: 15px; height: 15px; border-radius: 50%;
  background: #000; border: 1.5px solid #8d929a;
  transition: all .35s;
}
.ps-step__node::after {
  content: ""; position: absolute; inset: 2.5px; border-radius: 50%;
  background: #8d929a; transition: all .35s;
}
.ps-step:hover .ps-step__node { border-color: #fff; box-shadow: 0 0 12px #fff; }
.ps-step:hover .ps-step__node::after { background: #fff; }
.ps-step__num {
  display: block;
  font: 500 13px/1 var(--ps-font-mono); letter-spacing: .2em;
  color: var(--ps-steel); margin-bottom: 10px;
}

/* OS content panels: fade in when a tab is activated */
.ps-osbody { animation: ps-fade-up .45s var(--ps-ease) both; }
.ps-osbody[hidden] { display: none; }
@keyframes ps-fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.ps-step h3 { font-size: 16px; margin-bottom: 8px; }
.ps-step p { font-size: 13.5px; color: var(--ps-mist); line-height: 1.5; }

.ps-dlbar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
  margin-top: 40px; padding: 20px 24px;
  border-radius: 18px;
  background: linear-gradient(180deg, #121419, #0a0b0d);
  border: 1px solid var(--ps-line);
  box-shadow: inset 0 1px 0 #2a2d33, 0 24px 48px -32px #000;
}
.ps-dlbar__left { display: flex; align-items: center; gap: 16px; }
.ps-dlbar__left strong { display: block; color: var(--ps-platinum); font-weight: 600; font-size: 15.5px; }
.ps-dlbar__left span { display: block; margin-top: 4px; font: 500 12.5px/1 var(--ps-font-mono); letter-spacing: .08em; color: var(--ps-steel); }

/* ============================================================
   CHANGELOG — polished release-note window
   ============================================================ */
.ps-log {
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(1000px 300px at 80% -80px, #171a1f, transparent 70%),
    linear-gradient(180deg, #0e1013, #08090b);
  border: 1px solid var(--ps-graphite);
  box-shadow: inset 0 1px 0 #24272c, 0 50px 90px -50px #000;
}
.ps-log__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px;
  background: #0b0c0e;
  border-bottom: 1px solid var(--ps-graphite);
  font: 500 12px/1 var(--ps-font-mono); color: var(--ps-steel); letter-spacing: .1em;
}
.ps-log__bar i {
  width: 10px; height: 10px; border-radius: 50%;
  background: #2c2f34;
  box-shadow: inset 0 1px 0 #40434a;
}
.ps-log__bar i:first-child { background: #3a3d43; }
.ps-log__bar span { margin-left: 10px; color: var(--ps-chrome); }

.ps-log__grid {
  display: grid; grid-template-columns: 260px minmax(0, 1fr);
  min-height: 460px;
}
.ps-log__side {
  padding: 24px 18px;
  border-right: 1px solid var(--ps-graphite);
  background: linear-gradient(180deg, #08090a, #06070a);
}
.ps-log__title {
  display: flex; align-items: center; gap: 8px;
  font: 600 11px/1 var(--ps-font-mono); letter-spacing: .2em;
  text-transform: uppercase; color: var(--ps-steel);
  margin-bottom: 16px;
  padding: 0 4px 16px;
  border-bottom: 1px solid var(--ps-graphite);
}
.ps-log__title::before {
  content: "";
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 6px #fff;
}

.ps-log__side ul { display: grid; gap: 4px; }
.ps-log__side li {
  position: relative;
  padding: 11px 12px 11px 20px;
  border-radius: 10px;
  display: grid;
  grid-template-columns: auto auto 1fr;
  grid-template-areas: "ver chip time";
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .3s, border-color .3s;
}
.ps-log__side li::before {
  content: "";
  position: absolute; left: 6px; top: 50%; translate: 0 -50%;
  width: 3px; height: 14px; border-radius: 3px;
  background: var(--ps-line);
  transition: background-color .3s, box-shadow .3s, height .3s var(--ps-ease);
}
.ps-log__side li strong { grid-area: ver; font: 500 14px/1 var(--ps-font-display); color: var(--ps-platinum); letter-spacing: -.005em; }
.ps-log__side li .ps-chip { grid-area: chip; height: 18px; padding: 0 7px; font-size: 10px; letter-spacing: .04em; }
.ps-log__side li time { grid-area: time; justify-self: end; font: 500 10.5px/1.2 var(--ps-font-mono); color: var(--ps-steel); letter-spacing: .04em; text-align: right; }
.ps-log__side li.is-on {
  background: linear-gradient(180deg, #1a1c20, #121419);
  border-color: var(--ps-line);
  box-shadow: inset 0 1px 0 #2c2f34;
}
.ps-log__side li.is-on::before {
  background: #fff;
  box-shadow: 0 0 10px #ffffffb0;
  height: 22px;
}
.ps-log__side li:not(.is-on):hover { background: #0d0e11; border-color: #1a1c20; }
.ps-log__side li:focus-visible { outline: 1.5px solid #fff; outline-offset: 2px; }

/* Body */
.ps-log__body {
  padding: 28px 32px;
  animation: ps-fade-up .45s var(--ps-ease);
  display: grid; align-content: start;
}
.ps-log__head {
  display: grid; gap: 14px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--ps-graphite);
}
.ps-log__head h3 {
  font-size: 26px; font-weight: 500;
  letter-spacing: -.025em;
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap;
  color: transparent;
  background: var(--ps-chrome-fill);
  background-size: 100% 1.15em;
  -webkit-background-clip: text; background-clip: text;
}
.ps-log__head h3 .ps-chip {
  -webkit-text-fill-color: initial;
  background: var(--ps-chrome-soft); color: #0a0b0d;
  align-self: center;
}
.ps-log__meta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font: 500 12px/1 var(--ps-font-mono);
  letter-spacing: .06em; color: var(--ps-steel);
}
.ps-log__meta::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 6px #fff;
}

/* Counter pills — instead of plain "3 added · 5 improved · 2 fixed" text */
.ps-log__counters {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.ps-log__counters span {
  display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 12px;
  border-radius: 99px;
  background: #0b0c0e;
  border: 1px solid var(--ps-graphite);
  box-shadow: inset 0 1px 0 #1f2125;
  font: 500 12px/1 var(--ps-font-mono);
  letter-spacing: .06em; color: var(--ps-mist);
  text-transform: uppercase;
}
.ps-log__counters b {
  display: inline-grid; place-items: center;
  min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 7px;
  background: linear-gradient(180deg, #1c1e22, #0e0f11);
  border: 1px solid #2c2f34;
  box-shadow: inset 0 1px 0 #383b41;
  font: 500 12px/1 var(--ps-font-display);
  color: var(--ps-platinum);
  letter-spacing: 0;
}

.ps-log__intro {
  color: var(--ps-mist);
  font-size: 15px; line-height: 1.65;
  margin-bottom: 22px;
  max-width: 68ch;
}
.ps-log__intro::first-letter {
  float: left;
  font-family: var(--ps-font-display);
  font-size: 2.3em; line-height: .85;
  padding: 6px 10px 0 0;
  color: transparent;
  background: var(--ps-chrome-fill);
  background-size: 100% 1.1em;
  -webkit-background-clip: text; background-clip: text;
  font-weight: 500;
}

/* Release items — row of filled pill + body */
.ps-log__items { display: grid; gap: 12px; }
.ps-log__items li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 18px 20px;
  background: linear-gradient(180deg, #0c0d10, #08090b);
  border: 1px solid var(--ps-graphite);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 #1f2125;
  transition: border-color .3s, transform .3s var(--ps-ease);
}
.ps-log__items li:hover {
  border-color: #3a3d43;
  transform: translateX(2px);
}
.ps-log__items li .ps-chip {
  align-self: flex-start;
  height: 24px; padding: 0 10px;
  letter-spacing: .06em;
}
.ps-log__items strong {
  display: block;
  color: var(--ps-platinum);
  font-weight: 600; font-size: 15.5px;
  margin-bottom: 6px;
  letter-spacing: -.005em;
}
.ps-log__items p {
  font-size: 14px;
  color: var(--ps-mist);
  line-height: 1.6;
  max-width: 64ch;
}

/* ============================================================
   SCRIPT LIBRARY
   ============================================================ */
.ps-script { display: flex; flex-direction: column; min-height: 212px; padding: 20px; }
.ps-script__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 14px;
}
.ps-script h3 { font-size: 15.5px; margin-bottom: 8px; }
.ps-script p { font-size: 13.5px; color: var(--ps-mist); line-height: 1.5; }
.ps-script__foot {
  margin-top: auto; padding-top: 16px;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--ps-graphite);
}
.ps-script--more {
  background: linear-gradient(180deg, #0f1114, #08090b);
  text-align: center;
  align-items: center;
  justify-content: center; gap: 12px;
}
.ps-script--more .ps-gloss { margin: 0 auto 4px; }
.ps-script--more h3 { margin: 0; }
.ps-script--more p { margin-bottom: 14px; }

/* ============================================================
   REVIEWS
   ============================================================ */
.ps-review { display: flex; flex-direction: column; padding: 20px; min-height: 240px; }
.ps-review__head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
}
.ps-review__head b { color: var(--ps-platinum); font-weight: 600; font-size: 14.5px; }
.ps-review__head div { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ps-avatar {
  width: 40px; height: 40px; flex: none;
  border-radius: 50%;
  background: var(--a, #2c2f34);
  color: var(--ps-platinum);
  display: grid; place-items: center;
  font: 600 15px/1 var(--ps-font-display);
  box-shadow: inset 0 0 0 1px #ffffff20, inset 0 2px 0 #ffffff30;
}
.ps-rate {
  display: flex; align-items: center; gap: 4px;
  margin-bottom: 10px; color: var(--ps-platinum);
}
.ps-rate svg { width: 13px; height: 13px; }
.ps-rate time { margin-left: auto; font: 500 11.5px/1 var(--ps-font-mono); color: var(--ps-steel); letter-spacing: .06em; }
.ps-review p { font-size: 13.5px; color: var(--ps-chrome); line-height: 1.6; }
.ps-review footer { margin-top: auto; padding-top: 14px; font-size: 12px; color: var(--ps-steel); }

.ps-ratebar {
  margin-top: 28px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.ps-ratebar__item {
  padding: 22px;
  background: var(--ps-surface);
  border: 1px solid var(--ps-graphite);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 #1f2125;
  text-align: center;
}
.ps-ratebar__item strong {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 clamp(22px, 2.2vw, 30px)/1 var(--ps-font-display);
  color: transparent;
  background: var(--ps-chrome-fill);
  background-size: 100% 1.1em;
  -webkit-background-clip: text; background-clip: text;
  letter-spacing: -.02em;
}
.ps-ratebar__item strong svg { width: 18px; height: 18px; color: var(--ps-platinum); -webkit-text-fill-color: initial; }
.ps-ratebar__item span {
  display: block; margin-top: 10px;
  font: 500 12px/1 var(--ps-font-mono); letter-spacing: .14em;
  color: var(--ps-steel); text-transform: uppercase;
}

/* ============================================================
   FAQ / ISSUES
   ============================================================ */
.ps-faqgrid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 20px; }
.ps-filter { padding: 22px; }
.ps-filter h4 {
  display: flex; align-items: center; gap: 10px;
  font: 600 11.5px/1 var(--ps-font-mono); letter-spacing: .2em;
  text-transform: uppercase; color: var(--ps-steel);
  margin-bottom: 18px; padding-bottom: 16px;
  border-bottom: 1px solid var(--ps-graphite);
}
.ps-filter h4 svg { width: 14px; height: 14px; }
.ps-filter ul { display: grid; gap: 4px; }
.ps-filter li a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  color: var(--ps-mist); font-size: 14px;
  transition: background .3s, color .3s;
}
.ps-filter li a svg { width: 14px; height: 14px; }
.ps-filter li a span { margin-left: auto; font: 500 12px/1 var(--ps-font-mono); color: var(--ps-steel); }
.ps-filter li a:hover { background: #0e0f11; color: var(--ps-platinum); }
.ps-filter li.is-on a {
  background: linear-gradient(180deg, #1a1c20, #121419);
  color: var(--ps-platinum);
  box-shadow: inset 0 1px 0 #2c2f34;
}
.ps-filter footer {
  margin-top: 20px; padding-top: 16px;
  display: flex; align-items: center; gap: 10px;
  border-top: 1px solid var(--ps-graphite);
  font: 500 12px/1 var(--ps-font-mono); color: var(--ps-steel); letter-spacing: .08em;
}
.ps-filter footer time { margin-left: auto; }

.ps-faq { display: grid; gap: 10px; }
.ps-faq details {
  border-radius: 14px;
  background: var(--ps-surface);
  border: 1px solid var(--ps-graphite);
  box-shadow: inset 0 1px 0 #1f2125;
  transition: border-color .3s;
}
.ps-faq details[open] { border-color: #3a3d43; }
.ps-faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  font-weight: 600; font-size: 15px; color: var(--ps-platinum);
}
.ps-faq summary::-webkit-details-marker { display: none; }
.ps-faq__ic { flex: none; width: 18px; height: 18px; color: var(--ps-mist); }
.ps-faq__plus {
  flex: none; margin-left: auto;
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--ps-raised); border: 1px solid var(--ps-line);
  transition: transform .4s var(--ps-ease), border-color .3s;
}
.ps-faq__plus svg { width: 12px; height: 12px; }
.ps-faq details[open] .ps-faq__plus { transform: rotate(45deg); border-color: #9da2aa; }
.ps-faq details p {
  padding: 0 20px 18px;
  font-size: 14.5px; color: var(--ps-mist); max-width: 64ch; line-height: 1.6;
}
.ps-faq details p code { font-size: .9em; }

/* ============================================================
   FOOTER
   ============================================================ */
.ps-foot {
  border-top: 1px solid #111214;
  background: var(--ps-void);
  padding: 72px 0 32px;
}
.ps-foot__grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
}
.ps-foot__about p {
  margin-top: 16px;
  font-size: 14px; color: var(--ps-steel); max-width: 36ch; line-height: 1.55;
}
.ps-foot__marks { margin-top: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.ps-foot h4 { font-size: 13px; font-weight: 600; color: var(--ps-platinum); margin-bottom: 14px; }
.ps-foot ul li + li { margin-top: 10px; }
.ps-foot ul li a {
  font-size: 14px; color: var(--ps-mist);
  transition: color .3s, text-shadow .3s;
}
.ps-foot ul li a:hover { color: #fff; text-shadow: 0 0 10px #ffffff80; }

.ps-foot__socials {
  margin-top: 48px; padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
  border-top: 1px solid var(--ps-graphite);
  font: 500 12px/1 var(--ps-font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ps-steel);
}
.ps-foot__socials div { display: flex; gap: 8px; }
.ps-foot__socials .flex { display: flex; }
.ps-foot__socials .items-center { align-items: center; }
.ps-foot__socials .gap-3 { gap: 10px; }

/* Share chips — kept as .ft-social so markup drops into any page */
.ft-social {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--ps-raised);
  border: 1px solid var(--ps-graphite);
  color: var(--ps-mist);
  transition: color .3s, border-color .3s, box-shadow .3s, background-color .3s, transform .3s var(--ps-ease);
}
.ft-social svg { width: 16px; height: 16px; fill: currentColor; }
.ft-social:hover {
  color: #fff;
  border-color: #80858d;
  background: #1a1c20;
  box-shadow: 0 0 16px #ffffff38;
  transform: translateY(-2px);
}
.ft-social:active { transform: translateY(0); }

.ps-foot__legal {
  margin-top: 28px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  border-top: 1px solid var(--ps-graphite);
  font-size: 12.5px; color: var(--ps-steel);
  max-width: 100%;
}
.ps-foot__legal span:last-child { max-width: 48ch; text-align: right; }
.ps-foot__legal b { color: var(--ps-mist); font-weight: 600; }

/* ============================================================
   TOC + APP-INFO (overview)
   ============================================================ */
.ps-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, .9fr);
  gap: 24px;
}
.ps-overview__toc {
  padding: 24px 28px;
  border-radius: 16px;
  background: linear-gradient(180deg, #0c0d0f, #08090b);
  border: 1px solid var(--ps-graphite);
  box-shadow: inset 0 1px 0 #1f2125;
}
.ps-toc {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 20px;
  counter-reset: toc;
}
.ps-toc li a {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 2px;
  font-size: 14px;
  color: var(--ps-chrome);
  border-bottom: 1px dashed #1a1c20;
  transition: color .25s, border-color .25s;
}
.ps-toc li a span {
  font: 500 10.5px/1 var(--ps-font-mono);
  letter-spacing: .12em; color: var(--ps-steel);
  min-width: 22px;
}
.ps-toc li a:hover { color: #fff; border-color: #3a3d43; }
.ps-toc li a:hover span { color: var(--ps-platinum); }

.ps-overview__card {
  padding: 24px;
  border-radius: 16px;
  background:
    radial-gradient(300px circle at 50% -20%, #1a1c20, #0a0b0d 70%);
  border: 1px solid #2c2f34;
  box-shadow: inset 0 1px 0 #2c2f34, 0 20px 40px -28px #000;
  display: flex; flex-direction: column; gap: 18px;
}
.ps-overview__card > h3 { font-size: 15.5px; }
.ps-appinfo {
  display: grid; gap: 7px;
  font-size: 13.5px;
}
.ps-appinfo > div {
  display: grid; grid-template-columns: 110px 1fr;
  gap: 10px; align-items: baseline;
  padding-bottom: 7px;
  border-bottom: 1px dashed #1e2024;
}
.ps-appinfo > div:last-child { border: 0; padding: 0; }
.ps-appinfo dt { color: var(--ps-steel); font-family: var(--ps-font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
.ps-appinfo dd { color: var(--ps-chrome); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ps-appinfo .ps-chip { height: 18px; padding: 0 7px; font-size: 10px; }

/* ============================================================
   SECURITY — safe panel addon
   ============================================================ */
.ps-sec__safe {
  padding-top: 22px; margin-top: 22px;
  border-top: 1px solid var(--ps-graphite);
}
.ps-sec__safe strong {
  display: block;
  font: 500 15.5px/1.25 var(--ps-font-display);
  color: var(--ps-platinum);
  margin-bottom: 8px;
}
.ps-sec__safe p { font-size: 13.5px; color: var(--ps-mist); line-height: 1.55; }
.ps-sec__safe__links {
  margin-top: 14px;
  display: flex; flex-wrap: wrap; gap: 8px;
}

/* ============================================================
   STAR RATING PICKER (in Reviews block)
   ============================================================ */
.ps-ratepick {
  margin-top: 24px;
  padding: 22px 26px;
  border-radius: 16px;
  background:
    radial-gradient(400px circle at 90% -20%, #1a1c20, #0a0b0d 70%);
  border: 1px solid var(--ps-line);
  box-shadow: inset 0 1px 0 #2c2f34;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
}
.ps-ratepick__intro h3 { font-size: 17px; margin-bottom: 4px; }
.ps-ratepick__intro p  { font-size: 13.5px; color: var(--ps-mist); max-width: 50ch; }
.ps-ratepick__stars {
  border: 0; padding: 0; margin: 0;
  display: flex; align-items: center; gap: 12px;
}
.ps-ratepick__value {
  font: 500 15px/1 var(--ps-font-display);
  color: transparent;
  background: var(--ps-chrome-fill);
  background-size: 100% 1.1em;
  -webkit-background-clip: text; background-clip: text;
  letter-spacing: -.01em;
}
.ps-stars {
  display: inline-flex;
  gap: 4px;
}
.ps-stars input { position: absolute; opacity: 0; pointer-events: none; }
.ps-stars label {
  cursor: pointer;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  color: #2c2f34;
  transition: color .2s, filter .2s, transform .2s var(--ps-ease);
}
.ps-stars label svg { width: 22px; height: 22px; }
.ps-stars label.is-lit {
  color: #fff;
  filter: drop-shadow(0 0 8px #ffffffa0);
}
.ps-stars label:hover { transform: scale(1.1); }
.ps-stars input:focus-visible + label { outline: 1.5px solid #fff; outline-offset: 2px; border-radius: 4px; }
.ps-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ============================================================
   AUTHOR / DEVELOPER
   ============================================================ */
.ps-author__card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 28px;
  padding: 28px;
  align-items: start;
}
.ps-author__avatar {
  width: 128px; height: 128px; flex: none;
  border-radius: 22px;
  display: grid; place-items: center;
  font: 500 42px/1 var(--ps-font-display);
  letter-spacing: -.02em;
  color: transparent;
  background:
    linear-gradient(180deg, #1a1c20, #0a0b0d) padding-box,
    var(--ps-chrome-fill) border-box;
  border: 2px solid transparent;
  box-shadow: inset 0 1px 0 #2c2f34, 0 0 32px -10px #ffffff40;
  position: relative;
}
.ps-author__avatar span {
  color: transparent;
  background: var(--ps-chrome-fill);
  background-size: 100% 1.1em;
  -webkit-background-clip: text; background-clip: text;
}
.ps-author__body h3 {
  font-size: 22px; line-height: 1.1;
  color: transparent;
  background: var(--ps-chrome-fill);
  background-size: 100% 1.2em;
  -webkit-background-clip: text; background-clip: text;
}
.ps-author__role {
  margin-top: 4px;
  font: 500 12.5px/1 var(--ps-font-mono);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ps-steel);
}
.ps-author__bio {
  margin-top: 16px;
  font-size: 15px; line-height: 1.6; color: var(--ps-chrome);
  max-width: 72ch;
}
.ps-author__links {
  margin-top: 20px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.ps-author__stats {
  margin-top: 24px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--ps-graphite);
}
.ps-author__stats div { padding: 4px 0; }
.ps-author__stats dt {
  font: 500 11px/1 var(--ps-font-mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--ps-steel); margin-bottom: 6px;
}
.ps-author__stats dd {
  font: 500 22px/1 var(--ps-font-display);
  color: transparent;
  background: var(--ps-chrome-fill);
  background-size: 100% 1.1em;
  -webkit-background-clip: text; background-clip: text;
}

/* ============================================================
   COMMUNITY FEEDBACK — comments + leave form
   ============================================================ */
.ps-comments {
  border-radius: 20px;
  background: linear-gradient(180deg, #0e1013, #08090b);
  border: 1px solid var(--ps-graphite);
  box-shadow: inset 0 1px 0 #24272c, 0 40px 80px -40px #000;
  overflow: hidden;
}
.ps-comments__bar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  padding: 18px 24px;
  background: #0b0c0e;
  border-bottom: 1px solid var(--ps-graphite);
  font: 500 13px/1 var(--ps-font-mono);
  color: var(--ps-steel);
}
.ps-comments__bar b { color: var(--ps-platinum); font-weight: 600; margin-right: 6px; }
.ps-comments__sort { color: var(--ps-mist); }

.ps-comments__list {
  padding: 8px 24px;
}
.ps-comment {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--ps-graphite);
}
.ps-comment:last-child { border-bottom: 0; }
.ps-comment__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--a, #2c2f34);
  color: var(--ps-platinum);
  display: grid; place-items: center;
  font: 600 16px/1 var(--ps-font-display);
  box-shadow: inset 0 0 0 1px #ffffff20, inset 0 2px 0 #ffffff30;
}
.ps-comment__body header {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-bottom: 8px;
}
.ps-comment__body header b {
  color: var(--ps-platinum); font-weight: 600; font-size: 14.5px;
}
.ps-comment__body header time {
  margin-left: auto;
  font: 500 11.5px/1 var(--ps-font-mono);
  color: var(--ps-steel); letter-spacing: .06em;
}
.ps-comment__body p {
  font-size: 14.5px; line-height: 1.6; color: var(--ps-chrome);
  max-width: 68ch;
}
.ps-comment__body footer {
  display: flex; align-items: center; gap: 16px;
  margin-top: 12px;
  font: 500 12px/1 var(--ps-font-mono); color: var(--ps-steel);
  letter-spacing: .06em;
}
.ps-comment__body footer button {
  background: none; border: 0; color: var(--ps-mist); cursor: pointer;
  font: 500 12px/1 var(--ps-font-mono); letter-spacing: .06em;
  padding: 4px 0;
  transition: color .25s;
}
.ps-comment__body footer button:hover { color: #fff; }
.ps-comment__body footer span { display: inline-flex; align-items: center; gap: 6px; }
.ps-comment__body footer svg { width: 12px; height: 12px; }

.ps-comment__replies {
  margin: 16px 0 0 0;
  padding-left: 20px;
  border-left: 2px solid var(--ps-graphite);
}
.ps-comment__replies .ps-comment {
  padding: 16px 0 10px;
  border-bottom: 0;
}

.ps-leave {
  padding: 28px 24px;
  background: #08090a;
  border-top: 1px solid var(--ps-graphite);
  display: grid; gap: 14px;
}
.ps-leave h3 { font-size: 17px; }
.ps-leave__sub { font-size: 13.5px; color: var(--ps-mist); margin-top: -4px; }
.ps-leave__row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.ps-leave label {
  display: grid; gap: 7px;
  font: 500 12.5px/1 var(--ps-font-mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--ps-steel);
}
.ps-leave input, .ps-leave textarea {
  width: 100%;
  height: 48px; padding: 0 16px;
  border-radius: 12px;
  background: #0b0c0e;
  border: 1px solid var(--ps-line);
  color: var(--ps-platinum);
  font: 500 14.5px/1 var(--ps-font-text);
  transition: border-color .25s, box-shadow .25s;
}
.ps-leave textarea {
  height: auto; padding: 14px 16px;
  font: 500 14.5px/1.5 var(--ps-font-text); resize: vertical;
  min-height: 96px;
}
.ps-leave input::placeholder, .ps-leave textarea::placeholder { color: #555a61; text-transform: none; letter-spacing: 0; }
.ps-leave input:focus, .ps-leave textarea:focus {
  outline: 0; border-color: #e6e8eb;
  box-shadow: 0 0 0 3px #1c1e22, 0 0 20px #ffffff22;
}
.ps-leave__foot {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  margin-top: 4px;
}
.ps-leave__foot small { font-size: 12px; color: var(--ps-steel); max-width: 48ch; line-height: 1.4; }

/* ============================================================
   DOWNLOAD PAGE
   ============================================================ */
.ps-dlpage { padding: 40px 0 80px; }
.ps-crumbs { margin-bottom: 24px; }
.ps-crumbs ol { display: flex; gap: 10px; font: 500 12px/1 var(--ps-font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ps-steel); }
.ps-crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--ps-graphite); }
.ps-crumbs a { color: var(--ps-mist); }
.ps-crumbs a:hover { color: #fff; }
.ps-crumbs li[aria-current] { color: var(--ps-platinum); }

.ps-dlpage__head { max-width: 60ch; margin-bottom: 32px; display: grid; gap: 14px; }
.ps-dlpage__head h1 {
  font: 500 clamp(1.8rem, 3.2vw, 2.7rem)/1.1 var(--ps-font-display);
  letter-spacing: -.025em;
  color: transparent;
  background: var(--ps-chrome-fill);
  background-size: 100% 1.1em;
  -webkit-background-clip: text; background-clip: text;
}
.ps-dlpage__head p { font-size: 16px; color: var(--ps-mist); max-width: 54ch; }

/* ─── Universal top CTA — one button, visible to everyone ─── */
.ps-dluniversal {
  position: relative;
  margin-bottom: 36px;
  padding: 32px 36px;
  border-radius: 20px;
  background:
    radial-gradient(600px 240px at 70% -40px, #1a1c20, transparent 70%),
    linear-gradient(180deg, #0f1114, #08090b) padding-box,
    var(--ps-chrome-fill) border-box;
  border: 1px solid transparent;
  box-shadow: 0 0 50px -16px #ffffff50, inset 0 1px 0 #24272c, 0 40px 80px -50px #000;
  overflow: hidden;
}
.ps-dluniversal::before {
  content: "";
  position: absolute; inset: -40% -60%;
  background: linear-gradient(100deg, transparent 45%, #ffffff10 50%, transparent 55%);
  transform: translateX(-100%);
  animation: ps-stat-sheen 9s var(--ps-ease) infinite;
  pointer-events: none;
}
.ps-dluniversal__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px; align-items: center;
}
.ps-dluniversal__lead h2 {
  font: 500 clamp(1.5rem, 2.5vw, 2.1rem)/1.1 var(--ps-font-display);
  letter-spacing: -.025em;
  margin-bottom: 10px;
  color: transparent;
  background: var(--ps-chrome-fill);
  background-size: 100% 1.1em;
  -webkit-background-clip: text; background-clip: text;
}
.ps-dluniversal__lead p {
  font-size: 14.5px;
  color: var(--ps-mist); line-height: 1.5;
  max-width: 54ch;
}
.ps-dluniversal__lead p [data-detected-os] { color: var(--ps-chrome); font-weight: 500; }

.ps-dluniversal__cta {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.ps-dluniversal__cta .ps-cta--chrome {
  --ps-h: 60px;
  padding: 0 32px;
  font-size: 15.5px;
}
.ps-dluniversal__chips {
  display: flex; align-items: center; gap: 10px;
  font: 500 11.5px/1 var(--ps-font-mono);
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ps-steel);
}
.ps-dluniversal__chips li {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 10px;
  background: #0b0c0e;
  border: 1px solid var(--ps-graphite);
  border-radius: 99px;
}
.ps-dluniversal__chips svg { width: 12px; height: 12px; color: var(--ps-chrome); }

.ps-dluniversal__meta {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--ps-graphite);
}
.ps-dluniversal__meta dt {
  font: 500 10.5px/1 var(--ps-font-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ps-steel); margin-bottom: 6px;
}
.ps-dluniversal__meta dd {
  font: 500 16px/1.2 var(--ps-font-display);
  color: transparent;
  background: var(--ps-chrome-fill);
  background-size: 100% 1.1em;
  -webkit-background-clip: text; background-clip: text;
  letter-spacing: -.01em;
}

/* ─── Per-device download grid ─── */
.ps-dldevices { margin-bottom: 36px; }
.ps-dldevices__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.ps-dldevices__head h2 {
  font: 500 clamp(1.4rem, 2.2vw, 1.9rem)/1.15 var(--ps-font-display);
  letter-spacing: -.025em;
  color: var(--ps-platinum);
}
.ps-dldevices__head p {
  max-width: 44ch; color: var(--ps-mist); font-size: 14.5px;
}

.ps-dldevices__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ps-device {
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(180deg, #0e1013, #08090b);
  border: 1px solid var(--ps-graphite);
  box-shadow: inset 0 1px 0 #1f2125, 0 20px 40px -30px #000;
  display: flex; flex-direction: column; gap: 18px;
  transition: border-color .3s, transform .35s var(--ps-ease), box-shadow .35s;
}
.ps-device:hover {
  border-color: #3a3d43;
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 #30333a, 0 26px 44px -24px #000, 0 0 32px -14px #ffffff40;
}
.ps-device.is-detected {
  border-color: #00000000;
  background:
    radial-gradient(300px circle at 50% -20%, #1a1c20, #0a0b0d 70%) padding-box,
    var(--ps-chrome-fill) border-box;
  box-shadow: 0 0 40px -16px #ffffff50, inset 0 1px 0 #2c2f34;
  position: relative;
}
.ps-device.is-detected::after {
  content: "YOUR DEVICE";
  position: absolute; top: 14px; right: 14px;
  padding: 4px 8px;
  background: var(--ps-chrome-soft);
  color: #0a0b0d;
  font: 600 10px/1 var(--ps-font-mono); letter-spacing: .14em;
  border-radius: 99px;
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px #4a4e55;
}

.ps-device header {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ps-graphite);
}
.ps-device header div { flex: 1; min-width: 0; }
.ps-device header h3 { font: 500 18px/1 var(--ps-font-display); letter-spacing: -.01em; color: var(--ps-platinum); margin-bottom: 4px; }
.ps-device header span:not(.ps-chip) { font: 500 12px/1 var(--ps-font-mono); color: var(--ps-steel); letter-spacing: .06em; }
.ps-device header .ps-chip { flex-shrink: 0; align-self: flex-start; }
.ps-device.is-detected header .ps-chip { display: none; }

.ps-device dl {
  display: grid; gap: 10px;
  font-size: 13px;
}
.ps-device dl > div {
  display: grid; grid-template-columns: 90px 1fr;
  gap: 10px; align-items: baseline;
  padding-bottom: 8px;
  border-bottom: 1px dashed #1e2024;
}
.ps-device dl > div:last-child { border: 0; padding: 0; }
.ps-device dt {
  font: 500 10.5px/1 var(--ps-font-mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ps-steel);
}
.ps-device dd { color: var(--ps-chrome); word-break: break-word; }
.ps-device dd code { font-size: .85em; }
.ps-device__hint {
  font-size: 12.5px; color: var(--ps-steel); line-height: 1.5;
  padding-top: 2px;
}

.ps-dlreq, .ps-dlsteps, .ps-dlminilog, .ps-dlquotes {
  padding: 28px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: #0b0c0e;
  border: 1px solid var(--ps-graphite);
  box-shadow: inset 0 1px 0 #1f2125;
}
.ps-dlreq h2, .ps-dlsteps h2, .ps-dlminilog h2, .ps-dlquotes h2 {
  font: 500 20px/1.2 var(--ps-font-display);
  letter-spacing: -.02em;
  color: var(--ps-platinum);
  margin-bottom: 18px;
}
.ps-dlreq ul { display: grid; gap: 10px; font-size: 14.5px; color: var(--ps-chrome); }
.ps-dlreq li { display: flex; align-items: center; gap: 10px; }
.ps-dlreq svg { width: 14px; height: 14px; color: var(--ps-platinum); flex: none; }
.ps-dlsteps ol { display: grid; gap: 14px; counter-reset: dlstep; }
.ps-dlsteps li {
  padding: 16px 18px; padding-left: 50px;
  background: #0e1013; border: 1px solid var(--ps-graphite);
  border-radius: 12px; position: relative;
  counter-increment: dlstep;
}
.ps-dlsteps li::before {
  content: counter(dlstep, decimal-leading-zero);
  position: absolute; left: 16px; top: 18px;
  font: 500 12px/1 var(--ps-font-mono); letter-spacing: .12em;
  color: transparent;
  background: var(--ps-chrome-fill);
  background-size: 100% 1.2em;
  -webkit-background-clip: text; background-clip: text;
}
.ps-dlsteps h3 { font-size: 15.5px; margin-bottom: 6px; }
.ps-dlsteps p { font-size: 14px; color: var(--ps-mist); line-height: 1.55; }

.ps-dlminilog ul { display: grid; gap: 10px; }
.ps-dlminilog li {
  display: grid; grid-template-columns: 90px 1fr; gap: 14px;
  padding: 12px 14px;
  background: #0e1013; border: 1px solid var(--ps-graphite);
  border-radius: 10px;
  font-size: 14px; color: var(--ps-chrome);
}
.ps-dlminilog li .ps-chip { align-self: center; height: 22px; padding: 0 10px; font-size: 10.5px; }
.ps-dlminilog .ps-arrow { margin-top: 18px; }

.ps-dlquotes blockquote {
  padding: 16px 18px;
  background: #0e1013; border: 1px solid var(--ps-graphite);
  border-radius: 12px;
  margin-bottom: 10px;
}
.ps-dlquotes p { font-size: 14.5px; color: var(--ps-chrome); line-height: 1.55; margin-bottom: 8px; }
.ps-dlquotes footer { font: 500 12.5px/1 var(--ps-font-mono); color: var(--ps-steel); letter-spacing: .04em; }
.ps-dlquotes footer b { color: var(--ps-platinum); font-weight: 600; }
.ps-dlquotes .ps-arrow { margin-top: 14px; }

.ps-dlfoot {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--ps-graphite);
  display: grid; gap: 18px;
}
.ps-dlfoot p { font-size: 13px; color: var(--ps-steel); line-height: 1.6; max-width: 68ch; }
.ps-dlfoot p b { color: var(--ps-mist); font-weight: 600; }
.ps-dlfoot div { display: flex; gap: 10px; flex-wrap: wrap; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .ps-overview { grid-template-columns: 1fr; }
  .ps-dluniversal__body { grid-template-columns: 1fr; text-align: left; }
  .ps-dluniversal__cta { align-items: flex-start; }
  .ps-dluniversal__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ps-toc { grid-template-columns: 1fr; }
  .ps-ratepick { grid-template-columns: 1fr; text-align: left; justify-items: start; }
  .ps-ratepick__stars { justify-content: flex-start; }
  .ps-author__card { grid-template-columns: 1fr; }
  .ps-author__avatar { margin: 0 auto; }
  .ps-stats, .ps-grid--4, .ps-ratebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ps-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 0; }
  .ps-timeline::before { display: none; }
  .ps-step__node { display: none; }
  .ps-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ps-bento .ps-tile--wide { grid-column: span 2; }
  .ps-log__grid { grid-template-columns: 1fr; }
  .ps-log__side { border-right: 0; border-bottom: 1px solid var(--ps-graphite); }
  .ps-faqgrid { grid-template-columns: 1fr; }
  .ps-shot__caps { grid-template-columns: 1fr; }
  .ps-foot__grid { grid-template-columns: 1fr 1fr; }
  .ps-sec { grid-template-columns: 1fr; }
  .ps-arch__notes { grid-template-columns: 1fr; }
  .ps-arch { padding: 24px; }
}
@media (max-width: 960px) {
  /* Below this width the architecture SVG labels become unreadable. Swap in a
     compact vertical flow built from the notes list that already sits below. */
  .ps-arch__diagram { display: none; }
  .ps-arch__notes {
    position: relative;
    padding-top: 10px;
    border-top: 0;
    padding-left: 28px;
  }
  .ps-arch__notes::before {
    content: "";
    position: absolute; left: 14px; top: 22px; bottom: 22px;
    width: 1.5px;
    background: linear-gradient(180deg, #2c2f34, #a9aeb5, #2c2f34);
  }
  .ps-arch__notes li { position: relative; }
  .ps-arch__notes li::before {
    content: "";
    position: absolute; left: -28px; top: 22px;
    width: 15px; height: 15px; border-radius: 50%;
    background: #0a0b0d;
    border: 1.5px solid #fff;
    box-shadow: 0 0 10px #ffffff70;
  }
  .ps-arch__notes li::after {
    content: "";
    position: absolute; left: -24px; top: 26px;
    width: 7px; height: 7px; border-radius: 50%;
    background: #fff;
  }
  /* Timeline: one column below this width — 2-up looked cramped */
  .ps-timeline { grid-template-columns: 1fr !important; }
  /* Comparison table is horizontally scrollable */
  .ps-cmp__tbl { font-size: 13px; }
}
@media (max-width: 900px) {
  .ps-topbar__nav { display: none; }
  .ps-stage__body { grid-template-columns: 1fr; padding-top: 46vh; }
  .ps-stage__hint { justify-self: start; text-align: left; margin-top: 28px; }
  .ps-block__head { flex-direction: column; align-items: flex-start; }
  .no-gl .ps-stage__fallback { right: 50%; translate: 50% 0; top: 12vh; width: 62vw; }
  .ps-sig__name { font-size: 13px; letter-spacing: .12em; }
  .ps-stage__traits { gap: 6px 14px; font-size: 12.5px; }
}
@media (max-width: 620px) {
  .ps-stats, .ps-grid--4, .ps-grid--3, .ps-bento, .ps-ratebar, .ps-timeline, .ps-foot__grid, .ps-sec__list { grid-template-columns: 1fr; }
  .ps-bento .ps-tile--wide { grid-column: span 1; }
  .ps-log__body { padding: 20px 18px; }
  .ps-log__items li { grid-template-columns: 1fr; }
  .ps-topbar .ps-cta { display: none; }
  .ps-stage__foot span:first-child { display: none; }
  .ps-foot__legal { flex-direction: column; }
  .ps-foot__legal span:last-child { text-align: left; }
  .ps-dlbar { flex-direction: column; align-items: stretch; text-align: center; }
  .ps-dlbar__left { flex-direction: column; text-align: center; }
  .ps-stage__copy h1 { font-size: 2.1rem; }
  .ps-stage__lede { font-size: 15px; }
  .ps-stage__hint { display: none; }
  .ps-topbar { padding: 18px 20px; }
  .ps-log__head h3 { font-size: 18px; flex-wrap: wrap; }
  .ps-log__counters { flex-wrap: wrap; gap: 8px; }
  .ps-foot__socials { flex-direction: column; align-items: flex-start; gap: 16px; }
  .ps-foot__socials .flex { flex-wrap: wrap; }
  .ps-foot__about p { max-width: none; }
  .ps-leave__row { grid-template-columns: 1fr; }
  .ps-author__stats { grid-template-columns: 1fr; }
  .ps-comments__list { padding: 8px 16px; }
  .ps-leave { padding: 20px 16px; }
  .ps-dluniversal { padding: 24px 20px; }
  .ps-dluniversal__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .ps-dluniversal__chips { flex-wrap: wrap; gap: 6px; }
  .ps-dldevices__grid { grid-template-columns: 1fr; }
  .ps-device dl > div { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .ps-reveal { animation: none; opacity: 1; transform: none; filter: none; }
  .ps-stage__live, .ps-dot--on, .ps-pin__ring { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
