/* ===================================================
   Lazy Hippo Development — brand styles
   Palette sampled from developer_assets:
   cream bg, cocoa brown, sage green + per-app accents
   (Tochi: warm amber · Bommi: soft persimmon red)
   =================================================== */

:root {
  --cream:        #FBF4E2;  /* header.png background */
  --cream-deep:   #EFE7CF;  /* section alternation */
  --cocoa:        #4A3728;  /* logo wordmark brown */
  --cocoa-soft:   #6B5642;  /* body text */
  --sage:         #97A583;  /* "development" green / cushion */
  --sage-deep:    #7E8F6C;  /* buttons, accents */
  --sage-tint:    #DCE3D0;
  --tan:          #D9C7A7;  /* hippo snout */

  /* Tochi — from the hedgehog icon's sunny orange */
  --tochi:        #E08A2E;
  --tochi-deep:   #B96F1F;
  --tochi-wash:   #FDF3E0;
  --tochi-tint:   #F7E3C3;

  /* Bommi — from the tiger's lifebuoy red, softened */
  --bommi:        #CE5A4E;
  --bommi-deep:   #B04437;
  --bommi-wash:   #FAEDE4;
  --bommi-tint:   #F3D9CD;

  /* Bavi — calm pond teal for the sleepy beaver builder */
  --bavi:         #6C9A8F;
  --bavi-deep:    #527D72;
  --bavi-wash:    #EAF1EA;
  --bavi-tint:    #D4E4DA;

  --radius-lg:    28px;
  --radius-md:    18px;
  --shadow-soft:  0 10px 30px rgba(74, 55, 40, 0.10);
  --font-display: "Baloo 2", "Comic Sans MS", cursive, sans-serif;
  --font-body:    "Quicksand", "Trebuchet MS", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--cocoa-soft);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--cocoa);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.container {
  width: min(1080px, 92%);
  margin-inline: auto;
}

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 244, 226, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(74, 55, 40, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.75rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--cocoa);
}

.nav-brand img { border-radius: 12px; }

.nav-brand em {
  font-style: normal;
  font-weight: 600;
  font-size: 0.8em;
  color: var(--sage-deep);
  letter-spacing: 0.12em;
}

.nav-links { display: flex; gap: 1.5rem; }

.nav-links a {
  text-decoration: none;
  color: var(--cocoa-soft);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--sage-deep); }

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn .hgi-stroke { font-size: 1.15em; }

.btn-primary {
  background: var(--sage-deep);
  color: var(--cream);
  box-shadow: 0 6px 16px rgba(126, 143, 108, 0.35);
}

.btn-primary:hover { background: var(--sage); }

.btn-ghost {
  color: var(--cocoa);
  border: 2px solid rgba(74, 55, 40, 0.25);
}

.btn-ghost:hover { border-color: var(--sage-deep); color: var(--sage-deep); }

.btn-store {
  background: var(--cocoa);
  color: var(--cream);
  font-size: 0.95rem;
  padding: 0.65rem 1.3rem;
  box-shadow: 0 6px 16px rgba(74, 55, 40, 0.25);
}

.btn-store:hover { background: #5C4634; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--cocoa-soft);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s;
}

.link-more:hover { color: var(--cocoa); }

/* ---------- Hero ---------- */

.hero { position: relative; padding-top: 4rem; }

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 2.5rem;
  padding-bottom: 6rem;
}

.hero-eyebrow,
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 0.75rem;
}

.hero-eyebrow .hgi-stroke,
.section-eyebrow .hgi-stroke { font-size: 1.25em; letter-spacing: 0; }

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin-bottom: 1.1rem;
}

.hero-sub {
  font-size: 1.15rem;
  max-width: 34rem;
  margin-bottom: 1.8rem;
}

.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.hero-apps {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 2rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--cocoa-soft);
}

.hero-apps img {
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(74, 55, 40, 0.18);
  transition: transform 0.15s ease;
}

.hero-apps a:hover img { transform: translateY(-3px) scale(1.05); }

.hero-art img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.hero-wave {
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  line-height: 0;
}

.hero-wave svg { width: 100%; height: 70px; }

/* ---------- App showcases ---------- */

.showcase { padding: 4.25rem 0; }

.showcase--tochi { background: var(--tochi-wash); }

.showcase--bommi { background: var(--bommi-wash); }

.showcase--bavi { background: var(--bavi-wash); }

.showcase-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.showcase-inner--reverse .showcase-art { order: 2; }
.showcase-inner--reverse .showcase-copy { order: 1; }

.mascot-frame {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 420px;
  margin-inline: auto;
  border-radius: 50% 46% 52% 48% / 48% 52% 46% 52%;
}

.mascot-frame--tochi { background: radial-gradient(circle at 50% 42%, var(--tochi-tint), transparent 72%); }

.mascot-frame--bommi { background: radial-gradient(circle at 50% 42%, var(--bommi-tint), transparent 72%); }

.mascot-frame--bavi { background: radial-gradient(circle at 50% 42%, var(--bavi-tint), transparent 72%); }

