:root {
  --accent:       #1D4E89;
  --accent-hover: #14385F;
  --accent-mark:  rgba(29, 78, 137, .18);

  --ink:   #14181F;
  --text:  #3B4250;
  --muted: #5B6472;
  --line:  #E3E6EB;
  --white: #FFFFFF;

  --font-text:    -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --radius: 8px;
}

@supports (color: color-mix(in srgb, red, blue)) {
  :root { --accent-mark: color-mix(in srgb, var(--accent) 18%, transparent); }
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
}

p { margin: 0; }

img { display: block; max-width: 100%; height: auto; }

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.mark {
  background: linear-gradient(
    transparent 60%,
    var(--accent-mark) 60%,
    var(--accent-mark) 94%,
    transparent 94%
  );
  padding: 0 .06em;
}

.page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.portal {
  flex: 1;
  display: flex;
  align-items: center;
  padding: clamp(48px, 8vw, 96px) var(--gutter);
}

.portal__inner {
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 5vw, 56px);
}

.portal__head { display: flex; flex-direction: column; gap: 12px; }

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}

.portal__title {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -.025em;
}

.choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 20px;
}

.site-footer { border-top: 1px solid var(--line); }
.site-footer__inner {
  max-width: calc(1040px + 2 * var(--gutter));
  margin-inline: auto;
  padding: 24px var(--gutter);
  font-size: 14px;
  color: var(--muted);
}
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--ink); }

.choice {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s ease;
}
.choice:hover,
.choice:focus-within { border-color: var(--accent); }

.choice__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #F1F3F6;
}

.choice__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 28px 28px;
}

.choice__title { font-size: 28px; line-height: 1.2; letter-spacing: -.015em; }

.choice__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: auto;
  font-weight: 600;
  text-decoration: none;
}
.choice__link::after {
  content: "";
  position: absolute;
  inset: 0;
}
.choice__link:focus-visible { outline: none; }
.choice:has(.choice__link:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.arrow { flex: none; transition: transform .2s ease; }
.choice:hover .arrow,
.choice:focus-within .arrow { transform: translateX(4px); }

.choice__legal {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.choice__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--muted);
}
.choice__legal a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after { transition: none !important; }
}
