/*
 * Site components and sections. On a client build this file is where the
 * approved design is implemented; every value should come from a token.
 */

/* ---------- Header ---------- */
.sx-announce { background: var(--c-dark); color: var(--c-on-dark); font-size: var(--fs-small); text-align: center; }
.sx-announce p { margin: 0; padding: 0.5rem 0; }
.sx-header { position: sticky; inset-block-start: 0; z-index: 50; background: var(--c-bg); border-bottom: 1px solid var(--c-line); }
.sx-header__inner { display: flex; align-items: center; gap: var(--space-3); min-height: var(--header-h); }
.sx-logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--c-ink); flex: 0 1 auto; min-width: 0; }
.sx-logo__img { height: auto; max-height: 2.5rem; width: auto; max-width: min(12rem, 100%); object-fit: contain; object-position: left center; }
[dir="rtl"] .sx-logo__img { object-position: right center; }
.sx-header__actions { flex: 0 0 auto; }
@media (min-width: 640px) { .sx-header__inner { gap: var(--space-5); } }
.sx-logo__text { font-family: var(--font-display); font-weight: var(--fw-display); font-size: 1.25rem; line-height: 1.1; }
.sx-header__actions { display: flex; align-items: center; gap: var(--space-4); margin-inline-start: auto; }
.sx-header__phone { display: none; align-items: center; gap: 0.4rem; font-weight: var(--fw-strong); color: var(--c-ink); text-decoration: none; white-space: nowrap; }
.sx-header__phone:hover { color: var(--c-brand); }
.sx-header__cta { display: none; white-space: nowrap; }
.sx-burger { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0.5rem 0.85rem; background: transparent; color: var(--c-ink); border: 1.5px solid var(--c-ink-soft); border-radius: var(--radius-pill); font-weight: var(--fw-strong); }
.sx-burger:hover { background: var(--c-surface); }

/* Navigation (shared list markup; layout differs per context) */
.sx-nav--desktop { display: none; }
.sx-nav__list { display: flex; gap: var(--space-2); }
.sx-nav__item { position: relative; display: flex; align-items: center; }
.sx-nav__link { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.4rem 0.7rem; color: var(--c-ink); font-weight: var(--fw-strong); font-size: 1rem; text-decoration: none; border-radius: var(--radius-s); }
.sx-nav__link:hover { color: var(--c-brand); background: var(--c-surface); }
.sx-nav__link[aria-current="page"] { color: var(--c-brand); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.4em; }
.sx-nav__toggle { display: inline-grid; place-items: center; width: 2rem; height: 2.75rem; margin-inline-start: -0.4rem; background: transparent; border: 0; border-radius: var(--radius-s); color: var(--c-ink); }
.sx-nav__toggle:hover { background: var(--c-surface); }
.sx-nav__toggle .sx-icon { width: 1.1rem; height: 1.1rem; transition: transform 0.2s ease; }
.sx-nav__toggle[aria-expanded="true"] .sx-icon { transform: rotate(180deg); }
.sx-nav--desktop .sx-nav__sub { position: absolute; inset-block-start: calc(100% + 0.25rem); inset-inline-start: 0; min-width: 15rem; padding: var(--space-2); background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius-m); box-shadow: var(--shadow-2); z-index: 60; }
.sx-nav__sublink { display: block; padding: 0.6rem 0.8rem; color: var(--c-ink); text-decoration: none; border-radius: var(--radius-s); }
.sx-nav__sublink:hover { background: var(--c-surface); color: var(--c-brand); }
.sx-nav__sublink[aria-current="page"] { color: var(--c-brand); font-weight: var(--fw-strong); }

/* Language switcher */
.sx-lang-switch ul { display: flex; flex-wrap: wrap; gap: 0.15rem; list-style: none; margin: 0; padding: 0; }
.sx-lang-switch a { display: inline-flex; align-items: center; min-height: 2.25rem; padding: 0.25rem 0.6rem; border-radius: var(--radius-pill); font-size: var(--fs-small); font-weight: var(--fw-strong); color: var(--c-ink); text-decoration: none; }
.sx-lang-switch a:hover { background: var(--c-surface); }
.sx-lang-switch a[aria-current="true"] { background: var(--c-ink); color: var(--c-bg); }
.sx-lang-switch--header { display: none; position: relative; }
.sx-lang-dd summary { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem; padding: 0.4rem 0.8rem; border: 1.5px solid var(--c-line); border-radius: var(--radius-pill); font-size: var(--fs-small); font-weight: var(--fw-strong); cursor: pointer; list-style: none; white-space: nowrap; }
.sx-lang-dd summary::-webkit-details-marker { display: none; }
.sx-lang-dd summary::after { content: ""; width: 0.45rem; height: 0.45rem; border-inline-end: 2px solid currentColor; border-block-end: 2px solid currentColor; transform: rotate(45deg) translateY(-0.12rem); }
.sx-lang-dd summary:hover { background: var(--c-surface); }
.sx-lang-dd ul { position: absolute; inset-block-start: calc(100% + 0.35rem); inset-inline-end: 0; flex-direction: column; min-width: 10rem; padding: var(--space-2); background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius-m); box-shadow: var(--shadow-2); z-index: 60; }
.sx-lang-dd ul a { width: 100%; border-radius: var(--radius-s); }
.sx-footer .sx-lang-switch a { color: var(--c-on-dark); }
.sx-footer .sx-lang-switch a:hover { background: rgb(255 255 255 / 0.12); }
.sx-footer .sx-lang-switch a[aria-current="true"] { background: var(--c-on-dark); color: var(--c-dark); }

