/* Light blue and white, serif headings: matches the mini program. */
:root { --ink: #223e5b; --muted: #536b83; --blue: #336b9e; --line: #d6e4f0; --bg: #edf4fb; --card: #fff; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.7 "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
h1, h2, h3, .brand { font-family: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "SimSun", serif; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(1080px, 100% - 40px); margin: 0 auto; }

.top { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.brand { color: var(--ink); font-size: 19px; font-weight: 700; }
.nav { display: flex; gap: 20px; font-size: 15px; }
.nav a { color: var(--muted); }

.hero { padding: 64px 0 40px; background: radial-gradient(ellipse at 75% 30%, #ffffff 0%, var(--bg) 62%); }
.hero-row { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.eyebrow { margin: 0 0 8px; color: var(--blue); font-size: 15px; letter-spacing: 2px; }
h1 { margin: 0; font-size: clamp(38px, 6vw, 60px); line-height: 1.15; }
h1 span { display: block; color: var(--blue); font-size: .62em; letter-spacing: 8px; margin-top: 6px; }
.lead { margin: 20px 0 28px; color: var(--muted); font-size: 18px; max-width: 34em; }
.cta { display: inline-flex; flex-direction: column; gap: 6px; padding: 16px 22px; border-radius: 18px; background: var(--blue); color: #fff; box-shadow: 0 12px 30px rgba(51,107,158,.25); }
.cta-main { font-size: 18px; font-weight: 700; }
.cta-note { font-size: 14px; opacity: .85; }
.hero-art { position: relative; justify-self: center; width: min(360px, 100%); }
.campus { display: block; width: 100%; height: auto; aspect-ratio: 720 / 1000; object-fit: cover; border-radius: 28px; box-shadow: 0 20px 50px rgba(34,62,91,.18); }
.egg { position: absolute; left: -58px; bottom: -26px; width: 150px; height: auto; filter: drop-shadow(0 12px 22px rgba(34,62,91,.25)); animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-3deg); } }

section h2 { margin: 0 0 22px; font-size: 28px; }
.features { padding: 56px 0; background: #fff; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, #f8fbfe, #fff); }
.card h3 { margin: 0 0 8px; font-size: 22px; color: var(--blue); }
.card p { margin: 0; color: var(--muted); }

.pets { padding: 56px 0 64px; }
.pet-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.pet-grid li { display: flex; flex-direction: column; align-items: center; padding: 12px 8px 14px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: transform .2s; }
.pet-grid li:hover { transform: translateY(-4px); }
.pet-grid img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; }
.pet-grid span { margin-top: 4px; font-weight: 700; font-size: 15px; }
.note { margin: 26px 0 0; color: var(--muted); font-size: 14px; }

.foot { padding: 22px 0 28px; background: #fff; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; text-align: center; }
.foot a { color: var(--muted); }

.doc { padding: 40px 0 60px; }
.doc .wrap { max-width: 760px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px 30px; }
.doc h1 { font-size: 32px; margin-bottom: 4px; }
.doc h2 { font-size: 21px; margin: 26px 0 8px; }
.doc p, .doc li { color: var(--muted); }
.doc .meta { color: var(--muted); font-size: 14px; }

@media (max-width: 760px) {
  .hero { padding-top: 36px; }
  .hero-row { grid-template-columns: 1fr; }
  .hero-art { width: 240px; margin-top: 10px; }
  .egg { width: 110px; left: -44px; }
  .cards { grid-template-columns: 1fr; }
  .nav { gap: 14px; font-size: 14px; }
  .brand { font-size: 17px; }
}
.brand, .nav a { white-space: nowrap; }
@media (max-width: 520px) { .nav a:not(:last-child) { display: none; } }
@media (prefers-reduced-motion: reduce) { .egg { animation: none; } html { scroll-behavior: auto; } }
