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

:root {
  --bg: #04071a;
  --accent: #4f8ef7;
  --accent-3: #00c8e0;
  --text: #e8edf5;
  --muted: #5a6580;
  --border: rgba(79, 142, 247, 0.16);
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 60% 40% at 15% 0%, rgba(79, 142, 247, 0.1), transparent),
    linear-gradient(rgba(79, 142, 247, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 142, 247, 0.025) 1px, transparent 1px);
  background-size: 100% 100%, 52px 52px, 52px 52px;
  color: var(--muted);
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 35%, #7c5cfc 65%, transparent 100%);
  opacity: 0.6;
  z-index: 100;
  pointer-events: none;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.18s;
}
a:hover { color: var(--accent-3); }

.site-header {
  border-bottom: 1px solid var(--border);
  padding: 22px 40px;
  background: rgba(4, 7, 26, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-header-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-logo { width: 58px; height: 58px; object-fit: contain; flex-shrink: 0; }

.brand-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang-toggle {
  padding: 6px 14px;
  border: 1px solid rgba(79, 142, 247, 0.3);
  border-radius: 999px;
  background: rgba(79, 142, 247, 0.08);
  color: #4f8ef7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
  transition: background 0.2s, border-color 0.2s;
}
.lang-toggle:hover { background: rgba(79, 142, 247, 0.2); border-color: rgba(79, 142, 247, 0.55); }
.back-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.18s;
}
.back-link:hover { color: var(--text); }

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 40px 100px;
}

h1 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 8px;
}

.meta {
  font-size: 12px;
  font-weight: 400;
  color: rgba(90, 101, 128, 0.7);
  margin-bottom: 44px;
  font-family: 'JetBrains Mono', monospace;
}

.notice {
  border: 1px solid rgba(79, 142, 247, 0.18);
  background: rgba(79, 142, 247, 0.05);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 0 0 40px;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(232, 237, 245, 0.7);
}

h2 {
  font-size: 16px;
  font-weight: 600;
  color: rgba(232, 237, 245, 0.85);
  letter-spacing: -0.01em;
  margin-top: 48px;
  margin-bottom: 12px;
}

p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.82;
  margin-bottom: 14px;
  color: var(--muted);
}

p:last-child { margin-bottom: 0; }

ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

strong {
  font-weight: 600;
  color: rgba(232, 237, 245, 0.8);
}

.site-footer {
  border-top: 1px solid var(--border);
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 40px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s;
}
.site-footer a:hover { color: var(--text); }

@media (max-width: 600px) {
  .site-header { padding: 18px 20px; }
  main { padding: 48px 20px 80px; }
  .site-footer { padding: 20px; }
}
