/* ==========================================================================
   Stacklar site — shared monochrome (black & white) styles.

   Loaded on every front-end page. Holds the design tokens, buttons and
   section headings, plus the closing area every page shares: pricing, refund,
   contact and footer (extracted from wd-form-landing/index.html).

   Sizes are in px because Bricks sets `html { font-size: 62.5% }` on
   regular pages, which would shrink rem values.
   Generic class names sit behind :where(.wd-site) so they never leak into
   Bricks content and keep a low specificity.
   ========================================================================== */

.wd-site,
.wd-form-global-footer-shell {
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --content: 1180px;
}

/* Section tones ---------------------------------------------------------- */

.tone-dark {
  --bg: #0a0a0a;
  --fg: #ffffff;
  --fg-2: rgba(255, 255, 255, 0.72);
  --fg-3: rgba(255, 255, 255, 0.52);
  --rule: rgba(255, 255, 255, 0.12);
  --rule-strong: rgba(255, 255, 255, 0.28);
  --surface: #121212;
  --hover: rgba(255, 255, 255, 0.07);
  --solid-bg: #ffffff;
  --solid-fg: #0a0a0a;
  --solid-hover: #e4e4e4;
  background: var(--bg);
  color: var(--fg);
}

.tone-light,
.tone-muted {
  --bg: #ffffff;
  --fg: #0a0a0a;
  --fg-2: #3f3f3f;
  --fg-3: #6b6b6b;
  --rule: #e4e4e4;
  --rule-strong: #0a0a0a;
  --surface: #fafafa;
  --hover: rgba(0, 0, 0, 0.05);
  --solid-bg: #0a0a0a;
  --solid-fg: #ffffff;
  --solid-hover: #2a2a2a;
  background: var(--bg);
  color: var(--fg);
}

.tone-muted {
  --bg: #f3f3f3;
  --surface: #ffffff;
}

/* Header --------------------------------------------------------------------- */

/* Keep the header's corner glow inside the header bar so it does not tint
   the white sections that scroll underneath it. */
.wd-form-global-header-shell::after {
  clip-path: inset(
    -60px -120px calc(146px - var(--wd-form-global-header-offset, 86px)) -120px
  );
}

/* Site-wide footer shell (pages other than the landing page) ------------- */

body.wd-form-global-footer-enabled {
  overflow-x: clip;
  background: #0a0a0a;
}

