:root {
  --pink: #ff99d8;
  --teal: #a7eff1;
  --mint: #a1f7da;
  --coral: #ff9999;
  --yellow: #ffeb99;
  --green: #bfecac;
  --mint2: #99ffce;
  --sky: #99f0ff;
  --blue: #99daff;
  --lavender: #e1a8f0;
  --purple: #cea8f0;
  --violet: #bea1f7;
  --text: #000000;
  --border: #e5e2da;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Atkinson Hyperlegible', sans-serif;
  color: var(--text);
  background: #ffffff;
  font-size: 18px;
}

a { text-decoration: none; color: inherit; }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 100;
}
.nav-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; cursor: pointer; text-decoration: none; }
.nav-brand:hover { opacity: 0.75; }
.nav-logo { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }
.nav-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 16px; align-items: center; }
.nav-dropdown { position: relative; }
.nav-dropdown .chevron { font-size: 10px; margin-left: 2px; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 0;
  min-width: 150px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 8px 14px; font-size: 13px; }
.dropdown-menu a:hover { background: #f9f9f9; }

/* Consistent page width for every section */
.hero-wrap, .section, .footer {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* Hero */
.hero-wrap { padding: 1.5rem 1rem 0.5rem; }
.hero-logo { display: flex; justify-content: center; padding-bottom: 1rem; }
.hero-logo img { width: 130px; height: 130px; border-radius: 12px; object-fit: cover; }
.hero {
  background: var(--pink);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
}
.hero-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  margin: 0 auto 1rem;
  display: block;
}
.hero h1 { font-size: 34px; font-weight: 700; margin: 0 0 12px; }
.hero-copy { font-size: 19px; line-height: 1.55; margin: 0 0 22px; }
.hero-prompt { font-size: 18px; font-weight: 700; margin: 0 0 14px; }
.hero-cards { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-card {
  border-radius: 12px;
  padding: 16px 20px;
  width: 220px;
  text-align: center;
  display: block;
}
.hero-card .card-title { display: block; font-size: 18px; font-weight: 700; white-space: nowrap; }
.hero-card .card-sub { display: block; font-size: 14px; margin-top: 6px; line-height: 1.4; }
.card-mint { background: var(--mint); }
.card-blue { background: var(--teal); }

/* Section headings */
.section { padding: 2rem 1rem; }
.section iframe { max-width: 100%; }
.section h2 { font-size: 28px; font-weight: 700; text-align: center; margin: 0 0 8px; }
.section-sub { font-size: 17px; text-align: center; margin: 0 0 32px; }

/* Category grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.category-card {
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.category-card i { font-size: 32px; }
.cat-title { font-size: 18px; font-weight: 700; margin: 12px 0 5px; }
.cat-sub { font-size: 14px; }
.cat-pink { background: var(--pink); }
.cat-yellow { background: var(--yellow); }
.cat-purple { background: var(--purple); }
.cat-green { background: var(--green); }
.cat-mint { background: var(--mint); }
.cat-blue { background: var(--teal); }

/* Content cards (letters/recipes) */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.content-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: block;
}
.content-photo { height: 130px; }
.content-body { padding: 14px; display: flex; flex-direction: column; }
.content-tag { font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.content-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.content-sub { font-size: 15px; }

/* Shop grid */
.shop-row { margin-bottom: 28px; text-align: center; }
.shop-row:last-child { margin-bottom: 0; }
.shop-row-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.6;
  margin: 0 0 10px;
  text-align: center;
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  justify-content: center;
}
.shop-grid-single { grid-template-columns: minmax(150px, 260px); justify-content: center; }
.shop-grid-double { grid-template-columns: repeat(auto-fit, minmax(150px, 260px)); justify-content: center; }
.shop-card { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; display: block; text-align: left; }
.shop-photo { height: 110px; }
.shop-body { padding: 12px; display: flex; flex-direction: column; }
.shop-title { font-size: 16px; font-weight: 700; margin-bottom: 5px; }
.shop-sub { font-size: 15px; }

/* Photo placeholder colors (swap for real images) */
.photo-pink { background: var(--pink); }
.photo-purple { background: var(--purple); }
.photo-blue { background: var(--teal); }
.photo-green { background: var(--green); }
.photo-yellow { background: var(--yellow); }

/* Signup */
.signup-block {
  background: var(--teal);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
}
.signup-block h2 { font-size: 28px; font-weight: 700; margin: 0 0 10px; }
.signup-block p { font-size: 18px; margin: 0 0 22px; }
.signup-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; max-width: 420px; margin: 0 auto; }
.signup-form input {
  flex: 1;
  min-width: 180px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 16px;
}
.signup-form button {
  background: var(--pink);
  color: var(--text);
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
}
.signup-form-embed {
  display: flex;
  justify-content: center;
  width: 100%;
}
.signup-form-embed > * {
  margin: 0 auto !important;
}
.signup-note { font-size: 14px; opacity: 0.7; margin: 14px 0 0 !important; }

/* Footer */
.footer {
  background: var(--pink);
  border-radius: 16px;
  padding: 2.5rem 2rem 1.5rem;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 2rem;
}
.footer h2 { font-size: 24px; font-weight: 700; margin: 0 0 8px; }
.footer > p { font-size: 16px; margin: 0 0 22px; }
.footer-links { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; font-size: 16px; }
.pinterest-link { display: inline-block; margin-bottom: 22px; font-size: 26px; }
.copyright {
  font-size: 14px;
  opacity: 0.7;
  border-top: 1px solid rgba(0,0,0,0.15);
  padding-top: 18px;
  margin: 0 !important;
}

/* Mobile */
/* Hamburger button (hidden on desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Dropdown trigger button (matches link styling) */
.dropdown-trigger {
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}

@media (max-width: 700px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 10px 24px 18px;
  }
  .nav-links.open { display: flex; }
  .nav-links a, .nav-links .dropdown-trigger { padding: 10px 0; width: 100%; }

  .nav-dropdown { width: 100%; }
  .dropdown-menu {
    display: none;
    position: static;
    border: none;
    box-shadow: none;
    padding: 0 0 0 14px;
    width: 100%;
  }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .nav-dropdown:hover .dropdown-menu { display: none; } /* disable hover on touch */
  .nav-dropdown.open:hover .dropdown-menu { display: block; }

  .category-grid { grid-template-columns: repeat(2, 1fr); }
}