/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.75rem 1.5rem;
  border-radius: var(--r-pill);
  border: 2px solid var(--ink);
  font-weight: 700;
  font-size: var(--text-base);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(3px); }

.btn--primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 5px 0 #0B2226;
}
.btn--primary:active { box-shadow: 0 2px 0 #0B2226; }

.btn--secondary {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 5px 0 var(--ink);
}
.btn--secondary:active { box-shadow: 0 2px 0 var(--ink); }

.btn--berry {
  background: var(--berry);
  border-color: var(--berry-deep);
  color: var(--white);
  box-shadow: 0 5px 0 var(--berry-deep);
}

.btn--small {
  min-height: 44px;
  padding: 0.5rem 1.1rem;
  font-size: var(--text-sm);
}

.link-arrow {
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-bottom: 2px solid currentColor;
  padding-bottom: 1px;
}

/* Eyebrow pill */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem 0.4rem 0.4rem;
  background: var(--white);
  border-radius: var(--r-pill);
  box-shadow: 0 4px 0 var(--edge);
  font-weight: 600;
  font-size: var(--text-sm);
}
.eyebrow__chip {
  background: var(--green-tint);
  color: var(--green-deep);
  padding: 0.2rem 0.75rem;
  border-radius: var(--r-pill);
  font-weight: 700;
}
.eyebrow--plain { padding: 0.4rem 1rem; }

/* Section heading block */
.section-head { max-width: 760px; margin-bottom: var(--space-7); }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }
.section-head h2 { margin: var(--space-4) 0 var(--space-4); }

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: 0 var(--edge-size) 0 var(--edge);
  padding: clamp(1.25rem, 3vw, 2rem);
  position: relative;
}
.card--green { background: var(--green-tint); box-shadow: 0 var(--edge-size) 0 var(--green-edge); }
.card--aqua { background: var(--aqua-tint); box-shadow: 0 var(--edge-size) 0 var(--aqua-edge); }
.card--lemon { background: var(--lemon-tint); box-shadow: 0 var(--edge-size) 0 var(--lemon-edge); }
.card--tangerine { background: var(--tangerine-tint); box-shadow: 0 var(--edge-size) 0 var(--tangerine-edge); }
.card--berry { background: var(--berry-tint); box-shadow: 0 var(--edge-size) 0 var(--berry-edge); }

/* Icon tiles */
.icon-tile {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
}
.icon-tile--round { border-radius: 50%; background: var(--white); box-shadow: 0 4px 0 rgba(22, 53, 58, 0.08); }
.icon-tile--green { background: var(--green); box-shadow: 0 4px 0 var(--green-deep); }
.icon-tile--aqua { background: var(--aqua); box-shadow: 0 4px 0 var(--aqua-deep); }
.icon-tile--lemon { background: var(--lemon); box-shadow: 0 4px 0 var(--lemon-deep); }
.icon-tile--tangerine { background: var(--tangerine); box-shadow: 0 4px 0 var(--tangerine-deep); }
.icon-tile--berry { background: var(--berry); box-shadow: 0 4px 0 var(--berry-deep); }

/* Chips and badges */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.5rem 1rem;
  border-radius: var(--r-pill);
  background: var(--white);
  box-shadow: 0 4px 0 var(--edge);
  font-weight: 600;
  font-size: var(--text-sm);
  border: 2px solid transparent;
}
.badge {
  display: inline-block;
  padding: 0.15rem 0.7rem;
  border-radius: var(--r-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  background: var(--cream-deep);
  color: var(--ink);
}

/* Checklist */
.checklist { list-style: none; display: grid; gap: 0.6rem; }
.checklist li { display: flex; gap: 0.65rem; align-items: flex-start; }
.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23238255' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Tape highlight (handwritten tagline) */
.tape {
  display: inline-block;
  background: var(--lemon-tint);
  box-shadow: 0 5px 0 var(--lemon-edge);
  border-radius: var(--r-md);
  padding: 0.6rem 1.25rem 0.8rem;
  transform: rotate(-1.5deg);
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem);
  line-height: 1.15;
  color: var(--ink);
}

/* Callout */
.callout {
  background: var(--white);
  border-left: 6px solid var(--berry);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 1rem 1.25rem;
  box-shadow: 0 4px 0 var(--edge);
}

/* Floating bubbles (marketing pages only) */
.bubbles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.bubble {
  position: absolute;
  border-radius: 50%;
  border: 3px solid var(--aqua);
  opacity: 0.45;
  animation: float 9s ease-in-out infinite;
}
.bubble::after {
  content: "";
  position: absolute;
  top: 18%; left: 22%;
  width: 26%; height: 26%;
  border-radius: 50%;
  background: var(--white);
}
.bubble--sparkle {
  border: 0;
  opacity: 0.7;
  width: 22px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1c.8 5.6 2.4 7.2 8 8-5.6.8-7.2 2.4-8 8-.8-5.6-2.4-7.2-8-8 5.6-.8 7.2-2.4 8-8z' fill='%23F3C94B'/%3E%3C/svg%3E") center / contain no-repeat;
}
.bubble--sparkle::after { display: none; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* Header */
.site-header { position: relative; z-index: 20; }
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.brand img { width: 46px; height: 46px; }
.nav { display: none; }
.nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 0.6rem 1.1rem;
  border-radius: var(--r-pill);
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { background: var(--green-tint); color: var(--ink); }
.site-header__cta { display: none; }

.menu-toggle {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: 0 4px 0 var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px; height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s ease;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: 0 6px 0 var(--edge);
  padding: 0.75rem;
  margin-bottom: 1rem;
  display: grid;
  gap: 0.25rem;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  padding: 0.85rem 1rem;
  border-radius: var(--r-md);
}
.mobile-menu a[aria-current="page"] { background: var(--green-tint); }
.mobile-menu .btn { margin-top: 0.5rem; }

@media (min-width: 960px) {
  .nav { display: flex; gap: 0.25rem; }
  .site-header__cta { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
}

/* Footer */
.site-footer {
  margin-top: var(--space-9);
  background: var(--ink);
  color: #D5E3E1;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: var(--space-8) 0 var(--space-6);
}
.site-footer__grid { display: grid; gap: var(--space-6); }
.site-footer__brand img { width: 52px; height: 52px; margin-bottom: 1rem; }
.site-footer__brand strong { display: block; font-size: 1.75rem; color: var(--white); margin-bottom: 0.5rem; }
.site-footer__brand p { max-width: 34ch; }
.site-footer h2 {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--lemon);
  margin-bottom: 0.75rem;
  letter-spacing: 0;
}
.site-footer ul { list-style: none; display: grid; gap: 0.5rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer__note {
  margin-top: var(--space-7);
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
  font-size: var(--text-sm);
}
.site-footer__note strong { color: var(--white); }
.site-footer__base {
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: var(--text-sm);
}

@media (min-width: 760px) {
  .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}
