/* Design tokens — read from the source's own custom properties and theme CSS
   (www.memberspace.com: Astra 4.13.4 + Elementor 4.3.2, kit id 5), never from the px a
   value happens to compute to at 1440. Every colour/type/spacing value in components
   should reference a token here.

   Where they come from (public/index.html, the homepage snapshot):
   - .elementor-kit-5 { --e-global-color-* }         → --color-* (kit globals)
   - :root { --ast-global-color-0..8 }                → --ast-* (Astra globals)
   - astra-theme-css-inline-css                      → type scale, link colours, button base
   - elementor-frontend-inline-css (.e-con, kit)      → container widths, widget spacing
   - wp-custom-css                                    → h2 36px override

   Breakpoints (two systems, both live on the source):
   - Elementor: tablet ≤1024px, mobile ≤767px  (container widths, per-widget CSS)
   - Astra:     ≤1000px (header swaps to the mobile header at 1000.99; type steps down),
                ≤544px (second type step)
   CSS custom properties can't be used inside @media conditions, so components write the
   literal breakpoints — use exactly these four numbers. */
:root {
  /* ---- Colour: Elementor kit globals (verbatim names in comments) ---- */
  --color-primary: #222222; /* --e-global-color-primary */
  --color-secondary: #888888; /* --e-global-color-secondary */
  --color-text: #222222; /* --e-global-color-text */
  --color-accent: #c63882; /* --e-global-color-accent (kit) — note: Astra/buttons use #c73882 */
  --color-grey-dd: #dddddd; /* 32b236a */
  --color-grey-ee: #eeeeee; /* 5e130d8 */
  --color-grey-cc: #cccccc; /* e9152f8 */
  --color-blue: #2a7ff4; /* ae33118 */
  --color-yellow: #ecb92e; /* 8e4da02 */
  --color-cyan: #75e4eb; /* bd19af3 */
  --color-cyan-pale: #cfeef8; /* faf3e9b */
  --color-tint-blue: #e9f2fe; /* 63c1055 */
  --color-tint-pink: #fbeaf2; /* eb2d516 */
  --color-tint-yellow: #fdf8eb; /* 7b5e8a0 */
  --color-tint-cyan: #f2fcfd; /* fda38f1 */

  /* ---- Colour: Astra globals ---- */
  --ast-0: #c73882; /* brand pink — links, button base, big CTAs */
  --ast-1: #222222; /* headings/body text, button hover bg, link hover */
  --ast-2: #3a3a3a;
  --ast-3: #4b4f58;
  --ast-4: #f5f5f5;
  --ast-5: #ffffff;
  --ast-6: #f2f5f7;
  --ast-7: #424242;
  --ast-8: #000000;

  --color-page: #ffffff;
  --color-ink: var(--ast-1);
  --color-link: var(--ast-0);
  --color-link-hover: var(--ast-1);
  --color-cta: #c73882; /* big CTA button bg (per-widget, = --ast-0) */
  --color-cta-hover: #d84491; /* big CTA hover/focus bg */
  --color-border-button: #bbbbbb; /* "Learn more" / "See more stories" outline */

  /* ---- Type (Astra) ---- */
  --font-sans: "Plus Jakarta Sans", sans-serif;
  --root-size: 112.5%; /* html { font-size: 112.5% } → 1rem = 18px */
  --text-body: 1rem; /* 18px desktop; 17px (0.944444444444rem) at ≤1000px */
  --leading-body: 1.85714285714286; /* Astra main.css body line-height */
  --weight-body: 400;
  --weight-nav: 500; /* matching navigation and quiet account-action weight */
  --nav-action-text: 16px; /* consistent desktop/mobile Log in label */
  --weight-heading: 800; /* Plus Jakarta Sans variable face; heavier requests use its 800 maximum. */
  /* Astra heading scale — desktop / ≤1000 / ≤544. Elementor heading widgets override per element. */
  --text-h1: 50px; /* 40px ≤1000, 36px ≤544; line-height 1.4em */
  --text-h2: 36px; /* wp-custom-css (Astra's own 45px/32/28 is overridden at every width); lh 1.3em */
  --text-h3: 32px; /* 26px ≤1000, 22px ≤544; lh 1.3em */
  --text-h4: 22px; /* 20px ≤1000, 18px ≤544; lh 1.2em */
  --text-h5: 18px; /* 17 / 15; lh 1.2em */
  --text-h6: 16px; /* 15 / 14; lh 1.25em */

  /* ---- Layout (Elementor) ---- */
  --container-max: 1300px; /* .e-con --container-max-width; 1024px ≤1024, 767px ≤767 */
  --container-pad: 10px; /* default e-con inline padding */
  --widgets-gap: 20px; /* .elementor-element --widgets-spacing */

  /* ---- Buttons (Astra base + Elementor per-widget) ---- */
  --button-radius: 3px;
  --button-pad: 10px 20px;
  --button-radius-cta: 10px;
  --button-pad-cta: 30px 35px;
  --button-radius-accent: 5px;

  /* ---- Modern landing pages (alternatives template, 2026-10) ----
     Native additions, not from the WordPress source: the comparison landing pages
     (src/components/alternatives/) use these for cards, sections and display type. */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(34, 34, 34, 0.06), 0 8px 24px rgba(34, 34, 34, 0.07);
  --shadow-lift: 0 24px 60px rgba(34, 34, 34, 0.16);
  --section-space: clamp(64px, 9vw, 120px); /* vertical rhythm between landing-page bands */
  --content-narrow: 820px; /* reading width for headings, intros, FAQs */
  --text-display: clamp(38px, 5.4vw, 64px); /* the big landing-page headline */
  --text-eyebrow: 15px; /* small uppercase top line above a headline */
  --text-lede: clamp(19px, 1.6vw, 22px); /* intro paragraph under a headline */
  --color-ink-soft: var(--ast-3); /* secondary text on light backgrounds */
  --color-tint-pink-soft: #fefbfd; /* lighter than --color-tint-pink, so pink marks on it stay crisp */
  --color-navy: #081d30; /* brand dark navy (owner's pick, 2026-10-14) */
  --color-dark: var(--color-navy); /* dark band background */
  --color-success: #0f7b3a; /* form confirmation text (the old /blast/ sign-up's colours) */
  --color-error: #b42318; /* form error text */
  --color-blue-line: #adcffd; /* hairline under a light-blue hero (the /squarespace/ hero, e-section 3047f08b) */
  /* ---- Homepage product stories ---- */
  --feature-story-text-column: minmax(0, 1.08fr);
  --feature-story-media-column: minmax(0, 1fr);

  /* ---- Homepage video hero ---- */
  --home-hero-lede: clamp(19px, 1.6vw, 20px); /* homepage hero subheadline: 20px desktop cap */
  --hero-video-max: 1300px;
  --hero-video-space: clamp(48px, 8vw, 120px);
  --hero-video-gap: clamp(28px, 3vw, 48px);
  --hero-video-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  --home-carousel-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); /* 55% image, versus production’s 60% */
  --home-carousel-space-top: clamp(24px, 3.5vw, 48px);
  --home-carousel-space-bottom: clamp(40px, 5vw, 72px); /* copy-only; artwork sits flush on the next band */
  --home-carousel-copy-offset: clamp(24px, 3.5vw, 48px); /* room for the keyword H1 without lowering the display title */
  --hero-video-display: clamp(38px, 9.2cqw, 72px);
  --hero-video-display-mobile: clamp(26px, 8.1vw, 38px);
  --hero-title-underline-thickness: 2px;
  --hero-title-underline-offset: 0.12em;

  /* ---- Editorial customer stories ---- */
  --story-grid-gap: clamp(24px, 2.5vw, 32px);
  --story-photo-ratio: 3 / 2;
  --story-chip-inset: 12px;
  --story-chip-padding: 6px 12px;
  --story-chip-text: 13px;
  --story-focus-width: 2px;
  --story-focus-offset: 6px;

  /* ---- Customer-story image frames ---- */
  --showcase-image-height: clamp(220px, 24vw, 320px);
  --showcase-frame-inset: clamp(24px, 3vw, 36px);

  /* ---- Shared product-icon outline variant ---- */
  --product-icon-inline-size: 24px;

  /* ---- Human support with real team portraits ---- */
  --support-people-space: clamp(48px, 6.75vw, 90px);
  --support-people-gap: clamp(32px, 5vw, 72px);
  --support-people-row-gap: clamp(18px, 2.25vw, 27px);
  --support-people-avatar-size: clamp(72px, 8vw, 104px);
  --support-people-avatar-overlap: clamp(16px, 2vw, 24px);
  --support-people-avatar-ring: 3px;
  --support-people-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  --support-people-panel-pad: clamp(20px, 2.5vw, 32px);
  --support-people-mobile-icon-size: 48px;
  --support-people-pill-padding: 8px 16px;
  --support-people-pill-tracking: 0.08em;
  --support-people-intro-leading: 1.6;
  --support-people-title: clamp(34px, 4vw, 52px);
  --support-people-title-leading: 1.12;
  --support-people-caption-leading: 1.3;

  /* ---- Professional human support ---- */
  --support-professional-avatar-size: 96px;
  --support-professional-avatar-mobile: 64px;
  --support-professional-portrait-gap: 16px;
  --support-professional-portrait-gap-mobile: 12px;
  --support-professional-title: clamp(32px, 3.6vw, 46px);
  --support-professional-icon-offset: 2px;
  --support-professional-icon-size: 40px;
  --support-professional-icon-pad: 8px;
  --support-professional-row-pad: clamp(20px, 2.5vw, 32px);
  --support-professional-text: rgba(255, 255, 255, 0.78);
  --support-professional-line: rgba(255, 255, 255, 0.16);
  --support-professional-tile: rgba(255, 255, 255, 0.08);
  --support-professional-glow: rgba(199, 56, 130, 0.22);
  --support-professional-icon-tint: var(--color-cta);
  --support-professional-icon-border: var(--color-cta);

  /* ---- Optional breathing room before an inset closing callout ---- */
  --cta-space-before: clamp(32px, 5vw, 64px);

  /* ---- Site footer (navy, 2026-11) ---- */
  --footer-bg: var(--color-navy);
  --footer-text: rgba(255, 255, 255, 0.74); /* link text on navy */
  --footer-muted: rgba(255, 255, 255, 0.56); /* column titles, fine print */
  --footer-line: rgba(255, 255, 255, 0.12); /* hairlines between footer rows */
  /* ---- Shared proof chips ($350M callout) ---- */
  --proof-label-mobile: clamp(18px, 5.64vw, 22px);
  --proof-chips-margin: 26px;
  --proof-chips-gap: 12px;
  --proof-chip-gap: 10px;
  --proof-chip-gap-mobile: 8px;
  --proof-chip-padding: 10px 18px;
  --proof-chip-padding-mobile: 10px 14px;
  --proof-chip-border: 1px solid rgba(255, 255, 255, 0.18);
  --proof-chip-background: rgba(255, 255, 255, 0.065);
  --proof-chip-color: rgba(255, 255, 255, 0.84);
  --proof-chip-text: 17px;
  --proof-chip-text-mobile: 16px;
  --proof-chip-leading: 1.4;
  --proof-chip-icon-size: 18px;
  --proof-chip-icon-color: rgba(255, 255, 255, 0.66);
  --proof-chip-icon-stroke: 1.6;

  /* ---- Shared money-back guarantee callout (pricing + demo snapshots) ---- */
  --guarantee-gap: 16px;
  --guarantee-padding: 20px 24px;
  --guarantee-padding-mobile: 18px 16px;
  --guarantee-icon-size: 48px;
  --guarantee-icon-art-size: 30px;
  --guarantee-copy-gap: 4px;
  --guarantee-leading: 1.5;
  --guarantee-pricing-width: 700px;
  --guarantee-demo-width: 70%;
  --guarantee-demo-mobile-width: 334px;

  /* ---- Demo page responsive layout ---- */
  --demo-gutter: clamp(20px, 4vw, 60px);
  --demo-space: clamp(40px, 6vw, 80px);
  --demo-media-max: 640px;
  --demo-form-max: 520px;

  /* ---- Inline pricing questions ---- */
  --pricing-questions-text: 16px;

}

