:root {
  --pws-navy: #1B3A5C;
  --pws-steel: #4682B4;
  --pws-red: #E1251B;
  --pws-text: #1B3A5C;
  --pws-muted: #6B7280;
  --pws-line: #D8DEE4;
  --pws-bg: #FFFFFF;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--pws-bg);
  color: var(--pws-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 48px 24px;
}

main {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  flex: 1;
  justify-content: center;
}

.logo {
  width: 260px;
  max-width: 80vw;
  height: auto;
  display: block;
}

.portals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  max-width: 520px;
}

.portal-btn {
  display: block;
  padding: 18px 20px;
  background: #FFFFFF;
  color: var(--pws-navy);
  text-decoration: none;
  border: 1px solid var(--pws-line);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  transition: border-color 120ms ease, color 120ms ease, background 120ms ease;
}

.portal-btn:hover,
.portal-btn:focus-visible {
  border-color: var(--pws-navy);
  background: var(--pws-navy);
  color: #FFFFFF;
  outline: none;
}

.portal-btn--solo {
  grid-column: 1 / -1;
  justify-self: center;
  width: 50%;
  min-width: 220px;
}

.contact {
  text-align: center;
  font-size: 14px;
  color: var(--pws-muted);
  line-height: 1.8;
}

.contact a {
  color: var(--pws-navy);
  text-decoration: none;
  border-bottom: 1px solid var(--pws-line);
}

.contact a:hover {
  border-bottom-color: var(--pws-navy);
}

footer {
  font-size: 12px;
  color: var(--pws-muted);
  text-align: center;
  letter-spacing: 0.04em;
  margin-top: 48px;
}

@media (max-width: 480px) {
  body { padding: 32px 20px; }
  main { gap: 40px; }
  .portals { grid-template-columns: 1fr; max-width: 320px; }
  .portal-btn { padding: 16px 18px; }
}
