/* Shared styles. Atkinson Hyperlegible was designed for readers with low vision, which suits an older audience. */
:root {
  --paper: #f7f4ee;
  --card: #fffdf9;
  --ink: #23211d;
  --muted: #5f5a51;
  --line: #e2dcd0;
  --accent: #46594b;
  --accent-ink: #ffffff;
  --accent-soft: #e7ede6;
  --warn-soft: #f6efe0;
  --live: #9b2f2f;
  --radius: 14px;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

.topbar { padding: 22px 0; border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.brand-mark { display: inline-block; width: 11px; height: 23px; background: url("candle.svg") center / contain no-repeat; margin-right: 10px; vertical-align: -3px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 1.05rem;
  padding: 15px 26px; min-height: 54px;
  border-radius: 999px; border: 2px solid var(--accent);
  background: var(--accent); color: var(--accent-ink);
  text-decoration: none; cursor: pointer;
}
.btn:hover { filter: brightness(1.08); }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #c9a35a; outline-offset: 2px;
}
.btn.ghost { background: transparent; color: var(--accent); }
.btn.small { padding: 9px 16px; min-height: 42px; font-size: .95rem; }
.btn[disabled] { opacity: .55; cursor: wait; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.muted { color: var(--muted); }
.eyebrow { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .6em; }

section { padding: 64px 0; }
section + section { border-top: 1px solid var(--line); }

/* Forms */
label { display: block; font-weight: 700; margin: 0 0 6px; }
.hint { font-weight: 400; color: var(--muted); font-size: .9rem; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 14px; min-height: 52px;
  background: #fff; border: 1.5px solid #cfc8ba; border-radius: 10px;
}
textarea { min-height: 120px; resize: vertical; }
.field { margin-bottom: 20px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; cursor: pointer; }
.check input { width: 24px; height: 24px; min-height: 0; margin-top: 3px; flex: none; accent-color: var(--accent); }
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-row label { display: flex; align-items: center; gap: 8px; font-weight: 400; border: 1.5px solid #cfc8ba; border-radius: 999px; padding: 8px 16px; background: #fff; cursor: pointer; margin: 0; }
.radio-row input { width: 20px; height: 20px; min-height: 0; accent-color: var(--accent); }
.radio-row label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }

.footer { padding: 40px 0 60px; color: var(--muted); font-size: .95rem; border-top: 1px solid var(--line); }
.hidden { display: none !important; }