@media (min-width: 1280px) {
  .sx-nav--desktop { display: block; }
  .sx-burger { display: none; }
  .sx-header__cta { display: inline-flex; }
  .sx-lang-switch--header { display: block; }
}
@media (min-width: 1280px) { .sx-header__phone { display: inline-flex; } }

/* ---------- Off-canvas menu ---------- */
.sx-drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; transition: visibility 0s linear 0.32s; }
.sx-drawer.is-open { visibility: visible; transition-delay: 0s; }
.sx-drawer__backdrop { position: absolute; inset: 0; background: rgb(10 16 13 / 0.55); opacity: 0; transition: opacity 0.32s ease; }
.sx-drawer.is-open .sx-drawer__backdrop { opacity: 1; }
.sx-drawer__panel { position: absolute; inset-block: 0; inset-inline-end: 0; display: flex; flex-direction: column; width: min(24rem, 88vw); background: var(--c-bg); box-shadow: var(--shadow-2); transform: translateX(100%); transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1); overflow-y: auto; overscroll-behavior: contain; }
[dir="rtl"] .sx-drawer__panel { transform: translateX(-100%); }
.sx-drawer.is-open .sx-drawer__panel { transform: none; }
.sx-drawer__top { display: flex; align-items: center; justify-content: space-between; padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--c-line); position: sticky; inset-block-start: 0; background: var(--c-bg); z-index: 1; }
.sx-drawer__title { font-family: var(--font-display); font-weight: var(--fw-heading); font-size: 1.25rem; }
.sx-drawer__close { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; background: transparent; border: 1.5px solid var(--c-ink-soft); border-radius: 50%; color: var(--c-ink); }
.sx-drawer__close:hover { background: var(--c-surface); }
.sx-nav--drawer { padding: var(--space-3) var(--space-5); }
.sx-nav--drawer .sx-nav__list { flex-direction: column; gap: 0; }
.sx-nav--drawer .sx-nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--c-line); }
.sx-nav--drawer .sx-nav__link { flex: 1 1 auto; min-height: 3.25rem; padding-inline: 0; font-size: 1.125rem; border-radius: 0; }
.sx-nav--drawer .sx-nav__link:hover { background: transparent; }
.sx-nav--drawer .sx-nav__toggle { width: 3rem; height: 3rem; margin: 0; }
.sx-nav--drawer .sx-nav__sub { flex: 1 0 100%; padding: 0 0 var(--space-3) var(--space-4); }
.sx-nav--drawer .sx-nav__sublink { padding: 0.7rem 0.5rem; }
.sx-drawer__bottom { display: grid; gap: var(--space-4); margin-top: auto; padding: var(--space-5); }
.sx-drawer__phone { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; font-weight: var(--fw-strong); color: var(--c-ink); text-decoration: none; }
body.sx-drawer-open { overflow: hidden; }

/* ---------- Sections ---------- */
.sx-main { display: block; min-height: 40vh; }
.sx-section { padding-block: var(--section-y); }
.sx-section + .sx-section { border-top: 0; }
.sx-section--cards, .sx-section--faq, .sx-section--stats, .sx-section--pricing, .sx-section--logos { background: var(--c-surface); }
.sx-heading { margin-bottom: var(--space-7); max-width: 44rem; }
.sx-heading--center { margin-inline: auto; text-align: center; }
.sx-heading__title { margin: 0; }
.sx-heading__intro { margin: var(--space-4) 0 0; font-size: var(--fs-lead); color: var(--c-ink-soft); }
.sx-heading--center .sx-heading__intro { margin-inline: auto; }

