/* Shared controls: split arrows for forward actions, quiet plus pills for
   popups, and a compact header. The same geometry serves both site views. */
:root {
 --wo-button-height: 52px;
 --wo-button-padding: 24px;
 --wo-button-gap: 12px;
 --wo-button-icon-size: 20px;
 --motion-press: 120ms cubic-bezier(.2, 0, .2, 1);
 --wo-button-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12h15m-6-6 6 6-6 6'/%3E%3C/svg%3E");
 --wo-button-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
}

.wo-button--white { --wo-button-surface: #fff; --wo-button-ink: var(--wo-ink); }
.wo-button--paper { --wo-button-surface: var(--wo-paper); --wo-button-ink: var(--wo-ink); }
.wo-button--navy { --wo-button-surface: var(--wo-ink); --wo-button-ink: #fff; }
.wo-button--gold { --wo-button-surface: var(--wo-gold); --wo-button-ink: var(--wo-ink); }

html body .wo-button.wo-button {
 box-sizing: border-box;
 position: relative;
 display: var(--wo-button-display, inline-flex) !important;
 flex-direction: row !important;
 flex-wrap: nowrap !important;
 align-items: center !important;
 justify-content: center !important;
 gap: var(--wo-button-gap) !important;
 height: var(--wo-button-height) !important;
 min-height: var(--wo-button-height) !important;
 max-width: 100%;
 padding: 0 var(--wo-button-padding) !important;
 border: 0 !important;
 border-radius: 999px !important;
 background: var(--wo-button-surface, var(--wo-ink)) !important;
 color: var(--wo-button-ink, #fff) !important;
 font: 500 var(--wo-type-body)/1.2 var(--wo-font) !important;
 letter-spacing: 0 !important;
 text-decoration: none !important;
 white-space: nowrap;
 box-shadow: none !important;
 -webkit-tap-highlight-color: transparent;
 transition: background-color 220ms var(--ease-overlap), scale var(--motion-press, 140ms ease);
}
html body .wo-button::before { display: none !important; }
html body .wo-button::after {
 content: '';
 display: block !important;
 position: static !important;
 flex: 0 0 var(--wo-button-icon-size);
 width: var(--wo-button-icon-size);
 height: var(--wo-button-icon-size);
 margin: 0 !important;
 border: 0 !important;
 background: currentColor;
 -webkit-mask: var(--wo-button-icon, var(--wo-button-arrow)) center / contain no-repeat;
 mask: var(--wo-button-icon, var(--wo-button-arrow)) center / contain no-repeat;
 opacity: 1;
 transform: none;
 transition: translate 220ms var(--ease-overlap);
 pointer-events: none;
}
html body :is(.wo-button--plus, .wo-button[data-button-icon="plus"]) {
 --wo-button-icon: var(--wo-button-plus);
}
/* Retain existing translated/animated label nodes, but retire the detached
   circle and its hover-dependent label width. */
html body .wo-button.wo-arrow-reveal > .inner {
 position: static;
 display: flex;
 flex: 1 1 auto;
 align-items: center;
 justify-content: center;
 width: auto !important;
 min-width: 0;
 height: auto;
 padding: 0 !important;
 border: 0;
 border-radius: 0;
 background: transparent !important;
 color: inherit;
 box-shadow: none;
 scale: 1;
 transition: none;
}
html body .wo-button > :is(.circle, svg) { display: none !important; }
html body .wo-button.wo-feature-cta {
 width: max-content;
 min-width: 0;
 --wo-cta-arrow-space: 0px;
}
html body .entry-choice__button.wo-button { width: 100%; }
@media (max-width: 380px) {
 html body .entry-choice__button.wo-button {
  --wo-button-padding: 16px;
  --wo-button-gap: 8px;
 }
}
html body .wo-button.wo-plan-action {
 --wo-button-height: var(--wo-arrow-size);
 --wo-plan-action-space: 112px;
 font-weight: 650 !important;
 transition: inline-size var(--motion-navigation-enter), background-color 220ms var(--ease-overlap), scale var(--motion-press, 140ms ease);
}
/* The navigation has a compact size within its existing white container. */
html body .wo-button.wo-button--compact {
 --wo-button-height: 44px;
 --wo-button-padding: 16px;
 --wo-button-gap: 8px;
 max-width: none;
 font-size: var(--wo-type-small) !important;
 transition: background-color var(--motion-feedback-enter), transform var(--motion-feedback-enter), opacity 240ms ease, translate var(--header-resize), scale var(--header-resize), clip-path var(--header-resize);
}
html body .header-contact.wo-button::after { display: none !important; }
@media (min-width: 768px) {
 html body .header-contact.wo-button {
  --wo-button-height: 52px;
  --wo-button-padding: 22px;
  font-size: var(--wo-type-body) !important;
 }
}
#hero { --wo-hero-arrow: var(--wo-button-arrow); }
/* The hero keeps its stronger label, with the same spacing and icon. */
html body #hero .wo-button p.framer-text {
 color: inherit !important;
 font: 500 var(--wo-type-body)/1.2 var(--wo-font) !important;
}
html body .wo-button.wo-pass-action[data-included="true"] {
 --wo-button-surface: var(--wo-paper);
 --wo-button-ink: var(--wo-muted-light);
}
html body .wo-button:is(.wo-pass-action, .wo-purchase-buy, .wo-hero-primary)::after { display: none !important; }

@media (hover: hover) and (pointer: fine) {
 html body .wo-button:not(:disabled):hover,
 html body .entry-choice__option:hover .wo-button {
  background: color-mix(in srgb, var(--wo-button-surface) 93%, var(--wo-button-ink)) !important;
 }
 html body .wo-button:not(:disabled):not(.wo-button--plus):not([data-button-icon="plus"]):hover::after,
 html body .entry-choice__option:hover .wo-button::after { translate: 2px 0; }
}
html body .wo-button:focus-visible {
 outline: 2px solid var(--wo-gold);
 outline-offset: 4px;
}
html body .wo-button:not(:disabled):active,
html body .entry-choice__option:active .wo-button,
html body #hero .framer-scgSm:active .wo-button { scale: .97; }

/* Split-arrow component. The outer box stays still. Its background contracts
   behind the label as the separate circle opens in an already reserved track.
   Transitions reverse from their current pose during fast hover changes. */
html body .wo-button.wo-button--split {
 --wo-split-gap: 4px;
 --wo-split-shift: calc((var(--wo-button-height) + var(--wo-split-gap)) / 2);
 display: var(--wo-button-display, inline-grid) !important;
 grid-template-columns: minmax(0, 1fr) var(--wo-button-height);
 grid-template-rows: var(--wo-button-height);
 gap: 0 var(--wo-split-gap) !important;
 width: max-content;
 padding: 0 !important;
 background: transparent !important;
 overflow: visible;
 isolation: isolate;
}
html body .wo-button.wo-button--split:is(:hover, :focus-visible),
html body .entry-choice__option:hover .wo-button.wo-button--split { background: transparent !important; }
html body .wo-button.wo-button--split.wo-plan-action { width: var(--wo-plan-action-width, 220px); }
html body .wo-button.wo-button--split::before {
 content: '';
 display: block !important;
 position: absolute;
 z-index: -1;
 inset: 0 auto 0 0;
 width: 100%;
 border: 0;
 border-radius: 999px;
 background: var(--wo-button-surface);
 pointer-events: none;
 transition: width 500ms var(--ease-overlap), background-color 220ms var(--ease-overlap);
}
html body .wo-button.wo-button--split::after { display: none !important; }
html body .wo-button.wo-button--split > .inner {
 grid-area: 1 / 1;
 position: relative;
 display: flex;
 align-items: center;
 justify-content: center;
 width: auto !important;
 height: 100%;
 min-width: 0;
 padding: 0 var(--wo-button-padding) !important;
 background: transparent !important;
 border: 0;
 border-radius: 999px;
 box-shadow: none;
 transform: translateX(var(--wo-split-shift));
 transition: transform 500ms var(--ease-overlap);
}
html body .wo-button.wo-button--split > .circle {
 grid-area: 1 / 2;
 position: relative;
 inset: auto;
 display: flex !important;
 align-items: center;
 justify-content: center;
 width: var(--wo-button-height) !important;
 height: var(--wo-button-height);
 padding: 0;
 border: 0;
 border-radius: 50%;
 background: var(--wo-button-surface) !important;
 box-shadow: none;
 scale: 0;
 transform-origin: left center;
 transition: scale 500ms var(--ease-overlap), background-color 220ms var(--ease-overlap);
}
html body .wo-button.wo-button--split > .circle > span {
 display: grid;
 place-items: center;
 width: 100%;
 height: 100%;
 opacity: 0;
 transform: translateX(-8px);
 transition: transform 500ms var(--ease-overlap), opacity 220ms ease;
}
html body .wo-button.wo-button--split > .circle svg {
 display: block;
 width: var(--wo-button-icon-size);
 height: var(--wo-button-icon-size);
 fill: none;
 stroke: currentColor;
 stroke-width: 1.75;
 stroke-linecap: round;
 stroke-linejoin: round;
 transform: none !important;
}
html body .wo-button.wo-button--split:is(:hover, :focus-visible)::before,
html body .entry-choice__option:is(:hover, :focus-visible) .wo-button--split::before {
 width: calc(100% - var(--wo-button-height) - var(--wo-split-gap));
}
html body .wo-button.wo-button--split:is(:hover, :focus-visible) > .inner,
html body .entry-choice__option:is(:hover, :focus-visible) .wo-button--split > .inner { transform: none; }
html body .wo-button.wo-button--split:is(:hover, :focus-visible) > .circle,
html body .entry-choice__option:is(:hover, :focus-visible) .wo-button--split > .circle { scale: 1; }
html body .wo-button.wo-button--split:is(:hover, :focus-visible) > .circle > span,
html body .entry-choice__option:is(:hover, :focus-visible) .wo-button--split > .circle > span { transform: none; opacity: 1; }
html body .entry-choice__button.wo-button--split { width: 100%; }
html body .wo-footer-guide-cta.wo-button--split { margin-top: 8px; }
/* The longer translated CTA takes a new row before it can leave the footer. */
.wo-footer-links:has(.wo-footer-guide-cta) { flex-wrap: wrap; }
/* Retained Framer selectors have IDs; keep the hero on this same component. */
html body #hero .wo-button--split {
 display: var(--wo-button-display, inline-grid) !important;
 gap: 0 var(--wo-split-gap) !important;
 padding: 0 !important;
 background: transparent !important;
}
html body #hero .wo-button--split::after { display: none !important; }
html body #hero .wo-button--split > .circle { width: var(--wo-button-height) !important; }
@media (max-width: 809px) {
 html body .wo-button.wo-plan-action { --wo-plan-action-space: 80px; --wo-button-padding: 16px; }
}
@media (max-width: 600px) {
 html body .entry-choice__button.wo-button--split { --wo-button-padding: 14px; }
}
@media (max-width: 380px) {
 html body .entry-choice__button.wo-button--split { --wo-button-padding: 8px; font-size: var(--wo-type-small) !important; }
}
/* Fingers have no hover state. Always show the complete split affordance. */
@media (max-width: 767px), (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
 html body .wo-button.wo-button--split::before { width: calc(100% - var(--wo-button-height) - var(--wo-split-gap)); }
 html body .wo-button.wo-button--split > .inner { transform: none; }
 html body .wo-button.wo-button--split > .circle { scale: 1; }
 html body .wo-button.wo-button--split > .circle > span { transform: none; opacity: 1; }
}
/* Mobile uses quiet, centred labels in a single uninterrupted pill.
   Keep icon-only navigation controls and standalone card arrows independent. */
@media (max-width: 767px), (pointer: coarse) {
 html body .wo-button.wo-button,
 html body #hero .wo-button--split {
  display: var(--wo-button-display, inline-flex) !important;
  justify-content: center !important;
  gap: 0 !important;
  padding: 0 var(--wo-button-padding) !important;
 }
 html body .wo-button.wo-button::after,
 html body .wo-button.wo-button--split > .circle { display: none !important; }
 html body .wo-button.wo-button--split::before { width: 100% !important; transition: none; }
 html body .wo-button.wo-button--split > .inner {
  flex: 1 1 auto;
  width: 100% !important;
  padding: 0 !important;
  transform: none !important;
  transition: none;
 }
 html body .wo-button.wo-plan-action {
  --wo-plan-action-space: 80px;
  --wo-button-padding: 24px;
 }
 html body .entry-choice__button.wo-button--split {
  --wo-button-padding: 16px;
  font-size: var(--wo-type-body) !important;
 }
}
@media (max-width: 767px) {
 html body .wo-team-profile-button.wo-button {
  --wo-button-height: 40px;
  --wo-button-padding: 20px;
  width: max-content;
  min-width: 0;
  margin-top: 12px;
  font-size: var(--wo-type-small) !important;
 }
}

