:root {
  --bg: #0f1117;
  --bg-2: #12141c;
  --text: #f3f4f6;
  --muted: #9ca3af;
  --accent: #f97316;
  --accent-ink: #1a1006;
  --line: #2a3040;
  --glow: rgba(249, 115, 22, 0.28);
  --card: #171a22;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f4f6f8;
  --bg-2: #eef1f5;
  --text: #171a21;
  --muted: #5c6575;
  --accent: #f97316;
  --accent-ink: #ffffff;
  --line: #e4e7ee;
  --glow: rgba(249, 115, 22, 0.18);
  --card: #ffffff;
  color-scheme: light;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  background:
    radial-gradient(820px 420px at 80% 0%, var(--glow), transparent 58%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

.shell {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 56px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 16px 0;
}

.nav::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
  pointer-events: none;
}

.brand img {
  width: 148px;
  height: 36px;
  object-fit: contain;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nav-tools a.ghost {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-tools a.ghost:hover { color: var(--text); }

.lang-switch {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.lang-switch a {
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}

.lang-switch a.is-active {
  color: var(--accent-ink);
  background: var(--accent);
}

.theme-toggle {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover { color: var(--text); }
:root[data-theme="light"] .theme-toggle__dark { display: none; }
:root:not([data-theme="light"]) .theme-toggle__light { display: none; }

.hero {
  margin-top: 48px;
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--card) 88%, transparent);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: #1ebe5d;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(30, 190, 93, 0.18);
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero h1 span { color: var(--accent); }

.lead {
  margin: 0 0 24px;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover { filter: brightness(1.05); }

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }

.version {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.points {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
  font-size: 0.98rem;
}

.points li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.foot {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 640px) {
  .nav { flex-wrap: wrap; }
  .hero { margin-top: 28px; padding: 24px 18px; }
  .nav-tools a.ghost:not(.is-keep) { display: none; }
}
