/* ============================
   MyoGlow — tokens
   ============================ */
:root {
  --blush: #F6E9E6;
  --paper: #FFFFFF;
  --plum: #3B1F2B;
  --plum-soft: #6B4B57;
  --line: #E6D4D0;
  --rose: #C9617B;
  --rose-deep: #9E3F57;
  --sage: #9BAE94;
  --gold: #B8945C;
  --can-bg: #F3EDEA;
  --can-line: #D8B9C2;
  --cant-bg: #EDEFE9;
  --cant-line: #B9C7B2;

  --font-display: "Cormorant Garamond", serif;
  --font-body: "Jost", sans-serif;
  --font-mono: "Fragment Mono", monospace;

  --maxw: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--blush);
  color: var(--plum);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

.section-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 600;
  margin: 0 0 42px;
  max-width: 34ch;
}

/* ============================
   Header
   ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246,233,230,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { color: var(--rose-deep); display: inline-flex; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
}
.main-nav { display: flex; gap: 32px; }
.main-nav a {
  font-size: 0.93rem;
  color: var(--plum-soft);
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--rose-deep); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--plum);
  border-radius: 2px;
}

/* ============================
   Hero
   ============================ */
.hero { padding: 68px 0 48px; }
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-kicker {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--rose-deep);
  margin: 0 0 18px;
}
.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.8vw, 2.9rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 22px;
  max-width: 23ch;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--plum-soft);
  max-width: 48ch;
  margin: 0 0 30px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 3px;
  font-size: 0.94rem;
  font-weight: 600;
  transition: transform 0.12s ease, background 0.15s ease;
}
.btn-primary { background: var(--rose-deep); color: #fff; }
.btn-primary:hover { background: #7E3345; transform: translateY(-1px); }
.btn-ghost { border: 1.4px solid var(--plum); color: var(--plum); }
.btn-ghost:hover { border-color: var(--rose-deep); color: var(--rose-deep); }
.hero-disclosure {
  font-size: 0.82rem;
  color: var(--plum-soft);
  font-style: italic;
  margin: 0;
}
.hero-visual {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 18px;
}

/* ============================
   Trust strip
   ============================ */
.trust-strip {
  background: var(--plum);
  color: var(--blush);
  padding: 30px 0;
}
.trust-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item { display: flex; flex-direction: column; gap: 6px; }
.trust-figure {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--rose);
}
.trust-label { font-size: 0.8rem; color: #D9C6C2; }

/* ============================
   Honest section
   ============================ */
.honest { padding: 80px 0; }
.honest-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 600;
  margin: 0 0 34px;
}
.honest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 26px;
}
.honest-card {
  padding: 28px;
  border-radius: 6px;
  border: 1px solid var(--line);
}
.honest-can { background: var(--can-bg); border-color: var(--can-line); }
.honest-cant { background: var(--cant-bg); border-color: var(--cant-line); }
.honest-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 12px;
}
.honest-card p { margin: 0; color: var(--plum-soft); }
.honest-footnote {
  font-size: 0.89rem;
  color: var(--plum-soft);
  max-width: 70ch;
  border-left: 2px solid var(--rose-deep);
  padding-left: 16px;
  margin: 0;
}

/* ============================
   Technology (card grid)
   ============================ */
.technology { padding: 80px 0; background: var(--paper); }
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.tech-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px;
}
.tech-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--dot);
  margin-bottom: 16px;
}
.tech-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 10px;
}
.tech-card p { margin: 0; color: var(--plum-soft); font-size: 0.96rem; }

/* ============================
   How it works (timeline)
   ============================ */
.how-it-works { padding: 80px 0; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 22px;
  padding-bottom: 36px;
  position: relative;
}
.timeline-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.timeline-marker {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--plum);
  color: var(--blush);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  flex-shrink: 0;
}
.timeline-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 8px;
}
.timeline-content p { margin: 0; color: var(--plum-soft); max-width: 58ch; }

/* ============================
   What's included
   ============================ */
.kit { padding: 80px 0; background: var(--plum); color: var(--blush); }
.kit .section-heading { color: var(--blush); }
.kit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.kit-card {
  background: #4A2A38;
  border-radius: 6px;
  padding: 26px;
  border: 1px solid #5E3A48;
}
.kit-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 14px;
  color: var(--rose);
}
.kit-card p { margin: 0; color: #E6D4D0; font-size: 0.95rem; }
.kit-card-main dl { margin: 0; }
.kit-card-main dl > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #5E3A48;
  font-size: 0.88rem;
}
.kit-card-main dl > div:last-child { border-bottom: none; }
.kit-card-main dt { color: #E6D4D0; }
.kit-card-main dd { margin: 0; font-family: var(--font-mono); font-size: 0.78rem; text-align: right; }
.kit-card-note { border-style: dashed; border-color: var(--rose); }

/* ============================
   FAQ
   ============================ */
.faq { padding: 80px 0; }
.faq-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 24px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-family: var(--font-mono);
  color: var(--rose-deep);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 12px 0 0; color: var(--plum-soft); }

/* ============================
   CTA
   ============================ */
.cta { padding: 90px 0; text-align: center; }
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 600;
  margin: 0 0 16px;
  max-width: 30ch;
  margin-left: auto;
  margin-right: auto;
}
.cta-inner p {
  color: var(--plum-soft);
  max-width: 50ch;
  margin: 0 auto 30px;
}

/* ============================
   Footer
   ============================ */
.site-footer { background: var(--plum); color: #D9C6C2; padding: 50px 0 30px; }
.footer-inner { display: grid; gap: 20px; }
.footer-brand .brand-name {
  font-family: var(--font-display);
  color: var(--blush);
  font-size: 1.4rem;
}
.footer-brand p { margin: 6px 0 0; font-size: 0.87rem; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { font-size: 0.87rem; color: #D9C6C2; }
.footer-nav a:hover { color: var(--rose); }
.footer-disclaimer {
  font-size: 0.77rem;
  color: #A68B8F;
  max-width: 75ch;
  border-top: 1px solid #5E3A48;
  padding-top: 18px;
  margin: 10px 0 0;
}
.footer-copy { font-size: 0.77rem; color: #8A7276; margin: 0; }

/* ============================
   Reveal on scroll
   ============================ */
.reveal-ready { opacity: 0; transform: translateY(10px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal-in { opacity: 1; transform: translateY(0); }

/* ============================
   Responsive
   ============================ */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.nav-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blush);
    border-bottom: 1px solid var(--line);
    padding: 16px 28px 24px;
    gap: 16px;
  }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .honest-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .kit-grid { grid-template-columns: 1fr; }
  .faq-columns { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .section-inner { padding: 0 18px; }
  .header-inner { padding: 14px 18px; }
  .hero { padding: 40px 0 36px; }
  .hero-inner { padding: 0 18px; gap: 34px; }
  .trust-inner { grid-template-columns: 1fr 1fr; padding: 0 18px; }
  .honest, .technology, .how-it-works, .kit, .faq, .cta { padding: 54px 0; }
}
