*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
  width: 100%;
}
body {
  background: var(--pb-night);
  color: var(--pb-fg);
  font-family: var(--pb-font-body);
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}
img, video { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* layout shell — mobile first */
.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
}
@media (min-width: 480px) {
  .wrap {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }
}
@media (min-width: 721px) {
  .wrap {
    padding-left: max(32px, env(safe-area-inset-left));
    padding-right: max(32px, env(safe-area-inset-right));
  }
}

.hide-mobile { display: none; }
@media (min-width: 821px) { .hide-mobile { display: inline; } }
.show-mobile { display: inline; }
@media (min-width: 821px) { .show-mobile { display: none; } }

/* eyebrow + display utilities */
.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pb-cyan-soft);
}
.display {
  font-family: var(--pb-font-display);
  font-style: italic;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.022em;
  color: var(--pb-aura);
  margin: 0;
}
.spectrum {
  background: var(--pb-grad-spectrum);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.mono {
  font-family: var(--pb-font-mono);
  font-variant-numeric: tabular-nums;
}

/* Mobile: textos centralizados (desktop volta à esquerda em 721px) */
.hero-inner,
.sec-head,
.principle,
.freq-panel,
.howto-strip .step,
.study,
.honesty,
.foot-col {
  text-align: center;
}
.hero-inner .lede,
.sec-head p,
.foot-grid p {
  margin-left: auto;
  margin-right: auto;
}
.hero h1 {
  margin-left: auto;
  margin-right: auto;
}
.hero-meta {
  align-items: center;
}
.freq-panel .head {
  justify-content: center;
}
.compare .col {
  text-align: center;
}
.study .study-head {
  justify-content: center;
  gap: 8px;
}
.study .metric {
  justify-content: center;
}
.foot-col .brand {
  justify-content: center;
}
.foot-col ul {
  align-items: center;
}
.foot-base {
  align-items: center;
  text-align: center;
}
.nav-drawer a {
  text-align: center;
}
.table-scroll {
  text-align: left;
}
@media (min-width: 721px) {
  .hero-inner,
  .sec-head,
  .principle,
  .freq-panel,
  .howto-strip .step,
  .study,
  .honesty,
  .foot-col {
    text-align: left;
  }
  .hero-inner .lede,
  .sec-head p,
  .foot-grid p {
    margin-left: 0;
    margin-right: 0;
  }
  .hero h1 {
    margin-left: 0;
    margin-right: 0;
  }
  .hero-meta {
    align-items: flex-start;
  }
  .freq-panel .head {
    justify-content: space-between;
  }
  .compare .col {
    text-align: left;
  }
  .study .study-head {
    justify-content: space-between;
    gap: 0;
  }
  .study .metric {
    justify-content: flex-start;
  }
  .foot-col .brand {
    justify-content: flex-start;
  }
  .foot-col ul {
    align-items: flex-start;
  }
  .foot-base {
    align-items: flex-start;
    text-align: left;
  }
}

/* ── NAV ────────────────────────────────── */
.nav {
  position: sticky;
  top: 0; z-index: 50;
  background: rgba(7,4,26,0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--pb-border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
}
@media (min-width: 721px) { .nav-inner { padding: 16px 0; } }
.nav-actions {
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0;
}
.nav-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--pb-border-strong);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  color: var(--pb-fg);
  transition: background 200ms;
}
.nav-toggle:hover { background: rgba(255,255,255,0.07); }
.nav-toggle svg { width: 18px; height: 18px; }
@media (min-width: 821px) { .nav-toggle { display: none; } }
.nav-drawer {
  display: flex; flex-direction: column; gap: 4px;
  padding: 0 16px 16px;
  border-bottom: 1px solid var(--pb-border);
  background: rgba(7,4,26,0.95);
}
.nav-drawer[hidden] { display: none; }
.nav-drawer a {
  display: block;
  padding: 14px 12px;
  font-size: 15px;
  color: var(--pb-fg-mute);
  border-radius: 10px;
  min-height: 44px;
}
.nav-drawer a:hover { color: var(--pb-aura); background: rgba(255,255,255,0.04); }
@media (min-width: 821px) { .nav-drawer { display: none !important; } }
.brand {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--pb-font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--pb-aura);
  letter-spacing: -0.01em;
  min-width: 0;
}
@media (min-width: 480px) { .brand { gap: 10px; font-size: 22px; } }
.brand-mark {
  width: 28px; height: 28px;
  display: grid; place-items: center;
}
.nav-links { display: none; }
@media (min-width: 821px) {
  .nav-links {
    display: flex; gap: 28px;
    font-size: 13px;
    color: var(--pb-fg-mute);
  }
  .nav-links a:hover { color: var(--pb-aura); }
}
.nav-cta { padding: 10px 14px; font-size: 12px; white-space: nowrap; }
@media (min-width: 480px) { .nav-cta { padding: 10px 18px; font-size: 13px; } }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--pb-border-strong);
  background: rgba(255,255,255,0.03);
  color: var(--pb-fg);
  font-size: 13px; font-weight: 500;
  padding: 10px 18px;
  border-radius: 999px;
  transition: background 200ms, transform 140ms, box-shadow 200ms;
}
.btn:hover { background: rgba(255,255,255,0.07); }
.btn:active { transform: scale(0.98); }
.btn--primary {
  background: linear-gradient(135deg, var(--pb-magenta) 0%, var(--pb-purple) 100%);
  border-color: transparent;
  color: white;
  box-shadow: var(--pb-glow-magenta);
  max-width: 100%;
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--pb-magenta-soft) 0%, var(--pb-purple-soft) 100%);
}
.btn--lg { padding: 14px 26px; font-size: 14px; }
.btn--store {
  background: rgba(255,255,255,0.04);
  border-color: var(--pb-border-strong);
  color: var(--pb-fg);
}
.btn--store:hover { background: rgba(255,255,255,0.09); }
.btn .store-glyph {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  width: 14px; height: 14px;
  gap: 1.6px;
}
.btn .store-glyph i { background: currentColor; display: block; }
.btn .store-glyph i:nth-child(1) { background: #F35325; }
.btn .store-glyph i:nth-child(2) { background: #81BC06; }
.btn .store-glyph i:nth-child(3) { background: #05A6F0; }
.btn .store-glyph i:nth-child(4) { background: #FFBA08; }

/* ── HERO ───────────────────────────────── */
.hero {
  position: relative;
  padding: 48px 0 56px;
  overflow: hidden;
}
@media (min-width: 721px) { .hero { padding: 72px 0 80px; } }
@media (min-width: 901px) { .hero { padding: 96px 0 96px; } }
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--pb-grad-aurora);
  opacity: 0.7;
  pointer-events: none;
}
.hero-decor {
  position: absolute;
  right: 0;
  top: -60px;
  width: clamp(220px, 72vw, 480px);
  height: clamp(220px, 72vw, 480px);
  transform: translateX(28%);
  pointer-events: none;
  opacity: 0.35;
}
@media (min-width: 721px) {
  .hero-decor {
    top: -80px;
    width: min(700px, 90vw);
    height: min(700px, 90vw);
    transform: translateX(18%);
    opacity: 0.5;
  }
}
@media (min-width: 901px) {
  .hero-decor {
    top: -120px;
    width: min(900px, 95vw);
    height: min(900px, 95vw);
    transform: translateX(22%);
    opacity: 0.7;
  }
}
.hero-decor svg { width: 100%; height: 100%; }
.hero-waves {
  position: absolute;
  left: 0; right: 0; bottom: 0; height: 180px;
  pointer-events: none;
  opacity: 0.45;
}
@media (min-width: 721px) { .hero-waves { height: 240px; opacity: 0.5; } }
@media (min-width: 901px) { .hero-waves { height: 320px; opacity: 0.55; } }
.hero-inner { position: relative; min-width: 0; }
.hero h1 {
  font-size: clamp(2.35rem, 11vw, 9rem);
  margin: 32px auto 28px;
  max-width: 12ch;
  overflow-wrap: anywhere;
}
@media (min-width: 721px) { .hero h1 { margin: 16px 0 22px; max-width: 14ch; } }
.lede {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--pb-fg-mute);
  max-width: 56ch;
  text-wrap: pretty;
  margin: 0 0 24px;
}
@media (min-width: 721px) {
  .lede { font-size: clamp(16px, 1.6vw, 20px); line-height: 1.55; margin: 0 0 32px; }
}
.cta-row {
  display: flex; flex-direction: column; gap: 10px;
  align-items: stretch;
}
@media (min-width: 540px) {
  .cta-row { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; }
}
.cta-row .btn { justify-content: center; min-height: 48px; text-align: center; }
.cta-row .btn--lg { white-space: normal; }
@media (min-width: 540px) { .cta-row .btn { width: auto; min-height: auto; } }
.hero-meta {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 28px;
  font-size: 11px;
  color: var(--pb-fg-dim);
  letter-spacing: 0.04em;
}
@media (min-width: 540px) {
  .hero-meta { flex-direction: row; flex-wrap: wrap; gap: 16px 28px; font-size: 12px; margin-top: 40px; }
}
.hero-meta .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pb-magenta);
  box-shadow: 0 0 12px var(--pb-magenta);
  margin-right: 8px; vertical-align: middle;
}

