:root {
  color-scheme: dark;
  --bg: #07101f;
  --panel: #0d1b2d;
  --panel-2: #10243a;
  --line: rgba(143, 181, 218, .2);
  --ink: #eef7ff;
  --muted: #a9bdd1;
  --cyan: #65dfea;
  --violet: #a98cff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: radial-gradient(50rem 32rem at 80% 0, rgba(114,77,218,.2), transparent 65%), var(--bg); color: var(--ink); font: 16px/1.72 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }
.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.site-header { position: relative; border-bottom: 1px solid var(--line); background: rgba(7,16,31,.86); }
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.12rem; font-weight: 800; text-decoration: none; }
.brand img { filter: drop-shadow(0 8px 18px rgba(101,223,234,.18)); }
.nav-links { display: flex; gap: 26px; color: #c2d1df; }
.nav-links a { text-decoration: none; }
.nav-links a:hover, .card-links a:hover, .site-footer a:hover { color: var(--cyan); }
.hero { padding: 110px 0 100px; }
.eyebrow { margin: 0 0 18px; color: var(--cyan); font-size: .76rem; font-weight: 800; letter-spacing: .14em; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 900px; margin-bottom: 26px; font-size: clamp(3rem, 7vw, 5.6rem); line-height: .98; letter-spacing: -.06em; }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: -.045em; }
h3 { margin-bottom: 10px; font-size: 1.3rem; line-height: 1.3; }
.lead { max-width: 820px; color: #c0d0df; font-size: clamp(1.08rem, 2vw, 1.25rem); }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border-radius: 12px; padding: 0 19px; font-weight: 800; text-decoration: none; }
.primary { background: linear-gradient(110deg, var(--cyan), #87a7ff 58%, var(--violet)); color: #06111e; }
.secondary { border: 1px solid var(--line); background: rgba(255,255,255,.035); }
.section { padding: 96px 0; border-top: 1px solid var(--line); }
.section-heading { max-width: 780px; margin-bottom: 42px; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.project-card { min-height: 440px; padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, rgba(101,223,234,.08), rgba(169,140,255,.07)), var(--panel); }
.level-card { background: linear-gradient(145deg, rgba(169,140,255,.11), rgba(101,223,234,.04)), var(--panel); }
.project-number { color: var(--cyan); font-size: .78rem; font-weight: 800; letter-spacing: .12em; }
.project-card h3 { margin-top: 70px; font-size: 2rem; }
.project-card p { color: var(--muted); }
.boundary { padding: 16px; border-left: 3px solid var(--cyan); background: rgba(255,255,255,.025); }
.boundary strong { color: var(--ink); }
.card-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; }
.card-links a { color: #d7e8f5; font-weight: 700; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.principle-grid article { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.principle-grid p, .article-link em { color: var(--muted); }
.article-link { display: grid; grid-template-columns: 120px 1.4fr 1fr; gap: 24px; align-items: start; padding: 28px 0; border-top: 1px solid var(--line); text-decoration: none; }
.article-link:last-child { border-bottom: 1px solid var(--line); }
.article-link span { color: var(--cyan); font-size: .8rem; font-weight: 800; text-transform: uppercase; }
.article-link strong { font-size: 1.16rem; line-height: 1.45; }
.article-link em { font-style: normal; }
.article { width: min(820px, calc(100% - 40px)); padding: 90px 0 110px; }
.article-header { padding-bottom: 50px; border-bottom: 1px solid var(--line); }
.article-header h1 { font-size: clamp(2.8rem, 7vw, 4.8rem); }
.byline { margin-top: 26px; color: #7188a0; font-size: .9rem; }
.toc { display: grid; grid-template-columns: 1.5fr repeat(7, auto); gap: 14px; align-items: center; margin: 32px 0 10px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); font-size: .88rem; }
.toc a { color: var(--muted); }
.article section { padding: 48px 0; border-bottom: 1px solid var(--line); }
.article section p, .article section li { color: #b7c9d9; }
.article section p, .article section li { font-size: 1.04rem; }
.article section a:not(.button) { color: var(--cyan); }
.callout, .checklist { margin: 28px 0 0; padding: 22px 24px; border: 1px solid rgba(101,223,234,.28); border-radius: 16px; background: rgba(101,223,234,.06); }
.callout p { margin-bottom: 0; }
.checklist ul { margin-bottom: 0; padding-left: 22px; }
.checklist li + li { margin-top: 8px; }
.next-reading { border-bottom: 0 !important; }
.compact-article { max-width: 760px; }
.site-footer { border-top: 1px solid var(--line); background: #050c16; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 52px 0 36px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 9px; }
.footer-grid p, .footer-grid a, .footer-note { color: #8197ad; }
.footer-grid p { margin: 0; }
.footer-note { padding: 22px 0; border-top: 1px solid var(--line); font-size: .85rem; }
@media (max-width: 820px) { .project-grid, .principle-grid, .footer-grid { grid-template-columns: 1fr; }.article-link { grid-template-columns: 1fr; gap: 7px; }.toc { grid-template-columns: 1fr 1fr; }.toc strong { grid-column: 1 / -1; } }
@media (max-width: 620px) { .shell, .article { width: min(100% - 28px, 1120px); }.nav { align-items: flex-start; padding: 18px 0; }.nav-links { gap: 10px; align-items: flex-end; flex-direction: column; font-size: .9rem; }.hero { padding: 75px 0; }.hero-actions { flex-direction: column; }.button { width: 100%; }.section { padding: 70px 0; }.project-card { min-height: 0; padding: 25px; }.project-card h3 { margin-top: 35px; }.article { padding-top: 65px; }.toc { grid-template-columns: 1fr; }.toc strong { grid-column: auto; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
