@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --navy: #0a192a;
  --surface: #102a42;
  --blue: #0a7ef2;
  --cyan: #00c7f2;
  --white: #f4f9fc;
  --muted: #a8bfcb;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--navy);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: radial-gradient(ellipse at 50% 43%, #123451 0%, var(--navy) 65%);
  color: var(--white);
  font-family: "Manrope", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.portal {
  width: min(100%, 904px);
  margin-block: auto;
  padding: 64px 32px 52px;
  text-align: center;
}

.logo {
  display: block;
  width: 226px;
  height: auto;
  max-width: 100%;
  margin: 0 auto 60px;
}

.intro {
  margin-bottom: 36px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

h1 {
  margin: 0;
  font-size: clamp(25px, 3.5vw, 36px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.description {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  text-wrap: balance;
}

.actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.action {
  position: relative;
  display: flex;
  min-height: 230px;
  padding: 30px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  border: 1px solid #2c4a64;
  border-radius: 16px;
  background: var(--surface);
  color: var(--white);
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.action__icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid #346183;
  border-radius: 13px;
  background: #173b58;
  color: #72d8fb;
}

.action__icon svg {
  width: 30px;
  height: 30px;
}

.action__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.action__label {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.3;
}

.action__description {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.action__arrow {
  position: absolute;
  top: 44px;
  right: 30px;
  width: 24px;
  height: 24px;
  opacity: 0.8;
  transition: transform 180ms ease;
}

.action:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 5px;
}

@media (hover: hover) {
  .action:hover {
    transform: translateY(-4px);
    border-color: #70c6fa;
    box-shadow: 0 16px 32px #020d1b40;
  }

  .action:hover .action__arrow {
    transform: translateX(4px);
  }
}

.action:active {
  transform: translateY(0);
}

footer {
  padding: 0 24px 26px;
  color: #8ba5b7;
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
}

footer span {
  margin-inline: 9px;
}

@media (max-width: 600px) {
  .portal {
    max-width: 440px;
    padding: 40px 22px;
  }

  .logo {
    width: 196px;
    margin-bottom: 42px;
  }

  .intro {
    margin-bottom: 28px;
  }

  .description {
    font-size: 13px;
  }

  .actions {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .action {
    min-height: 190px;
    padding: 24px;
    gap: 25px;
  }

  .action__label {
    font-size: 26px;
  }

  .action__arrow {
    top: 37px;
    right: 24px;
  }
}

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