/* =====================================================
   Rosemary — Patient landing page
   Mobile-first; the SMS open path is a phone, so we
   design phone-first and let it breathe wider on desktop.
   ===================================================== */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--rosemary-cream);
  color: var(--rosemary-black);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

/* Slightly larger base size for older readers. */
body { font-size: 17px; line-height: var(--lh-relaxed); }
@media (min-width: 720px) { body { font-size: 18px; } }

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

a { color: var(--rosemary-burgundy); text-underline-offset: 3px; }
a:hover { color: var(--rosemary-teal); }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--rosemary-burgundy);
  margin-bottom: 10px;
}

/* ----- Page shell ------------------------------------ */
.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 20px 96px;
}
@media (min-width: 720px) {
  .page { padding: 40px 32px 120px; }
}

/* ----- Top strip ------------------------------------- */
.topstrip {
  background: var(--rosemary-cream);
  border-bottom: 1px solid rgba(15,65,74,0.08);
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: saturate(140%);
}
.topstrip__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.topstrip__from {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--rosemary-teal);
  font-weight: 500;
}
.topstrip__sep {
  color: rgba(15,65,74,0.25);
  font-weight: 500;
}
.topstrip__brand {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
}
/* The logo PNG is 300×300 with ~33% transparent padding top/bottom.
   We size by width and use negative margins to crop the vertical
   whitespace so the wordmark sits at the intended visual height. */
.topstrip__brand img {
  display: block;
  width: 88px;
  height: auto;
  margin: -28px 0;
}

/* ----- Hero ------------------------------------------ */
.hero {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
@media (min-width: 720px) {
  .hero {
    flex-direction: row-reverse;
    gap: 48px;
    align-items: flex-start;
    margin-top: 56px;
  }
}

.hero__card {
  background: var(--rosemary-white);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
@media (min-width: 720px) {
  .hero__card {
    flex-direction: column;
    width: 280px;
    padding: 24px;
    align-items: flex-start;
    text-align: left;
  }
}

.hero__photo {
  margin: 0;
  flex-shrink: 0;
}
.hero__photo img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  border: 3px solid var(--rosemary-cream);
  box-shadow: 0 2px 0 rgba(15,65,74,0.08);
}
@media (min-width: 720px) {
  .hero__photo img {
    width: 100%;
    height: 240px;
    border-radius: var(--radius-md);
    border-width: 0;
    object-position: center 20%;
  }
}

.hero__meta { min-width: 0; }
.hero__meta .eyebrow { margin-bottom: 6px; }
.hero__name {
  font-size: 22px;
  font-weight: 700;
  color: var(--rosemary-teal);
  margin: 0 0 4px;
  letter-spacing: -0.005em;
}
@media (min-width: 720px) {
  .hero__name { font-size: 26px; margin-top: 18px; }
}
.hero__cred {
  font-size: 14px;
  color: rgba(26,26,26,0.66);
  margin: 0;
  line-height: 1.4;
}

.hero__copy { flex: 1; }
.hero__head {
  font-size: clamp(28px, 6vw, 40px);
  line-height: 1.15;
  font-weight: 700;
  color: var(--rosemary-teal);
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  text-wrap: balance;
}
@media (min-width: 720px) {
  .hero__head { font-size: 44px; margin-top: -4px; }
}
.hero__lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--rosemary-black);
  margin: 0;
  max-width: 56ch;
}
@media (min-width: 720px) { .hero__lede { font-size: 19px; } }

/* ----- Section heads ---------------------------------- */
.section__head {
  margin: 0 0 28px;
}
.section__h {
  font-size: clamp(22px, 4.4vw, 28px);
  font-weight: 700;
  color: var(--rosemary-teal);
  margin: 0;
  letter-spacing: -0.005em;
  line-height: 1.2;
}

