:root {
  --bg: #ffffff;
  --bg2: #f6f7f9;
  --bg3: #eceef2;
  --text: #11161d;
  --text2: #444d59;
  --text3: #5e6877;
  --line: #d3d8de;
  --tint: #1f5fd6;
  --on-tint: #ffffff;
  --tint-soft: #1f5fd61f;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0f14;
    --bg2: #141a21;
    --bg3: #1d252e;
    --text: #f2f5f8;
    --text2: #b6bfca;
    --text3: #8d98a5;
    --line: #2b3540;
    --tint: #6ea3ff;
    --on-tint: #06142e;
    --tint-soft: #6ea3ff2e;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--tint); text-underline-offset: 2px; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--tint); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }
header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font-weight: 700; font-size: 20px; letter-spacing: -0.01em; color: var(--text); text-decoration: none; }
nav a { margin-left: 20px; color: var(--text2); text-decoration: none; font-size: 15px; }
nav a:hover { color: var(--text); }
.hero { padding: 72px 0 48px; }
h1 { font-size: clamp(34px, 7vw, 52px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 16px; }
h2 { font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; margin: 40px 0 12px; }
h3 { font-size: 18px; margin: 24px 0 6px; }
p { margin: 0 0 14px; }
.lead { font-size: 20px; color: var(--text2); max-width: 36em; }
.btn {
  display: inline-block; background: var(--tint); color: var(--on-tint);
  padding: 13px 22px; border-radius: 12px; font-weight: 600; text-decoration: none; margin-top: 8px;
}
.note { color: var(--text3); font-size: 15px; }
.grid { display: grid; gap: 14px; margin: 24px 0; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--bg2); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.card h3 { margin-top: 0; }
.card p { color: var(--text2); margin: 0; font-size: 16px; }
.band { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 48px 0; padding: 8px 0 24px; }
ul.plain { padding-left: 20px; margin: 0 0 14px; }
ul.plain li { margin-bottom: 6px; }
main.doc { padding: 40px 0 24px; }
main.doc h1 { font-size: 36px; }
footer.site { border-top: 1px solid var(--line); margin-top: 56px; padding: 24px 0 40px; color: var(--text3); font-size: 14px; }
footer.site a { color: var(--text3); margin-right: 16px; }
