/* Fonts are self-hosted (no Google Fonts request), so visitors' details aren't sent to a third party. */
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/atkinson-hyperlegible-400-normal.ttf") format("truetype"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/atkinson-hyperlegible-700-normal.ttf") format("truetype"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/source-serif-4-400-normal.ttf") format("truetype"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/source-serif-4-600-normal.ttf") format("truetype"); }

:root {
  --teal: #1d5c58;
  --teal-dark: #14302e;
  --teal-pale: #e6efed;
  --paper: #f7f5f0;
  --ink: #1f2523;
  --muted: #4a5653;
  --line: #dfe5e3;
  --sans: "Atkinson Hyperlegible", system-ui, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 1.2rem; line-height: 1.55; }
img { max-width: 100%; height: auto; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
h1, h2, h3 { font-family: var(--sans); color: var(--teal-dark); line-height: 1.15; margin: 0; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.5rem; }
p { margin: 0; }

.wrap { max-width: 70rem; margin: 0 auto; padding: 0 1rem; }
.narrow { max-width: 50rem; }
.stack { display: flex; flex-direction: column; gap: 1.25rem; }
.section { padding: 3.5rem 0; }
.white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 10; }

header.site { background: var(--teal); color: #fff; }
header.site nav { display: flex; flex-wrap: wrap; gap: .75rem 2rem; align-items: center; justify-content: space-between; padding-top: 1rem; padding-bottom: 1rem; font-family: var(--sans); }
header.site a { color: #fff; }
.brand { font-size: 1.35rem; font-weight: 700; text-decoration: none; }
.menu { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; font-size: 1.1rem; }
.menu a[aria-current="page"] { font-weight: 700; }

.eyebrow { font-family: var(--sans); font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: .04em; font-size: 1rem; }
.lead { font-size: 1.35rem; }
.callout { background: var(--teal-pale); border-radius: 10px; padding: 1rem 1.25rem; }
.muted { color: var(--muted); font-size: 1rem; }

.hero { display: flex; flex-wrap: wrap; gap: 3rem; align-items: center; }
.hero > .stack { flex: 999 1 30rem; min-width: 0; }
.hero .cover { flex: 1 1 14rem; text-align: center; }
.hero .cover img { width: 15rem; border-radius: 6px; box-shadow: 0 12px 32px rgba(20, 48, 46, .25); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.25rem; }
.card { background: #fff; border-radius: 12px; padding: 1.4rem; }
.card strong { font-family: var(--sans); display: block; font-size: 1.2rem; margin-bottom: .25rem; }

.edition { border: 2px solid var(--teal); border-radius: 14px; padding: 1.6rem; display: flex; flex-wrap: wrap; gap: 1.4rem; background: #fff; }
.edition img { width: 7rem; border-radius: 4px; align-self: flex-start; }
.edition .stack { flex: 1 1 14rem; gap: .75rem; }

.buttons { display: flex; flex-wrap: wrap; gap: .6rem; font-family: var(--sans); }
.btn { display: inline-block; background: var(--teal); color: #fff; text-decoration: none; padding: .75rem 1.1rem; border-radius: 8px; font-weight: 700; font-size: 1.05rem; min-height: 44px; }
.btn:hover { background: var(--teal-dark); color: #fff; }
.btn.outline { background: #fff; color: var(--teal); border: 2px solid var(--teal); padding: calc(.75rem - 2px) calc(1.1rem - 2px); }
.btn.soon { background: #e9ecea; color: var(--muted); border: 2px dashed #9fb3af; padding: calc(.75rem - 2px) calc(1.1rem - 2px); }

.band { background: var(--teal-dark); color: #fff; }
.band .wrap { display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: space-between; align-items: center; padding-top: 2.5rem; padding-bottom: 2.5rem; }
.band p { flex: 1 1 30rem; }
.band .btn { background: #fff; color: var(--teal-dark); }
.band .btn.outline { background: transparent; color: #fff; border-color: #fff; }

.entries { background: #fff; border-radius: 14px; padding: .5rem 1.6rem; }
.entry { padding: 1.3rem 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: .4rem; }
.entry:last-child { border-bottom: 0; }
.entry .meta { font-family: var(--sans); font-size: 1rem; color: var(--muted); }

form.report { display: flex; flex-direction: column; gap: 1rem; font-family: var(--sans); font-size: 1.1rem; }
form.report label { display: flex; flex-direction: column; gap: .35rem; font-weight: 700; }
form.report input, form.report textarea, form.report select { font: inherit; font-weight: 400; padding: .75rem .9rem; border: 2px solid #9fb3af; border-radius: 8px; background: #fff; width: 100%; }
form.report button { align-self: flex-start; font: inherit; font-weight: 700; background: var(--teal); color: #fff; border: 0; padding: .85rem 1.5rem; border-radius: 8px; min-height: 48px; cursor: pointer; }
.hidden { display: none; }

footer.site .wrap { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; padding-top: 2rem; padding-bottom: 2rem; font-family: var(--sans); font-size: 1rem; color: var(--muted); }

/* Help articles */
.prose { gap: 1.1rem; }
.prose h2 { margin-top: 1.4rem; }
.prose h3 { font-size: 1.3rem; margin-top: .6rem; }
.prose ul, .prose ol { margin: 0; padding-left: 1.4rem; }
.prose li { margin: .35rem 0; }
.prose .callout ul { margin-top: .5rem; }
.crumbs { font-family: var(--sans); font-size: 1rem; color: var(--muted); }
.prose .meta { font-family: var(--sans); font-size: 1rem; color: var(--muted); }
.badge { display: inline-block; font-family: var(--sans); font-weight: 700; font-size: .95rem; background: var(--teal-pale); color: var(--teal-dark); border-radius: 6px; padding: .05rem .5rem; }
.badge.no { background: #f3e6dc; color: #6b3a12; }
.warn { background: #fbf0dc; border-left: 5px solid #b7791f; border-radius: 8px; padding: 1rem 1.25rem; }
.cta { background: #fff; border: 2px solid var(--teal); border-radius: 14px; padding: 1.4rem; display: flex; flex-direction: column; gap: .9rem; margin-top: 1rem; }
.sources { border-top: 1px solid var(--line); padding-top: 1.2rem; display: flex; flex-direction: column; gap: .7rem; font-size: 1rem; }
.sources h2 { font-size: 1.4rem; margin-top: 0; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; background: #fff; font-size: 1rem; }
th, td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--sans); background: var(--teal); color: #fff; }
a.card.link { text-decoration: none; color: var(--ink); border: 2px solid transparent; }
a.card.link strong { color: var(--teal); }
a.card.link:hover, a.card.link:focus { border-color: var(--teal); }
.white .card { background: var(--paper); }
