/* Starter styles only. Replace when the real design is done. */
:root { --ink: #1b1f24; --muted: #5b6470; --line: #e3e6ea; --accent: #1f5f8b; --bg: #fff; }
* { box-sizing: border-box; }
body { margin: 0; font: 17px/1.65 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--accent); }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.screen-reader-text { position: absolute; left: -9999px; }
.screen-reader-text:focus { left: 10px; top: 10px; background: #fff; padding: 8px; z-index: 10; }

.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; flex-wrap: wrap; }
.site-title { font-weight: 700; text-decoration: none; color: var(--ink); }
.site-header nav { flex: 1; }
.site-header ul, .site-footer ul { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; flex-wrap: wrap; }
.account { display: flex; gap: 12px; align-items: center; }
.button, button { background: var(--accent); color: #fff; border: 0; border-radius: 6px; padding: 8px 14px; text-decoration: none; cursor: pointer; font: inherit; }

main.wrap { padding-top: 32px; padding-bottom: 64px; }
.entry { max-width: 720px; }
.rlr-meta, .rlr-terms { color: var(--muted); font-size: 0.9em; }
.card-list { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card { border: 1px solid var(--line); border-radius: 8px; padding: 18px; }
.card h2 { font-size: 1.15em; margin: 0 0 6px; }
.rlr-notice { background: #f4f7fa; border-left: 4px solid var(--accent); padding: 10px 14px; }
.rlr-notice--error { border-color: #b3261e; }
.citation { border-top: 1px solid var(--line); margin-top: 32px; }

.rlr-story-form label { display: block; font-weight: 600; }
.rlr-story-form input[type="text"], .rlr-story-form textarea { width: 100%; padding: 8px; font: inherit; }
.rlr-hint { color: var(--muted); font-size: 0.9em; }

.site-footer { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: 0.9em; }
