/* ==========================================================================
   Home Page - Fresh rebuild from screenshot reference
   ========================================================================== */

:root {
  --home-blue: #2db4ee;
  --home-orange: #ffa133;
  --home-ink: #5a2800;
  --home-paper: #fffdf8;
  --home-grid: rgba(45, 180, 238, 0.08);
  --home-heading: "Fredoka", var(--font-family);
  --home-nav-height: 6.15rem;
  --home-nav-inner-top: 0.85rem;
  --home-nav-brand-top: 0.28rem;
  --home-nav-logo: 100px;
  --home-nav-links-top: 0.9rem;
  --home-nav-actions-top: 0.48rem;
  --home-cloud-band-height: clamp(3.4rem, 4.8vw, 5rem);
  --home-cloud-drop: 1rem;
}

.home-page {
  background:
    linear-gradient(var(--home-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-grid) 1px, transparent 1px),
    var(--home-paper);
  background-size: 44px 44px, 44px 44px, auto;
}

body.inner-page,
body:not(.home-page) {
  background:
    linear-gradient(var(--home-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-grid) 1px, transparent 1px),
    var(--home-paper);
  background-size: 44px 44px, 44px 44px, auto;
}

body.inner-page main > section:not(.page-hero):not(.privacy-hero):not(.prog-cta):not(.about-cta),
body:not(.home-page) main > section:not(.page-hero):not(.privacy-hero):not(.prog-cta):not(.about-cta) {
  background: transparent;
}

.home-page .section-tag,
.home-page .section-title,
.home-page .btn,
.nav__link,
.nav__mobile .nav__link,
.nav__mobile-sub-link {
  font-family: var(--home-heading);
}

.home-page .section-tag {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--home-blue);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-page .section-title,
body.inner-page main .section-title {
  color: var(--home-orange);
  font-family: var(--home-heading);
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  line-height: 0.95;
}

body.inner-page main .contact-cta .section-title {
  color: var(--on-primary);
}

.home-page .section-subtitle {
  color: rgba(90, 40, 0, 0.74);
}

.home-page .btn {
  border-radius: 999px;
  padding: 0.95rem 1.55rem;
  font-size: 1rem;
  font-weight: 600;
}

.home-page .btn-primary {
  background: var(--home-blue);
  color: #fff;
  box-shadow: 0 18px 32px rgba(45, 180, 238, 0.22);
}

.home-page .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 36px rgba(45, 180, 238, 0.28);
}

.btn-outline-sky {
  background: transparent;
  color: var(--home-blue);
  border: 2px solid rgba(45, 180, 238, 0.55);
}

.btn-outline-sky:hover {
  background: rgba(45, 180, 238, 0.08);
  transform: translateY(-2px);
}

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
  position: relative;
  z-index: 20;
  height: var(--home-nav-height);
  background: var(--home-blue);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header {
  background: var(--home-blue);
  position: relative;
  z-index: 30;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(3rem, 6vw, 7.5rem);
  min-height: var(--home-nav-height);
  padding-top: var(--home-nav-inner-top);
}

.nav .container {
  max-width: 1760px;
  padding-inline: clamp(1.5rem, 4vw, 5rem);
}

.nav__brand {
  flex: 0 0 auto;
  padding-top: var(--home-nav-brand-top);
  position: relative;
  z-index: 2;
}

.nav__logo {
  height: var(--home-nav-logo);
  width: auto;
  object-fit: contain;
  filter: none;
}

.nav__brand:hover .nav__logo {
  opacity: 1;
  transform: none;
}

.nav__links {
  display: none;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(1.05rem, 1.75vw, 2.35rem);
  padding-top: var(--home-nav-links-top);
  margin-left: 0;
  flex: 0 1 auto;
  max-width: 1080px;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.nav__link,
.nav__link--toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  color: #fff;
  font-size: clamp(1.1rem, 1.08vw, 1.26rem);
  font-weight: 700;
  line-height: 1.1;
  min-height: 2.35rem;
  padding: 0.35rem 0.05rem;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.55rem;
  height: 4px;
  border-radius: 999px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease-fast);
}

.nav__link:hover::after,
.nav__link.active::after,
.nav__item--dropdown:hover > .nav__link::after,
.nav__item--dropdown:focus-within > .nav__link::after {
  transform: scaleX(1);
}

.nav__item--dropdown {
  position: relative;
}

.nav__item--dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1rem;
  height: 1rem;
}

.nav__chevron {
  flex: 0 0 auto;
  transition: transform var(--ease-fast);
}

.nav__item--dropdown:hover .nav__chevron,
.nav__item--dropdown:focus-within .nav__chevron,
.nav__mobile-toggle[aria-expanded="true"] .nav__chevron {
  transform: rotate(180deg);
}

.nav__actions {
  display: flex;
  align-items: center;
  margin-left: 0;
  padding-top: var(--home-nav-actions-top);
  position: relative;
  z-index: 2;
}

.nav__actions > .btn {
  display: none;
}

.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 9px;
  background: none;
  border: none;
  border-radius: 12px;
}

.nav__hamburger span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: transform var(--ease-normal), opacity var(--ease-fast);
}

.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__dropdown {
  position: absolute;
  top: calc(100% + 0.85rem);
  left: 50%;
  min-width: 220px;
  padding: 0.6rem;
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 22px 48px rgba(26, 91, 128, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-10px);
  transition: opacity 220ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav__dropdown::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 6px;
  background: #fff;
  transform: translateX(-50%);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.nav__dropdown-item {
  display: block;
  padding: 0.8rem 1rem;
  border-radius: 0.9rem;
  color: var(--home-ink);
}

.nav__dropdown-item:hover {
  background: rgba(45, 180, 238, 0.12);
}

.nav__item--dropdown:hover .nav__dropdown,
.nav__item--dropdown:focus-within .nav__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav__mobile {
  position: fixed;
  top: var(--home-nav-height);
  left: 0;
  right: 0;
  z-index: 199;
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.35rem;
  background: #fff;
  box-shadow: 0 18px 34px rgba(26, 91, 128, 0.12);
  transform: translateY(0);
  transition: opacity var(--ease-normal);
  opacity: 0;
}

.nav__mobile.open {
  display: flex;
  opacity: 1;
}

.nav__mobile .nav__link {
  display: block;
  width: 100%;
  padding: 0.9rem 0.4rem;
  color: var(--home-ink);
  text-align: left;
}

.nav__mobile-toggle {
  justify-content: space-between;
}

.nav__mobile-sub {
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  padding-left: 1rem;
  transition: max-height 0.3s ease;
}

.nav__mobile-sub.open {
  max-height: 300px;
}

.nav__mobile-sub-link {
  display: block;
  padding: 0.7rem 0.4rem;
  color: rgba(90, 40, 0, 0.78);
}

.nav__mobile-cta {
  display: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: 0 0 5.2rem;
  overflow: hidden;
}

.hero__cloud-band {
  position: relative;
  height: var(--home-cloud-band-height);
  margin-top: 0;
  background: transparent;
  overflow: visible;
}

.hero__cloud-band::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: calc(var(--home-cloud-drop) + 0.4rem);
  background: var(--home-blue);
}

