/* Fonts are served from this site: no third-party requests on a page children use. */
@font-face{font-family:'Andika';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/andika-400.woff2') format('woff2')}
@font-face{font-family:'Andika';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/andika-700.woff2') format('woff2')}
@font-face{font-family:'Berkshire Swash';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/berkshire-swash-400.woff2') format('woff2')}
@font-face{font-family:'Caveat';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/caveat-600.woff2') format('woff2')}
@font-face{font-family:'Courier Prime';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/courier-prime-400.woff2') format('woff2')}
@font-face{font-family:'Courier Prime';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/courier-prime-700.woff2') format('woff2')}

:root {
  --snow: #F3F6F9; --paper: #FFFFFF; --ink: #0F2238; --text: #33445A; --muted: #4A5A6E;
  --line: #D5DEE8; --field: #7489A0; --red: #B8232F; --red-dark: #96192A; --navy: #1D3F72;
  --green: #1B5E43; --green-dark: #144A34; --green-tint: #E4F0EA; --error-tint: #FBECEE;
  --display: 'Berkshire Swash', Georgia, 'Times New Roman', serif;
  --body: Andika, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Courier Prime', 'Courier New', monospace;
  --airmail: repeating-linear-gradient(135deg, var(--red) 0 14px, #fff 14px 28px, var(--navy) 28px 42px, #fff 42px 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--snow); color: var(--ink); font: 400 17px/1.55 var(--body); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; letter-spacing: 0; }
h1 { font-size: clamp(38px, 5vw, 62px); line-height: 1.04; }
h2 { font-size: clamp(28px, 3.4vw, 36px); line-height: 1.1; }
h3 { font-size: 22px; }
p { margin: 0; }
a { color: var(--ink); }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
[hidden] { display: none !important; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
.eyebrow { font: 700 14px var(--mono); letter-spacing: 0.12em; color: var(--red-dark); }
.lede { font-size: 19px; color: var(--text); }
.soft { color: var(--text); }
.small { font-size: 14px; color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 20px; }

.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 14px; min-height: 44px; text-decoration: none; font: 400 23px var(--display); }
.brand-logo { height: 84px; width: auto; flex: none; }
@media (max-width: 520px) { .brand-logo { height: 64px; } .brand { font-size: 20px; } }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 15px; font-weight: 700; }
.site-nav a, .site-footer a { display: inline-flex; align-items: center; min-height: 44px; }

.hero { display: flex; flex-wrap: wrap; gap: 48px 56px; align-items: flex-start; padding-top: 28px; padding-bottom: 80px; }
.hero > * { flex: 1 1 400px; min-width: 0; }
.hero-copy { padding-top: 24px; }
.hero-copy .lede, .hero-copy .note, .hear { max-width: 520px; }
.hear ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; color: var(--text); }
.hear li { display: flex; gap: 12px; align-items: flex-start; }
.hear svg { flex: none; margin-top: 3px; }
.note { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 20px 22px; }
.note h3 { font-size: 18px; margin-bottom: 6px; }
.note p { font-size: 16px; color: var(--text); }

.envelope { padding: 10px; border-radius: 8px; background: var(--airmail); box-shadow: 0 18px 40px rgba(15, 34, 56, 0.14); }
.envelope > .sheet { position: relative; background: var(--paper); border-radius: 3px; padding: 32px; }
.stamp { position: absolute; top: 24px; right: 24px; width: 68px; height: 82px; border: 2px dashed var(--red); background: var(--green-tint); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; transform: rotate(4deg); font: 700 9px var(--mono); letter-spacing: 0.08em; color: var(--green-dark); }
.dear { font: 600 44px/1 Caveat, cursive; letter-spacing: 0; padding-right: 84px; }
#closed { min-height: 100px; }
#closed p { padding-right: 84px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 15px; font-weight: 700; }
.field input[type='text'], .field input[type='email'], .field textarea { width: 100%; padding: 0 14px; border: 1.5px solid var(--field); border-radius: 6px; background: var(--paper); color: var(--ink); font: 400 17px var(--body); }
.field input[type='text'], .field input[type='email'] { height: 48px; }
.field textarea { padding: 6px 14px; line-height: 32px; resize: vertical; min-height: 236px; background-image: repeating-linear-gradient(transparent, transparent 31px, var(--line) 31px, var(--line) 32px); background-attachment: local; }
.field [aria-invalid='true'] { border-color: var(--red); border-width: 2px; }
.hint { font-size: 14px; color: var(--muted); }
.error { font-size: 15px; font-weight: 700; color: var(--red-dark); }
.error:empty { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; font-size: 15px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--green); }
.form-error { padding: 12px 14px; background: var(--error-tint); border-radius: 6px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px; border: 0; border-radius: 6px; background: var(--red); color: #fff; font: 700 18px var(--body); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--red-dark); color: #fff; }
.btn[disabled] { background: var(--line); color: var(--muted); cursor: default; }
.btn.block { display: flex; width: 100%; }
.btn.green { background: var(--green); }
.btn.green:hover { background: var(--green-dark); }
.btn.quiet { min-height: 48px; background: none; color: var(--ink); border: 2px solid var(--ink); font-size: 16px; }
.btn.quiet:hover { color: var(--red); border-color: var(--red); background: none; }
.collection { font: 400 14px var(--mono); color: var(--muted); text-align: center; }

.band { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 40px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 32px; }
.steps li { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.steps p, .faq p { color: var(--text); }
.num { width: 52px; height: 52px; border: 4px double var(--red); border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 700 20px var(--mono); color: var(--red-dark); }
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px 56px; }
.faq div { display: flex; flex-direction: column; gap: 8px; }

.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 28px; padding-bottom: 40px; font-size: 14px; color: var(--muted); }
.site-footer a { color: var(--muted); }
.footer-brand { font: 400 19px var(--display); color: var(--ink); }

/* Message pages: check your email, confirm, on its way, withdraw */
.page { padding-top: 40px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 32px; }
.page h1 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.06; }
.headline { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.headline > div { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.postmark { flex: none; width: 190px; height: auto; transform: rotate(-6deg); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.track { list-style: none; margin: 0; padding: 0; }
.track li { position: relative; padding: 0 0 20px 44px; }
.track li:last-child { padding-bottom: 0; }
.track li::before { content: ''; position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--field); background: var(--paper); box-sizing: border-box; }
.track li::after { content: ''; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.track li:last-child::after { display: none; }
.track .done::before { background: var(--green); border-color: var(--green); }
.track .done::after { background: var(--green); }
.track .now::before { border: 3px solid var(--red); box-shadow: inset 0 0 0 5px var(--paper); background: var(--red); }
.track strong { display: block; font-weight: 700; }
.track .now strong { color: var(--red-dark); }
.track .later strong { color: var(--muted); }
.track span { font-size: 15px; color: var(--muted); }
.plain-list { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; color: var(--text); }

/* Privacy page: deliberately plain */
.legal { padding-top: 32px; padding-bottom: 72px; }
.legal h1 { font-size: 34px; margin-bottom: 8px; }
.legal h2 { font-size: 21px; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--text); font-size: 16px; }
.legal p + p { margin-top: 10px; }
