/* The Preppers – minimal, fast, no-dependency styling */

:root{
  --bg: #0b0f17;
  --panel: #0f1724;
  --panel2: #0d1420;
  --text: #e9eef7;
  --muted: #a9b5c7;
  --line: rgba(255,255,255,.10);
  --line2: rgba(255,255,255,.16);
  --good: #34d399;
  --bad: #fb7185;
  --warn: #fbbf24;
  --link: #93c5fd;
  --shadow: 0 12px 40px rgba(0,0,0,.45);
  --radius: 16px;
  --radius2: 12px;
  --max: 1100px;
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1200px 800px at 20% -10%, rgba(147,197,253,.22), transparent 55%),
              radial-gradient(900px 700px at 90% 10%, rgba(52,211,153,.16), transparent 60%),
              var(--bg);
  color: var(--text);
  line-height:1.55;
}

a{ color: var(--link); text-decoration:none; }
a:hover{ text-decoration:underline; }

.container{ width:min(var(--max), calc(100% - 32px)); margin:0 auto; }

.skip-link{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:16px; top:16px; width:auto; height:auto; padding:10px 12px;
  background: rgba(0,0,0,.8); border:1px solid var(--line2); border-radius:10px;
  z-index:9999;
}

header.site-header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(11,15,23,.72);
  border-bottom: 1px solid var(--line);
}

.navbar{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px;
  padding: 12px 0;
}

.brand{
  display:flex; align-items:center; gap:12px; min-width: 240px;
}
.brand-badge{
  width:40px; height:40px; border-radius:12px;
  background: linear-gradient(135deg, rgba(147,197,253,.9), rgba(52,211,153,.7));
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  display:grid; place-items:center;
  color:#051018; font-weight:900;
}
.brand h1{
  font-size: 16px; margin:0; letter-spacing:.2px;
}
.brand .sub{ font-size:12px; color: var(--muted); margin-top:2px; }

.nav-links{
  display:flex; flex-wrap:wrap; gap:10px 14px;
  align-items:center; justify-content:flex-end;
}
.nav-links a{
  color: var(--text);
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
}
.nav-links a:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.08);
  text-decoration:none;
}
.nav-links a.active{
  background: rgba(147,197,253,.12);
  border-color: rgba(147,197,253,.18);
}

.hero{
  padding: 36px 0 18px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 18px;
  align-items:stretch;
}
.hero-card{
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  box-shadow: var(--shadow);
  overflow:hidden;
}
.hero-main{
  padding: 26px;
}
.kicker{
  display:inline-flex; align-items:center; gap:10px;
  font-size:12px;
  padding: 6px 10px;
  border:1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  color: var(--muted);
}
.kicker .dot{
  width:8px; height:8px; border-radius:99px;
  background: var(--good);
  box-shadow: 0 0 0 6px rgba(52,211,153,.12);
}
.hero h2{
  font-size: 34px;
  line-height: 1.1;
  margin: 14px 0 10px;
  letter-spacing: .2px;
}
.hero p{
  color: var(--muted);
  margin: 0 0 18px;
  max-width: 60ch;
}
.cta-row{
  display:flex; flex-wrap:wrap; gap:10px;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  padding: 10px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-size: 13px;
  cursor:pointer;
  user-select:none;
}
.btn:hover{ background: rgba(255,255,255,.09); }
.btn.primary{
  background: rgba(147,197,253,.18);
  border-color: rgba(147,197,253,.24);
}
.btn.primary:hover{ background: rgba(147,197,253,.24); }
.btn.danger{
  background: rgba(251,113,133,.12);
  border-color: rgba(251,113,133,.22);
}
.btn.danger:hover{ background: rgba(251,113,133,.18); }
.btn.small{ padding: 7px 10px; border-radius: 12px; font-size: 12px; }