.wd-form-global-footer-shell {
  position: relative;
  z-index: 1;
  color: #ffffff;
  background: #0a0a0a;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Base inside .wd-site ------------------------------------------------------ */

:where(.wd-site) *,
:where(.wd-site) *::before,
:where(.wd-site) *::after {
  box-sizing: border-box;
}

:where(.wd-site) a {
  color: inherit;
  text-decoration: none;
}

:where(.wd-site) img {
  max-width: 100%;
  display: block;
}

:where(.wd-site) :is(h1, h2, h3, h4, p) {
  margin: 0;
  letter-spacing: normal;
}

:where(.wd-site) :is(h1, h2, h3, h4) {
  font-weight: 600;
  text-wrap: balance;
}

:where(.wd-site) .container {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
}

:where(.wd-site) .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Sections & headings ------------------------------------------------------ */

:where(.wd-site) .section {
  position: relative;
  padding: clamp(88px, 10vw, 136px) 0;
}

:where(.wd-site) .section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: end;
  gap: 24px 64px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

:where(.wd-site) .section-head--center {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

:where(.wd-site) .section-head h2 {
  margin-top: 0;
  color: var(--fg);
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

:where(.wd-site) .section-head p {
  max-width: 520px;
  color: var(--fg-2);
  font-size: 17px;
  line-height: 1.65;
}

:where(.wd-site) :is(.section-head p, .integrations-more, .contact-points) a {
  color: var(--fg);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-underline-offset 0.2s ease;
}

:where(.wd-site) :is(.section-head p, .integrations-more, .contact-points) a:hover {
  text-underline-offset: 6px;
}

:where(.wd-site) :is(.section-head p, .integrations-more, .contact-points) a::after {
  content: " →";
}

/* Buttons ----------------------------------------------------------------- */

:where(.wd-site) .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: normal;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s var(--ease-out);
}

:where(.wd-site) .btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s var(--ease-out);
}

:where(.wd-site) .btn:hover {
  transform: translateY(-1px);
}

:where(.wd-site) .btn:hover svg:last-child {
  transform: translateX(2px);
}

:where(.wd-site) .btn:active {
  transform: translateY(0);
}

:where(.wd-site) .btn--lg {
  min-height: 54px;
  padding: 0 26px;
  font-size: 16px;
}

:where(.wd-site) .btn--solid {
  background: var(--solid-bg);
  color: var(--solid-fg);
}

:where(.wd-site) .btn--solid:hover {
  background: var(--solid-hover);
}

:where(.wd-site) .btn--outline {
  border-color: var(--rule-strong);
  color: var(--fg);
  background: transparent;
}

:where(.wd-site) .btn--outline:hover {
  background: var(--hover);
  border-color: var(--fg);
}

:where(.wd-site) .btn--outline svg path {
  fill: currentColor;
  stroke: none;
}

:where(.wd-site) .btn--outline:hover svg:last-child {
  transform: none;
}

/* Scroll reveal: only applied by the landing script to items below the fold. */

[data-reveal] {
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}

[data-reveal].is-pending {
  opacity: 0;
  transform: translateY(32px);
}

/* ==========================================================================
   Live Stacklar forms on dark surfaces (landing demos + contact form)
   ========================================================================== */

.demo-live-form,
.demo-live-form :is(.wd-form-wrapper, .stacklar-wrapper) {
  min-width: 0;
}

.demo-live-form :is(.wd-form-wrapper, .stacklar-wrapper) {
  display: grid;
  gap: 12px;
  margin: 0;
  color: #ffffff;
  font: inherit;
}

.demo-live-form :is(.wd-form-wrapper, .stacklar-wrapper) > style {
  display: none;
}

.demo-live-form :is(.wd-field, .stacklar-field),
.demo-live-form :is(.wd-repeater, .stacklar-repeater),
.demo-live-form :is(.wd-form-step, .stacklar-step),
.demo-live-form :is(.wd-submit-root, .stacklar-submit-root) {
  min-width: 0;
  max-width: 100%;
  margin: 0;
}

.demo-live-form :is(.wd-field, .stacklar-field) {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.11);
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.demo-live-form :is(.wd-field, .stacklar-field):focus-within {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.05);
}

.demo-live-form :is(.wd-field, .stacklar-field)[data-conditional] {
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.demo-live-form :is(.wd-field, .stacklar-field):is([data-wd-field-label="Company name"], [data-stacklar-field-label="Company name"]) {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.35);
}

.demo-live-form :is(.wd-field, .stacklar-field) label,
.demo-live-form :is(.wd-repeater-title, .stacklar-repeater-title),
.demo-live-form :is(.wd-form-step__desc, .stacklar-step__desc),
.demo-live-form :is(.wd-help, .stacklar-help) {
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
}

.demo-live-form :is(.wd-field, .stacklar-field) label {
  margin: 0;
  font-weight: 600 !important;
}

.demo-live-form :is(.wd-form__input-wrap, .stacklar__input-wrap) input,
.demo-live-form :is(.wd-form__input-wrap, .stacklar__input-wrap) select,
.demo-live-form :is(.wd-form__input-wrap, .stacklar__input-wrap) textarea,
.demo-live-form :is(.wd-input-wrap, .stacklar-input-wrap) input,
.demo-live-form :is(.wd-input-wrap, .stacklar-input-wrap) select,
.demo-live-form :is(.wd-input-wrap, .stacklar-input-wrap) textarea {
  width: 100%;
  min-height: 36px;
  padding: 6px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #ffffff !important;
  font: inherit;
  font-size: 15px;
  font-weight: 500 !important;
  line-height: 1.35;
  box-shadow: none !important;
}

