/* ════════════════════════════════════════════════════════════════════
   PREYTORIAN — landing page redesign styles
   Task 2: HERO (ten-second case)
   Brand system: near-black ground / amber instrument / warm off-white
   reading text. Barlow Condensed (display), IBM Plex Mono (chrome/data),
   IBM Plex Sans (sustained reading), Cormorant Garamond italic (rare).
   ════════════════════════════════════════════════════════════════════ */

:root {
  /* l- tokens alias the page-level :root tokens in index.html where values
     are shared — edit the inline :root, not here, to change them. */
  --l-bg:           var(--bg);
  --l-amber:        var(--amber);
  --l-amber-bright: var(--amber-bright);
  --l-amber-dim:    rgba(212, 137, 10, 0.5);
  --l-amber-faint:  rgba(212, 137, 10, 0.18);
  --l-ink:          #e8dfd0;            /* sustained-reading text, >7:1 */
  --l-ink-dim:      rgba(232, 223, 208, 0.55);
  --l-ink-faint:    rgba(232, 223, 208, 0.3);
  --l-line:         rgba(212, 137, 10, 0.16);
  --l-line-hi:      rgba(212, 137, 10, 0.45);
  --l-panel:        rgba(12, 12, 20, 0.72);
}

/* ─── HERO LAYOUT ──────────────────────────────────────────────────── */

.hero {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
  gap: 56px;
  align-items: center;
  padding: 124px 56px 88px 48px;
  overflow: hidden;
}

/* faint vertical hairline between columns — instrument framing */
.hero::after {
  content: '';
  position: absolute;
  top: 124px;
  bottom: 88px;
  /* -28px = half the .hero 56px column gap, centering the line in the
     gutter; must change if .hero gap or horizontal padding changes */
  left: calc(58% - 28px);
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--l-line) 20%, var(--l-line) 80%, transparent);
  pointer-events: none;
}

/* ─── LEFT COLUMN — THE CASE ───────────────────────────────────────── */

.hero-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* classification-stamp eyebrow */
.hero-stamp-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 36px;
}

.hero-stamp {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  color: var(--l-amber);
  text-transform: uppercase;
  border: 1px solid var(--l-line-hi);
  padding: 7px 14px 6px 16px;
  position: relative;
  white-space: nowrap;
}

/* stamp corner ticks */
.hero-stamp::before,
.hero-stamp::after {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  pointer-events: none;
}
.hero-stamp::before { top: -1px; left: -1px; border-top: 2px solid var(--l-amber); border-left: 2px solid var(--l-amber); }
.hero-stamp::after  { bottom: -1px; right: -1px; border-bottom: 2px solid var(--l-amber); border-right: 2px solid var(--l-amber); }

.hero-stamp-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--l-ink-faint);
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(56px, 5.8vw, 96px);
  line-height: 0.93;
  letter-spacing: 0;
  color: var(--l-ink);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-title .t-amber { color: var(--l-amber); }

.hero-sub {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 300;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.65;
  color: var(--l-ink);
  max-width: 580px;
  margin-bottom: 44px;
}

.hero-sub strong {
  font-weight: 500;
  color: var(--l-amber-bright);
}

.hero-cta {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--l-bg);
  background: var(--l-amber);
  text-decoration: none;
  display: inline-block;
  padding: 17px 42px;
  position: relative;
  transition: background 0.2s;
}

.hero-cta::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid var(--l-amber-faint);
  pointer-events: none;
  transition: border-color 0.2s;
}

.hero-cta:hover { background: var(--l-amber-bright); }
.hero-cta:hover::after { border-color: var(--l-line-hi); }

.hero-cta:focus-visible {
  outline: 2px solid var(--l-amber-bright);
  outline-offset: 4px;
}

.hero-cta-note {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--l-ink-dim);
  text-transform: uppercase;
  margin-top: 18px;
}

/* baseline strip grounding the hero composition */
.hero-baseline {
  position: absolute;
  left: 48px;
  right: 56px;
  bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--l-line);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--l-ink-faint);
  text-transform: uppercase;
}

.hero-baseline-right { color: var(--l-amber-dim); white-space: nowrap; }

/* ─── RIGHT COLUMN — SPEC PANEL (static facts, not live data) ──────── */

.hero-panel {
  position: relative;
  border: 1px solid var(--l-line);
  background: var(--l-panel);
  font-family: 'IBM Plex Mono', monospace;
}

/* corner brackets */
.hero-panel::before,
.hero-panel::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
  z-index: 2;
}
.hero-panel::before { top: -1px; left: -1px; border-top: 2px solid var(--l-amber); border-left: 2px solid var(--l-amber); }
.hero-panel::after  { bottom: -1px; right: -1px; border-bottom: 2px solid var(--l-amber); border-right: 2px solid var(--l-amber); }

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--l-line);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--l-amber);
}

.panel-head-right { color: var(--l-ink-faint); letter-spacing: 0.16em; }

