:root {
  --bg: #0f1115;
  --card: #1a1d24;
  --text: #e8eaed;
  --muted: #9aa0a6;
  --accent: #4f8cff;
  --border: #2a2e37;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans", "Yu Gothic", sans-serif;
  background:
    radial-gradient(1200px 600px at 50% -200px, color-mix(in srgb, var(--accent) 14%, transparent), transparent),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 40%, transparent));
  z-index: 10;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}

header { margin-bottom: 8px; }

h1 {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.updated { color: var(--muted); margin-top: 10px; font-size: 0.9rem; }

header::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 20px;
  border-radius: 2px;
  background: var(--accent);
}

h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 44px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 26px;
  margin-bottom: 8px;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
}

p { margin-bottom: 12px; }

ul { margin: 0 0 12px 1.25em; }

li { margin-bottom: 6px; }

a {
  color: var(--accent);
  text-decoration: none;
  text-underline-offset: 3px;
}

a:hover { text-decoration: underline; }

.lang-en { color: var(--muted); font-size: 0.9rem; margin-bottom: 18px; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 16px;
}

address {
  font-style: normal;
  display: inline-block;
  margin-top: 4px;
  padding: 12px 18px;
  background: color-mix(in srgb, var(--accent) 12%, var(--card));
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
  border-radius: 12px;
  font-weight: 600;
}

footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

footer a { color: var(--muted); }

footer .links { margin-bottom: 12px; }

.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 36px;
  padding: 7px 14px;
  font-size: 0.85rem;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: border-color 0.15s, color 0.15s;
}

.back:hover {
  color: var(--text);
  border-color: var(--accent);
  text-decoration: none;
}