/* Keep FAQ glyphs on their original pixel grid during a tap. Scaling the
   whole header pulled its label inward and back out as the answer opened. */
html body .wo-faq-trigger {
 scale: none;
 transition: color var(--motion-press);
 -webkit-tap-highlight-color: transparent;
}
html body .wo-faq-trigger:active {
 color: color-mix(in srgb, var(--wo-faq-q-color, var(--wo-ink)) 76%, transparent);
}

/* Independent scale preserves the Guide arrows' vertical-centering transform. */
:root { --wo-control-hover: 200ms var(--ease-feedback-enter); }
html body :is(.kit-product__summary, .wo-reviews-controls button,
 .kit-catalog__arrow, .header-language__trigger, .header-language__option, .header-language__choice) {
 scale: 1;
 transition: scale var(--motion-press), background-color var(--wo-control-hover), color var(--wo-control-hover);
 -webkit-tap-highlight-color: transparent;
}
html body .wo-plan-option {
 scale: 1;
 transition: background-color var(--wo-plan-option-motion), color var(--wo-plan-option-motion), scale var(--motion-press);
 -webkit-tap-highlight-color: transparent;
}
html[data-guide-embed] body #maritime-window .kit-catalog__arrow {
 transition: scale var(--motion-press), background-color var(--wo-control-hover);
}
html body :is(.kit-product__summary, .wo-plan-option):active { scale: .99; }
html body :is(.wo-reviews-controls button, .kit-catalog__arrow, .header-language__trigger,
 .header-language__option, .header-language__choice):not(:disabled):active { scale: .97; }

