/* ══════════════════════════════════════════════════════════
   PixelBlocker+ site: the PixelBlocker family's public pages.

   The page recipe is pixelblocker.app (owner, 2026-11-01: "It's meant to be in
   line with the whole of the pixelblocker aesthetic"): its nav, hero, numbered
   section heads, notched cards, tiers, questions, legal pages and footer, with
   the same class names, sizes and spacing. Parts that site does not have (the
   checkout, the download cards, the guide) are made from the same pieces.

   Every value comes from pb_tokens.css, GENERATED from pb_design/pb_tokens.json
   by python3 pb_design/generate.py. Never copy a colour in here by hand: read a
   --pb-* variable. Text greys read --pb-site-text-2 and -3 so the /login and
   /account pages, which share a document with pb_web.css, match this site.
   Bebas Neue is for text burnt onto censors only and is not used here.
   ══════════════════════════════════════════════════════════ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* Declared on every element, not on :root: var(--cut) resolves where this
     declaration lands, and each part sets its own --cut. */
  --notch: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}

:root {
  --cut-card: var(--pb-notch-large);
  --cut-step: var(--pb-notch-button);
  --cut-pill: var(--pb-notch-small);
  --cut-badge: var(--pb-notch-chip);
  color-scheme: dark;
}

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  background: var(--pb-void);
  color: var(--pb-text);
  font-family: var(--pb-font-body);
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--pb-red); color: var(--pb-void); }

body::-webkit-scrollbar { width: 10px; }
body::-webkit-scrollbar-track { background: transparent; }
body::-webkit-scrollbar-thumb { background: var(--pb-site-scroll); }
body::-webkit-scrollbar-thumb:hover { background: var(--pb-site-scroll-hot); }

a { color: var(--pb-red); text-decoration: none; }
a:hover { text-shadow: 0 0 8px var(--pb-red-glow); }
:focus-visible { outline: 2px solid var(--pb-text); outline-offset: 2px; }
strong, b { color: var(--pb-text); font-weight: 600; }
code, kbd { font-family: var(--pb-font-mono); }

/* What the pages' scripts switch */
.gl-hide, .portal-hide, .email-hide { display: none !important; }

/* ── Background atmosphere ───────────────────────────────────── */
.bg-atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, var(--pb-site-atmos-red), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%, var(--pb-atmos-cyan), transparent 60%);
}
.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(var(--pb-site-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--pb-site-grid-line) 1px, transparent 1px);
  background-size: var(--pb-site-grid) var(--pb-site-grid);
  -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 30%, black 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 100% 80% at 50% 30%, black 30%, transparent 100%);
}

/* ── Layout containers ───────────────────────────────────────── */
.container,
.container-narrow,
.container-read {
  width: 100%;
  max-width: var(--pb-site-max);
  margin: 0 auto;
  padding: 0 var(--pb-site-gutter);
  position: relative;
  z-index: 1;
}
.container-narrow { max-width: var(--pb-site-narrow); }
.container-read { max-width: var(--pb-site-read); }
.site-main { flex: 1 0 auto; position: relative; z-index: 1; }

/* ── Top nav ─────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--pb-site-nav-ground);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--pb-border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  gap: 24px;
  position: relative;
}
.nav-brand {
  --cut: var(--pb-site-notch-mark);
  font-family: var(--pb-font-display);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 5px;
  color: var(--pb-text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.nav-brand:hover { text-shadow: none; }
.nav-brand::before {
  content: '';
  flex: none;
  width: 12px;
  height: 12px;
  background: var(--pb-red);
  box-shadow: 0 0 14px var(--pb-red-glow);
  clip-path: var(--notch);
}
@media (max-width: 389px) { .nav-brand { font-size: 14px; letter-spacing: 4px; } }
/* -10px cancels the flex gap, so the plus sits against the word as it does in the footer. */
.nav-brand .accent { color: var(--pb-red); margin-left: -10px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-family: var(--pb-font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  white-space: nowrap;
  color: var(--pb-site-text-2);
  text-transform: uppercase;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--pb-red); text-shadow: 0 0 6px var(--pb-red-glow); }
.nav-links a.active { color: var(--pb-text); }

/* The phone menu: the family's outline button, with a red edge that reads on the void. */
.nav-hamburger {
  --cut: var(--cut-pill);
  display: none;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  color: var(--pb-text);
  cursor: pointer;
  position: relative;
  clip-path: var(--notch);
}
.nav-hamburger::before {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: inherit;
  border: 1px solid var(--pb-red);
  pointer-events: none;
}
.nav-hamburger:focus-visible { outline: 2px solid var(--pb-text); outline-offset: -4px; }
/* 900, not 760, since the fifth link (Dom Dashboard, 2026-11-06): the bar needs about 893 px on one line. */
@media (max-width: 900px) {
  .nav-hamburger { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: calc(-1 * var(--pb-site-gutter));
    right: calc(-1 * var(--pb-site-gutter));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px var(--pb-site-gutter) 14px;
    background: var(--pb-deep);
    border-top: 1px solid var(--pb-border);
    border-bottom: 1px solid var(--pb-border);
  }
  .nav-links.open { display: flex; }
  .nav-links li + li { border-top: 1px solid var(--pb-border); }
  .nav-links a { display: block; padding: 15px 0; font-size: 11px; }
}