/* ── MARQUEE ─────────────────────────────── */
.marquee {
  padding: 20px 0;
  border-top: 1px solid var(--pb-border);
  border-bottom: 1px solid var(--pb-border);
  background: rgba(7,4,26,0.4);
}
@media (min-width: 721px) { .marquee { padding: 28px 0; } }
.marquee-label {
  text-align: center;
  margin-bottom: 12px;
  color: var(--pb-fg-dim);
  padding: 0 8px;
}
.marquee-row {
  display: flex; flex-wrap: wrap; gap: 10px 20px;
  justify-content: center;
  padding: 0 8px;
}
@media (min-width: 721px) {
  .marquee-row { gap: 8px 44px; padding: 0 24px; }
}
.marquee-row span {
  font-family: var(--pb-font-display);
  font-style: italic;
  font-size: 17px;
  color: var(--pb-fg-mute);
  opacity: 0.75;
}
@media (min-width: 721px) { .marquee-row span { font-size: 22px; } }

/* ── SHARED SECTION HEAD ────────────────── */
section { position: relative; overflow-x: clip; }
.sec { padding: 56px 0; }
@media (min-width: 721px) { .sec { padding: 80px 0; } }
@media (min-width: 901px) { .sec { padding: 96px 0; } }
.sec-head { max-width: 720px; margin-bottom: 32px; }
@media (min-width: 721px) { .sec-head { margin-bottom: 56px; } }
.sec-head h2 {
  font-size: clamp(2rem, 7vw, 5.25rem);
  margin: 10px 0 14px;
}
@media (min-width: 721px) { .sec-head h2 { margin: 12px 0 16px; } }
.sec-head p {
  font-size: 15px; color: var(--pb-fg-mute);
  line-height: 1.6; max-width: 56ch;
  text-wrap: pretty;
  margin: 0;
}
@media (min-width: 721px) {
  .sec-head p { font-size: 17px; line-height: 1.55; }
}

