/* =========================================================
   Version B polish layer (loaded after styles.css on index-b.html only)
   ========================================================= */

/* 2. Contact: stack form under the heading on phones */
@media (max-width: 860px) {
  .contact__inner { grid-template-columns: minmax(0, 1fr); }
}

/* 3. Round badges stay inside the screen on phones (placed from the page's left edge) */
@media (max-width: 860px) {
  .qfeature .feature__badge.rbadge { right: 4px; }
}

/* 4. One arrow style: cream circle, 1px line, soft shadow, 44px */
.reviews2__btn, .reviews2__btn[data-rnext], .footer4__arrow {
  width: 44px; height: 44px; padding: 0; display: grid; place-items: center;
  background: var(--parch); color: var(--spruce); border: 1px solid var(--spruce); border-radius: 50%;
  box-shadow: 0 8px 20px -10px rgba(133, 67, 30, .35); filter: none;
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.reviews2__btn svg, .footer4__arrow svg { width: 16px; height: 16px; stroke-width: 1.75; }
/* 5. Matching hovers: round buttons and social icons share one hover */
.reviews2__btn:hover, .reviews2__btn[data-rnext]:hover, .footer4__arrow:hover, .footer4__social a:hover {
  background: var(--parch); filter: none; box-shadow: 0 12px 26px -10px rgba(133, 67, 30, .5);
}
.footer4__social a { box-shadow: 0 8px 20px -10px rgba(133, 67, 30, .0); transition: box-shadow .3s var(--ease); }
.footer4__social a:hover { background: var(--orange); }
/* All text links fade the same amount */
.nav__links a:not(.btn):hover, .footer4__links a:hover, .footer4__meta a:hover { opacity: .6; }
.nav__links a:not(.btn), .footer4__links a, .footer4__meta a { transition: opacity .3s var(--ease); }
/* Pricing cards stay still on hover */
.pcard2:hover { transform: none !important; }

/* 7. Photo sections sit on the same edges as every other section */
@media (min-width: 961px) {
  section.feature.section:not(.qfeature):not(.feature--flip) > .feature__inner { width: min(1080px, calc(100% - 96px)); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  section.feature.feature--flip.section:not(.qfeature) > .feature__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  section.feature.section:not(.qfeature) > .feature__inner > .feature__photo { width: 100%; }
}

/* 8. Quiz section gets the same top/bottom space as the rest */
.qfeature, .feature + .qfeature { padding-block: var(--sp); }

/* 9. Two text sizes: 17 body, 15 small */
.statement__body, .cta__inner p, .feature .derian__lead, .split--derian .derian__lead { font-size: 17px; line-height: 1.6; }
.feature .derian__body, .split--derian .derian__body { font-size: 15px; line-height: 1.6; }

/* 12. One keyboard focus ring */
:focus-visible { outline: 2px solid var(--spruce); outline-offset: 3px; }
.cta :focus-visible, .qfeature :focus-visible, .hero :focus-visible { outline-color: var(--parch); }

/* 14. Tighter big headings, one line height (matches the hero) */
h2, .h2, .pricing2__title, .reviews__word { letter-spacing: -0.012em; line-height: 1.02; }

/* 15. Shorter line under the hopes-up statement */
.statement__body { max-width: 600px; margin-inline: auto; }

/* 16. Prices: "per month" lighter and sitting on the number's baseline */
.pcard2 .plan__price { display: flex; align-items: baseline; gap: 8px; }
.pcard2 .plan__unit { font-weight: 500; opacity: .6; }

/* Footer: full-width parchment, 1px line around the top, rounded upper corners overlapping the section above */
.footer4 { padding: 0; background: none; margin-top: -28px; }
.footer4__panel { background: var(--parch); color: var(--spruce); border: 1px solid var(--spruce); border-bottom: 0; border-radius: 28px 28px 0 0; padding-block: 56px 28px; }
.footer4__logo svg { fill: var(--spruce); }
.footer4__row { grid-template-columns: 1fr; justify-items: center; gap: 24px; }
.footer4 .footer4__btn { gap: 10px; }
.footer4__ig { width: 18px; height: 18px; flex: none; }
@media (max-width: 860px) { .footer4 { margin-top: -20px; } .footer4__panel { border-radius: 20px 20px 0 0; padding-top: 40px; } }
/* Health disclaimer: smaller, wider line */
.footer4__disc { font-size: 10px; line-height: 1.5; max-width: 1080px; }
/* Follow Me! sits above the photos, lilac */
.footer4__follow { display: flex; justify-content: center; margin-bottom: 32px; }
.footer4__follow .footer4__btn { gap: 10px; }
@media (max-width: 860px) { .footer4__follow { margin-bottom: 24px; } }
/* Footer top row: logo left, links center, button right, all above the photos */
.footer4__top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 0 clamp(24px, 4vw, 64px) 40px; }
.footer4__top .footer4__logo { justify-self: start; }
.footer4__top .footer4__logo svg { width: 64px; height: 59px; }
.footer4__top .footer4__links { padding: 0; }
.footer4__top .footer4__btn { justify-self: end; gap: 10px; }
.footer4__strip { margin-bottom: 32px; }
@media (max-width: 860px) {
  .footer4__top { grid-template-columns: 1fr; justify-items: center; gap: 24px; padding-bottom: 32px; }
  .footer4__top .footer4__logo, .footer4__top .footer4__btn { justify-self: center; }
  .footer4__strip { margin-bottom: 24px; }
}
/* Legal + disclaimer: more breathing room, quieter */
.footer4__strip { margin-bottom: 72px; }
.footer4__panel { padding-bottom: 40px; }
.footer4__bottom { gap: 14px; }
.footer4__meta { font-size: 11px; opacity: .7; }
.footer4__disc { opacity: .55; }
@media (max-width: 860px) { .footer4__strip { margin-bottom: 48px; } }
/* Nav + footer links: a thin underline draws in from the left on hover and stays under the current
   page (Oct 29: replaces the thick highlighter bar, which covered the words) */
.nav .nav__links a:not(.btn), .footer4__links a {
  padding: 0 0 5px; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0% 1px;
  transition: background-size .35s var(--ease), color .3s var(--ease);
}
.nav .nav__links a:not(.btn):hover, .nav .nav__links a:not(.btn):focus-visible, .nav .nav__links a[aria-current],
.footer4__links a:hover, .footer4__links a:focus-visible { background-size: 100% 1px; opacity: 1; }

/* Custom cursor: regular cursor leads, filled logo mark trails behind it */
.custom-cursor { position: fixed; pointer-events: none; z-index: 9999; display: none; }
.cursor-dot { width: 4px; height: 4px; background: var(--spruce); border-radius: 50%; }
.cursor-ring svg { display: block; width: 100%; height: 100%; fill: var(--spruce); }


/* Testimonial cards: quiet secondary button */
.rcard2__text .rcard2__cta { justify-self: start; min-width: 0; min-height: 44px; padding: 0 22px; margin-top: 8px; font-size: 14px; background: transparent; border: 1px solid var(--spruce); box-shadow: none !important; transform: none !important; transition: background-color .3s var(--ease); }
.rcard2__text .rcard2__cta:hover { background: var(--sand-100); filter: none; }
/* Contact photo (bike): frame on the wheel and orange wall */
.contact__bg { object-position: 50% 72%; }
/* Contact photo (grapefruit): centered */
.contact__bg { object-position: 50% 50%; }
