@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Nunito:wght@400;600;700&display=swap');

:root {
  --bg:        #c8dfc0;
  --bg-light:  #d8ebd0;
  --teal:      #5eaaa8;
  --teal-dark: #3d8a87;
  --paper:     #f7f4ee;
  --yellow:    #fef3c7;
  --ink:       #1c1c1a;
  --muted:     #5a6657;
  --white:     #ffffff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background-color: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
}
.nav-logo {
  font-family: 'Fredoka One', cursive;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-links {
  display: flex;
  gap: 0.2rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-family: 'Fredoka One', cursive;
  font-size: 0.88rem;
  color: var(--muted);
  padding: 0.38rem 0.85rem;
  border-radius: 50px;
  transition: all 0.18s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  background: var(--bg-light);
}

/* ── PAGE WRAPPER ── */
main {
  flex: 1;
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
  padding: 3.5rem 1.5rem 6rem;
}

/* ── SECTION spacing ── */
.section { margin-top: 4rem; }

/* ── PAGE HEADER ── */
.page-eyebrow {
  font-family: 'Fredoka One', cursive;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 0.75rem;
}
.page-title {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 0.8rem;
}
.page-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 460px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* ── SECTION HEADING ── */
.section-heading {
  font-family: 'Fredoka One', cursive;
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.section-sub {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

/* ── CARDS (white surface, barely-there border) ── */
.card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 14px;
  padding: 1.6rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}
.card-linked {
  text-decoration: none;
  color: var(--ink);
  display: block;
}

/* ── TEAL SURFACE ── */
.teal-surface {
  background: var(--teal);
  border-radius: 14px;
  padding: 2.2rem 2.5rem;
  color: var(--white);
}

/* ── YELLOW SURFACE ── */
.yellow-surface {
  background: var(--yellow);
  border-radius: 14px;
  padding: 2.2rem 2.5rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  font-family: 'Fredoka One', cursive;
  font-size: 0.95rem;
  padding: 0.6rem 1.35rem;
  border-radius: 50px;
  transition: all 0.18s;
  cursor: pointer;
  border: none;
}
.btn-dark  { background: var(--ink);   color: var(--white); }
.btn-dark:hover  { background: var(--teal); transform: translateY(-1px); }
.btn-teal  { background: var(--teal);  color: var(--white); }
.btn-teal:hover  { background: var(--teal-dark); transform: translateY(-1px); }
.btn-light { background: var(--bg-light); color: var(--ink); }
.btn-light:hover { background: var(--bg); transform: translateY(-1px); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--yellow); transform: translateY(-1px); }

/* ── DIVIDER ── */
.divider {
  width: 36px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  margin: 2rem 0;
  opacity: 0.5;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fu  { animation: fadeUp 0.45s ease both; }
.fu2 { animation: fadeUp 0.45s 0.08s ease both; }
.fu3 { animation: fadeUp 0.45s 0.16s ease both; }
.fu4 { animation: fadeUp 0.45s 0.24s ease both; }
.fu5 { animation: fadeUp 0.45s 0.32s ease both; }

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: 1.8rem;
  border-top: 1px solid rgba(0,0,0,0.07);
  font-family: 'Fredoka One', cursive;
  font-size: 0.85rem;
  color: var(--muted);
  background: rgba(255,255,255,0.35);
}

/* ── RESPONSIVE ── */
@media (max-width: 580px) {
  nav { padding: 0 1rem; }
  .nav-links a { font-size: 0.8rem; padding: 0.3rem 0.6rem; }
  main { padding: 2.5rem 1.1rem 4rem; }
}
