/* movem.org — one small stylesheet for every page. No web fonts, no scripts. */

:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #5b5b60;
  --line: #e4e1da;
  --accent: #b83a14;
  --accent-soft: #fbe9e2;
  --max: 42rem;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131416;
    --surface: #1b1c1f;
    --text: #ececec;
    --muted: #a5a5ab;
    --line: #2c2d31;
    --accent: #ff8a5c;
    --accent-soft: #2e1f19;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--accent); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 0.5rem 1.25rem; padding-top: 1rem; padding-bottom: 1rem;
}
.brand { font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; color: var(--text); text-decoration: none; }
.brand span { color: var(--accent); }
.site-header nav { display: flex; gap: 1rem; font-size: 0.95rem; }
.site-header nav a { color: var(--muted); text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--text); text-decoration: underline; }

/* Content */
main { padding: 2.5rem 0 3rem; }
h1 { font-size: 2rem; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 0.75rem; }
h2 { font-size: 1.25rem; line-height: 1.3; margin: 2.25rem 0 0.5rem; }
h3 { font-size: 1.05rem; margin: 1.5rem 0 0.25rem; }
p, ul, ol { margin: 0 0 1rem; }
ul, ol { padding-left: 1.25rem; }
li { margin-bottom: 0.35rem; }
.lede { font-size: 1.2rem; color: var(--muted); }
.meta { color: var(--muted); font-size: 0.9rem; }

.hero { padding: 1.5rem 0 0.5rem; }
.hero h1 { font-size: 2.5rem; }

.badge {
  display: inline-block; margin: 0.5rem 0 1.5rem; padding: 0.35rem 0.75rem;
  border-radius: 999px; background: var(--accent-soft); color: var(--accent);
  font-weight: 600; font-size: 0.95rem;
}

.cards { list-style: none; padding: 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.cards li { margin: 0; padding: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.cards strong { display: block; margin-bottom: 0.25rem; }

.note {
  padding: 0.9rem 1rem; border-left: 3px solid var(--accent);
  background: var(--surface); border-radius: 0 8px 8px 0;
  margin: 0 0 1rem;
}
.note p:last-child { margin-bottom: 0; }

details { border-bottom: 1px solid var(--line); padding: 0.75rem 0; }
details summary { cursor: pointer; font-weight: 600; }
details p { margin: 0.5rem 0 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.875rem; }
.site-footer .wrap { padding-top: 1.5rem; padding-bottom: 2rem; }
.site-footer p { margin: 0 0 0.6rem; }
.site-footer a { color: var(--muted); }

@media (max-width: 30rem) {
  body { font-size: 16px; }
  h1 { font-size: 1.7rem; }
  .hero h1 { font-size: 2.1rem; }
  main { padding-top: 1.75rem; }
}
