@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@700;800&display=swap");

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

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--f360-color-bg);
  color: var(--f360-color-text);
  font-family: var(--f360-font-family);
  font-size: var(--f360-font-size-base);
  line-height: var(--f360-line-height-base);
}

h1, h2, h3, h4 {
  line-height: 1.25;
  margin: 0 0 var(--f360-space-3);
  font-family: var(--f360-font-family-heading);
  font-weight: 800;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 var(--f360-space-3);
}

a {
  color: var(--f360-color-brand-300);
}

img, svg {
  max-width: 100%;
  display: block;
}

ul, ol {
  margin: 0;
  padding-left: 1.25rem;
}

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

/* Focus visibile per navigazione da tastiera (WCAG 2.1 AA) */
:focus-visible {
  outline: 3px solid var(--f360-color-focus-ring);
  outline-offset: 2px;
}

.f360-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--f360-color-brand-700);
  color: var(--f360-color-text-inverse);
  padding: var(--f360-space-2) var(--f360-space-4);
  z-index: 1000;
  border-radius: 0 0 var(--f360-radius-sm) 0;
}

.f360-skip-link:focus {
  left: 0;
}

.f360-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
