:root {
  color-scheme: dark;
  /* neutral grays, not near-black: softer contrast is easier on the eyes for long lists */
  --bg: #202225; --panel: #282b2f; --card: #33373c; --line: #484d54; --fg: #f1f3f5; --muted: #b3bac2;
  --accent: #2dd4bf; --accent-fg: #04211d; --strong: #3ecf8e; --possible: #ffb020; --error: #ff6b6b;
  /* what the colours mean: open, pre-release, closing soon, new */
  --open: #3ecf8e; --prerel: #5aa9ff; --urgent: #ff5d5d; --soon: #ffb020; --fresh: #c08bff;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.55 "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; }
a { color: var(--accent); }
header.site, footer.site { border-color: var(--line); border-style: solid; border-width: 0 0 1px 0; }
footer.site { border-width: 1px 0 0 0; margin-top: 48px; color: var(--muted); font-size: 14px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
header.site .wrap, footer.site .wrap { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; padding-top: 12px; padding-bottom: 12px; }
header.site { background: var(--panel); }
header.site a { text-decoration: none; }
header.site a:hover { text-decoration: underline; }
header.site .brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: .01em;
  color: var(--fg); margin-right: auto; }
header.site .brand img { display: block; height: 44px; width: auto; }
header.site form { display: inline; }
main { padding: 24px 0; }
h1 { font-size: 30px; line-height: 1.2; margin: 8px 0 12px; }
h2 { font-size: 21px; margin: 28px 0 8px; }
h3 { font-size: 17px; margin: 20px 0 6px; }
.lead { font-size: 19px; color: var(--muted); max-width: 680px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.btn, button { display: inline-block; background: var(--accent); color: var(--accent-fg); border: 0; border-radius: 6px;
  padding: 9px 16px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn.secondary, button.secondary { background: transparent; color: var(--accent); border: 1px solid var(--line); }
button.link { background: none; color: var(--accent); padding: 0; font-weight: 400; text-decoration: underline; }
button.danger { background: transparent; color: var(--error); border: 1px solid var(--line); }
input[type=text], input[type=email], input[type=number], input[type=search], textarea {
  width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--card);
  color: var(--fg); font: inherit; }
textarea { min-height: 150px; font-family: Consolas, Menlo, monospace; font-size: 14px; }
label { display: block; font-weight: 600; margin: 16px 0 4px; }
.hint { color: var(--muted); font-size: 14px; margin: 2px 0 6px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }
.row > * { flex: 1 1 180px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 0 0 12px; }
.card.strong { border-left: 4px solid var(--strong); }
.card.possible { border-left: 4px solid var(--possible); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; border-radius: 4px; padding: 1px 6px; border: 1px solid var(--line); }
.tag.new { color: var(--error); }
.error { color: var(--error); font-weight: 600; }
.notice { border: 1px solid var(--possible); border-radius: 6px; padding: 8px 12px; margin: 12px 0; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-scroll { overflow-x: auto; }
.pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.pager { display: flex; gap: 12px; align-items: center; margin-top: 16px; }
code { font-family: Consolas, Menlo, monospace; font-size: 14px; background: var(--card); border: 1px solid var(--line);
  border-radius: 4px; padding: 1px 5px; }

/* /plugin */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 36px; align-items: center;
  padding: 20px 0 12px; }
.hero h1 { font-size: 38px; letter-spacing: -.015em; margin-top: 14px; }
.eyebrow, .pill { display: inline-block; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 4px 12px;
  border: 1px solid var(--line); }
.eyebrow { color: var(--accent); letter-spacing: .04em; text-transform: uppercase; }
.pill { color: var(--muted); font-weight: 600; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 20px 0 10px; }
.btn.big { padding: 12px 20px; border-radius: 8px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.grid .card { margin: 0; }
.card h3 { margin: 0 0 4px; }
.steps { list-style: none; padding: 0; counter-reset: step; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.steps li { counter-increment: step; position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: 8px; padding: 14px 16px 14px 56px; }
.steps li::before { content: counter(step); position: absolute; left: 14px; top: 13px; width: 30px; height: 30px;
  border-radius: 50%; background: var(--accent); color: var(--accent-fg); font-weight: 700; display: grid;
  place-items: center; }
.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 28px; margin: 8px 0; }
.checks li::before { content: "\2713"; position: absolute; left: 4px; color: var(--strong); font-weight: 700; }
.mock { margin: 0; }
.mock-window { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .35); font-size: 14px; }
.mock-bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px;
  border-bottom: 1px solid var(--line); }
.mock-badge { background: var(--accent); color: var(--accent-fg); border-radius: 999px; font-size: 12px;
  font-weight: 700; padding: 1px 8px; }
.mock-tabs { display: flex; gap: 18px; padding: 0 14px; border-bottom: 1px solid var(--line); color: var(--muted); }
.mock-tabs span { padding: 8px 0; }
.mock-tabs .on { color: var(--fg); font-weight: 600; box-shadow: inset 0 -2px 0 var(--accent); }
.mock-row { padding: 10px 14px; border-bottom: 1px solid var(--line); }
.mock-row:last-child { border-bottom: 0; }
.mock-row b, .mock-row .muted { display: block; }
.mock-row b { margin: 4px 0 1px; }
.mock-row .tag { margin-right: 4px; }
.tag.s { color: var(--strong); }
.tag.p { color: var(--possible); }
.mock figcaption { margin-top: 8px; text-align: center; }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 20px; }
  .hero h1 { font-size: 30px; }
}

