@font-face {
  font-family: "Replica Sans";
  src: url("/assets/ibm-plex-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Replica Wordmark";
  src: url("/assets/italiana-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: "Replica Sans", "IBM Plex Sans", system-ui, sans-serif;
  color: #202630;
  background: #fff;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
}

.landing {
  width: 100%;
  max-width: 560px;
  text-align: center;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 38px;
}

.brand-mark {
  display: block;
  width: 52px;
  height: 52px;
  filter: invert() brightness(.07);
}

.brand-wordmark {
  font-family: "Replica Wordmark", Georgia, serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: .01em;
  color: #111317;
}

h1 {
  margin: 0;
  font-size: clamp(36px, 4.4vw, 48px);
  font-weight: 400;
  line-height: 1.13;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.intro {
  max-width: 480px;
  margin: 22px auto 0;
  font-size: 18px;
  line-height: 1.65;
  color: #525c6c;
  text-wrap: pretty;
}

.sign-off {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: #303845;
}

.apply-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 48px;
  margin-top: 30px;
  padding: 13px 24px;
  border: 1px solid #23365d;
  border-radius: 8px;
  background: #23365d;
  color: #fff;
  font-size: 16px;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.apply-button:hover {
  background: #182849;
  border-color: #182849;
}

a:focus-visible {
  outline: 3px solid #647ca5;
  outline-offset: 5px;
}

.invitation {
  max-width: 330px;
  margin: 18px auto 0;
  font-size: 14px;
  line-height: 1.6;
  color: #687488;
  text-wrap: pretty;
}




@media (max-width: 600px) {
  main { padding: 48px 24px; }
  .brand { gap: 10px; margin-bottom: 30px; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-wordmark { font-size: 42px; }
  h1 { font-size: clamp(34px, 8.9vw, 42px); }
  .intro { margin-top: 20px; font-size: 17px; line-height: 1.6; }
  .sign-off { font-size: 15px; }
  .apply-button { margin-top: 26px; }
  .invitation { max-width: 300px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .apply-button { transition: none; }
}
