/* Design polish: alignment, spacing rhythm, label clearance and press feedback.
   Loaded last, so each block refines one earlier rule without editing it.
   Removing this file restores the previous design exactly. */

:root {
 /* One rhythm for section entrances and the content their titles introduce. */
 --wo-section-heading-before: 144px;
 --wo-section-transition-air: 48px;
 --wo-section-heading-gap: 48px;
 --wo-reviews-top-space: var(--wo-section-heading-before);
 --wo-reviews-heading-gap: var(--wo-section-heading-gap);
 /* Presses answer faster than hovers: the finger is already on the control. */
 --motion-press: 140ms cubic-bezier(.3, 0, .2, 1);
 --wo-press-scale: .97;
}
@media (max-width: 767px) {
 :root {
  --wo-section-heading-before: 96px;
  --wo-section-transition-air: 32px;
  --wo-section-heading-gap: 32px;
 }
}
@media (prefers-reduced-motion: reduce) {
 :root { --motion-press: 1ms linear; --wo-press-scale: 1; }
}

/* ── Hero ───────────────────────────────────────────────────────────────
   Supporting copy uses a softer grey on the darkened deck, with a body
   line-height in place of the heading one. */
#main #hero .framer-kq7xtr { --wo-secondary-text: #a8adb1; }
/* Balance all rows, rather than only avoiding a short final line. Native
   wrapping keeps the copy even as its grid column changes at each width. */
#hero .framer-kq7xtr p.framer-text { font-weight: 400 !important; line-height: 1.4 !important; text-wrap: balance; }
/* The secondary action stays typographically consistent as a quieter text link. */
#hero .wo-hero-secondary { font-size: var(--wo-type-body); }
#hero .framer-14axl34 { transition: background-color var(--motion-feedback-enter), box-shadow var(--motion-feedback-enter), scale var(--motion-press); }
#hero .wo-hero-secondary {
 transition: color var(--motion-feedback-enter), scale var(--motion-press);
}
/* Hover softens the white surface and nudges the arrow toward the plans. */
@media (hover: hover) and (pointer: fine) {
 #hero .framer-scgSm:hover .framer-14axl34 {
  background-color: var(--wo-paper) !important;
  box-shadow: 0 14px 34px rgb(8 16 23 / .38), inset 0 1px 0 rgb(255 255 255 / .45);
 }
 #hero .framer-scgSm:hover .framer-14axl34::after { translate: 3px 0; }
}
#hero .framer-scgSm:focus-visible { outline: 2px solid var(--wo-text); outline-offset: 4px; border-radius: 999px; }
#hero .framer-scgSm:active .framer-14axl34,
#hero .wo-hero-secondary:active { scale: var(--wo-press-scale); }


/* ── “Your plan follows you” ────────────────────────────────────────────
   One sentence per line in every language, so the colour change and the
   line break coincide. The title shares the cards' left edge, like the
   titles of the reviews and plans chapters. */
.wo-feature-stack > h2:is(:lang(en), :lang(it)) { width: auto; max-width: none; }
.wo-feature-stack > h2 > span:not(.wo-heading-mask):not(.wo-text-word-clip) { display: block; }
@media (min-width: 768px) {
 .wo-feature-stack > h2 {
  margin-inline: var(--wo-grid-inner-inset);
 }
 /* The same fluid inner edge across the method, features, reviews and plans.
    Keep each card's internal padding and column proportions unchanged. */
 .wo-method,
 .wo-feature-card,
 .wo-reviews-heading,
 .wo-reviews-wrap,
 .wo-plans__heading,
 .wo-plans__wrap,
 .wo-standalone {
  grid-column: 1 / -1;
  margin-inline: var(--wo-grid-inner-inset);
 }
 .wo-method { width: auto; }
 /* FAQ answers retain their readable desktop measure, but no longer lose
    another pair of grid columns on medium-width windows. */
 #main #faq > :is(.framer-fzp7w, .framer-fx87ml) {
  width: min(800px, var(--wo-grid-content-width));
 }
}

/* Arrow-reveal labels keep 24px of clearance at rest, on hover and on touch.
   The reserved arrow space lives on the link, so its width never depends on
   the hover state and longer labels (“Explore the rewards”) still fit. */
.wo-feature-cta.wo-arrow-reveal {
 --wo-cta-arrow-space: calc(var(--wo-arrow-size) + 4px);
 width: max-content;
 min-width: min(100%, 190px);
 max-width: 100%;
 padding-inline-end: var(--wo-cta-arrow-space);
 transition: scale var(--motion-press);
}
.wo-feature-cta.wo-arrow-reveal > .inner {
 width: calc(100% + var(--wo-cta-arrow-space));
 padding-inline: 24px;
}
.wo-feature-cta.wo-arrow-reveal:is(:hover, :focus-visible) > .inner { width: 100%; }
@media (hover: none), (prefers-reduced-motion: reduce) {
 .wo-feature-cta.wo-arrow-reveal > .inner { width: 100%; }
}

