:root {
  --bg: #f4f1ea;
  --surface: #fffdf8;
  --text: #1f2a2e;
  --muted: #5b6a70;
  --line: #ded8cb;
  --accent: #2f6f8f;
  --accent-text: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12191c;
    --surface: #1a2327;
    --text: #e8ecec;
    --muted: #9aa8ad;
    --line: #2c383d;
    --accent: #6fb3d2;
    --accent-text: #0d1416;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
main {
  flex: 1;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 72px 16px 32px;
}
header { margin-bottom: 40px; }
.mark { display: block; margin-bottom: 20px; }
h1 { margin: 0 0 8px; font-size: 34px; line-height: 1.15; letter-spacing: -0.01em; }
.lead { margin: 0; font-size: 19px; }
.en { margin: 6px 0 0; color: var(--muted); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}
.card h2 { margin: 0 0 8px; font-size: 22px; }
.card p { margin: 0 0 18px; }
.button {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
}
.button:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }
.card .note { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
footer {
  padding: 24px 16px 32px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
