:root {
  color-scheme: light;
  --ink: #14213d;
  --muted: #586174;
  --paper: #fbfcff;
  --panel: #ffffff;
  --line: #d9deeb;
  --blue: #0b238f;
  --orange: #ff6b00;
  --green: #0f766e;
  --shadow: 0 18px 45px rgba(20, 33, 61, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 107, 0, 0.08), rgba(255, 255, 255, 0) 24rem),
    var(--paper);
}

a {
  color: inherit;
}

.portal {
  width: min(980px, calc(100% - 40px));
  min-height: calc(100vh - 64px);
  margin: 0 auto;
  padding: 72px 0 36px;
  display: grid;
  align-content: center;
  gap: 36px;
}

.intro {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.logo {
  width: 128px;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(11, 35, 143, 0.14));
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 3.6rem;
  line-height: 0.95;
  letter-spacing: 0;
}

.lede {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.7;
}

.links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.link-card {
  min-height: 124px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(20, 33, 61, 0.04);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(11, 35, 143, 0.42);
  box-shadow: var(--shadow);
  outline: none;
}

.link-label {
  font-size: 1.02rem;
  font-weight: 760;
}

.link-url {
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .portal {
    width: min(100% - 28px, 560px);
    padding-top: 44px;
    gap: 30px;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .logo {
    width: 104px;
  }

  h1 {
    font-size: 2.55rem;
  }

  .lede {
    font-size: 1rem;
    line-height: 1.62;
  }

  .links {
    grid-template-columns: 1fr;
  }

  .link-card {
    min-height: 92px;
  }
}