/* ── Section titles ─────────────────────────────────────────────────────
   The section owns the entrance space, the heading owns the content gap.
   Keep card titles, coach names, the hero and the footer on their own scale. */
#main .framer-17f8kf:has(> #differencetrig) {
 /* The wrapper overlaps the hero seam; compensate once, not with another
    section spacer between the hero and the Method title. */
 padding-block-start: calc(var(--wo-section-heading-before) + var(--wo-method-seam-overlap) - var(--wo-hero-card-gap)) !important;
}
.wo-method .wo-method__copy { align-self: start; }
.wo-method .wo-method__title { margin-block: 0 var(--wo-section-heading-gap); }
.wo-feature-stack {
 /* Reserve the SVG's settled footprint before adding the common spacing.
    Its upward parallax can only increase this clearance. */
 padding-block-start: calc(max(0px, calc(var(--wo-feature-entry-height) - var(--wo-feature-entry-rise) - var(--wo-entry-divider-travel))) + var(--wo-section-heading-before));
}
.wo-feature-stack > h2 { margin-block: 0 var(--wo-section-heading-gap); }
/* Team starts with its story instead of a section heading. Give that chapter
   the same additional outer breathing room without spreading its own rows. */
.wo-team-section { padding-block-start: var(--wo-section-transition-air); }
.wo-reviews-heading,
.wo-plans__heading { margin-block: 0 var(--wo-section-heading-gap); }
.wo-reviews h2,
.wo-plans__heading h2 { margin-block: 0; }
.wo-plans { padding-block-start: var(--wo-section-heading-before); }
/* The departing ridge ends at the chapter boundary. Its former travel inset
   added a second blank band before the next section's heading. */
.wo-review-divider { bottom: 0; }
.wo-reviews::after { height: 2px; }
.wo-reviews {
 /* The navy gradient uses this inset too. Reset it with the relocated SVG
    so the background reaches the ridge instead of leaving a paper band. */
 --wo-review-divider-travel: 0px;
 padding-block-end: calc(var(--wo-review-divider-height) + var(--wo-section-heading-before));
}
#main .wo-faq-chapter { padding-block-start: var(--wo-section-heading-before); }
#main #faq { --wo-faq-intro-gap: var(--wo-section-heading-gap); }
#main #faq .wo-faq-intro { margin-block-start: 0; }
#wo-faq-title { margin-block: 0; }
@media (max-width: 809px) {
 /* The stacked Method uses display:contents for its copy. Count its existing
    grid row gap once, so the title-to-choices distance is still 48/32px. */
 .wo-method { --wo-method-row-gap: 24px; row-gap: var(--wo-method-row-gap); }
 .wo-method .wo-method__title {
  margin-block-end: calc(var(--wo-section-heading-gap) - var(--wo-method-row-gap));
 }
}

/* ── Questions ──────────────────────────────────────────────────────────
   Eleven identical rows need a pointer cue for the one about to open. */
#faq .wo-faq-item { transition: background-color var(--motion-feedback-enter); }
@media (hover: hover) and (pointer: fine) {
 #faq .wo-faq-item:not([data-open]):has(.wo-faq-trigger:hover) { background-color: rgb(14 28 39 / .085); }
}

/* ── Footer ─────────────────────────────────────────────────────────────
   Footer copy follows the page grid: its edges meet the hero title on the
   left and the language switch on the right. */
.wo-footer-panel {
 padding-inline: calc(var(--wo-grid-inset) + var(--wo-footer-bleed));
}

/* ── Press feedback ─────────────────────────────────────────────────────
   Every pill and card that acts on click settles slightly under the press.
   Each rule restates the control's existing transitions and adds scale. */
.wo-method .wo-method__choice {
 transition: background-color var(--motion-feedback-enter), color var(--motion-feedback-enter), scale var(--motion-press);
}
.wo-team-profile-button { transition: background-color var(--motion-feedback-enter), scale var(--motion-press); }
.wo-reviews-controls button { transition: background var(--motion-feedback-enter), scale var(--motion-press); }
.wo-footer-cta { transition: background var(--motion-feedback-enter), scale var(--motion-press); }
.wo-plan-action { transition: inline-size var(--motion-navigation-enter), scale var(--motion-press); }
.wo-standalone button { transition: scale var(--motion-press); }

:is(.wo-method .wo-method__choice, .wo-team-profile-button, .wo-reviews-controls button,
 .wo-footer-cta, .wo-plan-action, .wo-feature-cta.wo-arrow-reveal):active { scale: var(--wo-press-scale); }
/* Wide cards move less for the same perceived depth. */
.wo-standalone button:active { scale: .985; }
