:root {
  color-scheme: light;
  --text: #1d1d1f; --muted: #6e6e73; --bg: #f6f3ec; --panel: #fffdf8; --rule: #121212;
  --red: #ce2024; --yellow: #f6d612; --blue: #141e96; --field: #ffffff; --error: #b3261e;
  --measure: 38rem;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; color: var(--text); background: var(--bg);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif; -webkit-font-smoothing: antialiased; }
.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 16px; }
.bar { display: flex; height: 10px; }
.bar span:nth-child(1) { flex: 5; background: var(--red); }
.bar span:nth-child(2) { flex: 2; background: var(--yellow); }
.bar span:nth-child(3) { flex: 1; background: var(--blue); }
header { padding: 48px 0 8px; }
.brand { display: flex; align-items: center; gap: 16px; color: inherit; text-decoration: none; }
.brand img { width: auto; height: 64px; display: block; }
.brand .wordmark { height: 30px; width: auto; display: block; }
main { padding: 8px 0 64px; }
h1 { font-size: 34px; line-height: 1.15; letter-spacing: -0.02em; margin: 28px 0 12px; }
h2 { font-size: 20px; margin: 32px 0 8px; }
p { margin: 0 0 14px; }
.lede { font-size: 20px; color: var(--muted); }
a { color: var(--blue); }
.button { display: inline-block; padding: 12px 20px; border: 3px solid var(--rule); background: var(--red);
  color: #fff; font-weight: 600; text-decoration: none; }
.button:hover { filter: brightness(1.08); }
.links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; }
form { margin-top: 20px; background: var(--panel); border: 3px solid var(--rule); padding: 20px; }
.form-row { margin-bottom: 16px; }
label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.hint { font-weight: 400; color: var(--muted); }
input, textarea { width: 100%; font: inherit; color: var(--text); background: var(--field);
  border: 1px solid var(--muted); padding: 8px 10px; border-radius: 0; }
input:focus, textarea:focus { outline: 3px solid var(--yellow); outline-offset: 0; }
button { font: inherit; font-weight: 600; padding: 10px 18px; border: 3px solid var(--rule);
  background: var(--blue); color: #fff; cursor: pointer; }
button:disabled { opacity: .6; cursor: default; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; font-weight: 600; }
.form-status.is-error { color: var(--error); }
footer { border-top: 1px solid var(--muted); padding: 20px 0 40px; font-size: 14px; color: var(--muted); }
footer a { color: inherit; }
.links { align-items: center; }
.note { font-size: 15px; color: var(--muted); margin-top: 20px; }
.descriptor { font-size: 22px; font-weight: 600; margin: -4px 0 18px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
footer .maker { margin-left: auto; }
h1 .phrase { white-space: nowrap; }
@media (max-width: 480px) { h1 { font-size: 27px; } .descriptor { font-size: 19px; } }
.entry { margin-top: 48px; padding: 20px 22px; background: var(--panel); border: 3px solid var(--rule);
  border-left-width: 12px; font-family: ui-serif, "New York", Georgia, serif; }
.entry p, .entry ol { margin: 0; }
.entry .headword { margin-bottom: 8px; }
.entry .word { font-size: 26px; font-weight: 700; letter-spacing: 0.01em; }
.entry .say { color: var(--muted); margin-left: 6px; }
.entry .say::before { content: "\\ "; } .entry .say::after { content: " \\"; }
.entry .pos { font-style: italic; margin-left: 6px; }
.entry ol { padding-left: 1.4em; }
.entry li { margin-bottom: 6px; }
.entry li::marker { font-weight: 700; }
.entry .etym { margin-top: 12px; font-size: 15px; color: var(--muted); }