/* Underlined links keep their geometry and give a quieter finger-down cue. */
html body :is(.wo-link-motion, .wo-plan-pass-link, .wo-plan-guide-link, .wo-contact-support a) {
 transition: opacity var(--motion-press);
 -webkit-tap-highlight-color: transparent;
}
html body :is(.wo-link-motion, .wo-plan-pass-link, .wo-plan-guide-link, .wo-contact-support a):active { opacity: .65; }

@media (prefers-reduced-motion: reduce) {
 html body .wo-faq-trigger { transition: none; }
 html body :is(.kit-product__summary, .wo-plan-option, .wo-reviews-controls button,
  .kit-catalog__arrow, .header-language__trigger, .header-language__option, .header-language__choice) {
  transition: none;
 }
 html body :is(.kit-product__summary, .wo-plan-option, .wo-reviews-controls button,
  .kit-catalog__arrow, .header-language__trigger, .header-language__option, .header-language__choice):active { scale: 1; }
 html[data-guide-embed] body #maritime-window .kit-catalog__arrow { transition: none; }
 html body :is(.wo-link-motion, .wo-plan-pass-link, .wo-plan-guide-link, .wo-contact-support a) { transition: none; }
}
/* Component visibility must win over the shared control's layout mode. */
html body .wo-button.wo-button[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
 html body .wo-button,
 html body .wo-button::before,
 html body .wo-button::after,
 html body .wo-button > .inner,
 html body .wo-button > .circle,
 html body .wo-button > .circle > span { transition: none !important; }
 html body .wo-button:active,
 html body .entry-choice__option:active .wo-button,
 html body #hero .framer-scgSm:active .wo-button { scale: 1; }
}