/* The pre-update notice, kept or taken out by the build (--banner) */
.update-banner {
  position: relative;
  z-index: 1;
  padding: 10px var(--pb-site-gutter);
  background: var(--pb-yellow-subtle);
  border-bottom: 1px solid var(--pb-border-active);
  color: var(--pb-text);
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}
.update-banner strong { color: var(--pb-yellow); font-weight: 700; }

/* ── Status pill ─────────────────────────────────────────────── */
.status-pill {
  --cut: var(--cut-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--pb-font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--pb-red);
  padding: 6px 12px;
  border: 1px solid var(--pb-red);
  background: var(--pb-red-subtle);
  text-transform: uppercase;
  white-space: nowrap;
  clip-path: var(--notch);
}
.status-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--pb-red);
  border-radius: 50%;
  animation: pulse var(--pb-rings) infinite;
  box-shadow: 0 0 8px var(--pb-red-glow);
}
.status-pill.quiet { color: var(--pb-site-text-2); border-color: var(--pb-border-active); background: transparent; }
.status-pill.quiet::before { background: var(--pb-site-text-2); box-shadow: none; animation: none; }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  padding: clamp(60px, 12vh, 140px) 0 clamp(80px, 14vh, 160px);
  position: relative;
}
.hero-eyebrow {
  font-family: var(--pb-font-mono);
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--pb-red);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-headline {
  font-family: var(--pb-font-display);
  font-weight: 900;
  font-size: clamp(56px, 8.95vw, 107px);
  line-height: 0.92;
  letter-spacing: 0.06em;
  color: var(--pb-text);
  text-transform: uppercase;
  white-space: nowrap;
  margin-bottom: 22px;
  text-shadow: 0 0 60px var(--pb-site-hero-glow);
}
.hero-headline .accent { color: var(--pb-red); text-shadow: 0 0 24px var(--pb-red-glow); }
@media (max-width: 760px) {
  .hero-headline { font-size: clamp(36px, 13.1vw, 92px); }
  .hero-headline .accent { display: block; }
}
.hero-subhead {
  font-family: var(--pb-font-display);
  font-weight: 600;
  font-size: clamp(18px, 2.4vw, 24px);
  letter-spacing: 2px;
  color: var(--pb-site-text-2);
  text-transform: uppercase;
  margin-bottom: 22px;
  max-width: 700px;
}
.hero-body {
  font-family: var(--pb-font-body);
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--pb-site-text-2);
  max-width: 620px;
  margin-bottom: 32px;
  line-height: 1.65;
}
.hero-status-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.status-note {
  font-family: var(--pb-font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--pb-site-text-2);
  text-transform: uppercase;
}
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
@media (max-width: 480px) { .hero-cta-row .btn { width: 100%; } }

/* ── Section header pattern (01 SECTION ──────────) ──────────── */
.section {
  padding: clamp(60px, 10vh, 120px) 0;
  position: relative;
}
.section-tight { padding: clamp(40px, 6vh, 70px) 0; position: relative; }
.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}
.section-num {
  font-family: var(--pb-font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--pb-red);
  letter-spacing: 2px;
}
.section-text {
  font-family: var(--pb-font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 5px;
  color: var(--pb-site-text-2);
  text-transform: uppercase;
  white-space: nowrap;
}
.section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--pb-border-active), transparent);
}
.section-tag {
  font-family: var(--pb-font-mono);
  font-size: 9px;
  color: var(--pb-red);
  letter-spacing: 2px;
  padding: 3px 8px;
  border: 1px solid var(--pb-red);
  text-transform: uppercase;
  white-space: nowrap;
}
.section-headline {
  font-family: var(--pb-font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: 2px;
  color: var(--pb-text);
  text-transform: uppercase;
  margin-bottom: 18px;
  max-width: 880px;
}
.section-headline .accent { color: var(--pb-red); }
.section-lead {
  font-family: var(--pb-font-body);
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--pb-site-text-2);
  max-width: 720px;
  line-height: 1.65;
  margin-bottom: 40px;
}
.section-lead a { text-decoration: underline; text-decoration-color: var(--pb-red-dim); text-underline-offset: 3px; }
.section-headline + .feature-grid,
.section-headline + .pricing-grid { margin-top: 32px; }
.center { text-align: center; }
.center .section-headline, .center .section-lead { margin-left: auto; margin-right: auto; }
.center .hero-eyebrow { margin-bottom: 14px; }
.center .hero-cta-row { justify-content: center; }
.form-note.center { margin-top: 20px; }