.hero__cloud {
  position: absolute;
  display: block;
  width: var(--cloud-size);
  height: var(--cloud-size);
  top: calc((var(--cloud-size) / -2) + var(--home-cloud-drop));
  background: var(--home-blue);
  border-radius: 999px;
}

.hero__cloud--1 { --cloud-size: clamp(4.9rem, 9.8vw, 12.2rem); left: -4.5%; }
.hero__cloud--2 { --cloud-size: clamp(3.25rem, 6vw, 7.5rem); left: 3.5%; }
.hero__cloud--3 { --cloud-size: clamp(5rem, 10vw, 12.6rem); left: 7.8%; }
.hero__cloud--4 { --cloud-size: clamp(3.3rem, 6.2vw, 7.8rem); left: 17.2%; }
.hero__cloud--5 { --cloud-size: clamp(5.2rem, 10.4vw, 13rem); left: 22%; }
.hero__cloud--6 { --cloud-size: clamp(3.4rem, 6.4vw, 8rem); left: 33.2%; }
.hero__cloud--7 { --cloud-size: clamp(5rem, 10vw, 12.5rem); left: 38.2%; }
.hero__cloud--8 { --cloud-size: clamp(3.25rem, 6.1vw, 7.7rem); left: 49.8%; }
.hero__cloud--9 { --cloud-size: clamp(5.15rem, 10.2vw, 12.8rem); left: 54.6%; }
.hero__cloud--10 { --cloud-size: clamp(3.3rem, 6.2vw, 7.8rem); left: 66.2%; }
.hero__cloud--11 { --cloud-size: clamp(5rem, 10vw, 12.6rem); left: 71%; }
.hero__cloud--12 { --cloud-size: clamp(4.85rem, 9.7vw, 12.1rem); left: 82.4%; }
.hero__cloud--13 { --cloud-size: clamp(2.8rem, 5.3vw, 6.6rem); left: 14.2%; }
.hero__cloud--14 { --cloud-size: clamp(2.9rem, 5.5vw, 6.8rem); left: 44.8%; }
.hero__cloud--15 { --cloud-size: clamp(2.85rem, 5.4vw, 6.7rem); left: 77.2%; }
.hero__cloud--16 { --cloud-size: clamp(2.75rem, 5.2vw, 6.4rem); left: 92.2%; }
.hero__cloud--17 { --cloud-size: clamp(2.55rem, 4.8vw, 6rem); left: 30.4%; }
.hero__cloud--18 { --cloud-size: clamp(2.6rem, 4.9vw, 6.1rem); left: 63.6%; }
.hero__cloud--19 { --cloud-size: clamp(2.35rem, 4.5vw, 5.4rem); left: 97.2%; }

.hero__cloud-band::after {
  content: none;
}

.page-cloud-band {
  position: relative;
  z-index: 25;
  height: var(--home-cloud-band-height);
  margin-bottom: 0;
  background: var(--primary-container);
  overflow: visible;
  pointer-events: none;
}

.page-cloud-band::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: calc(var(--home-cloud-drop) + 0.4rem);
  background: var(--home-blue);
}

.page-cloud {
  position: absolute;
  display: block;
  width: var(--cloud-size);
  height: var(--cloud-size);
  top: calc((var(--cloud-size) / -2) + var(--home-cloud-drop));
  background: var(--home-blue);
  border-radius: 999px;
}

.page-cloud--1 { --cloud-size: clamp(4.9rem, 9.8vw, 12.2rem); left: -4.5%; }
.page-cloud--2 { --cloud-size: clamp(3.25rem, 6vw, 7.5rem); left: 3.5%; }
.page-cloud--3 { --cloud-size: clamp(5rem, 10vw, 12.6rem); left: 7.8%; }
.page-cloud--4 { --cloud-size: clamp(3.3rem, 6.2vw, 7.8rem); left: 17.2%; }
.page-cloud--5 { --cloud-size: clamp(5.2rem, 10.4vw, 13rem); left: 22%; }
.page-cloud--6 { --cloud-size: clamp(3.4rem, 6.4vw, 8rem); left: 33.2%; }
.page-cloud--7 { --cloud-size: clamp(5rem, 10vw, 12.5rem); left: 38.2%; }
.page-cloud--8 { --cloud-size: clamp(3.25rem, 6.1vw, 7.7rem); left: 49.8%; }
.page-cloud--9 { --cloud-size: clamp(5.15rem, 10.2vw, 12.8rem); left: 54.6%; }
.page-cloud--10 { --cloud-size: clamp(3.3rem, 6.2vw, 7.8rem); left: 66.2%; }
.page-cloud--11 { --cloud-size: clamp(5rem, 10vw, 12.6rem); left: 71%; }
.page-cloud--12 { --cloud-size: clamp(4.85rem, 9.7vw, 12.1rem); left: 82.4%; }
.page-cloud--13 { --cloud-size: clamp(2.8rem, 5.3vw, 6.6rem); left: 14.2%; }
.page-cloud--14 { --cloud-size: clamp(2.9rem, 5.5vw, 6.8rem); left: 44.8%; }
.page-cloud--15 { --cloud-size: clamp(2.85rem, 5.4vw, 6.7rem); left: 77.2%; }
.page-cloud--16 { --cloud-size: clamp(2.75rem, 5.2vw, 6.4rem); left: 92.2%; }
.page-cloud--17 { --cloud-size: clamp(2.55rem, 4.8vw, 6rem); left: 30.4%; }
.page-cloud--18 { --cloud-size: clamp(2.6rem, 4.9vw, 6.1rem); left: 63.6%; }
.page-cloud--19 { --cloud-size: clamp(2.35rem, 4.5vw, 5.4rem); left: 97.2%; }