/* doctrine typewriter line */
.panel-doctrine {
  padding: 16px 18px;
  border-bottom: 1px solid var(--l-line);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--l-ink);
  /* reserves two wrapped lines (the ~64-char doctrine wraps at ~1101-1290px
     viewports): 2 × (11px × 1.6) + 32px vertical padding ≈ 68px, +1px for
     sub-pixel font-metric rounding — prevents the stats grid jumping
     mid-typewriter */
  min-height: 69px;
  line-height: 1.6;
}

.panel-doctrine .prompt { color: var(--l-amber-dim); margin-right: 8px; }

.panel-doctrine .caret {
  display: inline-block;
  width: 7px;
  height: 13px;
  background: var(--l-amber);
  vertical-align: -2px;
  margin-left: 3px;
}

/* stat grid */
.panel-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--l-line);
  border-bottom: 1px solid var(--l-line);
}

.pstat {
  background: #0a0a12; /* deliberately opaque — masks the --l-line gap grid behind the cells */
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pstat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  color: var(--l-amber);
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}

.pstat-label {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--l-ink-dim);
  text-transform: uppercase;
}

.pstat-note {
  font-size: 8.5px;
  letter-spacing: 0.08em;
  color: var(--l-ink-faint);
  text-transform: uppercase;
}

/* pipeline stage rail */
.panel-rail {
  padding: 16px 18px 18px;
  border-bottom: 1px solid var(--l-line);
}

.panel-rail-label {
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--l-ink-faint);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.rail-stages {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.rail-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  flex: 1;
  min-width: 0;
}

.rail-tick {
  position: relative;
  width: 100%;
  height: 3px;
  background: var(--l-amber-faint);
}

/* bright overlay the sweep animates — opacity only, GPU-friendly
   (replaces the original background/box-shadow keyframe, Task 6) */
.rail-tick::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--l-amber);
  opacity: 0;
}

.rail-name {
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--l-ink-dim);
  text-transform: uppercase;
  white-space: nowrap;
}

/* cadence footer — mechanism, not counts */
.panel-cadence {
  padding: 13px 18px;
  font-size: 9px;
  letter-spacing: 0.14em;
  line-height: 1.9;
  color: var(--l-ink-faint);
  text-transform: uppercase;
}

.panel-cadence b {
  font-weight: 500;
  color: var(--l-amber-dim);
}

/* ─── MOTION (instrumentation, gated) ──────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
  .hero-reveal {
    opacity: 0;
    transform: translateY(16px);
    animation: heroFadeUp 0.65s cubic-bezier(0.22, 0.7, 0.3, 1) forwards;
  }
  .hero-reveal[data-step="1"] { animation-delay: 0.05s; }
  .hero-reveal[data-step="2"] { animation-delay: 0.15s; }
  .hero-reveal[data-step="3"] { animation-delay: 0.28s; }
  .hero-reveal[data-step="4"] { animation-delay: 0.42s; }
  .hero-reveal[data-step="5"] { animation-delay: 0.55s; }
  .hero-reveal[data-step="6"] { animation-delay: 0.75s; }

  .panel-doctrine .caret { animation: caretBlink 1.05s step-end infinite; }

  /* sweep highlight stepping across the five pipeline stages */
  .rail-stage:nth-child(1) .rail-tick::after { animation: railSweep 6s linear infinite 0s; }
  .rail-stage:nth-child(2) .rail-tick::after { animation: railSweep 6s linear infinite 1.2s; }
  .rail-stage:nth-child(3) .rail-tick::after { animation: railSweep 6s linear infinite 2.4s; }
  .rail-stage:nth-child(4) .rail-tick::after { animation: railSweep 6s linear infinite 3.6s; }
  .rail-stage:nth-child(5) .rail-tick::after { animation: railSweep 6s linear infinite 4.8s; }
}

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes caretBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

@keyframes railSweep {
  0%, 24%   { opacity: 1; }
  32%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .panel-doctrine .caret { display: none; }
}

/* ─── RESPONSIVE ────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
    padding: 112px 32px 64px;
  }
  .hero::after { display: none; }
  .hero-panel { max-width: 640px; }
  .hero-baseline { display: none; }
}

@media (max-width: 640px) {
  .hero { padding: 96px 20px 56px; gap: 40px; }
  .hero-stamp-row { flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
  .hero-stamp { font-size: 10px; letter-spacing: 0.2em; padding: 6px 10px 5px 12px; }
  .hero-stamp-meta { display: none; }
  .hero-title { font-size: clamp(44px, 13vw, 58px); margin-bottom: 22px; }
  .hero-sub { font-size: 15px; margin-bottom: 34px; }
  .hero-cta {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 15px;
    padding: 16px 12px;
  }
  .hero-cta-wrap { width: 100%; }
  .hero-cta-note {
    font-size: 9px;
    letter-spacing: 0.12em;
    text-align: center;
    text-wrap: balance;
  }
  .panel-head {
    font-size: 9px;
    letter-spacing: 0.14em;
    padding: 11px 14px;
  }
  .panel-doctrine { min-height: 66px; padding: 14px; }
  .panel-stats { grid-template-columns: repeat(2, 1fr); }
  .rail-stages { flex-wrap: wrap; row-gap: 12px; }
  .rail-stage { flex: 1 1 30%; }
}

/* ════════════════════════════════════════════════════════════════════
   Task 4: PRICING + PRODUCT SECTION (spec plates, honest tier states)
   ════════════════════════════════════════════════════════════════════ */