/* ----- About Rosemary -------------------------------- */
.about {
  margin-top: 56px;
  background: var(--rosemary-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
@media (min-width: 720px) {
  .about {
    flex-direction: row;
    padding: 36px;
    gap: 36px;
    align-items: center;
    margin-top: 80px;
  }
}
.about__art {
  width: 140px;
  margin: -8px auto -8px;
  flex-shrink: 0;
}
@media (min-width: 720px) {
  .about__art { width: 160px; margin: 0; }
}
.about__art img {
  width: 100%;
  filter: drop-shadow(0 6px 0 rgba(15,65,74,0.06));
}
.about__body { flex: 1; min-width: 0; }
.about__p {
  font-size: 17px;
  line-height: 1.55;
  margin: 4px 0 20px;
  color: var(--rosemary-black);
}
.about__p strong { color: var(--rosemary-teal); font-weight: 700; }

/* Benefits list — patient-facing 'what's in it for you' */
.benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.benefit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--rosemary-black);
}
.benefit strong {
  color: var(--rosemary-teal);
  font-weight: 700;
  margin-right: 4px;
}
.benefit__dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rosemary-burgundy);
  margin-top: 8px;
}

/* Video thumbnail */
.video-thumb {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  background: var(--rosemary-cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px 12px 12px;
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
  text-align: left;
  font-family: var(--font-sans);
}
.video-thumb:hover {
  background: #ebe1d4;
  box-shadow: var(--shadow-sm);
}
.video-thumb:active { transform: scale(0.995); }
.video-thumb__art {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--rosemary-white);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.video-thumb__art img {
  width: 80%;
  height: auto;
}
.video-thumb__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.video-thumb__label {
  font-weight: 600;
  font-size: 15px;
  color: var(--rosemary-teal);
}
.video-thumb__sub {
  font-size: 13px;
  color: rgba(26,26,26,0.6);
}
.video-thumb__play {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--rosemary-burgundy);
  color: var(--rosemary-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--dur-fast) var(--ease-out);
}
.video-thumb:hover .video-thumb__play {
  background: #5e2632;
}

/* ----- Timeline / steps ------------------------------ */
.timeline { margin-top: 64px; }
@media (min-width: 720px) { .timeline { margin-top: 88px; } }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 0 0 28px;
  position: relative;
}
@media (min-width: 720px) {
  .step { grid-template-columns: 56px 1fr; gap: 28px; padding-bottom: 36px; }
}
/* Vertical connecting line */
.step::before {
  content: "";
  position: absolute;
  left: 21px; /* center under bullet (44/2 - 1) */
  top: 38px;
  bottom: 0;
  width: 2px;
  background: rgba(118,48,63,0.18);
}
@media (min-width: 720px) {
  .step::before { left: 27px; top: 50px; }
}
.step:last-child { padding-bottom: 0; }
.step:last-child::before { display: none; }

.step__bullet {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rosemary-burgundy);
  color: var(--rosemary-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 2px 0 rgba(15,65,74,0.1);
  font-variant-numeric: tabular-nums;
  position: relative;
  z-index: 1;
}
@media (min-width: 720px) {
  .step__bullet { width: 56px; height: 56px; font-size: 22px; }
}

.step__body { padding-top: 6px; min-width: 0; }
@media (min-width: 720px) { .step__body { padding-top: 10px; } }

.step__when {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--rosemary-burgundy);
  margin-bottom: 8px;
}
.step__h {
  font-size: 19px;
  font-weight: 700;
  color: var(--rosemary-teal);
  margin: 0 0 8px;
  letter-spacing: -0.005em;
  line-height: 1.25;
}
@media (min-width: 720px) { .step__h { font-size: 22px; } }

.step__p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--rosemary-black);
  margin: 0;
  max-width: 58ch;
}
@media (min-width: 720px) { .step__p { font-size: 17px; } }

/* Highlighted tip inside a step */
.step__tip {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 14px 16px;
  background: var(--rosemary-cream);
  border-radius: var(--radius-md);
  border: 1px solid rgba(118,48,63,0.16);
  max-width: 58ch;
}
.step__tipIcon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--rosemary-burgundy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step__tip p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--rosemary-black);
}
.step__tip strong { color: var(--rosemary-burgundy); font-weight: 700; }

/* ----- Trust strip ----------------------------------- */
.trust {
  margin-top: 56px;
  background: var(--rosemary-teal);
  color: var(--rosemary-white);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
}
@media (min-width: 720px) { .trust { padding: 40px 36px; margin-top: 72px; } }

.trust__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 18px;
}
@media (min-width: 720px) {
  .trust__grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}