.demo-live-form :is(.wd-form__input-wrap, .stacklar__input-wrap) :is(input, select, textarea):focus,
.demo-live-form :is(.wd-input-wrap, .stacklar-input-wrap) :is(input, select, textarea):focus {
  outline: none;
  background: transparent !important;
}

.demo-live-form input::placeholder,
.demo-live-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.36);
}

.demo-live-form :is(.wd-form__input-prefix, .stacklar__input-prefix),
.demo-live-form :is(.wd-form__input-suffix, .stacklar__input-suffix),
.demo-live-form :is(.wd-input-prefix, .stacklar-input-prefix),
.demo-live-form :is(.wd-input-suffix, .stacklar-input-suffix) {
  height: 30px;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
}

.demo-live-form select option {
  background: #141414;
  color: #ffffff;
}

.demo-live-form :is(.wd-form-test-mode-notice, .stacklar-test-mode-notice) {
  display: none;
}

/* Plain text only: the !important beats each form's own message box styles. */
.demo-live-form :is(.wd-form-message, .stacklar-message) {
  margin: 12px 0 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  color: #ffffff;
  font-size: 14px;
}

.demo-live-form :is(.wd-form-message, .stacklar-message):empty,
.demo-live-form :is(.wd-form-message--empty, .stacklar-message--empty) {
  display: none;
}

.demo-live-form :is(.wd-submit-wrap, .stacklar-submit-wrap) {
  margin-top: 4px !important;
}

.demo-live-form :is(.wd-submit, .stacklar-submit) {
  width: 100%;
  min-height: 50px;
  border: 0 !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #0a0a0a !important;
  font: inherit !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: background 0.2s ease !important;
}

.demo-live-form :is(.wd-submit, .stacklar-submit):hover {
  background: #e4e4e4 !important;
}

.demo-condition-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
}

.demo-condition-line span {
  color: rgba(255, 255, 255, 0.6);
}

.demo-condition-line strong {
  padding: 2px 10px;
  border-radius: 999px;
  background: #ffffff;
  color: #0a0a0a;
  font-size: 12px;
}

.demo-live-form--repeater :is(.wd-repeater, .stacklar-repeater) {
  display: grid;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
}

.demo-live-form--repeater :is(.wd-repeater-header, .stacklar-repeater-header) {
  display: none;
}

.demo-live-form--repeater :is(.wd-repeater-list, .stacklar-repeater-list) {
  display: grid;
  gap: 10px;
}

.demo-live-form--repeater :is(.wd-repeater-row, .stacklar-repeater-row) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px 80px auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 12px 14px 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.demo-live-form--repeater .wd-demo-repeater-field {
  display: flex;
  align-items: center;
  min-width: 0;
}

.demo-live-form--repeater .wd-demo-repeater-field input {
  width: 100%;
  min-height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-weight: 500;
  line-height: 1.3;
  text-align: right;
}

.demo-live-form--repeater .wd-demo-repeater-field:first-child input {
  color: #ffffff;
  text-align: left;
}

.demo-live-form--repeater :is(.wd-repeater-row-actions, .stacklar-repeater-row-actions) {
  display: flex;
  align-items: center;
  margin: 0;
}