:root {
  /* body-copy ink — keeps sustained-reading text above 7:1 on the panel
     grounds; decorative/labels may use the dimmer ink tokens */
  --l-ink-body: rgba(232, 223, 208, 0.82);
}

.pricing {
  padding: 110px 48px 100px;
  border-top: 1px solid var(--l-line);
}

.pricing-head {
  max-width: 560px;
  margin-bottom: 56px;
}

.pricing-desc {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.7;
  color: var(--l-ink-body);
  margin-top: 14px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.18fr 1fr;
  gap: 22px;
  align-items: stretch;
}

/* ── spec plate ── */

.plate {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--l-line);
  background: var(--l-panel);
}

.plate-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--l-line);
}

.plate-id {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--l-ink-faint);
  text-transform: uppercase;
  white-space: nowrap;
}

.plate-stamp {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 9px 3px;
  border: 1px solid;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.stamp-live {
  color: var(--l-amber-bright);
  border-color: var(--l-line-hi);
  background: var(--l-amber-faint);
}

.stamp-live::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--l-amber-bright);
  display: inline-block;
  margin-right: 8px;
  flex-shrink: 0;
}

.stamp-build,
.stamp-dev {
  color: var(--l-ink-dim);
  border-color: rgba(232, 223, 208, 0.22);
}

.plate-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px 24px 24px;
}

.plate-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 32px;
  letter-spacing: 0.07em;
  line-height: 1;
  color: var(--l-ink);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.plate-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 15px;
  line-height: 1.45;
  color: var(--l-ink-dim);
  margin-bottom: 26px;
}

.plate-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 46px;
  line-height: 1;
  color: var(--l-amber);
  letter-spacing: 0;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.plate-price-unit {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 400;
  color: var(--l-ink-dim);
  letter-spacing: 0.08em;
  margin-left: 6px;
}

.plate-price-note {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  line-height: 1.8;
  /* carries the pricing qualifiers (intro rate, cohort, cancel terms) —
     keep clearly legible, not decorative-dim */
  color: rgba(232, 223, 208, 0.68);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.plate-list-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--l-amber-dim);
  text-transform: uppercase;
  border-top: 1px solid var(--l-line);
  padding-top: 16px;
  margin-bottom: 14px;
}

.plate-list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.plate-list li {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  line-height: 1.55;
  color: var(--l-ink-body);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.plate-list li::before {
  content: '▸';
  color: var(--l-amber-dim);
  flex-shrink: 0;
  margin-top: 1px;
}

/* plate CTAs */

.plate-cta {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  display: block;
  text-align: center;
  padding: 13px 12px;
  margin-top: auto;
}

.plate-cta.primary {
  background: var(--l-amber);
  color: var(--l-bg);
  font-weight: 700;
  position: relative;
  transition: background 0.2s;
}

.plate-cta.primary::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid var(--l-amber-faint);
  pointer-events: none;
  transition: border-color 0.2s;
}

.plate-cta.primary:hover { background: var(--l-amber-bright); }
.plate-cta.primary:hover::after { border-color: var(--l-line-hi); }

.plate-cta.ghost {
  border: 1px solid var(--l-line-hi);
  color: var(--l-amber);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.plate-cta.ghost:hover {
  border-color: var(--l-amber);
  color: var(--l-amber-bright);
  background: var(--l-amber-faint);
}

.plate-cta.inert {
  border: 1px dashed rgba(232, 223, 208, 0.22);
  color: var(--l-ink-dim);
  cursor: default;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.16em;
  padding: 15px 12px;
}

.plate-cta:focus-visible {
  outline: 2px solid var(--l-amber-bright);
  outline-offset: 4px;
}

/* ── Terminal: the protagonist plate ── */

.plate-hero {
  border-color: var(--l-line-hi);
  background: #0e0e18;
  transform: translateY(-16px);
}

/* corner brackets, matching the hero spec panel */
.plate-hero::before,
.plate-hero::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
  z-index: 2;
}
.plate-hero::before { top: -1px; left: -1px; border-top: 2px solid var(--l-amber); border-left: 2px solid var(--l-amber); }
.plate-hero::after  { bottom: -1px; right: -1px; border-bottom: 2px solid var(--l-amber); border-right: 2px solid var(--l-amber); }

.plate-hero .plate-head { border-bottom-color: var(--l-line-hi); }
.plate-hero .plate-id { color: var(--l-amber-dim); }
.plate-hero .plate-name { font-size: 38px; }
.plate-hero .plate-price { font-size: 56px; color: var(--l-amber-bright); }
.plate-hero .plate-body { padding: 30px 28px 28px; }

@media (prefers-reduced-motion: no-preference) {
  .stamp-live::before { animation: stampPulse 2.4s ease-in-out infinite; }
}

@keyframes stampPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