.trust__item { text-align: left; }
.trust__num {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--rosemary-white);
  line-height: 1;
  margin-bottom: 8px;
}
.trust__num span {
  font-size: 18px;
  font-weight: 600;
  color: var(--rosemary-tan);
  letter-spacing: 0;
}
@media (min-width: 720px) {
  .trust__num { font-size: 38px; }
  .trust__num span { font-size: 20px; }
}
.trust__lbl {
  font-size: 13px;
  line-height: 1.4;
  color: var(--rosemary-blue);
  letter-spacing: 0.01em;
}
@media (min-width: 720px) { .trust__lbl { font-size: 14px; } }

/* ----- FAQ ------------------------------------------ */
.faq { margin-top: 64px; }
@media (min-width: 720px) { .faq { margin-top: 88px; } }

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.qa {
  border-bottom: 1px solid var(--border);
  background: transparent;
}
.qa[open] {
  background: var(--rosemary-white);
  border-radius: var(--radius-md);
  margin: 4px 0;
  border-bottom-color: transparent;
  box-shadow: var(--shadow-sm);
}
.qa[open] + .qa { border-top: 1px solid var(--border); }

.qa__q {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 16px 18px 4px;
  font-weight: 600;
  font-size: 17px;
  color: var(--rosemary-teal);
  line-height: 1.35;
  transition: color var(--dur-fast) var(--ease-out);
}
.qa[open] .qa__q { padding: 18px 20px 12px; }
.qa__q::-webkit-details-marker { display: none; }
.qa__q:hover { color: var(--rosemary-burgundy); }

.qa__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--rosemary-cream);
  position: relative;
  flex-shrink: 0;
  transition: background var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
}
.qa__icon::before,
.qa__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: var(--rosemary-burgundy);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out);
}
.qa__icon::before { width: 12px; height: 2px; transform: translate(-50%, -50%); }
.qa__icon::after  { width: 2px; height: 12px; transform: translate(-50%, -50%); }
.qa[open] .qa__icon { background: var(--rosemary-burgundy); }
.qa[open] .qa__icon::before { background: var(--rosemary-white); }
.qa[open] .qa__icon::after  { background: var(--rosemary-white); transform: translate(-50%, -50%) rotate(90deg); }

.qa__a {
  padding: 0 20px 18px;
}
.qa__a p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--rosemary-black);
  max-width: 60ch;
}