/* ── THREE-COLUMN PRINCIPLES ────────────── */
.principles {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}
@media (min-width: 901px) {
  .principles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}
.principle {
  min-width: 0;
  border: 1px solid var(--pb-border);
  border-radius: var(--pb-r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  padding: 22px 20px 20px;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; gap: 12px;
}
@media (min-width: 721px) { .principle { padding: 28px 26px 26px; } }
@media (min-width: 901px) { .principle { min-height: 260px; } }
.principle::after {
  content: ''; position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,46,146,0.10), transparent 70%);
  pointer-events: none;
}
.principle .tag {
  font-family: var(--pb-font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pb-magenta-soft);
}
.principle h3 {
  font-family: var(--pb-font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.1;
  margin: 0;
  color: var(--pb-aura);
}
@media (min-width: 721px) { .principle h3 { font-size: 30px; line-height: 1.05; } }
.principle .num {
  font-family: var(--pb-font-mono);
  font-size: 42px;
  color: var(--pb-aura);
  line-height: 1; font-weight: 300;
  letter-spacing: -0.02em;
  margin-top: auto;
}
.principle .num .unit {
  font-size: 13px;
  color: var(--pb-fg-dim);
  margin-left: 4px;
}
.principle p {
  font-size: 13.5px; line-height: 1.55;
  color: var(--pb-fg-mute);
  margin: 0;
  text-wrap: pretty;
}
/* ── FREQUENCY ROW ──────────────────────── */
.freq-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: 16px;
}
@media (min-width: 901px) {
  .freq-row { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr); gap: 18px; margin-top: 24px; }
}
.freq-panel {
  min-width: 0;
  border: 1px solid var(--pb-border);
  border-radius: var(--pb-r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  padding: 20px 18px 18px;
}
@media (min-width: 721px) { .freq-panel { padding: 28px 28px 24px; } }
.freq-panel .head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.freq-panel .head h3 {
  margin: 0;
  font-family: var(--pb-font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--pb-aura);
}
@media (min-width: 721px) { .freq-panel .head h3 { font-size: 28px; } }
.freq-panel .head .tag {
  font-family: var(--pb-font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pb-cyan-soft);
}
.compare {
  display: flex;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  box-sizing: content-box;
}
.compare .col {
  border: 1px solid var(--pb-border);
  border-radius: 12px;
  padding: 11px;
  background: rgba(7,4,26,0.4);
}
.compare .col.active {
  border-color: rgba(255,46,146,0.4);
  background: linear-gradient(180deg, rgba(255,46,146,0.08), rgba(255,46,146,0.02));
}
.compare .col .label {
  font-family: var(--pb-font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pb-fg-dim);
}
.compare .col.active .label { color: var(--pb-magenta-soft); }
.compare .col .val {
  font-family: var(--pb-font-mono);
  font-size: clamp(2rem, 10vw, 2.875rem);
  color: var(--pb-aura);
  letter-spacing: -0.02em;
  line-height: 1; font-weight: 300;
  margin-top: 8px;
}
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100%;
}
.table-scroll .notes-table { min-width: 280px; width: 100%; }
.compare .col .val .unit { font-size: 14px; color: var(--pb-fg-dim); }
.compare .col .delta {
  font-family: var(--pb-font-mono);
  font-size: 11px;
  color: var(--pb-fg-mute);
  margin-top: 12px;
}
.notes-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--pb-font-mono);
  font-size: 13px;
}
.notes-table thead th {
  text-align: left; font-weight: 500;
  font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pb-fg-dim);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--pb-border);
}
.notes-table tbody td {
  padding: 8px 0;
  border-bottom: 1px dashed rgba(184,174,219,0.08);
  color: var(--pb-fg);
  font-variant-numeric: tabular-nums;
}
.notes-table tbody tr:last-child td { border-bottom: none; }
.notes-table .note { color: var(--pb-aura); font-weight: 500; }
.notes-table .pb { color: var(--pb-magenta-soft); }
.notes-table .std { color: var(--pb-fg-mute); }
.notes-table .diff { color: var(--pb-cyan-soft); font-size: 12px; }