body.inner-page .page-hero,
body:not(.home-page) .page-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-block: clamp(3rem, 4vw, 4rem);
  background:
    radial-gradient(circle at 12% 25%, rgba(255, 161, 51, 0.16), transparent 34%),
    linear-gradient(115deg, var(--primary-container) 0%, var(--primary-fixed) 56%, #fff8ee 100%);
}

body.inner-page .page-hero::before,
body:not(.home-page) .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

body.inner-page .page-hero::after,
body:not(.home-page) .page-hero::after {
  content: none;
}

body.inner-page .page-hero__inner,
body:not(.home-page) .page-hero__inner {
  position: relative;
  z-index: 2;
}

body.inner-page .page-hero__tag,
body:not(.home-page) .page-hero__tag {
  display: inline-block;
  margin-bottom: var(--sp-3);
  color: var(--tertiary);
  font-family: var(--font-family);
  font-size: var(--text-label-md);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
}

body.inner-page .page-hero__title,
body:not(.home-page) .page-hero__title {
  max-width: 26ch;
  margin: 0 auto var(--sp-4);
  color: var(--on-primary-container);
  font-family: var(--home-heading);
  font-size: clamp(2.35rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  text-wrap: balance;
}

.page-hero__highlight {
  color: #a44800;
}

body.inner-page main h2 {
  font-family: var(--home-heading);
}

.page-hero__accent {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: var(--sp-4);
}

.page-hero__accent span {
  width: 0.65rem;
  height: 0.75rem;
  background: #fff8ee;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}

.page-hero__accent span:nth-child(2) {
  background: #ecc30b;
}

body.inner-page .page-hero__subtitle,
body:not(.home-page) .page-hero__subtitle {
  max-width: 48ch;
  margin-inline: auto;
  color: var(--on-primary);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: var(--leading-relaxed);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background: none;
  opacity: 1;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
  min-height: calc(100svh - 14.9rem);
  padding-top: clamp(2rem, 4vw, 3.5rem);
}

.hero__content {
  max-width: 34rem;
  padding-left: clamp(0rem, 1vw, 1rem);
}

.hero__scribble {
  display: inline-block;
  margin-bottom: 1rem;
  color: #c64657;
  font-family: var(--home-heading);
  font-size: 1.55rem;
  font-weight: 600;
  transform: rotate(-7deg);
}

.hero__headline {
  color: var(--home-blue);
  font-family: var(--home-heading);
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero__headline > span,
.hero__headline small {
  display: block;
  line-height: inherit;
}

.hero__headline > span:nth-of-type(2) {
  color: var(--home-orange);
}

#hero-typed,
.accent-cursor {
  display: inline;
}

.hero__headline small {
  margin-top: 0;
  color: var(--home-blue);
  font-size: inherit;
  font-weight: 600;
}

.accent-cursor {
  color: var(--home-blue);
  animation: cursor-blink 0.7s step-end infinite;
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero__sub {
  max-width: 31rem;
  margin-top: 1.5rem;
  color: rgba(90, 40, 0, 0.74);
  line-height: 1.8;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero__visual {
  position: relative;
}

.hero__visual-shell {
  position: relative;
}

.hero__visual-blob {
  position: relative;
  width: min(100%, 760px);
  aspect-ratio: 1.05 / 0.86;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 37% 28% 36% 25% / 22% 30% 28% 33%;
  background: linear-gradient(135deg, #d9c18e 0%, #f0e8c5 100%);
  box-shadow: 0 34px 62px rgba(184, 148, 63, 0.18);
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__slider .hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 520ms ease, transform 900ms ease;
}

.hero__slider .hero__slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 3rem;
  height: 3rem;
  border: none;
  border-radius: 0.9rem;
  background: var(--home-blue);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
  box-shadow: 0 18px 30px rgba(45, 180, 238, 0.26);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.hero__arrow svg {
  display: block;
  width: 1.6rem;
  height: 1.6rem;
}

.hero__arrow:focus-visible {
  outline: 3px solid #5a2800;
  outline-offset: 3px;
}

.hero__arrow--prev { left: 1rem; }
.hero__arrow--next { right: 1rem; }

.hero__doodle {
  position: absolute;
  pointer-events: none;
  filter: drop-shadow(0 14px 22px rgba(196, 120, 48, 0.14));
}

.hero__doodle svg,
.hero__doodle img {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: center;
  animation: doodle-float 5.6s ease-in-out infinite;
}

.hero__doodle--crown {
  left: 30%;
  bottom: 12%;
  width: 4.2rem;
  height: 3rem;
}

.hero__doodle--bee {
  left: 1.5%;
  bottom: 14%;
  width: 5.3rem;
  height: 3.5rem;
}

.hero__doodle--rainbow {
  right: 2.5%;
  bottom: 8%;
  width: 7rem;
  height: 4.6rem;
}

.hero__doodle--flower {
  right: 3%;
  top: 15%;
  width: 3.9rem;
  height: 3.9rem;
}

.hero__doodle--bee img,
.hero__doodle--bee svg {
  animation-duration: 4.8s;
  animation-delay: -1.6s;
  animation-name: doodle-bob-left;
}

.hero__doodle--crown img,
.hero__doodle--crown svg {
  animation-duration: 5.4s;
  animation-delay: -0.8s;
  animation-name: doodle-bob-crown;
}

.hero__doodle--rainbow img,
.hero__doodle--rainbow svg {
  animation-duration: 6.8s;
  animation-delay: -2.2s;
  animation-name: doodle-sway;
}

.hero__doodle--flower img,
.hero__doodle--flower svg {
  animation-duration: 5.8s;
  animation-delay: -3.1s;
  animation-name: doodle-spin-float;
}

/* ==========================================================================
   Showcase
   ========================================================================== */

.showcase {
  position: relative;
  padding: 2rem 0 10rem;
  overflow: hidden;
}

.showcase .container {
  position: relative;
}

.showcase__header {
  margin-bottom: 0;
  text-align: center;
}

.showcase__title {
  max-width: none;
  margin-inline: auto;
  text-align: center;
  display: block;
  white-space: nowrap;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: clamp(1.45rem, 2.35vw, 2.2rem) !important;
  color: var(--home-orange);
  line-height: 0.95;
}

.showcase__wave {
  display: block;
  width: 5.6rem;
  height: 0.95rem;
  margin: 0.85rem auto 0;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 18'%3E%3Cpath d='M4 9c8 0 8-6 16-6s8 6 16 6 8-6 16-6 8 6 16 6 8-6 16-6 8 6 16 6 8-6 16-6' fill='none' stroke='%232db4ee' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.showcase__stage {
  position: relative;
  margin-top: 2.8rem;
  padding: 0.75rem 0 0;
}

.showcase__grid {
  display: grid;
  position: relative;
  z-index: 2;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.2rem;
  align-items: start;
}

.showcase-feature {
  text-align: center;
}

.showcase-feature__link {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: 2rem;
}

.showcase-feature__link:focus-visible {
  outline: 3px solid var(--home-blue);
  outline-offset: 5px;
}

.showcase-feature__card {
  position: relative;
  width: min(100%, 17.25rem);
  margin: 0 auto;
}

.showcase-feature__media {
  position: relative;
  height: 20.25rem;
  overflow: hidden;
  border-radius: 2rem;
  background: #fff;
  box-shadow: 0 20px 40px rgba(196, 120, 48, 0.1);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.showcase-feature__media--photo,
.showcase-feature__media--community {
  background: #f4efe7;
}

.showcase-feature__media--community::before {
  content: none;
}

.showcase-feature__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.showcase-feature__image--community {
  transform: scale(1.04);
}

.showcase-feature__media--app {
  display: grid;
  place-items: center;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 251, 255, 0.96) 100%);
}

.showcase-feature__app {
  width: 92%;
  max-width: 15rem;
}

.showcase-feature__app svg {
  display: block;
  width: 100%;
  height: auto;
}

.showcase-feature__pill {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  min-width: max-content;
  padding: 0.55rem 1.45rem 0.65rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(90, 40, 0, 0.08);
  color: var(--home-blue);
  font-family: var(--home-heading);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1;
  transition: transform 220ms ease, background-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.showcase-feature__link:hover .showcase-feature__media,
.showcase-feature__link:focus-visible .showcase-feature__media {
  transform: translateY(-6px);
  box-shadow: 0 28px 48px rgba(196, 120, 48, 0.18);
}

.showcase-feature__link:hover .showcase-feature__pill,
.showcase-feature__link:focus-visible .showcase-feature__pill {
  transform: translate(-50%, -5px);
  background: var(--home-blue);
  color: #fff;
  box-shadow: 0 14px 28px rgba(45, 180, 238, 0.26);
}

@media (prefers-reduced-motion: reduce) {
  .showcase-feature__media,
  .showcase-feature__pill { transition: none; }
}

.showcase-feature__copy {
  max-width: 20ch;
  margin: 1.55rem auto 0;
  color: var(--home-blue);
  font-size: 1.05rem;
  line-height: 1.8;
}

.showcase__doodle {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.showcase__doodle svg,
.showcase__doodle img {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: center;
  animation: doodle-float 6s ease-in-out infinite;
}

.showcase__doodle--house {
  left: -2.5rem;
  top: 17.75rem;
  width: clamp(4.7rem, 8vw, 7rem);
}

.showcase__doodle--sun {
  top: -4.4rem;
  right: 0.25rem;
  width: clamp(3.7rem, 7vw, 5.6rem);
}

.showcase__doodle--tree {
  right: clamp(17rem, 22vw, 26rem);
  top: 32.5rem;
  width: clamp(6rem, 9vw, 8.5rem);
}

.showcase__doodle--house img,
.showcase__doodle--house svg {
  animation-duration: 5.2s;
  animation-delay: -1.4s;
  animation-name: doodle-bob-right;
}

.showcase__doodle--sun img,
.showcase__doodle--sun svg {
  animation-duration: 6.6s;
  animation-delay: -2.5s;
  animation-name: doodle-spin-float;
}

.showcase__doodle--tree img,
.showcase__doodle--tree svg {
  animation-duration: 5.9s;
  animation-delay: -0.5s;
  animation-name: doodle-sway;
}

@keyframes doodle-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
  50% {
    transform: translate3d(0, -0.65rem, 0) rotate(2deg) scale(1.04);
  }
}

@keyframes doodle-bob-left {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-16deg) scale(1);
  }
  50% {
    transform: translate3d(-0.55rem, -0.85rem, 0) rotate(-7deg) scale(1.07);
  }
}

@keyframes doodle-bob-right {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-4deg) scale(1);
  }
  50% {
    transform: translate3d(0.58rem, -0.7rem, 0) rotate(5deg) scale(1.06);
  }
}

@keyframes doodle-bob-crown {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-14deg) scale(1);
  }
  50% {
    transform: translate3d(0.3rem, -0.72rem, 0) rotate(-4deg) scale(1.08);
  }
}

