:root {
  color-scheme: light;
  --green: #00693e;
  --green-dark: #004d2d;
  --on-green: #ffffff;
  --line: #a7bbae;
  --text: #202122;
  --muted: #54595d;
  --page: #f5f8f6;
  --card: #ffffff;
}
html.theme-night {
  color-scheme: dark;
  --green: #2e9e6a;
  --green-dark: #58b98b;
  --on-green: #0b130f;
  --line: #54595d;
  --text: #eaecf0;
  --muted: #a2a9b1;
  --page: #101418;
  --card: #202122;
}
html.theme-night .logo img { filter: invert(1) hue-rotate(180deg); }
@media (prefers-color-scheme: dark) {
  html.theme-os {
  color-scheme: dark;
  --green: #2e9e6a;
  --green-dark: #58b98b;
  --on-green: #0b130f;
  --line: #54595d;
  --text: #eaecf0;
  --muted: #a2a9b1;
  --page: #101418;
  --card: #202122;
  }
  html.theme-os .logo img { filter: invert(1) hue-rotate(180deg); }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 17px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
main {
  max-width: 34rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 2rem;
}
.logo { display: block; }
.logo img { display: block; width: 90%; height: auto; }
h1 { font-size: 1.75rem; line-height: 1.2; margin: 1rem 0 0.5rem; }
.description { margin: 0 0 1.5rem; }
.actions { display: grid; gap: 0.75rem; }
.button {
  display: block;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 2px solid var(--green);
  border-radius: 10px;
  background: var(--card);
  color: var(--green-dark);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
.button.primary { background: var(--green); color: var(--on-green); }
.button:focus-visible, .theme-choice button:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }
.hint { margin: -0.4rem 0 0.25rem; color: var(--muted); font-size: 0.9rem; text-align: center; }
.lists { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.lists a {
  display: block;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--text);
  text-decoration: none;
}
.lists strong { display: block; color: var(--green-dark); }
.lists span { color: var(--muted); font-size: 0.95rem; }
footer {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
footer a { color: inherit; }
.theme-choice { margin: 1rem 0 0; display: flex; width: fit-content; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.theme-choice[hidden] { display: none; }
.theme-choice button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 40px;
  padding: 0.4rem 0.8rem;
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}
.theme-choice button:first-child { border-left: 0; }
.theme-choice button[aria-pressed="true"] { background: var(--green); color: var(--on-green); font-weight: 600; }
