:root {
  color-scheme: dark;
  --bg: #07111f;
  --surface: #10253c;
  --elevated: #17324e;
  --text: #f8fafc;
  --muted: #b7c6d8;
  --soft: #8295ac;
  --cyan: #38bdf8;
  --mint: #34d399;
  --amber: #fbbf24;
  --red: #fb7185;
  --line: rgba(183, 198, 216, 0.2);
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 92% -5%, rgba(56, 189, 248, 0.12), transparent 25rem),
    var(--bg);
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--cyan);
  text-underline-offset: 0.18em;
}

a:hover {
  color: #8bdcff;
}

a:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 4px;
  border-radius: 4px;
}

img {
  max-width: 100%;
}

.site-shell {
  width: min(100% - 40px, 1080px);
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

.site-nav,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.site-nav a,
.footer-nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.footer-nav a:hover {
  color: var(--text);
}

.language-link {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

main {
  padding: 72px 0 88px;
}

.hero {
  max-width: 760px;
  padding: 28px 0 54px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.3rem, 6vw, 4.8rem);
}

h2 {
  margin-top: 2.5rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

h3 {
  margin-top: 1.4rem;
  font-size: 1.1rem;
}

p,
ul {
  margin: 1rem 0 0;
}

.lead {
  max-width: 680px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.3vw, 1.3rem);
  line-height: 1.6;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 17px;
  border: 1px solid var(--cyan);
  border-radius: 12px;
  color: #04111d;
  background: var(--cyan);
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  color: var(--text);
  background: transparent;
  border-color: var(--line);
}

.button:hover {
  color: #04111d;
  background: #8bdcff;
}

.button.secondary:hover {
  color: var(--text);
  background: rgba(183, 198, 216, 0.1);
}

.feature-grid,
.link-grid,
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(16, 37, 60, 0.88);
  box-shadow: var(--shadow);
}

.card h2,
.card h3 {
  margin-top: 0;
}

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

.card .label {
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-intro {
  max-width: 700px;
  color: var(--muted);
}

.content {
  max-width: 820px;
}

.content > h2:first-child {
  margin-top: 0;
}

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

.content ul {
  padding-left: 1.3rem;
}

.content li + li {
  margin-top: 0.45rem;
}

.notice {
  margin-top: 24px;
  padding: 17px 19px;
  border-left: 3px solid var(--amber);
  border-radius: 10px;
  background: rgba(251, 191, 36, 0.08);
}

.notice p {
  margin-top: 0;
}

.success-note {
  border-left-color: var(--mint);
  background: rgba(52, 211, 153, 0.08);
}

.contact-card {
  display: inline-block;
  margin-top: 24px;
  padding: 20px 22px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 16px;
  background: rgba(56, 189, 248, 0.08);
}

.contact-card a {
  font-size: 1.05rem;
  font-weight: 800;
}

.meta {
  color: var(--soft);
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding: 26px 0 34px;
  border-top: 1px solid var(--line);
}

.footer-copy {
  margin: 0;
  color: var(--soft);
  font-size: 0.9rem;
}

.footer-nav {
  justify-content: flex-end;
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .site-nav {
    gap: 12px 16px;
  }

  main {
    padding: 48px 0 62px;
  }

  .hero {
    padding-top: 10px;
  }

  .feature-grid,
  .link-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

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