@keyframes doodle-sway {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-4deg) scale(1);
  }
  50% {
    transform: translate3d(-0.28rem, -0.78rem, 0) rotate(5deg) scale(1.06);
  }
}

@keyframes doodle-spin-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(10deg) scale(1);
  }
  50% {
    transform: translate3d(0.22rem, -0.82rem, 0) rotate(22deg) scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__doodle svg,
  .hero__doodle img,
  .showcase__doodle svg,
  .showcase__doodle img {
    animation: none;
  }
}

/* ==========================================================================
   Story
   ========================================================================== */

.story {
  padding: 0 0 6.5rem;
}

.story__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 2.4rem;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 28px 46px rgba(196, 120, 48, 0.07);
}

.story__content p {
  color: rgba(90, 40, 0, 0.76);
  line-height: 1.8;
  margin-top: 0.95rem;
}

.story__content .btn {
  margin-top: 1.35rem;
}

.story__aside {
  position: relative;
}

.story__photo {
  overflow: hidden;
  min-height: 25rem;
  border-radius: 2.6rem;
  box-shadow: 0 32px 50px rgba(184, 148, 63, 0.16);
}

.story__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story__badge {
  position: absolute;
  left: -1rem;
  bottom: 1.2rem;
  display: flex;
  flex-direction: column;
  padding: 0.95rem 1.15rem;
  border-radius: 1.3rem;
  background: #fff;
  box-shadow: 0 18px 34px rgba(45, 180, 238, 0.14);
}

