:root {
  --bg: #fff;
  --soft: #f4f5f7;
  --text: #15191f;
  --muted: #565d68;
  --faint: #626973;
  --border: #e3e5e9;
  --navy: #1c2430;
  --steel: #8fa3bd;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
p,
ul,
ol,
figure,
address {
  margin: 0;
}

address {
  font-style: normal;
}

a {
  color: inherit;
}

a:hover {
  text-decoration-thickness: 1px;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: 8px;
  transform: translateY(-150%);
  background: #fff;
  color: var(--navy);
  padding: 10px 14px;
  z-index: 5;
  font-weight: 700;
  font-size: 15px;
  border-radius: 8px;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 1120px;
  max-width: 100%;
  margin: 0 auto;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 12px;
}

h1,
h2 {
  text-wrap: balance;
}

h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

h3,
h4 {
  font-family: "DM Sans", system-ui, sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  margin: 0;
}

#main:focus {
  outline: none;
}

.sub {
  color: var(--muted);
  font-size: 19px;
  max-width: 740px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn:hover {
  text-decoration: none;
}

.bp {
  background: var(--navy);
  color: #fff;
}

.bp:hover {
  background: #2a3544;
}

.bs {
  border-color: var(--border);
  background: #fff;
  color: var(--text);
}

.bs:hover {
  background: var(--soft);
}

.bw {
  background: #fff;
  color: var(--navy);
}

.bw:hover {
  background: #f3f5f8;
}

.bo {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: transparent;
}

.bo:hover {
  background: rgba(255, 255, 255, 0.08);
}

section {
  padding: 88px 0;
}

.site-header {
  background: var(--navy);
  color: #fff;
  padding: 18px 0;
}

.site-header .wrap,
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  flex: 0 0 auto;
}

.logo:hover {
  text-decoration: none;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 26px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  align-items: center;
}

.links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.links a:hover {
  color: #fff;
}

.links .fc {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 22px;
  color: #fff;
}

.site-header :focus-visible,
.hero :focus-visible,
.contact :focus-visible {
  outline-color: #fff;
}

.hero {
  background: var(--navy);
  color: #fff;
  padding: 84px 0 0;
}

.hero .eyebrow {
  color: var(--steel);
}

.hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: 64px;
  line-height: 1.06;
  letter-spacing: -0.015em;
  max-width: 860px;
  margin-bottom: 24px;
}

.hero p.lede {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 760px;
  margin-bottom: 34px;
}

.ctas {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.hero .tl {
  font-size: 15px;
  margin: 0;
}

.hero .tl a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}

