/* Registro Accademico — pagina principale */

/* ---------- Cornice ----------
 *
 * `.page`, `.site-header`, `.brand*`, `.site-nav*`, `.site-main` e le parti
 * condivise del piede stanno in `componenti.css`: la testata è di tre pagine —
 * questa, l'area personale e tutte le schermate dell'admin — e l'admin questo
 * foglio non lo carica.
 */

/* ---------- Sezione di apertura ---------- */

.hero {
  padding: clamp(56px, 9vh, 104px) clamp(24px, 5vw, 64px) clamp(48px, 7vh, 84px);
  max-width: 1440px;
  margin: 0 auto;
}

.hero__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.hero__kicker-rule {
  display: block;
  width: 34px;
  height: 2px;
  background: var(--red);
}

.hero__title {
  margin: 0;
  font-weight: 200;
  font-size: clamp(40px, 5.4vw, 74px);
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: pretty;
}

.hero__highlight {
  background: linear-gradient(to top, var(--yellow) 0.16em, transparent 0.16em);
  font-weight: 300;
}

.hero__lead {
  margin: 34px 0 0;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.62;
  font-weight: 300;
  color: var(--text-soft);
  max-width: 56ch;
  text-wrap: pretty;
}

.hero__sub {
  margin: 20px 0 0;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.62;
  font-weight: 300;
  color: var(--muted-cool);
  max-width: 54ch;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 44px;
}

.hero__link {
  font-size: 13px;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line-mid);
  padding-bottom: 4px;
}

.hero__link:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* ---------- Cosa contiene ---------- */

.features {
  margin-top: clamp(56px, 8vh, 96px);
  border-top: 2px solid var(--ink);
  padding-top: 26px;
}

.features__list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 3vw, 48px);
}

.feature {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.feature__bullet {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex: 0 0 auto;
  transform: translateY(-1px);
}

.feature__bullet--blue  { background: var(--blue); }
.feature__bullet--red   { background: var(--red); }
.feature__bullet--green { background: var(--green); }

.feature__title {
  font-size: 18px;
  color: var(--ink);
  font-weight: 400;
}

.feature__desc {
  font-size: 15px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.55;
  margin-top: 5px;
}

/* ---------- Area personale ---------- */

.access {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: clamp(48px, 7vh, 80px) clamp(24px, 5vw, 64px);
}

.access__card {
  max-width: 1440px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: clamp(32px, 4.5vw, 58px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(32px, 5vw, 72px);
  flex-wrap: wrap;
}

.access__text { max-width: 52ch; }

.access__dots { margin-bottom: 20px; }
.access__dots .eyebrow { margin-left: 8px; }

.access__title {
  margin: 0;
  font-weight: 200;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.access__body {
  margin: 18px 0 0;
  font-size: 17px;
  line-height: 1.62;
  font-weight: 300;
  color: var(--text-soft);
  text-wrap: pretty;
}

.access__cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  min-width: 250px;
}

.access__note {
  font-size: 13px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.5;
}

/* ---------- Piè di pagina ----------
 *
 * `.site-footer`, `.site-footer__bottom`, `.footer-brand__title` e
 * `.site-footer__fineprint` stanno in `componenti.css`: le usa anche il piede
 * ridotto dell'area di lavoro. Qui restano le parti che ha solo la homepage.
 */

.site-footer__grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(28px, 4vw, 60px);
}

.footer-brand__institution {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-cool);
  margin-top: 8px;
}

.footer-brand__rule {
  width: 44px;
  height: 2px;
  background: var(--yellow);
  margin-top: 20px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: flex-start;
}

.footer-col__label {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted-cool);
  margin-bottom: 5px;
}

.footer-col__text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
}

.footer-link {
  font-size: 15px;
  font-weight: 300;
  color: var(--on-dark);
  border-bottom: 1px solid var(--dark-link-rule);
  padding-bottom: 3px;
  width: fit-content;
}

.footer-link:hover {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}

.footer-link--spaced { margin: 6px 0; }