.story__badge strong {
  color: var(--home-orange);
  font-family: var(--home-heading);
  font-size: 1.9rem;
  line-height: 1;
}

.story__badge span {
  color: rgba(90, 40, 0, 0.7);
  font-size: 0.92rem;
}

/* ==========================================================================
   Approaches
   ========================================================================== */

.approaches {
  padding: 0 0 6.5rem;
}

.approaches__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.approach-card,
.extra-service {
  padding: 1.55rem;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 24px 38px rgba(196, 120, 48, 0.07);
}

.approach-card:nth-child(1) { background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(190,237,255,0.82)); }
.approach-card:nth-child(2) { background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,240,205,0.82)); }
.approach-card:nth-child(3) { background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(217,255,225,0.82)); }
.approach-card:nth-child(4) { background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(231,228,255,0.82)); }

.approach-card__label {
  display: inline-flex;
  margin-bottom: 0.9rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  color: var(--home-blue);
  font-family: var(--home-heading);
  font-size: 0.95rem;
}

.approach-card h3,
.extra-service h3 {
  margin-bottom: 0.6rem;
  color: var(--home-ink);
  font-size: 1.45rem;
}

.approach-card p,
.extra-service p {
  color: rgba(90, 40, 0, 0.72);
  line-height: 1.72;
}

.extra-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.extra-service a {
  display: inline-block;
  margin-top: 0.95rem;
  color: var(--home-blue);
  font-family: var(--home-heading);
}

/* ==========================================================================
   Register
   ========================================================================== */

.register {
  padding: 0 0 6.5rem;
}

.register__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.register__subtitle {
  margin-inline: 0;
  max-width: 34rem;
}

.register__form-shell {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border-radius: 2.3rem;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 24px 42px rgba(196, 120, 48, 0.08);
}

.register__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field label {
  color: var(--home-ink);
  font-size: 0.95rem;
  font-weight: 700;
}

.field input,
.field select {
  padding: 0.95rem 1rem;
  border: none;
  border-radius: 1.15rem;
  background: rgba(248, 252, 255, 0.98);
  box-shadow: inset 0 0 0 1px rgba(45, 180, 238, 0.12);
  color: var(--home-ink);
}

.field input::placeholder {
  color: rgba(90, 40, 0, 0.45);
}

.field input:focus,
.field select:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(45, 180, 238, 0.28);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' viewBox='0 0 18 18'%3E%3Cpath d='M4.5 6.75L9 11.25l4.5-4.5' stroke='%232db4ee' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

.field .field-error {
  display: none;
  color: var(--error);
  font-size: 0.9rem;
}

.field.has-error input,
.field.has-error select {
  box-shadow: inset 0 0 0 2px rgba(186, 26, 26, 0.3);
}

.field.has-error .field-error {
  display: block;
}

.register__submit {
  width: 100%;
  margin-top: 0.35rem;
}

