:root {
  --navy: #071f5f;
  --blue: #0877ff;
  --light-blue: #eaf5ff;
  --text: #06194d;
  --muted: #2d3c69;
  --line: #dce8f8;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(5, 31, 89, .10);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: #fff;
}

a { color: inherit; text-decoration: none; }

.site-header {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 clamp(24px, 4vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.96);
}

.logo {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 200;
  letter-spacing: -.06em;
  color: var(--navy);
  line-height: 1;
}

.logo span { color: var(--blue); }

.header-tagline {
  margin: 0;
  font-weight: 800;
  color: var(--navy);
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 410px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(52px, 7vw, 92px) clamp(24px, 5vw, 80px) 46px;
  background:
    radial-gradient(circle at 85% 15%, #dceeff 0 0, transparent 34%),
    linear-gradient(180deg, #f8fcff 0%, #eef7ff 100%);
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin: 0;
  max-width: 390px;
  font-size: clamp(42px, 5vw, 70px);
  line-height: .98;
  letter-spacing: -.06em;
  font-weight: 100;
  color: var(--navy);
}

.hero p {
  max-width: 430px;
  margin: 28px 0 0;
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.55;
  font-weight: 650;
  color: var(--text);
}

.hero-line,
.section-line {
  display: block;
  width: 58px;
  height: 3px;
  margin-top: 28px;
  border-radius: 999px;
  background: var(--blue);
}

.hero-visual {
  min-width: 0;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: contain;
}

.links-section {
  padding: 26px clamp(24px, 5vw, 72px) 34px;
  background: #fff;
}

.links-section h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.25;
  letter-spacing: -.035em;
  font-weight: 100;
  color: var(--navy);
}

.links-section .section-line {
  margin: 14px auto 34px;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 18px 22px;
  max-width: 1410px;
  margin: 0 auto;
}

.link-card {
  position: relative;
  min-height: 128px;
  padding: 22px 22px 20px;
  border: 1px solid #e4edf8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(3, 27, 76, .06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(8, 119, 255, .28);
  box-shadow: var(--shadow);
}

.card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, currentColor 13%, white);
}

.card-icon::before {
  content: "";
  width: 18px;
  height: 18px;
  display: block;
  border: 3px solid currentColor;
  border-radius: 4px;
}

.number {
  font-size: 17px;
  font-weight: 900;
  color: currentColor;
}

.link-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 900;
  color: var(--navy);
}

.link-card small {
  display: block;
  max-width: 190px;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 650;
  color: var(--text);
}

.arrow {
  position: absolute;
  right: 22px;
  bottom: 18px;
  width: 18px;
  height: 18px;
  color: currentColor;
}

.arrow::before,
.arrow::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 999px;
}

.arrow::before {
  width: 16px;
  height: 2px;
  top: 8px;
  left: 0;
}

.arrow::after {
  width: 9px;
  height: 9px;
  top: 4px;
  right: 1px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  background: transparent;
  transform: rotate(45deg);
}

.green { color: #18a53b; }
.orange { color: #ff7a18; }
.blue { color: #0877ff; }
.purple { color: #6c3ad5; }
.teal { color: #0d8b93; }
.yellow { color: #f7aa00; }
.pink { color: #ff3d7f; }

.site-footer {
  display: flex;
  justify-content: center;
  gap: clamp(28px, 9vw, 140px);
  padding: 28px 24px;
  background: linear-gradient(90deg, #002d82, #0046b7, #002d82);
  color: #fff;
  font-weight: 750;
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 42px;
  }

  .hero h1,
  .hero p { max-width: 720px; }

  .hero-visual img { max-height: none; }

  .link-grid { grid-template-columns: repeat(3, minmax(160px, 1fr)); }
}

@media (max-width: 760px) {
  .site-header {
    height: 70px;
    padding: 0 22px;
  }

  .header-tagline { display: none; }

  .hero {
    padding: 34px 20px 26px;
    gap: 26px;
  }

  .hero h1 {
    font-size: clamp(34px, 11vw, 50px);
  }

  .hero p {
    margin-top: 20px;
    font-size: 16px;
  }

  .hero-visual {
    margin-inline: -20px;
  }

  .hero-visual img {
    width: 112%;
    max-width: none;
    margin-left: -6%;
  }

  .links-section {
    padding: 28px 16px 28px;
  }

  .link-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .link-card {
    min-height: 72px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
  }

  .card-top {
    margin: 0;
    gap: 10px;
  }

  .card-icon {
    width: 38px;
    height: 38px;
  }

  .link-card strong {
    margin: 0;
    font-size: 16px;
  }

  .link-card small { display: none; }

  .arrow {
    position: relative;
    right: auto;
    bottom: auto;
  }

  .site-footer {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }
}