.demo-live-form--repeater :is(.wd-repeater-row-actions, .stacklar-repeater-row-actions) :is(.wd-btn--remove, .stacklar-btn--remove) {
  min-width: 80px;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.demo-live-form--repeater :is(.wd-repeater-row-actions, .stacklar-repeater-row-actions) :is(.wd-btn--remove, .stacklar-btn--remove):hover:not(:disabled) {
  border-color: #ffffff;
  color: #ffffff;
}

.demo-live-form--repeater :is(.wd-repeater-footer, .stacklar-repeater-footer) {
  margin-top: 0;
}

.demo-live-form--repeater :is(.wd-repeater-footer, .stacklar-repeater-footer) :is(.wd-btn, .stacklar-btn) {
  width: 100%;
  min-height: 48px;
  border: 1px dashed rgba(255, 255, 255, 0.32);
  border-radius: 12px;
  background: transparent;
  color: #ffffff;
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.demo-live-form--repeater :is(.wd-repeater-footer, .stacklar-repeater-footer) :is(.wd-btn, .stacklar-btn):hover:not(:disabled) {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.demo-live-form--conditional :is(.wd-form-html, .stacklar-html) {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.demo-live-form--calculated :is(.wd-form-wrapper, .stacklar-wrapper) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.demo-live-form--calculated :is(.wd-field--calculated, .stacklar-field--calculated),
.demo-live-form--calculated :is(.wd-submit-root, .stacklar-submit-root) {
  grid-column: 1 / -1;
}

.demo-live-form--calculated :is(.wd-field--calculated, .stacklar-field--calculated) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px;
  border-color: #ffffff;
  background: #ffffff;
}

.demo-live-form--calculated :is(.wd-field--calculated, .stacklar-field--calculated) label {
  flex: 1 1 auto;
  color: #555555 !important;
}

.demo-live-form--calculated :is(.wd-field--calculated, .stacklar-field--calculated) :is(.wd-input-wrap, .stacklar-input-wrap) {
  flex: 0 0 auto;
  width: auto;
}

.demo-live-form--calculated :is(.wd-field--calculated, .stacklar-field--calculated) input {
  width: 9ch;
  min-height: 38px;
  padding: 0 !important;
  color: #0a0a0a !important;
  font-size: 26px;
  font-weight: 600 !important;
  line-height: 1;
  letter-spacing: -0.03em;
  text-align: right;
}

.demo-live-form--multistep :is(.wd-form-progress, .stacklar-progress) {
  margin: 0 0 2px;
  --wd-form-progress-bg: rgba(255, 255, 255, 0.12) !important;
  --stacklar-progress-bg: rgba(255, 255, 255, 0.12) !important;
  --wd-form-progress-color: #ffffff !important;
  --stacklar-progress-color: #ffffff !important;
  --wd-form-progress-height: 4px !important;
  --stacklar-progress-height: 4px !important;
}

.demo-live-form--multistep :is(.wd-form-progress__percent, .stacklar-progress__percent) {
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
}

/* The plugin sets an inline `display: block !important` on the active step,
   so spacing comes from margins instead of a grid gap. */
.demo-live-form--multistep :is(.wd-form-step, .stacklar-step) {
  padding: 18px !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.025) !important;
  border: 1px solid rgba(255, 255, 255, 0.11) !important;
}

.demo-live-form--multistep :is(.wd-form-step__title, .stacklar-step__title) {
  margin: 0;
  color: #ffffff !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
}

.demo-live-form--multistep :is(.wd-form-step__desc, .stacklar-step__desc) {
  margin-top: 4px;
}

.demo-live-form--multistep :is(.wd-form-step__fields, .stacklar-step__fields) {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.demo-live-form--multistep :is(.wd-form-step__actions, .stacklar-step__actions) {
  align-items: center;
  justify-content: space-between !important;
  margin-top: 10px !important;
}

.demo-live-form--multistep :is(.wd-form-step__actions, .stacklar-step__actions) :is(.wd-btn, .stacklar-btn) {
  min-height: 40px;
  padding-inline: 18px !important;
  border-radius: 999px !important;
  font: inherit !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  cursor: pointer;
}

.demo-live-form--multistep :is(.wd-form-step__next, .stacklar-step__next) {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #0a0a0a !important;
}

.demo-live-form--multistep :is(.wd-form-step__prev, .stacklar-step__prev) {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: rgba(255, 255, 255, 0.75) !important;
}

/* ==========================================================================
   Pricing (markup from the [wd_form_landing_pricing] shortcode)
   ========================================================================== */

:where(.wd-site) .pricing .section-head {
  margin-bottom: clamp(40px, 5vw, 60px);
}

.footer-pricing-title {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  align-items: stretch;
  gap: 20px;
}

.footer-pricing-card {
  --fg: #0a0a0a;
  --fg-2: #3f3f3f;
  --fg-3: #6b6b6b;
  --rule: #e6e6e6;
  --btn-bg: #0a0a0a;
  --btn-fg: #ffffff;
  --btn-hover: #2a2a2a;
  position: relative;
  display: grid;
  grid-template-rows: auto auto minmax(96px, 1fr) auto auto;
  min-width: 0;
  padding: clamp(28px, 3vw, 36px);
  border: 1px solid #e2e2e2;
  border-radius: 20px;
  background: #ffffff;
  color: var(--fg);
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s ease;
}

.footer-pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.25);
}

.footer-pricing-card.is-featured {
  --fg: #ffffff;
  --fg-2: rgba(255, 255, 255, 0.75);
  --fg-3: rgba(255, 255, 255, 0.55);
  --rule: rgba(255, 255, 255, 0.16);
  --btn-bg: #ffffff;
  --btn-fg: #0a0a0a;
  --btn-hover: #e4e4e4;
  border-color: #0a0a0a;
  background: #0a0a0a;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.55);
}

.footer-pricing-card.is-featured::before {
  content: "Recommended";
  position: absolute;
  top: clamp(28px, 3vw, 36px);
  right: clamp(28px, 3vw, 36px);
  padding: 4px 10px;
  border-radius: 999px;
  background: #ffffff;
  color: #0a0a0a;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer-pricing-card-head h3 {
  margin: 0;
  padding-right: 120px;
  color: var(--fg);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.footer-pricing-card:not(.is-featured) .footer-pricing-card-head h3 {
  padding-right: 0;
}

.footer-pricing-included {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  margin-top: 10px;
  color: var(--fg-2);
  font-size: 14px;
  text-decoration: none;
}

.footer-pricing-included::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  border: 1px solid var(--fg);
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.6 8.3l2.2 2.2 4.6-4.9' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}

.footer-pricing-card.is-featured .footer-pricing-included::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.6 8.3l2.2 2.2 4.6-4.9' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.footer-pricing-included strong {
  color: var(--fg);
  font-weight: 600;
}

.footer-pricing-included:hover span {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-pricing-meta {
  display: grid;
  align-content: start;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}

.footer-pricing-usage {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.footer-pricing-usage > span {
  color: var(--fg-3);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-pricing-usage > strong {
  color: var(--fg);
  font-size: 15px;
  font-weight: 600;
  text-align: right;
}

.footer-pricing-details {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-pricing-details li {
  position: relative;
  margin: 0;
  padding-left: 20px;
  color: var(--fg-2);
  font-size: 14px;
  line-height: 1.5;
}

.footer-pricing-details li::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 2px;
  width: 8px;
  height: 1px;
  background: var(--fg);
}

.footer-pricing-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin-top: 24px;
}

.footer-pricing-price strong {
  color: var(--fg);
  font-size: clamp(37px, 3.4vw, 46px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
}

.footer-pricing-price small {
  color: var(--fg-3);
  font-size: 13.5px;
}

.footer-pricing-action {
  margin-top: 26px;
}

.footer-pricing-action .edd_download_purchase_form,
.footer-pricing-action .edd_purchase_submit_wrapper {
  margin: 0;
}

.footer-pricing-action .edd_purchase_submit_wrapper {
  display: grid;
  gap: 10px;
}

body.edd-js .footer-pricing-action .edd-no-js,
body.edd-js .footer-pricing-action input.edd-no-js {
  display: none !important;
}

.footer-pricing-action .edd-add-to-cart,
.footer-pricing-action .edd_go_to_checkout,
.footer-pricing-action .edd-submit,
.footer-pricing-action .button {
  display: inline-grid;
  place-items: center;
  width: 100%;
  min-height: 52px;
  padding: 12px 18px;
  border: 1px solid var(--btn-bg) !important;
  border-radius: 999px !important;
  background: var(--btn-bg) !important;
  color: var(--btn-fg) !important;
  font: inherit !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-align: center;
  text-decoration: none !important;
  box-shadow: none !important;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s var(--ease-out);
}

.footer-pricing-action .edd-add-to-cart:hover,
.footer-pricing-action .edd-add-to-cart:focus-visible,
.footer-pricing-action .edd-add-to-cart[data-edd-loading],
.footer-pricing-action .edd_go_to_checkout:hover,
.footer-pricing-action .edd_go_to_checkout:focus-visible,
.footer-pricing-action .edd-submit:hover,
.footer-pricing-action .edd-submit:focus-visible,
.footer-pricing-action .button:hover {
  border-color: var(--btn-hover) !important;
  background: var(--btn-hover) !important;
  color: var(--btn-fg) !important;
  transform: translateY(-1px);
}

.footer-pricing-action .edd-add-to-cart:focus-visible,
.footer-pricing-action .edd-submit:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}

.footer-pricing-action .wd-form-pricing-buy .edd-add-to-cart-label {
  color: var(--btn-fg) !important;
  filter: none !important;
  opacity: 1 !important;
}

.footer-pricing-action .wd-form-pricing-buy[data-edd-loading] .edd-loading {
  display: none !important;
}

.footer-pricing-action .edd-cart-ajax-alert,
.footer-pricing-action .edd-cart-added-alert {
  display: none !important;
}

.footer-pricing-action .edd_purchase_tax_rate,
.footer-pricing-action .edd-loading {
  color: var(--fg-3);
  font-size: 12px;
  line-height: 1.4;
}

.pricing-notes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 32px;
  margin: clamp(32px, 4vw, 44px) 0 0;
  padding: 0;
  list-style: none;
  color: var(--fg-3);
  font-size: 14.5px;
}

.pricing-notes li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
}

.pricing-notes li::before {
  content: "";
  width: 11px;
  height: 6px;
  margin-top: -3px;
  border-left: 1.5px solid var(--fg);
  border-bottom: 1.5px solid var(--fg);
  transform: rotate(-45deg);
}

/* ==========================================================================
   Refund policy
   ========================================================================== */

:where(.wd-site) .refund-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 6vw, 96px);
}

