/* warshawportal.com, the client's front door: their logo and the way in. The house foundations (Inter, the 4 px grid,
   a control's 6 px radius, the blue focus ring, 44 px targets on touch, light only); the one accent is Warshaw's navy,
   sampled from their logo, instead of the house teal, because a client's brand wins on its own page (DESIGN.md). */
@font-face {
  font-family: "Inter";
  src: url("/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #17171C;
  --accent: #252264;
  --accent-hover: #1E1B5F;
  --accent-pressed: #18155B;
  --focus-ring: #2F6FEB;
}

* { box-sizing: border-box; }

html { height: 100%; }

body {
  margin: 0;
  min-height: 100%;
  display: grid;
  place-items: center;
  background: #FFFFFF;
  color: var(--ink);
  font: 400 16px/1.5 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: 48px 16px;
}

h1 { margin: 0; }

h1 img {
  display: block;
  width: min(560px, calc(100vw - 32px));
  height: auto;
}

.sign-in {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 24px;
  border-radius: 6px;
  background: var(--accent);
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 140ms ease;
}

.sign-in:hover { background: var(--accent-hover); }
.sign-in:active { background: var(--accent-pressed); }
.sign-in:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

@media (pointer: coarse) {
  .sign-in { min-height: 44px; }
}

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