/* ── Cyber card (notched corners + accent bar) ──────────────── */
.cyber-card,
.portal-card {
  --cut: var(--cut-card);
  background: var(--pb-card);
  padding: clamp(20px, 3vw, 32px);
  position: relative;
  clip-path: var(--notch);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cyber-card::before,
.portal-card::before {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: inherit;
  border: 1px solid var(--pb-border);
  pointer-events: none;
  transition: border-color 0.2s;
}
.cyber-card:hover { transform: translateY(-2px); }
.cyber-card:hover::before { border-color: var(--pb-red); }
.accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: var(--pb-accent-bar);
  background: linear-gradient(90deg, var(--pb-red), transparent);
  box-shadow: 0 0 8px var(--pb-red-glow);
}

/* ── Buttons + CTAs ──────────────────────────────────────────── */
.btn {
  --cut: var(--cut-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--pb-font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
  padding: 14px 28px;
  min-height: 44px;
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--pb-red);
  position: relative;
  transition: all 0.18s;
  clip-path: var(--notch);
  outline: none;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: inherit;
  border: 1px solid var(--pb-red);
  pointer-events: none;
  transition: border-color 0.18s;
}
.btn:hover {
  background: var(--pb-red-subtle);
  box-shadow: 0 0 16px var(--pb-red-glow);
  color: var(--pb-red-hot);
  text-shadow: none;
}
.btn:hover::before { border-color: var(--pb-red-hot); }
.btn:focus-visible { outline: 2px solid var(--pb-text); outline-offset: -5px; }
.btn.btn-primary { background: var(--pb-red); color: var(--pb-void); }
.btn.btn-primary::before { border-color: var(--pb-red); }
.btn.btn-primary:hover {
  background: var(--pb-red-hot);
  box-shadow: 0 0 22px var(--pb-red-glow);
  color: var(--pb-void);
}
.btn.btn-primary:focus-visible { outline-color: var(--pb-void); }
.btn.btn-ghost { color: var(--pb-site-text-2); }
.btn.btn-ghost::before { border-color: var(--pb-border-active); }
.btn.btn-ghost:hover { color: var(--pb-text); background: transparent; box-shadow: none; }
.btn.btn-ghost:hover::before { border-color: var(--pb-red); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; cursor: default; pointer-events: none; }
.btn svg { flex: none; }
.btn-wide { width: 100%; }

.form-note {
  font-family: var(--pb-font-mono);
  font-size: 11px;
  color: var(--pb-site-text-2);
  letter-spacing: 1px;
  margin-top: 12px;
  text-transform: uppercase;
}
.form-note a { color: var(--pb-site-text-2); }
.form-note a:hover { color: var(--pb-red); }
.form-note strong { font-weight: 400; }

