/* SPDX-License-Identifier: Apache-2.0 */
:root {
  --bg: #fbf8f3;
  --text: #2b2622;
  --muted: #6d645c;
  --accent: #9a4f2b;
  --card: #ffffff;
  --line: #e6ded3;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1a18;
    --text: #efe9e2;
    --muted: #b3a99f;
    --accent: #e39a6f;
    --card: #262320;
    --line: #3a3530;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--accent); }
header, main, footer { max-width: 46rem; margin: 0 auto; padding: 0 1.25rem; }
header { display: flex; align-items: baseline; justify-content: space-between; padding-top: 1.5rem; }
header .name { font-weight: 700; font-size: 1.25rem; color: var(--text); text-decoration: none; }
header nav a { margin-left: 1rem; color: var(--muted); text-decoration: none; }
header nav a:hover, header nav a[aria-current="page"] { color: var(--text); }
h1 { font-size: 2.3rem; line-height: 1.2; margin: 2.5rem 0 0.75rem; }
h2 { font-size: 1.35rem; margin: 2.5rem 0 0.5rem; }
h3 { font-size: 1.05rem; margin: 1.25rem 0 0.25rem; }
.lead { font-size: 1.2rem; color: var(--muted); margin-top: 0; }
.status {
  display: inline-block; margin: 0.5rem 0 0; padding: 0.25rem 0.75rem;
  border: 1px solid var(--line); border-radius: 999px; font-size: 0.9rem; color: var(--muted);
}
ol.steps { padding-left: 1.25rem; }
ol.steps li { margin: 0.5rem 0; }
.modes { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.mode { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; }
.mode h3 { margin-top: 0; }
.mode p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.updated { color: var(--muted); font-size: 0.95rem; }
footer { margin-top: 4rem; padding-top: 1.25rem; padding-bottom: 2.5rem; border-top: 1px solid var(--line);
         color: var(--muted); font-size: 0.9rem; }
footer a { color: var(--muted); margin-right: 1rem; }
.mode h3 small { font-weight: 400; color: var(--muted); font-size: 0.8rem; }
