* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2933;
  background:
    radial-gradient(circle at top left, rgba(89, 140, 93, 0.18), transparent 32rem),
    linear-gradient(135deg, #f7f5ef 0%, #eef3ed 100%);
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hero {
  width: 100%;
  max-width: 760px;
  text-align: center;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 28px;
  padding: clamp(2rem, 6vw, 4rem);
  box-shadow: 0 24px 70px rgba(31, 41, 51, 0.12);
}

.badge {
  display: inline-block;
  margin-bottom: 1.25rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #3f6f43;
  background: #edf6ed;
}

h1 {
  font-size: clamp(2.3rem, 7vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  margin-bottom: 1rem;
  color: #18231a;
}

.intro {
  max-width: 560px;
  margin: 0 auto 2.25rem;
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
  line-height: 1.65;
  color: #52615a;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  color: #263328;
}

.language-selector {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1rem;
  flex-wrap: wrap;
}

.language-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-width: 160px;
  padding: 1rem 1.25rem;
  border-radius: 18px;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: #223024;
  background: #ffffff;
  border: 1px solid #e2e8df;
  box-shadow: 0 10px 24px rgba(31, 41, 51, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.language-card:hover,
.language-card:focus-visible {
  transform: translateY(-3px);
  border-color: #8eb891;
  box-shadow: 0 16px 32px rgba(31, 41, 51, 0.14);
  outline: none;
}

.flag {
  font-size: 1.45rem;
  line-height: 1;
}

@media (max-width: 560px) {
  .page {
    padding: 1rem;
  }

  .hero {
    border-radius: 22px;
    padding: 2rem 1.25rem;
  }

  .language-selector {
    flex-direction: column;
  }

  .language-card {
    width: 100%;
    min-width: 0;
  }
}