/* Phantom Fortified: its own look. Deep navy, gold, emerald. System fonts only, no external requests. */
:root {
  --bg: #050b14;
  --bg2: #0a1526;
  --panel: #0c1a2e;
  --line: #1c3050;
  --text: #e6edf5;
  --muted: #a3b3c6;
  --gold: #e3c15a;
  --gold-hi: #f6e7a6;
  --emerald: #2be3a6;
  --emerald-dim: #0f7f5c;
  --warn: #ffcf6b;
  --radius: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(1100px 520px at 70% -8%, rgba(43, 227, 166, 0.10), transparent 60%), var(--bg);
  color: var(--text);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold-hi); text-underline-offset: 3px; }
a:hover { color: #fff; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--emerald); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

header.site { border-bottom: 1px solid var(--line); background: rgba(5, 11, 20, 0.85); position: sticky; top: 0; backdrop-filter: blur(8px); z-index: 5; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand img { width: 34px; height: 38px; display: block; }
.brand span { font-weight: 700; letter-spacing: 0.22em; font-size: 14px; text-transform: uppercase; }
.brand small { display: block; letter-spacing: 0.16em; font-size: 10px; color: var(--gold); font-weight: 600; margin-top: 1px; }
nav.main { display: flex; gap: 6px; flex-wrap: wrap; }
nav.main a { text-decoration: none; color: var(--muted); padding: 8px 12px; border-radius: 10px; font-size: 15px; }
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--text); background: var(--panel); }

.hero { padding: 76px 0 54px; }
.eyebrow { color: var(--emerald); letter-spacing: 0.2em; font-size: 12px; text-transform: uppercase; font-weight: 700; margin: 0 0 14px; }
h1 { font-size: clamp(34px, 6vw, 58px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -0.02em; }
h1 em { font-style: normal; background: linear-gradient(90deg, var(--gold-hi), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-size: clamp(24px, 3.4vw, 32px); margin: 0 0 12px; letter-spacing: -0.01em; }
h3 { font-size: 19px; margin: 0 0 8px; }
.lead { font-size: 20px; color: #cdd9e6; max-width: 46em; margin: 0 0 26px; }
.sub { color: var(--muted); max-width: 46em; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; text-decoration: none; font-weight: 700; padding: 13px 22px; border-radius: 12px; border: 1px solid var(--gold); color: #1a1300; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); }
.btn:hover { color: #000; filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--gold-hi); }
.btn.ghost:hover { background: rgba(227, 193, 90, 0.10); color: #fff; }

section.block { padding: 44px 0; border-top: 1px solid var(--line); }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.card { background: linear-gradient(180deg, var(--panel), var(--bg2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { color: var(--gold-hi); }
.card p { margin: 0; color: #c3d0df; }
.card .num { color: var(--emerald); font-weight: 800; letter-spacing: 0.1em; font-size: 12px; display: block; margin-bottom: 8px; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr; } }

.status { border: 1px solid #5a4a14; background: linear-gradient(180deg, rgba(227, 193, 90, 0.10), rgba(227, 193, 90, 0.04)); border-radius: var(--radius); padding: 18px 22px; margin: 0 0 8px; }
.status strong { color: var(--warn); }
.status p { margin: 0; }

table.stage { width: 100%; border-collapse: collapse; margin: 6px 0 0; }
table.stage th, table.stage td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.stage th { color: var(--muted); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.pill.ok { background: rgba(43, 227, 166, 0.14); color: var(--emerald); border: 1px solid rgba(43, 227, 166, 0.4); }
.pill.dev { background: rgba(227, 193, 90, 0.12); color: var(--gold-hi); border: 1px solid rgba(227, 193, 90, 0.4); }
.pill.no { background: rgba(163, 179, 198, 0.10); color: var(--muted); border: 1px solid rgba(163, 179, 198, 0.3); }

ol.steps { list-style: none; counter-reset: s; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; }
ol.steps li { counter-increment: s; position: relative; padding: 16px 18px 16px 62px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
ol.steps li::before { content: counter(s); position: absolute; left: 18px; top: 14px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #04120c; background: linear-gradient(180deg, #66f0c3, var(--emerald)); }
ol.steps li b { color: var(--gold-hi); }

.layers { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); margin-top: 16px; }
@media (max-width: 760px) { .layers { grid-template-columns: 1fr; } }
.note { color: var(--muted); font-size: 15px; }
ul.clean { padding-left: 20px; margin: 8px 0 0; }
ul.clean li { margin: 6px 0; }
.wrap.prose > * { max-width: 46em; }
.prose h2 { margin-top: 34px; }
.callout { border-left: 4px solid var(--emerald); background: var(--panel); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; margin: 18px 0; }

footer.site { border-top: 1px solid var(--line); margin-top: 40px; padding: 30px 0 46px; color: var(--muted); font-size: 15px; }
footer.site .cols { display: flex; gap: 28px; flex-wrap: wrap; justify-content: space-between; }
footer.site p { margin: 0 0 8px; max-width: 34em; }
footer.site nav a { margin-right: 16px; }