:where(.wd-site) .refund-copy h2 {
  max-width: 600px;
  margin-top: 0;
  color: var(--fg);
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

:where(.wd-site) .refund-copy > p {
  max-width: 520px;
  margin-top: 22px;
  color: var(--fg-2);
  font-size: 17px;
  line-height: 1.65;
}

:where(.wd-site) .refund-copy > p strong {
  color: var(--fg);
  font-weight: 600;
}

:where(.wd-site) .refund-points {
  display: grid;
  gap: 14px;
  margin: 32px 0 40px;
  padding: 0;
  list-style: none;
}

:where(.wd-site) .refund-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--fg);
  font-size: 16px;
  font-weight: 500;
}

:where(.wd-site) .refund-points li::before {
  content: "";
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--solid-bg)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.6 8.3l2.2 2.2 4.6-4.9' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}

/* Calendar illustration: a 14-day window, then the days after it. */

:where(.wd-site) .refund-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 500px);
  padding: 64px 0 44px 64px;
}

:where(.wd-site) .refund-visual::before,
:where(.wd-site) .refund-visual::after {
  content: "";
  position: absolute;
  border: 1.5px solid var(--fg);
  border-radius: 50%;
}

:where(.wd-site) .refund-visual::before {
  left: 18px;
  bottom: 30%;
  width: 14px;
  height: 14px;
}