.sx-grid { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 640px) { .sx-grid--2, .sx-grid--3, .sx-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .sx-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sx-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Hero */
.sx-section--hero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem); background: var(--c-surface); }
.sx-hero__grid { display: grid; gap: var(--space-7); align-items: center; }
.sx-hero__title { font-size: var(--fs-display); font-weight: var(--fw-display); line-height: var(--lh-tight); margin: 0 0 var(--space-5); }
.sx-hero__media .sx-img, .sx-hero__media .sx-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-l); }
.sx-points { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); margin-top: var(--space-6); }
.sx-points li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: var(--fs-small); font-weight: var(--fw-strong); }
.sx-points .sx-icon { color: var(--c-brand); margin-top: 0.15em; }
.sx-points--stack { flex-direction: column; gap: var(--space-3); margin-top: var(--space-5); }
.sx-points--stack li { font-size: var(--fs-body); font-weight: var(--fw-body); }
@media (min-width: 1000px) { .sx-hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--space-8); } }

/* Page banner */
.sx-section--page-header { position: relative; padding-block: clamp(2.5rem, 1.8rem + 3vw, 4.5rem); background: var(--c-surface); }
.sx-section--page-header .sx-heading__title { font-size: var(--fs-h1); }
.sx-section--page-header .sx-lead { margin-top: var(--space-4); margin-bottom: 0; }
.sx-section--page-header.has-image { background: var(--c-dark); color: var(--c-on-dark); }
.sx-section--page-header.has-image h1, .sx-section--page-header.has-image .sx-lead, .sx-section--page-header.has-image .sx-eyebrow, .sx-section--page-header.has-image .sx-breadcrumbs a, .sx-section--page-header.has-image .sx-breadcrumbs span { color: var(--c-on-dark); }
.sx-pagehead__bg { position: absolute; inset: 0; }
.sx-pagehead__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.sx-pagehead__inner { position: relative; }
.sx-breadcrumbs { margin-bottom: var(--space-4); font-size: var(--fs-small); }
.sx-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.sx-breadcrumbs li + li::before { content: "/"; margin-inline-end: 0.4rem; color: var(--c-ink-soft); }
.sx-section--page-header.has-image .sx-breadcrumbs li + li::before { color: var(--c-on-dark-soft); }
.sx-breadcrumbs a { color: var(--c-ink-soft); }
.sx-breadcrumbs [aria-current] { color: var(--c-ink); font-weight: var(--fw-strong); }

/* Text with image */
.sx-split { display: grid; gap: var(--space-7); align-items: center; }
.sx-split__media .sx-img, .sx-split__media .sx-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-l); }
.sx-split .sx-heading { margin-bottom: var(--space-5); }
@media (min-width: 900px) {
  .sx-split { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .is-reversed .sx-split__media { order: -1; }
}

/* Cards */
.sx-card { display: flex; flex-direction: column; background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius-m); overflow: hidden; }
.sx-card__media .sx-img, .sx-card__media img, .sx-card__media .sx-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; border-inline: 0; border-top: 0; }
.sx-card__body { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-5); flex: 1 1 auto; }
.sx-card__body > * { margin: 0; }
.sx-card__icon { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: var(--radius-m); background: color-mix(in srgb, var(--c-brand) 12%, var(--c-bg)); color: var(--c-brand); }
.sx-card__icon .sx-icon { width: 1.5rem; height: 1.5rem; }
.sx-card__title { font-size: var(--fs-h3); }
.sx-card__title a { color: inherit; text-decoration: none; }
.sx-card__title a:hover { color: var(--c-brand); text-decoration: underline; }
.sx-card__meta { font-size: var(--fs-small); color: var(--c-ink-soft); }
.sx-card__more { margin-top: auto !important; padding-top: var(--space-2); }

/* Steps */
.sx-steps { display: grid; gap: var(--space-6); counter-reset: step; }
.sx-step { position: relative; padding-inline-start: 4rem; }
.sx-step__num { position: absolute; inset-inline-start: 0; inset-block-start: 0; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--c-brand); color: var(--c-on-brand); font-family: var(--font-display); font-weight: var(--fw-heading); font-size: 1.125rem; }
.sx-step__title { font-size: var(--fs-h3); margin-bottom: 0.35em; }
.sx-step p { margin: 0; color: var(--c-ink-soft); }
@media (min-width: 900px) { .sx-steps { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); } .sx-step { padding-inline-start: 0; padding-block-start: 3.75rem; } }

/* Figures */
.sx-stats { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); margin: 0; }
.sx-stat { display: flex; flex-direction: column-reverse; padding: var(--space-5); background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius-m); text-align: center; }
.sx-stat dd { margin: 0; font-family: var(--font-display); font-size: var(--fs-h1); font-weight: var(--fw-display); line-height: 1.1; color: var(--c-brand); }
.sx-stat dt { margin-top: 0.4rem; color: var(--c-ink-soft); font-size: var(--fs-small); }

