:root {
  color-scheme: dark;
  --bg: #020617;
  --panel: rgba(15, 23, 42, 0.88);
  --panel-soft: rgba(30, 41, 59, 0.58);
  --border: rgba(148, 163, 184, 0.18);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --accent: #67e8f9;
  --accent-strong: #22d3ee;
  --warning: #fbbf24;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0%, rgba(6, 182, 212, 0.16), transparent 30rem),
    radial-gradient(circle at 90% 20%, rgba(99, 102, 241, 0.12), transparent 28rem),
    linear-gradient(180deg, #020617 0%, #0f172a 100%);
  color: var(--text);
  font: 16px/1.65 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}

a:hover,
a:focus-visible {
  color: #cffafe;
}

.shell {
  width: min(100% - 32px, 920px);
  margin: 0 auto;
  padding: 24px 0 64px;
}

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

.brand {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
}

.language-links {
  display: flex;
  gap: 8px;
}

.language-links a,
.legal-nav a {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 750;
  padding: 7px 11px;
  text-decoration: none;
}

.hero,
.language-card {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: 0 28px 90px rgba(2, 6, 23, 0.46);
  backdrop-filter: blur(18px);
}

.hero {
  padding: clamp(24px, 5vw, 44px);
}

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

h1,
h2,
h3 {
  color: #fff;
  line-height: 1.2;
}

h1 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2.1rem, 7vw, 4.4rem);
  letter-spacing: -0.045em;
}

.lead {
  max-width: 68ch;
  margin: 18px 0 0;
  color: #cbd5e1;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.84rem;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.language-card {
  margin-top: 18px;
  padding: clamp(22px, 5vw, 38px);
  scroll-margin-top: 18px;
}

.language-card > h2 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  letter-spacing: -0.025em;
}

.language-card h3 {
  margin: 30px 0 10px;
  font-size: 1.08rem;
}

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

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

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

.notice {
  margin: 20px 0;
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 18px;
  background: rgba(8, 145, 178, 0.09);
  padding: 16px 18px;
  color: #cffafe;
}

.warning {
  border-color: rgba(251, 191, 36, 0.28);
  background: rgba(245, 158, 11, 0.08);
  color: #fef3c7;
}

.steps {
  counter-reset: steps;
  list-style: none;
  padding: 0;
}

.steps li {
  position: relative;
  min-height: 42px;
  padding-left: 48px;
}

.steps li::before {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  background: rgba(34, 211, 238, 0.12);
  color: var(--accent);
  content: counter(steps);
  counter-increment: steps;
  font-weight: 900;
}

.contact-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--panel-soft);
  padding: 16px 18px;
}

.footer {
  padding: 24px 4px 0;
  color: #64748b;
  font-size: 0.78rem;
  text-align: center;
}

.pending {
  color: var(--warning);
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 20px, 920px);
    padding-top: 12px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .language-card {
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
