:root {
  --bg: #0e1014;
  --bg-elevated: #15181e;
  --surface: #1b1f27;
  --border: rgba(255, 255, 255, 0.1);
  --text: #f2f3f7;
  --text-muted: #a3a8b8;
  --primary: #7584ff;
  --success: #3ddc97;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Quicksand', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

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

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

header {
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
}

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

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 15px;
  font-weight: 600;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
}

nav a:hover,
nav a[aria-current='page'] {
  color: var(--text);
}

main {
  padding: 40px 0 64px;
}

h1 {
  font-size: 32px;
  line-height: 1.25;
  margin: 0 0 8px;
}

h2 {
  font-size: 22px;
  margin: 36px 0 8px;
}

h3 {
  font-size: 18px;
  margin: 24px 0 4px;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  margin: 20px 0;
}

.hero {
  text-align: center;
  padding: 32px 0 8px;
}

.hero img {
  width: 112px;
  height: 112px;
  border-radius: 26px;
}

.hero p {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 12px auto 0;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.features .card {
  margin: 0;
}

.features strong {
  display: block;
  color: var(--success);
  margin-bottom: 4px;
}

.lang-switch {
  font-size: 15px;
  font-weight: 600;
}

ul,
ol {
  padding-left: 22px;
}

li {
  margin: 4px 0;
}

footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  font-size: 14px;
  color: var(--text-muted);
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}