:where(.wd-site) .refund-visual::after {
  top: 30px;
  right: 6px;
  width: 10px;
  height: 10px;
  border-color: var(--fg-3);
}

:where(.wd-site) .refund-calendar {
  position: relative;
  border: 1px solid #e2e2e2;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.25);
}

:where(.wd-site) .refund-calendar-rings {
  position: absolute;
  top: -14px;
  left: 42%;
  right: 28px;
  display: flex;
  justify-content: space-between;
}

:where(.wd-site) .refund-calendar-rings i {
  width: 10px;
  height: 30px;
  border-radius: 999px;
  background: var(--fg);
  box-shadow: 0 0 0 4px #ffffff;
}

:where(.wd-site) .refund-calendar-bar {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  height: 64px;
  padding: 0 24px 12px;
  border-radius: 19px 19px 0 0;
  background: #0a0a0a;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

:where(.wd-site) .refund-calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  padding: 24px 24px 0;
}

:where(.wd-site) .refund-calendar-days span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #f3f3f3;
  color: var(--fg-3);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1;
}

:where(.wd-site) .refund-calendar-days .is-start {
  border-color: var(--fg);
  background: #ffffff;
  color: var(--fg);
  font-weight: 600;
}

:where(.wd-site) .refund-calendar-days .is-end {
  background: #0a0a0a;
  color: #ffffff;
  font-weight: 600;
}