.hero-side{
  padding: 18px;
  display:flex; flex-direction:column; gap:12px;
}
.statbox{
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0,0,0,.18);
  padding: 14px;
}
.statbox h3{
  margin:0 0 4px;
  font-size: 13px;
  letter-spacing: .2px;
  color: var(--muted);
  font-weight: 600;
}
.statbox .big{
  font-size: 20px;
  font-weight: 800;
}
.statbox .sub{
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.grid{
  display:grid;
  gap:14px;
}
.grid.cols-3{ grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid.cols-2{ grid-template-columns: repeat(2, minmax(0,1fr)); }

.section{
  padding: 18px 0;
}
.section h3{
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: .2px;
}
.section .hint{
  color: var(--muted);
  font-size: 13px;
  margin-top: -6px;
  margin-bottom: 12px;
}

.card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card .card-h{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 14px 10px;
  border-bottom:1px solid var(--line);
  gap:10px;
}
.card .card-h h4{ margin:0; font-size: 14px; letter-spacing:.2px; }
.card .card-h .meta{ color: var(--muted); font-size: 12px; }
.card .card-b{ padding: 14px; }

.pills{
  display:flex; flex-wrap:wrap; gap:8px;
}
.pill{
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.15);
  color: var(--muted);
}

.table-wrap{
  overflow:auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0,0,0,.18);
}
table{
  border-collapse: collapse;
  width: 100%;
  min-width: 720px;
}
th, td{
  padding: 10px 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  text-align:left;
  font-size: 13px;
}
th{
  color: var(--muted);
  font-size: 12px;
  letter-spacing:.35px;
  text-transform: uppercase;
  background: rgba(255,255,255,.02);
  position: sticky;
  top: 0;
}
tr:hover td{ background: rgba(255,255,255,.03); }
td.num{ text-align:right; font-variant-numeric: tabular-nums; }
td.center{ text-align:center; }
.badge{
  display:inline-flex; align-items:center; gap:6px;
  padding: 4px 8px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.15);
  font-size: 12px;
  color: var(--muted);
}
.badge.good{ border-color: rgba(52,211,153,.28); background: rgba(52,211,153,.10); color: #bff7dc; }
.badge.bad{ border-color: rgba(251,113,133,.28); background: rgba(251,113,133,.10); color: #ffd1d9; }
.badge.warn{ border-color: rgba(251,191,36,.28); background: rgba(251,191,36,.10); color: #ffefc0; }

.accordion{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  background: rgba(0,0,0,.16);
}
.acc-item + .acc-item{ border-top: 1px solid rgba(255,255,255,.08); }
.acc-btn{
  width:100%;
  padding: 14px;
  background: transparent;
  border:none;
  color: var(--text);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  text-align:left;
}
.acc-left{
  display:flex; flex-direction:column; gap:4px;
}
.acc-title{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
}
.acc-title strong{ font-size: 14px; }
.acc-title .mini{
  color: var(--muted); font-size: 12px;
}
.acc-btn .chev{
  width: 10px; height: 10px;
  border-right: 2px solid rgba(255,255,255,.65);
  border-bottom: 2px solid rgba(255,255,255,.65);
  transform: rotate(45deg);
  transition: transform .18s ease;
  margin-right: 2px;
}
.acc-item.open .acc-btn .chev{ transform: rotate(-135deg); }
.acc-panel{
  display:none;
  padding: 0 14px 14px;
}
.acc-item.open .acc-panel{ display:block; }

.owner-card{
  display:flex;
  gap:14px;
  align-items:flex-start;
}
.avatar{
  width: 64px; height: 64px;
  border-radius: 18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  flex: 0 0 auto;
  display:grid;
  place-items:center;
  color: rgba(255,255,255,.55);
  font-weight: 800;
}
.avatar img{ width:100%; height:100%; object-fit:cover; display:block; }
.owner-card h4{ margin: 0 0 6px; }
.owner-card p{ margin:0; color: var(--muted); font-size: 13px; }
.owner-meta{
  display:flex; flex-wrap:wrap; gap:8px;
  margin-top: 8px;
}

.media-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.media{
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow:hidden;
  background: rgba(0,0,0,.18);
}
.media figure{ margin:0; }
.media img, .media video{
  width:100%;
  height: 210px;
  object-fit: cover;
  display:block;
  background: rgba(255,255,255,.04);
}
.media figcaption{
  padding: 10px;
  color: var(--muted);
  font-size: 12px;
  border-top:1px solid rgba(255,255,255,.08);
}

.notice{
  border:1px solid rgba(251,191,36,.25);
  background: rgba(251,191,36,.08);
  padding: 10px 12px;
  border-radius: 14px;
  color: #ffefc0;
  font-size: 13px;
}

footer{
  padding: 26px 0 32px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 18px;
}
.footer-grid{
  display:flex; flex-wrap:wrap;
  justify-content: space-between;
  gap: 10px 18px;
  align-items:center;
}
.footer-grid .small{ font-size: 12px; color: var(--muted); }

@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .grid.cols-3{ grid-template-columns: 1fr; }
  .media-grid{ grid-template-columns: 1fr; }
  table{ min-width: 640px; }
  .brand{ min-width: unset; }
}


/* Added April 2026: constitution + richer prose blocks */
code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  padding: 1px 5px;
  border-radius: 8px;
}
.prose{
  color: var(--text);
  font-size: 14px;
}
.prose > *:first-child{ margin-top:0; }
.prose > *:last-child{ margin-bottom:0; }
.prose p{
  margin: 0 0 12px;
  color: var(--text);
}
.prose .muted{
  color: var(--muted);
}
.prose h5{
  margin: 16px 0 8px;
  font-size: 14px;
  letter-spacing:.2px;
}
.prose ul, .prose ol{
  margin: 8px 0 12px 20px;
  color: var(--text);
}
.prose li{ margin: 5px 0; }
.toc-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:12px;
}
.toc-card{
  display:block;
  border:1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  padding: 14px;
  color: var(--text);
  box-shadow: var(--shadow);
}
.toc-card:hover{
  text-decoration:none;
  background: rgba(255,255,255,.05);
}
.toc-card .eyebrow{
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing:.4px;
  margin-bottom: 5px;
}
.toc-card strong{
  display:block;
  line-height:1.35;
}
.article-card{
  scroll-margin-top: 90px;
}
.article-card .article-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 10px;
}
.article-card .article-head .meta{
  color: var(--muted);
  font-size: 12px;
}
.highlight-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:12px;
}
.highlight-list{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.quote-block{
  border-left: 4px solid rgba(147,197,253,.5);
  background: rgba(147,197,253,.08);
  padding: 12px 14px;
  border-radius: 12px;
  color: #ddecff;
}
.stacked-cards{
  display:grid;
  gap:14px;
}
@media (max-width: 980px){
  .toc-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .highlight-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 640px){
  .toc-grid{ grid-template-columns: 1fr; }
}



/* Production theme override */
:root{
  --bg: #0f090d;
  --panel: #170f13;
  --panel2: #130c10;
  --text: #f7eef2;
  --muted: #cfbcc5;
  --line: rgba(255,255,255,.10);
  --line2: rgba(255,255,255,.18);
  --good: #7dd3a7;
  --bad: #fda4af;
  --warn: #f3cf74;
  --link: #ffd7e2;
  --shadow: 0 16px 42px rgba(0,0,0,.42);
  --accent: #8a2543;
  --accent2: #c4627d;
  --max: 1180px;
}

body{
  background:
    radial-gradient(1100px 680px at 15% -10%, rgba(196,98,125,.22), transparent 58%),
    radial-gradient(860px 620px at 90% 10%, rgba(243,207,116,.12), transparent 60%),
    var(--bg);
}

header.site-header{
  background: rgba(15,9,13,.82);
}

a{ color: var(--link); }

.brand{ min-width:auto; }
.brand-badge{
  width: 56px;
  height: 56px;
  border-radius: 999px;
  padding: 4px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
  overflow: hidden;
}
.brand-badge img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display:block;
}

