:root {
  color-scheme: light;
  --orange: #f58220;
  --ink: #2d2d2f;
  --muted: #747477;
  --surface: #f5f5f4;
  --footer: #222223;
  --shadow: 0 17px 34px rgb(26 26 26 / 9%), 0 2px 5px rgb(26 26 26 / 5%);
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 1rem;
  left: 1rem;
  transform: translateY(-180%);
  border-radius: .45rem;
  padding: .7rem .9rem;
  background: var(--ink);
  color: #fff;
  font-size: .875rem;
  text-decoration: none;
  transition: transform 160ms ease;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  display: flex;
  align-items: center;
  height: 6.4rem;
  max-width: 77.75rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .66rem;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -.035em;
  text-decoration: none;
}

.brand-mark { width: 2.8rem; height: 2.8rem; object-fit: contain; }

.page-content {
  display: grid;
  min-height: calc(100svh - 6.4rem - 10.8rem);
  place-items: center;
  padding: 3.5rem 1.5rem 5rem;
}

.login-section { width: min(100%, 77.75rem); }

.login-card {
  display: flex;
  min-height: 17.5rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  border: 1px solid #ededec;
  border-radius: .75rem;
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.login-card:hover {
  transform: translateY(-4px);
  background: #f8f8f7;
  box-shadow: 0 23px 40px rgb(26 26 26 / 12%), 0 3px 8px rgb(26 26 26 / 5%);
}

.login-card:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }

.login-card__eyebrow {
  margin-bottom: .9rem;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .115em;
  text-transform: uppercase;
}

.login-card__title {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 650;
  letter-spacing: -.06em;
  line-height: 1;
}

.login-card__action {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  margin-top: 1.7rem;
  color: #545458;
  font-size: .96rem;
  font-weight: 590;
}

.login-card__arrow {
  display: grid;
  width: 2.05rem;
  height: 2.05rem;
  place-items: center;
  border-radius: 999px;
  background: #161617;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease;
}

.login-card:hover .login-card__arrow { transform: translateX(3px); background: var(--orange); }

.login-help {
  max-width: 45rem;
  margin: 2rem auto 0;
  color: #68686b;
  font-size: .94rem;
  line-height: 1.65;
  text-align: center;
}

.site-footer {
  display: grid;
  min-height: 10.8rem;
  place-items: center;
  padding: 2rem 1.5rem;
  background: var(--footer);
  color: #a6a6a9;
  text-align: center;
}

.site-footer p { max-width: 21rem; margin: 0; font-size: .91rem; line-height: 1.55; }

@media (max-width: 42rem) {
  .site-header { height: 5.5rem; padding: 0 2.2rem; }
  .brand span { display: none; }
  .brand-mark { width: 1.6rem; height: 1.6rem; }
  .page-content { min-height: calc(100svh - 5.5rem - 11.6rem); padding: 2.25rem 2.2rem 3.75rem; }
  .login-card { min-height: 17rem; padding: 2.4rem 1.25rem; }
  .login-card__title { font-size: 2.7rem; }
  .login-help { margin-top: 1.6rem; font-size: .875rem; text-align: left; }
  .site-footer { min-height: 11.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
