:root {
  --background: #FBF7EF;
  --ink: #2E2A26;
  --ink-secondary: #6E665D;
  --hairline: #E4D7C1;
  --teal: #16524F;
  --apricot: #C4621F;
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0F2422;
    --ink: #F3EEE4;
    --ink-secondary: #A8BDB9;
    --hairline: #2A4B48;
    --teal: #9FD3CC;
    --apricot: #F4A261;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
}

.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header and footer */

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 22px 0;
}
header.site a.brand { display: block; line-height: 0; }
header.site .wordmark { height: 24px; width: auto; }

nav.site { display: flex; gap: 20px; font-size: 14px; }
nav.site a { color: var(--ink-secondary); text-decoration: none; }
nav.site a:hover { color: var(--ink); }
nav.site a[aria-current="page"] { color: var(--ink); }

footer.site {
  margin-top: 72px;
  padding: 24px 0 40px;
  border-top: 1px solid var(--hairline);
  color: var(--ink-secondary);
  font-size: 13px;
  line-height: 1.5;
}
footer.site p { margin: 0 0 8px; }
footer.site a { color: var(--ink-secondary); }

/* Type */

h1, h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
h1 { font-size: 32px; margin: 40px 0 10px; }
h2 { font-size: 20px; margin: 44px 0 10px; }
h3 { font-size: 16px; font-weight: 600; margin: 28px 0 4px; }

p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 20px; }
li { margin-bottom: 6px; }
li::marker { color: var(--ink-secondary); }

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
strong { font-weight: 600; }

.meta { color: var(--ink-secondary); font-size: 14px; margin-bottom: 32px; }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--apricot);
  margin: 0 0 8px;
}

/* A plain-language summary at the top of a legal page */
.summary {
  border-left: 2px solid var(--teal);
  padding: 2px 0 2px 18px;
  margin: 0 0 8px;
}
.summary p:last-child, .summary ul:last-child { margin-bottom: 0; }

/* Contents list on legal pages */
.contents {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 16px 0;
  margin: 32px 0 0;
  font-size: 14px;
}
.contents p { margin: 0 0 6px; color: var(--ink-secondary); }
.contents ol { margin: 0; columns: 2; column-gap: 24px; }
.contents li { margin-bottom: 4px; break-inside: avoid; }
.contents a { color: var(--ink); text-decoration: none; }
.contents a:hover { text-decoration: underline; }

/* Questions on the support page */
.faq h3 { margin-top: 24px; }
.faq h2 { padding-top: 4px; }

/* Home */

.hero { padding: 40px 0 8px; }
.hero h1 { font-size: 44px; margin: 0 0 16px; }
.hero .lede { font-size: 19px; color: var(--ink-secondary); max-width: 520px; }
.availability { font-size: 14px; color: var(--ink-secondary); margin-top: 20px; }
.availability strong { color: var(--ink); }

.steps { list-style: none; padding: 0; margin: 48px 0 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 44px 1fr;
  padding: 18px 0;
  border-top: 1px solid var(--hairline);
  margin: 0;
}
.steps li:last-child { border-bottom: 1px solid var(--hairline); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif);
  color: var(--apricot);
  font-size: 15px;
  padding-top: 1px;
}
.steps strong { display: block; }
.steps span { color: var(--ink-secondary); }

.facts { padding-left: 0; list-style: none; }
.facts li { padding-left: 22px; position: relative; }
.facts li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--teal);
}

@media (max-width: 520px) {
  header.site { padding: 18px 0; }
  nav.site { gap: 14px; }
  h1 { font-size: 28px; margin-top: 28px; }
  .hero { padding-top: 24px; }
  .hero h1 { font-size: 36px; }
  .hero .lede { font-size: 17px; }
  .contents ol { columns: 1; }
}
