:root{
  --bg:#06080f;--bg-card:#0d1117;--bg-card-hover:#111820;
  --border:#1b2332;--border-hover:#2d3a4f;
  --text:#e2e8f0;--text-dim:#64748b;--text-muted:#475569;
  --accent:#3b82f6;--accent2:#8b5cf6;
  --green:#22c55e;--cyan:#06b6d4;--yellow:#eab308;--red:#ef4444;
  --radius:12px;--radius-sm:8px;
  --font:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --mono:'SFMono-Regular',Consolas,'Liberation Mono',ui-monospace,monospace;
}
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:var(--font);background:var(--bg);color:var(--text);min-height:100vh;overflow-x:hidden}
a{color:var(--accent);text-decoration:none;transition:color .2s}
a:hover{color:var(--accent2)}
code{font-family:var(--mono);font-size:.85em;background:#1e293b;padding:.15em .4em;border-radius:4px}

/* Grain overlay */
body::before{content:'';position:fixed;inset:0;pointer-events:none;z-index:9999;
  opacity:.03;background:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}

/* Glow orbs */
.glow-orb{position:fixed;border-radius:50%;filter:blur(120px);pointer-events:none;z-index:0}
.glow-orb.blue{width:500px;height:500px;background:rgba(59,130,246,.07);top:-150px;left:-150px}
.glow-orb.purple{width:400px;height:400px;background:rgba(139,92,246,.06);bottom:-50px;right:-100px}

/* ─── Layout ─── */
.wrapper{position:relative;z-index:1;max-width:800px;margin:0 auto;padding:2rem 1.5rem}

/* ─── Hero ─── */
.hero{text-align:center;margin-bottom:4rem;padding:2rem 0}
.hero-eyebrow{font-family:var(--mono);font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);margin-bottom:1rem;opacity:.8}
.hero h1{font-size:3.2rem;font-weight:700;letter-spacing:-.04em;line-height:1.1;
  background:linear-gradient(135deg,#60a5fa 0%,#a78bfa 50%,#60a5fa 100%);
  background-size:200% auto;-webkit-background-clip:text;-webkit-text-fill-color:transparent;
  animation:shimmer 5s ease infinite;margin-bottom:1.25rem}
@keyframes shimmer{0%,100%{background-position:0% center}50%{background-position:200% center}}
.hero-sub{color:var(--text-dim);font-size:1.15rem;line-height:1.65;max-width:560px;margin:0 auto}

/* ─── Table of contents ─── */
.toc{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem 1.5rem;margin-bottom:3rem}
.toc-title{font-size:.75rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--text-dim);margin-bottom:.75rem}
.toc ol{padding-left:1.25rem;color:var(--text-dim);font-size:.85rem;line-height:2}
.toc a{color:var(--text-dim);transition:color .2s}
.toc a:hover{color:var(--accent)}

/* ─── Sections ─── */
section{margin-bottom:4rem}
section h2{font-size:1.6rem;font-weight:700;letter-spacing:-.025em;margin-bottom:1.5rem;
  padding-bottom:.75rem;border-bottom:1px solid var(--border);color:var(--text)}
.section-num{font-family:var(--mono);font-size:.75rem;color:var(--accent);display:block;margin-bottom:.25rem;letter-spacing:.08em}
section p{color:var(--text-dim);line-height:1.75;margin-bottom:1.1rem;font-size:.97rem}
section p:last-child{margin-bottom:0}

/* ─── Blockquote ─── */
blockquote{border-left:3px solid var(--accent);padding:.75rem 1.25rem;margin:1.5rem 0;background:rgba(59,130,246,.04);border-radius:0 var(--radius-sm) var(--radius-sm) 0}
blockquote p{color:var(--text);font-size:1rem;font-style:italic;margin-bottom:0}

/* ─── Principle Cards ─── */
.principles-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.25rem;margin-top:1.5rem}
.principle-card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem;transition:border-color .2s}
.principle-card:hover{border-color:var(--border-hover)}
.principle-card h3{font-size:1rem;font-weight:700;color:var(--text);margin-bottom:.6rem;display:flex;align-items:center;gap:.5rem}
.principle-card h3::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--accent);flex-shrink:0}
.principle-card p{color:var(--text-dim);font-size:.87rem;line-height:1.65;margin-bottom:0}

/* ─── Signals Table ─── */
.signals-grid{display:flex;flex-direction:column;gap:1rem;margin-top:1.5rem}
.signal-row{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem 1.5rem;display:grid;grid-template-columns:180px 1fr;gap:1rem;align-items:start;transition:border-color .2s}
.signal-row:hover{border-color:var(--border-hover)}
.signal-meta{display:flex;flex-direction:column;gap:.35rem}
.signal-name{font-weight:700;font-size:.95rem;color:var(--text)}
.signal-pts{font-family:var(--mono);font-size:.75rem;padding:.2rem .5rem;border-radius:20px;display:inline-block;width:fit-content}
.signal-pts.high{color:var(--green);background:rgba(34,197,94,.1);border:1px solid rgba(34,197,94,.2)}
.signal-pts.med{color:var(--yellow);background:rgba(234,179,8,.1);border:1px solid rgba(234,179,8,.2)}
.signal-pts.low{color:var(--cyan);background:rgba(6,182,212,.1);border:1px solid rgba(6,182,212,.2)}
.signal-desc{color:var(--text-dim);font-size:.87rem;line-height:1.65}

/* ─── Audience List ─── */
.audience-list{list-style:none;display:flex;flex-direction:column;gap:.85rem;margin-top:1rem}
.audience-list li{position:relative;padding-left:1.35rem;color:var(--text-dim);font-size:.95rem;line-height:1.65}
.audience-list li::before{content:'→';position:absolute;left:0;top:.05em;color:var(--accent);font-family:var(--mono)}

/* ─── Commitments ─── */
.commitments{display:flex;flex-direction:column;gap:1rem;margin-top:1rem}
.commitment{background:var(--bg-card);border:1px solid var(--border);border-left:3px solid var(--green);border-radius:0 var(--radius) var(--radius) 0;padding:1.1rem 1.25rem}
.commitment strong{color:var(--text);font-size:.95rem;display:block;margin-bottom:.35rem}
.commitment p{color:var(--text-dim);font-size:.87rem;line-height:1.65;margin-bottom:0}

/* ─── Bottom Line ─── */
.bottom-line{background:linear-gradient(135deg,rgba(59,130,246,.06),rgba(139,92,246,.06));border:1px solid var(--border);border-radius:var(--radius);padding:2.5rem 2rem;text-align:center;margin-bottom:3rem}
.bottom-line p{color:var(--text-dim);line-height:1.75;margin-bottom:1rem;font-size:.97rem;max-width:600px;margin-inline:auto}
.bottom-line p:last-of-type{margin-bottom:0}
.bottom-line .conclusion{font-size:1.05rem;color:var(--text);font-style:italic;margin-top:1.5rem}

@media(max-width:600px){
  .wrapper{padding:1.25rem 1rem}
  .hero h1{font-size:2.2rem}
  .hero-sub{font-size:1rem}
  .principles-grid{grid-template-columns:1fr}
  .signal-row{grid-template-columns:1fr;gap:.5rem}
  section h2{font-size:1.3rem}
  .bottom-line{padding:1.5rem 1rem}
}