/* Framed promotional art (non-transparent illustrations) */
.promo-frame {
  max-width: 460px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #FDF7ED; /* matches the illustration's own background */
  border: 6px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 18px 40px rgba(74, 55, 40, 0.16);
  transform: rotate(-2deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-frame img { border-radius: calc(var(--radius-lg) - 8px); }

.promo-frame:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 24px 48px rgba(74, 55, 40, 0.20);
}

.mascot {
  width: 74%;
  filter: drop-shadow(0 18px 26px rgba(74, 55, 40, 0.18));
  transition: transform 0.3s ease;
}

.mascot-frame:hover .mascot { transform: translateY(-6px); }

.app-title {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1rem;
}

.app-title-icon {
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(74, 55, 40, 0.20);
}

.app-title h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); }

.app-title .section-eyebrow { margin-bottom: 0.1rem; color: var(--tochi-deep); }

.section-eyebrow--bommi { color: var(--bommi-deep) !important; }

.section-eyebrow--bavi { color: var(--bavi-deep) !important; }

.app-tagline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--cocoa);
  margin-bottom: 0.8rem;
}

.app-desc { max-width: 32rem; margin-bottom: 1.4rem; }

.chip-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.3rem;
}

.chip-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--cocoa);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(74, 55, 40, 0.08);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  box-shadow: 0 2px 6px rgba(74, 55, 40, 0.07);
}

.chip-row .hgi-stroke { font-size: 1.1rem; }

.showcase--tochi .chip-row .hgi-stroke { color: var(--tochi-deep); }
.showcase--bommi .chip-row .hgi-stroke { color: var(--bommi-deep); }
.showcase--bavi .chip-row .hgi-stroke { color: var(--bavi-deep); }

.app-motto {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: 1rem;
  color: var(--tochi-deep);
  letter-spacing: 0.02em;
  margin-bottom: 1.4rem;
}

.app-motto--bommi { color: var(--bommi-deep); }

.app-motto--bavi { color: var(--bavi-deep); max-width: 26rem; }

/* ---------- Bavi coming-soon extras ---------- */

.badge-soon {
  display: inline-block;
  vertical-align: middle;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--bavi);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  margin-left: 0.6rem;
  transform: translateY(-0.35em);
  box-shadow: 0 4px 10px rgba(82, 125, 114, 0.35);
}

.soon-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--bavi-deep);
  background: rgba(255, 255, 255, 0.75);
  border: 2px dashed var(--bavi);
  border-radius: 999px;
  padding: 0.6rem 1.3rem;
}

.soon-pill .hgi-stroke { font-size: 1.15em; }

.family-line {
  margin-top: 1.5rem;
  padding-top: 1.1rem;
  border-top: 1px dashed rgba(74, 55, 40, 0.18);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cocoa-soft);
}

.family-line em {
  font-style: normal;
  font-family: var(--font-display);
  color: var(--bavi-deep);
}

.hero-app-soon img {
  background: var(--bavi-tint);
  padding: 5px;
}

.store-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/* ---------- About ---------- */

.about { padding: 5.5rem 0; }

.about h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin-bottom: 1.2rem;
}

.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-copy p { margin-bottom: 1rem; max-width: 36rem; }

.about-copy em { color: var(--sage-deep); font-style: italic; }

.value-list { list-style: none; display: grid; gap: 1.4rem; }

.value-list li {
  display: flex;
  gap: 1rem;
  background: var(--cream-deep);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
}

.value-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 14px;
  background: var(--sage-tint);
  color: var(--sage-deep);
  font-size: 1.4rem;
}

.value-list h3 { font-size: 1.12rem; margin-bottom: 0.15rem; }

.value-list p { font-size: 0.95rem; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--cocoa);
  color: var(--cream);
  padding: 3.5rem 0 1.8rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr;
  gap: 2rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(251, 244, 226, 0.15);
}

.footer-brand { display: flex; gap: 1rem; align-items: flex-start; }

.footer-brand img { border-radius: 14px; }

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  display: block;
  margin-bottom: 0.2rem;
}

.footer-brand p { font-size: 0.92rem; color: var(--tan); }

.footer-links h3 {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.7rem;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--cream);
  text-decoration: none;
  margin-bottom: 0.45rem;
  font-size: 0.98rem;
}

.footer-links a:hover { color: var(--tan); }

.footer-legal {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(251, 244, 226, 0.65);
  padding-top: 1.6rem;
  line-height: 1.7;
}

.footer-legal strong { color: var(--tan); font-weight: 600; }

.footer-copy {
  text-align: center;
  font-size: 0.88rem;
  color: var(--tan);
  padding-top: 0.9rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions, .hero-apps { justify-content: center; }
  .hero-art { order: -1; max-width: 520px; margin-inline: auto; }

  .showcase-inner { grid-template-columns: 1fr; gap: 2rem; }
  .showcase-inner--reverse .showcase-art { order: 0; }
  .showcase-inner--reverse .showcase-copy { order: 1; }
  .mascot-frame { max-width: 300px; }
  .app-title { justify-content: center; text-align: left; }
  .showcase-copy { text-align: center; }
  .app-desc { margin-inline: auto; }
  .chip-row { justify-content: center; }
  .store-row { justify-content: center; }
  .app-title .section-eyebrow { justify-content: flex-start; }

  .about-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { flex-direction: column; align-items: center; }
  .footer-links a { justify-content: center; }
  .nav-links { gap: 1rem; }
  .nav-brand span em { display: none; }
}
