:root {
  --uc-blue: #1295D8;
  --uc-gold: #FFB511;
  --uc-dark-blue: #005581;
  --uc-navy: #002033;
  --white: #FFFFFF;
  --ink: #182E3B;
  --muted: #526775;
  --surface: #F4F8FA;
  --border: #DCE5EA;
  --uc-header-gradient: linear-gradient(105deg, #1295D8 0%, #005581 55%, #002033 100%);
  --uc-footer-gradient: linear-gradient(105deg, #002033 0%, #005581 45%, #1295D8 100%);
}
*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Source Sans 3", Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--uc-gold); outline-offset: 4px; }
.site-header {
  background: var(--uc-dark-blue);
  background-image: var(--uc-header-gradient);
  border-bottom: 4px solid var(--uc-gold);
  box-shadow: 0 2px 12px rgba(0, 32, 51, .11);
}
.header-inner {
  width: min(1120px, calc(100% - 48px));
  min-height: 116px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
/* UC's official stacked wordmark, without a duplicate typed name. */
.brand-link { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand-wordmark {
  position: relative;
  width: 176px;
  aspect-ratio: 723 / 343;
  display: block;
}
.brand-wordmark img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.wordmark-bg { position: absolute; left: 0; background: #fff; height: 26%; z-index: 0; }
.wordmark-bg-top { top: 0; width: 100%; }
.wordmark-bg-mid { top: 38%; width: 28%; }
.wordmark-bg-bottom { bottom: 0; width: 100%; }
.brand-link:hover { opacity: .92; }
.site-header a:focus-visible { outline-color: var(--uc-gold); }
.header-context { color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; text-align: right; }
main { flex: 1; display: grid; place-items: center; padding: 58px 24px 72px; }
.hero {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, .91fr);
  min-height: 480px;
  background: var(--white);
  box-shadow: 0 20px 65px rgba(0, 40, 65, .085);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.intro {
  background: var(--uc-dark-blue);
  background-image: radial-gradient(circle at 95% -7%, rgba(114,205,244,.22), transparent 38%), linear-gradient(145deg, #00699E 0%, var(--uc-dark-blue) 50%, var(--uc-navy) 100%);
  color: var(--white);
  padding: clamp(42px, 5.2vw, 78px) clamp(30px, 5vw, 72px);
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.intro::after {
  content: ''; width: 320px; height: 320px; border: 55px solid rgba(255,255,255,.05);
  position: absolute; right: -190px; bottom: -190px; border-radius: 50%; pointer-events: none;
}
.intro h1 { max-width: 440px; font-family: "Source Serif 4", Georgia, "Times New Roman", serif; margin: 0 0 19px; font-size: clamp(36px, 4.4vw, 58px); line-height: 1.12; font-weight: 700; letter-spacing: -.035em; }
.intro p:not(.eyebrow) { max-width: 370px; margin: 0; font-size: 17px; line-height: 1.68; color: #DFEFF8; }
.intro-footer { font-size: 12px; font-weight: 700; color: #C5DFED; letter-spacing: .04em; margin-top: 38px; }
.sign-in { padding: clamp(38px, 5vw, 70px) clamp(30px, 5.5vw, 76px); display: flex; flex-direction: column; justify-content: center; }
.icon-wrap { display: grid; place-items: center; width: 57px; height: 57px; border-radius: 14px; background: #E8F5FC; color: var(--uc-dark-blue); margin-bottom: 29px; }
.sign-in .section-label { margin: 0 0 10px; color: var(--uc-dark-blue); text-transform: uppercase; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.sign-in h2 { margin: 0 0 13px; color: var(--uc-navy); font-family: "Source Serif 4", Georgia, "Times New Roman", serif; font-size: clamp(29px, 3.2vw, 37px); line-height: 1.2; letter-spacing: -.03em; }
.description { margin: 0; max-width: 385px; color: var(--muted); line-height: 1.67; font-size: 15px; }
.sign-in-btn {
  margin-top: 33px; min-height: 58px; width: 100%; display: inline-flex; justify-content: center; align-items: center; gap: 12px;
  background: var(--uc-gold); color: var(--uc-navy); padding: 15px 20px; border-radius: 6px;
  font-weight: 800; font-size: 15px; line-height: 1.3; text-align: center; text-decoration: none;
  transition: background-color .16s ease, transform .16s ease;
}
.sign-in-btn:hover { background: #FFD200; transform: translateY(-1px); }
.sign-in-btn:active { transform: translateY(0); }
.fine-print { margin: 19px 0 0; padding-top: 18px; border-top: 1px solid var(--border); color: #596D79; font-size: 12px; line-height: 1.65; }
.fine-print strong { color: var(--uc-dark-blue); }
/* UC blue-only gradient, reversed relative to the header. */
.site-footer {
  border-top: 4px solid var(--uc-gold);
  background: var(--uc-dark-blue);
  background-image: var(--uc-footer-gradient);
  color: var(--white);
}
.footer-inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 30px 0 32px;
  text-align: left;
  font-size: 14px;
  line-height: 1.5;
}
.footer-content { width: 100%; }
.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}
.footer-nav a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  text-underline-offset: 4px;
}
.footer-nav a:hover, .footer-nav a:focus-visible { text-decoration: underline; }
.footer-legal {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.32);
  color: var(--white);
  font-size: 13px;
}
.footer-legal a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-legal a:hover { text-decoration-thickness: 2px; }
.footer-separator { display: inline-block; margin: 0 11px; }
@media (max-width: 780px) {
  .header-inner { min-height: 100px; }
  .header-context { display: none; }
  main { padding: 28px 16px 36px; }
  .hero { grid-template-columns: 1fr; }
  .intro { min-height: 280px; padding: 34px; }
  .intro h1 { font-size: clamp(33px, 7vw, 46px); }
  .intro-footer { margin-top: 26px; }
  .sign-in { padding: 40px 34px 44px; }
  .footer-inner { text-align: left; }
}
@media (max-width: 440px) {
  .header-inner { width: calc(100% - 32px); }
  .footer-inner { width: calc(100% - 32px); }
  .brand-wordmark { width: 146px; }
  .intro { padding: 29px 25px; min-height: 280px; }
  .intro h1 { font-size: 36px; }
  .intro p:not(.eyebrow) { font-size: 15px; }
  .sign-in { padding: 34px 25px 38px; }
}
@media (prefers-reduced-motion: reduce) { .sign-in-btn { transition: none; } }
