/* Styling for the static, crawlable content pages (/about, /how-it-works,
   /faq). Deliberately self-contained: these must render with no JavaScript
   and no build step, which is the whole point of them. */

:root {
  --paper: #faf8f5;
  --paper-raised: #fffdfb;
  --ink: #1c1b1b;
  --ink-soft: #4a4645;
  --ink-faint: #8a8380;
  --ruby: #e3242b;
  --ruby-deep: #b81c22;
  --line: #e8e1d8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.pagehead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 780px;
  margin: 0 auto;
  padding: 22px 22px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 19px;
}
.brand img { border-radius: 7px; }
.brand em {
  font-style: normal;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 10.5px;
  font-weight: 640;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ruby-deep);
  background: rgba(227, 36, 43, 0.09);
  border: 1px solid rgba(227, 36, 43, 0.28);
  border-radius: 999px;
  padding: 2px 8px;
}
.pagehead nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
}
.pagehead nav a { color: var(--ink-soft); text-decoration: none; }
.pagehead nav a:hover { color: var(--ruby-deep); }

.cta {
  background: var(--ruby);
  color: #fff !important;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(227, 36, 43, 0.28);
}
.cta:hover { background: var(--ruby-deep); }
.cta--big { display: inline-block; font-size: 16px; padding: 12px 22px; }

main {
  max-width: 780px;
  margin: 0 auto;
  padding: 34px 22px 12px;
}

h1 {
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
h2 {
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 38px 0 12px;
}
p { margin: 0 0 16px; }
.lede { font-size: 19.5px; color: var(--ink-soft); }
.closer { margin-top: 40px; }

ul { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 10px; }

a { color: var(--ruby-deep); }
strong { font-weight: 640; }

.pagefoot {
  max-width: 780px;
  margin: 30px auto 0;
  padding: 24px 22px 40px;
  border-top: 1px solid var(--line);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 13.5px;
  color: var(--ink-faint);
}
.pagefoot a { color: var(--ink-soft); text-decoration: none; }
.pagefoot a:hover { color: var(--ruby-deep); }
.pagefoot p { margin: 8px 0 0; }

@media (max-width: 480px) {
  body { font-size: 16.5px; }
  h1 { font-size: 31px; }
  h2 { font-size: 21px; margin-top: 30px; }
  .lede { font-size: 18px; }
  .pagehead { padding-top: 16px; }
  .pagehead nav { gap: 14px; font-size: 13.5px; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #171615;
    --paper-raised: #1f1d1c;
    --ink: #f3efec;
    --ink-soft: #c3bcb7;
    --ink-faint: #8a8380;
    --line: #332f2c;
    --ruby: #f04b51;
    --ruby-deep: #ff7a7e;
  }
}