/* ── HOW-TO ─────────────────────────────── */
.howto-strip {
  border: 1px solid var(--pb-border);
  border-radius: var(--pb-r-lg);
  padding: 22px 18px;
  background: linear-gradient(90deg, rgba(255,46,146,0.06), rgba(0,240,255,0.04));
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}
@media (min-width: 541px) {
  .howto-strip { grid-template-columns: 1fr 1fr; gap: 28px; padding: 28px; }
}
@media (min-width: 981px) {
  .howto-strip {
    grid-template-columns: auto 1fr 1fr 1fr 1fr;
    gap: 36px;
    padding: 32px 36px;
  }
}
.howto-strip .lbl { display: none; }
@media (min-width: 981px) {
  .howto-strip .lbl {
    display: block;
    font-family: var(--pb-font-mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--pb-cyan-soft);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    padding-right: 22px;
    border-right: 1px solid var(--pb-border);
    align-self: stretch;
  }
}
.step {
  display: flex; flex-direction: column; gap: 8px;
}
.step .n {
  font-family: var(--pb-font-mono);
  font-size: 11px;
  color: var(--pb-magenta-soft);
  letter-spacing: 0.18em;
}
.step .t {
  font-family: var(--pb-font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--pb-aura);
  line-height: 1.15;
}
@media (min-width: 721px) { .step .t { font-size: 24px; line-height: 1.1; } }
.step .s {
  font-size: 13px;
  color: var(--pb-fg-mute);
  line-height: 1.5;
  text-wrap: pretty;
}
/* ── PREREQ NOTICE ──────────────────────── */
.prereq-notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 184, 0, 0.07);
  border: 1px solid rgba(255, 184, 0, 0.28);
  border-radius: var(--pb-r-lg);
  padding: 18px 22px;
  margin-bottom: 28px;
}
.prereq-notice__icon {
  font-size: 18px;
  line-height: 1.5;
  flex-shrink: 0;
}
.prereq-notice__body p {
  margin: 0;
  font-size: 13.5px;
  color: var(--pb-fg-mute);
  line-height: 1.55;
}
.prereq-notice__body p strong {
  font-weight: 600;
  color: #FFD166;
}
.prereq-notice__body a {
  color: var(--pb-cyan-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prereq-notice__body a:hover { color: var(--pb-cyan); }
.prereq-hint {
  font-size: 12.5px;
  color: var(--pb-fg-dim);
  margin-top: 12px;
  text-align: center;
}
.prereq-hint a {
  color: var(--pb-cyan-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prereq-hint a:hover { color: var(--pb-cyan); }

/* ── CTA ────────────────────────────────── */
.cta-section { padding: 56px 0 72px; }
@media (min-width: 721px) { .cta-section { padding: 80px 0 96px; } }
@media (min-width: 901px) { .cta-section { padding: 96px 0 120px; } }
.cta-card {
  position: relative;
  padding: 48px 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0D0826 0%, #1A0F3A 50%, #261856 100%);
  border: 1px solid var(--pb-border-strong);
  overflow: hidden;
  text-align: center;
}
@media (min-width: 721px) {
  .cta-card { padding: 72px 28px; border-radius: 24px; }
}
@media (min-width: 901px) {
  .cta-card { padding: 96px 32px; border-radius: 28px; }
}
.cta-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(255,46,146,0.22), transparent 70%);
  pointer-events: none;
}
.cta-waves {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.45;
}
.cta-inner { position: relative; max-width: 720px; margin: 0 auto; }
.cta-card h2 {
  font-size: clamp(2rem, 7vw, 5.75rem);
  margin: 12px 0 14px;
}
@media (min-width: 721px) { .cta-card h2 { margin: 16px 0 16px; } }
.cta-card p {
  font-size: 15px; color: var(--pb-fg-mute);
  line-height: 1.6;
  margin: 0 auto 24px;
  max-width: 54ch;
}
@media (min-width: 721px) {
  .cta-card p { font-size: 17px; line-height: 1.55; margin: 20px auto 28px }
}
.cta-foot {
  margin-top: 18px;
  font-size: 12px;
  color: var(--pb-fg-dim);
  letter-spacing: 0.06em;
}

/* ── FOOTER ─────────────────────────────── */
footer.foot {
  border-top: 1px solid var(--pb-border);
  padding: 40px 0 48px;
}
@media (min-width: 721px) { footer.foot { padding: 56px 0 64px; } }
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}
@media (min-width: 541px) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}
@media (min-width: 821px) {
  .foot-grid { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
}
.foot-grid p {
  font-size: 13px;
  color: var(--pb-fg-mute);
  line-height: 1.55;
  margin: 16px;
  max-width: 100%;
}
.foot-col { min-width: 0; }
.foot-col h4 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pb-fg-mute);
  margin: 0 0 14px;
}
.foot-col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.foot-col a {
  font-size: 13px;
  color: var(--pb-fg-mute);
}
.foot-col a:hover { color: var(--pb-aura); }
.foot-base {
  display: flex; flex-direction: column; gap: 10px;
  align-items: flex-start;
  margin-top: 36px; padding-top: 20px;
  border-top: 1px solid var(--pb-border);
  font-size: 11px;
  color: var(--pb-fg-dim);
  letter-spacing: 0.1em;
}
@media (min-width: 541px) {
  .foot-base {
    flex-direction: row; justify-content: space-between;
    align-items: center; gap: 12px; margin-top: 56px; padding-top: 24px;
  }
}