/* ════════════════════════════════════════════════════════════════════
   Task 4: ADVISORY DESIGN-PARTNER WAITLIST (#access)
   ════════════════════════════════════════════════════════════════════ */

.partner {
  padding: 120px 48px;
  border-top: 1px solid var(--l-line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.partner-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 4.6vw, 64px);
  color: var(--l-ink);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.partner-title .amber { color: var(--l-amber); }

.partner-body {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.75;
  color: var(--l-ink-body);
  max-width: 480px;
  margin-bottom: 32px;
}

.partner-terms {
  border-left: 2px solid var(--l-line-hi);
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0;
}

.pt-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pt-row dt { color: var(--l-ink-dim); min-width: 130px; }
.pt-row dd { color: var(--l-amber); margin: 0; }

/* form panel */

.partner-form {
  position: relative;
  background: var(--l-panel);
  border: 1px solid var(--l-line);
  padding: 38px;
}

.partner-form::before,
.partner-form::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
}
.partner-form::before { top: -1px; left: -1px; border-top: 2px solid var(--l-amber); border-left: 2px solid var(--l-amber); }
.partner-form::after  { bottom: -1px; right: -1px; border-bottom: 2px solid var(--l-amber); border-right: 2px solid var(--l-amber); }

.pf-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--l-ink);
  margin-bottom: 8px;
}

.pf-sub {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.05em;
  line-height: 1.6;
  color: var(--l-ink-dim);
  margin-bottom: 28px;
}

.pf-group { margin-bottom: 16px; }

.pf-label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--l-amber-dim);
  text-transform: uppercase;
  margin-bottom: 7px;
}

.pf-optional { color: var(--l-ink-faint); }

.pf-input {
  width: 100%;
  background: rgba(6, 6, 11, 0.8);
  border: 1px solid var(--l-line);
  color: var(--l-ink);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s;
  letter-spacing: 0.04em;
}

.pf-input:focus { border-color: var(--l-line-hi); }
.pf-input::placeholder { color: var(--l-ink-faint); }

.pf-submit {
  width: 100%;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--l-bg);
  background: var(--l-amber);
  border: none;
  padding: 14px;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s;
}

.pf-submit:hover { background: var(--l-amber-bright); }
.pf-submit:disabled { cursor: default; }

.pf-submit:focus-visible {
  outline: 2px solid var(--l-amber-bright);
  outline-offset: 4px;
}

.pf-note {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--l-ink-faint);
  text-align: center;
  margin-top: 14px;
  text-transform: uppercase;
}

.pf-flash {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--l-amber);
  text-align: center;
  margin-top: 12px;
  display: none;
}

/* ─── PRICING + PARTNER RESPONSIVE ──────────────────────────────────── */

@media (max-width: 1080px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 28px; max-width: 640px; }
  .plate-hero { transform: none; order: -1; }
  .partner { grid-template-columns: 1fr; gap: 56px; }
}

@media (max-width: 640px) {
  .pricing { padding: 80px 24px 72px; }
  .partner { padding: 88px 24px; }
  .partner-form { padding: 28px 20px; }
  .plate-body { padding: 22px 18px 20px; }
  .plate-hero .plate-body { padding: 24px 20px 22px; }
}

/* ════════════════════════════════════════════════════════════════════
   Task 5: VERIFICATION METHODOLOGY STRIP (#methodology)
   Compact pipeline schematic: signal → adversarial verification →
   provenance record → calibration. Hairline rules + mono callouts.
   ════════════════════════════════════════════════════════════════════ */

.method {
  padding: 84px 48px 76px;
  border-top: 1px solid var(--l-line);
}

.method-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 46px;
}

.method-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 3.2vw, 42px);
  letter-spacing: 0.02em;
  line-height: 1;
  color: #f0e8d8;
  text-transform: uppercase;
}

.method-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--l-ink-dim);
  text-transform: uppercase;
  white-space: nowrap;
  padding-bottom: 4px;
}

/* the rail: four stages strung on a single hairline */
.method-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px;
}

.method-rail::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--l-line);
}

.method-stage {
  position: relative;
  padding-top: 24px;
}

/* amber tick segment marking each stage on the rail */
.method-stage::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--l-amber);
}

/* flow arrows riding the rail itself, centered in each gutter */
.method-stage + .method-stage::after {
  content: '→' / '';
  position: absolute;
  top: -9px;
  left: -31px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1;
  color: var(--l-amber);
  background: var(--l-bg);
  padding: 0 4px;
  pointer-events: none;
}

.ms-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.ms-num { color: var(--l-amber); font-weight: 500; }
.ms-tag { color: var(--l-ink-faint); white-space: nowrap; }

.ms-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 23px;
  letter-spacing: 0.05em;
  line-height: 1.05;
  color: var(--l-ink);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ms-desc {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.02em;
  line-height: 1.7;
  color: var(--l-ink-body);
  margin: 0;
}

/* closing mono caption, matching the hero panel-cadence idiom */
.method-foot {
  margin-top: 38px;
  padding-top: 14px;
  border-top: 1px solid var(--l-line);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  line-height: 1.9;
  color: var(--l-ink-faint);
  text-transform: uppercase;
}