@media (max-width: 1024px) {
  :root {
    --container-max: 1024px;
  }
}
@media (max-width: 1000px) {
  :root {
    --text-body: 0.944444444444rem; /* 17px */
    --text-h1: 40px;
    --text-h3: 26px;
    --text-h4: 20px;
    --text-h5: 17px;
    --text-h6: 15px;
  }
}
@media (max-width: 767px) {
  :root {
    --container-max: 767px;
  }
}
@media (max-width: 544px) {
  :root {
    --text-h1: 36px;
    --text-h3: 22px;
    --text-h4: 18px;
    --text-h5: 15px;
    --text-h6: 14px;
  }
}


/* Demo-only layout; the signup widget keeps its own internal form styling. */
.page-id-7133 .elementor-7133 .elementor-element.elementor-element-f3aa3b9 {
  --padding-top: var(--demo-space);
  --padding-bottom: var(--demo-space);
  --padding-left: var(--demo-gutter);
  --padding-right: var(--demo-gutter);
}
.page-id-7133 .elementor-7133 .elementor-element.elementor-element-a6b026b {
  --container-widget-width: 100%;
  width: 100%;
  max-width: var(--demo-media-max);
}
.page-id-7133 .ms-guarantee--demo {
  width: 100%;
  max-width: var(--demo-media-max);
}
.page-id-7133 .elementor-7133 .elementor-element.elementor-element-873e82c {
  --padding-left: var(--demo-gutter);
  --padding-right: var(--demo-gutter);
}
@media (max-width: 1024px) {
  .page-id-7133 .elementor-7133 .elementor-element.elementor-element-c9cb95e {
    --flex-direction: column;
    --padding-top: 0px;
    min-height: 0;
  }
  .page-id-7133 .elementor-7133 .elementor-element.elementor-element-f3aa3b9,
  .page-id-7133 .elementor-7133 .elementor-element.elementor-element-873e82c {
    --width: 100%;
    width: 100%;
    max-width: none;
    --justify-content: flex-start;
  }
  .page-id-7133 .elementor-7133 .elementor-element.elementor-element-873e82c {
    --padding-top: var(--demo-space);
    --padding-bottom: var(--demo-space);
  }
  .page-id-7133 .elementor-element-f05cd99 > .elementor-widget-container {
    margin: 0;
  }
  .page-id-7133 .elementor-7133 .elementor-element.elementor-element-9ca8eed {
    width: 100%;
    max-width: var(--demo-form-max);
    align-self: center;
  }
}
