:root {
  color: #111317;
  background: #eef0f2;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  --red: #d81920;
  --ink: #111317;
  --muted: #686d75;
  --paper: #ffffff;
  --line: #d9dce0;
}

* { box-sizing: border-box; }

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

body { min-height: 100vh; }

.portal-shell {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  padding: clamp(24px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(216, 25, 32, .05), transparent 38%),
    #eef0f2;
}

.portal-card {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  padding: clamp(28px, 6vw, 72px);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(17, 19, 23, .12);
}

.portal-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: var(--red);
  content: "";
}

.portal-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .22em;
}

.portal-mark {
  padding: 7px 8px 6px;
  color: white;
  background: var(--red);
  font-size: 17px;
  letter-spacing: -.04em;
  transform: skewX(-7deg);
}

.portal-copy { margin: clamp(42px, 7vw, 76px) 0 38px; }
.portal-kicker { color: var(--red); font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.portal-copy h1 { max-width: 630px; margin: 12px 0 15px; font-size: clamp(36px, 7vw, 72px); font-weight: 900; letter-spacing: -.055em; line-height: .95; }
.portal-copy p { max-width: 520px; margin: 0; color: var(--muted); font-size: clamp(15px, 2vw, 18px); line-height: 1.6; }

.portal-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); }
.portal-link { position: relative; min-height: 174px; padding: 24px 54px 24px 24px; color: var(--ink); text-decoration: none; transition: color 160ms ease, background 160ms ease, transform 160ms ease; }
.portal-link + .portal-link { border-left: 1px solid var(--line); }
.portal-link-index { display: block; margin-bottom: 34px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.portal-link strong { display: block; font-size: clamp(20px, 3vw, 27px); letter-spacing: -.035em; }
.portal-link small { display: block; margin-top: 7px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.portal-arrow { position: absolute; right: 23px; bottom: 24px; color: var(--red); font-size: 26px; font-weight: 300; }
.portal-link:hover { z-index: 1; color: white; background: var(--ink); transform: translateY(-3px); }
.portal-link:hover .portal-link-index, .portal-link:hover small { color: #c4c7cb; }
.portal-link:focus-visible { z-index: 2; outline: 4px solid rgba(216, 25, 32, .28); outline-offset: 4px; }

.portal-footnote { margin: 23px 0 0; color: #8b8f96; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.portal-road { position: absolute; top: -14vh; right: 8vw; width: 90px; height: 128vh; background: #17191d; transform: rotate(9deg); box-shadow: -12px 0 0 rgba(216, 25, 32, .84); }
.portal-road i { position: absolute; left: 43px; width: 4px; height: 19%; background: rgba(255, 255, 255, .72); }
.portal-road i:nth-child(1) { top: 1%; }
.portal-road i:nth-child(2) { top: 40%; }
.portal-road i:nth-child(3) { top: 79%; }

@media (max-width: 720px) {
  .portal-shell { place-items: stretch; padding: 18px; }
  .portal-card { align-self: center; padding: 28px 24px 25px 31px; }
  .portal-copy { margin: 42px 0 30px; }
  .portal-actions { grid-template-columns: 1fr; }
  .portal-link { min-height: 142px; }
  .portal-link + .portal-link { border-top: 1px solid var(--line); border-left: 0; }
  .portal-link-index { margin-bottom: 22px; }
  .portal-road { right: -62px; opacity: .14; }
}

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