/* -------------------------------------------
   TOKENS - carried over from johnjheisler.css
   ------------------------------------------- */

:root {
  --accent:        #0078D4;
  --accent-dim:    #005a9e;
  --accent-glow:   rgba(0, 120, 212, 0.15);
  --accent-border: rgba(0, 120, 212, 0.3);
  --transition:    0.2s ease;

  --bg:            #0e0e0f;
  --bg-surface:    #161618;
  --bg-elevated:   #1e1e21;
  --border:        rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text-primary:  #e8e8e8;
  --text-secondary:#888890;
  --text-muted:    #6e6e79;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 56px 20px;
}

/* grid backdrop, same recipe as the site */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* -------------------------------------------
   POSTER CANVAS
   ------------------------------------------- */

.poster {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  padding: 48px 44px 36px;
}

/* eyebrow / logo row */
.logo-mark {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.logo-mark span { color: var(--accent); }

.status-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-border);
  animation: pulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

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

.status-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 44px;
}

/* headline */
.header-text {
  font-size: clamp(2.2rem, 6.4vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-top: 22px;
  margin-bottom: 14px;
}

.header-text .prefix { color: var(--text-primary); }
.header-text .suffix { color: var(--accent); }

.subheading {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 46ch;
}

/* -------------------------------------------
   QUESTION STACK - the signature element:
   a signal trace runs top to bottom, pulsing
   at each node, wiring the three checks
   together like a single circuit.
   ------------------------------------------- */

.stack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-left: 22px;
}

.trace {
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: -22px;
  width: 1px;
  background: linear-gradient(var(--accent-border), var(--border-strong) 92%);
}

.card {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 26px 28px;
  transition: border-color var(--transition);
}

.card:hover { border-color: var(--accent-border); }

.node {
  position: absolute;
  left: -26px;
  top: 30px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1.5px solid var(--accent);
}

.node::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.5s ease-in-out infinite;
}

.card:nth-child(2) .node::after { animation-delay: 0.4s; }
.card:nth-child(3) .node::after { animation-delay: 0.8s; }

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-label::before { content: '// '; }

.question {
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  font-weight: 300;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.35;
}

/* -------------------------------------------
   FOOTER
   ------------------------------------------- */

footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left,
.footer-right {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.footer-left strong,
.footer-right strong {
  color: var(--accent);
  font-weight: 500;
}

@media (max-width: 480px) {
  .poster { padding: 36px 24px 28px; }
  .stack { margin-left: 16px; }
  .trace { left: -16px; }
  .node { left: -20px; }
}

@media print {
  body { padding: 0; background: var(--bg); }
  .poster { border: none; max-width: 100%; }
}
