* {
  box-sizing: border-box;
}

:root {
  --bg: #f3f6f8;
  --surface: #ffffff;
  --text: #17212b;
  --muted: #66727f;
  --primary: #0f6071;
  --primary-dark: #0a4855;
  --border: #dfe6ea;
  --shadow: 0 12px 30px rgba(26, 47, 58, 0.08);
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 96, 113, .14), transparent 28rem),
    linear-gradient(180deg, #f7fafb 0%, var(--bg) 100%);
}

.page {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 28px;
}

.hero {
  text-align: center;
  margin-bottom: 32px;
}

.logo {
  width: min(210px, 58vw);
  height: auto;
  margin: 0 auto 18px;
  display: block;
}

h1 {
  margin: 0;
  color: #003887;
  font-size: clamp(30px, 6vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.intro {
  max-width: 680px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.links {
  display: grid;
  gap: 14px;
}

.card {
  display: grid;
  grid-template-columns: 52px 1fr 28px;
  gap: 16px;
  align-items: center;
  padding: 17px 18px;
  color: inherit;
  text-decoration: none;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 96, 113, .35);
  box-shadow: 0 16px 36px rgba(26, 47, 58, 0.12);
}

.icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(15, 96, 113, .09);
  color: #003887;
}

.icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h2 {
  margin: 0 0 4px;
  font-size: 17px;
  line-height: 1.25;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.arrow {
  color: var(--primary);
  font-size: 25px;
  line-height: 1;
}

footer {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  color: #7a8792;
  font-size: 13px;
}

footer a,
footer a:visited {
  color: inherit;
  text-decoration: none;
  transition: color 200ms ease;
}

footer a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.error {
  padding: 18px;
  border: 1px solid #f1c6c6;
  border-radius: 14px;
  background: #fff4f4;
  color: #8c2e2e;
  text-align: center;
}

@media (max-width: 560px) {
  .page {
    width: min(100% - 22px, 760px);
    padding-top: 20px;
  }

  .logo {
    width: min(125px, 36vw);
    margin-bottom: 8px;
  }

  .hero {
    margin-bottom: 18px;
  }

  h1 {
    font-size: 27px;
  }

  .card {
    grid-template-columns: 46px 1fr 20px;
    gap: 12px;
    padding: 15px;
    border-radius: 16px;
  }

  .icon {
    width: 46px;
    height: 46px;
  }

  .card h2 {
    font-size: 16px;
  }

  .card p {
    font-size: 13px;
  }
}