.method-foot b {
  font-weight: 500;
  color: var(--l-amber-dim);
}

@media (max-width: 1024px) {
  .method-rail { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  /* stage 3 starts the second row — no left neighbor, no arrow */
  .method-stage:nth-child(3)::after { display: none; }
  /* second row re-draws its own segment of the rail */
  .method-stage:nth-child(3),
  .method-stage:nth-child(4) { border-top: 1px solid var(--l-line); }
}

@media (max-width: 640px) {
  .method { padding: 72px 24px 64px; }
  .method-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 36px; }
  .method-rail { grid-template-columns: 1fr; row-gap: 32px; }
  .method-rail::before { display: none; }
  .method-rail::after { display: none; }  /* scan pulse rides the rail — gone with it */
  .method-stage { border-top: 1px solid var(--l-line); }
  .method-stage + .method-stage::after { display: none; }
  .method-foot { margin-top: 40px; }
}

/* ════════════════════════════════════════════════════════════════════
   Task 6: METHODOLOGY RAIL SCAN PULSE
   A short amber light travels the hairline rail once every ~9s — an
   instrument self-test sweep, not a marketing flourish. Transform +
   opacity only; the catch-all reduced-motion block in index.html
   neutralizes it (0.001s, single iteration → never visible).
   ════════════════════════════════════════════════════════════════════ */

.method-rail::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 16%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--l-amber), transparent);
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .method-rail::after { animation: methodScan 9s linear infinite; }
}

/* travel occupies the first ~22% of the cycle (~2s), dormant ~7s.
   translateX % is relative to the pulse's own 16% width: 525% puts the
   leading edge exactly at the rail's right end — never spills past. */
@keyframes methodScan {
  0%        { transform: translateX(0); opacity: 0; }
  3%        { opacity: 0.85; }
  19%       { opacity: 0.85; }
  22%, 100% { transform: translateX(525%); opacity: 0; }
}

/* ════════════════════════════════════════════════════════════════════
   Task 3: SAMPLE BRIEF SHOWCASE (#briefing)
   Proof of deliverable: the real 2026-06-08 RED macro brief rendered as
   a document, with one claim opened to its provenance chain alongside.
   Document = the deliverable. Audit rail = the instrument proving it.
   All intelligence text is verbatim from pipeline_briefs id 254 — see
   docs/landing/sample-brief-254-excerpt.json. Static section, no motion.
   ════════════════════════════════════════════════════════════════════ */

.briefing {
  padding: 104px 48px 96px;
  border-top: 1px solid var(--l-line);
}

.briefing-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 52px;
}

.briefing-head-main { max-width: 640px; }

.briefing-desc {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.7;
  color: var(--l-ink-body);
  margin-top: 14px;
}

.briefing-desc strong {
  font-weight: 500;
  color: var(--l-amber-bright);
}

.briefing-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--l-ink-dim);
  text-transform: uppercase;
  white-space: nowrap;
  padding-bottom: 6px;
}

.briefing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

/* ── the document ── */

.bf-doc {
  position: relative;
  border: 1px solid var(--l-line-hi);
  background: #0b0b13;
}

/* corner brackets, matching the hero spec panel */
.bf-doc::before,
.bf-doc::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
  z-index: 2;
}
.bf-doc::before { top: -1px; left: -1px; border-top: 2px solid var(--l-amber); border-left: 2px solid var(--l-amber); }
.bf-doc::after  { bottom: -1px; right: -1px; border-bottom: 2px solid var(--l-amber); border-right: 2px solid var(--l-amber); }

/* classification stamp: dated historical sample, not live output.
   Straddles the document's top edge like an overstamp — must never
   cover the header date row (the dated stamp hiding the date is the
   one failure mode this section cannot have). */
.bf-stamp {
  position: absolute;
  top: -15px;
  right: 26px;
  z-index: 3;
  transform: rotate(-3deg);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.26em;
  color: var(--l-amber);
  text-transform: uppercase;
  border: 2px solid var(--l-amber-dim);
  outline: 1px solid rgba(212, 137, 10, 0.18);
  outline-offset: 2px;
  background: rgba(6, 6, 11, 0.92);
  padding: 7px 14px 6px 16px;
  pointer-events: none;
}

.bf-head {
  border-bottom: 1px solid var(--l-line);
  padding: 16px 30px 0;
}

.bf-head-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--l-line);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.bf-org  { color: var(--l-amber); font-weight: 500; }
.bf-date { color: var(--l-ink-dim); letter-spacing: 0.16em; }

.bf-threat-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0 14px;
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
}

.bf-threat-label {
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--l-ink-dim);
}

/* the one legitimate red on the page: threat state */
.bf-threat-badge {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: #ff5577;
  border: 1px solid rgba(255, 51, 102, 0.6);
  background: rgba(255, 51, 102, 0.1);
  padding: 4px 10px 3px 13px;
}

.bf-threat-note {
  font-size: 8.5px;
  letter-spacing: 0.16em;
  color: var(--l-ink-faint);
  margin-left: auto;
  text-align: right;
}

