/* ============================================================
   HarmonyMinds — brand stylesheet
   Palette & mood taken from HarmonyMinds printable PDFs.
   To reuse this template for another brand (e.g. TaxFit):
   change the CSS variables below + logo — everything follows.
   ============================================================ */

:root {
  /* Brand palette (from HarmonyMinds PDFs) */
  --cream: #FFF9F1;
  --paper: #FFFFFF;
  --ink: #33414A;
  --ink-soft: #5E6E77;
  --teal: #3FA8A0;
  --teal-dark: #2E837C;
  --teal-tint: #E3F4F2;
  --pink: #F2A9B8;
  --pink-tint: #FCE9ED;
  --lavender: #B79FDB;
  --lavender-tint: #F0EAF9;
  --sun: #FFC85C;
  --sun-tint: #FFF3DA;
  --mint-tint: #E9F6EC;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 6px 24px rgba(51, 65, 74, 0.08);
  --shadow-lift: 0 12px 32px rgba(51, 65, 74, 0.14);

  --font-display: "Quicksand", "Trebuchet MS", sans-serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
  --font-script: "Caveat", cursive;

  --wrap: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

img, svg { max-width: 100%; display: block; }

a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }

.kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--teal-tint);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 14px;
}

.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 62ch; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 249, 241, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(51, 65, 74, 0.07);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand:hover { text-decoration: none; }

.brand-name {
  font-family: var(--font-script);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--teal-dark);
  line-height: 1;
}

.brand-group { display: flex; align-items: center; gap: 16px; }

.nav-social { display: flex; align-items: center; gap: 8px; padding-left: 14px; border-left: 1.5px solid rgba(51,65,74,0.12); }
.nav-social a {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-dark);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.nav-social a:hover { background: var(--teal); color: #fff; transform: translateY(-2px); text-decoration: none; }
.nav-social svg { width: 15px; height: 15px; fill: currentColor; }

.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }

.nav-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--teal-dark); text-decoration: none; }
.nav-links a[aria-current="page"] { border-bottom: 3px solid var(--pink); padding-bottom: 2px; }

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-lift); }

.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--teal-dark); border: 2px solid var(--teal); }
.btn-sun { background: var(--sun); color: var(--ink); }

.nav-toggle { display: none; background: none; border: none; font-size: 1.7rem; color: var(--ink); cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 84px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-areas:
    "head collage"
    "rest collage";
  column-gap: 48px;
  align-items: center;
}
.hero-head { grid-area: head; align-self: end; }
.hero-rest { grid-area: rest; align-self: start; }
.hero-collage { grid-area: collage; }

.hero .lead { margin: 18px 0 28px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.badge {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--paper);
  border: 1.5px dashed var(--teal);
  color: var(--ink-soft);
}

.hero-collage {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
  align-content: start;
}
.hero-collage .shot { border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; position: relative; display: block; aspect-ratio: 1 / 1; }
.hero-collage .shot img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform 0.2s ease; }
.hero-collage .shot:hover img { transform: scale(1.03); }
.hero-collage .shot-main { grid-row: 1 / 3; aspect-ratio: auto; height: 100%; }
.bestseller-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--sun);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  z-index: 2;
}