/* ── How-it-works steps row ──────────────────────────────────── */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--pb-stack);
  margin-top: 40px;
}
@media (max-width: 720px) {
  .steps-row { grid-template-columns: 1fr; }
}
.step {
  --cut: var(--cut-step);
  background: var(--pb-card);
  padding: 22px 20px;
  position: relative;
  clip-path: var(--notch);
}
.step::before {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: inherit;
  border: 1px solid var(--pb-border);
  pointer-events: none;
}
.step-num {
  font-family: var(--pb-font-mono);
  font-size: 10px;
  color: var(--pb-red);
  letter-spacing: 3px;
  margin-bottom: 8px;
}
.step-name {
  font-family: var(--pb-font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 3px;
  color: var(--pb-text);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.step-desc {
  font-family: var(--pb-font-body);
  font-size: 14px;
  color: var(--pb-site-text-2);
  line-height: 1.6;
}

/* ── Feature grid ────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--pb-stack);
}
@media (max-width: 980px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
}
.feature-card { padding: 26px 22px; }
.feature-icon {
  display: block;
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
  color: var(--pb-red);
  filter: drop-shadow(0 0 8px var(--pb-red-glow));
}
.feature-name {
  font-family: var(--pb-font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--pb-text);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.feature-desc {
  font-family: var(--pb-font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--pb-site-text-2);
}
.review-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.review-stars svg { width: 14px; height: 14px; color: var(--pb-red); }
.review-attr {
  font-family: var(--pb-font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--pb-red);
  text-transform: uppercase;
  margin-top: 14px;
}

/* ── Pricing ─────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--pb-stack);
  margin-top: 8px;
}
.pricing-grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) {
  .pricing-grid, .pricing-grid.two { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}
.tier { padding: 32px 26px; display: flex; flex-direction: column; }
.tier-slot { position: relative; display: flex; }
.tier-slot > .tier { flex: 1; }
.tier.tier-featured { background: linear-gradient(180deg, var(--pb-site-tier-wash), var(--pb-card) 50%); }
.tier.tier-featured::before { border-color: var(--pb-red); }
.tier.tier-featured .accent-bar {
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--pb-red), transparent);
  box-shadow: 0 0 14px var(--pb-red-glow);
}
.tier-name,
.dl-app-name {
  font-family: var(--pb-font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--pb-red);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.tier-price {
  font-family: var(--pb-font-display);
  font-weight: 900;
  font-size: 40px;
  letter-spacing: 2px;
  color: var(--pb-text);
  line-height: 1;
  min-height: 40px;
  text-transform: uppercase;
}
.tier-price .interval {
  font-family: var(--pb-font-mono);
  font-size: 12px;
  color: var(--pb-site-text-2);
  letter-spacing: 2px;
  margin-left: 6px;
}
.tier-yearly,
.dl-version {
  font-family: var(--pb-font-mono);
  font-size: 11px;
  color: var(--pb-site-text-2);
  letter-spacing: 2px;
  margin-top: 6px;
  text-transform: uppercase;
}
.tier-desc {
  font-family: var(--pb-font-body);
  font-size: 14px;
  color: var(--pb-site-text-2);
  line-height: 1.6;
  margin-top: 16px;
}
.tier-divider {
  height: 1px;
  background: var(--pb-border);
  margin: 22px 0;
}
.dl-meta { margin-bottom: 18px; }
.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.tier-features li {
  font-family: var(--pb-font-body);
  font-size: 14px;
  color: var(--pb-site-text-2);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}
.tier-features li::before {
  content: '+';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--pb-red);
  font-family: var(--pb-font-mono);
  font-size: 14px;
  font-weight: 600;
}
.tier-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.tier-note {
  font-family: var(--pb-font-body);
  font-size: 13px;
  color: var(--pb-site-text-2);
  line-height: 1.55;
  margin-top: 14px;
}
.tier-link {
  font-family: var(--pb-font-display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 16px;
  display: inline-block;
}

/* ── Stat cells ──────────────────────────────────────────────── */
.privacy-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--pb-stack);
  margin-top: 28px;
}
@media (max-width: 760px) {
  .privacy-stats { grid-template-columns: repeat(2, 1fr); }
}
.stat-cell {
  --cut: var(--cut-step);
  background: var(--pb-card);
  padding: 24px 18px;
  text-align: center;
  position: relative;
  clip-path: var(--notch);
}
.stat-cell::before {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: inherit;
  border: 1px solid var(--pb-border);
  pointer-events: none;
}
.stat-value {
  font-family: var(--pb-font-display);
  font-weight: 900;
  font-size: 44px;
  letter-spacing: 2px;
  color: var(--pb-red);
  line-height: 1;
}
.stat-label {
  font-family: var(--pb-font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--pb-site-text-2);
  margin-top: 10px;
  text-transform: uppercase;
  line-height: 1.4;
}

