* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --primary: #47a4e7;
  --green: #2a9d8f;
  --accent: #e9c46a;
  --dark: #303030;
  --muted: rgba(48, 48, 48, 0.8);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: #ffffff;
  color: var(--dark);
  font-family: "Montserrat", Arial, sans-serif;
}

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-right: 16px;
  padding-left: 16px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  background: var(--primary);
}

.site-header.is-scrolled:not(.is-menu-open) {
  border-bottom-color: #ffffff;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  width: auto;
  height: 48px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
}

.nav-links a {
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.nav-links a:hover {
  opacity: 0.8;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
}

.language-switcher span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  border-radius: 999px;
  padding: 4px 7px;
}

.language-switcher .is-active {
  background: #ffffff;
  color: var(--primary);
}

.mobile-menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: #ffffff;
  padding: 8px;
  cursor: pointer;
}

.mobile-menu-button svg {
  display: block;
  width: 24px;
  height: 24px;
}

.mobile-panel {
  display: none;
  max-height: 0;
  overflow: hidden;
  background: var(--primary);
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.site-header.is-menu-open .mobile-panel {
  max-height: 100vh;
  opacity: 1;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 0;
}

.mobile-links a {
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
}

.hero {
  padding: 128px 0 96px;
  background: linear-gradient(135deg, var(--green), var(--accent));
  text-align: center;
}

.hero h1 {
  max-width: 920px;
  margin: 0 auto 16px;
  color: #ffffff;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  font-weight: 800;
}

.hero p {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.legal-section {
  padding: 64px 0;
  background: #f9fafb;
}

.legal-card {
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(48, 48, 48, 0.12);
}

.legal-content {
  padding: clamp(24px, 5vw, 48px);
  line-height: 1.75;
}

.meta {
  display: inline-block;
  margin: 0 0 24px;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h2 {
  margin: 34px 0 12px;
  color: var(--dark);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.25;
  font-weight: 800;
}

h2:first-of-type {
  margin-top: 0;
}

p {
  margin: 0 0 14px;
  color: var(--muted);
}

ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

li {
  margin: 10px 0;
}

.legal-content a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

.cta-section {
  padding: 64px 0;
  background: #ffffff;
  text-align: center;
}

.cta-box {
  max-width: 680px;
  margin: 0 auto;
}

.cta-box h2 {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 4vw, 2.4rem);
}

.cta-box p {
  margin-bottom: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 8px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(48, 48, 48, 0.16);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.button:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

.secondary-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
}

.secondary-links a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.secondary-links a:hover {
  text-decoration: underline;
}

.site-footer {
  padding: 16px 0;
  background: var(--primary);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-inner img {
  display: block;
  height: 32px;
}

.footer-inner p {
  margin: 0;
  color: #ffffff;
  font-size: 0.875rem;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.875rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 1023px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-panel {
    display: block;
  }

  .hero {
    padding-top: 132px;
  }

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