:root {
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Outfit', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #fff;
  color: #023047;
  overflow-x: hidden;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 40;
}

.site-header + main {
  padding-top: 72px;
}

.mobile-menu-panel {
  background-color: #fff;
  border-radius: 0 0 0.75rem 0.75rem;
  box-shadow: 0 8px 20px rgba(2, 48, 71, 0.1);
  padding: 0 0.75rem;
}

img,
svg {
  max-width: 100%;
}

input,
textarea,
button {
  max-width: 100%;
}

.gradient-mesh {
  background-image:
    radial-gradient(1200px 600px at 10% 20%, rgba(33, 158, 188, 0.06), transparent 12%),
    radial-gradient(800px 450px at 90% 80%, rgba(2, 48, 71, 0.04), transparent 10%),
    linear-gradient(180deg, #ffffff 0%, #f8fdfd 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: #f1fcfc;
}

.hero-gradient {
  background-image:
    radial-gradient(circle at top left, rgba(33, 158, 188, 0.12), transparent 24%),
    radial-gradient(circle at bottom right, rgba(2, 48, 71, 0.08), transparent 28%);
}

.focus-ring:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(33, 158, 188, 0.18);
  outline-offset: 2px;
}

.card-shadow {
  box-shadow: 0 20px 60px rgba(2, 48, 71, 0.08);
}

.text-nowrap {
  white-space: nowrap;
}

@media (max-width: 640px) {
  h1,
  h2,
  h3,
  p,
  li {
    overflow-wrap: anywhere;
  }

  textarea {
    resize: vertical;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.language-switcher {
  position: fixed;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.95);
  font-size: 0.75rem;
  font-weight: 600;
  color: #023047;
  box-shadow: 0 1px 3px rgba(2, 48, 71, 0.1);
}

.language-switcher a {
  color: #219ebc;
  text-decoration: none;
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
}

.language-switcher a:hover,
.language-switcher a:focus-visible {
  color: #023047;
  background-color: #f0f9ff;
  outline: 2px solid #219ebc;
  outline-offset: 1px;
}

.language-switcher a[aria-current="true"] {
  color: #023047;
  cursor: default;
}
