:root {
  --tenant-primary: #155c63;
  --white: #fff;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  color: var(--white);
  background: #172624;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.uth-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  background-color: #172624;
  background-image: url("../images/university-tenant-hero-v2.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.uth-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: rgb(8 18 17 / 54%);
}

.uth-header {
  width: min(1320px, calc(100% - 64px));
  min-height: 104px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgb(255 255 255 / 42%);
}

.uth-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  text-decoration: none;
  font-size: 18px;
  font-weight: 760;
}

.uth-brand img {
  width: 50px;
  height: 50px;
  padding: 4px;
  object-fit: contain;
  border-radius: 12px;
  background: var(--white);
}

.uth-login,
.uth-button {
  min-height: 50px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(255 255 255 / 82%);
  border-radius: 10px;
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 760;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.uth-login:hover,
.uth-login:focus-visible,
.uth-button--secondary:hover,
.uth-button--secondary:focus-visible {
  color: #14201f;
  background: var(--white);
  border-color: var(--white);
}

.uth-content {
  width: min(1320px, calc(100% - 64px));
  min-height: calc(100svh - 104px);
  margin: 0 auto;
  padding: 80px 0 max(88px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

.uth-content h1 {
  max-width: 980px;
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(54px, 8vw, 118px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .94;
  text-wrap: balance;
}

.uth-actions {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.uth-button--primary {
  min-width: 150px;
  color: var(--white);
  background: var(--tenant-primary);
  border-color: var(--tenant-primary);
}

.uth-button--primary:hover,
.uth-button--primary:focus-visible {
  color: var(--white);
  background: #101817;
  border-color: #101817;
}

.uth-button--secondary { background: rgb(8 18 17 / 34%); }
.uth-login:focus-visible, .uth-button:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }

@media (max-width: 680px) {
  .uth-header, .uth-content { width: min(100% - 32px, 1320px); }
  .uth-header { min-height: 84px; }
  .uth-brand { font-size: 15px; }
  .uth-brand img { width: 44px; height: 44px; }
  .uth-login { min-height: 44px; padding: 0 16px; }
  .uth-content { min-height: calc(100svh - 84px); padding-top: 52px; padding-bottom: max(40px, env(safe-area-inset-bottom)); }
  .uth-content h1 { font-size: clamp(48px, 15vw, 70px); overflow-wrap: anywhere; }
  .uth-actions { width: 100%; margin-top: 30px; flex-direction: column; }
  .uth-button { width: 100%; }
}
