/*
 * Pre-registration form. The look comes from accesso.css (shared with the CRM login);
 * here only the self-hosted fonts and what belongs to this page.
 * Fonts are served from this service so the public page makes no request to third parties
 * (SIL Open Font License, see fonts/README.md).
 */

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/inter-tight.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("fonts/jetbrains-mono.woff2") format("woff2");
}
@font-face {
  font-family: "Pixelify Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/pixelify-sans.woff2") format("woff2");
}

html, body { margin: 0; }
body { background: #f6f3ea; }
[hidden] { display: none !important; }

/* Honeypot: off screen, people never see it. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

#custom { display: contents; }
#turnstile:not(:empty) { margin: 0 0 16px; }
.acc-fatto { font: 700 calc(var(--acc-field) * 1.25) / 1.05 var(--acc-sans); letter-spacing: -.035em; }
/* Discord email and spam hint: bigger than body text, they must be read. */
.acc-fatto-nota { margin: 0 0 1.1rem; font: 600 calc(var(--acc-field) * .9) / 1.3 var(--acc-sans); letter-spacing: -.01em; }
.acc-fatto + .acc-fatto-nota { margin-top: 1.25rem; }
.acc-scelta a { color: inherit; }

/* Privacy notice page (privacy.html). */
.acc-colonna.acc-legale { width: min(100%, 46rem); line-height: 1.55; }
.acc-legale h2 { margin: 2rem 0 .75rem; font: 700 1.5rem / 1.15 var(--acc-sans); letter-spacing: -.02em; }
.acc-legale h3 { margin: 1.5rem 0 .5rem; font: 700 1.1rem / 1.2 var(--acc-sans); }
.acc-legale p, .acc-legale li { margin: 0 0 .6rem; }
.acc-legale ul, .acc-legale ol { padding-left: 1.25rem; margin: 0 0 1rem; }
.acc-legale hr { border: 0; border-top: 1px solid currentColor; opacity: .2; margin: 2rem 0; }
.acc-legale table { width: 100%; border-collapse: collapse; margin: 0 0 1rem; font-size: .95em; }
.acc-legale th, .acc-legale td { text-align: left; vertical-align: top; padding: .5rem .5rem .5rem 0; border-bottom: 1px solid rgba(0, 0, 0, .12); }
.acc-legale a { color: inherit; }
@media (max-width: 560px) { .acc-legale table, .acc-legale tbody, .acc-legale tr, .acc-legale td { display: block; } .acc-legale thead { display: none; } .acc-legale td:first-child { font-weight: 600; border-bottom: 0; padding-bottom: 0; } }