.register__pdpa {
  color: rgba(90, 40, 0, 0.62);
  font-size: 0.85rem;
  line-height: 1.7;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials {
  padding: 0 0 6rem;
}

.testimonials__grid {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.testimonials__grid::-webkit-scrollbar { display: none; }

.testimonial-card {
  flex: 0 0 calc((100% - 3rem) / 3);
  scroll-snap-align: start;
}

.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonials__arrow {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: #067bc2;
  color: #fff;
  cursor: pointer;
}

.testimonials__arrow svg {
  display: block;
  width: 1.4rem;
  height: 1.4rem;
}

.testimonials__arrow:disabled { opacity: .4; cursor: default; }

.testimonials__dots { display: flex; align-items: center; gap: .5rem; }

.testimonials__dot {
  width: .65rem;
  height: .65rem;
  border: 0;
  border-radius: 50%;
  background: #c7d3df;
  cursor: pointer;
}

.testimonials__dot[aria-current="true"] { width: 1.4rem; border-radius: 999px; background: #067bc2; }

.testimonials__controls button:focus-visible { outline: 3px solid #5a2800; outline-offset: 3px; }

@media (max-width: 1199px) {
  .testimonial-card { flex-basis: calc((100% - 1.5rem) / 2); }
}

@media (max-width: 767px) {
  .testimonial-card { flex-basis: 100%; }
}

.testimonial-card {
  position: relative;
  padding: 1.8rem;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 24px 38px rgba(196, 120, 48, 0.07);
}

.testimonial-card__quote-mark {
  position: absolute;
  right: 1.25rem;
  top: 0.45rem;
  color: rgba(255, 161, 51, 0.28);
  font-size: 4rem;
  line-height: 1;
}

.testimonial-card__body {
  color: rgba(90, 40, 0, 0.8);
  font-style: italic;
  line-height: 1.78;
}

.testimonial-card__rating {
  margin-bottom: .8rem;
  color: #8a7200;
  font-size: 1.25rem;
  letter-spacing: .12em;
}

.testimonial-card__source {
  display: inline-block;
  margin-top: .3rem;
  color: #055a99;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.testimonial-card__source:focus-visible {
  outline: 3px solid #067bc2;
  outline-offset: 3px;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.testimonial-card__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(45, 180, 238, 0.18), rgba(255, 202, 78, 0.3));
  color: var(--home-blue);
  font-family: var(--home-heading);
  font-size: 1.3rem;
}

.testimonial-card__name {
  color: var(--home-ink);
  font-weight: 700;
}

.testimonial-card__role {
  color: rgba(90, 40, 0, 0.62);
  font-size: 0.94rem;
}

/* ==========================================================================
   Footer, chat, toast
   ========================================================================== */

.site-footer {
  background: #ffbe86;
  color: var(--home-ink);
  padding: 3rem 0 1.5rem;
}

.site-footer__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 4rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: 1.5rem;
  background: #fff8ee;
}

.site-footer__eyebrow {
  margin-bottom: .6rem;
  color: #785000;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.site-footer__cta h2 {
  color: var(--home-ink);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
}

.site-footer__cta p:last-child {
  max-width: 42rem;
  margin-top: .65rem;
  color: rgba(90, 40, 0, .76);
}

.site-footer__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.site-footer__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.site-footer__button--primary {
  background: #067bc2;
  color: #fff;
}

.site-footer__button--secondary {
  background: #ffe6c8;
  color: var(--home-ink);
}

.site-footer__button:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid #067bc2;
  outline-offset: 3px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.7fr;
  gap: 2rem;
  padding-bottom: 3rem;
}

.footer__logo {
  width: 140px;
  height: auto;
}

.footer-col__tagline {
  max-width: 18rem;
  margin-top: 1rem;
  line-height: 1.65;
}

.footer-col__heading {
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.footer-col__links,
.footer-col__contact {
  display: grid;
  gap: .8rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  line-height: 1.55;
}

.footer-contact-item .icon {
  flex: 0 0 1.4rem;
}

.footer-contact-svg { display: none; }

.footer-col__social {
  display: flex;
  gap: .65rem;
  margin-top: 1.25rem;
}

.footer-col__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  color: var(--home-ink);
}

.footer-col__social svg {
  width: 1.2rem;
  height: 1.2rem;
}

.footer-col__links a:hover,
.footer-contact-item a:hover {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.footer__pdpa a,
.register__pdpa a,
.form-privacy-link a {
  color: #055a99;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.form-privacy-link { margin: .25rem 0 1rem; font-size: .9rem; }

.footer-col__tagline,
.footer-col__links a,
.footer-contact-item,
.footer__copyright,
.footer__pdpa {
  color: rgba(90, 40, 0, 0.72);
}

.footer-col__heading {
  color: rgba(90, 40, 0, 0.5);
}

.footer-col__social a {
  background: rgba(255, 255, 255, 0.28);
}

.footer-col__social a:hover {
  background: rgba(255, 255, 255, 0.44);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, .22);
  font-size: .85rem;
}

.chat-widget {
  position: fixed;
  right: var(--sp-6);
  bottom: var(--sp-6);
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--sp-3);
  pointer-events: none;
}

.chat-toggle {
  position: relative;
  width: 3.6rem;
  height: 3.6rem;
  border: none;
  border-radius: 50%;
  background: var(--home-blue);
  color: #fff;
  box-shadow: 0 16px 32px rgba(45, 180, 238, 0.28);
  pointer-events: auto;
}

.chat-toggle.active {
  background: var(--home-orange);
}

.chat-toggle .icon-open,
.chat-toggle .icon-close {
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.chat-toggle .icon-open {
  display: inline-flex;
}

.chat-toggle .icon-close {
  display: none;
}

.chat-toggle.active .icon-open {
  display: none;
}

.chat-toggle.active .icon-close {
  display: inline-flex;
}

.chat-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--error);
}

.chat-panel {
  width: min(360px, calc(100vw - var(--sp-12)));
  height: min(520px, calc(100svh - var(--nav-height) - var(--sp-16)));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 2rem;
  background: #fff;
  box-shadow: 0 30px 54px rgba(45, 180, 238, 0.18);
  transform: scale(0.85) translateY(12px);
  transform-origin: bottom right;
  opacity: 0;
  pointer-events: none;
  transition: transform var(--ease-normal), opacity var(--ease-normal);
}

.chat-panel.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  background: linear-gradient(135deg, var(--home-blue), #7ad8ff);
}

.chat-header__avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-header__name,
.chat-header__status,
.chat-header__stub-badge {
  color: #fff;
}

.chat-header__stub-badge {
  background: rgba(255, 255, 255, 0.2);
}

.chat-messages {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  overflow-y: auto;
  padding: var(--sp-5);
  background: rgba(255, 253, 248, 0.96);
}

.chat-msg {
  display: flex;
  align-items: flex-end;
  gap: var(--sp-2);
  max-width: 85%;
}

.chat-msg--bot {
  align-self: flex-start;
}

.chat-msg--user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat-msg__avatar {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 180, 238, 0.16);
}

.chat-msg__content {
  min-width: 0;
}

.chat-msg--user .chat-msg__avatar {
  background: rgba(255, 161, 51, 0.18);
}

.chat-msg__bubble {
  padding: 0.8rem 1rem;
  border-radius: 1.25rem;
  line-height: 1.7;
  font-size: 0.94rem;
}

.chat-msg--bot .chat-msg__bubble {
  background: #fff;
  color: var(--home-ink);
  border-bottom-left-radius: 0.4rem;
}

.chat-msg--user .chat-msg__bubble {
  background: var(--home-blue);
  color: #fff;
  border-bottom-right-radius: 0.4rem;
}

.chat-typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -0.12em;
  border-radius: var(--radius-full);
  background: currentColor;
  animation: chat-cursor-blink 0.8s steps(1, end) infinite;
}

@keyframes chat-cursor-blink {
  50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .chat-typing-cursor {
    animation: none;
  }
}

.chat-msg__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-2);
}

.chat-msg__action {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-full);
  background: rgba(45, 180, 238, 0.12);
  color: var(--home-blue);
  font-size: var(--text-label-sm);
  font-weight: 700;
  text-decoration: none;
  transition: background var(--ease-fast), color var(--ease-fast);
}

.chat-msg__action:hover,
.chat-msg__action:focus-visible {
  background: var(--home-blue);
  color: #fff;
}

.chat-typing {
  display: none;
  align-items: flex-end;
  gap: var(--sp-2);
}

.chat-typing.visible {
  display: flex;
}

.chat-typing__bubble {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 0.8rem 1rem;
  border-radius: 1.25rem;
  background: #fff;
}

.chat-typing__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(90, 40, 0, 0.45);
}