:where(.wd-site) .refund-calendar-days .is-after {
  border: 1px dashed #e4e4e4;
  background: transparent;
  color: #c4c4c4;
}

:where(.wd-site) .refund-calendar-legend {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px 22px;
  color: var(--fg-3);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

:where(.wd-site) .refund-badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  width: 148px;
  height: 148px;
  border: 1px solid #e2e2e2;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.35);
  text-align: center;
}

:where(.wd-site) .refund-badge strong {
  color: var(--fg);
  font-size: 64px;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

:where(.wd-site) .refund-badge span {
  margin-top: 4px;
  color: var(--fg-2);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

:where(.wd-site) .refund-tag {
  position: absolute;
  right: 16px;
  bottom: 12px;
  z-index: 1;
  padding: 12px 18px;
  border: 1px solid var(--fg);
  border-radius: 10px;
  background: #ffffff;
  color: var(--fg);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  white-space: nowrap;
  box-shadow: 0 18px 36px -20px rgba(0, 0, 0, 0.35);
  transform: rotate(-4deg);
}

/* ==========================================================================
   Contact
   ========================================================================== */

:where(.wd-site) .contact {
  border-bottom: 1px solid var(--rule);
}

:where(.wd-site) .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(40px, 6vw, 96px);
}

:where(.wd-site) .contact-copy h2 {
  margin-top: 0;
  color: var(--fg);
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

:where(.wd-site) .contact-copy > p {
  max-width: 460px;
  margin-top: 22px;
  color: var(--fg-2);
  font-size: 17px;
  line-height: 1.65;
}

:where(.wd-site) .contact-points {
  display: grid;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}

:where(.wd-site) .contact-points li {
  display: grid;
  grid-template-columns: minmax(130px, 0.4fr) minmax(0, 1fr);
  gap: 6px 20px;
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
}

:where(.wd-site) .contact-points strong {
  font-weight: 600;
}

:where(.wd-site) .contact-points span {
  color: var(--fg-2);
}

:where(.wd-site) .contact-card {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--rule);
  border-radius: 20px;
  background: var(--surface);
}

:where(.wd-site) .contact-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
  color: var(--fg-3);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.landing-footer {
  --bg: #000000;
  overflow: hidden;
  padding: clamp(64px, 8vw, 96px) 0 28px;
}

.landing-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 48px;
}

.landing-footer-logo {
  display: inline-block;
}

.landing-footer-logo img {
  width: 168px;
  height: auto;
}

.landing-footer-brand p {
  max-width: 300px;
  margin: 18px 0 26px;
  color: var(--fg-3);
  font-size: 15px;
}

.landing-footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.landing-footer-title {
  margin: 0 0 18px;
  color: var(--fg-3);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-footer-cols ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.landing-footer-cols li {
  margin: 0;
}

.landing-footer-cols a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  transition: color 0.2s ease;
}

.landing-footer-cols a:hover {
  color: #ffffff;
}

.landing-footer-wordmark {
  margin: clamp(56px, 8vw, 96px) 0 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0.02) 85%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(72px, 19vw, 272px);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.065em;
  text-align: center;
  white-space: nowrap;
  user-select: none;
}

.landing-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  color: var(--fg-3);
  font-size: 13.5px;
}

.landing-footer-bottom a:hover {
  color: #ffffff;
}

/* Social icons: [wd_form_social_links], links come from Settings → Stacklar. */

.landing-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.landing-footer-social li {
  margin: 0;
}

.landing-footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.78);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.landing-footer-social-link:hover,
.landing-footer-social-link:focus-visible {
  border-color: #ffffff;
  background: #ffffff;
  color: #0a0a0a;
}

