:root {
  --bg: #0B1320;
  --bg-soft: #1B2A41;
  --surface: #1E293B;
  --surface-2: #23324D;
  --primary: #38BDF8;
  --primary-dim: #54C5F8;
  --text: #F1F5F9;
  --text-dim: #94A3B8;
  --text-mute: #64748B;
  --border: rgba(56, 189, 248, 0.14);
  --border-soft: rgba(255, 255, 255, 0.06);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 40% at 50% -10%, rgba(56, 189, 248, 0.1), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

main, header, footer { position: relative; z-index: 1; }

header {
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.logo {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, #0EA5E9 100%);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.4);
  display: grid;
  place-items: center;
  color: var(--bg);
  font-weight: 700;
  font-size: 14px;
  font-family: 'IBM Plex Mono', monospace;
}

.lang-switch {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
  border-radius: 100px;
  border: 1px solid var(--border-soft);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
}

.lang-switch a {
  padding: 6px 12px;
  border-radius: 100px;
  color: var(--text-dim);
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: 0.05em;
}

.lang-switch a.active {
  background: var(--primary);
  color: var(--bg);
  font-weight: 600;
}

.lang-switch a:not(.active):hover { color: var(--text); }

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 32px 80px;
}

.page-header {
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-soft);
}

.page-header .tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}

h1 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.updated {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--text-mute);
}

article h2 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.01em;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--text);
}

article h2:first-child { margin-top: 0; }

article h2 .num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--primary);
  margin-right: 12px;
  font-weight: 400;
}

article p {
  color: var(--text-dim);
  margin-bottom: 16px;
  font-size: 16px;
}

article a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(56, 189, 248, 0.3);
  transition: border-color 0.2s;
}

article a:hover {
  border-bottom-color: var(--primary);
}

.support-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  margin: 32px 0;
}

.support-card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 8px;
}

.support-card .email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
  color: var(--primary);
  text-decoration: none;
  padding: 10px 16px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 0.2s;
}

.support-card .email:hover {
  background: rgba(56, 189, 248, 0.14);
}

.faq-item {
  border-bottom: 1px solid var(--border-soft);
  padding: 24px 0;
}

.faq-item:last-child { border-bottom: none; }

.faq-item h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text);
}

.faq-item p {
  color: var(--text-dim);
  font-size: 15px;
  margin-bottom: 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 56px;
  padding: 10px 16px;
  color: var(--text-dim);
  font-size: 14px;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  transition: all 0.2s;
}

.back-link:hover {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.02);
}

footer {
  border-top: 1px solid var(--border-soft);
  padding: 32px;
  margin-top: 80px;
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--text-mute);
}

@media (max-width: 700px) {
  header { padding: 20px; }
  main { padding: 40px 20px 60px; }
  article h2 { font-size: 20px; }
  article h2 .num { display: block; margin-bottom: 4px; }
}