.bf-body { padding: 28px 30px 26px; }

/* ── document fields ── */

.bf-field { margin-bottom: 26px; }
.bf-field:last-child { margin-bottom: 0; }

.bf-field-label {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.26em;
  color: var(--l-amber-dim);
  text-transform: uppercase;
  margin-bottom: 11px;
}

.bf-fnum { color: var(--l-amber); }

.bf-prose {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 300;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--l-ink-body);
  margin: 0;
}

/* ── scenario probabilities ── */

.bf-scen {
  margin-bottom: 30px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--l-line);
}

.bf-scen-bar {
  display: flex;
  height: 22px;
  border: 1px solid var(--l-line);
  background: rgba(6, 6, 11, 0.6);
}

.bf-scen-bar span { display: block; }

.sc-base  { background: rgba(212, 137, 10, 0.55); }
.sc-best  { background: rgba(212, 137, 10, 0.16); border-left: 1px solid rgba(6,6,11,0.9); }
.sc-worst { background: rgba(255, 51, 102, 0.22); border-left: 1px solid rgba(6,6,11,0.9); }

.bf-scen-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 9px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8.5px;
  letter-spacing: 0.14em;
  color: var(--l-ink-dim);
  text-transform: uppercase;
}

.bf-scen-legend span { display: inline-flex; align-items: center; gap: 7px; }

.sk { width: 8px; height: 8px; display: inline-block; }
.sk-base  { background: rgba(212, 137, 10, 0.55); }
.sk-best  { background: rgba(212, 137, 10, 0.16); border: 1px solid var(--l-line-hi); }
.sk-worst { background: rgba(255, 51, 102, 0.22); border: 1px solid rgba(255, 51, 102, 0.5); }

/* ── the critical signal ── */

.bf-signal {
  border-top: 1px solid var(--l-line);
  padding-top: 24px;
}

.bf-signal-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.bf-sig-id   { color: var(--l-amber); font-weight: 500; }
.bf-sig-sev  { color: #ff5577; }
.bf-sig-conf { color: var(--l-ink-dim); }

.bf-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 2.2vw, 31px);
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--l-ink);
  text-transform: uppercase;
  margin: 0 0 14px;
}

.bf-what { margin-bottom: 26px; }

.bf-trace-ref {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--l-amber);
  text-decoration: none;
  border: 1px solid var(--l-line-hi);
  padding: 3px 8px 2px;
  white-space: nowrap;
  vertical-align: 2px;
  margin-left: 8px;
  transition: background 0.2s, color 0.2s;
}

.bf-trace-ref:hover {
  background: var(--l-amber-faint);
  color: var(--l-amber-bright);
}

.bf-trace-ref:focus-visible {
  outline: 2px solid var(--l-amber-bright);
  outline-offset: 3px;
}

.bf-when {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: var(--l-ink-dim);
  border-left: 2px solid var(--l-line-hi);
  padding-left: 14px;
  margin-bottom: 26px;
}

.bf-when b { color: var(--l-amber-dim); font-weight: 500; letter-spacing: 0.18em; }

/* ── cascade ── */

.bf-casc {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

/* the spine the levels hang from */
.bf-casc::before {
  content: '';
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 13px;
  width: 1px;
  background: var(--l-line);
}

.bf-casc-row {
  position: relative;
  display: flex;
  gap: 18px;
  padding: 0 0 18px 0;
}

.bf-casc-row:last-child { padding-bottom: 0; }

.bf-casc-lvl {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--l-amber);
  border: 1px solid var(--l-line-hi);
  background: #0b0b13;
}

.bf-casc-main { flex: 1; min-width: 0; padding-top: 1px; }

.bf-casc-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.bf-casc-dom { color: var(--l-amber-dim); font-weight: 500; }
.bf-casc-hzn { color: var(--l-ink-faint); white-space: nowrap; }

.bf-casc-desc {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 300;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--l-ink-body);
  margin: 0 0 6px;
}

.bf-casc-ev {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--l-ink-faint);
  text-transform: uppercase;
}

.bf-casc-ev q {
  quotes: '\201C' '\201D';
  color: var(--l-ink-dim);
  text-transform: none;
  letter-spacing: 0.02em;
}

/* projected levels are marked as projections — the honesty story */
.bf-proj {
  display: inline-block;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--l-ink-dim);
  border: 1px dashed rgba(232, 223, 208, 0.32);
  padding: 2px 7px 1px;
  margin-right: 9px;
}

/* honesty disclosure is content, not chrome — keep it readable (ink-dim, not faint) */
.bf-proj-note { color: var(--l-ink-dim); }

/* ── redacted market exposure ── */

