/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  font-weight: var(--fw-regular);
  color: var(--text-on-dark);
  background: var(--gradient-soft-blue);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100svh;
}

img, svg, video, canvas { display: block; max-width: 100%; height: auto; }

input, button, textarea, select { font: inherit; color: inherit; }

button { cursor: pointer; background: none; border: none; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 { line-height: var(--lh-tight); font-weight: var(--fw-xbold); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.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;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.container--wide {
  width: 100%;
  max-width: var(--container-max-wide);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  line-height: 1;
  transition: transform var(--dur-fast) var(--ease),
              background-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--light {
  background: var(--color-white);
  color: var(--color-blue-secret);
  border-radius: 40px;
  padding: 23px 24px;
  font-size: 14px;
  line-height: 22px;
  font-weight: var(--fw-bold);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ---- Glass card (frosted surface on the blue gradient) ---- */
.glass-card {
  border-radius: 36px;
  background: var(--surface-glass);
  box-shadow: var(--shadow-card);
}
