:root {
  color-scheme: dark;
  --bg: #020606;
  --panel: rgba(7, 18, 19, 0.88);
  --panel-2: rgba(255, 255, 255, 0.035);
  --text: #f5ffff;
  --muted: rgba(231, 255, 252, 0.64);
  --line: rgba(0, 255, 230, 0.24);
  --accent: #00ffe6;
  --accent-soft: rgba(0, 255, 230, 0.10);
  --danger: #ff6b7a;
  --max: 920px;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 255, 230, 0.10), transparent 32rem),
    radial-gradient(circle at 88% 12%, rgba(123, 92, 255, 0.09), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.58;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 100% 5px;
  opacity: 0.35;
}

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

.shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 22px 0 52px;
  position: relative;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 44px;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

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

.lang-switch {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0,0,0,0.34);
}

.lang-switch button {
  border: 0;
  border-radius: 999px;
  padding: 8px 13px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.lang-switch button.active {
  color: #001210;
  background: var(--accent);
}

.hero {
  margin-bottom: 24px;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 900;
}

h1 {
  margin: 8px 0 12px;
  font-size: clamp(36px, 7vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.lead {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
}

.meta {
  margin-top: 16px;
  color: rgba(231,255,252,0.46);
  font-size: 13px;
}

.notice {
  margin: 24px 0;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--accent-soft);
  color: rgba(244,255,253,0.82);
}

.card {
  margin-top: 14px;
  padding: clamp(18px, 4vw, 30px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, var(--panel), rgba(0,0,0,0.72));
  box-shadow: 0 22px 70px rgba(0,0,0,0.28);
}

.card h2 {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: -0.025em;
}

.card h3 {
  margin: 22px 0 8px;
  font-size: 16px;
}

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

.card ul {
  margin: 10px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.card li + li { margin-top: 7px; }

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 12px;
  padding: 0 18px;
  border: 1px solid rgba(0,255,230,0.55);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--text);
  font-weight: 900;
  text-decoration: none;
}

.action.primary {
  background: var(--accent);
  color: #001210;
}

.small {
  font-size: 13px;
  color: rgba(231,255,252,0.50);
}

footer {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(0,255,230,0.14);
  color: rgba(231,255,252,0.48);
  font-size: 13px;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 10px;
}

footer a {
  color: rgba(231,255,252,0.72);
  text-decoration: none;
}

[data-lang] { display: none; }
[data-lang].visible { display: block; }

.inline-lang[data-lang].visible { display: inline; }

@media (max-width: 700px) {
  .shell { width: min(calc(100% - 22px), var(--max)); }
  .topbar { margin-bottom: 30px; }
  .grid { grid-template-columns: 1fr; }
  .card { border-radius: 20px; }
}
