* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #28415c;
  background:
    radial-gradient(circle at top left, rgba(255, 214, 153, 0.35), transparent 24%),
    radial-gradient(circle at top right, rgba(166, 225, 255, 0.32), transparent 22%),
    radial-gradient(circle at bottom left, rgba(209, 244, 199, 0.22), transparent 20%),
    #fdfcff;
}

a {
  color: #1c66b3;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.narrow {
  width: min(760px, 100%);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  background: linear-gradient(180deg, #ffffff 0%, #f1f9ff 100%);
  border-bottom: 1px solid #d8e8f6;
  box-shadow: 0 8px 24px rgba(30, 76, 122, 0.08);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
}

.site-logo {
  font-size: 2rem;
  font-weight: 800;
  color: #1b4f8a;
  letter-spacing: 0.3px;
}

.site-logo span {
  color: #ff9a3d;
}

.tagline {
  margin: 6px 0 0;
  color: #5d7690;
  font-size: 1rem;
}

.search-area {
  position: relative;
  min-width: 300px;
}

.search-area input {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid #cfe1f0;
  border-radius: 999px;
  font-size: 1rem;
  background: #fff;
}

.search-area input:focus {
  outline: none;
  border-color: #72c2ff;
  box-shadow: 0 0 0 5px rgba(114, 194, 255, 0.18);
}

.search-results {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 100%;
  background: #ffffff;
  border: 1px solid #d8e8f6;
  border-radius: 20px;
  box-shadow: 0 16px 38px rgba(18, 52, 86, 0.14);
  overflow: hidden;
}

.search-results a,
.search-results p {
  display: block;
  padding: 12px 14px;
  margin: 0;
  border-bottom: 1px solid #eef4f9;
}

.search-results a:last-child,
.search-results p:last-child {
  border-bottom: none;
}

.search-results a:hover {
  background: #f4faff;
  text-decoration: none;
}

.no-results {
  color: #59728a;
}

.main-nav {
  background: linear-gradient(90deg, #2a63a0 0%, #4d86c5 100%);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 13px 0;
}

.nav-links a {
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
}

.hero {
  padding: 70px 0 58px;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 213, 143, 0.38), transparent 18%),
    radial-gradient(circle at 85% 15%, rgba(164, 221, 255, 0.34), transparent 18%),
    linear-gradient(180deg, #eef8ff 0%, #fdfcff 100%);
}

.hero-grid {
  display: flex;
  justify-content: center;
}

.hero-copy {
  max-width: 780px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff5dc 0%, #ffe7b5 100%);
  color: #935d10;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 8px 18px rgba(255, 175, 66, 0.16);
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 5vw, 4.1rem);
  line-height: 1.08;
  color: #1a4778;
  letter-spacing: -0.02em;
}

.hero-text {
  font-size: 1.15rem;
  color: #506b84;
  max-width: 720px;
  margin: 0 auto;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.button {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.15rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 8px 18px rgba(22, 61, 103, 0.10);
}

.button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 26px rgba(22, 61, 103, 0.14);
  text-decoration: none;
}

.button.primary {
  background: linear-gradient(180deg, #ffb05c 0%, #ff9442 100%);
  color: #ffffff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.96);
  color: #1b4f8a;
  border: 2px solid #cfe1f0;
}

.animal-button-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.animal-button-grid .button {
  font-size: 1.08rem;
  padding: 13px 20px;
}

.hero-card,
.feature-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #dbeaf7;
  border-radius: 28px;
  box-shadow: 0 12px 28px rgba(22, 61, 103, 0.08);
}

.hero-card {
  padding: 24px;
}

.hero-card h2 {
  margin-top: 0;
  margin-bottom: 12px;
  color: #183f69;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  letter-spacing: -0.01em;
}

.hero-card ul {
  padding-left: 20px;
  margin: 0;
}

.section-pad {
  padding: 68px 0;
}

.alt-bg {
  background: linear-gradient(180deg, #f3fbff 0%, #eef8ff 100%);
}

h2 {
  margin-top: 0;
  margin-bottom: 14px;
  color: #1c4c7d;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.15;
}

h3 {
  color: #1f5a96;
  font-size: 1.4rem;
}

.section-intro {
  margin-bottom: 26px;
  color: #5a748d;
  font-size: 1.08rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  padding: 24px;
}

.feature-card p {
  color: #4c6680;
}

.name-list {
  margin: 24px 0 0;
  padding-left: 22px;
}

.columns {
  columns: 2;
  column-gap: 34px;
}

.name-list li {
  margin-bottom: 12px;
  break-inside: avoid;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 6px 14px rgba(22, 61, 103, 0.06);
  font-size: 1.08rem;
}

.site-footer {
  background: linear-gradient(180deg, #235484 0%, #1a456f 100%);
  color: #ffffff;
  padding: 34px 0;
}

.site-footer a {
  color: #ffe0bf;
}

.footer-inner p {
  margin: 6px 0;
}

@media (max-width: 860px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr;
  }

  .search-area {
    min-width: 100%;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-logo {
    font-size: 1.6rem;
  }

  .nav-links {
    gap: 14px;
  }

  .hero {
    padding-top: 46px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .columns {
    columns: 1;
  }

  .button {
    width: 100%;
    text-align: center;
  }

  .name-list li {
    padding: 11px 13px;
  }
}