@font-face {
  font-family: DayBack;
  src: url("gabarito.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
/* Arial scaled to Gabarito's width and line box, so text keeps its place when the webfont swaps in.
   Values measured from the font files: regular weights against Arial, heavy weights against Arial Bold. */
@font-face {
  font-family: "DayBack Fallback";
  src: local("Arial"), local("ArialMT");
  font-weight: 400 550;
  size-adjust: 99%;
  ascent-override: 94.95%;
  descent-override: 26.26%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "DayBack Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 551 900;
  size-adjust: 93.3%;
  ascent-override: 100.75%;
  descent-override: 27.87%;
  line-gap-override: 0%;
}
:root {
  --ink: #293b32;
  --muted: #526052;
  --cream: #fcf9ee;
  --paper: #fffef8;
  --sage: #e5ecd8;
  --sage-dark: #748863;
  --sand: #f0dfc9;
  --yellow: #f5c054;
  --salmon: #efa991;
  --line: #b9c3b0;
  --font: DayBack, "DayBack Fallback", Arial, sans-serif;
  --text-sm: 0.875rem;
  --text-base: 1.125rem;
  --text-lead: 1.375rem;
  --h1: clamp(2.75rem, 5.8vw, 5.25rem);
  --h2: clamp(2.1rem, 3.8vw, 3.5rem);
  --h3: clamp(1.5rem, 2.2vw, 2rem);
  --section: clamp(4rem, 7vw, 7rem);
  --radius: 8px;
  --radius-paper: 3px;
  --radius-control: 6px;
  --radius-card: 12px;
  --control-border: #7d8b76;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* One grid for every page: the same left edge from the header to the footer. */
  --gutter: clamp(22px, 6vw, 48px);
  --measure: 44rem;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font: var(--text-base) / 1.55 var(--font);
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h1 {
  font-size: var(--h1);
  max-width: 17ch;
}
h2 {
  font-size: var(--h2);
}
h3 {
  font-size: var(--h3);
}
p {
  text-wrap: pretty;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #986030;
  outline-offset: 5px;
}
button:disabled {
  cursor: not-allowed;
}
img,
svg {
  max-width: 100%;
}
img {
  height: auto;
}
/* Base reset, kept regardless of today's markup: `hidden` must always win. */
[hidden] {
  display: none !important;
}
::selection {
  background: var(--yellow);
}
.container {
  width: min(1200px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.tone-sage {
  background: var(--sage);
}
.tone-sand {
  background: var(--sand);
}
/* Two cream sections in a row are separated by a rule on the grid, not a new colour. */
.section-ruled > .container {
  border-top: 1px solid var(--line);
  padding-top: calc(var(--section) * 0.75);
}
.section:has(+ .section-ruled) {
  padding-bottom: calc(var(--section) * 0.75);
}
.section-ruled {
  padding-top: 0;
}
.section-head {
  max-width: var(--measure);
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}
.section-head .eyebrow {
  margin-bottom: 1rem;
}
.section-lede {
  margin-top: 1.1rem;
  font-size: var(--text-lead);
  line-height: 1.5;
  color: var(--muted);
  max-width: 36rem;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 44px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}
.text-link:hover {
  text-decoration-thickness: 2px;
}
.text-link > span {
  display: inline-flex;
  font-size: 1.3rem;
  transition: transform 0.2s var(--ease);
}
.text-link:hover > span {
  transform: translateX(3px);
}
.section {
  padding-block: var(--section);
}
.eyebrow {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.5;
  margin-bottom: 1.35rem;
  text-transform: uppercase;
}
.lead {
  font-size: var(--text-lead);
  line-height: 1.5;
  max-width: 42rem;
  margin-top: 1.6rem;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.7rem;
  margin-top: 1.8rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  border: 1px solid var(--ink);
  border-radius: 99px;
  padding: 0.9rem 1.5rem;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  min-height: 52px;
  line-height: 1.3;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button > span {
  display: inline-flex;
  font-size: 1.45rem;
}
.button:hover {
  background: #405347;
}
.button-secondary {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
  padding-inline: 0;
  text-decoration: underline;
}
.button-secondary:hover {
  background: transparent;
  text-decoration-thickness: 2px;
}
.skip {
  position: absolute;
  top: -100px;
  left: 1rem;
}
.skip:focus {
  top: 1rem;
  background: var(--paper);
  padding: 1rem;
  z-index: 99;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.9rem;
}
.brand {
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.14em;
}
.brand-mark {
  width: 1.08em;
  height: 1.08em;
  flex: none;
  overflow: visible;
}
.brand-ring,
.brand-sun {
  transform-box: view-box;
  transform-origin: 24px 25px;
}
/* Hovering the name plays the mark: the arrow turns back once and the sun swells. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .brand:hover .brand-ring {
    animation: brand-rewind 1.1s cubic-bezier(0.6, 0, 0.2, 1);
  }
  .brand:hover .brand-sun {
    animation: brand-sun 1.1s ease-in-out;
  }
}
@keyframes brand-rewind {
  to {
    transform: rotate(-360deg);
  }
}
@keyframes brand-sun {
  60% {
    transform: scale(1.25);
  }
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  font-size: 1rem;
}
.site-header nav > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.site-header nav > a:hover,
.site-header nav > [aria-current] {
  text-decoration: underline;
}
.site-header nav > a.nav-cta {
  gap: 0.7rem;
  min-height: 44px;
  padding: 0 1.1rem 0 1.25rem;
  border-radius: 99px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 500;
}
.site-header nav > a.nav-cta:hover {
  background: #405347;
  text-decoration: none;
}
.menu-toggle {
  display: none;
}
.page-hero {
  padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem);
}
.page-hero + .section {
  padding-top: 0;
}
.page-hero.with-character {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  align-items: center;
  gap: 4rem;
}
.page-hero .site-character {
  width: min(100%, 330px);
  justify-self: center;
}

.site-character {
  width: 230px;
  color: var(--ink);
}
.site-character svg {
  display: block;
  width: 100%;
  overflow: visible;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.1;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.site-character .limb {
  stroke-width: 3;
}
.site-character .happy-mouth {
  display: none;
}
.closing-block {
  background: var(--sand);
}
.closing-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}
.closing-inner > div:first-child {
  max-width: 48rem;
}
.closing-inner h2 {
  max-width: 22ch;
}
.closing-inner p {
  margin-top: 1.4rem;
  max-width: 39rem;
}
.closing-inner .site-character {
  flex: 0 0 200px;
  margin-right: clamp(0rem, 6vw, 6rem);
}
.site-footer {
  padding: 4rem 0 1.5rem;
  background: #f5f1e3;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
}
.footer-top p {
  margin-top: 1rem;
}
.footer-group {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 0.55rem;
}
.footer-group h2 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0 0 0.7rem;
}
.footer-group a {
  font-size: 1rem;
  min-height: 32px;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.footer-group a:hover {
  text-decoration: underline;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 2rem;
  border-top: 1px solid var(--line);
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: var(--text-sm);
  color: var(--muted);
}
.footer-bottom > div {
  display: flex;
  gap: 0.8rem 1.4rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 650px;
}
.footer-bottom button {
  border: 0;
  padding: 0;
  background: transparent;
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Reading pages keep the grid's left edge, so the text starts under the page title. */
.container.reading > * {
  max-width: var(--measure);
}
.container.reading > .reading-table {
  max-width: 60rem;
}
.reading > h2 {
  margin: 2.5rem 0 1rem;
  font-size: 2rem;
}
.reading > p + p {
  margin-top: 1rem;
}
.reading ul {
  padding-left: 1.3rem;
}
.reading li + li {
  margin-top: 0.6rem;
}

@media (max-width: 950px) {
  .site-header nav {
    gap: 1rem;
    font-size: 0.9375rem;
  }
  .site-header {
    gap: 1rem;
  }
  .page-hero.with-character {
    gap: 2rem;
  }
  .closing-inner {
    gap: 2rem;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
  }
  .footer-top > div:first-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 760px) {
  :root {
    --text-base: 1rem;
    --text-lead: 1.1875rem;
  }
  .site-header {
    padding-block: 1.4rem;
    flex-wrap: wrap;
    position: relative;
  }
  .brand {
    font-size: 2.25rem;
  }
  .site-header .brand {
    font-size: 1.625rem;
    min-height: 44px;
  }
  .menu-toggle {
    display: flex;
    gap: 1.3rem;
    background: none;
    border: 1px solid var(--line);
    border-radius: 30px;
    min-height: 44px;
    align-items: center;
    padding: 0.4rem 1rem;
    font-size: 1rem;
  }
  /* The phone menu drops over the page as a panel under the header: the page never moves, and the
     panel fades and slides in instead of appearing in one frame. Closed, it is hidden from focus. */
  .site-header nav {
    position: absolute;
    top: calc(100% - 0.6rem);
    left: calc(-1 * var(--gutter));
    right: calc(-1 * var(--gutter));
    z-index: 40;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.4rem var(--gutter) 1.4rem;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -18px rgb(41 59 50 / 0.35);
    opacity: 0;
    transform: translateY(-0.75rem);
    visibility: hidden;
    transition:
      opacity 0.18s ease,
      transform 0.18s ease,
      visibility 0s linear 0.18s;
  }
  .site-header nav.open {
    opacity: 1;
    transform: none;
    visibility: visible;
    transition:
      opacity 0.22s ease,
      transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1),
      visibility 0s;
  }
  .menu-toggle span {
    display: inline-block;
    transition: transform 0.22s ease;
  }
  .menu-toggle[aria-expanded="true"] span {
    transform: rotate(45deg);
  }
  .site-header nav > a.nav-cta {
    margin-top: 0.8rem;
    justify-content: center;
  }
  .site-header nav > a {
    padding: 0.6rem 0;
  }
  .page-hero {
    padding-block: 2.4rem 3.5rem;
  }
  .page-hero.with-character {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .page-hero .site-character {
    width: 190px;
  }

  .actions {
    gap: 0.8rem 1.2rem;
  }
  .button {
    padding: 0.8rem 1.2rem;
  }
  .button-secondary {
    padding-inline: 0;
  }
  .closing-inner {
    display: block;
  }
  /* On a phone the closing block is the words and the button; the character would float alone. */
  .closing-inner .site-character {
    display: none;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-top > div:first-child {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    display: block;
  }
  .footer-bottom > div {
    justify-content: flex-start;
    margin-top: 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  .site-header,
  .site-footer,
  .menu-toggle,
  .actions,
  .site-character {
    display: none;
  }
  body {
    background: white;
    color: black;
  }
  .container {
    width: 100%;
  }
  .section {
    padding-block: 1rem;
  }
  a {
    color: black;
  }
}

.arrow-icon {
  flex: none;
  overflow: visible;
  vertical-align: -0.06em;
}

/* Wide policy tables scroll inside their own column rather than widening the page. */
.reading-table {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--line, #b9c3b0);
  border-radius: 12px;
}
.reading-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
}
.reading-table th,
.reading-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line, #b9c3b0);
  vertical-align: top;
  min-width: 150px;
}
.reading-table tr:last-child td {
  border-bottom: 0;
}
.reading-table th {
  background: var(--sage, #e5ecd8);
  font-weight: 600;
}
.footer-legal {
  font-size: 14px;
  color: var(--muted, #526052);
}
