.portal-page, .portal-page * { box-sizing: border-box; }
body.portal-page {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.portal-page .site-header,
.portal-page .site-footer { flex: 0 0 auto; }
.portal-main {
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  width: 100%;
  display: grid;
  align-items: center;
  padding: clamp(24px, 5vh, 64px) max(20px, calc((100vw - 900px) / 2));
}
.portal-copy { width: 100%; max-width: 760px; margin: auto; }
.portal-eyebrow { margin: 0 0 14px; color: var(--blue); font-size: .72rem; font-weight: 760; letter-spacing: .15em; text-transform: uppercase; }
.portal-copy h1 { margin: 0 0 18px; color: var(--ink); font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.7rem); line-height: 1.08; letter-spacing: -.035em; }
.portal-copy p { color: var(--muted); line-height: 1.65; font-size: 1rem; }
.portal-copy .portal-eyebrow { color: var(--blue); font-size: .72rem; }
.portal-copy .portal-lede { font-size: clamp(1.06rem, 2vw, 1.25rem); color: var(--ink); }
.portal-destination { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.portal-destination strong { color: var(--blue); }
.portal-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.portal-actions a { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border: 1px solid var(--line); border-radius: 999px; padding: 11px 20px; font-size: .88rem; font-weight: 740; text-decoration: none; color: var(--ink); }
.portal-actions .portal-outbound { color: #101831; border-color: transparent; background: linear-gradient(120deg, var(--mint), var(--blue)); }
.portal-actions a:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.portal-copy .portal-note { font-size: .82rem; color: var(--quiet); margin: 18px 0 0; }
.portal-page [hidden] { display: none !important; }
.portal-page .skip-link { position: fixed; top: 8px; left: 8px; z-index: 50; padding: 12px; color: #101831; background: var(--mint); transform: translateY(-180%); }
.portal-page .skip-link:focus { transform: none; }
@media (max-width: 520px) {
  .portal-main { align-items: start; padding: 24px 20px; }
  .portal-copy h1 { font-size: 2rem; margin-bottom: 14px; }
  .portal-copy p { font-size: .94rem; line-height: 1.5; }
  .portal-copy .portal-lede { font-size: 1.03rem; }
  .portal-destination { margin-top: 20px; padding-top: 14px; }
  .portal-actions { gap: 10px; margin-top: 18px; }
  .portal-actions a { padding-inline: 16px; }
}