/* Testimonials */
.sx-quote { position: relative; padding: var(--space-5); background: var(--c-surface); border-radius: var(--radius-m); }
.sx-quote figure { margin: 0; display: grid; gap: var(--space-4); }
.sx-quote blockquote { margin: 0; font-size: var(--fs-lead); }
.sx-quote blockquote p { margin: 0; }
.sx-quote figcaption { display: flex; align-items: center; gap: var(--space-3); font-size: var(--fs-small); }
.sx-quote__photo { width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; }
.sx-quote__role { color: var(--c-ink-soft); }
.sx-quote__sample { display: inline-block; margin: 0 0 var(--space-3); padding: 0.2rem 0.6rem; background: var(--c-bg); border: 1.5px dashed var(--c-ink-soft); border-radius: var(--radius-s); font-size: var(--fs-eyebrow); font-weight: var(--fw-strong); }

/* FAQ */
.sx-faq { display: grid; gap: var(--space-3); }
.sx-faq__item { background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius-m); }
.sx-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) var(--space-5); cursor: pointer; list-style: none; border-radius: var(--radius-m); }
.sx-faq__item summary::-webkit-details-marker { display: none; }
.sx-faq__q { margin: 0; font-family: var(--font-body); font-size: var(--fs-body); font-weight: var(--fw-strong); line-height: 1.4; }
.sx-faq__item summary .sx-icon { color: var(--c-brand); transition: transform 0.2s ease; }
.sx-faq__item[open] summary .sx-icon { transform: rotate(45deg); }
.sx-faq__a { padding: 0 var(--space-5) var(--space-5); color: var(--c-ink-soft); }
.sx-faq__a p { margin: 0; }

/* Call to action */
.sx-section--cta { padding-block: var(--space-8); background: var(--c-bg); }
.sx-cta { display: grid; gap: var(--space-5); align-items: center; padding: clamp(1.75rem, 1rem + 3.4vw, 3.5rem); background: var(--c-dark); color: var(--c-on-dark); border-radius: var(--radius-l); }
.sx-cta__title { margin: 0 0 0.35em; color: var(--c-on-dark); }
.sx-cta p { margin: 0; color: var(--c-on-dark-soft); font-size: var(--fs-lead); }
.sx-cta .sx-actions { margin-top: 0; }
@media (min-width: 900px) { .sx-cta { grid-template-columns: 1fr auto; } }

/* Contact */
.sx-contact { display: grid; gap: var(--space-7); }
.sx-contact .sx-heading { margin-bottom: var(--space-5); }
.sx-contact__details { display: grid; gap: var(--space-5); align-content: start; padding: var(--space-5); background: var(--c-surface); border-radius: var(--radius-l); }
.sx-contact-list { display: grid; gap: var(--space-3); }
.sx-contact-list li { display: flex; gap: 0.7rem; align-items: flex-start; }
.sx-contact-list .sx-icon { margin-top: 0.2em; color: var(--c-brand); }
.sx-contact-list--lg { gap: var(--space-5); }
.sx-contact-list address { margin: 0; }
.sx-hours { display: flex; justify-content: space-between; gap: var(--space-4); }
@media (min-width: 900px) { .sx-contact { grid-template-columns: 1.15fr 0.85fr; gap: var(--space-8); } }

/* Gallery, team, logos */
.sx-gallery figure { margin: 0; }
.sx-gallery .sx-img, .sx-gallery .sx-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-m); }
.sx-gallery figcaption { margin-top: 0.5rem; font-size: var(--fs-small); color: var(--c-ink-soft); }
.sx-person .sx-img, .sx-person .sx-ph { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-m); margin-bottom: var(--space-4); }
.sx-person__name { font-size: var(--fs-h4); margin: 0; }
.sx-person__role { margin: 0.15rem 0 0.6rem; color: var(--c-brand); font-weight: var(--fw-strong); font-size: var(--fs-small); }
.sx-person p:last-child { color: var(--c-ink-soft); font-size: var(--fs-small); margin: 0; }
.sx-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--space-6) var(--space-7); }
.sx-logos li { flex: 0 1 9rem; }
.sx-logos .sx-img { max-height: 3.5rem; width: auto; margin-inline: auto; object-fit: contain; }

/* Pricing */
.sx-plan { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-6); background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius-l); }
.sx-plan.is-featured { border: 2px solid var(--c-brand); box-shadow: var(--shadow-2); }
.sx-plan__name { margin: 0; font-size: var(--fs-h3); }
.sx-plan__price { margin: 0; }
.sx-plan__price span { font-family: var(--font-display); font-size: var(--fs-h1); font-weight: var(--fw-display); line-height: 1; }
.sx-plan__price small { color: var(--c-ink-soft); }
.sx-plan .sx-points { margin-top: 0; flex: 1 1 auto; }
.sx-plan p:last-child { margin: 0; }
.sx-pricing__note { margin: var(--space-5) auto 0; max-width: 44rem; text-align: center; font-size: var(--fs-small); color: var(--c-ink-soft); }

