* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--ledger);
  color: var(--ink);
  font-family: 'Public Sans', system-ui, -apple-system, sans-serif;
}
body {
  font-size: 17px;
  line-height: 1.65;
}

.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 3.25rem 1.5rem 6rem;
}

/* Hero banner, pinned dark in both themes (a banner, like an image), matching the landing page
   and the other guides. Fixed brand hex; the body below uses the light/dark theme tokens. */
.hero {
  background-color: #1E2A3A;
  background-image: radial-gradient(120% 150% at 88% -30%, #2C3E58 0%, #1E2A3A 60%);
  color: #EEF1F4;
  padding: 3.25rem 1.5rem 2.75rem;
}
.hero__inner { max-width: 640px; margin: 0 auto; }
.hero__brand { display: flex; align-items: center; gap: 0.55rem; margin: 0 0 1.4rem; }
.hero__icon { display: block; flex: none; }
a.hero__brand { text-decoration: none; color: inherit; cursor: pointer; }
a.hero__brand:hover .hero__kicker,
a.hero__brand:focus-visible .hero__kicker { color: #C6D0DC; }
.hero__kicker { font-family: 'IBM Plex Mono', monospace; font-size: 0.75rem;
  letter-spacing: 0.09em; text-transform: uppercase; color: #8FB0D9; margin: 0; }
.hero h1 { font-family: 'Bitter', Georgia, serif; font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.45rem); line-height: 1.12; letter-spacing: -0.005em;
  margin: 0; text-wrap: balance; }
.hero__lede { font-size: 1.15rem; line-height: 1.5; color: #C6D0DC; margin: 1.1rem 0 0; max-width: 58ch; }

.lede {
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--ink);
  text-wrap: balance;
  margin: 0 0 2.75rem;
}

h2 {
  font-family: 'Public Sans', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--graphite);
  margin: 3rem 0 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule);
}
h2:first-of-type { border-top: none; padding-top: 0; }

p { margin: 0 0 1.1rem; max-width: 62ch; }
strong { color: var(--ink); font-weight: 600; }

/* ===== The address card: the one thing this page exists for ===== */
.contact-card {
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--ink-blue);
  border-radius: 4px;
  padding: 1.75rem;
  margin: 0 0 2.5rem;
}
.contact-card__label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--graphite);
  margin: 0 0 0.7rem;
}
/* The address is written here by JS (see contact.html). Until then this holds the no-script
   spelled-out form, so the page is never a dead end. */
.contact-card__address {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.15rem;
  margin: 0;
  word-break: break-word;
}
.contact-card__address a { color: var(--ink-blue); text-decoration: none; border-bottom: 1px solid currentColor; }
.contact-card__address a:hover, .contact-card__address a:focus-visible { color: var(--ink); }
.contact-card__note { font-size: 0.88rem; color: var(--graphite); margin: 0.9rem 0 0; }

ul.plain {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
ul.plain li {
  padding-left: 1.4rem;
  position: relative;
  max-width: 60ch;
}
ul.plain li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-blue);
}

.back-link {
  display: inline-block;
  margin-top: 3rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink-blue);
  text-decoration: none;
}
.back-link:hover, .back-link:focus-visible { text-decoration: underline; }

footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--graphite);
}
