/* ===== Puchi landing page ===== */

:root {
  --bg: #FFFDF9;
  --ink: #4A423D;
  --ink-soft: #6d645e;
  --ink-faint: #9b928b;
  --blue: #5D99D8;
  --blue-deep: #4a7fb8;
  --blue-text: #3a6ea8;
  --red: #E2616B;
  --red-deep: #c04a54;
  --red-text: #a33d4c;
  --yellow: #FEC13E;
  --yellow-deep: #d9a021;
  --gold: #C28E1C;
  --sky: #C4E2FB;
  --sky-bg: #E7F1FB;
  --pink: #FCB5BD;
  --blush: #FCE8E3;
  --blush-chip: #FCE7EA;
  --cream: #FEF3DA;
  --cream-soft: #FEFBE7;
  --pale-yellow: #FDE4A5;
  --green-chip: #E6F4E9;
  --green-text: #3FA877;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Fredoka', 'Trebuchet MS', sans-serif;
  overflow-x: hidden;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--red); }
::selection { background: var(--sky); }

h1, h2, h3, p { margin: 0; }
h2 { font-size: 42px; font-weight: 700; letter-spacing: -0.5px; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 1000px; margin: 0 auto; padding: 0 32px; }
.col { display: flex; flex-direction: column; gap: 48px; }

.blue { color: var(--blue); }
.red { color: var(--red); }
.gold { color: var(--gold); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}
.section-head p { font-size: 18px; color: var(--ink-soft); max-width: 52ch; }

