:root {
  --ink: #0E2340;
  --ink-soft: #3F5573;
  --deep: #0A4C86;
  --water: #1E9BD7;
  --water-2: #5BC3EE;
  --sky: #E8F6FF;
  --cream: #FFF8E6;
  --duck: #FFC93C;
  --duck-deep: #F5A800;
  --beak: #FF7A1A;
  --white: #fff;
  --radius: 28px;
  --radius-sm: 16px;
  --shadow: 0 18px 50px -18px rgba(10, 76, 134, .35);
  --shadow-pop: 0 6px 0 rgba(14, 35, 64, .9);
  --font-display: 'Fredoka', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 32px); }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-sky { background: var(--sky); }
.section-cream { background: var(--cream); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section-head.left { text-align: left; margin-left: 0; }
.section-head.light { color: var(--white); }
.kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--beak);
  margin-bottom: 14px;
}
.light .kicker { color: var(--duck); }
.sub { font-size: 1.15rem; color: var(--ink-soft); margin-top: 18px; }
.light .sub { color: rgba(255, 255, 255, .86); }

/* Buttons */
.btn {
  --bg: var(--ink); --fg: var(--white);
  display: inline-flex; align-items: center; gap: .5em;
  padding: .85em 1.5em;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 700 1rem/1 var(--font-display);
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-pop);
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out), background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 rgba(14, 35, 64, .9); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 rgba(14, 35, 64, .9); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--water); outline-offset: 3px; }
.btn-duck { --bg: var(--duck); --fg: var(--ink); }
.btn-ghost { --bg: var(--white); --fg: var(--ink); }
.btn-white { --bg: var(--white); --fg: var(--ink); }
.btn-lg { font-size: 1.15rem; padding: 1em 1.7em; }
.btn-small { font-size: .9rem; padding: .6em 1.1em; box-shadow: 0 4px 0 rgba(14, 35, 64, .9); }

/* Nav */
.nav {
  position: fixed; inset: 14px 16px auto; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  max-width: 1240px; margin: 0 auto;
  padding: 10px 10px 10px 20px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1.5px solid rgba(14, 35, 64, .08);
  border-radius: 999px;
  box-shadow: 0 10px 30px -14px rgba(10, 76, 134, .35);
  transition: transform .35s var(--ease-out);
}
.nav.hide { transform: translateY(-140%); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 1.15rem/1 var(--font-display); }
.brand b { color: var(--water); font-weight: 700; }
.brand.light, .brand.light b { color: var(--white); }
.brand.light b { color: var(--duck); }
.brand-duck { width: 54px; height: auto; transition: transform .4s var(--ease-spring); }
.brand:hover .brand-duck { transform: rotate(-12deg) scale(1.1); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 700; font-size: .95rem; padding: .55em .85em; border-radius: 999px; transition: background .2s; }
.nav-links a:hover { background: var(--sky); }
.nav-cta { padding: .7em 1.2em; box-shadow: 0 4px 0 rgba(14, 35, 64, .9); }
.nav-toggle { display: none; }

@media (max-width: 1020px) {
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; padding: 14px;
    background: var(--white); border-radius: 24px; box-shadow: var(--shadow);
    opacity: 0; pointer-events: none; transform: translateY(-8px);
    transition: opacity .2s, transform .25s var(--ease-out);
  }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav-links a { padding: .8em 1em; font-size: 1.05rem; }
  .nav-toggle {
    display: grid; place-content: center; gap: 6px;
    width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--sky); cursor: pointer;
  }
  .nav-toggle span { width: 20px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .25s; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .nav-cta { margin-left: auto; }
}
@media (max-width: 560px) {
  .nav { gap: 8px; padding-left: 14px; }
  .brand span { display: none; }
  .nav-cta { margin-left: auto; font-size: .9rem; }
  .nav-toggle { margin-left: 0; }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

main, .footer { overflow-x: clip; }
