:root {
  --bg: #fbf8f2;
  --surface: #ffffff;
  --text: #1d2629;
  --muted: #4a5659;
  --accent: #2b6555;
  --accent-text: #ffffff;
  --line: #ddd6c8;
  --focus: #b3410e;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121816;
    --surface: #1b2320;
    --text: #e8eee9;
    --muted: #b6c2bc;
    --accent: #8fd1b8;
    --accent-text: #0f1513;
    --line: #33403b;
    --focus: #ffb37a;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.wrap { max-width: 44rem; margin: 0 auto; padding: 0 16px; }
a { color: var(--accent); text-underline-offset: 0.15em; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 1; }

.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; min-height: 56px; }
.home { font-weight: 600; text-decoration: none; padding: 12px 0; }
.home::before { content: "\2190\00a0"; }
.brand { font-weight: 700; padding: 12px 0; }
.brand-line { font-weight: 700; }

main { padding-top: 32px; padding-bottom: 40px; }
h1 { font-size: 1.9rem; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 1.3rem; line-height: 1.3; margin: 32px 0 8px; }
.lede { font-size: 1.15rem; color: var(--muted); margin: 0 0 16px; }

.cards { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.card a {
  display: flex; gap: 16px; align-items: center;
  padding: 16px; min-height: 96px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  color: var(--text); text-decoration: none;
}
.card a:hover { border-color: var(--accent); }
.card-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.card-name { font-weight: 700; font-size: 1.15rem; color: var(--accent); }
.card-tag { color: var(--muted); font-size: 0.98rem; line-height: 1.45; }

.pic { display: contents; }
.icon { width: 64px; height: 64px; flex: none; border-radius: 14px; }
.icon.big { width: 88px; height: 88px; border-radius: 20px; }
.mono {
  display: inline-flex; align-items: center; justify-content: center;
  background: #23325e; color: #f6e7c8; font-weight: 700; font-size: 1.4rem; letter-spacing: 0.04em;
}
.icon.big.mono { font-size: 1.9rem; }

.hero { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.hero > div { flex: 1 1 14rem; }
.feats { padding-left: 1.2em; }
.feats li { margin: 0 0 10px; }
.note { border-left: 4px solid var(--line); padding: 4px 0 4px 12px; color: var(--muted); }
.status { color: var(--muted); font-size: 0.95rem; }
.button {
  display: inline-block; padding: 12px 20px; min-height: 48px;
  background: var(--accent); color: var(--accent-text);
  border-radius: 999px; text-decoration: none; font-weight: 600;
}

.policy h1 { font-size: 1.7rem; }
.policy ul { padding-left: 1.2em; }
.policy li { margin: 0 0 8px; }

.foot { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; padding: 16px 0 32px; }
.foot p { margin: 4px 0; }

@media (min-width: 40rem) {
  h1 { font-size: 2.3rem; }
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