.bf-exp {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.bf-exp-slot {
  border: 1px solid var(--l-line);
  background: rgba(6, 6, 11, 0.55);
  padding: 11px 12px 12px;
}

.bf-exp-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.bf-exp-dir { font-weight: 500; }
.bf-exp-dir.long  { color: var(--l-amber); }
/* not red: red is reserved for threat/critical state, and a market
   direction is neither — SHORT distinguishes itself by ink + bracket */
.bf-exp-dir.short { color: var(--l-ink); }
.bf-exp-dir.short::before { content: '▾ '; color: var(--l-ink-dim); }
.bf-exp-dir.long::before  { content: '▴ '; color: var(--l-amber-dim); }
.bf-exp-cat { color: var(--l-ink-faint); }

/* classification-style redaction bar */
.bf-redact {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  background:
    repeating-linear-gradient(135deg, rgba(232, 223, 208, 0.04) 0 2px, transparent 2px 7px),
    #000;
  border: 1px solid rgba(232, 223, 208, 0.13);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: rgba(232, 223, 208, 0.5);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
}

/* ── decision threshold ── */

.bf-threshold {
  margin-top: 28px;
  border: 1px solid var(--l-line);
  border-left: 3px solid var(--l-amber);
  background: rgba(212, 137, 10, 0.04);
  padding: 15px 18px 16px;
}

.bf-threshold-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--l-amber);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.bf-threshold-text {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.02em;
  line-height: 1.7;
  color: var(--l-ink-body);
  margin: 0;
}

.bf-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--l-line);
  padding: 12px 30px 13px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8.5px;
  letter-spacing: 0.14em;
  line-height: 1.8;
  color: var(--l-ink-faint);
  text-transform: uppercase;
}

/* ── the audit rail ── */

.bf-audit {
  position: sticky;
  top: 76px; /* nav height 52px + 24px breathing room — breaks if nav height changes */
  border: 1px solid var(--l-line);
  background: var(--l-panel);
  padding: 0 22px 22px;
}

/* TRACE 01 anchor target: clear the 52px fixed nav when jumped to */
#bf-audit { scroll-margin-top: 68px; }

/* the pinned rail is ~1005px tall; on shorter viewports the sticky state
   would clip its bottom (incl. the download CTA) — let it scroll inside.
   Scoped to the two-column desktop layout where the rail is actually
   sticky; the ≤1180px single-column layout un-sticks it (position: static)
   and must not get an internal scrollbar. */
@media (min-width: 1181px) {
  .bf-audit {
    max-height: calc(100vh - 96px);
    overflow-y: auto;
  }
}

.bf-audit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 -22px 18px;
  padding: 12px 22px;
  border-bottom: 1px solid var(--l-line);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--l-amber);
}

/* the head title is an h3 for document outline only — strip UA heading
   styles (margin, 1.17em bold) so it renders exactly like the old span */
.bf-audit-head h3 {
  margin: 0;
  font: inherit;
}

.bf-audit-tag {
  color: var(--l-amber-bright);
  border: 1px solid var(--l-line-hi);
  background: var(--l-amber-faint);
  padding: 3px 9px 2px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.bf-audit-intro {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 300;
  font-size: 12px;
  line-height: 1.65;
  color: var(--l-ink-body);
  margin: 0 0 18px;
}

.bf-audit-intro b {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--l-amber);
}

.bf-claim {
  border: 1px solid var(--l-line-hi);
  background: rgba(6, 6, 11, 0.6);
  padding: 14px 16px 15px;
  margin-bottom: 18px;
}

.bf-claim-id {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--l-amber);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.bf-claim-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8.5px;
  letter-spacing: 0.18em;
  color: var(--l-ink-faint);
  text-transform: uppercase;
  margin-bottom: 11px;
}

.bf-claim-pred {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 300;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--l-ink);
  margin: 0 0 13px;
}

.bf-claim-conf {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-family: 'IBM Plex Mono', monospace;
}

.bf-conf-label {
  font-size: 8.5px;
  letter-spacing: 0.2em;
  color: var(--l-ink-dim);
  text-transform: uppercase;
}

.bf-conf-bar {
  flex: 1;
  height: 5px;
  border: 1px solid var(--l-line);
  background: rgba(6, 6, 11, 0.8);
}

.bf-conf-bar span {
  display: block;
  height: 100%;
  background: var(--l-amber);
}

.bf-conf-val {
  font-size: 11px;
  font-weight: 500;
  color: var(--l-amber-bright);
  font-variant-numeric: tabular-nums;
}

.bf-claim-method {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.05em;
  line-height: 1.65;
  color: var(--l-ink-dim);
  text-transform: uppercase;
}

.bf-ev-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--l-amber-dim);
  text-transform: uppercase;
  border-top: 1px solid var(--l-line);
  padding-top: 14px;
  margin-bottom: 12px;
}

.bf-ev-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* cross-path pair: the same story, two independent pipelines */
.bf-ev-pair {
  border-left: 2px solid var(--l-amber);
  padding-left: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bf-pair-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--l-amber);
  text-transform: uppercase;
  padding-top: 2px;
}

