/* ===== Client Login in the header on phones/tablets (the full menu sits behind ☰) ===== */
.nav-client-m { display: none; }
@media (max-width: 960px) {
  .nav-client-m {
    display: inline-flex; align-items: center; gap: 0.35rem; margin-left: auto; margin-right: 0.55rem;
    text-decoration: none; white-space: nowrap; font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 700;
    color: #f3dca8; background: linear-gradient(135deg, #2a5a3e 0%, #1f4d33 100%);
    border: 1.5px solid #c9a96e; border-radius: 100px; padding: 0.5rem 0.85rem;
    box-shadow: 0 4px 12px rgba(31,77,51,0.25);
  }
  .nav-client-m svg { width: 0.9rem; height: 0.9rem; color: #e2bf7c; flex-shrink: 0; }
  /* the drop-down menu already shows it on the phone header, so don't repeat it there */
  nav.menu-open .nav-links a.nav-client { display: none; }
}
@media (max-width: 560px) {
  .nav-brand { gap: 0.45rem; min-width: 0; }
  .nav-logo { height: 34px; }
  .nav-brand-text { font-size: 1.22rem; }
  .nav-tagline { font-size: 0.44rem; }
  .nav-client-m { font-size: 0.74rem; padding: 0.45rem 0.7rem; margin-right: 0.4rem; }
  .nav-toggle { width: 40px; height: 40px; padding: 0 9px; }
}
@media (max-width: 380px) {
  .nav-brand-text { font-size: 1.05rem; }
  .nav-client-m span { font-size: 0.7rem; }
}

/* ===== Free guided workout strip, just under the hero ===== */
.fw-strip { padding: 1.6rem 5rem 0.4rem; background: transparent; }
.fw-card {
  max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: 1.3rem; flex-wrap: wrap;
  padding: 1.3rem 1.5rem; border-radius: 20px; color: #fff;
  background: linear-gradient(125deg, #1f4d33 0%, #3d6b4f 55%, #5d9073 100%);
  box-shadow: 0 14px 32px rgba(31,77,51,0.22);
}
.fw-icon { flex-shrink: 0; width: 3.4rem; height: 3.4rem; border-radius: 16px; display: grid; place-items: center; background: rgba(246,230,196,0.16); color: #f6e6c4; border: 1px solid rgba(246,230,196,0.35); }
.fw-icon svg { width: 1.8rem; height: 1.8rem; }
.fw-body { flex: 1 1 380px; min-width: 0; }
.fw-tag { display: inline-block; font-family: 'Inter', sans-serif; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #1f4d33; background: #f6e6c4; border-radius: 100px; padding: 0.2rem 0.65rem; }
.fw-strip .fw-title { font-family: 'Playfair Display', serif; font-size: clamp(1.2rem, 2.3vw, 1.5rem); font-weight: 700; color: #fff; margin: 0.4rem 0 0.3rem; line-height: 1.25; }
.fw-strip .fw-text { margin: 0; font-size: 0.92rem; line-height: 1.55; color: #e6f0ea; }
.fw-btn {
  flex-shrink: 0; text-decoration: none; font-family: 'Inter', sans-serif; font-weight: 800; font-size: 0.92rem; color: #1f4d33;
  background: linear-gradient(135deg, #fffaf0, #f0d9a8); border-radius: 100px; padding: 0.85rem 1.5rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2); transition: transform 0.15s;
}
.fw-btn:hover { transform: translateY(-2px); }
@media (max-width: 960px) { .fw-strip { padding: 1.4rem 1.5rem 0.2rem; } }
@media (max-width: 560px) {
  .fw-strip { padding: 1.2rem 1.1rem 0; }
  .fw-card { padding: 1.1rem; gap: 0.8rem; }
  .fw-icon { width: 2.8rem; height: 2.8rem; }
  .fw-btn { width: 100%; text-align: center; }
}

/* ===== Root Cause Checker: the free blood-value checker (opens as a pop-up) ===== */

/* --- the buttons that open it --- */
.rcc-open {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: 'Inter', sans-serif; font-size: 0.92rem; font-weight: 700; color: #1f4d33;
  background: linear-gradient(135deg, #fffaf0 0%, #f6e6c4 55%, #ecd29c 100%);
  border: 1.5px solid var(--gold, #c9a96e); border-radius: 100px;
  padding: 0.55rem 1.2rem 0.55rem 0.55rem; cursor: pointer; text-align: left; line-height: 1.25;
  box-shadow: 0 6px 18px rgba(160, 98, 15, 0.18), inset 0 1px 0 rgba(255,255,255,0.8);
  position: relative; overflow: hidden; transition: transform 0.15s, box-shadow 0.2s;
}
.rcc-open:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(160, 98, 15, 0.25); }
.rcc-open:focus-visible { outline: 3px solid rgba(61,107,79,0.5); outline-offset: 3px; }
/* soft shine that sweeps across now and then */
.rcc-open::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.7), transparent);
  animation: rccShine 4.5s ease-in-out infinite;
}
@keyframes rccShine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .rcc-open::after { animation: none; display: none; } }
.rcc-drop {
  flex-shrink: 0; width: 2.3rem; height: 2.3rem; border-radius: 50%;
  display: grid; place-items: center; background: linear-gradient(140deg, #c0392b, #8e1f1f);
  box-shadow: 0 3px 8px rgba(142,31,31,0.35);
}
.rcc-drop svg { width: 1.05rem; height: 1.05rem; }
.rcc-open-text small { display: block; font-size: 0.74rem; font-weight: 500; color: #6b5a3a; margin-top: 1px; }
.rcc-new {
  font-size: 0.6rem; font-weight: 800; letter-spacing: 0.08em; color: #fff; background: #c0392b;
  border-radius: 100px; padding: 0.12rem 0.45rem; margin-left: 0.15rem; vertical-align: 2px;
}
.rcc-hero-wrap { display: flex; justify-content: center; margin-top: 1.1rem; }

/* card version inside the Root Cause Analysis panel */
.rcc-teaser {
  margin: 1.4rem 0 0.4rem; padding: 1.1rem 1.2rem; border-radius: 16px;
  background: linear-gradient(135deg, #fffaf0 0%, #f7ecd6 100%);
  border: 1px solid var(--gold-light, #e8d5b0);
  display: flex; gap: 1rem; align-items: center; flex-wrap: wrap;
}
.rcc-teaser-body { flex: 1 1 240px; }
.rcc-teaser-title { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: #1f4d33; margin-bottom: 0.2rem; }
.rcc-teaser p { margin: 0; font-size: 0.9rem; color: #4a4f42; line-height: 1.5; }

/* --- the pop-up --- */
.rcc-overlay {
  position: fixed; inset: 0; z-index: 9999; background: rgba(24, 32, 22, 0.55);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  opacity: 0; transition: opacity 0.25s; backdrop-filter: blur(3px);
}
.rcc-overlay.show { opacity: 1; }
.rcc-overlay[hidden] { display: none; }
.rcc-modal {
  position: relative; width: min(720px, 100%); max-height: calc(100vh - 2rem); overflow-y: auto;
  background: #fffdf8; border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  font-family: 'Inter', sans-serif; color: var(--ink, #1e2318);
  transform: translateY(14px) scale(0.98); transition: transform 0.3s;
  overscroll-behavior: contain;
}
.rcc-overlay.show .rcc-modal { transform: none; }
.rcc-head {
  padding: 1.6rem 1.6rem 1.2rem; border-radius: 22px 22px 0 0;
  background: linear-gradient(130deg, #e6f0ea 0%, #f4efe2 60%, #f6e6c4 100%);
}
.rcc-kicker { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep, #a0620f); }
.rcc-title { font-family: 'Playfair Display', serif; font-size: clamp(1.45rem, 3.2vw, 1.9rem); font-weight: 700; color: #1f4d33; margin: 0.25rem 0 0.35rem; line-height: 1.2; }
.rcc-lede { margin: 0; font-size: 0.93rem; color: #3f4537; line-height: 1.55; }
.rcc-close {
  position: absolute; top: 0.8rem; right: 0.8rem; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  border: 0; background: rgba(255,255,255,0.85); color: #1f4d33; font-size: 1.4rem; line-height: 1; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.rcc-close:hover { background: #fff; }
.rcc-body { padding: 1.3rem 1.6rem 1.6rem; }

.rcc-label { font-size: 0.8rem; font-weight: 700; color: #1f4d33; margin: 0 0 0.5rem; }
/* numbered steps */
.rcc-step { display: flex; align-items: center; gap: 0.5rem; font-size: 0.98rem; margin-top: 0.2rem; }
.rcc-step > span { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--green, #3d6b4f); color: #fff; font-size: 0.78rem; font-weight: 800; flex-shrink: 0; }
.rcc-hint { margin: -0.25rem 0 0.7rem 2rem; font-size: 0.8rem; color: var(--muted, #6b7162); }
.rcc-step2 { margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px dashed #e4dccb; }
/* "which value?" options: tick-box cards */
.rcc-pick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; }
.rcc-pick label { cursor: pointer; display: block; }
.rcc-pick input { position: absolute; opacity: 0; pointer-events: none; }
.rcc-pick span {
  display: block; position: relative; height: 100%; box-sizing: border-box;
  padding: 0.65rem 0.7rem 0.6rem 2.15rem; border-radius: 12px; border: 1.5px solid #e0d8c6; background: #fff;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.rcc-pick span::before {
  content: ''; position: absolute; left: 0.7rem; top: 0.75rem; width: 1.05rem; height: 1.05rem; border-radius: 5px;
  border: 2px solid #a9b9ad; background: #fff; box-sizing: border-box;
}
.rcc-pick b { display: block; font-size: 0.88rem; color: #1e2318; line-height: 1.25; }
.rcc-pick small { display: block; font-size: 0.72rem; color: var(--muted, #6b7162); margin-top: 1px; }
.rcc-pick label:hover span { border-color: var(--green-light, #7aaa8a); }
.rcc-pick input:checked + span { border-color: var(--green, #3d6b4f); background: var(--green-pale, #e6f0ea); box-shadow: 0 3px 10px rgba(61,107,79,0.15); }
.rcc-pick input:checked + span::before {
  background: var(--green, #3d6b4f) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat;
  border-color: var(--green, #3d6b4f);
}
.rcc-pick input:focus-visible + span { outline: 3px solid rgba(61,107,79,0.4); outline-offset: 2px; }
.rcc-sexrow { margin-bottom: 0.3rem; }
.rcc-clear { background: none; border: 1.5px solid #d9d2c1; color: #3f4537; font: inherit; font-size: 0.88rem; font-weight: 600; padding: 0.75rem 1.3rem; border-radius: 100px; cursor: pointer; }
.rcc-clear:hover { background: #f4efe2; }
.rcc-sex { display: flex; gap: 0.5rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.rcc-sex label { cursor: pointer; }
.rcc-sex input { position: absolute; opacity: 0; pointer-events: none; }
.rcc-sex span {
  display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 1rem; border-radius: 100px;
  border: 1.5px solid #cfd8cc; background: #fff; font-size: 0.88rem; font-weight: 600; color: #3f4537;
}
.rcc-sex span::before { content: ''; width: 0.9rem; height: 0.9rem; border-radius: 50%; border: 2px solid #9fb3a5; box-sizing: border-box; }
.rcc-sex input:checked + span { border-color: var(--green, #3d6b4f); background: var(--green-pale, #e6f0ea); color: #1f4d33; }
.rcc-sex input:checked + span::before { border: 4px solid var(--green, #3d6b4f); background: #fff; }
.rcc-sex input:focus-visible + span { outline: 3px solid rgba(61,107,79,0.4); outline-offset: 2px; }

.rcc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
.rcc-field {
  border: 1.5px solid #e4dccb; border-radius: 14px; padding: 0.7rem 0.8rem; background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.rcc-field:focus-within { border-color: var(--green-light, #7aaa8a); box-shadow: 0 0 0 3px rgba(122,170,138,0.2); }
.rcc-field.has-val { border-color: var(--green-light, #7aaa8a); background: #fbfdfb; }
.rcc-field.bad { border-color: #c0392b; }
.rcc-field label { display: block; font-size: 0.88rem; font-weight: 700; color: #1e2318; }
.rcc-field .rcc-where { display: block; font-size: 0.72rem; color: var(--muted, #6b7162); margin: 1px 0 0.45rem; }
.rcc-in { display: flex; align-items: center; gap: 0.4rem; }
.rcc-in input {
  flex: 1 1 auto; min-width: 0; font: inherit; font-size: 1.05rem; font-weight: 600; padding: 0.45rem 0.6rem;
  border: 1px solid #d9d2c1; border-radius: 9px; background: #fffdf8; color: #1e2318;
}
.rcc-in input:focus { outline: none; border-color: var(--green, #3d6b4f); }
.rcc-unit { font-size: 0.78rem; color: var(--muted, #6b7162); white-space: nowrap; }
.rcc-in select { font: inherit; font-size: 0.78rem; padding: 0.4rem 0.3rem; border: 1px solid #d9d2c1; border-radius: 8px; background: #fff; color: #3f4537; }
.rcc-err { color: #a93226; font-size: 0.85rem; font-weight: 600; margin: 0.8rem 0 0; }
.rcc-actions { display: flex; gap: 0.7rem; align-items: center; flex-wrap: wrap; margin-top: 1.2rem; }
.rcc-go {
  border: 0; cursor: pointer; font: inherit; font-size: 0.95rem; font-weight: 700; color: #fff;
  background: var(--btn-grad, linear-gradient(135deg, #5d9073, #3d6b4f)); padding: 0.85rem 1.8rem; border-radius: 100px;
  box-shadow: 0 6px 16px rgba(61,107,79,0.3);
}
.rcc-go:hover { transform: translateY(-1px); }
.rcc-private { font-size: 0.76rem; color: var(--muted, #6b7162); line-height: 1.4; flex: 1 1 200px; }

/* ---- educational explorer: marker, low/high, common factors ---- */
.rcc-head .rcc-edu { margin: 0.7rem 0 0; font-size: 0.8rem; line-height: 1.45; color: #2c5a6e; background: rgba(232,241,246,0.9); border: 1px solid #c9dde8; border-radius: 10px; padding: 0.45rem 0.7rem; }
.rcc-cat { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep, #a0620f); margin: 1rem 0 0.4rem; }
.rcc-mk { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.45rem; }
.rcc-mkb, .rcc-dir {
  font: inherit; text-align: left; cursor: pointer; background: #fff; border: 1.5px solid #e0d8c6; border-radius: 12px;
  padding: 0.6rem 0.75rem; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; color: #1e2318;
}
.rcc-mkb:hover, .rcc-dir:hover { border-color: var(--green, #3d6b4f); box-shadow: 0 4px 12px rgba(61,107,79,0.15); transform: translateY(-1px); }
.rcc-mkb b, .rcc-dir b { display: block; font-size: 0.9rem; }
.rcc-mkb small, .rcc-dir small { display: block; font-size: 0.72rem; color: var(--muted, #6b7162); margin-top: 2px; line-height: 1.3; }
.rcc-mkinfo { margin: 0.9rem 0 1rem; padding: 0.8rem 1rem; border-radius: 12px; background: #f4efe2; font-size: 0.92rem; line-height: 1.5; }
.rcc-mkinfo span { display: block; font-size: 0.78rem; color: var(--muted, #6b7162); margin-top: 0.2rem; }
.rcc-dirs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.rcc-dir { padding: 1rem 1.1rem; }
.rcc-dir b { font-size: 1.2rem; }
.rcc-dir-low { border-color: #8fb4e8; background: #f3f8ff; }
.rcc-dir-high { border-color: #f2b98a; background: #fff6ee; }
.rcc-dir-na { cursor: default; background: #f6f4ef; border-style: dashed; color: #8a8f80; }
.rcc-dir-na:hover { transform: none; box-shadow: none; border-color: #e0d8c6; }
.rcc-back { font: inherit; font-size: 0.82rem; font-weight: 700; color: #1f4d33; background: none; border: 1.5px solid #cfd8cc; border-radius: 100px; padding: 0.4rem 0.9rem; cursor: pointer; }
.rcc-back:hover { background: #e6f0ea; }
.rcc-nav { display: flex; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; }
.rcc-ftitle { font-family: 'Playfair Display', serif; font-size: clamp(1.25rem, 3vw, 1.55rem); font-weight: 700; color: #1f4d33; margin: 1rem 0 0.3rem; line-height: 1.25; }
.rcc-fsub { margin: 0 0 0.9rem; font-size: 0.86rem; color: var(--muted, #6b7162); }
.rcc-hook .rcc-price { display: block; margin-top: 0.7rem; font-size: 0.8rem; color: #d7e6dc; }
.rcc-hook .rcc-price b { color: #f6e6c4; font-size: 0.95rem; }
/* highlighted: markers are read together with the rest of the report, lifestyle and symptoms */
.rcc-beyond { display: flex; gap: 0.65rem; align-items: flex-start; margin: 0.7rem 0 0.4rem; padding: 0.75rem 0.9rem; border-radius: 14px;
  background: linear-gradient(135deg, #e9f6ee, #fdf3df); border: 2px solid #5d9073; box-shadow: 0 6px 16px rgba(61,107,79,0.14);
  font-size: 0.9rem; line-height: 1.5; color: #23402f; }
.rcc-beyond b { color: #1e5a38; }
.rcc-beyond-ic { font-size: 1.5rem; line-height: 1; flex-shrink: 0; margin-top: 0.1rem; }
.rca-beyond { margin: 0.9rem 0 1rem; }
.rcc-few { margin: -0.1rem 0 0.2rem; font-size: 0.82rem; line-height: 1.5; color: #5b4a22; background: #fff6e3; border: 1px solid #f0dcb0; border-radius: 10px; padding: 0.5rem 0.75rem; }
.rcc-find { margin: 0 0 1rem; padding: 0.85rem 1rem; border-radius: 14px; background: #eef6ef; border: 1.5px solid #9cc5a8; }
.rcc-find .rcc-find-h { margin: 0 0 0.4rem; font-weight: 800; font-size: 0.98rem; color: #1f4d33; }
.rcc-find ul { margin: 0; padding-left: 1.1rem; font-size: 0.88rem; line-height: 1.55; color: #2c3a24; }
.rcc-find li { margin-bottom: 0.2rem; }
/* possible root causes: one simple numbered list */
.rcc-list { list-style: none; counter-reset: rc; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.rcc-list li {
  counter-increment: rc; position: relative; padding: 0.6rem 0.75rem 0.6rem 2.6rem; background: #fff; border: 1px solid #e8dcc0;
  border-radius: 12px; font-size: 0.9rem; line-height: 1.4; color: #2c3a24;
}
.rcc-list li::before {
  content: counter(rc); position: absolute; left: 0.65rem; top: 0.55rem; width: 1.45rem; height: 1.45rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold, #c9a96e); color: #fff; font-size: 0.75rem; font-weight: 800;
}
.rcc-pop .rcc-mkb { border-color: #e2c78f; background: #fffaf0; }
@media (max-width: 600px) { .rcc-list { grid-template-columns: 1fr; } }
.rcc-grp { border-radius: 14px; padding: 0.9rem 1rem; margin-bottom: 0.7rem; }
.rcc-grp-d { background: #eef6ef; border: 1.5px solid #9cc5a8; }
.rcc-grp-m { background: #eef4f8; border: 1.5px solid #a9c6d8; }
.rcc-grp-h { display: flex; gap: 0.6rem; align-items: flex-start; margin-bottom: 0.6rem; }
.rcc-grp-h > span { font-size: 1.5rem; line-height: 1; }
.rcc-grp-h b { display: block; font-size: 0.98rem; color: #1e2318; }
.rcc-grp-h small { display: block; font-size: 0.78rem; color: #4a4f42; margin-top: 1px; }
.rcc-grp-d .rcc-roots li { background: #fff; border-color: #c3dccb; }
.rcc-grp-m .rcc-roots li { background: #fff; border-color: #c6d9e5; }
.rcc-grp-d .rcc-roots li::before { content: '✓'; background: #4f8a5f; }
.rcc-grp-m .rcc-roots li::before { content: '+'; background: #5a87a3; }
@media (max-width: 600px) { .rcc-mk { grid-template-columns: 1fr 1fr; } .rcc-dirs { gap: 0.5rem; } }

/* results */
.rcc-out:focus { outline: none; }
.rcc-res { display: grid; gap: 0.8rem; }
.rcc-card { border-radius: 16px; padding: 1rem 1.1rem; background: #fff; border: 1px solid #e8e0cf; border-left-width: 6px; }
.rcc-card.low { border-left-color: #d68a1e; }
.rcc-card.high { border-left-color: #c98a3a; }
.rcc-card.ok { border-left-color: #4f8a5f; }
.rcc-card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
.rcc-card-name { font-weight: 800; font-size: 1rem; }
.rcc-card-val { font-size: 0.86rem; color: #3f4537; }
.rcc-badge { display: inline-block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 100px; padding: 0.2rem 0.6rem; margin-left: 0.3rem; vertical-align: 1px; }
.low .rcc-badge { background: #fdeccf; color: #8a5208; }
.high .rcc-badge { background: #fbe7cf; color: #8a5208; }
.ok .rcc-badge { background: #dcefe1; color: #2f6a3f; }
.rcc-range { font-size: 0.76rem; color: var(--muted, #6b7162); margin: 0.3rem 0 0; }
.rcc-normal { font-size: 0.82rem; color: #6b4a12; background: #fff6e3; border-radius: 9px; padding: 0.4rem 0.6rem; margin: 0.55rem 0 0; }
.rcc-says { margin: 0.6rem 0 0.35rem; font-size: 0.92rem; font-weight: 600; color: #1e2318; }
.rcc-roots { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.rcc-roots li {
  font-size: 0.83rem; background: #f4efe2; border: 1px solid #e8dcc0; color: #3f4537;
  padding: 0.32rem 0.7rem; border-radius: 100px; display: inline-flex; align-items: center; gap: 0.35rem;
}
.rcc-roots li::before { content: '?'; display: inline-grid; place-items: center; width: 1rem; height: 1rem; border-radius: 50%; background: var(--gold, #c9a96e); color: #fff; font-size: 0.62rem; font-weight: 800; }
.rcc-urgent { margin: 0.6rem 0 0; font-size: 0.84rem; font-weight: 500; color: #2c5a6e; background: #e8f1f6; border-radius: 9px; padding: 0.45rem 0.65rem; }

.rcc-hook {
  margin-top: 1.1rem; border-radius: 18px; padding: 1.3rem 1.3rem 1.2rem; color: #fff; text-align: center;
  background: radial-gradient(circle at 20% 0%, #5d9073 0%, #2f5a40 55%, #1f4d33 100%);
  box-shadow: 0 12px 30px rgba(31,77,51,0.3);
}
.rcc-hook .rcc-hook-q { font-family: 'Playfair Display', serif; font-size: clamp(1.35rem, 3.2vw, 1.7rem); font-weight: 700; margin: 0 auto 0.4rem; color: #fff; line-height: 1.25; }
.rcc-hook p { margin: 0 auto 1rem; max-width: 34rem; font-size: 0.9rem; line-height: 1.55; color: #e6f0ea; }
.rcc-wa {
  display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; font-weight: 800; font-size: 0.98rem;
  color: #fff; background: #25d366; padding: 0.85rem 1.6rem; border-radius: 100px; box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: transform 0.15s;
}
.rcc-wa:hover { transform: translateY(-2px); }
.rcc-wa svg { width: 1.25rem; height: 1.25rem; }
/* what the ₹999 Root Cause Analysis covers */
.rcc-offer { text-align: left; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.22); border-radius: 14px; padding: 1rem 1.1rem 0.9rem; margin: 0 auto 1.1rem; max-width: 34rem; }
.rcc-offer-top { display: flex; justify-content: space-between; align-items: baseline; gap: 0.6rem; }
.rcc-offer-name { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: #fff; }
.rcc-offer-price { font-size: 1.45rem; font-weight: 800; color: #f6e6c4; }
.rcc-hook .rcc-offer-sub { margin: 0.25rem 0 0.6rem; max-width: none; font-size: 0.88rem; color: #fff; }
.rcc-offer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.rcc-offer-list li { position: relative; padding-left: 1.5rem; font-size: 0.85rem; line-height: 1.45; color: #e6f0ea; }
.rcc-offer-list li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: #f6e6c4; color: #1f4d33; font-size: 0.7rem; font-weight: 800; display: grid; place-items: center; }
.rcc-hook .rcc-offer-note { margin: 0.65rem 0 0; max-width: none; font-size: 0.78rem; color: #cfe0d4; font-style: italic; }
/* join a program */
.rcc-plan {
  margin-top: 0.9rem; border-radius: 16px; padding: 1rem 1.1rem; border: 1.5px solid var(--gold, #c9a96e);
  background: linear-gradient(135deg, #fffaf0 0%, #f6e6c4 100%); display: flex; gap: 0.9rem; align-items: center; flex-wrap: wrap;
}
.rcc-plan-body { flex: 1 1 260px; }
.rcc-plan p { margin: 0; font-size: 0.86rem; color: #4a4f42; line-height: 1.5; }
.rcc-plan .rcc-plan-q { font-family: 'Playfair Display', serif; font-size: 1.12rem; color: #1f4d33; margin-bottom: 0.25rem; line-height: 1.3; }
.rcc-plan-btn {
  flex-shrink: 0; text-decoration: none; font-weight: 700; font-size: 0.9rem; color: #fff; padding: 0.75rem 1.4rem; border-radius: 100px;
  background: var(--btn-grad, linear-gradient(135deg, #5d9073, #3d6b4f)); box-shadow: 0 6px 14px rgba(61,107,79,0.28);
}
.rcc-plan-btn:hover { transform: translateY(-1px); }
.rcc-again-row { display: flex; justify-content: center; gap: 0.6rem; flex-wrap: wrap; }
.rcc-again { margin-top: 0.9rem; background: none; border: 1.5px solid #cfd8cc; color: #1f4d33; font: inherit; font-size: 0.85rem; font-weight: 600; padding: 0.55rem 1.2rem; border-radius: 100px; cursor: pointer; }
.rcc-safe { margin: 1.1rem 0 0; font-size: 0.76rem; line-height: 1.5; color: var(--muted, #6b7162); border-top: 1px solid #eee5d3; padding-top: 0.8rem; }

@media (max-width: 600px) {
  .rcc-overlay { padding: 0; align-items: flex-end; }
  .rcc-modal { border-radius: 20px 20px 0 0; max-height: 94vh; }
  .rcc-head { padding: 1.3rem 1.1rem 1rem; border-radius: 20px 20px 0 0; }
  .rcc-body { padding: 1.1rem 1.1rem 1.4rem; }
  .rcc-grid { grid-template-columns: 1fr; gap: 0.55rem; }
  .rcc-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rcc-plan-btn { width: 100%; text-align: center; }
  .rcc-hint { margin-left: 0; }
  .rcc-open { font-size: 0.88rem; }
  .rcc-go, .rcc-wa { width: 100%; justify-content: center; text-align: center; }
}