.chat-quick-replies {
  display: flex;
  gap: var(--sp-2);
  overflow-x: auto;
  padding: var(--sp-3) var(--sp-4);
  background: #fff;
  box-shadow: 0 -1px 0 rgba(45, 180, 238, 0.08);
  scrollbar-width: thin;
}

.chat-quick-reply {
  flex: 0 0 auto;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border: none;
  border-radius: var(--radius-full);
  background: rgba(255, 161, 51, 0.14);
  color: var(--home-ink);
  font-family: inherit;
  font-size: var(--text-label-sm);
  font-weight: 700;
  cursor: pointer;
  transition: background var(--ease-fast), transform var(--ease-fast);
}

.chat-quick-reply:hover,
.chat-quick-reply:focus-visible {
  background: rgba(255, 161, 51, 0.28);
  transform: translateY(-1px);
}

.chat-input-row {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  background: #fff;
  box-shadow: 0 -1px 0 rgba(45, 180, 238, 0.12);
}

.chat-input {
  flex: 1;
  padding: 0.7rem 1rem;
  border: none;
  border-radius: 999px;
  background: rgba(248, 252, 255, 0.98);
}

.chat-send {
  width: 2.35rem;
  height: 2.35rem;
  border: none;
  border-radius: 50%;
  background: var(--home-orange);
  color: #fff;
}