/* ── SCIENCE SECTION ────────────────────── */
.science {
  position: relative;
  padding: 48px 0 56px;
  overflow: hidden;
}
@media (min-width: 721px) { .science { padding: 64px 0 80px; } }
@media (min-width: 901px) { .science { padding: 64px 0 96px; } }
.science::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(0,240,255,0.10), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(123,47,255,0.12), transparent 60%);
  pointer-events: none;
}
.science-inner { position: relative; }
.study-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}
.study {
  grid-column: span 12;
  min-width: 0;
  border: 1px solid var(--pb-border);
  border-radius: var(--pb-r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  padding: 22px 20px 20px;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.study .study-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 12px;
}
.study .study-id {
  font-family: var(--pb-font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pb-cyan-soft);
}
.study .study-year {
  font-family: var(--pb-font-mono);
  font-size: 11px;
  color: var(--pb-fg-dim);
}
@media (min-width: 721px) { .study { padding: 28px 28px 26px; } }
.study h3 {
  font-family: var(--pb-font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.15;
  margin: 0 0 10px;
  color: var(--pb-aura);
}
@media (min-width: 721px) { .study h3 { font-size: 26px; line-height: 1.1; } }
.study .source {
  font-family: var(--pb-font-mono);
  font-size: 10.5px;
  color: var(--pb-fg-dim);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.study .source a {
  color: var(--pb-cyan-soft);
  text-decoration: none;
  border-bottom: 1px dashed rgba(122,246,255,0.35);
  transition: color 200ms, border-color 200ms;
}
.study .source a:hover {
  color: var(--pb-aura);
  border-bottom-color: var(--pb-aura);
}
.study .source .arrow {
  display: inline-block;
  margin-left: 4px;
  transition: transform 200ms;
}
.study .source a:hover .arrow {
  transform: translate(2px, -2px);
}
.study p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--pb-fg-mute);
  margin: 0 0 16px;
  text-wrap: pretty;
}
.study .metric {
  display: flex; align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed rgba(184,174,219,0.18);
}
.study .metric .figure {
  font-family: var(--pb-font-mono);
  font-size: 28px;
  font-weight: 300;
  color: var(--pb-magenta-soft);
  letter-spacing: -0.02em;
  line-height: 1;
}
@media (min-width: 721px) { .study .metric .figure { font-size: 34px; } }
.study .metric .figure .unit {
  font-size: 12px;
  color: var(--pb-fg-dim);
  margin-left: 3px;
}
.study .metric .label {
  font-size: 11px;
  color: var(--pb-fg-dim);
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@media (min-width: 981px) {
  .study.study--wide { grid-column: span 7; }
  .study.study--narrow { grid-column: span 5; }
  .study.study--mid { grid-column: span 7; }
  .study.study--small { grid-column: span 5; }
}

.honesty {
  grid-column: span 12;
  min-width: 0;
  border: 1px solid var(--pb-border);
  border-radius: var(--pb-r-lg);
  padding: 22px 20px;
  background: linear-gradient(90deg, rgba(0,240,255,0.05), rgba(123,47,255,0.04));
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}
@media (min-width: 721px) { .honesty { padding: 28px 32px; } }
@media (min-width: 981px) {
  .honesty { grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
}
.honesty .badge {
  font-family: var(--pb-font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--pb-cyan-soft);
  letter-spacing: -0.005em;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--pb-border);
}
@media (min-width: 981px) {
  .honesty .badge {
    padding-right: 28px;
    padding-bottom: 0;
    border-bottom: none;
    border-right: 1px solid var(--pb-border);
    white-space: nowrap;
  }
}
.honesty p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--pb-fg-mute);
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

/* ── LEGAL MODALS ───────────────────────── */
body.legal-modal-open {
  overflow: hidden;
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
           max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}
.legal-modal[hidden] {
  display: none;
}

.legal-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 2, 14, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.legal-modal__panel {
  position: relative;
  width: min(100%, 42rem);
  max-height: min(88vh, 720px);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--pb-border-strong);
  border-radius: var(--pb-r-xl);
  background: linear-gradient(180deg, #120a2e 0%, #0d0826 100%);
  box-shadow: var(--pb-shadow-3);
  overflow: hidden;
}

.legal-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--pb-border);
  flex-shrink: 0;
}

