/* Layout 2 — playful. Today's colours: coral, sky, cyan, charcoal.
   Coral only for large text, buttons and shapes; deeper coral for small coloured text. */

:root {
  --coral: #E75D5D; --coral-dark: #BD4141; --sky: #8EE2FC; --sky-soft: #DDF5FE; --cyan: #20C7FA;
  --ink: #2F2E2E; --grey: #5E5C5C; --line: #E8E3E0; --paper: #FFFFFF;
  --script: "Lobster", cursive;
  --display: "Fredoka", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 12px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; text-wrap: balance; }

.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 15px 30px; font: 700 19px/1 var(--body); text-decoration: none; border: 0; cursor: pointer; }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 6px 0 var(--coral-dark); }
.btn-coral:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--coral-dark); }

.topbar { background: var(--coral-dark); color: #fff; font-weight: 700; font-size: 15px; text-align: center; padding: 8px 0; }
.topbar a { color: #fff; white-space: nowrap; }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 2px 0 var(--sky-soft); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { font-family: var(--script); color: var(--coral); font-size: 36px; text-decoration: none; line-height: 1; margin: 0; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.main-nav a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 800; font-size: 15px; }
.main-nav a:hover { background: var(--sky-soft); }
.nav-toggle { display: none; }

.hero { padding: 56px 0 24px; text-align: center; }
.brand { font-family: var(--script); color: var(--coral); font-size: clamp(3rem, 7vw, 5.2rem); line-height: 1; margin: 0; }
.hero h1 { font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--ink); margin: 10px 0 28px; }
.lead { max-width: 36em; margin: 14px auto 28px; color: var(--grey); font-size: 19px; }
.collage { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 28px; align-items: center; margin-top: 52px; padding-bottom: 20px; }
.collage img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; border: 8px solid #fff; box-shadow: 0 14px 34px rgba(47,46,46,.16); }
.collage .c1 { transform: rotate(-4deg); outline: 0; box-shadow: 0 0 0 10px var(--sky), 0 14px 34px rgba(47,46,46,.16); }
.collage .c2 { aspect-ratio: 1 / 1; object-position: 50% 35%; }
.collage .c3 { transform: rotate(4deg); box-shadow: 0 0 0 10px var(--cyan), 0 14px 34px rgba(47,46,46,.16); }

.wave { display: block; width: 100%; height: 70px; fill: var(--sky-soft); }
.wave-down { margin-top: -1px; }
.sky { background: var(--sky-soft); padding: 40px 0 56px; }
.kicker { text-align: center; margin: 0 0 6px; font-weight: 800; color: var(--coral-dark); }
.title { text-align: center; color: var(--coral); font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.1; }
.title-2 { margin-top: 72px; }
.sub { text-align: center; max-width: 38em; margin: 12px auto 0; color: var(--grey); }
.help { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.help li { background: #fff; border-radius: 28px; padding: 30px 26px 28px; text-align: center; box-shadow: 0 8px 0 var(--sky); }
.help .icon { width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-soft); }
.help .icon svg { width: 50px; height: 50px; }
.help .icon [data-color="1"] { fill: var(--coral); }
.help h3 { font-size: 24px; }
.help p { margin: 8px 0 0; color: var(--grey); font-size: 16px; }
.tiles { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tiles li { background: #fff; border-radius: 18px; padding: 18px 20px; font-weight: 800; display: flex; align-items: center; gap: 12px; }
.tiles li::before { content: ""; flex: 0 0 auto; width: 14px; height: 14px; border-radius: 4px; transform: rotate(45deg); background: var(--coral); }
.tiles li:nth-child(even)::before { background: var(--cyan); }

.about { padding: 72px 0; }
.intro { max-width: 46em; margin: 18px auto 48px; text-align: center; color: var(--grey); font-size: 18px; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 900px; margin: 0 auto; align-items: start; }
.person { text-align: center; }
.person img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; box-shadow: 14px 14px 0 var(--sky); margin-bottom: 28px; }
.person-2 img { box-shadow: 14px 14px 0 var(--cyan); }
.person h3 { font-size: 28px; }
.person .creds { margin: 2px 0 0; font-weight: 800; font-size: 16px; color: var(--coral-dark); letter-spacing: .03em; }
.person p { margin: 12px 0 0; color: var(--grey); }
.person strong { color: var(--ink); }
.bio { max-width: 46em; margin: 24px auto 0; text-align: center; color: var(--grey); font-size: 16px; }

.words { background: var(--ink); color: #fff; padding: 72px 0; }
.words .title { color: var(--sky); }
.quotes { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quotes li { background: rgba(255,255,255,.06); border-radius: 22px; padding: 26px; display: grid; gap: 14px; align-content: space-between; }
.quotes blockquote { margin: 0; font-size: 16.5px; line-height: 1.55; }
.quotes p { margin: 0; font-weight: 800; color: var(--sky); font-size: 15px; }
.more { text-align: center; margin: 28px 0 0; }
.more a { color: #fff; font-weight: 800; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.contact { background: var(--coral); padding: 72px 0; }
.contact .title, .contact .sub, .contact .details { color: #fff; }
.contact .sub { font-weight: 800; font-size: 19px; } /* white on coral needs large, bold text */
.contact .details { text-align: center; margin: 10px 0 0; font-weight: 800; font-size: 19px; }
.contact .details a { color: #fff; }
.form-card { max-width: 720px; margin: 32px auto 0; background: #fff; border-radius: 28px; padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; box-shadow: 0 10px 0 var(--coral-dark); }
.form-card .full { grid-column: 1 / -1; }
.form-card label { display: block; font-weight: 800; font-size: 14px; margin-bottom: 6px; }
.form-card input, .form-card textarea { width: 100%; font: inherit; font-size: 16px; border: 2px solid var(--sky-soft); background: #FAFDFF; border-radius: 14px; padding: 12px 14px; color: var(--ink); }
.form-card textarea { min-height: 120px; resize: vertical; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.form-status { margin: 0; font-size: 15px; }
.form-status.ok { color: #1a7f3a; }
.form-status.err { color: var(--coral-dark); }
.hp { display: none; }

.site-footer { background: var(--ink); color: #fff; text-align: center; padding: 48px 0 32px; }
.site-footer .logo { color: var(--sky); font-size: 34px; margin-bottom: 18px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--sky); }
.site-footer p { margin: 8px 0 0; }
.footer-links { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; font-weight: 700; }
.credit { margin-top: 24px !important; font-size: 14px; color: rgba(255,255,255,.75); }

@media (max-width: 1000px) {
  .help, .quotes { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .people { gap: 28px; }
}
@media (max-width: 820px) {
  .header-row { height: 64px; }
  .logo { font-size: 30px; }
  .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; color: var(--ink); }
  .nav-toggle svg { width: 28px; height: 28px; }
  .main-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; box-shadow: 0 8px 18px rgba(0,0,0,.08); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 8px 16px 16px; }
  .main-nav a { padding: 12px 10px; font-size: 17px; }
  .hero { padding-top: 36px; }
  .collage { grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
  .collage .c2 { grid-column: 1 / -1; grid-row: 1; }
  .tiles { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr; gap: 44px; max-width: 420px; }
  .person img { box-shadow: 10px 10px 0 var(--sky); width: calc(100% - 10px); }
  .person-2 img { box-shadow: 10px 10px 0 var(--cyan); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .form-card { grid-template-columns: 1fr; padding: 22px; }
  .form-foot { flex-direction: column-reverse; align-items: stretch; }
  .wave { height: 40px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Inner pages (FAQs, Testimonials, Resources, 404) in the Layout 2 style ---------- */

.main-nav a[aria-current="page"] { background: var(--sky-soft); color: var(--coral-dark); }
.footer-links a[aria-current="page"] { color: var(--sky); }

.page-hero { background: var(--sky-soft); padding: 56px 0 8px; }
.page-hero .title { margin: 0; }
.inner-page .wave-down { margin-top: 0; }
.page-body { padding: 24px 0 88px; }
.page-body .wrap { max-width: 900px; }
.page-resources .page-body .wrap { max-width: 1120px; }

/* FAQs: one card per question */
.faq-list { display: grid; gap: 20px; }
.faq { background: #fff; border-radius: 22px; padding: 22px 26px 22px 58px; position: relative; box-shadow: 0 0 0 2px var(--sky-soft), 0 8px 0 var(--sky); }
.faq:nth-child(even) { box-shadow: 0 0 0 2px var(--sky-soft), 0 8px 0 var(--cyan); }
.faq::before { content: ""; position: absolute; left: 24px; top: 29px; width: 14px; height: 14px; border-radius: 4px; transform: rotate(45deg); background: var(--coral); }
.faq:nth-child(even)::before { background: var(--cyan); }
.faq h2 { font-family: var(--display); font-weight: 600; font-size: 21px; line-height: 1.3; color: var(--ink); margin: 0 0 6px; }
.faq p { margin: 0; color: var(--grey); }

/* Testimonials: one card per family, attribution in the brand colour */
.testimonials { display: grid; gap: 26px; }
.testimonials blockquote {
  margin: 0; background: #fff; border-radius: 26px; padding: 30px 32px 26px;
  box-shadow: 0 0 0 2px var(--sky-soft), 10px 10px 0 var(--sky);
}
.testimonials blockquote:nth-child(even) { box-shadow: 0 0 0 2px var(--sky-soft), 10px 10px 0 var(--cyan); }
.testimonials blockquote p { margin: 0; color: var(--ink); font-size: 17px; line-height: 1.65; }
.testimonials cite { display: block; margin-top: 16px; font-style: normal; font-weight: 800; color: var(--coral-dark); }

/* Resources */
.resources { display: grid; gap: 48px; text-align: center; }
.resources h2 { font-family: var(--display); font-weight: 600; color: var(--coral); font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 0 0 16px; }
.milestones a {
  display: inline-flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 14px 26px;
  font-weight: 800; text-decoration: none; color: var(--ink); box-shadow: 0 0 0 2px var(--sky), 0 6px 0 var(--sky);
}
.milestones a::before { content: ""; width: 14px; height: 14px; border-radius: 4px; transform: rotate(45deg); background: var(--coral); }
.milestones a:hover { background: var(--sky-soft); }
.app-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: left; }
.app-groups > div { background: #fff; border-radius: 24px; padding: 24px 24px 20px; box-shadow: 0 0 0 2px var(--sky-soft), 0 8px 0 var(--sky); }
.app-groups > div:nth-child(2) { box-shadow: 0 0 0 2px var(--sky-soft), 0 8px 0 var(--cyan); }
.app-groups h3 { font-family: var(--display); font-weight: 600; font-size: 22px; color: var(--ink); margin: 0 0 12px; }
.app-groups ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.app-groups li { display: flex; align-items: center; gap: 10px; color: var(--grey); font-weight: 700; }
.app-groups li::before { content: ""; flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); }
.app-groups > div:nth-child(2) li::before { background: var(--cyan); }

/* 404 */
.page-404 .page-body p { text-align: center; font-size: 19px; color: var(--grey); }

@media (max-width: 900px) {
  .app-groups { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .page-hero { padding-top: 36px; }
  .page-body { padding: 16px 0 64px; }
  .faq { padding: 20px 20px 20px 46px; }
  .faq::before { left: 18px; top: 27px; }
  .faq h2 { font-size: 19px; }
  .testimonials blockquote { padding: 24px 22px 22px; box-shadow: 0 0 0 2px var(--sky-soft), 6px 6px 0 var(--sky); margin-right: 6px; }
  .testimonials blockquote:nth-child(even) { box-shadow: 0 0 0 2px var(--sky-soft), 6px 6px 0 var(--cyan); }
}