.bf-ev {
  display: block;
  border: 1px solid var(--l-line);
  background: rgba(6, 6, 11, 0.45);
  padding: 10px 12px 11px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.bf-ev:hover {
  border-color: var(--l-line-hi);
  background: rgba(212, 137, 10, 0.05);
}

.bf-ev:focus-visible {
  outline: 2px solid var(--l-amber-bright);
  outline-offset: 2px;
}

.bf-ev-top {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.bf-ev-tier {
  font-weight: 500;
  padding: 2px 6px 1px;
  letter-spacing: 0.16em;
  flex-shrink: 0;
}

.bf-ev-tier.t1 {
  color: var(--l-amber-bright);
  border: 1px solid var(--l-line-hi);
  background: var(--l-amber-faint);
}

.bf-ev-tier.t2 {
  color: var(--l-ink-dim);
  border: 1px solid rgba(232, 223, 208, 0.22);
}

.bf-ev-path { color: var(--l-ink-dim); min-width: 0; }
.bf-ev-date { color: var(--l-ink-faint); margin-left: auto; white-space: nowrap; }

.bf-ev-headline {
  display: block;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 300;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--l-ink-body);
  margin-bottom: 5px;
}

.bf-ev-url {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8.5px;
  letter-spacing: 0.02em;
  color: var(--l-amber-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── verifiability stat + download ── */

.bf-verif {
  border-top: 1px solid var(--l-line);
  margin-top: 18px;
  padding-top: 16px;
}

.bf-verif-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.bf-verif-big {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 54px;
  line-height: 0.9;
  color: var(--l-amber);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.bf-verif-main {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  line-height: 1.7;
  color: var(--l-ink-dim);
  text-transform: uppercase;
}

.bf-verif-main b {
  font-weight: 500;
  color: var(--l-amber-bright);
}

.bf-verif-sub {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8.5px;
  letter-spacing: 0.14em;
  line-height: 1.8;
  color: var(--l-ink-faint);
  text-transform: uppercase;
}

.bf-dl {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  display: block;
  text-align: center;
  padding: 13px 12px;
  margin-top: 18px;
  border: 1px solid var(--l-line-hi);
  color: var(--l-amber);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.bf-dl:hover {
  border-color: var(--l-amber);
  color: var(--l-amber-bright);
  background: var(--l-amber-faint);
}

.bf-dl:focus-visible {
  outline: 2px solid var(--l-amber-bright);
  outline-offset: 4px;
}

/* ── briefing responsive ── */

@media (max-width: 1180px) {
  /* minmax(0,1fr), not 1fr: the nowrap evidence URLs must not set the
     track's min-content floor (they ellipsize inside it instead) */
  .briefing-grid { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
  .bf-audit { position: static; }
}

@media (max-width: 640px) {
  .briefing { padding: 76px 24px 68px; }
  .briefing-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 40px; }
  .briefing-meta { white-space: normal; padding-bottom: 0; }
  .bf-stamp { top: -13px; right: 12px; font-size: 8.5px; letter-spacing: 0.18em; padding: 6px 10px 5px 12px; }
  .bf-head { padding: 14px 18px 0; }
  .bf-head-row { flex-wrap: wrap; gap: 6px 16px; }
  .bf-threat-row { flex-wrap: wrap; gap: 10px 14px; }
  .bf-threat-note { margin-left: 0; text-align: left; flex-basis: 100%; }
  .bf-body { padding: 22px 18px 20px; }
  .bf-foot { padding: 11px 18px 12px; }
  .bf-exp { grid-template-columns: 1fr; }
  .bf-redact { letter-spacing: 0.16em; }
  .bf-audit { padding: 0 16px 18px; }
  .bf-audit-head { margin: 0 -16px 16px; padding: 11px 16px; }
  .bf-ev-top { flex-wrap: wrap; }
  .bf-ev-date { margin-left: 0; flex-basis: 100%; }
  .bf-verif-big { font-size: 46px; }
}

/* ════════════════════════════════════════════════════════════════════
   Task 3: PRINT — sample-brief.pdf source
   The PDF is generated by Playwright page.pdf() against this page with
   print media emulated (scripts/generate-sample-brief-pdf.mjs). Only #briefing
   survives; the document keeps its dark instrument ground, the same
   redactions, and the same 2026-06-08 date stamp.
   ════════════════════════════════════════════════════════════════════ */

@media print {
  nav, footer, .scan-line { display: none !important; }
  body::before, body::after { display: none !important; }
  main > :not(#briefing) { display: none !important; }
  html, body { background: #06060b !important; }
  body { cursor: auto; }

  .briefing { padding: 34px 36px 36px; border-top: none; }
  .briefing-head { margin-bottom: 30px; }
  .briefing-grid { display: block; max-width: none; }
  .bf-audit { position: static; margin-top: 30px; break-inside: auto; }
  .bf-claim, .bf-ev, .bf-casc-row, .bf-exp-slot, .bf-verif { break-inside: avoid; }
  .bf-dl { display: none; }                 /* the PDF doesn't link to itself */
  /* background fills carry data (scenario split, confidence, threat state)
     — force them through print color suppression */
  .bf-trace-ref, .bf-ev,
  .bf-scen-bar span, .sk, .bf-conf-bar span, .bf-threat-badge {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  /* solid bar, no hatch gradient: Chromium rasterizes each repeating
     gradient as a ~1MB print-resolution image (4 bars = 4MB of PDF) */
  .bf-redact { background: #000; }
}