.legal-modal__title {
  margin: 0;
  font-family: var(--pb-font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  line-height: 1.1;
  color: var(--pb-aura);
}

.legal-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--pb-border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--pb-fg);
  transition: background 200ms;
}
.legal-modal__close:hover {
  background: rgba(255, 255, 255, 0.09);
}

.legal-modal__body {
  padding: 20px 20px 28px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  font-size: 14px;
  line-height: 1.65;
  color: var(--pb-fg-mute);
  text-align: left;
}
.legal-modal__body h3 {
  margin: 24px 0 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--pb-aura);
  letter-spacing: 0.02em;
}
.legal-modal__body h3:first-of-type {
  margin-top: 8px;
}
.legal-modal__body h4 {
  margin: 16px 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--pb-star);
}
.legal-modal__body p {
  margin: 0 0 12px;
  text-wrap: pretty;
}
.legal-modal__body strong {
  color: var(--pb-star);
  font-weight: 600;
}
.legal-modal__body a {
  color: var(--pb-cyan-soft);
  text-decoration: underline;
  text-decoration-color: rgba(122, 246, 255, 0.35);
  text-underline-offset: 2px;
}
.legal-modal__body a:hover {
  color: var(--pb-aura);
}

.legal-modal__meta {
  margin: 0 0 16px !important;
  font-size: 11px;
  color: var(--pb-fg-dim);
  letter-spacing: 0.06em;
}

.legal-modal__inline-link {
  display: inline;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: var(--pb-cyan-soft);
  text-decoration: underline;
  text-decoration-color: rgba(122, 246, 255, 0.35);
  text-underline-offset: 2px;
  cursor: pointer;
}
.legal-modal__inline-link:hover {
  color: var(--pb-aura);
}

@media (min-width: 721px) {
  .legal-modal__head { padding: 24px 28px 18px; }
  .legal-modal__body { padding: 20px 28px 32px; font-size: 14.5px; }
}

/* generic grain layer */
.grain {
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.35;
  mix-blend-mode: screen;
}
