/* DefenseScore apex stub — Radar Green identity (direction B, locked 2026-06-04).
 * Tokens from ~/.agent/brands/identity/defensescore/tokens.css — do not hand-edit tokens here;
 * update the source and re-propagate. */

:root {
  --brand-ground:   #121712;
  --brand-surface:  #19211A;
  --brand-ink:      #E7ECE6;
  --brand-ink-soft: #9FB0A2;
  --brand-primary:  #46D17E;
  --brand-primary-fg: #07140C;
  --brand-accent:   #5A6960;
  --brand-rule:     rgba(255,255,255,.10);
  --status-ok:      #46B17A;
  --status-warn:    #E8B23A;
  --status-danger:  #E5533D;

  --display: 'IBM Plex Sans', system-ui, sans-serif;
  --body:    'Inter', system-ui, sans-serif;
  --mono:    'IBM Plex Mono', ui-monospace, Menlo, monospace;

  --ease: cubic-bezier(.16,1,.3,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--body);
  background: var(--brand-ground);
  color: var(--brand-ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  position: relative;
}

a { color: var(--brand-primary); }
:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 3px; border-radius: 6px; }

/* ── skip link ────────────────────────────────────────────── */
.skip {
  position: absolute; left: 14px; top: -60px; z-index: 100;
  background: var(--brand-primary); color: var(--brand-primary-fg);
  padding: 10px 16px; border-radius: 8px; font-weight: 600;
  text-decoration: none; transition: top .2s var(--ease);
}
.skip:focus { top: 14px; }

/* ── phase-0 status banner ────────────────────────────────── */
.status-banner {
  position: relative; z-index: 10;
  background: var(--brand-surface);
  color: var(--brand-ink-soft);
  border-bottom: 1px solid rgba(70,209,126,.18);
  font-size: .72rem; letter-spacing: .06em;
  text-align: center; padding: 8px 16px;
}
.status-banner strong {
  color: var(--brand-primary);
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-right: 8px;
}

/* ── photo hero ───────────────────────────────────────────── */
.hero-bg {
  position: fixed; inset: 0; z-index: 0; overflow: hidden;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.05) contrast(1.08);
  animation: kenburns 28s ease-out forwards;
  transform-origin: 55% 50%;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(18,23,18,.82) 0%, rgba(18,23,18,.68) 38%, rgba(18,23,18,.93) 100%),
    radial-gradient(680px 480px at 72% 18%, rgba(70,209,126,.12), transparent 72%);
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.06); } }

/* ── wordmark row ─────────────────────────────────────────── */
.wordmark-row {
  position: relative; z-index: 5;
  padding: 32px 32px 0;
}
.wm { display: inline-flex; flex-direction: column; align-items: flex-start; }
.wm__word {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  letter-spacing: -.01em;
  line-height: 1;
  white-space: nowrap;
}
.wm__defense { color: var(--brand-ink); }
.wm__score   { color: var(--brand-primary); }
.wm__rule {
  height: .08em; width: 100%; margin-top: .28em; border-radius: 3px;
  background: linear-gradient(90deg, var(--brand-primary) 0%, rgba(70,209,126,0) 100%);
}

/* ── main content ─────────────────────────────────────────── */
main {
  position: relative; z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 64px;
}
.stub {
  width: min(640px, 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* ── eyebrow ──────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--brand-ink-soft);
  margin-bottom: 20px;
}

/* ── h1 ───────────────────────────────────────────────────── */
h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 6.5vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--brand-ink);
  margin-bottom: 24px;
  max-width: 20ch;
}
h1 em { font-style: normal; color: var(--brand-primary); }

/* ── subhead ──────────────────────────────────────────────── */
.subhead {
  font-size: clamp(.95rem, 2.2vw, 1.1rem);
  color: var(--brand-ink-soft);
  max-width: 46ch;
  line-height: 1.65;
  margin-bottom: 32px;
}
.subhead .mono { font-family: var(--mono); font-size: .9em; color: var(--brand-ink); }

/* ── honesty seal ─────────────────────────────────────────── */
.honesty-seal {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(70,209,126,.06);
  border: 1px solid rgba(70,209,126,.2);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 28px;
  text-align: left;
  max-width: 520px;
}
.honesty-seal__icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  color: var(--brand-primary);
  margin-top: 2px;
}
.honesty-seal__icon svg { width: 100%; height: 100%; }
.honesty-seal__copy {
  font-size: .88rem;
  color: var(--brand-ink-soft);
  line-height: 1.55;
}
.honesty-seal__copy b { color: var(--brand-ink); }

/* ── what-it-is ───────────────────────────────────────────── */
.whatitis {
  font-size: .9rem;
  color: var(--brand-ink-soft);
  max-width: 48ch;
  line-height: 1.6;
  margin-bottom: 28px;
  text-align: center;
}
.whatitis b { color: var(--brand-ink); }

/* ── contact line ─────────────────────────────────────────── */
.contact {
  font-size: .88rem;
  color: var(--brand-ink-soft);
  margin-bottom: 28px;
}
.contact a { color: var(--brand-primary); }

/* ── footer ───────────────────────────────────────────────── */
.site-foot {
  position: relative; z-index: 1;
  border-top: 1px solid var(--brand-rule);
  padding: 32px 24px 28px;
}
.disclaimers {
  max-width: 680px;
  margin: 0 auto 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: .78rem;
  color: var(--brand-ink-soft);
  line-height: 1.65;
}
.disclaimers b { color: var(--brand-ink); }
.foot-meta {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .1em;
  color: var(--brand-accent);
  text-align: center;
}

/* ── sr-only ──────────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}

/* ── responsive ───────────────────────────────────────────── */
@media (max-width: 480px) {
  .wordmark-row { padding: 20px 20px 0; }
  main { padding: 28px 16px 48px; }
  .stub { gap: 0; }
  .honesty-seal { flex-direction: column; gap: 10px; }
}