/* Hands + slogan — own tinted section */
.slogan-band {
  text-align: center;
  padding: 52px 24px;
  background: linear-gradient(120deg, var(--lavender-tint), var(--pink-tint) 55%, var(--teal-tint));
}
.slogan-band .hands { width: 170px; margin: 0 auto 14px; }
.slogan-band p { font-family: var(--font-script); font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--ink); line-height: 1.3; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
  z-index: -1;
}
.blob-1 { width: 260px; height: 260px; background: var(--pink-tint); top: -60px; right: 8%; }
.blob-2 { width: 180px; height: 180px; background: var(--lavender-tint); bottom: -40px; left: 4%; }
.blob-3 { width: 120px; height: 120px; background: var(--sun-tint); top: 30%; left: 42%; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-tint { background: var(--paper); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head .lead { margin: 12px auto 0; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.card .icon-dot {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.dot-teal { background: var(--teal-tint); }
.dot-pink { background: var(--pink-tint); }
.dot-lav { background: var(--lavender-tint); }
.dot-sun { background: var(--sun-tint); }
.dot-mint { background: var(--mint-tint); }

.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- Product cards ---------- */
.product-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }

.product-img { width: 100%; height: 200px; object-fit: cover; object-position: top center; display: block; }

/* Compact Etsy-like product cards */
.product-grid { gap: 18px; }
.product-grid .product-top { padding: 14px 16px 8px; min-height: 0; }
.product-grid .product-top h3 { font-size: 0.98rem; }
.product-grid .product-top .age { font-size: 0.75rem; }
.product-grid .product-body { padding: 0 16px 16px; gap: 9px; }
.product-grid .product-body p { font-size: 0.85rem; }
.product-grid .tags { display: none; }
.product-grid .btn { padding: 7px 16px; font-size: 0.82rem; }

.product-top {
  padding: 26px 24px 20px;
  min-height: 118px;
}
.pt-pink { background: var(--pink-tint); }
.pt-teal { background: var(--teal-tint); }
.pt-lav { background: var(--lavender-tint); }
.pt-sun { background: var(--sun-tint); }
.pt-mint { background: var(--mint-tint); }

.product-top h3 { font-size: 1.12rem; }
.product-top .age { font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; color: var(--ink-soft); }

.product-body { padding: 18px 24px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product-body p { color: var(--ink-soft); font-size: 0.94rem; flex: 1; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--cream);
  border: 1px solid rgba(51,65,74,0.12);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 4px 10px;
}

.product-body .btn { align-self: flex-start; padding: 9px 20px; font-size: 0.9rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding: 30px 34px 32px; }
.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: var(--pink);
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.step:nth-child(2) .step-num { background: var(--teal); }
.step:nth-child(3) .step-num { background: var(--lavender); }

/* ---------- Science / concept cards ---------- */
.concept-card { border-top: 5px solid var(--teal); }
.concept-card.c-pink { border-top-color: var(--pink); }
.concept-card.c-lav { border-top-color: var(--lavender); }
.concept-card.c-sun { border-top-color: var(--sun); }

.concept-card .meta {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.concept-card .how {
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.concept-card .how strong { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  background: var(--paper);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  margin-bottom: 12px;
  padding: 18px 22px;
}
.faq summary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--teal); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--ink-soft); }

/* ---------- Reviews ---------- */
.rating-summary {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 6px 0 36px;
  font-family: var(--font-display);
  font-weight: 700;
}
.rating-summary .big { font-size: 2rem; }
.rating-summary .stars { color: var(--sun); font-size: 1.3rem; letter-spacing: 2px; }
.rating-summary .muted { color: var(--ink-soft); font-weight: 600; }

.review-card { display: flex; flex-direction: column; }
.review-card .stars { color: var(--sun); letter-spacing: 2px; margin-bottom: 10px; }
.review-card blockquote { font-size: 1rem; color: var(--ink); flex: 1; }
.review-meta { margin-top: auto; padding-top: 14px; font-size: 0.82rem; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review-meta strong { color: var(--ink); font-family: var(--font-display); }
.review-meta a { font-size: 0.82rem; }

/* ---------- Quote / story ---------- */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.story-panel {
  background: var(--lavender-tint);
  border-radius: 28px;
  padding: 40px;
}
.story-panel .script { font-family: var(--font-script); font-size: 1.8rem; color: var(--ink); line-height: 1.35; }

.chain {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
}
.chain span { background: var(--paper); border-radius: 999px; padding: 6px 14px; box-shadow: var(--shadow); }
.chain .arr { background: none; box-shadow: none; color: var(--teal); padding: 0 2px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--teal);
  border-radius: 28px;
  padding: 52px 48px;
  text-align: center;
  color: #fff;
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { opacity: 0.92; max-width: 56ch; margin: 0 auto 26px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #C9D4DA;
  padding: 56px 0 32px;
  margin-top: 72px;
  font-size: 0.95rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer a { color: #C9D4DA; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.footer-brand .brand-name { color: #8FD6CF; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; font-size: 0.85rem; color: #92A2AB; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 34px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .story { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* hero on mobile: headline → 3 small previews in one row → text & buttons */
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "collage" "rest";
    row-gap: 22px;
  }
  .hero-collage { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .hero-collage .shot-main { grid-row: auto; aspect-ratio: 1 / 1; height: auto; }
  .hero-collage .shot { border-radius: 12px; }
  .bestseller-badge { top: 6px; left: 6px; font-size: 0.62rem; padding: 4px 8px; }
}

@media (max-width: 640px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-4.product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  /* stack hero buttons neatly */
  .hero .btn { display: block; width: fit-content; margin: 0 0 12px 0 !important; }
  /* align product card sections when titles wrap differently */
  .product-grid .product-top { min-height: 86px; }
  .product-grid .product-img { height: 150px; }
  .product-grid .product-body p { font-size: 0.8rem; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 18px 24px;
    box-shadow: var(--shadow);
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  /* burger: bigger tap target, pulled toward the center */
  .nav-toggle {
    display: block;
    margin: 0 auto;
    font-size: 1.6rem;
    line-height: 1;
    padding: 10px 18px;
    background: var(--teal-tint);
    border-radius: 14px;
    color: var(--teal-dark);
  }
  .nav-social { display: none; }
  .cta-band { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}