/* ---- the colour-coded topic list ---- */
select { padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--card); color: var(--fg);
  font: inherit; }
h2.first { margin-top: 4px; font-size: 24px; }
.band { position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  background: radial-gradient(760px 380px at 100% 0%, rgba(45, 212, 191, .20), transparent 65%),
    repeating-radial-gradient(circle at 100% 0%, transparent 0 79px, rgba(45, 212, 191, .09) 79px 80px),
    linear-gradient(180deg, #1b2226 0%, var(--bg) 100%); }
.band-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center;
  padding-top: 48px; padding-bottom: 44px; }
.band h1 { font-size: 42px; line-height: 1.12; letter-spacing: -.025em; margin: 14px 0 12px; }
.band .lead { color: #c9d6da; }
.band .eyebrow { color: var(--accent); border-color: rgba(45, 212, 191, .45); background: rgba(45, 212, 191, .08); }
.on-band, .on-band a { color: #9fb1b8; }
.signup { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 10px; max-width: 520px; }
.signup input { flex: 1 1 230px; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--card); color: var(--fg); font: inherit; }
.signup input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.alertmock { margin: 0; }
.alertmock-mail { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(45, 212, 191, .35), 0 12px 30px -18px rgba(0, 0, 0, .8); font-size: 14px;
  transform: rotate(-1.2deg); }
.alertmock-head { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.alertmock-head .muted { margin-left: auto; font-size: 12px; }
.alertmock-head .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, .2); }
.alertmock-subject { padding: 12px 14px 8px; font-size: 16px; font-weight: 700; }
.alertmock-row { margin: 0 14px 8px; padding: 8px 10px; border-radius: 8px; background: var(--panel);
  border-left: 4px solid var(--strong); }
.alertmock-row.m-possible { border-left-color: var(--possible); }
.alertmock-row b, .alertmock-row span { display: block; }
.alertmock-row span { font-size: 12px; }
.alertmock-foot { padding: 4px 14px 12px; font-size: 12px; }
.alertmock figcaption { margin-top: 14px; text-align: center; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 16px 0; }
.tile { --c: var(--accent); display: block; background: var(--card); border: 1px solid var(--line);
  border-top: 3px solid var(--c); border-radius: 10px; padding: 12px 14px; color: var(--muted); text-decoration: none;
  font-size: 14px; }
.tile b { display: block; font-size: 30px; line-height: 1.15; color: var(--c); }
.tile:hover, .tile.on { border-color: var(--c); background: color-mix(in srgb, var(--c) 10%, var(--card)); }
.t-open { --c: var(--open); } .t-pre { --c: var(--prerel); } .t-urgent { --c: var(--urgent); } .t-new { --c: var(--fresh); }

.agbar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; gap: 2px; margin: 0 0 10px; }
.agbar span { background: hsl(var(--h) 70% 58%); min-width: 4px; }
.aglegend { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
a.chip.all { color: var(--fg); }
a.chip.all.on, a.chip.all:hover { border-color: var(--accent); color: var(--accent); }

.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .02em;
  border-radius: 999px; padding: 2px 10px; border: 1px solid var(--line); color: var(--muted); text-decoration: none;
  white-space: nowrap; }