/* ----- End note -------------------------------------- */
.endnote {
  margin-top: 72px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.endnote__inner { display: flex; flex-direction: column; gap: 16px; }
.endnote__line {
  font-size: 16px;
  line-height: 1.55;
  color: var(--rosemary-black);
  margin: 0;
}
.endnote__line a {
  font-weight: 600;
  white-space: nowrap;
}
.endnote__fine {
  font-size: 13px;
  color: rgba(26,26,26,0.55);
  line-height: 1.55;
  margin: 0;
  max-width: 58ch;
}
.endnote__brand {
  display: block;
  width: 120px;
  height: auto;
  margin: -32px 0 -38px;
  opacity: 0.75;
}

/* ----- Modal ----------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 16px;
}
.modal[aria-hidden="false"] {
  display: flex;
  animation: modalFade var(--dur-base) var(--ease-out);
}
@keyframes modalFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15,65,74,0.55);
  cursor: pointer;
}
.modal__card {
  position: relative;
  width: 100%;
  max-width: 720px;
  background: var(--rosemary-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: modalRise var(--dur-base) var(--ease-out);
}
@keyframes modalRise {
  from { transform: translateY(8px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.modal__close {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.92);
  color: var(--rosemary-teal);
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 2;
  transition: background var(--dur-fast) var(--ease-out);
}
.modal__close:hover { background: var(--rosemary-cream); }

/* ---- Document viewer modal ---- */
.modal__card--doc {
  max-width: 920px;
  height: min(88vh, 1100px);
  display: flex;
  flex-direction: column;
}
.modal__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px 12px 20px;
  background: var(--rosemary-teal);
  color: #fff;
  flex-shrink: 0;
}
.modal__barTitle {
  font-size: 14px;
  font-weight: 600;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.modal__barLink {
  font-size: 13px;
  font-weight: 600;
  color: var(--rosemary-blue);
  white-space: nowrap;
}
.modal__barLink:hover { color: #fff; }
.modal__close--inbar {
  position: static;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  box-shadow: none;
  flex-shrink: 0;
}
.modal__close--inbar:hover { background: rgba(255,255,255,0.22); }
.modal__frame {
  flex: 1;
  width: 100%;
  border: 0;
  background: #6b6b6b;
}
.modal__player {
  aspect-ratio: 16/9;
  background: linear-gradient(180deg, #1a4f57 0%, var(--rosemary-teal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rosemary-white);
}
.modal__placeholder {
  text-align: center;
  padding: 32px;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.modal__placeholderIcon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--rosemary-burgundy);
  color: var(--rosemary-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.modal__placeholder h3 {
  color: var(--rosemary-white);
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}
.modal__placeholder p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* ----- Preview-the-form section ---------------------- */
.preview {
  margin-top: 56px;
  background: var(--rosemary-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 720px) {
  .preview {
    flex-direction: row;
    align-items: center;
    padding: 40px;
    gap: 44px;
    margin-top: 72px;
  }
}
.preview__body { flex: 1; min-width: 0; }
.preview__p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--rosemary-black);
  margin: 8px 0 22px;
  max-width: 46ch;
}
.preview__p strong { color: var(--rosemary-teal); font-weight: 700; }
.preview__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 0;
  cursor: pointer;
  padding: 13px 22px;
  transition: background var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
  text-decoration: none;
}
.btn:active { transform: scale(0.985); }
.btn--primary { background: var(--rosemary-burgundy); color: #fff; }
.btn--primary:hover { background: #5e2632; color: #fff; text-decoration: none; }
.btn--ghost { color: var(--rosemary-teal); padding: 13px 4px; }
.btn--ghost:hover { color: var(--rosemary-burgundy); text-decoration: none; }

/* The little paper preview thumbnail */
.preview__paper {
  flex-shrink: 0;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
  align-self: center;
  transition: transform var(--dur-base) var(--ease-out);
  perspective: 800px;
}
.preview__paper:hover { transform: translateY(-3px); }
.paper {
  display: block;
  width: 168px;
  height: 216px;
  background: #fff;
  border: 1px solid rgba(15,65,74,0.14);
  border-radius: 4px;
  box-shadow: var(--shadow-md);
  padding: 22px 20px;
  text-align: center;
  transition: box-shadow var(--dur-base) var(--ease-out);
}
.preview__paper:hover .paper { box-shadow: var(--shadow-lg); }
.paper__state {
  display: block;
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rosemary-burgundy);
  margin-bottom: 6px;
}
.paper__title {
  display: block;
  font-family: 'Georgia', serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: #1a1a1a;
}
.paper__rule {
  display: block;
  height: 2px;
  background: #1a1a1a;
  margin: 10px 0 14px;
}
.paper__lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.paper__lines span {
  display: block;
  height: 5px;
  border-radius: 2px;
  background: var(--rosemary-cream);
}
.paper__lines span:nth-child(2) { width: 85%; }
.paper__lines span:nth-child(4) { width: 70%; }
.paper__lines span:nth-child(5) { width: 90%; }

/* ----- URL / demo chip ------------------------------- */
.urlchip {
  position: fixed;
  bottom: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 14px;
  background: rgba(15,65,74,0.92);
  color: var(--rosemary-white);
  border-radius: var(--radius-pill);
  font-size: 12px;
  z-index: 40;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
  max-width: calc(100vw - 32px);
}
.urlchip__lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--rosemary-tan);
}
.urlchip__path {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--rosemary-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}
.urlchip__swap {
  background: var(--rosemary-burgundy);
  color: var(--rosemary-white);
  border: 0;
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out);
}
.urlchip__swap:hover { background: #5e2632; }
@media (max-width: 480px) {
  .urlchip__path { max-width: 140px; }
}

/* Body scroll lock when modal open */
body.modal-open { overflow: hidden; }

/* ============================================================
   TWEAK VARIANTS
   Toggled via data-attrs on <html> from your-care-tweaks.jsx
   ============================================================ */

/* Card background — the about card */
[data-card-bg="cream"] .about {
  background: var(--rosemary-cream);
  border-color: rgba(15,65,74,0.16);
}

/* Hide whole sections */
html.yc-hide-trust .trust { display: none; }
html.yc-hide-faq   .faq   { display: none; }

/* Trust strip color variants */
[data-trust-bg="burgundy"] .trust { background: var(--rosemary-burgundy); }
[data-trust-bg="burgundy"] .trust__num span { color: var(--rosemary-tan); }
[data-trust-bg="burgundy"] .trust__lbl { color: rgba(255,255,255,0.78); }

[data-trust-bg="cream"] .trust {
  background: var(--rosemary-cream);
  border: 1px solid var(--border);
  color: var(--rosemary-teal);
}
[data-trust-bg="cream"] .trust__num { color: var(--rosemary-teal); }
[data-trust-bg="cream"] .trust__num span { color: var(--rosemary-burgundy); }
[data-trust-bg="cream"] .trust__lbl { color: rgba(15,65,74,0.65); }

/* Step marker variants ----------------------------------------
   The default state is 'numbers'. The other styles override
   the bullet via ::before / sizing.
   ----------------------------------------------------------- */
[data-step-style="dots"] .step__bullet {
  width: 16px;
  height: 16px;
  background: var(--rosemary-burgundy);
  margin: 14px 0 0 14px;
  box-shadow: 0 0 0 4px var(--rosemary-cream),
              0 0 0 5px rgba(118,48,63,0.25);
}
[data-step-style="dots"] .step__bullet span { display: none; }
[data-step-style="dots"] .step::before { left: 21px; top: 30px; }
@media (min-width: 720px) {
  [data-step-style="dots"] .step__bullet { margin: 18px 0 0 20px; }
  [data-step-style="dots"] .step::before { left: 27px; top: 38px; }
}

[data-step-style="icons"] .step__bullet {
  background: var(--rosemary-cream);
  color: var(--rosemary-burgundy);
  border: 1.5px solid rgba(118,48,63,0.35);
  box-shadow: none;
}
[data-step-style="icons"] .step__bullet span { display: none; }
[data-step-style="icons"] .step__bullet::after {
  content: "";
  width: 22px;
  height: 22px;
  background-color: currentColor;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: contain;
          mask-size: contain;
}
@media (min-width: 720px) {
  [data-step-style="icons"] .step__bullet::after { width: 26px; height: 26px; }
}
/* Step 1: text bubble */
[data-step-style="icons"] .step:nth-child(1) .step__bullet::after {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M4 5a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-5l-4 4v-4H6a2 2 0 0 1-2-2V5Z'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M4 5a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-5l-4 4v-4H6a2 2 0 0 1-2-2V5Z'/></svg>");
}
/* Step 2: phone */
[data-step-style="icons"] .step:nth-child(2) .step__bullet::after {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.58 1 1 0 0 1 1 1v3.5a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1 11.4 11.4 0 0 0 .58 3.6 1 1 0 0 1-.25 1l-2.23 2.2Z'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.58 1 1 0 0 1 1 1v3.5a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1 11.4 11.4 0 0 0 .58 3.6 1 1 0 0 1-.25 1l-2.23 2.2Z'/></svg>");
}
/* Step 3: person/handshake (signature) */
[data-step-style="icons"] .step:nth-child(3) .step__bullet::after {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M3 17.5 14.8 5.7a2.5 2.5 0 1 1 3.5 3.6L6.5 21H3v-3.5Zm14-12.3 1.5-1.5a2.5 2.5 0 0 1 3.5 3.5l-1.4 1.4-3.6-3.4Z'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M3 17.5 14.8 5.7a2.5 2.5 0 1 1 3.5 3.6L6.5 21H3v-3.5Zm14-12.3 1.5-1.5a2.5 2.5 0 0 1 3.5 3.5l-1.4 1.4-3.6-3.4Z'/></svg>");
}
/* Step 4: document */
[data-step-style="icons"] .step:nth-child(4) .step__bullet::after {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2Zm7 1.5V9h5.5L13 3.5ZM7 13h10v1.5H7V13Zm0 3h10v1.5H7V16Zm0 3h7v1.5H7V19Z'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2Zm7 1.5V9h5.5L13 3.5ZM7 13h10v1.5H7V13Zm0 3h10v1.5H7V16Zm0 3h7v1.5H7V19Z'/></svg>");
}
/* Step 5: check-in / clock */
[data-step-style="icons"] .step:nth-child(5) .step__bullet::after {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M12 3a9 9 0 1 0 9 9 9 9 0 0 0-9-9Zm.75 9.4 4 2.3-.75 1.3-5-2.9V6.5h1.75v5.9Z'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M12 3a9 9 0 1 0 9 9 9 9 0 0 0-9-9Zm.75 9.4 4 2.3-.75 1.3-5-2.9V6.5h1.75v5.9Z'/></svg>");
}