.eyebrow {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.eyebrow.gold { color: var(--gold); }
.eyebrow.blue { color: var(--blue); }
.eyebrow.pink { color: #EC7E90; }

.chip {
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}
.chip-blue { background: var(--sky); color: var(--blue-text); }
.chip-pink { background: var(--pink); color: var(--red-text); }
.chip-yellow { background: var(--pale-yellow); color: #96700f; }
.chip-blush { background: var(--blush-chip); color: var(--red-text); }
.chip-green { background: var(--green-chip); color: var(--green-text); }
.chip-sky { background: var(--sky-bg); color: var(--blue-text); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 999px;
}
.btn .arrow { font-size: 20px; line-height: 1; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 4px 0 var(--red-deep); }
.btn-red:hover { background: #d3535d; color: #fff; }
.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  padding: 18px 40px;
  box-shadow: 0 4px 0 var(--yellow-deep);
  margin-top: 8px;
}
.btn-yellow:hover { background: #f5b52e; color: var(--ink); }

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

.nav {
  max-width: 1140px;
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--sky);
  background: #fff;
  object-fit: contain;
  padding: 2px;
}
.nav-brand span {
  font-size: 28px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.5px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 16px;
  font-weight: 500;
}
.nav-links > a { color: var(--ink); }
.nav-links > a:hover { color: var(--red); }
.nav-cta {
  background: var(--blue);
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 3px 0 var(--blue-deep);
}
.nav-links > a.nav-cta { color: #fff; }
.nav-links > a.nav-cta:hover { background: #4a86c7; color: #fff; }

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

.hero {
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px 32px 96px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero-badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  color: var(--gold);
  border: 1.5px solid var(--pale-yellow);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}
.hero h1 {
  font-size: 62px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-wrap: pretty;
}
.hero-sub {
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 46ch;
  text-wrap: pretty;
}
.hero-actions { display: flex; align-items: center; gap: 16px; margin-top: 6px; }
.hero-link { color: var(--blue); font-size: 17px; font-weight: 600; padding: 16px 10px; }
.hero-chips { display: flex; gap: 10px; margin-top: 10px; }

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 620px;
}
.hero-blob {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: var(--cream);
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
}
.hero-dot { position: absolute; border-radius: 50%; }
.hero-dot-blue { width: 70px; height: 70px; background: var(--sky); top: 30px; left: 40px; }
.hero-dot-pink { width: 34px; height: 34px; background: var(--pink); top: 130px; right: 60px; }
.hero-shot {
  position: relative;
  z-index: 1;
  width: 290px;
  border-radius: 42px;
  border: 9px solid #fff;
  box-shadow: 0 24px 60px rgba(93, 153, 216, 0.28);
}
@keyframes puchi-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-mascot {
  position: absolute;
  z-index: 2;
  width: 150px;
  height: 150px;
  object-fit: contain;
  border-radius: 50%;
  border: 5px solid #fff;
  background: #fff;
  bottom: 24px;
  right: 30px;
  box-shadow: 0 10px 26px rgba(74, 66, 61, 0.15);
  animation: puchi-bob 3.2s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .hero-mascot { animation: none; }
}

/* ===== Features ===== */

.features { background: var(--cream); padding: 88px 0 96px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(74, 66, 61, 0.08);
  display: flex;
  flex-direction: column;
}
.feature-shot { height: 340px; overflow: hidden; background: var(--bg); }
.feature-shot-yellow { background: var(--cream-soft); }
.feature-shot img { width: 100%; display: block; margin-top: -16%; }
.feature-body {
  padding: 26px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-body h3 { font-size: 23px; font-weight: 600; }
.feature-body p { font-size: 16px; line-height: 1.55; color: var(--ink-soft); }

/* ===== How it works ===== */

.how { background: var(--sky-bg); padding: 88px 0 96px; }
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.step-art { position: relative; }
.step-art img {
  width: 128px;
  height: 128px;
  object-fit: contain;
  border-radius: 50%;
  border: 5px solid #fff;
  background: #fff;
  padding: 8px;
}
.step:nth-child(1) .step-art img { box-shadow: 0 8px 20px rgba(93, 153, 216, 0.2); }
.step:nth-child(2) .step-art img { box-shadow: 0 8px 20px rgba(226, 97, 107, 0.18); }
.step:nth-child(3) .step-art img { box-shadow: 0 8px 20px rgba(194, 142, 28, 0.18); }
.step-num {
  position: absolute;
  top: -4px;
  left: -4px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--sky-bg);
}
.step-num-blue { background: var(--blue); }
.step-num-red { background: var(--red); }
.step-num-yellow { background: var(--yellow); }
.step h3 { font-size: 21px; font-weight: 600; }
.step p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 28ch;
}

/* ===== Meet Puchi ===== */

.buddy { background: var(--bg); padding: 96px 0; }
.buddy-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: center;
}
.buddy-art { position: relative; }
.buddy-art::before {
  content: "";
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  background: var(--blush);
}
.buddy-art img {
  position: relative;
  width: 280px;
  height: 280px;
  object-fit: contain;
  border-radius: 50%;
  border: 6px solid #fff;
  background: #fff;
  padding: 18px;
  box-shadow: 0 16px 40px rgba(74, 66, 61, 0.12);
}
.buddy-copy { display: flex; flex-direction: column; gap: 18px; }
.buddy-copy h2 { text-wrap: pretty; }
.buddy-copy p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 50ch;
  text-wrap: pretty;
}
.buddy-copy em { font-style: normal; color: var(--red); font-weight: 500; }
.buddy-chips { display: flex; gap: 12px; flex-wrap: wrap; }
.buddy-chips .chip { font-size: 15px; padding: 8px 16px; }

/* ===== Final CTA ===== */

.cta { background: var(--cream-soft); padding: 96px 0; }
.cta-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.cta-mascot {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border-radius: 50%;
  border: 5px solid #fff;
  background: #fff;
  padding: 8px;
  box-shadow: 0 10px 26px rgba(194, 142, 28, 0.2);
}
.cta h2 { font-size: 46px; }
.cta p {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 44ch;
}
.cta-note { font-size: 14px; color: var(--ink-faint); font-weight: 500; }

/* ===== Footer ===== */

.footer { background: var(--bg); border-top: 1.5px solid var(--blush); padding: 32px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-logo { font-size: 20px; font-weight: 700; color: var(--blue); }
.footer-tag, .footer-copy { font-size: 15px; color: var(--ink-faint); }
.footer-copy { font-size: 14px; }

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

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    padding-bottom: 64px;
    gap: 24px;
  }
  .hero-art { min-height: 560px; order: 1; }
  .hero h1 { font-size: 48px; }
  h2 { font-size: 34px; }
  .cta h2 { font-size: 38px; }
  .feature-grid, .step-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .buddy-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 48px; }
  .buddy-copy { align-items: center; }
  .buddy-chips { justify-content: center; }
}

@media (max-width: 640px) {
  .nav { padding: 16px 20px; }
  .nav-links > a:not(.nav-cta) { display: none; }
  .hero { padding: 24px 20px 56px; }
  .hero h1 { font-size: 40px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-chips { flex-wrap: wrap; }
  .hero-art { min-height: 480px; }
  .hero-blob { width: 360px; height: 360px; }
  .hero-shot { width: 240px; }
  .hero-mascot { width: 120px; height: 120px; right: 8px; }
  .container, .container-narrow, .cta-inner { padding: 0 20px; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}
