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

:root {
  --dark: #35342f;
  --teal: #1a6a5a;
  --teal-d: #175248;
  --teal-light: #e8f4f1;
  --teal-mid: #c2ddd7;
  --yellow: #f0c030;
  --yellow-light: #fdf6dc;
  --white: #ffffff;
  --off-white: #f7f6f2;
  --grey-100: #efede8;
  --grey-200: #dddbd6;
  --grey-500: #888882;
  --grey-600: #676762;
  --grey-700: #4a4a46;
  --sans: "DM Sans", sans-serif;
  --serif: "Source Serif 4", serif;
  --pass-primary: #2e7d32;
  --pass-bg: #ecf4ec;
  --pass-text: #1a5c1a;
  --pass-border: #b8d9b8;
  --fail-primary: #c62828;
  --fail-bg: #fdf0f0;
  --fail-text: #9b1c1c;
  --fail-border: #f2b8b8;
  --warn-primary: #b07800;
  --warn-bg: #fdf6dc;
  --warn-text: #7a5000;
  --warn-border: #edd980;
  --blue-uswds-focus: #2491ff;
}

/* ── UTILITIES ── */

[class*="--inner"] {
  max-width: 1080px;
  margin: 0 auto;
}

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

/* ── ELEMENTS ── */

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  font-family: var(--sans);
  color: var(--dark);
  background: var(--white);
  line-height: 1.5;
}

h1 {
  letter-spacing: -1.5px;
}

h2 {
  letter-spacing: -0.75px;
}

h3 {
  letter-spacing: -0.325px;
}

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

a:focus,
button:focus,
input:focus {
  outline: 4px solid var(--blue-uswds-focus);
  outline-offset: 3px;
}

button {
  font-family: var(--sans);
}

/* ── NAV ── */
nav {
  background: var(--dark);
  height: 58px;
  padding: 0 2.5rem;
}

.nav--inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-left,
.nav-brand,
.nav-bloom,
.nav-right,
.nav-gh {
  display: flex;
  align-items: center;
}

.nav-left {
  gap: 16px;
}

.nav-brand {
  gap: 10px;
  text-decoration: none;
}

.nav-logo-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  padding: 3px;
  background: var(--teal);
  border-radius: 6px;
}

.nav-logo-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.nav-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.01em;
}

.nav-bloom {
  font-size: 12px;
  color: var(--grey-200);
  border-left: 1px solid var(--grey-500);
  padding-left: 14px;
  text-decoration: none;
  gap: 4px;
}

.nav-bloom:hover {
  color: rgba(255, 255, 255, 0.8);
}

.nav-bloom svg {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

.nav-right {
  gap: 1.75rem;
}

.nav-right a {
  font-size: 13px;
  color: var(--off-white);
  text-decoration: none;
}

.nav-right a:hover {
  color: var(--white);
}

.nav-gh {
  gap: 6px;
  border: 1px solid var(--grey-500);
  padding: 5px 14px;
  border-radius: 5px;
  font-size: 13px;
  color: var(--off-white);
}

/* ── CTA ── */
.cta {
  background: var(--teal);
  padding: 3.5rem 2.5rem;
  text-align: center;
}

.cta h2 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.cta p {
  color: var(--grey-100);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

.btn-white {
  background: var(--white);
  color: var(--teal);
  border: none;
  padding: 12px 26px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.btn-white:hover {
  background: var(--teal-light);
}

/* ── FOOTER ── */
footer {
  background: #2b2a26;
  padding: 1.375rem 2.5rem;
}

footer>div.footer--inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer p,
footer a {
  font-size: 12px;
  color: var(--grey-200);
  text-decoration: none;
}

footer a:hover {
  color: var(--off-white);
}

.foot-links {
  display: flex;
  gap: 1.5rem;
}

/* ── PILLS ── */

.alert.pass,
.pill-pass,
.tag-pass {
  background: var(--pass-bg);
  color: var(--pass-text);
  border: 1px solid var(--pass-border);
}

.alert.warn,
.pill-warn,
.tag-warn {
  background: var(--warn-bg);
  color: var(--warn-text);
  border: 1px solid var(--warn-border);
}

.alert.fail,
.pill-fail,
.tag-fail {
  background: var(--fail-bg);
  color: var(--fail-text);
  border: 1px solid var(--fail-border);
}