/* Legal, site map, blog */
.sx-section--legal { padding-block-start: var(--space-6); }
.sx-legal__date { color: var(--c-ink-soft); font-size: var(--fs-small); }
.sx-sitemap, .sx-sitemap ul, .sx-searchlist { list-style: disc; padding-inline-start: 1.4em; }
.sx-sitemap li, .sx-searchlist li { margin-bottom: 0.4em; }
.sx-postlist { margin-bottom: var(--space-6); }
.nav-links { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.nav-links .page-numbers { display: inline-grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; padding: 0 0.6rem; border: 1px solid var(--c-line); border-radius: var(--radius-s); text-decoration: none; }
.nav-links .current { background: var(--c-ink); color: var(--c-bg); }

/* ---------- Footer ---------- */
.sx-footer { background: var(--c-dark); color: var(--c-on-dark-soft); }
.sx-footer a { color: var(--c-on-dark); }
.sx-footer a:hover { color: var(--c-bg); }
.sx-footer__grid { display: grid; gap: var(--space-7); padding-block: var(--space-8); }
.sx-footer .sx-logo { color: var(--c-on-dark); margin-bottom: var(--space-4); }
.sx-footer__about { max-width: 26rem; }
.sx-footer__title { margin: 0 0 var(--space-4); font-family: var(--font-body); font-size: var(--fs-eyebrow); font-weight: var(--fw-strong); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--c-on-dark); }
.sx-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.sx-footer__link { display: inline-flex; align-items: center; min-height: 2.25rem; text-decoration: none; }
.sx-footer__link:hover { text-decoration: underline; }
.sx-footer .sx-contact-list .sx-icon { color: var(--c-on-dark); }
.sx-footer .sx-contact-list a { text-decoration: none; }
.sx-footer .sx-contact-list a:hover { text-decoration: underline; }
.sx-social { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-5); }
.sx-social__link { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1.5px solid rgb(255 255 255 / 0.35); border-radius: 50%; }
.sx-social__link:hover { background: var(--c-on-dark); color: var(--c-dark) !important; }
.sx-social__link .sx-icon { width: 1.15rem; height: 1.15rem; }
.sx-footer__bar { border-top: 1px solid rgb(255 255 255 / 0.16); }
.sx-footer__bar-inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-6); padding-block: var(--space-4); font-size: var(--fs-small); }
.sx-footer__copy { margin: 0; }
.sx-footer__legal { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); list-style: none; margin: 0; padding: 0; }
.sx-footer .sx-linkbtn { color: var(--c-on-dark); text-decoration: none; min-height: 2.25rem; }
.sx-footer .sx-linkbtn:hover { text-decoration: underline; }
@media (min-width: 700px) { .sx-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .sx-footer__grid { grid-template-columns: 1.4fr repeat(auto-fit, minmax(9rem, 1fr)); grid-auto-flow: column; } .sx-footer__bar-inner .sx-lang-switch { margin-inline-start: auto; } }

/* ---------- WooCommerce: inherit the site's type and buttons ---------- */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { min-height: 2.875rem; padding: 0.7rem 1.35rem; background: var(--c-brand); color: var(--c-on-brand); border-radius: var(--radius-pill); font-weight: var(--fw-strong); }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: var(--c-brand-strong); color: var(--c-on-brand); }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price { color: var(--c-ink); font-weight: var(--fw-strong); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { min-height: 2.875rem; padding: 0.65rem 0.85rem; border: 1.5px solid var(--c-ink-soft); border-radius: var(--radius-s); }

/* =========================================================================
 * ProLevelUp — the approved design.
 * Everything below implements the design system and the page designs. Values
 * come from tokens; nothing here is a raw colour or a raw type size.
 * ========================================================================= */

/* ---------- Image placeholders ----------
 * The client supplied no photography and the site has 150 image slots, so the
 * placeholder is a designed component, not a wireframe box. Two treatments: a
 * tinted panel for a photograph, and the same panel wrapped round a screen
 * inset for a product screen, so a page of screenshots reads differently from
 * a page of photographs. The label is the alt text, which doubles as the
 * art-direction brief for whoever sources the picture.
 */
:root {
  --sx-ph-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-4.35-4.35a2 2 0 0 0-2.83 0L3 21'/%3E%3C/svg%3E");
}
.sx-ph {
  background: var(--c-surface-alt);
  border: 1px solid var(--c-on-dark-soft);
  border-radius: var(--radius-m);
  padding: var(--space-5);
  min-height: 0;
}
.sx-ph__text {
  position: relative;
  display: grid;
  justify-items: center;
  gap: var(--space-3);
  max-width: 30rem;
  padding: 0;
  background: none;
  border-radius: 0;
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-strong);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--c-ink-soft);
}
.sx-ph__text::before {
  content: "";
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-pill);
  background: var(--c-bg);
}
.sx-ph__text::after {
  content: "";
  position: absolute;
  inset-block-start: 0.6875rem;
  inset-inline-start: 50%;
  translate: -50% 0;
  width: 1.375rem;
  height: 1.375rem;
  background: var(--c-brand);
  -webkit-mask: var(--sx-ph-mark) center / contain no-repeat;
  mask: var(--sx-ph-mark) center / contain no-repeat;
}
.sx-ph__text small {
  font-size: var(--fs-small);
  font-weight: var(--fw-body);
  letter-spacing: normal;
  text-transform: none;
  line-height: 1.5;
  color: var(--c-ink-soft);
}
.sx-ph--video .sx-ph__text::after { -webkit-mask-image: none; mask-image: none; background: none; }

