:root {
  --navy: #12344d;
  --blue: #1565c0;
  --light-blue: #eaf3fb;
  --gray: #667085;
  --border: #d7dee7;
  --background: #f4f7fa;
  --white: #ffffff;
  --text: #17212b;
}


* {
  box-sizing: border-box;
}


body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}


.header {
  padding: 24px 18px;
  color: var(--white);
  background: var(--navy);
}


.header-inner {
  max-width: 760px;
  margin: 0 auto;
}


.header h1 {
  margin: 0 0 6px;
  font-size: 28px;
}


.header p {
  margin: 0;
  opacity: 0.88;
}


.container {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}


.intro {
  margin-bottom: 18px;
}


.intro h2 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 22px;
}


.intro p {
  margin: 0;
  color: var(--gray);
  font-size: 14px;
}


.portal-links {
  display: grid;
  gap: 12px;
}


.portal-card {
  display: flex;
  align-items: center;
  gap: 16px;

  width: 100%;
  min-height: 84px;

  padding: 15px 17px;

  border: 1px solid var(--border);
  border-radius: 12px;

  color: inherit;
  background: var(--white);

  text-decoration: none;

  box-shadow:
    0 2px 8px
    rgba(16, 24, 40, 0.06);

  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}


.portal-card:hover {
  border-color: var(--blue);
  background: #f8fbfe;

  transform: translateY(-2px);

  box-shadow:
    0 6px 16px
    rgba(16, 24, 40, 0.10);
}


.portal-card:focus-visible {
  outline: 3px solid #9ec9ec;
  outline-offset: 3px;
}


.portal-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;

  flex-shrink: 0;

  border-radius: 12px;

  background: var(--light-blue);

  font-size: 23px;
}


.portal-content {
  display: flex;
  flex: 1;
  flex-direction: column;

  min-width: 0;
}


.portal-content strong {
  color: #1f2937;
  font-size: 16px;
}


.portal-content small {
  margin-top: 5px;

  color: var(--gray);

  font-size: 13px;
  line-height: 1.4;
}


.portal-arrow {
  flex-shrink: 0;

  color: var(--blue);

  font-size: 24px;
  font-weight: bold;

  transition: transform 160ms ease;
}


.portal-card:hover .portal-arrow {
  transform: translateX(3px);
}


@media (max-width: 600px) {

  .header h1 {
    font-size: 24px;
  }


  .container {
    padding-top: 20px;
  }


  .portal-card {
    gap: 13px;
    min-height: 80px;
    padding: 14px;
  }


  .portal-icon {
    width: 44px;
    height: 44px;

    font-size: 21px;
  }


  .portal-content strong {
    font-size: 15px;
  }


  .portal-arrow {
    font-size: 21px;
  }

}