/* ── FAQ items ───────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  --cut: var(--cut-step);
  background: var(--pb-card);
  position: relative;
  clip-path: var(--notch);
}
.faq-item::before {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: inherit;
  border: 1px solid var(--pb-border);
  pointer-events: none;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-family: var(--pb-font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--pb-text);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex: none;
  font-family: var(--pb-font-mono);
  font-size: 18px;
  color: var(--pb-red);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--pb-text); outline-offset: -4px; }
.faq-body {
  padding: 0 22px 20px;
  font-family: var(--pb-font-body);
  font-size: 15px;
  color: var(--pb-site-text-2);
  line-height: 1.6;
}
.faq-body a { text-decoration: underline; text-decoration-color: var(--pb-red-dim); text-underline-offset: 3px; }

/* ── Page heads and legal typography ─────────────────────────── */
.legal-page {
  padding-top: 40px;
  padding-bottom: 100px;
}
.legal-title {
  font-family: var(--pb-font-display);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--pb-text);
  margin-bottom: 8px;
}
/* Under 390 wide the reference's 32px minimum no longer fits PIXELBLOCKER+ on one line. */
@media (max-width: 389px) { .legal-title { font-size: calc(10.7vw - 9px); } }
.legal-meta {
  font-family: var(--pb-font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--pb-site-text-2);
  text-transform: uppercase;
  margin-bottom: 40px;
}
.legal-meta strong { font-weight: 400; color: var(--pb-text); }
.page-lead {
  font-family: var(--pb-font-body);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.65;
  color: var(--pb-site-text-2);
  max-width: 720px;
  margin-bottom: 18px;
}
.legal-meta + .page-lead { margin-top: -22px; }
.legal-content h2 {
  font-family: var(--pb-font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 3px;
  color: var(--pb-red);
  text-transform: uppercase;
  margin: 36px 0 14px;
  overflow-wrap: break-word;
}
.legal-content h3 {
  font-family: var(--pb-font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--pb-text);
  text-transform: uppercase;
  margin: 24px 0 10px;
  overflow-wrap: break-word;
}
.legal-content p,
.legal-content li {
  font-family: var(--pb-font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--pb-site-text-2);
  margin-bottom: 12px;
  overflow-wrap: break-word;
}
.legal-content ul, .legal-content ol {
  padding-left: 22px;
  margin-bottom: 14px;
}
.legal-content strong { color: var(--pb-text); font-weight: 600; }
.legal-content a,
.callout a,
.portal-card a:not(.btn),
.gl-acct a:not(.btn) { text-decoration: underline; text-decoration-color: var(--pb-red-dim); text-underline-offset: 3px; }

.callout {
  background: var(--pb-red-subtle);
  border-left: 2px solid var(--pb-red);
  padding: 18px 22px;
  margin: 24px 0;
  font-family: var(--pb-font-body);
  font-size: 15px;
  color: var(--pb-text);
  line-height: 1.6;
}
.callout p { margin-bottom: 8px; }
.callout p:last-child { margin-bottom: 0; }
.callout > b:first-child, .callout > strong:first-child { font-weight: 700; }
.callout .callout-title {
  display: block;
  font-family: var(--pb-font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pb-red);
  margin-bottom: 6px;
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--pb-border);
  padding: 60px 0 40px;
  margin-top: 80px;
  position: relative;
  z-index: 1;
  flex: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
@media (max-width: 960px) and (min-width: 721px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand-col { grid-column: 1 / -1; }
}
.footer-brand {
  font-family: var(--pb-font-display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 5px;
  color: var(--pb-text);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.footer-brand .accent { color: var(--pb-red); margin-left: -3px; }
.footer-tag {
  font-family: var(--pb-font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--pb-site-text-2);
  line-height: 1.6;
  max-width: 320px;
}
.footer-col-head {
  font-family: var(--pb-font-display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--pb-red);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-family: var(--pb-font-mono);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--pb-site-text-2);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--pb-red); text-shadow: none; }
.footer-base {
  padding-top: 30px;
  border-top: 1px solid var(--pb-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--pb-font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--pb-site-text-2);
}
.footer-base .footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-base .footer-links a { color: var(--pb-site-text-2); }
.footer-base .footer-links a:hover { color: var(--pb-red); text-shadow: none; }
.footer-base.footer-bare { padding-top: 0; border-top: none; }

/* ── Status pages (success, cancelled, error, welcome): the 404 recipe ── */
.status-page {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: clamp(48px, 10vh, 110px);
  padding-bottom: clamp(60px, 12vh, 120px);
}
.status-headline {
  font-family: var(--pb-font-display);
  font-weight: 900;
  font-size: clamp(32px, 6.6vw, 72px);
  line-height: 1;
  letter-spacing: clamp(2px, 0.5vw, 6px);
  color: var(--pb-text);
  text-transform: uppercase;
  margin-bottom: 18px;
  text-shadow: 0 0 60px var(--pb-site-hero-glow);
}
.status-headline .accent { color: var(--pb-red); text-shadow: 0 0 24px var(--pb-red-glow); }
.status-copy {
  font-family: var(--pb-font-body);
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--pb-site-text-2);
  line-height: 1.65;
  max-width: 620px;
  margin-bottom: 32px;
}
.status-copy a { text-decoration: underline; text-decoration-color: var(--pb-red-dim); text-underline-offset: 3px; }
.status-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.status-actions + .status-copy { margin-top: 24px; margin-bottom: 0; }
.status-actions-gap { margin-bottom: 28px; }
.status-page > * { max-width: 100%; }
.status-page .hero-eyebrow { margin-bottom: 24px; }
@media (max-width: 480px) {
  .status-actions { width: 100%; }
  .status-actions .btn { width: 100%; }
}
.key-card {
  --cut: var(--cut-step);
  width: 100%;
  background: var(--pb-card);
  padding: 20px 22px;
  margin-bottom: 14px;
  position: relative;
  clip-path: var(--notch);
  text-align: left;
}
.key-card::before {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: inherit;
  border: 1px solid var(--pb-border);
  pointer-events: none;
}
.key-row-label {
  font-family: var(--pb-font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--pb-red);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.key-username {
  font-family: var(--pb-font-body);
  font-size: 15px;
  color: var(--pb-text);
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.key-instructions {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  text-align: left;
}
.key-instructions li {
  --cut: var(--cut-step);
  background: var(--pb-card);
  padding: 16px 20px;
  position: relative;
  clip-path: var(--notch);
  font-family: var(--pb-font-body);
  font-size: 14px;
  color: var(--pb-site-text-2);
  line-height: 1.6;
}
.key-instructions li::before {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: inherit;
  border: 1px solid var(--pb-border);
  pointer-events: none;
}
.key-instructions .step-num { display: block; margin-bottom: 4px; }
.ext-callout { display: none; width: 100%; text-align: left; margin: 0 0 14px; }
.ext-callout.visible { display: block; }
.error-message-box {
  --cut: var(--cut-step);
  width: 100%;
  max-width: 620px;
  background: var(--pb-input);
  padding: 16px 20px;
  margin-bottom: 28px;
  position: relative;
  clip-path: var(--notch);
  text-align: left;
}
.error-message-box::before {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: inherit;
  border: 1px solid var(--pb-red-dim);
  pointer-events: none;
}
.error-message-label {
  font-family: var(--pb-font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--pb-red);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.error-message-text {
  font-family: var(--pb-font-mono);
  font-size: 12px;
  color: var(--pb-site-text-2);
  overflow-wrap: anywhere;
}

/* ── Download page ───────────────────────────────────────────── */
.tier-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.tier-head .tier-name { margin-bottom: 0; }
.tier-limits {
  font-family: var(--pb-font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--pb-site-text-2);
  text-transform: uppercase;
  line-height: 1.6;
  margin-top: 14px;
}
.bundle-strip {
  --cut: var(--cut-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: var(--pb-stack);
  padding: 28px 26px;
  background: linear-gradient(90deg, var(--pb-site-tier-wash), var(--pb-card) 60%);
  color: inherit;
  position: relative;
  clip-path: var(--notch);
}
.bundle-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: inherit;
  border: 1px solid var(--pb-red);
  pointer-events: none;
}
.bundle-strip:hover { text-shadow: none; }
.bundle-tag {
  font-family: var(--pb-font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--pb-red);
  text-transform: uppercase;
}
.bundle-title {
  font-family: var(--pb-font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 3px;
  color: var(--pb-text);
  text-transform: uppercase;
  margin: 8px 0;
}
.bundle-desc, .bundle-savings {
  font-family: var(--pb-font-body);
  font-size: 14px;
  color: var(--pb-site-text-2);
  line-height: 1.6;
}
.bundle-savings { font-family: var(--pb-font-mono); font-size: 11px; letter-spacing: 1px; margin-top: 8px; text-transform: uppercase; }
.bundle-savings strong { font-weight: 400; color: var(--pb-text); }
.bundle-cta { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.bundle-price {
  font-family: var(--pb-font-display);
  font-weight: 900;
  font-size: 40px;
  letter-spacing: 2px;
  color: var(--pb-text);
  line-height: 1;
}
.bundle-price span {
  font-family: var(--pb-font-mono);
  font-weight: 400;
  font-size: 12px;
  color: var(--pb-site-text-2);
  letter-spacing: 2px;
}
@media (max-width: 720px) {
  .bundle-strip { flex-direction: column; align-items: stretch; }
  .bundle-cta { align-items: flex-start; }
  .bundle-cta .btn { width: 100%; }
}
.sysreq-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--pb-font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--pb-text);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.sysreq-card h3 svg { width: 18px; height: 18px; color: var(--pb-red); flex: none; }
.sysreq-table { width: 100%; border-collapse: collapse; }
.sysreq-table td {
  padding: 8px 0;
  border-top: 1px solid var(--pb-border);
  vertical-align: top;
  font-family: var(--pb-font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--pb-site-text-2);
}
.sysreq-table td:first-child {
  width: 76px;
  padding-right: 12px;
  font-family: var(--pb-font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  line-height: 21px;
  color: var(--pb-red);
  text-transform: uppercase;
}

/* ── Checkout ────────────────────────────────────────────────── */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--pb-stack);
}
.plan-tile {
  --cut: var(--cut-card);
  display: block;
  background: var(--pb-card);
  padding: 26px 22px;
  position: relative;
  clip-path: var(--notch);
  cursor: pointer;
  transition: background 0.18s;
}
.plan-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: inherit;
  border: 1px solid var(--pb-border);
  pointer-events: none;
  transition: border-color 0.18s;
}
.plan-tile::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: var(--pb-accent-bar);
  background: linear-gradient(90deg, var(--pb-red), transparent);
  box-shadow: 0 0 8px var(--pb-red-glow);
  opacity: 0;
  transition: opacity 0.18s;
}
.plan-tile:hover::before { border-color: var(--pb-red-dim); }
.plan-tile.selected { background: linear-gradient(180deg, var(--pb-site-tier-wash), var(--pb-card) 60%); }
.plan-tile.selected::before { border-color: var(--pb-red); }
.plan-tile.selected::after { opacity: 1; }
.plan-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.plan-tile:focus-within { outline: 2px solid var(--pb-text); outline-offset: -5px; }
.plan-tile-radio {
  position: absolute;
  top: 24px;
  right: 22px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--pb-border-active);
}
.plan-tile.selected .plan-tile-radio { border-color: var(--pb-red); box-shadow: inset 0 0 0 4px var(--pb-void), inset 0 0 0 8px var(--pb-red); }
.plan-tile-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-right: 26px; margin-bottom: 14px; }
.plan-tile-name {
  font-family: var(--pb-font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--pb-red);
  text-transform: uppercase;
}
.plan-tile-badge {
  font-family: var(--pb-font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--pb-red);
  padding: 3px 8px;
  border: 1px solid var(--pb-red);
  text-transform: uppercase;
  white-space: nowrap;
}
.plan-tile-price {
  font-family: var(--pb-font-display);
  font-weight: 900;
  font-size: 40px;
  letter-spacing: 2px;
  color: var(--pb-text);
  line-height: 1;
}
.plan-tile-price span {
  font-family: var(--pb-font-mono);
  font-weight: 400;
  font-size: 12px;
  color: var(--pb-site-text-2);
  letter-spacing: 2px;
  margin-left: 2px;
  white-space: nowrap;
}
/* Three tiles to a row: the Premium price and its interval stay on one line, monthly or yearly. */
@media (min-width: 721px) {
  .plan-grid:has([data-plan="extension_premium"]) .plan-tile-price { font-size: 30px; }
}
.plan-tile-desc {
  font-family: var(--pb-font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--pb-site-text-2);
  margin-top: 16px;
}
.bundle-os-row { display: none; margin-top: 24px; }
.bundle-os-row.visible { display: block; }
.checkout-label, .bundle-os-row > .label, .gl-acct > .label {
  font-family: var(--pb-font-display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--pb-site-text-2);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.bundle-os-row p { font-size: 15px; color: var(--pb-site-text-2); line-height: 1.6; }
.bundle-os-row p strong { color: var(--pb-text); }
.bundle-os-options { display: flex; gap: 10px; flex-wrap: wrap; }
.bundle-os-pill {
  --cut: var(--cut-step);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 20px;
  background: var(--pb-card);
  position: relative;
  clip-path: var(--notch);
  cursor: pointer;
  font-family: var(--pb-font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--pb-site-text-2);
  text-transform: uppercase;
  transition: color 0.15s;
}
.bundle-os-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: inherit;
  border: 1px solid var(--pb-border-active);
  pointer-events: none;
  transition: border-color 0.15s;
}
.bundle-os-pill:hover { color: var(--pb-text); }
.bundle-os-pill.selected { color: var(--pb-text); background: var(--pb-red-subtle); }
.bundle-os-pill.selected::before { border-color: var(--pb-red); }
.bundle-os-pill svg { width: 15px; height: 15px; flex: none; }
.bundle-os-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bundle-os-pill:focus-within { outline: 2px solid var(--pb-text); outline-offset: -5px; }
.premium-soon-note { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.checkout-features { margin-top: 28px; }
.checkout-form { margin-top: 28px; }
.checkout-form .btn { width: 100%; }
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--pb-stack);
  margin-top: 28px;
}
@media (max-width: 720px) { .trust-row { grid-template-columns: 1fr; } }
.trust-item {
  --cut: var(--cut-step);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--pb-card);
  padding: 16px;
  position: relative;
  clip-path: var(--notch);
}
.trust-item::before {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: inherit;
  border: 1px solid var(--pb-border);
  pointer-events: none;
}
.trust-item svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--pb-red); }
.trust-item strong {
  display: block;
  font-family: var(--pb-font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pb-text);
  margin-bottom: 4px;
}
.trust-item span { font-size: 13px; line-height: 1.5; color: var(--pb-site-text-2); }
.checkout-note {
  font-family: var(--pb-font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--pb-site-text-2);
  line-height: 1.7;
  margin-top: 22px;
}
.checkout-note a { text-decoration: underline; text-decoration-color: var(--pb-red-dim); text-underline-offset: 3px; }