/* The screen inset. */
.is-screen .sx-ph { padding: var(--space-4); place-items: stretch; }
.is-screen .sx-ph__text {
  width: 100%;
  max-width: none;
  align-content: center;
  padding: calc(var(--space-7) + var(--space-2)) var(--space-5) var(--space-5);
  background: var(--c-bg);
  border-radius: var(--radius-s);
}
.is-screen .sx-ph__text::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  width: auto;
  height: 1.75rem;
  border-radius: var(--radius-s) var(--radius-s) 0 0;
  border-block-end: 1px solid var(--c-line);
  background: var(--c-surface);
}
.is-screen .sx-ph__text::after {
  inset-block-start: 0.625rem;
  inset-inline-start: var(--space-3);
  translate: none;
  width: 2.6rem;
  height: 0.5rem;
  -webkit-mask: none;
  mask: none;
  background:
    radial-gradient(circle 0.25rem at 0.25rem 50%, var(--c-line) 98%, transparent 100%),
    radial-gradient(circle 0.25rem at 1.3rem 50%, var(--c-line) 98%, transparent 100%),
    radial-gradient(circle 0.25rem at 2.35rem 50%, var(--c-line) 98%, transparent 100%);
}

/* ---------- Page banner ---------- */
.sx-section--page-header.wants-image { padding-block-end: var(--space-7); }
.sx-pagehead__media { margin-block-start: var(--space-6); }
.sx-pagehead__media .sx-ph { border-radius: var(--radius-l); }
/* A 21:9 band is unreadable at 390px, so the banner crops to 3:2 on a phone.
 * The ratio is an inline style on the placeholder, so overriding it needs this. */
@media (max-width: 599px) {
  .sx-pagehead__media .sx-ph { aspect-ratio: 3 / 2 !important; }
}

/* ---------- Hero ---------- */
.sx-hero__media .sx-img, .sx-hero__media .sx-ph { aspect-ratio: 16 / 9; }
.sx-hero__media + .sx-section--disclosure { padding-block-start: 0; }

/* ---------- Recovered-revenue calculator ---------- */
.sx-section--calculator .sx-heading__intro { max-width: var(--container-narrow); }
.sx-calc {
  display: grid;
  gap: var(--space-6);
  padding: var(--space-6);
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-l);
}
.sx-calc__fields { display: grid; gap: var(--space-5); }
.sx-calc__fields .sx-field > label { font-size: var(--fs-body); }
.sx-calc__fields input { width: 100%; }
.sx-field__help { font-size: var(--fs-small); color: var(--c-ink-soft); }
.sx-calc__actions { margin: 0; }
.sx-calc__out {
  display: grid;
  gap: var(--space-4);
  align-content: start;
  padding: var(--space-5);
  background: var(--c-surface);
  border-radius: var(--radius-m);
}
.sx-calc__empty { margin: 0; color: var(--c-ink-soft); }
.sx-calc__figure { display: grid; gap: 0.15rem; margin: 0; }
.sx-calc__figure-value {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: var(--fw-display);
  line-height: 1.05;
  color: var(--c-brand);
}
.sx-calc__figure-label { font-size: var(--fs-small); color: var(--c-ink-soft); }
.sx-calc__caption, .sx-calc__noscript { margin: 0; font-size: var(--fs-small); color: var(--c-ink-soft); }
.sx-calc__cta { margin: 0; }
.sx-calc__cta .sx-btn { width: 100%; }
@media (min-width: 700px) { .sx-calc__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .sx-calc { grid-template-columns: minmax(0, 1fr) 21rem; gap: var(--space-8); }
  .sx-calc__fields { align-content: start; }
}

/* ---------- Disclosures ---------- */
.sx-section--disclosure { padding-block: var(--space-6); }
.sx-section--disclosure + .sx-section--disclosure { padding-block-start: 0; }
.sx-disclosure__body { max-width: none; font-size: var(--fs-small); color: var(--c-ink-soft); }
.sx-disclosure__body > :last-child { margin-bottom: 0; }
.sx-disclosure--plain { padding-block-start: var(--space-4); border-block-start: 1px solid var(--c-line); }
.sx-disclosure--note {
  padding: var(--space-5);
  background: var(--c-note);
  border-inline-start: 4px solid var(--c-note-line);
  border-radius: var(--radius-m);
}
.sx-disclosure--note .sx-disclosure__body { font-size: var(--fs-body); color: var(--c-ink); }
.sx-disclosure__title { margin: 0 0 var(--space-3); font-size: var(--fs-h3); }

