@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@700;800&family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --cream: #FFFBF5;
  --surface: #FFFFFF;
  --bubble: #A8D8EA;
  --bubble-pressed: #8CC7DC;
  --bubble-text: #0F3C4C;
  --mint: #B8E6D3;
  --peach: #FFCFB3;
  --lavender: #D6C7F0;
  --butter: #FFE5A3;
  --rose: #F4A9A8;
  --ink: #3D3733;
  --ink-muted: #8A817B;
  --radius-card: 22px;
  --radius-pill: 999px;
  --shadow-sm: 0 8px 20px rgba(61, 55, 51, 0.07);
  --shadow-lg: 0 24px 50px rgba(61, 55, 51, 0.12);
  --border: rgba(61, 55, 51, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Only the landing page gets the colourful blob backdrop; legal pages stay
   plain and easy to read. */
body.home {
  background:
    radial-gradient(circle at 8% 8%, rgba(168, 216, 234, 0.45), transparent 38%),
    radial-gradient(circle at 92% 6%, rgba(255, 207, 179, 0.4), transparent 36%),
    radial-gradient(circle at 6% 62%, rgba(184, 230, 211, 0.4), transparent 34%),
    radial-gradient(circle at 96% 58%, rgba(214, 199, 240, 0.4), transparent 34%),
    radial-gradient(circle at 30% 96%, rgba(255, 229, 163, 0.4), transparent 34%),
    radial-gradient(circle at 80% 98%, rgba(244, 169, 168, 0.35), transparent 32%),
    var(--cream);
  /* Fixed so the colour spots stay anchored to the viewport's corners rather
     than being stretched thin across the whole (much taller) scrolling page. */
  background-attachment: fixed, fixed, fixed, fixed, fixed, fixed, scroll;
}

h1, h2, .brand-word { font-family: 'Baloo 2', -apple-system, sans-serif; font-weight: 800; }
a { color: inherit; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255, 251, 245, 0.72);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
header.site.scrolled {
  background: rgba(255, 251, 245, 0.92);
  border-bottom-color: var(--border);
  box-shadow: 0 6px 18px rgba(61, 55, 51, 0.06);
}
.site-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  transition: padding 0.25s ease;
}
header.site.scrolled .site-inner { padding: 12px 40px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.brand-word { font-size: 20px; }
nav.site-nav a {
  position: relative;
  color: var(--ink-muted); text-decoration: none; margin-left: 26px; font-weight: 700; font-size: 14px;
  transition: color 0.15s;
  padding-bottom: 3px;
}
nav.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--bubble-text); border-radius: 2px; transition: right 0.2s ease;
}
nav.site-nav a:hover { color: var(--ink); }
nav.site-nav a:hover::after { right: 0; }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 56px 0 70px;
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 30px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--bubble-text);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.eyebrow .wiggle { display: inline-block; animation: wiggle 3.2s ease-in-out infinite; }
@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  75% { transform: rotate(10deg); }
}
@media (prefers-reduced-motion: reduce) { .eyebrow .wiggle { animation: none; } }

.hero h1 {
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.12;
  margin: 0 0 18px;
}
.highlight {
  background: linear-gradient(180deg, transparent 58%, var(--butter) 58%);
  padding: 0 2px;
  border-radius: 4px;
}
.hero p.lead { font-size: 18px; color: var(--ink-muted); max-width: 480px; margin: 0 0 26px; line-height: 1.6; }
@media (max-width: 860px) { .hero p.lead { margin: 0 auto 26px; } }

.badges { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
@media (max-width: 860px) { .badges { justify-content: center; } }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border-radius: var(--radius-pill);
  padding: 14px 24px; box-shadow: var(--shadow-sm); font-weight: 700; font-size: 14.5px;
  border: 1px solid var(--border);
}
.badge.muted { color: var(--ink-muted); }

.chips { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 860px) { .chips { justify-content: center; } }
.chip {
  font-size: 12.5px; font-weight: 700; color: var(--ink-muted);
  background: rgba(255, 255, 255, 0.6); border: 1px solid var(--border);
  border-radius: var(--radius-pill); padding: 6px 13px;
}

