/* ElderCare public website. Colours from packages/tokens (WCAG 2.2 AA pairs). */
:root {
  --paper: #f7f6f2;
  --white: #ffffff;
  --charcoal: #252b29;
  --slate: #535d59;
  --line: #e2ded4;
  --forest: #183c35;
  --amber-tint: #f5e7cc;
  --amber-ink: #6b4510;
}
* {
  box-sizing: border-box;
}
html {
  font-size: 112.5%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}
a {
  color: var(--forest);
  text-underline-offset: 0.15em;
}
a:focus-visible {
  outline: 3px solid var(--forest);
  outline-offset: 2px;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  background: var(--white);
  padding: 0.5rem 1rem;
}
header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  padding: 1rem 1.5rem;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  margin-right: auto;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
}
nav a[aria-current] {
  font-weight: 700;
  text-decoration: none;
}
.langs a {
  color: var(--slate);
}
main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}
h1 {
  font-size: 2rem;
  line-height: 1.2;
  color: var(--forest);
}
h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
}
.lead {
  font-size: 1.15rem;
}
.updated {
  color: var(--slate);
}
.notice {
  margin-top: 2.5rem;
  padding: 1rem;
  background: var(--amber-tint);
  color: var(--amber-ink);
  border-radius: 0.5rem;
}
.chooser {
  list-style: none;
  padding: 0;
  font-size: 1.25rem;
}
.chooser li {
  margin: 0.75rem 0;
}
footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem;
  text-align: center;
  color: var(--slate);
}
