@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/assets/fonts/newsreader-latin.woff2") format("woff2");
}

:root {
  --paper: #f4efe6;
  --ink: #23201b;
  --soft: #5f574b;
  --rule: #ddd3c2;
  --green: #1d4636;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #171a17;
    --ink: #ece6da;
    --soft: #a99f8f;
    --rule: #333630;
    --green: #9fc7b2;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.1875rem/1.6 var(--serif);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--green); color: var(--paper); }

.page {
  max-width: 35rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 8vw, 6rem) 1.25rem 3rem;
}

.mark {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 clamp(3rem, 10vw, 5.5rem);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--green);
}
.mark-sign {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.25rem, 7vw, 3.25rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.lede { margin: 0; color: var(--soft); text-wrap: pretty; }

section { margin-top: clamp(2.75rem, 7vw, 3.75rem); }
h2 {
  margin: 0 0 .75rem;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.3;
}
p { margin: 0 0 1rem; text-wrap: pretty; }

.terms { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.terms li { padding: .9rem 0; border-bottom: 1px solid var(--rule); text-wrap: pretty; }
.terms strong { font-weight: 500; }

a {
  color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }

.contact { margin-top: clamp(2.75rem, 7vw, 3.75rem); font-size: 1.375rem; }

footer {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-size: .9375rem;
  color: var(--soft);
}
footer a { color: inherit; }

.prose h1 { font-size: clamp(2rem, 6vw, 2.75rem); }
.prose ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.prose li { margin-bottom: .4rem; }
