:root {
  --bg: #050816;
  --bg-alt: #0b1220;
  --card-bg: #111827;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.2);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --border-subtle: #1f2937;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #0f172a 0, #020617 55%, #020617 100%);
  color: var(--text-main);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}

.site-header {
  border-bottom: 1px solid var(--border-subtle);
  background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(8, 47, 73, 0.9));
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0.5rem;
}

.site-header h1 {
  font-size: clamp(1.4rem, 2.2vw + 1rem, 1.9rem);
  margin: 0;
}

.lang-switcher select {
  background: #020617;
  color: var(--text-main);
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
  outline: none;
}

.lang-switcher select:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-soft);
}

main.container {
  flex: 1;
  padding: 2rem 1rem 2.5rem;
}

.intro {
  text-align: left;
  margin-bottom: 2rem;
}

.intro h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.intro p {
  max-width: 40rem;
  color: var(--text-muted);
}

.facts,
.highlights,
.practical {
  margin-bottom: 2rem;
}

.facts-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}

.facts-list li {
  position: relative;
  margin-bottom: 0.4rem;
  padding-left: 1.4rem;
  color: var(--text-muted);
}

.facts-list li::before {
  content: "•";
  position: absolute;
  left: 0.2rem;
  top: 0;
  color: var(--accent);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.card {
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.15), transparent 60%),
    var(--card-bg);
  border-radius: 0.75rem;
  padding: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.8);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.7);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
}

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

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #020617;
  padding: 1rem 0;
}

.site-footer p {
  margin: 0.1rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.path-note {
  font-style: italic;
}

.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

@media (max-width: 600px) {
  .header-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .lang-switcher {
    align-self: stretch;
  }

  .lang-switcher select {
    width: 100%;
  }
}