/* ---------- hero preview card ---------- */
.preview {
  position: relative;
  max-width: 300px;
  margin: 0 auto;
  animation: float 5s ease-in-out infinite;
}
.preview__glow {
  position: absolute; inset: -50px;
  background: radial-gradient(circle, rgba(168, 216, 234, 0.55), transparent 65%);
  z-index: -1;
}
.preview__panel {
  background: var(--surface);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 18px 18px 22px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.preview:hover .preview__panel { transform: rotate(-1.5deg) scale(1.03); box-shadow: 0 30px 60px rgba(61, 55, 51, 0.18); }
.preview__dots { display: flex; gap: 5px; margin-bottom: 10px; }
.preview__dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.preview__title { font-size: 12.5px; font-weight: 800; color: var(--ink); margin-bottom: 14px; }
.preview__days { display: flex; gap: 6px; margin-bottom: 14px; }
.preview__days .day {
  flex: 1; text-align: center; font-size: 10.5px; font-weight: 700; color: var(--ink-muted);
  background: var(--cream); border-radius: 10px; padding: 6px 2px;
}
.preview__days .day b { display: block; font-size: 13px; color: var(--ink); font-family: 'Baloo 2'; }
.preview__days .day.active { background: var(--bubble); color: var(--bubble-text); }
.preview__days .day.active b { color: var(--bubble-text); }
.preview__timeline { position: relative; height: 190px; background: var(--cream); border-radius: 14px; overflow: hidden; }
.preview__slot {
  position: absolute; left: 8px; right: 8px; border-radius: 10px;
  font-size: 11.5px; font-weight: 800; color: var(--ink); padding: 6px 8px;
  box-shadow: 0 4px 10px rgba(61, 55, 51, 0.1);
}
.preview__mascot { position: absolute; right: -22px; bottom: -26px; width: 96px; filter: drop-shadow(0 14px 18px rgba(61, 55, 51, 0.18)); }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .preview { animation: none; } }

/* ---------- "peek inside" mini mockup gallery ---------- */
.mini-grid { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin: 0 0 70px; }
.mini-preview {
  position: relative;
  width: 250px;
  animation: float 5s ease-in-out infinite;
}
.mini-preview__label {
  text-align: center;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  margin-bottom: 10px;
}
.mini-preview__glow { position: absolute; inset: -30px; z-index: -1; }
.mini-preview__caption {
  text-align: center;
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.5;
  margin: 12px 4px 0;
}
.mini-preview__panel {
  background: var(--surface);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 18px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.mini-preview:hover .mini-preview__panel { transform: rotate(1.5deg) scale(1.04); box-shadow: 0 30px 60px rgba(61, 55, 51, 0.18); }
.mini-preview__row { display: flex; align-items: center; gap: 12px; }
.mini-preview__emoji {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 19px;
}
.mini-preview__title { font-family: 'Baloo 2'; font-weight: 800; font-size: 15px; color: var(--ink); }
.mini-preview__sub { font-size: 12.5px; color: var(--ink-muted); margin-top: 2px; }
@media (prefers-reduced-motion: reduce) { .mini-preview { animation: none; } }

/* ---------- sections ---------- */
section { padding: 10px 0; }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(26px, 4vw, 32px); margin: 0 0 10px; }
.section-head p { color: var(--ink-muted); margin: 0; font-size: 16px; }

/* Fixed column counts (not auto-fit) so 6 cards always split evenly, 3+3
   rather than leaving an off-centre orphan row. */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 0 0 70px; }
@media (max-width: 860px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

.card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--radius-card);
  border-top: 4px solid var(--accent, var(--bubble));
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card .icon {
  width: 54px; height: 54px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 16px;
  background: var(--accent, var(--bubble));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), 0 10px 18px -8px rgba(61, 55, 51, 0.35);
}
.card h3 { margin: 0 0 8px; font-size: 17px; font-family: 'Baloo 2'; }
.card p { margin: 0; color: var(--ink-muted); font-size: 14.5px; line-height: 1.55; }