.hero .tl a span {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.creds {
  list-style: none;
  margin: 72px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1.25fr repeat(5, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.creds li {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  padding: 26px 18px 30px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.creds li:first-child {
  padding-left: 0;
}

.creds li:last-child {
  border-right: 0;
}

.creds b {
  display: block;
  font-size: 17px;
  line-height: 1.25;
  color: #fff;
  font-weight: 700;
}

.creds span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
}

.lab2 {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 44px 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.lab2::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.lab2.spaced {
  margin-top: 56px;
}

.g4,
.steps,
.tags,
.ev {
  list-style: none;
  margin: 0;
  padding: 0;
}

.g4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px;
  background: #fff;
  height: 100%;
}

.card .ic {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--soft);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--navy);
  font-size: 14px;
}

.card h4 {
  margin-bottom: 8px;
}

.card p,
.ev p,
.step p,
.about p {
  font-size: 15px;
  color: var(--muted);
}

.about p {
  font-size: 17px;
  margin-bottom: 14px;
}

.about p:last-child {
  margin-bottom: 0;
}

.ev {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 56px;
}

.ev li {
  padding: 18px 0;
  border-top: 1px solid var(--border);
}

.ev h4 {
  font-size: 17px;
  margin-bottom: 2px;
}

.soft {
  background: var(--soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.step {
  border-top: 3px solid var(--navy);
  padding-top: 18px;
}

.step .n {
  font-size: 13px;
  font-weight: 700;
  color: var(--faint);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.step h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.step p {
  font-size: 14.5px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.tags li {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 14px;
  color: var(--muted);
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contracting h2 {
  font-size: 32px;
}

.table-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
}

th,
td {
  padding: 13px 18px;
  border-top: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  font-weight: 500;
}

tr:first-child th,
tr:first-child td {
  border-top: 0;
}

th {
  color: var(--faint);
  width: 40%;
}

td a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mono {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.lead {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 36px;
}

.lead img {
  width: 300px;
  height: 370px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 12px;
}

.lead .intro {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 18px;
}

.pl {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pl li {
  padding: 14px 0 14px 26px;
  border-top: 1px solid var(--border);
  position: relative;
  font-size: 16px;
}

.pl li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--navy);
}

.arrow {
  display: inline-block;
  margin-top: 22px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.comm {
  background: #eef1f5;
  padding: 56px 0;
}

.comm .wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.comm h2 {
  font-size: 30px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.comm p {
  color: var(--muted);
  font-size: 17px;
  max-width: 620px;
}

.comm .r {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 320px;
  text-align: center;
}

.comm .r .btn {
  padding: 17px 28px;
  font-size: 17px;
}

.comm .more {
  display: block;
  width: 100%;
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact {
  background: var(--navy);
  color: #fff;
}

.contact .sub {
  color: rgba(255, 255, 255, 0.75);
}

.contact h2 {
  font-size: 46px;
}

.cc {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 16px;
}

.cc li {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 24px;
}

.cc .bk {
  background: #fff;
  color: var(--text);
  border: 0;
}

.cc h3 {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  margin-bottom: 10px;
}

.cc .bk h3 {
  color: var(--faint);
}

.cc .value {
  font-size: 17px;
  font-weight: 700;
  display: block;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cc .bk .btn {
  margin-top: 14px;
  width: 100%;
}

.cc .li-co {
  color: #fff;
  text-decoration: none;
}

.cc .li-co:hover {
  text-decoration: none;
}

.cc .connect {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.addr {
  margin-top: 24px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer {
  padding: 26px 0;
  font-size: 13.5px;
  color: var(--faint);
  border-top: 1px solid var(--border);
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.site-footer a {
  color: var(--faint);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.missing {
  padding: 88px 0 120px;
}

.missing h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}

.missing p {
  color: var(--muted);
  font-size: 19px;
  margin-bottom: 22px;
}

@media (max-width: 1160px) {
  .wrap {
    width: auto;
    padding: 0 28px;
  }

  .g4 {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .cc {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: 52px;
  }

  .creds {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 800px) {
  .two,
  .lead,
  .ev,
  .comm .wrap {
    grid-template-columns: 1fr;
  }

  .comm .r {
    width: 100%;
    align-items: flex-start;
    text-align: left;
  }

  .creds {
    grid-template-columns: repeat(3, 1fr);
  }

  .lead img {
    width: 100%;
    max-width: 360px;
    height: 370px;
  }

  .links {
    gap: 12px 16px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .wrap {
    width: auto;
    padding: 0 20px;
  }

  .links a:not(.fc) {
    display: none;
  }

  .links .fc {
    border: 0;
    padding: 0;
  }

  .hero {
    padding: 44px 0 0;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero p.lede {
    font-size: 17px;
  }

  .ctas {
    flex-direction: column;
  }

  .ctas .btn {
    width: 100%;
  }

  .creds {
    grid-template-columns: 1fr 1fr;
    margin-top: 40px;
  }

  .creds li {
    padding: 18px 12px 18px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .creds li:nth-child(odd) {
    padding-right: 12px;
  }

  .creds li:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .g4,
  .ev,
  .steps,
  .two,
  .lead,
  .cc,
  .comm .wrap {
    grid-template-columns: 1fr;
  }

  .lead img {
    width: 100%;
    max-width: none;
    height: 320px;
  }

  section {
    padding: 56px 0;
  }

  h2,
  .contracting h2,
  .contact h2,
  .missing h1 {
    font-size: 30px;
  }

  .comm .r {
    align-items: stretch;
    text-align: left;
    width: 100%;
  }

  .comm .more {
    text-align: left;
    max-width: none;
  }

  .comm .r .btn {
    width: 100%;
  }

  th,
  td {
    padding: 11px 12px;
  }

  .site-footer .wrap {
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .skip {
    transition: none;
  }
}

/* Contract digest beta. Scoped so the homepage is unchanged. */

.digest .hero {
  padding: 72px 0 64px;
}

.digest .hero h1 {
  font-size: 56px;
  max-width: 740px;
}

.digest section {
  padding: 72px 0;
}

.digest section.fine {
  padding: 8px 0 72px;
}

.digest .g3 {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.digest .card h3 {
  margin-bottom: 8px;
}

.sample {
  margin: 22px 0 0;
  max-width: 1200px;
}

.sample img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.sample figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.beta-note,
p.intro {
  margin-top: 28px;
  max-width: 720px;
  font-size: 17px;
}

p.intro {
  margin-top: 0;
  margin-bottom: 22px;
  color: var(--muted);
}

.beta-note a,
.notice a,
.prose a,
.digest-status a:not(.btn),
.help a {
  color: var(--navy);
  text-underline-offset: 3px;
}

.digest-form {
  max-width: 640px;
}

.field {
  margin: 0 0 18px;
}

.field label,
.check span {
  font-weight: 600;
  font-size: 15px;
}

.field label {
  display: block;
  margin-bottom: 6px;
}

.check label {
  display: inline;
  margin: 0;
  font-weight: 500;
}

.help {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.field input[type="text"],
.field input[type="email"],
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: #fff;
  border: 1px solid #d5d8de;
  border-radius: 8px;
  padding: 12px 14px;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field-error {
  color: #8a1c1c;
  font-size: 14px;
  font-weight: 600;
  margin-top: 6px;
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.check input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: var(--navy);
}

.check span {
  font-weight: 500;
  line-height: 1.45;
}

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

button.btn {
  font-family: inherit;
  cursor: pointer;
}

button.btn:disabled {
  opacity: 0.55;
  cursor: default;
}

.form-status {
  max-width: 640px;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 16px;
}

.form-status.bad {
  color: #8a1c1c;
}

.form-status.ok {
  color: var(--navy);
}

.notice {
  max-width: 760px;
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 10px;
}

.prose {
  max-width: 720px;
}

.prose h3 {
  margin: 28px 0 8px;
}

.prose p {
  margin-bottom: 12px;
}

.digest-status {
  padding: 88px 0 120px;
}

.digest-status h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}

.digest-status p {
  color: var(--muted);
  font-size: 19px;
  margin-bottom: 16px;
  max-width: 640px;
}

.digest-status .btn {
  margin-top: 8px;
}

@media (max-width: 800px) {
  .digest .hero h1 {
    font-size: 44px;
  }

  .digest .g3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .digest .hero {
    padding: 48px 0 36px;
  }

  .digest .hero h1,
  .digest-status h1 {
    font-size: 34px;
  }

  .digest section {
    padding: 56px 0;
  }

  .digest section.fine {
    padding: 8px 0 48px;
  }

  .digest-form .btn {
    width: 100%;
  }
}

/* SBIR/STTR topic pages. Scoped so the homepage is unchanged. */

.example-banner {
  background: #f4e7c8;
  color: #1c2430;
}

.example-banner p {
  margin: 0;
  padding: 12px 0;
  font-weight: 600;
  font-size: 15px;
}

.digest.topics .hero h1 {
  font-size: 42px;
  max-width: 920px;
}

.topics .pdf-link {
  margin: 22px 0 0;
}

.topics .topic-component {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
}

.topics .topic-controls fieldset {
  border: 0;
  margin: 0 0 16px;
  padding: 0;
  min-inline-size: 0;
}

.topics .topic-controls legend {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
  padding: 0;
}

.topics .topic-controls label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 0 8px 8px 0;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font-weight: 600;
  font-size: 15px;
}

.topics .topic-controls label:has(input:checked) {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.topics .topic-controls label:has(input:checked) input {
  accent-color: #fff;
}

.topics .topic-controls label:has(input:focus-visible) {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.topics .topic-controls input {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
}

.topics .topic-sort {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 12px;
}

.topics .topic-sort p {
  margin: 0 8px 0 0;
  font-weight: 700;
  font-size: 15px;
}

.topics .topic-sort button {
  min-height: 44px;
  padding: 10px 16px;
}

.topics .topic-sort button[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.topics .topic-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.topics .topic-scroll table {
  min-width: 880px;
}

.topics .topic-scroll th {
  width: auto;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.topics .topic-scroll tbody th {
  text-transform: none;
  letter-spacing: 0;
  font-size: 16px;
  color: var(--text);
  font-weight: 600;
}

.topics .topic-scroll tbody th a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.topics tr[data-status="closed"] {
  background: var(--soft);
}

.topics .topic-empty {
  display: none;
  margin-top: 14px;
  font-weight: 600;
}

.topic-browser:has(input[name="topic-status"][value="open"]:checked) #topic-table tbody tr:not([data-status="open"]),
.topic-browser:has(input[name="topic-status"][value="pre-release"]:checked) #topic-table tbody tr:not([data-status="pre-release"]),
.topic-browser:has(input[name="topic-status"][value="closed"]:checked) #topic-table tbody tr:not([data-status="closed"]) {
  display: none;
}

.topic-browser:has(input[name="topic-status"][value="open"]:checked):not(:has(tr[data-status="open"])) .topic-empty,
.topic-browser:has(input[name="topic-status"][value="pre-release"]:checked):not(:has(tr[data-status="pre-release"])) .topic-empty,
.topic-browser:has(input[name="topic-status"][value="closed"]:checked):not(:has(tr[data-status="closed"])) .topic-empty {
  display: block;
}

.badge {
  display: inline-block;
  margin: 0;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.7;
  white-space: nowrap;
}

.badge-open {
  background: #fff;
  color: var(--navy);
}

.badge-pre {
  background: var(--soft);
  color: var(--navy);
}

.badge-closed {
  background: var(--navy);
  color: #fff;
}

.digest.topics .hero .badge {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
  margin-top: 8px;
}

.topics .req {
  margin: 0;
  padding-left: 1.2em;
}

.topics .req li {
  margin: 8px 0;
}

@media (max-width: 800px) {
  .digest.topics .hero h1 {
    font-size: 34px;
  }
}

@media (max-width: 600px) {
  .digest.topics .hero h1 {
    font-size: 30px;
  }

  .topics .pdf-link .btn {
    width: 100%;
  }
}

/* Closed topics and the /digest sample match. */
.closed-banner[hidden],
.sample-match [hidden],
#recently-closed[hidden] {
  display: none;
}

.closed-banner {
  background: var(--soft);
  border-bottom: 1px solid var(--border);
}

.closed-banner p {
  margin: 0;
  padding: 16px 0;
  color: var(--navy);
}

.closed-banner a,
.sample-match-closed a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sample-match {
  max-width: 760px;
  margin-top: 18px;
}

.sample-match h3 a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sample-match-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.sample-match-meta {
  margin: 4px 0;
  color: var(--muted);
  font-size: 15px;
}

.sample-match-closed {
  font-weight: 600;
}

.sample-match-note {
  color: var(--muted);
  font-size: 15px;
}

/* Homepage positioning sections and the /palantir page. */

.lead-in {
  margin-bottom: 18px;
}

.g3 {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

p.fee {
  margin-top: 22px;
  max-width: 740px;
  font-size: 17px;
}

.palantir .hero {
  padding: 84px 0 72px;
}

.palantir .steps {
  grid-template-columns: repeat(3, 1fr);
}

.palantir .roles {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.palantir .roles li {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px;
  background: #fff;
  font-size: 17px;
}

.palantir .alongside {
  margin: 36px 0 0;
}

.palantir .alongside img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.palantir .contact .ctas {
  margin-top: 28px;
  margin-bottom: 0;
}

.site-footer .palantir-foot {
  display: block;
}

.palantir-foot .disclaimer {
  margin-bottom: 14px;
  max-width: 760px;
  color: var(--muted);
}

.palantir-foot .foot-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

@media (max-width: 800px) {
  .g3,
  .palantir .roles,
  .palantir .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .palantir .hero {
    padding: 44px 0 48px;
  }

  .palantir-foot .foot-row {
    flex-direction: column;
    gap: 8px;
  }
}