.toast {
  position: fixed;
  right: var(--sp-6);
  bottom: calc(var(--sp-6) + 4.6rem);
  z-index: 400;
  max-width: 280px;
  padding: var(--sp-4) var(--sp-5);
  border-radius: 1.2rem;
  background: var(--home-ink);
  color: #fff;
  box-shadow: 0 18px 32px rgba(90, 40, 0, 0.28);
  transform: translateY(16px);
  opacity: 0;
  transition: transform var(--ease-normal), opacity var(--ease-normal);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (min-width: 1200px) {
  .nav__links {
    display: flex;
  }

  .nav__hamburger {
    display: none;
  }

  .nav__mobile {
    display: none !important;
    opacity: 0 !important;
  }
}

@media (max-width: 1199px) {
  .site-footer__cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero__inner,
  .story__inner,
  .register__inner {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
  }

  .hero__content {
    max-width: 100%;
  }

  .showcase__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-feature:last-child {
    grid-column: 1 / -1;
  }

  .showcase-feature:last-child .showcase-feature__card,
  .showcase-feature:last-child .showcase-feature__copy {
    margin-inline: auto;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1199px) {
  :root {
    --home-nav-height: 5.6rem;
    --home-nav-inner-top: 0.72rem;
    --home-nav-brand-top: 0.18rem;
    --home-nav-logo: 82px;
    --home-nav-actions-top: 0.22rem;
    --home-cloud-band-height: 4rem;
    --home-cloud-drop: 0.82rem;
  }

  .nav__inner {
    align-items: center;
  }

  .hero__cloud--1 { --cloud-size: 4.9rem; left: -6.5%; }
  .hero__cloud--2 { --cloud-size: 3rem; left: 4%; }
  .hero__cloud--3 { --cloud-size: 5rem; left: 8.5%; }
  .hero__cloud--4 { --cloud-size: 3.1rem; left: 19%; }
  .hero__cloud--5 { --cloud-size: 5.1rem; left: 24%; }
  .hero__cloud--6 { --cloud-size: 3.2rem; left: 37%; }
  .hero__cloud--7 { --cloud-size: 5rem; left: 42%; }
  .hero__cloud--8 { --cloud-size: 3.1rem; left: 55%; }
  .hero__cloud--9 { --cloud-size: 5rem; left: 60%; }
  .hero__cloud--10 { --cloud-size: 3.1rem; left: 73%; }
  .hero__cloud--11 { --cloud-size: 4.9rem; left: 78%; }
  .hero__cloud--12 { --cloud-size: 4.8rem; left: 89%; right: auto; }
  .hero__cloud--13 { --cloud-size: 2.55rem; left: 15%; }
  .hero__cloud--14 { --cloud-size: 2.6rem; left: 47%; }
  .hero__cloud--15 { --cloud-size: 2.55rem; left: 80.5%; }
  .hero__cloud--16 { --cloud-size: 2.45rem; left: 94.5%; }
  .hero__cloud--17 { --cloud-size: 2.35rem; left: 31.8%; }
  .hero__cloud--18 { --cloud-size: 2.4rem; left: 65.8%; }
  .hero__cloud--19 { --cloud-size: 2.15rem; left: 97.6%; }

  .page-cloud--1 { --cloud-size: 4.9rem; left: -6.5%; }
  .page-cloud--2 { --cloud-size: 3rem; left: 4%; }
  .page-cloud--3 { --cloud-size: 5rem; left: 8.5%; }
  .page-cloud--4 { --cloud-size: 3.1rem; left: 19%; }
  .page-cloud--5 { --cloud-size: 5.1rem; left: 24%; }
  .page-cloud--6 { --cloud-size: 3.2rem; left: 37%; }
  .page-cloud--7 { --cloud-size: 5rem; left: 42%; }
  .page-cloud--8 { --cloud-size: 3.1rem; left: 55%; }
  .page-cloud--9 { --cloud-size: 5rem; left: 60%; }
  .page-cloud--10 { --cloud-size: 3.1rem; left: 73%; }
  .page-cloud--11 { --cloud-size: 4.9rem; left: 78%; }
  .page-cloud--12 { --cloud-size: 4.8rem; left: 89%; right: auto; }
  .page-cloud--13 { --cloud-size: 2.55rem; left: 15%; }
  .page-cloud--14 { --cloud-size: 2.6rem; left: 47%; }
  .page-cloud--15 { --cloud-size: 2.55rem; left: 80.5%; }
  .page-cloud--16 { --cloud-size: 2.45rem; left: 94.5%; }
  .page-cloud--17 { --cloud-size: 2.35rem; left: 31.8%; }
  .page-cloud--18 { --cloud-size: 2.4rem; left: 65.8%; }
  .page-cloud--19 { --cloud-size: 2.15rem; left: 97.6%; }

  .hero__doodle--bee,
  .hero__doodle--flower {
    display: none;
  }

  .showcase__doodle--house {
    left: -1rem;
    width: 5.25rem;
  }

  .showcase__doodle--tree {
    right: -0.25rem;
    width: 6.5rem;
  }

  .approaches__grid,
  .extra-services,
  .testimonials__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .site-footer {
    padding-bottom: 6.5rem;
  }

  .site-footer__cta-actions,
  .site-footer__bottom {
    flex-direction: column;
  }

  .site-footer__cta-actions,
  .site-footer__button {
    width: 100%;
  }

  .site-footer__contact { order: 1; }
  .site-footer__quick-links { order: 2; }
  .site-footer__programmes { order: 3; }

  .site-footer__grid {
    align-items: start;
    gap: 2.25rem;
  }

  .site-footer__grid > * {
    width: 100%;
    min-width: 0;
  }

  .footer-col__brand {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    grid-template-areas:
      "logo tagline"
      "logo social";
    align-items: center;
    column-gap: 1rem;
    row-gap: .5rem;
  }

  .footer-col__brand-name {
    grid-area: logo;
  }

  .footer__logo {
    display: block;
    width: 110px;
    max-width: 100%;
  }

  .footer-col__tagline {
    grid-area: tagline;
    max-width: none;
    margin-top: 0;
  }

  .footer-col__social {
    grid-area: social;
    margin-top: 0;
  }

  .footer-col__heading {
    margin-bottom: .9rem;
  }

  .footer-col__links,
  .footer-col__contact {
    gap: .85rem;
  }

  .footer-contact-item {
    display: grid;
    grid-template-columns: 1.5rem minmax(0, 1fr);
    align-items: start;
    column-gap: .65rem;
  }

  .footer-contact-item .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    color: #5a2800;
  }

  .footer-contact-emoji { display: none; }

  .footer-contact-svg {
    display: block;
    width: 1.15rem;
    height: 1.15rem;
  }

  .footer-contact-item > a,
  .footer-contact-item > span:last-child {
    min-width: 0;
  }

  :root {
    --home-nav-height: 5.1rem;
    --home-nav-inner-top: 0.58rem;
    --home-nav-brand-top: 0.14rem;
    --home-nav-logo: 68px;
    --home-nav-actions-top: 0.18rem;
    --home-cloud-band-height: 3.3rem;
    --home-cloud-drop: 0.66rem;
  }

  .container {
    padding-inline: 1.25rem;
  }

  .hero__cloud--1 { --cloud-size: 3.9rem; left: -10%; }
  .hero__cloud--2 { --cloud-size: 2.45rem; left: 5%; }
  .hero__cloud--3 { --cloud-size: 4rem; left: 12%; }
  .hero__cloud--4 { --cloud-size: 2.5rem; left: 25%; }
  .hero__cloud--5 { --cloud-size: 4.1rem; left: 31%; }
  .hero__cloud--6 { --cloud-size: 2.55rem; left: 47%; }
  .hero__cloud--7 { --cloud-size: 4rem; left: 54%; }
  .hero__cloud--8 { --cloud-size: 2.45rem; left: 69%; }
  .hero__cloud--9 { --cloud-size: 4rem; left: 76%; }
  .hero__cloud--10 { display: none; }
  .hero__cloud--11 { display: none; }
  .hero__cloud--12 { --cloud-size: 3.9rem; left: 89%; right: auto; }
  .hero__cloud--13 { --cloud-size: 2rem; left: 16%; }
  .hero__cloud--14 { --cloud-size: 2rem; left: 57%; }
  .hero__cloud--15 { display: none; }
  .hero__cloud--16 { display: none; }
  .hero__cloud--17 { --cloud-size: 1.85rem; left: 33%; }
  .hero__cloud--18 { --cloud-size: 1.9rem; left: 66.8%; }
  .hero__cloud--19 { --cloud-size: 1.7rem; left: 97.8%; }

  .page-cloud--1 { --cloud-size: 3.9rem; left: -10%; }
  .page-cloud--2 { --cloud-size: 2.45rem; left: 5%; }
  .page-cloud--3 { --cloud-size: 4rem; left: 12%; }
  .page-cloud--4 { --cloud-size: 2.5rem; left: 25%; }
  .page-cloud--5 { --cloud-size: 4.1rem; left: 31%; }
  .page-cloud--6 { --cloud-size: 2.55rem; left: 47%; }
  .page-cloud--7 { --cloud-size: 4rem; left: 54%; }
  .page-cloud--8 { --cloud-size: 2.45rem; left: 69%; }
  .page-cloud--9 { --cloud-size: 4rem; left: 76%; }
  .page-cloud--10 { display: none; }
  .page-cloud--11 { display: none; }
  .page-cloud--12 { --cloud-size: 3.9rem; left: 89%; right: auto; }
  .page-cloud--13 { --cloud-size: 2rem; left: 16%; }
  .page-cloud--14 { --cloud-size: 2rem; left: 57%; }
  .page-cloud--15 { display: none; }
  .page-cloud--16 { display: none; }
  .page-cloud--17 { --cloud-size: 1.85rem; left: 33%; }
  .page-cloud--18 { --cloud-size: 1.9rem; left: 66.8%; }
  .page-cloud--19 { --cloud-size: 1.7rem; left: 97.8%; }

  .hero__inner {
    min-height: auto;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__arrow {
    width: 2.65rem;
    height: 2.65rem;
    font-size: 1.7rem;
  }

  .showcase__grid,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .showcase-feature:last-child {
    grid-column: auto;
  }

  .showcase__doodle--house,
  .showcase__doodle--tree {
    display: none;
  }

  .showcase__doodle--sun {
    top: -3rem;
    width: 4.2rem;
  }

  .story__photo {
    min-height: 20rem;
  }

  .story__badge {
    left: 1rem;
    bottom: 1rem;
  }

  .chat-widget {
    right: 1rem;
    bottom: 1rem;
  }

  .toast {
    right: 1rem;
    left: 1rem;
    max-width: none;
  }
}

@media (max-width: 340px) {
  .footer-col__brand {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "tagline"
      "social";
    row-gap: .75rem;
  }

  .footer__logo {
    width: 125px;
  }
}
