:root {
  --bg: #0b1220;
  --panel: #101a2e;
  --panel-2: #162239;
  --text: #eef4ff;
  --muted: #aab7cf;
  --line: rgba(255,255,255,.12);
  --brand: #ffdf00;
  --brand-2: #2b73ff;
  --danger: #ff5964;
  --ok: #2ee59d;
  --shadow: 0 18px 60px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at 20% 10%, rgba(43,115,255,.22), transparent 30%),
              radial-gradient(circle at 80% 0%, rgba(255,223,0,.13), transparent 28%),
              var(--bg);
  color: var(--text);
}
a { color: inherit; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--brand);
  color: #07101f;
  padding: .6rem .8rem;
  z-index: 9;
}
.skip-link:focus { left: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 3vw, 2rem);
  border-bottom: 1px solid var(--line);
  background: rgba(11, 18, 32, .88);
  backdrop-filter: blur(18px);
}
.brand { display: flex; gap: .9rem; align-items: center; }
.logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #07101f;
  background: linear-gradient(135deg, var(--brand), #fff7a9);
  box-shadow: var(--shadow);
}
.eyebrow {
  margin: 0 0 .25rem;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .72rem;
}
h1, h2, h3, h4, p { margin-top: 0; }
h1 { margin: 0; font-size: 1.35rem; }
h2 { font-size: clamp(2rem, 4vw, 4rem); line-height: .98; letter-spacing: -.05em; }
h3 { font-size: 1.25rem; }
h4 { margin: 1.1rem 0 .45rem; color: #ffffff; }
.top-nav { display: flex; gap: .7rem; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.top-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  font-size: .92rem;
}
.top-nav a:hover { color: var(--text); }

.btn {
  border: 0;
  border-radius: 999px;
  padding: .9rem 1.15rem;
  font-weight: 900;
  color: #07101f;
  background: var(--brand);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(255,223,0,.15);
}
.btn.ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn.small {
  padding: .55rem .8rem;
  font-size: .85rem;
}

.hero {
  min-height: 62vh;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  gap: 1.4rem;
  padding: clamp(2rem, 6vw, 6rem) clamp(1rem, 3vw, 2rem);
  align-items: stretch;
}
.hero-copy, .alert-card, .section, .post-card, .cadence-grid article, .priority-grid article, .action-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  box-shadow: var(--shadow);
}
.hero-copy {
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 32px;
}
.lead {
  max-width: 850px;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.65;
}
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.alert-card {
  border-radius: 32px;
  padding: 1.35rem;
  border-color: rgba(255,89,100,.55);
  background: linear-gradient(180deg, rgba(255,89,100,.18), rgba(255,255,255,.045));
}
.alert-card h3 { color: #fff; }
.alert-card ul, .post-card ul, .cadence-grid ul { padding-left: 1.15rem; color: var(--muted); line-height: 1.5; }
.alert-card li::marker { color: var(--danger); }

.section {
  margin: 1.25rem clamp(1rem, 3vw, 2rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 28px;
}
.section-heading { max-width: 920px; margin-bottom: 1.2rem; }
.section-heading h2 { margin-bottom: .8rem; }
.section-heading p { color: var(--muted); }

.priority-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: .8rem;
}
.priority-grid article {
  border-radius: 22px;
  padding: 1rem;
}
.priority-grid span {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #07101f;
  font-weight: 1000;
  margin-bottom: .8rem;
}
.priority-grid p { color: var(--muted); font-size: .93rem; }

.search-panel {
  display: grid;
  gap: .45rem;
  margin: 1rem 0;
}
.search-panel label { font-weight: 900; color: var(--brand); }
.search-panel input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  background: rgba(0,0,0,.18);
  color: var(--text);
  font: inherit;
  outline: none;
}
.search-panel input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(255,223,0,.12);
}
.filter-row { display: flex; gap: .55rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.filter-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: var(--muted);
  padding: .55rem .8rem;
  font-weight: 800;
  cursor: pointer;
}
.filter-chip.active {
  background: var(--brand);
  color: #07101f;
  border-color: var(--brand);
}
.actions-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}
.action-card {
  border-radius: 24px;
  padding: 1rem;
}
.action-card .tag {
  display: inline-flex;
  background: rgba(43,115,255,.2);
  border: 1px solid rgba(43,115,255,.35);
  color: #bcd0ff;
  border-radius: 999px;
  padding: .25rem .55rem;
  font-size: .78rem;
  font-weight: 900;
  margin-bottom: .55rem;
}
.action-card ol {
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.55;
}
.action-card strong { color: #fff; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.post-card {
  border-radius: 28px;
  padding: 1.2rem;
}
.card-top {
  border-bottom: 1px solid var(--line);
  margin-bottom: .9rem;
  padding-bottom: .7rem;
}
.card-top h3 { margin: 0; font-size: 1.45rem; }

.cadence-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.cadence-grid article {
  border-radius: 22px;
  padding: 1rem;
}
.caution {
  border-color: rgba(255,223,0,.35);
}
.caution p { color: var(--muted); font-size: 1.04rem; }

.site-footer {
  padding: 2rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; }
  .priority-grid, .cadence-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .actions-list, .cards-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .site-header { position: static; align-items: flex-start; flex-direction: column; }
  .top-nav { justify-content: flex-start; }
  .priority-grid, .cadence-grid { grid-template-columns: 1fr; }
}

@media print {
  body {
    background: white !important;
    color: #111 !important;
  }
  .site-header, .hero, #command, #situations, #cadence, .caution, .site-footer {
    display: none !important;
  }
  .section {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: white !important;
  }
  .section-heading {
    display: block;
    margin: 0 0 .5rem;
  }
  .section-heading h2, .section-heading p, .section-heading .eyebrow {
    color: #111 !important;
  }
  .cards-grid {
    display: block;
  }
  .post-card {
    page-break-after: always;
    border: 2px solid #111 !important;
    background: white !important;
    color: #111 !important;
    box-shadow: none !important;
    border-radius: 0;
    padding: .45in;
  }
  .post-card ul, .post-card p { color: #111 !important; }
  .eyebrow { color: #111 !important; }
}

.home-brand {
  color: inherit;
  text-decoration: none;
}
.home-brand:hover .logo {
  transform: translateY(-1px);
}
.logo {
  transition: transform .18s ease;
}