.landing-footer-social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ==========================================================================
   Sticky Messenger button
   Printed from wp_footer on every page, outside .wd-site, so it cannot use
   the tone tokens above.
   ========================================================================== */

.site-messenger {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(180deg, #00b2ff 0%, #006aff 100%);
  color: #ffffff;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.16);
  transition:
    transform 0.2s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.2s ease;
}

.site-messenger:hover,
.site-messenger:focus-visible {
  color: #ffffff;
  transform: translateY(-2px) scale(1.05);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(255, 255, 255, 0.24);
}

.site-messenger:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.site-messenger svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* Keep "Back to top" clear of the button while the container still reaches
   the right edge of the viewport. */
@media (min-width: 681px) and (max-width: 1400px) {
  .has-site-messenger .landing-footer-bottom {
    padding-right: 72px;
  }
}

@media print {
  .site-messenger {
    display: none;
  }
}

/* ==========================================================================
   Motion & responsive (shared parts)
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  :where(.wd-site) .btn,
  .site-messenger,
  .landing-footer-social-link,
  .footer-pricing-card {
    transition: none;
  }

  .site-messenger:hover,
  .site-messenger:focus-visible {
    transform: none;
  }

  [data-reveal].is-pending {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 960px) {
  :where(.wd-site) .container {
    width: min(calc(100% - 32px), var(--content));
  }

  :where(.wd-site) .section-head {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .contact-grid,
  .refund-grid,
  .landing-footer-top {
    grid-template-columns: minmax(0, 1fr);
  }

  :where(.wd-site) .refund-visual {
    justify-self: center;
  }
}

@media (max-width: 680px) {
  :where(.wd-site) .section {
    padding: 80px 0;
  }

  :where(.wd-site) .refund-visual {
    padding: 48px 0 40px 36px;
  }

  :where(.wd-site) .refund-visual::before {
    left: 4px;
  }

  :where(.wd-site) .refund-badge {
    width: 108px;
    height: 108px;
  }

  :where(.wd-site) .refund-badge strong {
    font-size: 46px;
  }

  :where(.wd-site) .refund-badge span {
    font-size: 15px;
  }

  :where(.wd-site) .refund-calendar-bar {
    height: 52px;
    padding: 0 16px 10px;
  }

  :where(.wd-site) .refund-calendar-days {
    gap: 5px;
    padding: 16px 16px 0;
  }

  :where(.wd-site) .refund-calendar-days span {
    border-radius: 6px;
    font-size: 11px;
  }

  :where(.wd-site) .refund-calendar-legend {
    padding: 14px 16px 18px;
    font-size: 10px;
  }

  :where(.wd-site) .refund-tag {
    right: 8px;
    padding: 10px 14px;
    font-size: 15px;
  }

  .demo-live-form--repeater :is(.wd-repeater-row, .stacklar-repeater-row) {
    grid-template-columns: minmax(0, 1fr) minmax(44px, 0.4fr);
  }

  .demo-live-form--repeater .wd-demo-repeater-field:first-child {
    grid-column: 1 / -1;
  }

  .demo-live-form--repeater :is(.wd-repeater-row-actions, .stacklar-repeater-row-actions) {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .demo-live-form--calculated :is(.wd-form-wrapper, .stacklar-wrapper) {
    grid-template-columns: minmax(0, 1fr);
  }

  .demo-live-form--calculated :is(.wd-field--calculated, .stacklar-field--calculated) {
    display: grid;
  }

  .demo-live-form--calculated :is(.wd-field--calculated, .stacklar-field--calculated) :is(.wd-input-wrap, .stacklar-input-wrap),
  .demo-live-form--calculated :is(.wd-field--calculated, .stacklar-field--calculated) input {
    width: 100%;
    text-align: left;
  }

  .contact-points li {
    grid-template-columns: minmax(0, 1fr);
  }

  .landing-footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-messenger {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    width: 52px;
    height: 52px;
  }

  .site-messenger svg {
    width: 26px;
    height: 26px;
  }
}
