/* Reusable pieces: logo, buttons, pill, header, full screen menu, wave, footer. */

/* Logo: the hand-lettered "Pip" with Pip the pea as the dot of the i.
   Files are built by design/lockup/build_logo.py (see README). */
.logo { display: flex; align-items: center; text-decoration: none; }
.logo__img { display: block; height: 100px; width: auto; }
.logo--footer .logo__img { height: 120px; }
@media (max-width: 479px) {
  .logo__img { height: 76px; }
  .logo--footer .logo__img { height: 100px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 60px;
  padding: 0 32px;
  border-radius: 18px;
  border: var(--outline);
  box-shadow: 0 6px 0 var(--navy);
  background: var(--coral);
  color: var(--navy);
  font-weight: 600;
  font-size: 20px;
  text-decoration: none;
}
.btn--lg {
  min-height: 64px;
  padding: 0 40px;
  border-radius: 20px;
  background: var(--yellow);
  font-size: 22px;
}
.btn-pill {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--white);
  border: var(--outline);
  color: var(--navy);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  font-weight: 600;
  font-size: 18px;
  color: var(--navy);
}
.icon-btn {
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.icon-btn--close { width: 56px; height: 56px; background: var(--yellow); }

/* Store badges: official App Store and Google Play artwork, each with a "Coming soon" label.
   Remove the labels and link to the store pages once the apps are listed. */
.store-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 16px; }
.store { display: inline-flex; flex-direction: column-reverse; align-items: center; gap: 8px; text-decoration: none; }
.store img { display: block; height: 52px; width: auto; }
@media (max-width: 399px) { .store img { height: 44px; } }

/* Small label, used for "Example" */
.pill {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--soft-yellow);
  color: var(--navy);
  white-space: nowrap;
}

/* Header */
.site-header {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 12px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-header__actions { display: flex; align-items: center; gap: 12px; }

/* Full screen menu */
@keyframes pipDrop {
  from { transform: translateY(-70px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes pipFade { from { opacity: 0; } to { opacity: 1; } }

.menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  overflow-y: auto;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  animation: pipFade .2s ease both;
}
.menu__bar {
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 12px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.menu__nav {
  flex: 1;
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 8px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 4px;
}
.menu__link {
  display: inline-flex;
  align-items: center;
  min-height: 64px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.05;
  text-decoration: none;
  animation: pipDrop .55s cubic-bezier(.34, 1.56, .64, 1) both;
}
/* Hover and keyboard focus: the link nudges right and gets a chunky underline in its own colour. */
.menu__link { transition: translate .15s ease; }
.menu__link:hover, .menu__link:focus-visible {
  translate: 10px 0;
  text-decoration: underline;
  text-decoration-thickness: 6px;
  text-underline-offset: 10px;
}
.menu__link:nth-child(1) { animation-delay: 60ms; }
.menu__link:nth-child(2) { animation-delay: 130ms; }
.menu__link:nth-child(3) { animation-delay: 200ms; }
.menu__link:nth-child(4) { animation-delay: 270ms; }
.menu__link:nth-child(5) { animation-delay: 340ms; }
.menu__link:nth-child(6) { animation-delay: 410ms; }
.menu__link:nth-child(7) { animation-delay: 480ms; }
/* Small links and the maker line along the bottom of the menu, clear of Pip. */
/* (the maker line is a link to motherbird.ai) */
.menu__foot {
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 200px 32px var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.menu__small { display: flex; flex-wrap: wrap; gap: 0 28px; }
.menu__small a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--cream);
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
}
.menu__small a:hover, .menu__small a:focus-visible { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.menu__maker { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--on-navy); }
@media (max-width: 479px) { .menu__foot { padding-right: 140px; padding-bottom: 24px; } }

/* Pip waves from the bottom corner of the menu. */
.menu__pip { position: absolute; right: 24px; bottom: 24px; width: 160px; height: auto; pointer-events: none; }
@media (max-width: 479px) { .menu__pip { width: 120px; right: 16px; bottom: 16px; } }
@media (max-height: 620px) { .menu__pip { display: none; } }
.menu__link--coral { color: var(--coral); }
.menu__link--yellow { color: var(--yellow); }
.menu__link--green { color: var(--green); }
.menu__link--cream { color: var(--cream); }

/* Wavy section divider */
.wave { display: block; width: 100%; height: 60px; }
.wave--on-white { background: var(--white); }
.wave--hills { height: 90px; }

/* Footer */
.site-footer { background: var(--navy); color: var(--cream); }
.site-footer__inner {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 64px var(--gutter) 32px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 12px; }
.site-footer__tagline { font-size: 17px; color: var(--on-navy); }
.site-footer__navs { display: flex; flex-wrap: wrap; gap: 56px; }
.footer-nav { display: flex; flex-direction: column; }
.footer-nav__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--yellow);
  margin-bottom: 4px;
}
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--cream);
  text-decoration: none;
  font-weight: 500;
}
.site-footer__bottom {
  border-top: 2px solid var(--navy-raised);
  padding-top: 24px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
  color: var(--on-navy);
}
.site-footer__bottom a { color: var(--on-navy); }

/* Hover and press states. Buttons behave like stickers: they press down into their shadow. */
.btn { transition: translate .12s ease, box-shadow .12s ease; }
.btn:hover { translate: 0 2px; box-shadow: 0 4px 0 var(--navy); }
.btn:active { translate: 0 6px; box-shadow: 0 0 0 var(--navy); }

.btn-pill { transition: background-color .12s ease; }
.btn-pill:hover { background: var(--soft-yellow); }
.btn-pill:active { background: var(--yellow); }

.icon-btn { transition: scale .12s ease; }
.icon-btn:hover { scale: 1.08; }
.icon-btn:active { scale: .96; }

.text-link { text-decoration-thickness: 2px; text-underline-offset: 4px; }
.text-link:hover { text-decoration-thickness: 4px; }

.store { transition: translate .12s ease; }
a.store:hover { translate: 0 -3px; }
a.store:active { translate: 0 0; }

.footer-nav a:hover, .footer-links a:hover, .privacy__more:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* Motherbird AI wordmark, as it appears on motherbird.ai. */
.maker { display: inline-block; padding: 12px 0; font-size: 15px; color: var(--on-navy); text-decoration: none; }
.maker__word { font-family: "Inter Tight", Inter, system-ui, sans-serif; font-weight: 700; font-size: 17px; letter-spacing: -0.03em; color: #F5F3F0; }
.maker__word i { font-style: normal; color: #CC00FF; }
.maker:hover { opacity: .8; }

/* Footer bottom row stays on one line on phones. */
@media (max-width: 479px) {
  .site-footer__bottom { font-size: 13px; gap: 8px; }
  .site-footer__bottom .maker { font-size: 13px; }
  .site-footer__bottom .maker__word { font-size: 15px; }
}
