:root {
  --bg: #0a0a0f;
  --panel: #101019;
  --ink: #e8e8ec;
  --muted: #8a8a99;
  --line: #23232f;
  --accent: #c9a14a;
  --accent-soft: rgba(201, 161, 74, 0.14);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --mono: "SFMono-Regular", "SF Mono", Menlo, Consolas, monospace;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  position: relative;
  overflow-x: hidden;
}

/* Subtle CRT scanline texture */
.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.015) 0px,
    rgba(255, 255, 255, 0.015) 1px,
    transparent 1px,
    transparent 3px
  );
  z-index: 50;
}

.notice {
  width: 100%;
  max-width: 560px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2.75rem 2rem 1.75rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  position: relative;
}

/* Seal */
.seal { text-align: center; margin-bottom: 2.25rem; }

.patch-link {
  display: inline-block;
  line-height: 0;
  margin: 0 auto 0.95rem;
}

.patch {
  width: 150px;
  height: 150px;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5));
  transition: transform 0.4s ease;
}

.patch-link:hover .patch { transform: rotate(-4deg) scale(1.04); }

.patch-lg {
  width: clamp(180px, 52vw, 240px);
  height: clamp(180px, 52vw, 240px);
}

/* Exposure title */
.exposure-title {
  text-align: center;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  line-height: 1.25;
  font-size: clamp(1.5rem, 6.5vw, 2.5rem);
  color: #d9c79a;
  margin: 1.75rem 0 2.25rem;
  text-shadow: 0 0 26px rgba(201, 161, 74, 0.18);
}

/* Console monitor */
.console {
  font-family: var(--mono);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 5px;
  padding: 1rem 1.1rem 0.9rem;
  margin: 0 auto;
}

.console-head {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #55556a;
  padding-bottom: 0.7rem;
  margin-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
}

.crow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.42rem 0;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.cval { color: var(--accent); letter-spacing: 0.12em; }

.cval-live { animation: flicker 2.4s steps(1) infinite; }

@keyframes flicker {
  0%, 44%, 100% { opacity: 1; }
  46%, 50% { opacity: 0.25; }
  52% { opacity: 1; }
}

.console-cursor {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: var(--accent);
}

.cursor { animation: blink 1.1s steps(1) infinite; }

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

.colophon.minimal {
  margin-top: 2.25rem;
  text-align: center;
}
.colophon.minimal .meta { justify-content: center; gap: 1.2rem; }

@media (prefers-reduced-motion: reduce) {
  .cval-live, .cursor { animation: none; }
}

.seal-caption {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Headline */
.headline { text-align: center; margin-bottom: 2.25rem; }

.kicker {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.headline h1 {
  font-size: clamp(2rem, 8vw, 2.9rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

.headline h1 em {
  font-style: italic;
  color: var(--accent);
}

.lede {
  color: #c5c5cf;
  font-size: 1.02rem;
  max-width: 44ch;
  margin: 0 auto;
}

/* Findings table */
.findings {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.4rem 0;
  margin-bottom: 1.9rem;
}

.findings dl { display: flex; flex-direction: column; }

.finding {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0.15rem;
  border-bottom: 1px dashed var(--line);
}
.finding:last-child { border-bottom: none; }

.finding dt {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.finding dd {
  font-size: 1rem;
  text-align: right;
}

.pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 0.4rem;
  vertical-align: middle;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--accent-soft); }
  50% { opacity: 0.4; box-shadow: 0 0 0 6px transparent; }
}

/* Body copy */
.body-copy { margin-bottom: 2.25rem; }
.body-copy p { margin-bottom: 1rem; color: #c5c5cf; }
.body-copy p:last-child { margin-bottom: 0; }
.muted { color: var(--muted) !important; font-size: 0.95rem; font-style: italic; }

/* Commendation award */
.award {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(201, 161, 74, 0.04);
  padding: 1.9rem 1.25rem 1.6rem;
  margin-bottom: 2.25rem;
}

.award-badge {
  width: 160px;
  height: 160px;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.55));
  animation: award-in 0.8s ease-out both;
}

@keyframes award-in {
  from { opacity: 0; transform: scale(0.85) rotate(-8deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

.award-title {
  font-size: 1.25rem;
  margin: 0.9rem 0 0.2rem;
}

.award-sub {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.award-note {
  color: var(--muted);
  font-style: italic;
  font-size: 0.95rem;
  max-width: 34ch;
  margin: 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  .award-badge { animation: none; }
}

/* Colophon */
.colophon {
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}

.satire-signal {
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #55556a;
}

.ref { white-space: nowrap; }

@media (max-width: 420px) {
  .notice { padding: 2rem 1.25rem 1.5rem; }
  .meta { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  .pulse { animation: none; }
}

/* Page nav — quiet mono row shared by the inner pages */
.page-nav {
  margin-top: 1.4rem;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.page-nav a { color: var(--muted); text-decoration: none; }
.page-nav a:hover, .page-nav a.current { color: var(--accent); }
.page-nav span { color: #3a3a4a; margin: 0 0.45rem; }

/* Prospectus tiers */
.tier {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.25);
  padding: 1.5rem 1.4rem 1.35rem;
  margin-bottom: 1.4rem;
}
.tier-kicker {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.55rem;
}
.tier h2 {
  font-weight: 400;
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}
.tier p { color: #c5c5cf; margin-bottom: 0.9rem; }
.tier ul {
  list-style: none;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.tier li {
  padding: 0.42rem 0;
  border-top: 1px dashed var(--line);
}
.tier li::before { content: "— "; color: var(--accent); }

/* Deployment quote */
.client-quote {
  border-left: 2px solid var(--accent);
  padding: 0.4rem 0 0.4rem 1.1rem;
  margin: 0 0 2.25rem;
  font-style: italic;
  color: #c5c5cf;
}
.client-quote footer {
  margin-top: 0.6rem;
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  border: none;
  padding: 0;
}

/* CTA row */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 2.25rem;
}
.cta {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.7rem 1rem;
  background: var(--accent-soft);
}
.cta:hover { border-color: var(--accent); }
.cta.ghost { background: transparent; color: var(--muted); }
.cta.ghost:hover { color: var(--accent); }

/* Notice register */
.notice-entry {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0.1rem 1.4rem;
}
.notice-entry:last-of-type { border-bottom: 1px solid var(--line); margin-bottom: 2.25rem; }
.notice-entry h2 {
  font-weight: 400;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.notice-entry p { color: #c5c5cf; font-size: 0.98rem; }
.notice-entry .entry-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

/* Console input — the cursor accepts input; it always has */
.console-input {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: transparent;
  border: none;
  outline: none;
  width: 60%;
  caret-color: var(--accent);
}
.console-input::placeholder {
  color: #3a3a4a;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.62rem;
}
.console-echo {
  display: block;
  margin-top: 0.45rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  min-height: 0.9rem;
}
.briefing-reveal { margin-top: 2.25rem; margin-bottom: 0; }
