*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: 'Baloo 2', sans-serif;
  font-weight: 600;
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, p { margin: 0; padding: 0; }

:root {
  --blue: #0050c4;
  --coral: #ff6f5e;
  --plum: #2c2560;
  --ink: #17142b;
  --paper: #fff9ec;
}

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { transition: none; } }

/* ---------- Nav (part of hero, not fixed — no glass/blur) ---------- */
.nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 1.8rem;
}
.nav__logo { font-weight: 800; font-size: 1.5rem; color: #fff; -webkit-text-stroke: 1.5px var(--ink); }
.btn--nav {
  font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 0.95rem;
  background: var(--paper); color: var(--ink);
  padding: 0.6rem 1.2rem;
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.25);
  transition: transform 0.15s;
}
.btn--nav:hover { transform: translate(-2px,-2px); }

/* ---------- Big faded background character (depth) ---------- */
.hero__bigchar, .about__bigchar {
  position: absolute; z-index: 1; pointer-events: none;
  opacity: 0.14;
}
.hero__bigchar { top: -8%; right: -6%; width: 55vw; max-width: 700px; }
.hero__bigchar img { transform: rotate(8deg); }
.about__bigchar { bottom: -12%; left: -8%; width: 50vw; max-width: 600px; }
.about__bigchar img { transform: rotate(-10deg) scaleX(-1); }

/* ---------- Credibility badges ---------- */
.badges { position: relative; z-index: 2; display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; }
.badge {
  font-size: 0.85rem; font-weight: 700; color: #fff;
  background: rgba(255,255,255,0.14);
  border: 2px solid rgba(255,255,255,0.5);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}

/* ---------- Ripped-paper divider ---------- */
.ripper { position: absolute; left: 0; right: 0; bottom: -1px; height: 28px; z-index: 5; }
.ripper--light { background: var(--coral); clip-path: polygon(0% 100%,3% 30%,7% 95%,11% 15%,15% 90%,19% 25%,23% 100%,27% 10%,31% 85%,35% 20%,39% 95%,43% 15%,47% 90%,51% 25%,55% 100%,59% 10%,63% 85%,67% 20%,71% 95%,75% 15%,79% 90%,83% 25%,87% 100%,91% 10%,95% 85%,100% 100%); }
.ripper--dark { background: var(--plum); clip-path: polygon(0% 100%,3% 30%,7% 95%,11% 15%,15% 90%,19% 25%,23% 100%,27% 10%,31% 85%,35% 20%,39% 95%,43% 15%,47% 90%,51% 25%,55% 100%,59% 10%,63% 85%,67% 20%,71% 95%,75% 15%,79% 90%,83% 25%,87% 100%,91% 10%,95% 85%,100% 100%); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 1.1rem; padding: 0.9rem 1.9rem; border-radius: 999px; transition: transform 0.15s; }
.btn--solid { background: var(--paper); color: var(--ink); border: 3px solid var(--ink); box-shadow: 6px 6px 0 rgba(0,0,0,0.3); }
.btn--solid:hover { transform: translate(-3px,-3px); box-shadow: 9px 9px 0 rgba(0,0,0,0.3); }
.btn--ghost { border: 3px solid rgba(255,255,255,0.8); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,0.15); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  background: var(--blue);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 6rem 1.6rem 3rem;
}
.hero__stage { position: relative; z-index: 2; display: inline-block; margin-bottom: 1.6rem; }
.hero__char {
  max-width: min(52vw, 340px);
  filter: drop-shadow(10px 14px 0 rgba(0,0,0,0.28));
  transform: rotate(-3deg);
}
.hero__logo {
  position: absolute; top: -1.5rem; right: -6.5rem; z-index: 2;
  width: min(38vw, 220px);
  filter: drop-shadow(6px 8px 0 rgba(0,0,0,0.28));
  transform: rotate(6deg);
}
.hero__sub { position: relative; z-index: 2; font-size: 1.25rem; color: #fff; margin-bottom: 2rem; }
.hero__cta { position: relative; z-index: 2; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- About ---------- */
.about {
  position: relative; overflow: hidden;
  background: var(--coral);
  min-height: 90svh;
  display: flex; align-items: center; justify-content: center; gap: 4rem;
  flex-wrap: wrap;
  padding: 5rem 1.8rem;
}
.about__stage { position: relative; z-index: 2; }
.about__text { position: relative; z-index: 2; }
.about__char {
  max-width: min(38vw, 380px);
  filter: drop-shadow(10px 14px 0 rgba(0,0,0,0.22));
  transform: rotate(3deg);
}
.about__text { max-width: 420px; }
.about__tag { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(23,20,43,0.7); margin-bottom: 0.6rem; }
.about__title { font-weight: 800; font-size: clamp(2rem, 4.4vw, 2.8rem); color: var(--ink); margin-bottom: 1.1rem; }
.about__body { font-size: 1.15rem; color: var(--ink); }

/* ---------- Closer ---------- */
.closer {
  background: var(--plum);
  min-height: 70svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 5rem 1.8rem;
}
.closer__char {
  max-width: min(34vw, 260px);
  filter: drop-shadow(8px 12px 0 rgba(0,0,0,0.3));
  transform: rotate(-4deg);
  margin-bottom: 1.6rem;
}
.closer__title { font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.2rem); color: #fff; margin-bottom: 1.8rem; }
.closer__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--paper); padding: 2rem 1.8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; font-size: 0.85rem; color: rgba(23,20,43,0.6); }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .nav { padding: 1.1rem 1.2rem; }
  .nav__logo { font-size: 1.2rem; }
  .btn--nav { font-size: 0.82rem; padding: 0.5rem 0.9rem; }
  .hero__bigchar, .about__bigchar { width: 80vw; opacity: 0.12; }

  .hero__stage { margin-top: 2rem; }
  .hero__logo { position: static; display: block; margin: 0 auto 1.2rem; width: min(60vw, 220px); transform: rotate(-3deg); }
  .hero__char { max-width: min(60vw, 260px); margin: 0 auto; }

  .about { flex-direction: column; text-align: center; padding-top: 6rem; }
  .about__char { order: -1; max-width: min(55vw, 260px); }
}
