:root {
  --bg: #0b0d12;
  --bg-elevated: #12151c;
  --border: #232733;
  --text: #f2f3f5;
  --text-muted: #9aa1ae;
  --accent: #6ea8fe;
  --accent-soft: rgba(110, 168, 254, 0.12);
  --radius: 14px;
  --max-width: 720px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f8fa;
    --bg-elevated: #ffffff;
    --border: #e4e6eb;
    --text: #1a1d24;
    --text-muted: #5b6270;
    --accent: #3468d6;
    --accent-soft: rgba(52, 104, 214, 0.08);
  }
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 80px;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  text-decoration: none;
}

.brand .mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, #6ea8fe, #a06efe);
  flex-shrink: 0;
}

nav.site a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  margin-left: 20px;
}

nav.site a:hover,
nav.site a.active {
  color: var(--text);
}

.lang-select {
  margin-left: 20px;
  background: var(--bg-elevated);
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px 8px;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
}

.lang-select:hover {
  color: var(--text);
}

h1 {
  font-size: 30px;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.subtitle {
  color: var(--text-muted);
  font-size: 16px;
  margin: 0 0 40px;
}

.eyebrow {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0 0 6px;
}

section {
  margin-bottom: 36px;
}

h2 {
  font-size: 18px;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 12px;
  color: var(--text);
}

p.muted,
li.muted {
  color: var(--text-muted);
}

ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

li {
  margin-bottom: 6px;
}

a {
  color: var(--accent);
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
}

details.faq {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 10px;
}

details.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
}

details.faq summary::-webkit-details-marker {
  display: none;
}

details.faq summary::before {
  content: "+";
  display: inline-block;
  width: 18px;
  color: var(--accent);
  font-weight: 700;
}

details.faq[open] summary::before {
  content: "\2212";
}

details.faq p {
  margin-top: 10px;
  padding-left: 18px;
  color: var(--text-muted);
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

footer.site {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

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