@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
  color: #122236;
  background: #f7f9fb;
  font: 16px "DM Sans", Arial, sans-serif;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #1766ad; outline-offset: 4px; }
.skip { position: absolute; left: 1rem; top: 1rem; transform: translateY(-150%); z-index: 2; background: white; padding: .7rem; }
.skip:focus { transform: none; }
.hero { background: #a9ddf8; overflow: hidden; padding-top: 22px; }
nav {
  max-width: 1100px; margin: 0 auto; width: calc(100% - 40px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: white; padding: 12px 14px 12px 20px; border-radius: 32px;
  box-shadow: 0 8px 30px #244d7120;
}
nav a, .button { text-decoration: none; }
.brand { font-weight: 800; display: inline-flex; align-items: center; gap: .55rem; }
.brand img { display: block; width: clamp(72px, 7vw, 88px); height: auto; object-fit: contain; flex: none; }
[data-copy] { white-space: pre-line; }
.nav-links { display: flex; align-items: center; gap: clamp(12px, 3vw, 32px); font-weight: 600; font-size: .9rem; }
.button { display: inline-flex; align-items: center; gap: .6rem; color: white; background: #142234; padding: .72rem 1.12rem; border-radius: 99px; font-weight: 700; }
.button:hover { background: #244a68; }
.intro { position: relative; z-index: 1; text-align: center; padding: clamp(42px, 7vw, 86px) 20px 0; }
.eyebrow { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 800; }
.intro .eyebrow { display: inline-block; border-radius: 99px; background: #ffffff85; padding: .55rem .9rem; margin: 0 0 16px; }
h1, h2 { font-family: "Manrope", "DM Sans", Arial, sans-serif; letter-spacing: -.065em; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(3rem, 7.1vw, 7rem); }
h2 { font-size: clamp(2.4rem, 5.5vw, 5rem); }
p { line-height: 1.55; }
.intro > p:not(.eyebrow) { margin: 16px auto 20px; max-width: 36ch; }
.hero-art { display: block; width: 100%; height: max(320px, 45vw); object-fit: cover; object-position: center top; margin-top: -30px; }
.about, .learning, .families { padding: clamp(52px, 8vw, 105px) max(24px, calc((100% - 1080px) / 2)); }
.about { background: white; text-align: center; }
.about > p:last-child { max-width: 48ch; margin: 22px auto 0; }
mark { background: #d0ebff; color: inherit; padding: 0 .08em; border-radius: .12em; }
.learning { background: #eff6fd; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
article { padding: 24px; border-radius: 20px; background: #fff; }
article:nth-child(2) { background: #fff1cb; }
article:nth-child(3) { background: #dfefe1; }
article span { font-size: 2rem; }
article p { margin-bottom: 0; }
.families { background: #fff; }
.families h2 { margin-bottom: 28px; }
details { border-bottom: 1px solid #d8e3eb; padding: 16px 0; }
summary { font-weight: 700; cursor: pointer; }
footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 26px max(24px, calc((100% - 1080px) / 2)); background: #142234; color: white; }
@media (max-width: 650px) {
  nav { flex-direction: column; border-radius: 22px; padding: 12px; width: calc(100% - 24px); gap: 8px; }
  .nav-links { flex-wrap: wrap; justify-content: center; }
  .cards { grid-template-columns: 1fr; }
  .hero-art { margin-top: 0; object-position: center; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