/* The Premium panel (account.js), and the /login and /account pages */
body.site-page #root { display: flex; flex-direction: column; min-height: 100vh; }
.account-lead { max-width: none; margin-bottom: 24px; }
.legal-title + .portal-card { margin-top: 24px; }
.gl-acct { display: none; margin-top: 28px; }
.gl-acct.visible { display: block; }
.gl-acct p, .portal-card p {
  font-family: var(--pb-font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--pb-site-text-2);
  margin-bottom: 12px;
}
.gl-acct-fields { display: flex; flex-direction: column; gap: 10px; margin: 14px 0; }
.gl-acct-fields input,
.gl-input {
  --cut: var(--cut-step);
  width: 100%;
  min-height: 46px;
  background: var(--pb-input);
  border: none;
  color: var(--pb-text);
  font-family: var(--pb-font-mono);
  font-size: 14px;
  letter-spacing: 1px;
  padding: 14px 16px;
  clip-path: var(--notch);
  outline: none;
  box-shadow: inset 0 0 0 1px var(--pb-border-active);
  transition: box-shadow 0.18s;
}
.gl-acct-fields input:focus,
.gl-input:focus { box-shadow: inset 0 0 0 1px var(--pb-red); }
.gl-acct-fields input::placeholder,
.gl-input::placeholder { color: var(--pb-site-text-2); letter-spacing: 1px; font-size: 13px; }
.gl-acct-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.gl-acct-actions .btn { flex: 1 1 200px; margin-bottom: 0; }
.gl-acct-wide { width: 100%; margin-bottom: 10px; }
.gl-acct-msg {
  border-left: 2px solid var(--pb-green);
  background: var(--pb-green-subtle);
  color: var(--pb-text);
  font-size: 14px;
  line-height: 1.5;
  padding: 10px 14px;
  margin-top: 12px;
}
.gl-acct-msg.gl-acct-error { border-left-color: var(--pb-red); background: var(--pb-red-subtle); }
.gl-acct-hint { font-size: 14px !important; margin-top: 10px; margin-bottom: 0 !important; color: var(--pb-site-text-2); }
.gl-acct-who {
  font-family: var(--pb-font-mono);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--pb-text);
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}
.gl-acct-badge {
  --cut: var(--cut-pill);
  display: inline-block;
  font-family: var(--pb-font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--pb-green);
  background: var(--pb-green-subtle);
  padding: 6px 12px;
  text-transform: uppercase;
  clip-path: var(--notch);
  margin-bottom: 12px;
}
.gl-acct-badge-warn { color: var(--pb-yellow); background: var(--pb-yellow-subtle); }
.gl-acct-status { color: var(--pb-text) !important; }
.gl-acct-status.gl-acct-warn { color: var(--pb-yellow) !important; }
.gl-acct-renewal { font-size: 14px !important; margin-top: 4px; }
.gl-acct-recent {
  border-left: 2px solid var(--pb-yellow);
  background: var(--pb-yellow-subtle);
  color: var(--pb-text);
  font-size: 14px;
  line-height: 1.55;
  padding: 10px 14px;
  margin-bottom: 12px;
}
.gl-acct-linkbtn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--pb-red);
  font: inherit;
  text-decoration: underline;
  text-decoration-color: var(--pb-red-dim);
  text-underline-offset: 3px;
}

