/* whensbest.app's static pages. Colours are the app's own (specs/whenbest/identity.md), light then dark: flat rounded
   tiles, no shadows, the system font. A file of its own, so the Content-Security-Policy needs nothing inline. */
:root {
  color-scheme: light dark;
  --link: #2451BB; --page: #F7F8FB; --surface: #FFFFFF; --text: #1A1F2B; --muted: #555D6E;
  --line: #E1E4EB; --best: #1F7F48; --on-best: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
  :root {
    --link: #9DB8F5; --page: #14161C; --surface: #1E2129; --text: #F2F4F8; --muted: #B4BAC8; --line: #343946;
    --best: #52C985; --on-best: #0B1830;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--text); overflow-wrap: anywhere;
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--link); }
a:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
img { display: block; }
.band { background: var(--surface); border-bottom: 1px solid var(--line); padding: 40px 16px; text-align: center; }
.band img { margin: 0 auto 12px; border-radius: 22px; }
.band h1 { margin: 0; font-size: 2.5rem; letter-spacing: -0.02em; }
.band p { margin: 4px 0 0; font-size: 1.15rem; }
.bar { background: var(--surface); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; color: var(--text); font-weight: 800;
  text-decoration: none; }
.brand img { border-radius: 8px; }
main { max-width: 760px; margin: 0 auto; padding: 8px 16px 16px; }
h1 { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; margin: 16px 0 8px; }
h2 { font-size: 1.25rem; font-weight: 800; margin: 28px 0 8px; }
h3 { font-size: 1rem; margin: 16px 0 4px; }
p { margin: 8px 0; }
.lead { font-size: 1.15rem; margin-top: 20px; }
.muted { color: var(--muted); }
.notice { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 10px; }
.steps li { counter-increment: step; position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 14px 14px 14px 62px; min-height: 68px; }
.steps li::before { content: counter(step); position: absolute; left: 14px; top: 14px; width: 36px; height: 36px;
  border-radius: 8px; background: var(--best); color: var(--on-best); font-weight: 800; line-height: 36px; text-align: center; }
.steps b { display: block; font-weight: 800; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin: 12px 0; background: var(--surface); }
th, td { border: 1px solid var(--line); padding: 6px 8px; text-align: left; vertical-align: top; }
.foot { display: flex; flex-wrap: wrap; gap: 8px 16px; max-width: 760px; margin: 24px auto 0; padding: 16px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 0.875rem; }
.foot span { margin-left: auto; }
