:root {
  color: #17213a;
  background: #f5f1ea;
  font-family: Figtree, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  line-height: 1.6;
}

a {
  color: #26355f;
  text-underline-offset: 0.18em;
}

a:focus-visible {
  outline: 3px solid #d94672;
  outline-offset: 4px;
  border-radius: 4px;
}

header,
main,
footer {
  width: min(100% - 32px, 720px);
  margin-inline: auto;
}

header {
  padding-block: 28px 18px;
}

.brand {
  color: #26355f;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 18px;
}

main {
  padding: 28px clamp(20px, 5vw, 48px) 36px;
  background: #fffdf9;
  border: 1px solid #e3ddd3;
  border-radius: 22px;
}

.status {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 10px;
  color: #5b3a1e;
  background: #f2dfc7;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
}

h1,
h2 {
  color: #17213a;
  font-family: Fraunces, Georgia, serif;
  line-height: 1.2;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 8vw, 3rem);
}

h2 {
  margin: 30px 0 8px;
  font-size: 1.35rem;
}

h3 {
  margin: 20px 0 4px;
  color: #17213a;
  font-size: 1.05rem;
  line-height: 1.3;
}

p,
li {
  max-width: 65ch;
}

ul {
  padding-left: 1.25rem;
}

.updated {
  color: #5b6170;
  font-size: 0.875rem;
}

footer {
  padding-block: 24px 40px;
  color: #5b6170;
  font-size: 0.875rem;
}

@media (max-width: 360px) {
  header,
  main,
  footer {
    width: min(100% - 24px, 720px);
  }

  main {
    padding-inline: 18px;
  }
}

/* Tables in the privacy policy. Fixed layout keeps them inside a 320 px screen. */
table {
  width: 100%;
  margin-block: 12px 20px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.9375rem;
  line-height: 1.45;
}

th,
td {
  padding: 8px 10px 8px 0;
  border-bottom: 1px solid #e3ddd3;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

th {
  color: #17213a;
  font-weight: 700;
}