.nav-links a.active{
  background: rgba(196,98,125,.14);
  border-color: rgba(196,98,125,.24);
}

.btn.primary{
  background: linear-gradient(135deg, rgba(138,37,67,.9), rgba(196,98,125,.72));
  border-color: rgba(255,255,255,.12);
}
.btn.primary:hover{
  background: linear-gradient(135deg, rgba(138,37,67,1), rgba(196,98,125,.84));
}

.hero h2{
  font-size: clamp(30px, 4vw, 42px);
}
.hero p{
  max-width: 66ch;
}

.hero-seal{
  display:grid;
  place-items:center;
  min-height: 100%;
  padding: 24px;
}
.hero-seal-wrap{
  width: min(320px, 100%);
  aspect-ratio: 1;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: radial-gradient(circle at center, rgba(255,255,255,.08), rgba(255,255,255,.02));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), var(--shadow);
  padding: 24px;
}
.hero-seal-wrap img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.24));
}

.page-intro{
  color: var(--muted);
  max-width: 72ch;
  margin: -2px 0 16px;
}

.grid.cols-4{ grid-template-columns: repeat(4, minmax(0,1fr)); }
.grid.cols-5{ grid-template-columns: repeat(5, minmax(0,1fr)); }

.compact-card .card-b{
  padding-top: 12px;
}