/* ── Manage subscription ─────────────────────────────────────── */
.portal-card { margin: 8px 0 8px; }
.portal-card h2 {
  font-family: var(--pb-font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 3px;
  color: var(--pb-text);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.portal-card .btn { margin-bottom: 12px; }
.portal-note {
  border-left: 2px solid var(--pb-red);
  background: var(--pb-red-subtle);
  color: var(--pb-text) !important;
  padding: 10px 14px;
  margin-top: 4px;
}

/* ── The guide ───────────────────────────────────────────────── */
.guide-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.toc-chip {
  --cut: var(--cut-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 14px;
  background: var(--pb-card);
  position: relative;
  clip-path: var(--notch);
  font-family: var(--pb-font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--pb-site-text-2);
  text-transform: uppercase;
  transition: color 0.15s;
}
.toc-chip::before {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: inherit;
  border: 1px solid var(--pb-border-active);
  pointer-events: none;
  transition: border-color 0.15s;
}
.toc-chip:hover { color: var(--pb-text); text-shadow: none; }
.toc-chip:hover::before { border-color: var(--pb-red); }
.toc-chip .n { color: var(--pb-red); }
.chapter { padding-top: 56px; scroll-margin-top: 40px; }
.chapter .section-label { margin-bottom: 20px; }
.chapter h2.chapter-title {
  font-family: var(--pb-font-display);
  font-weight: 800;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.15;
  letter-spacing: 2px;
  color: var(--pb-text);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.chapter p, .chapter li { font-family: var(--pb-font-body); font-size: 16px; line-height: 1.7; color: var(--pb-site-text-2); }
.chapter p { margin-bottom: 14px; }
.chapter p a, .chapter li a, .guide-step a { text-decoration: underline; text-decoration-color: var(--pb-red-dim); text-underline-offset: 3px; }
.chapter ul.plain { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.chapter ul.plain li { position: relative; padding-left: 22px; }
.chapter ul.plain li::before {
  content: '+';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--pb-red);
  font-family: var(--pb-font-mono);
  font-weight: 600;
}
.chapter .callout b:first-child { display: block; font-family: var(--pb-font-display); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--pb-red); margin-bottom: 6px; }
.guide-steps { counter-reset: guide; display: flex; flex-direction: column; gap: 10px; margin: 4px 0 18px; }
.guide-step {
  --cut: var(--cut-step);
  counter-increment: guide;
  background: var(--pb-card);
  padding: 16px 20px;
  position: relative;
  clip-path: var(--notch);
  font-family: var(--pb-font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--pb-site-text-2);
  padding-top: 36px;
}
.guide-step::before {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: inherit;
  border: 1px solid var(--pb-border);
  pointer-events: none;
}
.guide-step::after {
  content: '// ' counter(guide, decimal-leading-zero);
  position: absolute;
  top: 16px;
  left: 20px;
  font-family: var(--pb-font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--pb-red);
}
.next-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--pb-border);
}
.next-row a {
  font-family: var(--pb-font-display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ── Utility helpers ─────────────────────────────────────────── */
.text-mono { font-family: var(--pb-font-mono); }
.text-red { color: var(--pb-red); }
.accent { color: var(--pb-red); }

/* ── Reduced motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
  .cyber-card:hover { transform: none; }
}

/* Text for screen readers and search only, never drawn (the home H1's long
   name, owner 2026-11-08). */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
