/* emellow brand system */
:root {
  --bg: #FFF7F0;
  --surface: #FFE8D9;
  --surface2: #FFD4B8;
  --text: #2A1208;
  --muted: #9B7060;
  --dim: #C4A898;
  --border: #F0CDB8;
  --peach: #FF9F6B;
  --bubblegum: #FF85A1;
  --cloud: #74C0E8;
  --minty: #5ECFAA;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1C1208;
    --surface: #2A1D10;
    --surface2: #3A2918;
    --text: #FFF0E8;
    --muted: #C4A898;
    --dim: #7A5A4E;
    --border: #3A2918;
  }
}

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

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: 'Fredoka One', cursive;
  font-weight: 400;
  line-height: 1.2;
}

a { color: inherit; }

.nav-wordmark { color: var(--peach) !important; }

/* nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 48px;
  background: rgba(255, 247, 240, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

@media (prefers-color-scheme: dark) {
  .nav { background: rgba(28, 18, 8, 0.9); }
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-mellie-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.nav-mellie {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.nav-wordmark {
  font-family: 'Fredoka One', cursive;
  font-size: 22px;
  color: var(--peach);
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-link:hover { color: var(--text); }

@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
}

/* buttons */
.btn {
  display: inline-block;
  background: var(--peach);
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
  line-height: 1;
}

.btn:hover { transform: scale(1.03); opacity: 0.92; }

.btn-sm {
  padding: 10px 22px;
  font-size: 14px;
}

/* eyebrow label */
.eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--muted);
  margin-bottom: 12px;
}

/* sections */
.section { padding: 80px 48px; }
.section-marshmallow { background: var(--bg); }
.section-puff { background: var(--surface); }
.section-inner { max-width: 1080px; margin: 0 auto; }
.section-center { text-align: center; }

/* hero */
.hero {
  padding: 120px 48px 80px;
  background: var(--bg);
  text-align: center;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 64px;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-subhead {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.4;
}

.hero-body {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 32px;
}

.hero-note {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

/* grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

@media (max-width: 768px) {
  .grid-3 { grid-template-columns: 1fr; }
  .hero { padding: 80px 24px 60px; }
  .hero h1 { font-size: 40px; }
  .section { padding: 60px 24px; }
}

/* cards */
.card {
  background: white;
  border-radius: 20px;
  padding: 32px;
}

@media (prefers-color-scheme: dark) {
  .card { background: var(--surface2); }
}

.card-step {
  font-family: 'Fredoka One', cursive;
  font-size: 13px;
  color: var(--peach);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 8px;
}

.card h3 {
  font-size: 32px;
  color: var(--text);
  margin-bottom: 12px;
}

.card p {
  font-size: 15px;
  color: var(--muted);
}

/* bucket cards */
.bucket-card {
  background: white;
  border-radius: 20px;
  padding: 32px;
  border-top: 4px solid transparent;
}

@media (prefers-color-scheme: dark) {
  .bucket-card { background: var(--surface2); }
}

.bucket-card-action { border-top-color: #FF85A1; }
.bucket-card-fyi    { border-top-color: #74C0E8; }
.bucket-card-mellow { border-top-color: #5ECFAA; }

.bucket-title { font-size: 32px; margin-bottom: 12px; }
.bucket-title-action { color: #FF85A1; }
.bucket-title-fyi    { color: #74C0E8; }
.bucket-title-mellow { color: #5ECFAA; }

.bucket-body { font-size: 15px; color: var(--muted); margin-bottom: 16px; }

.bucket-example {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  font-style: italic;
}

/* quote cards */
.quote-card {
  background: white;
  border-radius: 20px;
  padding: 28px;
}

@media (prefers-color-scheme: dark) {
  .quote-card { background: var(--surface2); }
}

.quote-text {
  font-size: 18px;
  font-style: italic;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.6;
}

.quote-attr {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

/* pricing */
.pricing-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 48px;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.pricing-price { font-size: 48px; color: var(--peach); margin-bottom: 24px; font-family: 'Fredoka One', cursive; }
.pricing-body { font-size: 15px; color: var(--muted); margin-bottom: 32px; }

/* footer CTA - always dark */
.footer-cta {
  background: #1C1208;
  padding: 100px 48px;
  text-align: center;
}

.footer-cta-body {
  font-size: 18px;
  color: rgba(255,247,240,0.8);
  max-width: 560px;
  margin: 0 auto 32px;
}

.footer-cta-note {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,247,240,0.4);
}

/* footer - always dark */
.footer {
  background: #2A1D10;
  padding: 32px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo {
  font-family: 'Fredoka One', cursive;
  font-size: 18px;
  color: #FF9F6B;
  text-decoration: none;
}

.footer-tagline {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,247,240,0.4);
}

.footer-links {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,247,240,0.4);
}

.footer-links a {
  color: rgba(255,247,240,0.4);
  text-decoration: none;
}

.footer-links a:hover { color: rgba(255,247,240,0.7); }

/* section headlines */
.section-headline { font-size: 48px; color: var(--text); margin-bottom: 16px; }
.section-subhead { font-size: 18px; color: var(--muted); }

/* waitlist form */
.waitlist-form { margin: 2.5rem 0; }

.signup-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.email-input {
  flex: 1;
  min-width: 220px;
  padding: 14px 24px;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}

.email-input:focus { border-color: var(--peach); }

.form-note {
  margin-top: 1rem;
  color: var(--minty);
  font-weight: 700;
}

/* content pages - about, faq, product, privacy, terms */
.content-page {
  max-width: 720px;
  margin: 4rem auto;
  padding: 0 2rem 4rem;
}

.content-page h1 {
  font-family: 'Fredoka One', cursive;
  font-size: 48px;
  font-weight: 400;
  color: var(--peach);
  margin-bottom: 24px;
  line-height: 1.2;
}

.content-page h2 {
  font-family: 'Fredoka One', cursive;
  font-size: 28px;
  font-weight: 400;
  color: var(--text);
  margin: 40px 0 12px;
}

.content-page h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin: 28px 0 10px;
}

.content-page p {
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.75;
}

.content-page ul,
.content-page ol {
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  color: var(--muted);
  padding-left: 1.5rem;
  margin-bottom: 16px;
  line-height: 1.75;
}

.content-page li {
  margin-bottom: 6px;
}

.content-page a {
  color: var(--peach);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-page strong {
  font-weight: 800;
  color: var(--text);
}

.content-page em {
  font-style: italic;
}

.content-page hr {
  border: none;
  border-top: 1.5px solid var(--border);
  margin: 40px 0;
}
.btn-bubblegum { background: var(--bubblegum); }

/* stacked waitlist form */
.signup-form-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
}

.signup-form-stack .btn {
  align-self: flex-start;
}
