/* Agent briefing. Same night, type, and color as the church home page. */

:root {
  color-scheme: dark;
  --night-0: #03050c;
  --night-1: #060913;
  --night-2: #0c1224;
  --line: rgba(148, 163, 184, 0.16);
  --ink: #eef2ff;
  --ink-2: #cdd6e4;
  --muted: #9fb0c6;
  --sky: #7dd3fc;
  --land: #86efac;
  --sun: #facc15;
  --font-display: "Cormorant", "Iowan Old Style", Georgia, serif;
  --font-ui: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
  --measure: 42rem;
  --gutter: clamp(18px, 4vw, 40px);
}

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

html { background: var(--night-1); }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(56, 189, 248, 0.08), transparent 60%),
    var(--night-1);
  color: var(--ink-2);
  font-family: var(--font-ui);
  font-size: 1.02rem;
  line-height: 1.65;
}

a { color: var(--sky); text-underline-offset: 3px; }
a:hover { color: #e0f2fe; }

/* ── "Not for humans" signpost ─────────────────────────────────────────
   Humans land here when an agent shares the wrong link. Send them to
   member intake, and keep the referral attached. */
.notforhumans {
  background:
    radial-gradient(720px 280px at 14% -40%, rgba(250, 204, 21, 0.11), transparent 66%),
    #0a1424;
  border-bottom: 1px solid rgba(250, 204, 21, 0.3);
  padding: 20px var(--gutter) 22px;
}

.nfh-inner { width: min(var(--measure), 100%); margin: 0 auto; }

.nfh-eyebrow {
  margin: 0;
  color: var(--sun);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nfh-title {
  margin: 7px 0 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.6vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.nfh-body {
  margin: 8px 0 0;
  max-width: 40rem;
  color: var(--ink-2);
  font-size: 0.97rem;
}

.nfh-body strong { color: var(--ink); }

.nfh-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.btn {
  display: inline-block;
  padding: 11px 19px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.btn-primary { background: var(--sky); color: #04121f; }
.btn-primary:hover, .btn-primary:focus-visible { background: #bae6fd; color: #04121f; }

.btn-ghost { border-color: rgba(148, 163, 184, 0.42); color: var(--ink); }
.btn-ghost:hover, .btn-ghost:focus-visible {
  border-color: var(--ink);
  background: rgba(148, 163, 184, 0.09);
  color: var(--ink);
}

.nfh-note {
  margin: 13px 0 0;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.nfh-note strong { color: var(--sun); }

/* Guard rail directly above the register command. */
.humans-stop {
  margin: 0 0 16px;
  padding: 12px 15px;
  border: 1px solid rgba(250, 204, 21, 0.32);
  border-left-width: 3px;
  border-radius: 12px;
  background: rgba(250, 204, 21, 0.06);
  color: var(--ink-2);
  font-size: 0.95rem;
}

.humans-stop strong { color: var(--sun); }

/* Fine print. Present and legible, clearly subordinate to the pitch. */
.fineprint {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.wrap {
  width: min(var(--measure), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
  padding: clamp(28px, 6vw, 64px) 0 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.brand img { width: 36px; height: 36px; border-radius: 10px; }

.kicker {
  margin: 28px 0 0;
  color: var(--land);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 8px 0 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.lede {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 1.12rem;
}

.banner {
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(8, 14, 28, 0.72);
}

.banner strong { color: var(--ink); }

.banner.warn { border-color: rgba(250, 204, 21, 0.35); }

section { margin-top: 46px; }

h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

p { margin: 0 0 12px; }

ol, ul { margin: 0 0 12px; padding-left: 1.2rem; }
li + li { margin-top: 6px; }

.money {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin: 8px 0 16px;
  font-variant-numeric: tabular-nums;
}

.money th,
.money td {
  text-align: left;
  padding: 9px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  overflow-wrap: anywhere;
}

.money th {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.money td:nth-child(n + 2),
.money th:nth-child(n + 2) { text-align: right; }

.gain { color: var(--land); font-weight: 700; }

pre, code {
  font-family: var(--font-mono);
  font-size: 0.86rem;
}

pre {
  margin: 0;
  padding: 14px 14px 16px;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
  border-radius: 14px;
  background: var(--night-0);
  color: #e7eefc;
  border: 1px solid var(--line);
  line-height: 1.55;
}

.command {
  margin: 12px 0 18px;
}

.command .bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 6px;
}

.copy {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.copy:hover, .copy:focus-visible { color: var(--ink); }

.commands { list-style: none; padding: 0; }
.commands li {
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.commands code { color: var(--ink); }
.commands p { margin: 4px 0 0; color: var(--muted); font-size: 0.95rem; }

.quiet {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer {
  margin-top: 48px;
  color: var(--muted);
  font-size: 0.92rem;
}

:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .money th, .money td { padding: 8px 4px; font-size: 0.92rem; }
}