/* ---------- Legal documents ---------- */
.sx-legal { display: grid; gap: var(--space-7); }
.sx-legal__doc { min-width: 0; max-width: calc(var(--container-narrow) + 2rem); }
.sx-legal__toc {
  align-self: start;
  padding: var(--space-5);
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-m);
}
.sx-legal__toc-title { margin: 0 0 var(--space-4); font-size: var(--fs-h4); }
.sx-legal__toc ol { display: grid; gap: 0.15rem; margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.sx-legal__toc a {
  display: block;
  padding: 0.45rem var(--space-3);
  border-inline-start: 3px solid transparent;
  font-size: var(--fs-small);
  line-height: 1.4;
  color: var(--c-ink-soft);
  text-decoration: none;
}
.sx-legal__toc a:hover { border-inline-start-color: var(--c-brand); background: var(--c-surface); color: var(--c-brand); }
.sx-prose--legal h2 { font-size: var(--fs-h2); margin-top: 1.8em; scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.sx-prose--legal h2:first-child { margin-top: 0; }
.sx-prose--legal h3 { font-size: var(--fs-h3); }
@media (min-width: 1000px) {
  .sx-section--legal.has-toc .sx-legal { grid-template-columns: 17.5rem minmax(0, 1fr); gap: var(--space-8); }
  .sx-legal__toc { position: sticky; inset-block-start: calc(var(--header-h) + var(--space-5)); max-height: calc(100vh - var(--header-h) - var(--space-8)); overflow-y: auto; }
}

/* ---------- Tables inside backend-written text ---------- */
.sx-prose table { margin-bottom: 1.5em; font-size: var(--fs-small); }
.sx-prose caption { caption-side: top; padding-bottom: 0.6em; font-weight: var(--fw-strong); text-align: start; color: var(--c-ink-soft); }
.sx-prose thead th { background: var(--c-surface-alt); font-weight: var(--fw-strong); }
.sx-prose tbody th { font-weight: var(--fw-strong); }
.sx-prose > table { display: block; overflow-x: auto; }

/* ---------- Section rhythm ----------
 * Tinted bands separate the page into chapters. A run of adjacent card grids
 * alternates so two never share a ground.
 */
.sx-section--cards, .sx-section--pricing, .sx-section--logos { background: var(--c-bg); }
.sx-section--steps, .sx-section--faq, .sx-section--stats, .sx-section--gallery, .sx-section--team { background: var(--c-surface); }
.sx-section--cards + .sx-section--cards,
.sx-section--cards + .sx-section--disclosure + .sx-section--cards { background: var(--c-surface); }
.sx-section--cards + .sx-section--cards + .sx-section--cards,
.sx-section--cards + .sx-section--cards + .sx-section--cards + .sx-section--cards + .sx-section--cards { background: var(--c-bg); }
.sx-section--text-media + .sx-section--text-media { background: var(--c-surface); }
.sx-section--hero + .sx-section--disclosure { padding-block-start: var(--space-5); }
.sx-section--disclosure + .sx-section--cta { padding-block-start: var(--space-5); }

/* ---------- Header and navigation ---------- */
.sx-nav__link { font-size: 1.0625rem; }
.sx-header { box-shadow: none; }
.sx-header__cta { font-size: 1.0625rem; }

/* ---------- Cards ---------- */
.sx-card { box-shadow: var(--shadow-1); }
.sx-section--cards .sx-card, .sx-section--gallery .sx-card { box-shadow: none; }
.sx-card__media .sx-ph { border-radius: 0; border-inline: 0; border-block-start: 0; }
.sx-card__icon { border-radius: var(--radius-pill); width: 2.5rem; height: 2.5rem; background: var(--c-surface); }
.sx-section--cards .sx-card { background: var(--c-bg); }

/* ---------- Footer ---------- */
.sx-footer__about { font-size: var(--fs-small); }
.sx-footer__brandline { margin: 0 0 var(--space-3); font-size: var(--fs-small); color: var(--c-on-dark-soft); }

/* The footer carries five link columns plus the brand block; the brand text
 * needs room to read, so the columns are explicit rather than auto-flowed. */
@media (min-width: 1100px) {
  .sx-footer__grid { grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)) 1.05fr; grid-auto-flow: row; gap: var(--space-6); }
}
@media (min-width: 1280px) { .sx-footer__grid { gap: var(--space-7); } }
.sx-footer__brand .sx-logo__img { max-height: 2rem; }

