/*
 * CheckedLabel: shared styles used by every page.
 * Colour and type tokens, reset, top strip, masthead logo and footer.
 */

/* ---------- Tokens ---------- */
:root {
  --ink: #1B1F24;
  --text: #33383F;
  --mute: #6A7079;
  --bg: #FFFFFF;
  --soft: #F5F6F7;
  --line: #DCDFE3;
  --line-2: #C5CAD0;
  --blue: #1D4F91;
  --blue-tint: #EEF3FA;
  --teal: #0F6E78;
  --teal-tint: #EAF4F5;
  --green: #1F7A47;
  --green-dark: #17613A;
  --green-tint: #EAF5EE;
  --red: #B3261E;
  --red-tint: #FBEDEC;
  --gold: #B7791F;
  --r: 3px;
  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'Source Sans 3', -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Reset + base elements ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--text);
  font: 400 18px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: var(--blue);
}
button {
  font-family: inherit;
}
[id] {
  scroll-margin-top: 72px;
}
.wide {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Top strip + masthead ---------- */
.topbar {
  background: var(--ink);
  color: #C9CDD2;
  font-size: 13px;
  text-align: center;
  padding: 7px 20px;
}
.mast {
  border-bottom: 1px solid var(--line);
}
.mast-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo {
  font: 700 30px/1 var(--serif);
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -.01em;
}
.logo span {
  color: var(--blue);
}
.logo small {
  display: block;
  margin-top: 4px;
  font: 600 11px/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ---------- Footer ---------- */
.foot {
  background: var(--ink);
  color: #AEB4BB;
  padding: 34px 0;
  font-size: 14px;
}
.foot-in {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.foot .logo {
  color: #fff;
  font-size: 22px;
}
.foot .logo span {
  color: #8FB4E3;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.foot nav a {
  color: #AEB4BB;
  text-decoration: none;
}
.foot nav a:hover,
.foot nav a[aria-current] {
  color: #fff;
}
.foot-copy {
  width: 100%;
  padding-top: 14px;
  border-top: 1px solid #343A42;
  font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 700px) {
  body {
    font-size: 17px;
  }

  .logo {
    font-size: 24px;
  }

  .logo small {
    font-size: 10px;
  }
}

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