:root {
  --font-body-rounded: "Nunito", "Segoe UI", sans-serif;
  --font-display-rounded: "Comfortaa", "Nunito", sans-serif;
  --font-ui-rounded: "Quicksand", "Nunito", sans-serif;
}

body {
  background:
    radial-gradient(760px 520px at 8% 14%, rgba(37, 99, 235, 0.28), transparent 68%),
    radial-gradient(720px 520px at 52% 38%, rgba(29, 78, 216, 0.2), transparent 70%),
    radial-gradient(760px 520px at 92% 18%, rgba(37, 99, 235, 0.16), transparent 72%),
    #0b1120;
  color: #f3f4f6;
  font-family: var(--font-body-rounded);
}

.hero-title-rounded {
  font-family: var(--font-display-rounded);
  font-weight: 800;
}

h2,
h3,
h4,
.text-2xl,
.text-3xl,
.text-4xl,
.text-5xl,
.text-6xl {
  font-family: var(--font-display-rounded);
}

button,
.btn,
a.rounded-md,
summary,
nav a {
  font-family: var(--font-ui-rounded);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0b1120;
}

::-webkit-scrollbar-thumb {
  background: #1f2937;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #374151;
}

.glass-effect {
  background: rgba(10, 16, 30, 0.78);
  backdrop-filter: blur(10px);
}

.nav-mobile {
  display: none;
  padding-bottom: 12px;
}

.nav-mobile a {
  display: block;
  border-bottom: 1px solid rgba(31, 41, 55, 0.5);
  padding: 10px 0;
  font-size: 14px;
  font-weight: 500;
  color: #9ca3af;
}

.nav-mobile a:hover {
  color: #fff;
}

.nav-mobile.open {
  display: block;
}

.formmsg {
  display: none;
  margin-top: 10px;
  border: 1px solid rgba(156, 163, 175, 0.3);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.4;
}

.formmsg--ok {
  border-color: rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.1);
}

.formmsg--err {
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.1);
}

.formmsg--neutral {
  border-color: rgba(59, 130, 246, 0.4);
  background: rgba(59, 130, 246, 0.1);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hp-wrap {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent-wrap {
  transition: transform 0.2s ease;
}

.consent-check {
  -webkit-appearance: none;
  appearance: none;
  margin-top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1px solid #5b6b86;
  background: linear-gradient(180deg, #0f172a, #111827);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.12s ease;
}

.consent-check::after {
  content: "";
  width: 11px;
  height: 11px;
  background: #ffffff;
  clip-path: polygon(14% 52%, 0 67%, 43% 100%, 100% 24%, 84% 10%, 41% 75%);
  transform: scale(0);
  transform-origin: center;
  transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1.1);
}

.consent-check:checked {
  border-color: #4f86ff;
  background: linear-gradient(180deg, #3b82f6, #1d4ed8);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2), 0 8px 18px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

.consent-check:checked::after {
  transform: scale(1);
}

.consent-check:active {
  transform: scale(0.96);
}

.consent-check:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.28);
}

.consent-label-text {
  color: #c4ccda;
}

.consent-label-text a {
  color: #d7e5ff;
  text-underline-offset: 2px;
}
