/* GaltGenius LLC: one stylesheet, system fonts, nothing loaded from anyone else. */
:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #1d1f22;
  --muted: #5b6067;
  --line: #e3e0d8;
  --accent: #1f5f5b;
  --accent-soft: #e5efed;
  --quote: #2b2e33;
  --radius: 14px;
  --measure: 40rem;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131416;
    --surface: #1b1d20;
    --ink: #ecebe7;
    --muted: #a3a7ad;
    --line: #2c2f33;
    --accent: #7cc4bc;
    --accent-soft: #1d2b2a;
    --quote: #f2f1ed;
  }
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 20px; }

/* Header and footer */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 650; letter-spacing: -0.01em; }
.brand svg { width: 28px; height: 28px; flex: none; }
.site-nav { display: flex; gap: 20px; font-size: 15px; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }

.site-footer { border-top: 1px solid var(--line); margin-top: 72px; padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.site-footer a { color: var(--muted); }

/* Type */
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0; }
h1 { font-size: clamp(30px, 7vw, 42px); font-weight: 700; }
h2 { font-size: 22px; font-weight: 680; margin-bottom: 12px; }
h3 { font-size: 17px; font-weight: 650; margin-bottom: 4px; }
p { margin: 0 0 14px; }
.lede { font-size: 19px; color: var(--muted); margin-top: 16px; }
.small { font-size: 14px; color: var(--muted); }

section { margin-top: 56px; }
.hero { padding-top: 48px; }

/* Status pill */
.pill { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 3px 11px; margin-bottom: 14px; }

/* Steps */
.steps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 18px; counter-reset: step; }
.steps li { position: relative; padding-left: 44px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 1px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-size: 14px; font-weight: 650;
  color: var(--accent); background: var(--accent-soft);
}
.steps p { margin: 0; color: var(--muted); }

/* Example receipt: made-up data, labelled as such */
.receipt {
  margin: 28px 0 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.receipt-kind { font-size: 13px; font-weight: 650; color: var(--accent); text-transform: uppercase; letter-spacing: 0.04em; }
.receipt blockquote { margin: 10px 0 12px; padding-left: 14px; border-left: 3px solid var(--accent); color: var(--quote); font-size: 18px; }
.receipt-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: var(--muted); }
.receipt figcaption { margin-top: 12px; font-size: 12px; color: var(--muted); }

/* Principles */
.principles { display: grid; gap: 22px; margin-top: 8px; }
.principles p { margin: 0; color: var(--muted); }

/* Contact block */
.contact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.contact p:last-child { margin-bottom: 0; }

/* Policy pages */
.policy { padding-top: 40px; }
.policy h2 { margin-top: 36px; }
.policy ul { padding-left: 22px; margin: 0 0 14px; }
.policy li { margin-bottom: 8px; }

@media (min-width: 640px) {
  body { font-size: 18px; }
  .hero { padding-top: 72px; }
}
