/* paydown.acarr.org — brand: bg #111215, orange #D4643B, green #2E9E5B */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #111215;
  --panel: #1a1c21;
  --border: #2a2d34;
  --text: #e8e8ea;
  --muted: #9a9ba1;
  --orange: #d4643b;
  --green: #2e9e5b;
}

body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px 80px; }

header.site {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}
header.site img { width: 36px; height: 36px; border-radius: 8px; }
header.site .brand { font-weight: 700; font-size: 20px; color: var(--text); text-decoration: none; }
header.site nav { margin-left: auto; display: flex; gap: 16px; align-items: center; font-size: 14px; }

a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

h1 { font-size: 32px; line-height: 1.2; margin-bottom: 12px; }
h2 { font-size: 22px; margin: 28px 0 10px; }
h3 { font-size: 18px; margin: 22px 0 8px; }
h4 { font-size: 16px; margin: 18px 0 6px; }
p { margin-bottom: 14px; }
ul, ol { margin: 0 0 14px 22px; }
li { margin-bottom: 4px; }
blockquote { border-left: 3px solid var(--orange); padding-left: 14px; color: var(--muted); margin-bottom: 14px; }
code { background: var(--panel); border: 1px solid var(--border); border-radius: 4px; padding: 1px 5px; font-size: 14px; }

.hero { padding: 24px 0 8px; }
.hero .tagline { font-size: 20px; color: var(--muted); margin-bottom: 24px; }
.hero .accent { color: var(--green); }

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}
/* Highlight the card when a "Register" link jumps to it. */
.card:target { border-color: var(--orange); }

.post-item { padding: 18px 0; border-bottom: 1px solid var(--border); }
.post-item h3 { margin: 0 0 4px; }
.post-item h3 a { color: var(--text); }

form.stack { display: flex; flex-direction: column; gap: 10px; }
form.row { display: flex; gap: 10px; flex-wrap: wrap; }
input, textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
  flex: 1;
  min-width: 220px;
}
textarea { min-height: 160px; resize: vertical; }
input:focus, textarea:focus { outline: none; border-color: var(--orange); }

button {
  background: var(--orange);
  border: none;
  border-radius: 8px;
  color: #fff;
  font: inherit;
  font-weight: 600;
  padding: 10px 20px;
  cursor: pointer;
}
button:hover { filter: brightness(1.1); }
button.secondary { background: var(--panel); border: 1px solid var(--border); }
button:disabled { opacity: 0.5; cursor: default; }

.notice { border-radius: 8px; padding: 10px 14px; margin: 10px 0; font-size: 14px; display: none; }
.notice.ok { display: block; background: rgba(46, 158, 91, 0.12); border: 1px solid var(--green); color: var(--green); }
.notice.err { display: block; background: rgba(212, 100, 59, 0.12); border: 1px solid var(--orange); color: var(--orange); }

.comment { padding: 14px 0; border-bottom: 1px solid var(--border); }
.comment .meta { font-size: 13px; color: var(--muted); margin-bottom: 4px; }

footer.site {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
