/* Helpful Hearth by Blah Blah! Brand: Blah Blah! palette (black #0A0A0A, orange #FF6A00, warm white #F5F4F0) and fonts (Montserrat headings, Inter body, self-hosted).
   Accessibility: body text 14:1 on page background; orange #FF6A00 only on black (6.9:1) or as a fill with black text (6.9:1);
   orange text on light backgrounds uses the darker #A33800 (6.7:1). No external requests, no JavaScript. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/inter-latin.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700 800; font-display: swap; src: url(fonts/montserrat-latin.woff2) format("woff2"); }
:root {
  --ink: #1d2733;
  --muted: #4a5663;
  --bg: #fbfaf7;
  --card: #ffffff;
  --accent: #A33800;      /* brand orange, dark for text on light: 6.7:1 on white */
  --brand-black: #000000; --brand-orange: #FF6A00; --brand-white: #F5F4F0; --brand-dim: #C9C8C3;
  --accent-dark: #7A2A00;
  --warn-bg: #fff4d6;
  --warn-border: #b07a00;
  --line: #c9d1d8;
}
* { box-sizing: border-box; }
html { font-size: 112.5%; -webkit-text-size-adjust: 100%; } /* 18px base, scales with user settings */
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}
.wrap { max-width: 42rem; margin: 0 auto; padding: 0 1.1rem; }
header.site { padding: 0.8rem 0; border-bottom: 4px solid var(--brand-orange); background: var(--brand-black); color: var(--brand-white); }
header.site .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; flex-wrap: wrap; gap: 0.35rem 0.7rem; color: var(--brand-white); text-decoration: none; }
.brand-name { font-family: "Montserrat", "Inter", system-ui, sans-serif; font-weight: 800; font-size: 1.5rem; line-height: 1.1; }
.brand .by { font-size: 1.05rem; font-weight: 600; color: var(--brand-dim); }
img.logo { height: 2.6rem; width: auto; display: block; }
img.logo-sm { height: 2.2rem; width: auto; display: block; }
.wn { margin: 0.25rem auto 0; font-size: 0.85rem; color: var(--brand-dim); }
nav a { color: var(--accent); font-weight: 600; }
nav a.navbtn { color: var(--brand-orange); border: 2px solid var(--brand-orange); border-radius: 0.5rem; padding: 0.55rem 1rem; text-decoration: none; display: inline-block; min-height: 2.75rem; }
nav a.navbtn:hover { background: var(--brand-orange); color: #000; }
h1, h2, h3 { font-family: "Montserrat", "Inter", system-ui, sans-serif; }
h1 { font-size: 1.9rem; line-height: 1.2; margin: 1.6rem 0 0.8rem; font-weight: 800; }
h2 { font-size: 1.45rem; line-height: 1.25; margin: 2.2rem 0 0.6rem; font-weight: 800; border-left: 0.4rem solid var(--brand-orange); padding-left: 0.7rem; }
h3 { font-size: 1.15rem; margin: 1.2rem 0 0.3rem; font-weight: 700; }
p, li { font-size: 1rem; }
.lead { font-size: 1.2rem; color: var(--muted); margin-top: 0; }
a { color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:focus, button:focus, input:focus, select:focus, summary:focus { outline: 4px solid #000; outline-offset: 3px; box-shadow: 0 0 0 7px var(--brand-orange); }
header.site a:focus, footer.site a:focus { outline-color: var(--brand-orange); box-shadow: 0 0 0 7px #000; }
.btn, button {
  display: inline-block; background: var(--brand-orange); color: #000; border: 2px solid #000; font-family: "Montserrat", "Inter", system-ui, sans-serif; border-radius: 0.5rem;
  min-height: 3.2rem; padding: 0.7rem 1.4rem; font-size: 1.1rem; font-weight: 700; cursor: pointer; text-decoration: none;
}
.btn:hover, button:hover { background: #E54E00; color: #000; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 0.75rem; padding: 1rem 1.2rem; margin: 1rem 0; }
.safety { background: var(--warn-bg); border: 2px solid var(--warn-border); border-radius: 0.75rem; padding: 1rem 1.2rem; margin: 1.2rem 0; }
.safety h2, .safety h3 { margin-top: 0; }
ul.plain { padding-left: 1.2rem; }
ul.plain li { margin: 0.5rem 0; }
form { background: var(--card); border: 1px solid var(--line); border-radius: 0.75rem; padding: 1.2rem; margin: 1rem 0; }
label { display: block; font-weight: 700; margin: 1rem 0 0.3rem; }
.hint { font-weight: 400; color: var(--muted); font-size: 0.9rem; display: block; }
input[type=text], input[type=email], select {
  width: 100%; min-height: 3.2rem; font-size: 1.05rem; padding: 0.6rem 0.8rem;
  border: 2px solid #6b7785; border-radius: 0.5rem; background: #fff; color: var(--ink);
}
.consent { display: flex; gap: 0.8rem; align-items: flex-start; margin: 1.3rem 0 1rem; font-weight: 400; }
.consent input { width: 1.6rem; height: 1.6rem; flex: none; margin-top: 0.2rem; }
.consent span { font-size: 0.95rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* spam honeypot, hidden from people */
details { background: var(--card); border: 1px solid var(--line); border-radius: 0.5rem; padding: 0.6rem 1rem; margin: 0.6rem 0; }
summary { cursor: pointer; font-weight: 700; padding: 0.3rem 0; }
footer.site { margin-top: 3rem; padding: 1.5rem 0 2.5rem; border-top: 4px solid var(--brand-orange); color: var(--brand-white); font-size: 0.95rem; background: var(--brand-black); }
footer.site a { color: var(--brand-orange); }
footer.site .fbrand { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; font-size: 1.05rem; margin-top: 0; }
.todo { background: #ffe3e3; border: 1px dashed #b00020; padding: 0 0.3rem; border-radius: 0.2rem; font-weight: 600; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { border: 1px solid var(--line); padding: 0.5rem; text-align: left; vertical-align: top; }
@media (min-width: 40rem) { h1 { font-size: 2.3rem; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.card h3:first-child { margin-top: 0; }
