/* Served from this site rather than Google Fonts, so reading the privacy policy
   sends no visitor's IP address to a third party. Latin subsets from the
   @fontsource packages the admin portal uses; licences beside them. */
@font-face {
  font-family: 'Marcellus';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/marcellus-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/hanken-grotesk-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/hanken-grotesk-latin-600-normal.woff2') format('woff2');
}

/* The app's palette, from packages/shared/src/theme/brandColors.ts. */
:root {
  --background: #fcfbf9;
  --surface: #ffffff;
  --text-primary: #2a2320;
  --text-body: #4a423c;
  --text-muted: #8c8178;
  --temple-red: #bc2b2b;
  --temple-red-strong: #9e2020;
  --header-eyebrow: #f6d9c9;
  --gold: #b07e1e;
  --gold-soft: #f0c97d;
  --hairline: rgba(42, 35, 32, 0.09);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text-body);
  font-family:
    'Hanken Grotesk',
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

.band {
  background: var(--temple-red);
  color: #ffffff;
  padding: 28px 16px 24px;
}

.band-inner,
main,
footer {
  max-width: 720px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--header-eyebrow);
  font-size: 14px;
  letter-spacing: 0.04em;
}

h1,
h2 {
  font-family: 'Marcellus', Georgia, serif;
  font-weight: 400;
  color: var(--text-primary);
}

.band h1 {
  margin: 0;
  color: #ffffff;
  font-size: 30px;
  line-height: 1.25;
}

.band .updated {
  margin: 8px 0 0;
  color: var(--gold-soft);
  font-size: 14px;
}

main {
  padding: 8px 16px 32px;
}

h2 {
  margin: 32px 0 8px;
  font-size: 23px;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 6px;
}

a {
  color: var(--temple-red);
  overflow-wrap: anywhere;
}

a:hover,
a:focus {
  color: var(--temple-red-strong);
}

ul {
  padding-left: 22px;
}

li {
  margin: 4px 0;
}

strong {
  color: var(--text-primary);
}

.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 16px 0;
}

.card p {
  margin: 4px 0;
}

footer {
  padding: 16px 16px 40px;
  color: var(--text-muted);
  font-size: 14px;
  border-top: 1px solid var(--hairline);
}
