:root {
  color: #173247;
  background: #ffffff;
  font-family:
    Inter, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: #ffffff;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  background: rgba(184, 232, 250, 0.94);
  border-bottom: 1px solid rgba(23, 50, 71, 0.08);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
}

.site-title {
  font-size: 1.45rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: clamp(18px, 4vw, 36px);
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  content: "";
  background: #168bb8;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

main {
  width: min(960px, calc(100% - 40px));
  min-height: 0;
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  align-content: start;
  height: 100%;
  min-height: 0;
  padding: 32px 0;
  overflow: hidden;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  content: "";
  border-radius: 50%;
  filter: blur(1px);
}

.hero::before {
  top: 14%;
  right: 4%;
  width: 180px;
  height: 180px;
  background: #e5f7fd;
  animation: float 7s ease-in-out infinite;
}

.hero::after {
  right: 20%;
  bottom: 17%;
  width: 46px;
  height: 46px;
  background: #b8e8fa;
  animation: float 5s ease-in-out infinite reverse;
}

.eyebrow {
  margin: 0 0 14px;
  color: #168bb8;
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.18em;
}

.hero h1 {
  margin: 0;
  color: #102b3e;
  font-size: 2rem;
  line-height: 1.4;
  letter-spacing: 0;
}

.site-footer {
  padding: 20px;
  color: #5e7583;
  background: #f2faff;
  text-align: center;
}

.site-links {
  margin-top: 24px;
}

.site-links ul {
  margin: 0;
  padding-left: 1.5rem;
}

.site-links li + li {
  margin-top: 8px;
}

.site-link {
  display: inline-block;
  padding: 8px 0;
  color: #126b8e;
  font-size: 1.125rem;
  line-height: 1.5;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.site-link:hover {
  color: #102b3e;
}

.site-link:focus-visible {
  outline: 3px solid #168bb8;
  outline-offset: 4px;
}

.site-footer p {
  margin: 0;
  font-size: 0.82rem;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@media (max-width: 560px) {
  .header-inner {
    width: min(100% - 28px, 1120px);
    min-height: 64px;
  }

  .site-title {
    font-size: 1.25rem;
  }

  .site-nav {
    gap: 16px;
  }

  .site-nav a {
    font-size: 0.88rem;
  }

  main {
    width: min(100% - 32px, 960px);
  }

  .hero {
    padding: 24px 0;
  }

  .hero::before {
    right: -60px;
    width: 150px;
    height: 150px;
  }

}

@media (max-height: 560px) {
  .header-inner {
    min-height: 56px;
  }

  .site-footer {
    padding: 12px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