/* The demo button is the one action every merchant page exists to get, so it
 * stays in the header from tablet width up rather than only on desktop. */
@media (min-width: 640px) { .sx-header__cta { display: inline-flex; } }

/* A calculator field whose label wraps must not stretch its input: the fields
 * sit in a grid, and a stretched box reads as a textarea. */
.sx-calc__fields .sx-field { display: flex; flex-direction: column; gap: 0.35rem; }

/* On a phone the hero and call-to-action buttons run full width, as designed. */
@media (max-width: 599px) {
  .sx-section--hero .sx-actions .sx-btn,
  .sx-cta .sx-actions .sx-btn,
  .sx-section--page-header .sx-actions .sx-btn { width: 100%; }
}

/* A wide table scrolls inside a focusable region, so a keyboard can reach it. */
.sx-scroller { overflow-x: auto; margin-bottom: 1.5em; border-radius: var(--radius-s); }
.sx-scroller:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.sx-scroller table { margin-bottom: 0; }
.sx-prose > table { display: table; overflow: visible; }

/* A contact section with no details column and no map is just a form: it takes
 * the whole row rather than leaving 40% of it empty. */
.sx-contact--solo { grid-template-columns: minmax(0, 1fr) !important; }
.sx-contact--solo .sx-contact__form { max-width: none; }
.sx-contact--solo .sx-form__row--2 { gap: var(--space-5); }
/* The form spans the content container exactly like every other section, so
 * its edges line up with the heading, the steps and the footer above it. */

/* The result panel sits with the fields, not stretched down the whole row. */
.sx-calc__out { align-self: start; }

/* Two fields side by side are grid items of equal height. Without this the
 * shorter one's label, control and hint are spread down the row and its input
 * stretches, so a one-line label sits beside a two-line one and the boxes no
 * longer align. Pack each field to the top instead. */
.sx-form .sx-field, .sx-calc__fields .sx-field { align-content: start; }
.sx-form .sx-field > input, .sx-form .sx-field > select, .sx-form .sx-field > textarea { align-self: start; width: 100%; }
.sx-form .sx-field > textarea { align-self: stretch; }
/* A select renders two pixels shorter than an input at this type size, which
 * shows when the two sit side by side. Hold both to one height. */
.sx-form .sx-field > input, .sx-form .sx-field > select, .sx-calc__fields input { min-height: 3.25rem; }

/* Side by side, a one-line label next to a two-line one pushes its control
 * down and the two boxes no longer line up. Hold the label block to two lines
 * wherever fields sit in pairs; below that breakpoint they stack and it does
 * not apply. */
@media (min-width: 640px) {
  .sx-form__row--2 .sx-field > label { min-height: 2.7em; }
}
/* The calculator's labels are full questions and run to three lines in its
 * narrower columns, so they need more room than a form label. */
@media (min-width: 700px) {
  .sx-calc__fields .sx-field > label { min-height: 3.5em; }
}

/* The readout's hint is a separate thought from the figures above it. */
.sx-calc__result { display: grid; gap: var(--space-4); }
.sx-calc__empty { padding-block-start: var(--space-3); border-block-start: 1px solid var(--c-line); }
.sx-calc__figure-value { font-variant-numeric: tabular-nums; }
.sx-calc__result[data-sx-calc-filled] .sx-calc__figure-value { color: var(--c-brand); }

/* ---------- Header navigation ----------
 * A menu item that wraps to two lines makes the whole row look ragged beside
 * its one-line neighbours, and the chevron ends up next to the second line.
 * Keep every item on one line and let the row tighten instead.
 */
.sx-nav--desktop .sx-nav__link { white-space: nowrap; font-size: 1rem; padding-inline: 0.55rem; }
.sx-nav--desktop .sx-nav__list { gap: var(--space-1); }
.sx-header__actions { gap: var(--space-3); }
/* Six top-level items, a language switcher and the demo button need 1280px to
 * sit on one line at full logo size. Below that the off-canvas menu serves,
 * which is the better reading of six dropdowns anyway. The same breakpoint is
 * set in site.js, line 64 — change both together. Everything that stops a
 * header part from shrinking is kept inside this query: at 320px the logo has
 * to give way, or the row is wider than the screen. */
@media (min-width: 1280px) {
	.sx-nav--desktop .sx-nav__list { gap: var(--space-2); }
	.sx-header__actions { gap: var(--space-4); }
	.sx-header__inner { flex-wrap: nowrap; }
	.sx-header .sx-logo { flex: 0 0 auto; }
	.sx-header .sx-logo__img { max-height: 2.125rem; }
}

/* Equal-rate note in the calculator. */
.sx-calc__same { margin: 0; font-size: var(--fs-body); line-height: 1.6; color: var(--c-ink); }
