/* Cherry ChiChi — approved WordPress staging homepage
   Ink + warm ivory, controlled cherry pink, editorial serif display.
   Scoped to the homepage shell to avoid disturbing WordPress/plugin UI. */

:root {
  --pink: #fe045e;
  --pink-deep: #c70349;
  --ink: #121114;
  --charcoal: #232227;
  --ivory: #f6f1ea;
  --paper: #fffdf9;
  --line: #d9d2c7;
  --line-dark: #3a383e;
  --text: #26242a;
  --text-soft: #5b5761;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

/* Codex offline QA-only correction: author CSS otherwise overrides the
   native hidden attribute and leaves the mobile menu permanently visible. */
[hidden] { display: none !important; }

.ccc-home-shell,
.ccc-home-shell * { box-sizing: border-box; }
.ccc-home-shell * { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body.ccc-home-template {
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.ccc-home-shell {
  min-width: 0;
  overflow: clip;
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  font-size: 1rem;
  line-height: 1.6;
}

.ccc-home-shell img { display: block; max-width: 100%; height: auto; }
.ccc-home-shell a { color: inherit; }
.ccc-home-shell a:focus-visible,
.ccc-home-shell button:focus-visible,
.ccc-home-shell summary:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -3.5rem;
  background: var(--ink); color: #fff; padding: .6rem 1rem;
  z-index: 60; transition: top .15s ease;
}
.skip-link:focus { top: .5rem; }

.eyebrow {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--pink); font-weight: 700; margin-bottom: .8rem;
}

.ccc-home-shell h1,
.ccc-home-shell h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
.ccc-home-shell h1 em,
.ccc-home-shell h2 em { font-style: italic; color: var(--pink); }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .7rem 1.6rem;
  font-family: var(--sans); font-weight: 600; font-size: .95rem;
  text-decoration: none; letter-spacing: .02em;
  border: 1.5px solid transparent;
}
.button.primary { background: var(--pink); color: #fff; }
.button.primary:hover { background: var(--pink-deep); }
.button.secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.button.secondary:hover { background: var(--ink); color: #fff; }
.button.light { background: #fff; color: var(--ink); }
.button.light:hover { background: var(--ivory); }
.text-link { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--pink); padding-bottom: 2px; }
.text-link span { color: var(--pink); }

/* Trust strip */
.trust-strip {
  background: var(--ink); color: #eee7dc;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem 1.6rem;
  padding: .55rem 1rem; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase;
}
.trust-strip a { display: none; color: inherit; text-underline-offset: 3px; }

/* Header */
.site-header {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .9rem 1.25rem;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.brand img { width: 140px; height: auto; }
.menu-button {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 48px; padding: 12px;
  background: none; border: 1px solid var(--line); cursor: pointer;
}
.menu-button span:not(.sr-only) { display: block; height: 2px; background: var(--ink); }
.site-menu {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 50;
  display: flex; flex-direction: column;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.site-menu a {
  padding: .95rem 1.25rem; text-decoration: none; font-weight: 600; font-size: .95rem;
  border-top: 1px solid var(--line);
}
.site-menu a:hover { color: var(--pink); }
.site-menu .bag { color: var(--pink); }

/* Hero */
.hero { position: relative; background: var(--ink); }
.hero-media { position: relative; }
.hero-media img {
  width: 100%; height: 34vh; min-height: 250px; object-fit: cover; object-position: 65% 30%;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,17,20,0) 55%, rgba(18,17,20,.55) 100%);
}
.hero-panel {
  position: relative; z-index: 2;
  background: var(--ivory);
  margin: -2.4rem .9rem 0;
  padding: 1.3rem 1.2rem 1.5rem;
  border-top: 3px solid var(--pink);
}
.hero h1 { font-size: clamp(1.45rem, 5vw, 3rem); line-height: 1.14; margin-bottom: .7rem; }
.hero-copy { font-size: .95rem; }
.hero-copy { color: var(--text-soft); max-width: 34rem; margin-bottom: 1.2rem; }
.hero-copy strong { color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: .9rem; }
.hero-actions .button { flex: 1 1 auto; }
.micro { font-size: .78rem; color: var(--text-soft); letter-spacing: .04em; }
.micro sup { color: var(--pink); }

/* Intro */
.intro { padding: 3.2rem 1.4rem 2.6rem; max-width: 46rem; margin: 0 auto; text-align: center; }
.intro h2 { font-size: clamp(1.6rem, 4.5vw, 2.5rem); margin-bottom: 1rem; }
.intro p:not(.eyebrow) { color: var(--text-soft); }

/* Products */
.products {
  display: grid; gap: 2.4rem;
  padding: 1rem 1.25rem 3rem; max-width: 1180px; margin: 0 auto;
}
.product-card { display: flex; flex-direction: column; background: var(--paper); }
.product-image { display: block; background: #eceae6; }
.product-image img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 12%; }
.product-info { padding: 1.3rem 0 0; }
.product-info h2 { font-family: var(--serif); font-size: 1.7rem; margin-bottom: .6rem; }
.product-info p:not(.eyebrow):not(.commerce-line) { color: var(--text-soft); margin-bottom: 1rem; }
.commerce-line {
  display: flex; flex-direction: column; gap: .15rem;
  border-left: 3px solid var(--pink); padding-left: .8rem; margin-bottom: 1.1rem;
  font-size: .85rem; color: var(--text-soft);
}
.commerce-line strong { color: var(--ink); font-size: .95rem; }
.product-info .button { align-self: flex-start; }

/* Product comparison */
.compare {
  background: var(--ivory);
  padding: 3.4rem 1.1rem;
}
.section-head { max-width: 760px; margin: 0 auto 1.7rem; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: .65rem; }
.section-head > p:not(.eyebrow) { color: var(--text-soft); }
.compare-table {
  max-width: 980px; margin: 0 auto;
  border: 1px solid var(--line); background: var(--paper);
}
.compare-row {
  display: grid; grid-template-columns: minmax(82px, .8fr) 1fr 1fr;
  border-top: 1px solid var(--line);
}
.compare-row:first-child { border-top: 0; }
.compare-row > span {
  min-width: 0; padding: .8rem .65rem; border-left: 1px solid var(--line);
  font-size: .78rem; line-height: 1.35;
}
.compare-row > span:first-child { border-left: 0; }
.compare-row.head { background: var(--ink); color: #fff; }
.compare-row.head > span { font-weight: 700; color: #fff; }
.compare-row .feature { color: var(--text-soft); font-weight: 700; }
.compare-row.cta { align-items: stretch; }
.compare-row.cta > span { display: flex; }
.compare-row.cta .button {
  width: 100%; min-height: 44px; padding: .5rem .35rem; font-size: .72rem;
}

/* Perfect-for */
.perfect { background: var(--ink); color: #efe9df; padding: 3.4rem 1.4rem; }
.perfect header { max-width: 1180px; margin: 0 auto 2.2rem; }
.perfect h2 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.4rem); }
.perfect-grid {
  display: grid; gap: 1.8rem; max-width: 1180px; margin: 0 auto;
}
.perfect-grid article { border-top: 1px solid var(--line-dark); padding-top: 1.1rem; }
.perfect-grid span { font-family: var(--serif); font-style: italic; color: var(--pink); font-size: 1.1rem; }
.perfect-grid h3 { font-size: 1.05rem; margin: .5rem 0 .4rem; color: #fff; }
.perfect-grid p { font-size: .92rem; color: #b9b2a8; }

/* Proof */
.proof {
  background: var(--pink); color: #fff;
  display: grid; gap: 2rem; padding: 3rem 1.4rem;
}
.proof .eyebrow { color: #ffd7e5; }
.proof-number { font-family: var(--serif); font-size: clamp(3.4rem, 9vw, 5.5rem); line-height: 1; }
.proof-label { font-size: .95rem; }
.proof-copy h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin-bottom: .8rem; color: #fff; }
.proof-copy p { margin-bottom: 1.3rem; color: #ffe4ee; max-width: 34rem; }

/* Practical reassurance */
.details { padding: 3.4rem 1.4rem; max-width: 1180px; margin: 0 auto; }
.detail-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.detail-grid article { background: var(--paper); padding: 1.4rem; }
.detail-grid article > span { font-family: var(--serif); font-style: italic; color: var(--pink); }
.detail-grid h3 { margin: .45rem 0; font-size: 1.05rem; }
.detail-grid p { color: var(--text-soft); font-size: .92rem; }
.detail-links { display: flex; flex-wrap: wrap; gap: .35rem .65rem; margin-top: 1.25rem; }
.detail-links a { font-weight: 600; text-underline-offset: 3px; }
.detail-links span { color: var(--pink); }

/* Story */
.story {
  background: var(--ivory);
  display: grid; gap: 2rem; padding: 3.4rem 1.4rem;
}
.story > figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; }
.story > div h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 1rem; }
.story > div p:not(.eyebrow) { color: var(--text-soft); margin-bottom: 1rem; max-width: 34rem; }

/* SEO story */
.seo-story { padding: 3.4rem 1.4rem; max-width: 1180px; margin: 0 auto; }
.seo-story h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 1.4rem; }
.seo-story > div:last-child { display: grid; gap: 1.2rem; }
.seo-story > div:last-child p { color: var(--text-soft); }
.seo-story > div:last-child a { color: var(--ink); font-weight: 600; text-decoration-color: var(--pink); }

/* Editorial internal links */
.guides { background: var(--ink); color: #efe9df; padding: 3.2rem 1.4rem; }
.guides header { max-width: 1180px; margin: 0 auto 1.8rem; }
.guides h2 { color: #fff; font-size: clamp(1.4rem, 3.5vw, 2rem); }
.guides > div {
  display: grid; gap: 1px; background: var(--line-dark);
  max-width: 1180px; margin: 0 auto; border: 1px solid var(--line-dark);
}
.guides > div a {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .3rem 1rem;
  background: var(--ink); padding: 1.1rem 1.2rem; text-decoration: none;
}
.guides > div a:hover strong { color: var(--pink); }
.guides > div span {
  grid-column: 1 / -1; font-size: .7rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--pink);
}
.guides > div strong { font-size: 1.02rem; color: #fff; }
.guides > div b { color: var(--pink); font-size: 1.2rem; }

/* FAQ */
.faq { padding: 3.4rem 1.4rem 3.8rem; max-width: 46rem; margin: 0 auto; }
.faq > div:first-child { margin-bottom: 1.6rem; }
.faq h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 1rem 2rem 1rem 0; font-weight: 600; list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%);
  color: var(--pink); font-size: 1.3rem; font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 1.1rem; color: var(--text-soft); }

/* Footer */
#ccc-footer {
  background: var(--ink); color: #cfc8bd;
  display: grid; gap: 2rem; padding: 3rem 1.4rem 2.2rem;
}
.footer-brand img { width: 130px; margin-bottom: .8rem; filter: brightness(0) invert(1); }
.footer-brand p { font-size: .92rem; max-width: 22rem; }
#ccc-footer h2 { font-family: var(--sans); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--pink); margin-bottom: .7rem; }
#ccc-footer nav { display: flex; flex-direction: column; }
#ccc-footer nav a { text-decoration: none; padding: .3rem 0; font-size: .95rem; }
#ccc-footer nav a:hover { color: #fff; }

/* ---------- Tablet ---------- */
@media (min-width: 700px) {
  .trust-strip a { display: inline; }
  .products { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .perfect-grid { grid-template-columns: 1fr 1fr; }
  .proof { grid-template-columns: auto 1fr; align-items: center; max-width: 1180px; margin: 0 auto; }
  .detail-grid { grid-template-columns: repeat(3, 1fr); }
  .story { grid-template-columns: .9fr 1.1fr; align-items: center; max-width: 1180px; margin: 0 auto; padding-left: 1.4rem; padding-right: 1.4rem; }
  .seo-story > div:last-child { grid-template-columns: 1fr 1fr; gap: 2.4rem; }
  .hero-panel { max-width: 560px; margin: -4.5rem auto 0; padding: 2rem 2.2rem 2.2rem; }
  .hero-actions .button { flex: 0 1 auto; }
  .compare-row > span { padding: 1rem 1.15rem; font-size: .9rem; }
  .compare-row.cta .button { font-size: .85rem; }
}

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  .menu-button { display: none; }
  .site-header { padding: 1rem 2.5rem; }
  .site-menu {
    position: static; display: flex; flex-direction: row; gap: 1.6rem;
    background: none; border: 0;
  }
  .site-menu a { padding: .4rem 0; border: 0; }
  .site-menu .bag { border: 1.5px solid var(--pink); padding: .4rem 1rem; }

  .hero { display: grid; grid-template-columns: 1fr; }
  .hero-media img { height: 78vh; min-height: 560px; object-position: 60% 25%; }
  .hero-panel {
    position: absolute; left: 4vw; bottom: 6vh; margin: 0;
    max-width: 520px; padding: 2.4rem 2.5rem 2.5rem;
    box-shadow: 0 24px 60px rgba(0,0,0,.35);
  }
  .perfect-grid { grid-template-columns: repeat(4, 1fr); }
  .intro { padding-top: 4.5rem; }
  .products { padding-bottom: 4rem; }
  .guides > div a { grid-template-columns: 160px 1fr auto; }
  .guides > div span { grid-column: auto; }
  #ccc-footer { grid-template-columns: 1.4fr 1fr 1fr 1fr; padding: 3.5rem 2.5rem 2.4rem; }
}
