:root {
  --teal: #0E3B3A;
  --teal-soft: #2B5654;
  --emerald: #12A27A;
  --mint: #5EE6B8;
  --mist: #F2FBF8;
  --white: #FFFFFF;
  --muted: #4E6967;
  --line: #D3E6E0;
  --display: "Outfit", system-ui, sans-serif;
  --body: "Public Sans", system-ui, sans-serif;
  --measure: 38rem;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--mist);
  color: var(--teal);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

a { color: var(--teal); text-decoration-color: var(--emerald); text-underline-offset: 0.2em; text-decoration-thickness: 2px; }
a:hover { color: var(--emerald); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--emerald); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(72rem, 100% - 2rem); margin-inline: auto; }

/* Header */
.site-header { padding: 1.5rem 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand img { display: block; height: 2.25rem; width: auto; }
.header-link { font-weight: 600; font-size: 0.95rem; }

/* Hero */
.hero { padding: 3.5rem 0 5rem; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 4rem; align-items: center; }
.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
  max-width: 19ch;
}
.lede { font-size: 1.2rem; line-height: 1.55; color: var(--teal-soft); max-width: var(--measure); margin: 0 0 2rem; }

.button {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
}
.button:hover { background: var(--emerald); color: var(--white); }
.cta-note { display: block; margin-top: 0.9rem; font-size: 0.95rem; color: var(--muted); }

/* The brief: the one bold element */
.brief { position: relative; padding-top: 2.5rem; }
.brief::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 62%;
  height: 2.6rem;
  transform: translateX(-50%);
  border: 6px solid var(--emerald);
  border-radius: 50%;
}
.brief-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 24px 48px -28px rgba(14, 59, 58, 0.35);
}
.brief-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.25rem; }
.brief-title { font-family: var(--display); font-weight: 600; font-size: 1.25rem; margin: 0; }
.brief-date { font-size: 0.9rem; color: var(--muted); }

.flag { padding: 1rem 0; border-top: 1px solid var(--line); }
.flag:last-child { padding-bottom: 0; }
.flag-top { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.35rem; }
.dot { width: 0.65rem; height: 0.65rem; border-radius: 50%; flex: none; }
.dot.high { background: #C2410C; }
.dot.medium { background: #CA8A04; }
.dot.good { background: var(--emerald); }
.flag-name { font-weight: 700; font-size: 1rem; }
.flag-where { font-size: 0.9rem; color: var(--muted); margin-left: auto; text-align: right; }
.flag p { margin: 0; font-size: 0.95rem; line-height: 1.5; color: var(--teal-soft); }
.flag .fix { margin-top: 0.4rem; color: var(--teal); }
.fix strong { font-weight: 700; }
.sample-note { margin: 0.9rem 0 0; font-size: 0.85rem; color: var(--muted); text-align: center; }

/* What it does */
.does { background: var(--white); border-block: 1px solid var(--line); padding: 5rem 0; }
.does h2, .pilot h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 2.5rem;
  max-width: 24ch;
}
.does-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin: 0; padding: 0; list-style: none; }
.does-list h3 { font-family: var(--display); font-weight: 600; font-size: 1.25rem; margin: 0 0 0.5rem; }
.does-list p { margin: 0; color: var(--teal-soft); }
.sources { margin: 3rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }

/* Pilot */
.pilot { padding: 5rem 0; }
.pilot .wrap > * { max-width: 44rem; }
.pilot h2 { margin-bottom: 1rem; }
.pilot p { margin: 0 0 2rem; color: var(--teal-soft); max-width: var(--measure); }

/* Footer */
.site-footer { background: var(--teal); color: var(--mist); padding: 2.5rem 0; font-size: 0.95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.site-footer img { height: 1.75rem; width: auto; display: block; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.site-footer a { color: var(--mist); text-decoration-color: var(--mint); }
.site-footer a:hover { color: var(--mint); }
.legal-name { width: 100%; color: #A9C9C2; margin: 0; }

/* Legal pages */
.legal { padding: 2rem 0 5rem; }
.legal .wrap { max-width: 46rem; }
.legal h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.1; margin: 1rem 0 0.5rem; }
.legal .effective { color: var(--muted); margin: 0 0 2.5rem; }
.legal h2 { font-family: var(--display); font-weight: 600; font-size: 1.4rem; margin: 2.5rem 0 0.75rem; }
.legal h3 { font-size: 1.05rem; margin: 1.5rem 0 0.5rem; }
.legal p, .legal li { max-width: var(--measure); }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: 0.4rem; }
.legal table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: 0.95rem; }
.legal th, .legal td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-weight: 700; }
.legal .callout { background: var(--white); border-left: 4px solid var(--emerald); padding: 1rem 1.25rem; border-radius: 0 12px 12px 0; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 3rem; }
  .does-list { grid-template-columns: 1fr; gap: 2rem; }
  .hero { padding-top: 1.5rem; }
}
@media (max-width: 480px) {
  .brief-card { padding: 1.25rem; }
  .flag-top { flex-wrap: wrap; }
  .flag-where { margin-left: 0; width: 100%; text-align: left; }
  .legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; }
  .legal thead { display: none; }
  .legal td { border: 0; padding: 0.15rem 0; }
  .legal tr { border-bottom: 1px solid var(--line); padding: 0.6rem 0; }
}