.metric-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
}
.metric{
  border:1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  padding: 14px;
}
.metric .label{
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}
.metric .value{
  font-size: 24px;
  font-weight: 800;
}
.metric .sub{
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}

.owner-photo-lg{
  width: 88px;
  height: 88px;
  border-radius: 22px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  flex: 0 0 auto;
}
.owner-photo-lg img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.owner-summary{
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
}
.mini-table{
  width:100%;
  min-width: 0;
}
.mini-table th, .mini-table td{
  font-size: 12px;
  padding: 8px 8px;
}
.team-history{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.history-pill{
  font-size:12px;
  padding: 6px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.14);
  color: var(--muted);
}
.kpi-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:10px;
}
.kpi-row .badge strong{
  color: inherit;
}

.rank-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(196,98,125,.14);
  border: 1px solid rgba(196,98,125,.25);
  font-weight:800;
}

.feature-list{
  display:grid;
  gap:12px;
}
.feature-item{
  border-left: 3px solid rgba(196,98,125,.55);
  padding-left: 12px;
}
.feature-item strong{
  display:block;
  margin-bottom: 2px;
}

.ribbon{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.ribbon .pill{
  background: rgba(196,98,125,.12);
  color: var(--text);
  border-color: rgba(196,98,125,.18);
}

.matrix-wrap{
  overflow:auto;
  border:1px solid var(--line);
  border-radius: 14px;
  background: rgba(0,0,0,.18);
}
.matrix-wrap table{
  min-width: 900px;
}
.matrix-wrap td.best{
  color: #c6f6dc;
  font-weight: 700;
}
.matrix-wrap td.sacko{
  color: #ffd1d9;
  font-weight: 700;
}

.hero-note{
  margin-top: 14px;
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}

footer{
  margin-top: 26px;
}
.footer-grid{
  align-items:flex-start;
}
.footer-mark{
  display:flex;
  align-items:center;
  gap:12px;
}
.footer-mark img{
  width:44px;
  height:44px;
  border-radius:999px;
  background:#fff;
  padding:3px;
  border:1px solid rgba(255,255,255,.12);
}

@media (max-width: 1100px){
  .grid.cols-4{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid.cols-5{ grid-template-columns: repeat(3, minmax(0,1fr)); }
  .metric-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 980px){
  .metric-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 720px){
  .grid.cols-4, .grid.cols-5{ grid-template-columns: 1fr; }
  .owner-card{ flex-direction: column; }
  .owner-photo-lg{ width: 100%; max-width: 220px; height: auto; aspect-ratio:1; }
}