.chip.agency { background: hsl(var(--h) 60% 20%); color: hsl(var(--h) 95% 84%); border-color: hsl(var(--h) 55% 42%); }
a.chip.agency:hover, .chip.agency.on { background: hsl(var(--h) 65% 32%); border-color: hsl(var(--h) 80% 70%); }
.chip.agency b { color: #fff; font-weight: 700; opacity: .85; }
.chip.itar { color: #ff9f6b; border-color: #a8532c; }
.chip.cmmc { color: #ffd166; border-color: #8a6d1f; }
.chip.cmmc-2 { color: #ff9f43; border-color: #9a5a17; }
.chip.cmmc-3 { color: #ff6b6b; border-color: #a13a3a; }
.chip.cmmc b { color: var(--fg); }
.chip.prog { color: #c8d0de; }
.state { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.st-open { color: var(--open); } .st-pre { color: var(--prerel); } .st-closed { color: var(--muted); }

.filters { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 0 0 16px; }
.filters-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filters-row input[type=search] { flex: 2 1 220px; width: auto; }
.filters-row select { flex: 1 1 140px; }
.filters .toggles { margin-top: 12px; }
.filters .label, .deadline .label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); }
.toggle { display: inline-block; margin: 0; font-weight: 600; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle span { display: inline-block; font-size: 13px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.toggle input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.toggle input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.showing { margin: 12px 0 0; font-weight: 600; font-size: 14px; }

.topic, .topic-head { display: grid; grid-template-columns: minmax(0, 1fr) 180px 132px; gap: 18px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid hsl(var(--h) 70% 58%);
  border-radius: 10px; padding: 14px 16px; margin: 0 0 12px; }
.topic:hover { border-color: hsl(var(--h) 45% 45%); border-left-color: hsl(var(--h) 80% 65%); }
.topic-title { display: block; font-size: 17px; font-weight: 700; line-height: 1.35; color: var(--fg); text-decoration: none;
  margin-bottom: 3px; }
.topic-title:hover { text-decoration: underline; }
.topic-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.topic-head { grid-template-columns: minmax(0, 1fr) 190px; align-items: start; padding: 18px 20px; }
.topic-head h1 { font-size: 26px; margin: 4px 0 6px; }
.deadline { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.deadline b { font-size: 17px; }
.due { display: inline-block; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 10px; color: #14171c; }
.due-urgent { background: var(--urgent); color: #fff; }
.due-soon { background: var(--soon); }
.due-ok { background: var(--open); }
.due-pre { background: var(--prerel); }
.due-closed { background: var(--line); color: var(--muted); }
.card.accent-open { border-top: 3px solid var(--open); } .card.accent-new { border-top: 3px solid var(--fresh); }
.card.accent-pre { border-top: 3px solid var(--prerel); } .card.accent-fit { border-top: 3px solid var(--soon); }
.cta .muted { align-self: center; }
@media (max-width: 760px) {
  .topic, .topic-head { grid-template-columns: 1fr; gap: 10px; }
  .topic-actions { justify-content: flex-start; }
  .deadline { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; }
}

/* ---- card grid with time bars, segmented status filter, CMMC help, release-to-inbox flow ---- */
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.tcard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line);
  border-top: 4px solid hsl(var(--h) 70% 58%); border-radius: 12px; padding: 14px 16px 12px;
  transition: transform .12s ease, border-color .12s ease; }
.tcard:hover { transform: translateY(-2px); border-color: hsl(var(--h) 50% 48%); border-top-color: hsl(var(--h) 85% 66%); }
.tcard .topic-title { font-size: 16px; }
.tcard-foot { margin-top: auto; padding-top: 12px; }
.tcard-when { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 8px; }
.tcard-when .more { margin-left: auto; }
.timebar { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.timebar span { display: block; height: 100%; border-radius: 999px; background: var(--open); }
.tb-urgent span { background: var(--urgent); } .tb-soon span { background: var(--soon); }
.tb-pre span, .tb-none span, .tb-closed span { background: transparent; }
.tb-pre { background: repeating-linear-gradient(90deg, var(--prerel) 0 6px, transparent 6px 12px); opacity: .55; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.seg label { margin: 0; font-weight: 600; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 8px 12px; font-size: 14px; color: var(--muted); }
.seg input:checked + span { background: var(--accent); color: var(--accent-fg); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: -2px; }
.filters .toggles select { flex: 0 1 210px; }
.cmmc-help { margin-top: 12px; font-size: 14px; }
.cmmc-help summary { cursor: pointer; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-weight: 600; }
.cmmc-help dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 12px; margin: 12px 0 6px; }
.cmmc-help dd { margin: 0; color: var(--muted); }
.reqs { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin: 0 0 16px; }
.reqs .label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.reqs p { margin: 8px 0 0; }
.flow { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  counter-reset: none; }
.flow li { position: relative; padding: 26px 18px 0 0; color: var(--muted); font-size: 14px; }
.flow li b { display: block; color: var(--fg); font-size: 15px; margin-bottom: 2px; }
.flow li::before { content: ""; position: absolute; top: 6px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(45, 212, 191, .15)); }
.flow li::after { content: ""; position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--accent); }
.flow li:last-child::after { background: var(--accent); box-shadow: 0 0 0 5px rgba(45, 212, 191, .2); }
@media (max-width: 760px) {
  .band-grid { grid-template-columns: 1fr; gap: 26px; padding-top: 30px; padding-bottom: 28px; }
  .band h1 { font-size: 31px; }
  .alertmock-mail { transform: none; }
  .flow { grid-template-columns: 1fr; }
  .flow li { padding: 0 0 16px 28px; }
  .flow li::before { top: 0; bottom: 0; left: 6px; right: auto; width: 2px; height: auto;
    background: linear-gradient(180deg, var(--accent), rgba(45, 212, 191, .15)); }
  .cmmc-help dl { grid-template-columns: 1fr; }
}

/* ---- phones ---- */
html { -webkit-text-size-adjust: 100%; }
img { max-width: 100%; }
header.site nav { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
@media (max-width: 760px) {
  /* header: logo on its own line, the menu as one row that scrolls sideways if it has to */
  header.site .wrap { gap: 0; padding-top: 8px; padding-bottom: 0; }
  header.site .brand { flex: 1 0 100%; }
  header.site .brand img { height: 36px; }
  header.site nav { flex: 1 0 100%; flex-wrap: nowrap; gap: 0 18px; overflow-x: auto; white-space: nowrap;
    scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  header.site nav::-webkit-scrollbar { display: none; }
  header.site nav a, header.site nav button.link { display: block; padding: 10px 0 12px; font-size: 15px; }
  header.site nav button.link { text-decoration: none; }

  main { padding: 16px 0; }
  h1 { font-size: 25px; }
  h2 { font-size: 20px; margin-top: 24px; }
  .lead { font-size: 17px; }
  .btn, button { padding: 11px 16px; }           /* at least 44px high: a comfortable tap */
  button.link { padding: 0; }
  th, td { padding: 8px 6px; font-size: 14px; }
  footer.site .wrap { gap: 8px 16px; }
  footer.site a { padding: 4px 0; }

  /* home: get to the topics sooner */
  .alertmock { display: none; }
  .band-grid { padding-top: 24px; padding-bottom: 22px; }
  .band h1 { font-size: 29px; }
  .signup { margin-top: 16px; }
  .signup input, .signup button { flex: 1 1 100%; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
  .tile { padding: 10px 12px; font-size: 13px; }
  .tile b { font-size: 24px; }

  /* filters: agency chips in one swipeable row, controls full width and easy to hit */
  .filters { padding: 12px; }
  .aglegend { flex-wrap: nowrap; overflow-x: auto; margin: 0 -12px 10px; padding: 0 12px 6px; scrollbar-width: none; }
  .aglegend::-webkit-scrollbar { display: none; }
  .aglegend .chip, .cmmc-help summary .chip { padding: 6px 12px; font-size: 13px; }
  .filters-row input[type=search] { flex: 1 1 100%; padding: 11px 12px; }
  .seg { flex: 1 1 100%; }
  .seg label { flex: 1; text-align: center; }
  .seg span { padding: 10px 8px; }
  .filters-row select { flex: 1 1 0; min-width: 0; padding: 10px; }
  .filters .toggles select { flex: 1 1 100%; }
  .filters .toggles .label { flex: 1 0 100%; }
  .toggle span { padding: 8px 14px; }

  .tgrid { grid-template-columns: 1fr; gap: 10px; }
  .tcard { padding: 12px 14px; }
  .tcard:hover { transform: none; }
  .tcard-when .more { padding: 6px 0; }
  .topic-head { padding: 14px; }
  .topic-head h1 { font-size: 21px; }
  .cta { gap: 8px; }
  .cta .btn { flex: 1 1 auto; text-align: center; }
  .pager { justify-content: space-between; }
  .grid, .steps { grid-template-columns: 1fr; }
}

/* ---- topic rows with details ---- */
.topic { align-items: start; padding: 16px 18px; }
.topic-meta { color: var(--muted); font-size: 14px; }
.topic-summary { margin: 8px 0 0; color: #d3d8dd; font-size: 15px; line-height: 1.5; max-width: 70ch; }
.topic-when .timebar { margin-top: 10px; background: #50565e; }
.topic-actions { flex-direction: column; align-items: stretch; }
.topic-actions .btn { text-align: center; }
@media (max-width: 760px) {
  .topic { padding: 14px; }
  .topic-actions { flex-direction: row; }
  .topic-actions .btn { flex: 1; }
  .topic-when .timebar { margin-top: 8px; }
}
label.check { font-weight: 400; display: flex; gap: 8px; align-items: flex-start; margin: 6px 0; }
label.check input { margin-top: 5px; }
.notice.trial { border-color: var(--accent); background: rgba(45, 212, 191, .08); }
form select { width: 100%; }
.filters select { width: auto; }

/* ---- sign-in ---- */
.signin { max-width: 440px; margin: 24px auto; background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; padding: 24px; }
.signin h1 { margin-top: 0; }
.signin button { width: 100%; padding: 12px; }
.signin input.code { font-size: 30px; font-weight: 700; letter-spacing: 10px; text-align: center; padding: 12px;
  font-variant-numeric: tabular-nums; }

/* ---- numbered pages ---- */
.pager { flex-wrap: wrap; margin: 0 0 14px; }
.pages { display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.pages a, .pages b, .pages .gap { min-width: 36px; padding: 7px 8px; text-align: center; border-radius: 8px;
  text-decoration: none; }
.pages a { border: 1px solid var(--line); color: var(--fg); }
.pages a:hover { border-color: var(--accent); color: var(--accent); }
.pages b { background: var(--accent); color: var(--accent-fg); }
.pages .gap { color: var(--muted); min-width: 0; padding: 7px 2px; }

/* ==== "briefing board" skin ====
   The site's own look, layered over the rules above: condensed uppercase headlines, monospaced
   data, square corners, ink-and-paper contrast, and the red/white/blue of the logo as the only
   decoration. Colour coding (agency, status, deadline, CMMC) is unchanged. */

:root {
  --bg: #14171c; --panel: #1b1f26; --card: #262b33; --line: #39414d; --fg: #eef0f3; --muted: #a3adb9;
  --accent: #f2eee4; --accent-fg: #14171c;        /* paper on ink: buttons and selected states */
  --link: #a8c3ff; --flag-blue: #2f62d9; --flag-red: #e0343c;
  /* the fonts already on the visitor's device, as before the skin */
  --display: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --text: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --mono: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --r: 3px;
}
body { font-family: var(--text); font-size: 16px; line-height: 1.6;
  background: var(--bg) linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px) 0 0 / 100% 48px; }
a { color: var(--link); text-underline-offset: 3px; }
.wrap { max-width: 1120px; padding: 0 24px; }

/* type */
h1, h2, .band h1, .hero h1, .tile b, .deadline b { font-family: var(--display); font-weight: 800; text-transform: uppercase;
  letter-spacing: .01em; line-height: 1; }
h1 { font-size: 46px; margin: 8px 0 14px; }
h2 { font-size: 34px; margin: 44px 0 12px; padding-top: 14px; border-top: 1px solid var(--line); }
h3 { font-family: var(--text); font-size: 17px; font-weight: 700; }
h2.first { font-size: 40px; margin-top: 8px; border-top: 0; padding-top: 0; }
.idx { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .12em; color: var(--flag-red);
  vertical-align: middle; margin-right: 12px; }
.muted { color: var(--muted); }
code, .topic-meta, .label, .filters .label, .deadline .label, .showing, .eyebrow, .pill, .chip, .state, .due,
.tile, .pager .muted, footer.site, header.site nav { font-family: var(--mono); }

/* header: one thin bar, the flag's three colours as a hairline under it */
header.site { background: var(--bg); border-bottom: 0; position: relative; }
header.site::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--flag-blue) 0 33.3%, #f2eee4 33.3% 66.6%, var(--flag-red) 66.6%); }
header.site .wrap { padding-top: 14px; padding-bottom: 16px; }
header.site nav { gap: 6px 26px; }
header.site nav a, header.site nav button.link { color: var(--fg); font-size: 13px; text-transform: uppercase;
  letter-spacing: .1em; text-decoration: none; }
header.site nav a:hover, header.site nav button.link:hover { color: var(--flag-red); text-decoration: none; }
footer.site { font-size: 12px; letter-spacing: .03em; border-top: 1px solid var(--line); margin-top: 72px; }
footer.site .wrap { padding-top: 22px; padding-bottom: 28px; }

/* buttons and inputs: square, paper on ink */
.btn, button { border-radius: var(--r); font-family: var(--mono); font-size: 13px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .08em; padding: 11px 18px; border: 1px solid var(--accent);
  transition: background .15s, color .15s, transform .15s; }
.btn:hover, button:hover { transform: translateY(-1px); }
.btn.secondary, button.secondary { color: var(--fg); border-color: var(--line); }
.btn.secondary:hover, button.secondary:hover { border-color: var(--fg); }
button.link { border: 0; text-transform: none; letter-spacing: 0; font-family: inherit; font-size: inherit;
  color: var(--link); transform: none; }
button.danger { border-color: var(--line); }
input[type=text], input[type=email], input[type=number], input[type=search], textarea, select {
  border-radius: var(--r); background: var(--panel); border-color: var(--line); }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--link); outline-offset: 1px; }
.card, .tile, .filters, .topic, .topic-head, .reqs, .notice, .signin, .steps li, .mock-window, .seg, code {
  border-radius: var(--r); }
.card { background: var(--card); }
.notice { background: var(--panel); border-color: var(--possible); }
.notice.trial { border-color: var(--link); background: rgba(168, 195, 255, .07); }

/* hero: big type on a ruled sheet, the logo's stripes cutting the corner */
.band { background: var(--bg) linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 48px 100%;
  border-bottom: 1px solid var(--line); }
.band::before { content: ""; position: absolute; top: -40px; right: -140px; width: 560px; height: 150%;
  background: repeating-linear-gradient(115deg, transparent 0 46px, rgba(224, 52, 60, .16) 46px 64px,
    transparent 64px 82px, rgba(47, 98, 217, .18) 82px 100px, transparent 100px 150px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 55%); mask-image: linear-gradient(90deg, transparent, #000 55%);
  pointer-events: none; }
.band-grid { position: relative; padding-top: 64px; padding-bottom: 60px; gap: 56px; }
.band h1 { font-size: 76px; line-height: .92; letter-spacing: 0; margin: 18px 0 20px; max-width: 12ch; }
.band .lead { font-size: 18px; color: #c6ced8; max-width: 46ch; }
.band .eyebrow, .eyebrow { border-radius: 0; border: 0; border-left: 3px solid var(--flag-red); background: none;
  padding: 0 0 0 10px; color: var(--fg); font-size: 12px; font-weight: 500; letter-spacing: .16em; }
.pill { border-radius: var(--r); font-size: 12px; letter-spacing: .04em; }
.on-band, .on-band a { color: var(--muted); font-size: 13px; }
.signup { max-width: 540px; gap: 0; }
.signup input { border-radius: var(--r) 0 0 var(--r); border: 1px solid var(--fg); border-right: 0; background: var(--bg);
  padding: 14px 16px; }
.signup button { border-radius: 0 var(--r) var(--r) 0; padding: 14px 22px; }
.alertmock-mail { border-radius: 10px; transform: rotate(-1.2deg); background: var(--card); color: var(--fg);
  border: 1px solid var(--line); box-shadow: 0 24px 60px -24px rgba(47, 98, 217, .55), 0 12px 30px -18px rgba(0, 0, 0, .8); }
.alertmock-head { border-bottom: 1px solid var(--line); }
.alertmock-head .dot { background: var(--flag-red); box-shadow: 0 0 0 4px rgba(224, 52, 60, .2); border-radius: 50%; }
.alertmock-subject { font-size: 16px; font-weight: 700; }
.alertmock-row { background: var(--panel); border-radius: 8px; border-left-width: 4px; }
.alertmock figcaption { text-align: center; margin-top: 14px; }

/* summary tiles: figures first */
.tiles { gap: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); margin: 18px 0 20px; }
.tile { background: none; border: 0; border-left: 1px solid var(--line); border-top: 4px solid var(--c); border-radius: 0;
  padding: 16px 20px 18px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.tile:first-child { border-left: 0; }
.tile b { font-size: 60px; letter-spacing: 0; margin-bottom: 6px; }
.tile:hover, .tile.on { background: color-mix(in srgb, var(--c) 12%, transparent); }

/* filters and chips: tags, not pills */
.filters { background: var(--panel); padding: 18px 20px; }
.agbar { border-radius: 0; height: 8px; gap: 1px; }
.chip { border-radius: var(--r); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 8px; }
.chip.agency { background: hsl(var(--h) 55% 22%); border-color: transparent; color: hsl(var(--h) 100% 88%); }
a.chip.agency:hover, .chip.agency.on { background: hsl(var(--h) 65% 38%); border-color: transparent; color: #fff; }
a.chip.all.on, a.chip.all:hover { border-color: var(--fg); color: var(--fg); }
.state { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.state::before { border-radius: 0; width: 7px; height: 7px; }
.toggle span { border-radius: var(--r); font-family: var(--mono); font-size: 12px; letter-spacing: .04em; }
.seg span { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.showing { font-size: 12px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cmmc-help summary { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .04em; }

/* topic rows */
.topic, .topic-head { border-left-width: 6px; border-color: transparent; border-left-color: hsl(var(--h) 75% 60%);
  background: var(--card); padding: 20px 22px; gap: 28px; margin-bottom: 10px;
  transition: background .15s, transform .15s; }
.topic:hover { background: #2c323b; border-color: transparent; border-left-color: hsl(var(--h) 90% 68%); transform: translateX(3px); }
.topic-title { font-size: 19px; line-height: 1.3; letter-spacing: -.005em; margin: 4px 0 6px; }
.topic-meta { font-size: 12px; letter-spacing: .03em; color: var(--muted); }
.topic-summary { font-size: 15px; color: #cdd3db; }
.deadline .label { font-size: 11px; letter-spacing: .14em; }
.deadline b { font-size: 30px; letter-spacing: 0; }
.due { border-radius: var(--r); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; }
.timebar, .timebar span { border-radius: 0; height: 4px; }
.topic-head h1 { font-size: 40px; }
.pages a, .pages b, .pages .gap { border-radius: var(--r); font-family: var(--mono); font-size: 13px; }

/* "from release to your inbox" */
.flow li::before { background: var(--line); height: 1px; top: 7px; }
.flow li::after { border-radius: 0; border-color: var(--fg); width: 12px; height: 12px; }
.flow li:last-child::after { background: var(--flag-red); border-color: var(--flag-red); box-shadow: none; }
.flow li b { font-family: var(--display); font-size: 22px; font-weight: 700; text-transform: uppercase; line-height: 1.05; margin-bottom: 6px; }
.card h3 { font-family: var(--display); font-size: 24px; font-weight: 700; text-transform: uppercase; line-height: 1; margin-bottom: 8px; }
.card.accent-open, .card.accent-new, .card.accent-pre, .card.accent-fit { border-top-width: 4px; }
.steps li::before { border-radius: 0; font-family: var(--mono); }
.signin { background: var(--panel); box-shadow: 10px 10px 0 var(--flag-blue); }
.signin input.code { font-family: var(--mono); }
table th { font-family: var(--mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

/* one entrance, on load: the hero settles, then the rows follow */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .band-grid > div > *, .alertmock, .tiles, .filters { animation: rise .55s cubic-bezier(.2, .7, .2, 1) both; }
  .band-grid > div > :nth-child(2) { animation-delay: .06s; } .band-grid > div > :nth-child(3) { animation-delay: .12s; }
  .band-grid > div > :nth-child(4) { animation-delay: .18s; } .band-grid > div > :nth-child(5) { animation-delay: .24s; }
  .alertmock { animation-delay: .3s; }
  .topic { animation: rise .45s cubic-bezier(.2, .7, .2, 1) both; }
  .topic:nth-of-type(1) { animation-delay: .05s; } .topic:nth-of-type(2) { animation-delay: .1s; }
  .topic:nth-of-type(3) { animation-delay: .15s; } .topic:nth-of-type(4) { animation-delay: .2s; }
  .topic:nth-of-type(n+5) { animation-delay: .25s; }
}

@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  h1 { font-size: 34px; } h2 { font-size: 28px; margin-top: 32px; } h2.first { font-size: 32px; }
  header.site .wrap { padding-top: 10px; padding-bottom: 3px; }
  header.site nav { gap: 0 20px; }
  header.site nav a, header.site nav button.link { font-size: 12px; }
  .band::before { opacity: .6; right: -260px; }
  .band-grid { padding-top: 30px; padding-bottom: 30px; }
  .band h1 { font-size: 46px; max-width: none; }
  .band .lead { font-size: 16px; }
  .signup { gap: 8px; }
  .signup input, .signup button { border-radius: var(--r); border: 1px solid var(--fg); }
  .tiles { grid-template-columns: 1fr 1fr; gap: 0; }
  .tile { padding: 12px 14px; font-size: 11px; }
  .tile:nth-child(odd) { border-left: 0; }
  .tile:nth-child(n+3) { border-top-width: 4px; }
  .tile b { font-size: 40px; }
  .filters { padding: 12px; }
  .topic, .topic-head { padding: 16px 14px; gap: 12px; }
  .topic:hover { transform: none; }
  .topic-title { font-size: 17px; }
  .deadline b { font-size: 24px; }
  .topic-head h1 { font-size: 28px; }
  .flow li::before { top: 0; height: auto; width: 1px; }
  .signin { box-shadow: 6px 6px 0 var(--flag-blue); margin: 12px 0; padding: 18px; }
}

/* skin fixes after looking at it */
.topic { grid-template-columns: minmax(0, 1fr) 180px 150px; }
.topic-actions .btn { padding: 10px 8px; letter-spacing: .06em; white-space: nowrap; }
.topic-head h1 { font-family: var(--text); font-weight: 700; text-transform: none; font-size: 30px; line-height: 1.2;
  letter-spacing: -.01em; }
.seg span { white-space: nowrap; }
@media (max-width: 760px) {
  .topic { grid-template-columns: 1fr; }
  .topic-head h1 { font-size: 22px; }
  .seg span { letter-spacing: .03em; padding: 10px 4px; }
  .filters-row select { flex: 1 1 40%; }
  .filters-row > button { flex: 1 1 100%; }
}

/* previous fonts: headline sizes and case that suit a regular-width face */
h1, h2, .band h1, .hero h1, .tile b, .deadline b, .alertmock-subject, .flow li b, .card h3 { text-transform: none;
  letter-spacing: -.02em; line-height: 1.12; }
h1 { font-size: 34px; } h2 { font-size: 26px; } h2.first { font-size: 30px; }
.band h1 { font-size: 52px; line-height: 1.06; max-width: 15ch; }
.tile b { font-size: 44px; } .deadline b { font-size: 21px; letter-spacing: -.01em; }
.flow li b { font-size: 17px; } .card h3 { font-size: 19px; }
code { font-family: Consolas, Menlo, monospace; }
.signin input.code { font-family: Consolas, Menlo, monospace; }
@media (max-width: 760px) {
  h1 { font-size: 27px; } h2 { font-size: 22px; } h2.first { font-size: 24px; }
  .band h1 { font-size: 33px; max-width: none; }
  .tile b { font-size: 30px; } .deadline b { font-size: 19px; }
}

/* readable labels: dates, topic details, chips, CMMC and buttons as in the original design
   (mixed case, no letter-spacing, rounded pills); the skin keeps its colours and layout */
.chip { border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; text-transform: none;
  padding: 2px 10px; }
.chip.agency { border: 1px solid hsl(var(--h) 55% 42%); background: hsl(var(--h) 60% 20%); color: hsl(var(--h) 95% 84%); }
a.chip.agency:hover, .chip.agency.on { background: hsl(var(--h) 65% 32%); border-color: hsl(var(--h) 80% 70%); }
.state { font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.state::before { border-radius: 50%; width: 8px; height: 8px; }
.due { border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0; text-transform: none; padding: 2px 10px; }
.topic-meta { font-size: 14px; letter-spacing: 0; }
.deadline .label, .filters .label, .reqs .label { font-size: 12px; letter-spacing: .08em; }
.deadline b { font-size: 18px; font-weight: 700; letter-spacing: 0; }
.timebar, .timebar span { border-radius: 999px; height: 6px; }
.tile { font-size: 14px; text-transform: none; letter-spacing: 0; }
.showing { font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--fg); }
.toggle span { border-radius: 999px; font-size: 13px; letter-spacing: 0; }
.seg span { font-size: 14px; text-transform: none; letter-spacing: 0; }
.cmmc-help summary { font-size: 14px; font-weight: 600; letter-spacing: 0; }
.pill { border-radius: 999px; letter-spacing: 0; }
.btn, button { font-size: 15px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.topic-actions .btn { letter-spacing: 0; }
.pages a, .pages b, .pages .gap { font-size: 14px; }
table th { font-size: 14px; font-weight: 700; text-transform: none; letter-spacing: 0; color: var(--fg); }
footer.site { font-size: 14px; letter-spacing: 0; }
@media (max-width: 760px) {
  .aglegend .chip, .cmmc-help summary .chip { padding: 6px 12px; font-size: 13px; }
  .tile { font-size: 13px; }
  .seg span { padding: 10px 8px; }
}

/* original CMMC badge: one amber outline for every level, with the level written out */
.chip.cmmc, .chip.cmmc-1, .chip.cmmc-2, .chip.cmmc-3 { color: var(--soon); border-color: #8f6510; background: none; }

/* quieter Details button in the topic rows: it repeats 25 times a page, so it must not glare */
.topic-actions .btn:not(.secondary) { background: #3d4654; color: var(--fg); border-color: #56606f; }
.topic-actions .btn:not(.secondary):hover { background: #4a5565; border-color: var(--fg); }

/* filled requirement badges, so ITAR and CMMC stand out from the outlined tags. CMMC is orange,
   from papaya to dark burnt orange as the level rises, kept redder and darker than the amber
   "closes in" pill; ITAR is paper white */
.chip.cmmc, .chip.cmmc-1 { background: #ff8a4c; border-color: #ff8a4c; color: #2e1200; }
.chip.cmmc-2 { background: #d9480f; border-color: #d9480f; color: #fff; }
.chip.cmmc-3 { background: #8f2d00; border-color: #8f2d00; color: #fff; }
.chip.cmmc b { color: inherit; }
.chip.itar { background: #f2eee4; border-color: #f2eee4; color: #14171c; }

/* ---- delivery time (account page) ---- */
.schedule-row { display: flex; flex-wrap: wrap; gap: 0 16px; max-width: 640px; }
.schedule-row > div { flex: 1 1 240px; min-width: 0; }
.schedule button { margin-top: 6px; }

/* ---- breadcrumb on the topic page ---- */
.crumbs { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--fg); }

/* ---- just released: a star badge and a marked row ---- */
.chip.fresh { border: 1px solid var(--fresh); color: var(--fresh); background: transparent; font-weight: 700; }
.chip.fresh::before { content: "\2605"; margin-right: 5px; }
.chip.fresh-today { background: var(--fresh); color: #10151a; }
.topic.is-fresh-today { box-shadow: inset 4px 0 0 var(--fresh);
  background-image: linear-gradient(90deg, color-mix(in srgb, var(--fresh) 13%, transparent), transparent 45%); }
.topic.is-fresh-week { box-shadow: inset 2px 0 0 var(--fresh); }