.grid .card:nth-child(1) { transition-delay: 0s; }
.grid .card:nth-child(2) { transition-delay: 0.08s; }
.grid .card:nth-child(3) { transition-delay: 0.16s; }
.grid .card:nth-child(4) { transition-delay: 0.24s; }
.grid .card:nth-child(5) { transition-delay: 0.32s; }
.grid .card:nth-child(6) { transition-delay: 0.4s; }

/* ---------- how it works ---------- */
.steps { position: relative; max-width: 620px; margin: 0 auto 74px; display: flex; flex-direction: column; gap: 18px; }
.steps::before {
  content: ""; position: absolute; left: 37px; top: 20px; bottom: 20px;
  border-left: 3px dashed var(--border); z-index: 0;
}
.step {
  position: relative; z-index: 1;
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--surface); border-radius: var(--radius-card); padding: 22px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step:hover { transform: translateX(4px); box-shadow: var(--shadow-lg); }
.steps .step:nth-child(1) { transition-delay: 0s; }
.steps .step:nth-child(2) { transition-delay: 0.1s; }
.steps .step:nth-child(3) { transition-delay: 0.2s; }
.step .num {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-family: 'Baloo 2'; color: var(--bubble-text);
}
.step h3 { margin: 2px 0 4px; font-size: 16.5px; font-family: 'Baloo 2'; }
.step p { margin: 0; color: var(--ink-muted); font-size: 14.5px; line-height: 1.5; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 700px; margin: 0 auto 70px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 6px 22px;
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 28px 16px 0;
  font-weight: 800;
  font-family: 'Baloo 2';
  font-size: 16px;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 22px;
  color: var(--ink-muted);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 18px; color: var(--ink-muted); font-size: 14.5px; line-height: 1.6; }
.faq-item p a { color: var(--bubble-text); font-weight: 700; }

/* ---------- founder note ---------- */
.founder-note {
  max-width: 480px;
  margin: 0 auto 60px;
  text-align: center;
  color: var(--ink-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ---------- final CTA ---------- */
.cta-final {
  text-align: center;
  padding: 56px 24px;
  margin: 20px 0 60px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--bubble), var(--lavender));
  box-shadow: var(--shadow-lg);
}
.cta-final h2 { color: var(--bubble-text); margin: 0 0 10px; font-size: clamp(24px, 4vw, 30px); }
.cta-final p { color: var(--bubble-text); opacity: 0.85; margin: 0 0 22px; }
.cta-final .badge { background: var(--surface); }

/* ---------- footer ---------- */
footer.site { border-top: 1px solid var(--border); padding: 32px 0; text-align: center; color: var(--ink-muted); font-size: 13px; }
footer.site .links { margin-bottom: 10px; }
footer.site a { text-decoration: none; margin: 0 10px; font-weight: 700; }
footer.site a:hover { color: var(--ink); }

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

/* ---------- legal pages ---------- */
.legal { max-width: 700px; margin: 30px auto 90px; line-height: 1.75; }
.legal h1 { font-size: 32px; margin-bottom: 4px; }
.legal .updated { color: var(--ink-muted); font-size: 13px; margin-bottom: 30px; }
.legal h2 { font-size: 18px; margin-top: 32px; margin-bottom: 8px; font-family: 'Baloo 2'; }
.legal p, .legal li { font-size: 15.5px; }
.legal a { color: var(--bubble-text); font-weight: 700; }
.note {
  background: rgba(255, 197, 60, 0.16);
  border: 1px solid rgba(255, 197, 60, 0.4);
  border-radius: 16px;
  padding: 16px 20px;
  font-size: 13.5px;
  margin: 24px 0 8px;
}

@media (max-width: 520px) {
  .site-inner { padding: 16px 22px; flex-wrap: wrap; row-gap: 8px; }
  nav.site-nav a { margin-left: 0; margin-right: 16px; font-size: 13px; }
}
