/* ============================================================
   MAPLE TECH — DESIGN SYSTEM OVERRIDE v3 (WARM LIGHT THEME)
   Updated to match mockup warm maple theme.
   Loaded AFTER maple-clean.css. Overrides tokens + component styles.
   Does not change structure, layout, or content.
   ============================================================ */

/* Montserrat (primary) + Open Sans (supporting body) — Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Open+Sans:wght@400;600&display=swap');

/* Montserrat (primary) + Open Sans (supporting body) — Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Open+Sans:wght@400;600&display=swap');

/* ==============================
   1. DESIGN TOKENS
   ============================== */
:root {
  /* ---- Colors — warm light theme ---- */
  --color-canvas: #F7F9FB;
  --color-canvas-deep: #EFF2F5;
  --color-primary: #8D263A;
  --color-primary-active: #6b1d2c;
  --color-primary-glow: #a82d45;
  --color-primary-light: #a82d45;
  --color-accent-cyan: #8D263A;
  --color-accent-violet: #8D263A;
  --color-surface-card: #FFFFFF;
  --color-surface-card-elevated: #FFFFFF;
  --color-surface-strong: #EFF2F5;
  --color-hairline: rgba(0,0,0,0.08);
  --color-hairline-soft: rgba(0,0,0,0.05);
  --color-hairline-strong: rgba(141,38,58,0.20);
  --color-ink: #111218;
  --color-body: #4a4f5e;
  --color-body-strong: #111218;
  --color-muted: #8a909e;
  --color-muted-soft: #8a909e;
  --color-on-primary: #FFFFFF;
  --color-success: #33D17A;
  --color-error: #FF4D4D;
  --glow-primary: radial-gradient(circle at 50% 30%,rgba(141,38,58,0.14) 0%,rgba(141,38,58,0.06) 35%,rgba(247,249,251,0) 70%);

  /* ---- Warm theme additions ---- */
  --shadow-card: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 8px 32px rgba(141,38,58,0.10);
  --shadow-warm: 0 4px 24px rgba(141,38,58,0.12);
  --border-subtle: rgba(0,0,0,0.08);
  --border-maple: rgba(141,38,58,0.20);
  --maple-glow-bg: rgba(141,38,58,0.04);
  --maple-glow-border: rgba(141,38,58,0.12);
  --dot-grid-bg: radial-gradient(rgba(141,38,58,0.12) 1px,transparent 1px);

  /* ---- Typography (preserved — do not change) ---- */
  --font-sans: 'Montserrat', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'Open Sans', ui-sans-serif, system-ui, sans-serif;
  --fw-display: 700;
  --fw-title: 600;
  --fw-body: 400;
  --fw-caption-upper: 400;
  --fw-button: 700;

  --display-mega-size: 52px; --display-mega-lh: 1.2; --display-mega-ls: -0.02em;
  --display-xl-size: 48px;  --display-xl-lh: 1.2;    --display-xl-ls: -0.02em;
  --display-lg-size: 36px;  --display-lg-lh: 1.3;    --display-lg-ls: -0.01em;
  --display-md-size: 26px;  --display-md-lh: 1.4;    --display-md-ls: 0;
  --display-sm-size: 24px;  --display-sm-lh: 1.4;    --display-sm-ls: 0;
  --title-lg-size: 20px; --title-lg-lh: 1.4; --title-lg-ls: 0;
  --title-md-size: 18px; --title-md-lh: 1.4; --title-md-ls: 0;
  --title-sm-size: 16px; --title-sm-lh: 1.4; --title-sm-ls: 0;
  --body-lg-size: 18px; --body-lg-lh: 1.6;
  --body-md-size: 17px; --body-md-lh: 1.6;
  --body-sm-size: 16px; --body-sm-lh: 1.6;
  --caption-size: 14px; --caption-lh: 1.4;
  --eyebrow-size: 14px; --eyebrow-lh: 1.4;  --eyebrow-ls: .06em;
  --code-size: 14px;    --code-lh: 1.4;     --code-fw: 400;
  --button-size: 16px;  --button-lh: 1;
  --nav-link-size: 14px; --nav-link-lh: 1.4;
}

/* Override Astra's a{color:#ffffff} — global link color */
a, a:link, a:visited { color: var(--color-ink); }
a:hover, a:focus { color: var(--color-primary); }

/* ==============================
   2. H4-H6 — Derived hierarchy (preserved)
   ============================== */
h4, .h4 {
  font-family: var(--font-sans);
  font-weight: var(--fw-title);
  font-size: var(--title-lg-size);
  line-height: var(--title-lg-lh);
  letter-spacing: var(--title-lg-ls);
  color: var(--color-ink);
}
h5, .h5 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--title-md-size);
  line-height: var(--title-md-lh);
  letter-spacing: var(--title-md-ls);
  color: var(--color-ink);
}
h6, .h6 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--title-sm-size);
  line-height: var(--title-sm-lh);
  letter-spacing: var(--title-sm-ls);
  color: var(--color-ink);
}

/* ==============================
   3. BUTTONS
   ============================== */
.btn {
  border-radius: 4px;
  font-family: var(--font-sans);
  font-weight: var(--fw-button);
  font-size: var(--button-size);
  line-height: var(--button-lh);
  transition: background 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}
.btn-solid:hover { background: #6b1d2c !important; }
.btn-solid:active { background: #5a1824 !important; }
.btn-solid:focus-visible { outline: 2px solid #8D263A; outline-offset: 2px; }
.btn[disabled], .btn.is-disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

/* Ghost/outline buttons — warm light theme */
.btn-ghost { border-color: var(--border-subtle); color: var(--color-ink); }
.btn-ghost:hover { background: var(--color-surface-card); border-color: var(--border-maple); color: var(--color-ink); }

.chip { border-radius: 4px; }
.seg { border-radius: 4px; }
.ctl { border-radius: 4px; }

/* ==============================
   4. NAVIGATION — warm light theme
   ============================== */
.main-navigation,
.ast-primary-header-bar,
.ast-primary-header-bar .main-header-bar-navigation,
.main-header-bar .main-header-bar-navigation {
  font-family: var(--font-sans) !important;
}
.main-navigation ul.menu > li > a,
.ast-primary-header-bar .main-header-bar-navigation ul.menu > li > a,
.main-header-bar .main-header-bar-navigation ul.menu > li > a {
  font-family: var(--font-sans) !important;
  font-weight: 600;
  font-size: var(--nav-link-size);
  line-height: var(--nav-link-lh);
  letter-spacing: 0.02em;
  color: var(--color-body);
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.main-navigation ul.menu > li > a:hover,
.main-navigation ul.menu > li > a:focus,
.main-navigation ul.menu > li.current-menu-item > a {
  color: #8D263A;
}
/* Mobile nav */
.ast-header-break-point .main-navigation ul.menu > li > a {
  font-family: var(--font-sans) !important;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: #111218;
  text-transform: uppercase;
}
.ast-header-break-point .main-navigation ul.menu > li > a:hover {
  color: #8D263A;
}
/* Astra toggle button */
.main-header-bar .ast-custom-html-nav,
.ast-header-custom-item {
  font-family: var(--font-sans) !important;
  color: var(--color-ink);
}

/* ==============================
   5. FORM TYPOGRAPHY (WPForms) — preserved
   ============================== */
.wpforms-field-label {
  font-family: var(--font-sans) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  color: #111218 !important;
}
.wpforms-field-description,
.wpforms-confirmation-description {
  font-family: var(--font-mono) !important;
  font-weight: 400 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  color: #4a4f5e !important;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="url"],
input[type="password"],
textarea,
select,
.wpforms-field select {
  font-family: var(--font-mono) !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: #111218 !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: 4px !important;
  padding: 12px 16px !important;
  background: var(--color-surface-card) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border-color: #8D263A !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(141,38,58,0.10) !important;
}
input::placeholder,
textarea::placeholder {
  color: #8a909e !important;
  opacity: 1;
}
.wpforms-submit-container .wpforms-submit,
button[type="submit"].wpforms-submit {
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  line-height: 1 !important;
  color: #FFFFFF !important;
  background: #8D263A !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 12px 24px !important;
  cursor: pointer;
  transition: background 0.2s ease;
}
.wpforms-submit-container .wpforms-submit:hover,
button[type="submit"].wpforms-submit:hover {
  background: #6b1d2c !important;
}
.wpforms-error-container {
  font-family: var(--font-mono) !important;
  font-size: 14px !important;
  color: #FF4D4D !important;
}
.wpforms-confirmation-success {
  font-family: var(--font-mono) !important;
  font-size: 16px !important;
  color: #33D17A !important;
}

/* ==============================
   6. LIGHT SECTION (.foryou) — MapleTech "Our Expertise" dark theme
   ============================== */
.foryou {
  background: #0E1F3D !important;
  color: #FFFFFF !important;
}
.foryou .eyebrow {
  color: rgba(255,255,255,0.6) !important;
}
.foryou h2,
.foryou h2 em {
  color: #FFFFFF !important;
}
.foryou p {
  color: rgba(255,255,255,0.85) !important;
}
.foryou a,
.foryou a:link,
.foryou a:visited,
.foryou a:hover,
.foryou a:focus {
  color: #FFFFFF !important;
}
.foryou .btn-solid {
  background: #8C2738 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 24px rgba(140,39,56,0.30) !important;
}
.foryou .btn-solid:hover {
  background: #a82d45 !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 32px rgba(140,39,56,0.38) !important;
}
.fy-left h2 {
  color: #FFFFFF !important;
}
.fy-left p {
  color: rgba(255,255,255,0.85) !important;
}
.fy-card {
  background: rgba(14,31,61,0.92) !important;
  border-color: rgba(255,255,255,0.15) !important;
  color: #FFFFFF !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25) !important;
  position: relative;
  z-index: 5;
}
.fy-card:hover {
  border-color: rgba(140,39,56,0.4) !important;
  background: rgba(255,255,255,0.12) !important;
}
.pill-blue {
  border-color: rgba(140,39,56,0.4) !important;
  color: rgba(255,255,255,0.8) !important;
}
.pill-cyan {
  border-color: rgba(140,39,56,0.4) !important;
  color: rgba(255,255,255,0.8) !important;
}
.dot {
  background: #8C2738 !important;
}
.d-cyan {
  background: rgba(140,39,56,0.6) !important;
}
.d-violet {
  background: rgba(140,39,56,0.6) !important;
}
.fy-term {
  background: rgba(255,255,255,0.04) !important;
  border-color: rgba(255,255,255,0.08) !important;
  z-index: 1 !important;
}
.term-bar {
  border-bottom-color: rgba(255,255,255,0.10) !important;
  color: rgba(255,255,255,0.7) !important;
}
.term-bar i {
  background: rgba(255,255,255,0.25) !important;
}
.fy-term pre {
  color: #111111 !important;
}
.fy-term .ok {
  color: #111111 !important;
}
.fy-term .dim {
  color: #111111 !important;
}

/* ==============================
   7. ACCENT HIGHLIGHTS (maple red)
   ============================== */
.brand-gtm { color: #8D263A !important; }
.brand-logo > span { color: #8D263A !important; }
.row.is-hi { background: var(--color-canvas-deep); border-color: #8D263A; }
.eng-node.is-hi { background: linear-gradient(160deg,#fff 0%,rgba(141,38,58,0.05) 100%); border-color: #8D263A; }
.eng-mini.is-hi { background: linear-gradient(160deg,#fff 0%,rgba(141,38,58,0.05) 100%); border-color: #8D263A; color: var(--color-ink, #111218) !important; }
.wf-tab.is-on { box-shadow: inset 2px 0 0 #8D263A; }
.card.is-sel { border-color: #8D263A; box-shadow: var(--shadow-card-hover); }
.why-item.is-on { box-shadow: inset 0 0 0 1px #8D263A; }
.icp li { border-left-color: #8D263A; }
.eng-link { color: #8D263A; border-bottom-color: #8D263A; }
.eng-note { color: #8D263A; }
.eng-loop { color: #8D263A; border-color: #8D263A; }
.eng-loopback { border-color: #8D263A; }
.eng-arrow::after { border-right-color: #a82d45; border-bottom-color: #a82d45; }
.eng-arrow::before { background: #a82d45; box-shadow: 0 0 8px #a82d45; }
.bars i.hot { background: #8D263A; }
.c-bars i:first-child { background: #8D263A; }
:focus-visible { outline-color: #8D263A; }

/* Scope cards — primary card emphasis */
.scope-card--primary { border-color: #8D263A !important; box-shadow: 0 0 0 4px rgba(141,38,58,0.06) !important; }
.scope-card--primary:hover { border-color: #8D263A !important; box-shadow: 0 0 0 6px rgba(141,38,58,0.1) !important; }
.scope-card-icon { background: rgba(141,38,58,0.06) !important; color: #8D263A !important; }
.scope-card--primary .scope-card-icon { background: rgba(141,38,58,0.1) !important; }
.scope-card-badge { color: #8D263A !important; background: rgba(141,38,58,0.05) !important; border-color: rgba(141,38,58,0.12) !important; }
.scope-card-badge--star { background: rgba(141,38,58,0.07) !important; border-color: rgba(141,38,58,0.18) !important; }
.scope-card-value { color: #8D263A !important; }
.scope-card-pill { color: #8D263A !important; background: rgba(141,38,58,0.05) !important; border-color: rgba(141,38,58,0.12) !important; }
.scope-card-cta { color: #8D263A !important; }
.scope-card-check { background: rgba(141,38,58,0.08) !important; }
.scope-card-check::after { border-color: #8D263A !important; }
.scope-card-addon-chip { color: #8D263A !important; background: rgba(141,38,58,0.05) !important; border-color: rgba(141,38,58,0.12) !important; }
.scope-card-addons-title { color: #4a4f5e !important; }

/* SVG logo overrides — hardcoded white → dark theme */
.brand-mark line { stroke: rgba(17,18,24,0.35) !important; }
.brand-mark circle { fill: rgba(17,18,24,0.55) !important; }
.brand-mark circle:last-child { fill: #8D263A !important; }

/* ==============================
   7b. COMPONENT STATES — warm light theme
   ============================== */
/* Row text — dark text on light surface */
.row .warn { color: var(--color-ink, #111218) !important; }
.row .ok { color: var(--color-ink, #111218) !important; }
.row .v { color: var(--color-ink, #111218) !important; }
.row .k { color: var(--color-ink) !important; }
.row .mono-note { color: var(--color-ink, #111218) !important; }

/* Stage tabs — warm light theme */
.why-item { color: var(--color-ink, #111218) !important; }
.why-item b { color: var(--color-ink, #111218) !important; background: transparent !important; }
.why-item:hover { color: var(--color-ink) !important; background: var(--color-surface-card) !important; }
.why-item.is-on {
  background: var(--color-surface-card) !important;
  color: var(--color-ink) !important;
  box-shadow: inset 0 0 0 1px #8D263A !important;
}
.why-item.is-on b {
  background: #8D263A !important;
  color: #FFFFFF !important;
}
.why-item:focus {
  background: var(--color-surface-card) !important;
  color: var(--color-ink) !important;
  box-shadow: inset 0 0 0 1px #8D263A !important;
}
.why-item:focus-visible {
  outline: 2px solid #8D263A !important;
  outline-offset: -2px !important;
  box-shadow: inset 0 0 0 1px #8D263A !important;
}
.why-item:focus:not(:focus-visible) {
  outline: none !important;
}
.why-item:active {
  background: var(--color-surface-card) !important;
  color: var(--color-ink) !important;
}

/* ==============================
   7c. CARD HOVER — warm light theme
   ============================== */
.gallery .mcard {
  background: var(--color-surface-card);
}
@media (hover: hover) and (pointer: fine) {
  .gallery .card:hover,
  .gallery .card.is-near:hover {
    background: #F4F6F8;
    border-color: #0A1628;
    color: #111111;
    box-shadow: 0 4px 20px rgba(14,31,61,0.12);
  }
  .gallery .card:hover .card-top,
  .gallery .card.is-near:hover .card-top,
  .gallery .card:hover .c-name,
  .gallery .card.is-near:hover .c-name,
  .gallery .card:hover .c-foot,
  .gallery .card.is-near:hover .c-foot {
    color: #111111;
  }
  .gallery .mcard:hover {
    background: var(--color-surface-card);
    box-shadow: var(--shadow-card-hover);
  }
}

@media (max-width: 480px) {
  .gallery { padding-top: 32px; padding-bottom: 32px; }
  .workflow,
  .foryou,
  .platform,
  .why,
  .engine,
  .cta { padding-top: 32px; padding-bottom: 32px; }
}

/* ==============================
  8. ELEMENTOR KIT OVERRIDES
  ============================== */
.elementor-kit-6 {
  --e-global-color-primary: #8D263A;
  --e-global-color-secondary: #111218;
  --e-global-color-text: #4a4f5e;
  --e-global-color-accent: #8D263A;
}
.elementor-widget-heading .elementor-heading-title {
  font-family: var(--font-sans) !important;
}
.elementor-widget-text-editor {
  font-family: var(--font-mono) !important;
}
.elementor-button-wrapper .elementor-button {
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
  border-radius: 4px !important;
}
.elementor-button-wrapper .elementor-button:hover {
  background: #6b1d2c !important;
}

/* ==============================
   9. ASTRA GLOBAL COLORS
   ============================== */
:root {
  --ast-global-color-0: #8D263A !important;
  --ast-global-color-1: #111218 !important;
  --ast-global-color-2: #4a4f5e !important;
  --ast-global-color-3: #111218 !important;
  --ast-global-color-4: #F7F9FB !important;
  --ast-global-color-5: #EFF2F5 !important;
}

/* ==============================
   10. RESPONSIVE TYPOGRAPHY (preserved)
   ============================== */
@media (max-width: 860px) {
  :root {
    --display-mega-size: 40px;
    --display-xl-size: 36px;
    --display-lg-size: 30px;
    --display-md-size: 24px;
  }

  /* Section 02 — How the Engagement Works mobile: swipe carousel (EXACT reference values) */
  .why .eyebrow { display: block; margin: 0 0 4px; font-size: 11px; letter-spacing: 0.08em; color: var(--color-primary); font-weight: 600; }
  .why .why-title { display: block; font-size: 20px; line-height: 1.3; font-weight: 600; color: var(--color-ink); margin: 0 0 4px; letter-spacing: -0.01em; }
  .why .wrap { padding: 0 12px; }
  .why-swipe { display: block; max-width: 100%; overflow: hidden; }
  .why-swipe .ws-stepper { display: flex; gap: 6px; margin-top: 4px; margin-bottom: 4px; }
  .why-swipe .ws-seg { flex: 1; height: 18px; border: none; background: none; padding: 6px 0 0; cursor: pointer; -webkit-tap-highlight-color: transparent; display: flex; align-items: flex-start; }
  .why-swipe .ws-seg-track { width: 100%; height: 4px; border-radius: 2px; background: #E3E5EA; position: relative; overflow: hidden; }
  .why-swipe .ws-seg-track::after { content: ""; position: absolute; inset: 0; background: #8D263B; opacity: .45; transform: scaleX(0); transform-origin: left; transition: transform .35s ease, opacity .2s ease; }
  .why-swipe .ws-seg.done .ws-seg-track::after { transform: scaleX(1); opacity: .45; }
  .why-swipe .ws-seg.current .ws-seg-track::after { transform: scaleX(1); opacity: 1; }
  .why-swipe .ws-stage-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
  .why-swipe .ws-stage-label { display: flex; align-items: center; gap: 8px; }
  .why-swipe .ws-stage-num { font-size: 11px; font-weight: 700; color: #8D263B; background: #F3E9EA; padding: 3px 7px; border-radius: 5px; letter-spacing: .02em; }
  .why-swipe .ws-stage-name { font-size: 13.5px; font-weight: 600; color: #19253D; text-transform: uppercase; letter-spacing: .04em; }
  .why-swipe .ws-track-wrap { position: relative; margin: 0; padding: 0; max-width: 100%; overflow: hidden; }
  .why-swipe .ws-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; max-width: 100%; }
  .why-swipe .ws-track::-webkit-scrollbar { display: none; }
  .why-swipe .ws-slide { flex: 0 0 100%; scroll-snap-align: start; min-width: 0; max-width: 100%; }
  /* blue visual container — EXACT reference colors and dimensions */
  .why-swipe .ws-panel { width: 100%; max-width: 100%; box-sizing: border-box; background: #19253D; border-radius: 16px; padding: 14px; margin-bottom: 10px; }
  .why-swipe .ws-panel .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 13px; background: var(--color-canvas, #F7F9FB); border-radius: 10px; margin-bottom: 8px; }
  .why-swipe .ws-panel .row:last-of-type { margin-bottom: 0; }
  .why-swipe .ws-panel .row.is-hi { background: var(--color-canvas-deep, #EFF2F5); }
  .why-swipe .ws-panel .k { font-size: 13px; color: #111218; font-weight: 500; flex: 0 0 auto; }
  .why-swipe .ws-panel .v { font-size: 12.5px; color: #8a909e; font-weight: 500; text-align: right; line-height: 1.35; }
  .why-swipe .ws-panel .warn { color: #e8b339; }
  .why-swipe .ws-panel .ok { color: #33D17A; }
  .why-swipe .ws-panel .mono-note { font-size: 10.5px; letter-spacing: .05em; color: #8a909e; font-weight: 600; text-transform: uppercase; line-height: 1.5; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(141,38,58,0.20); }
  /* content below the visual container — contained within same width */
  .why-swipe .ws-copy-badge { display: inline-block; font-size: 11px; font-weight: 700; color: #8D263B; background: #F3E9EA; padding: 4px 9px; border-radius: 6px; margin-bottom: 12px; }
  .why-swipe .ws-headline { font-size: 18px; font-weight: 600; color: #19253D; line-height: 1.32; margin: 0 0 10px; letter-spacing: -0.01em; max-width: 100%; }
  .why-swipe .ws-body { font-size: 14px; line-height: 1.55; color: #5B6472; margin: 0 0 16px; max-width: 100%; }
  .why-swipe .ws-findings { display: flex; flex-direction: column; gap: 12px; max-width: 100%; }
  .why-swipe .ws-finding { display: flex; gap: 10px; padding-left: 12px; border-left: 2px solid #E3E5EA; }
  .why-swipe .ws-finding p { margin: 0; font-size: 13.5px; line-height: 1.5; color: #5B6472; }
  /* footer nav */
  .why-swipe .ws-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; padding-top: 2px; border-top: 1px solid #E3E5EA; }
  .why-swipe .ws-nav-btn { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: #19253D; background: none; border: none; padding: 12px 6px; margin: -12px -6px; cursor: pointer; -webkit-tap-highlight-color: transparent; min-width: 56px; min-height: 36px; }
  .why-swipe .ws-nav-btn.ws-prev { color: #8890A0; }
  .why-swipe .ws-nav-btn.disabled { visibility: hidden; }
  .why-swipe .ws-dots { display: flex; gap: 6px; }
  .why-swipe .ws-dot { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: none; background: none; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .why-swipe .ws-dot::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #E3E5EA; transition: background .2s, transform .2s; }
  .why-swipe .ws-dot.active::after { background: #8D263B; transform: scale(1.15); }

  /* Section 05 — Build Scope mobile: static layout (animation removed) */
  .platform { padding: 4px 0 0; background: var(--color-canvas); }
  .platform .wrap { padding: 0 8px; }
  .platform .tiers-title { margin: 2px 8px 8px; padding-top: 0; font-size: 20px; line-height: 1.2; }
  .platform .tiers { margin-top: 0; }
  .platform .tier { padding: 10px; gap: 4px; background: var(--color-surface-card); border: 1px solid var(--color-hairline); border-radius: var(--radius-lg); box-shadow: 0 4px 20px rgba(0,0,0,0.08); margin: 0 8px 12px; }
  .platform .tier h3 { font-size: 16px; margin-top: 0; }
  .platform .tier p, .platform .tier li { font-size: 11.5px; line-height: 1.35; }
  .platform .tier li { padding-left: 6px; }
  .platform .tier ul { gap: 3px; }
  .platform .tier-out { font-size: 11.5px; padding-top: 4px; }
  .platform .tier .btn { height: 34px; font-size: 11.5px; }
}
@media (max-width: 520px) {
  :root {
    --display-mega-size: 32px;
    --display-xl-size: 28px;
    --display-lg-size: 24px;
    --display-md-size: 22px;
    --body-lg-size: 16px;
    --body-md-size: 16px;
  }
}

/* ==============================
    11. FINAL CTA — COLOR SCHEME OVERRIDE
    Light warm background, maroon text, glowing button
    ============================== */
.cta {
  background: #F7F9FB !important;
  border-top: 1px solid rgba(141,38,58,0.10) !important;
}
.cta::before {
  background: radial-gradient(ellipse at 50% 40%, rgba(141,38,58,0.08) 0%, rgba(141,38,58,0.03) 40%, transparent 70%) !important;
  opacity: 1 !important;
  pointer-events: none !important;
}
.cta .cta-in {
  position: relative;
  z-index: 1;
}
.cta .cta-in .eyebrow,
.cta .cta-in [data-screen-label] .eyebrow,
.cta .cta-in .d-xl {
  color: var(--color-primary) !important;
}
.cta .cta-in h2 {
  color: #3A1A20 !important;
}
.cta .cta-in h2 em {
  color: var(--color-primary) !important;
  font-style: inherit !important;
}
.cta .cta-in .cta-sub {
  color: #4a4f5e !important;
}
.cta .cta-in .bullet,
.cta .cta-in .cta-sub .bullet {
  color: var(--color-primary) !important;
}
.cta .hero-cta {
  display: flex;
  gap: var(--space-16);
  justify-content: center;
  align-items: center;
  margin-top: var(--space-32);
}
.cta a.btn.btn-solid,
.cta a.btn.btn-solid:link,
.cta a.btn.btn-solid:visited {
  background: var(--color-primary) !important;
  color: #FFFFFF !important;
  border: 1px solid var(--color-primary) !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 20px rgba(141,38,58,0.35) !important;
  transition: all 0.25s ease !important;
}
.cta a.btn.btn-solid:hover,
.cta a.btn.btn-solid:focus {
  background: var(--color-primary-active) !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 32px rgba(141,38,58,0.45), 0 0 24px rgba(141,38,58,0.25) !important;
  transform: translateY(-2px) !important;
}
.cta a.btn.btn-solid:active {
  transform: translateY(0) !important;
  box-shadow: 0 4px 16px rgba(141,38,58,0.3) !important;
}
.cta a.btn.btn-line,
.cta a.btn.btn-line:link,
.cta a.btn.btn-line:visited {
  background: #FFFFFF !important;
  color: var(--color-ink) !important;
  border: 1px solid rgba(0,0,0,0.12) !important;
  border-radius: 8px !important;
  transition: all 0.25s ease !important;
}
.cta a.btn.btn-line:hover,
.cta a.btn.btn-line:focus {
  background: #F0F0F0 !important;
  color: var(--color-ink) !important;
  transform: translateY(-2px) !important;
}
.cta a.btn.btn-line:active {
  transform: translateY(0) !important;
}

/* ==============================
   12. FOOTER — Reference layout
   ============================== */
/* Desktop: brand column on left, 4 nav columns on right */
.foot-in {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(0, 2fr);
  gap: 48px;
  align-items: start;
}
.foot-brand { max-width: 320px; }
.foot-brand p { color: var(--color-muted); font-size: var(--body-sm-size, 14px); margin-top: 16px; max-width: 280px; line-height: 1.5; }

.foot-cols {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: start;
}
.foot-cols > div { min-width: 0; }
.foot-cols div a { display: block; padding: 4px 0; line-height: 1.6; word-wrap: break-word; font-size: 13px; color: var(--color-muted); white-space: nowrap; }
.foot-cols div a:hover { color: var(--color-ink); }
.foot-cols .eyebrow { margin-bottom: 14px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; }
.foot-base,
.foot-base *,
.foot-base a,
.foot-base span { color: var(--color-muted) !important; }

/* === FOOTER: single white background, no divider === */
.foot { background: #fff !important; border-top: none !important; }
.foot-in { background: #fff !important; }
.foot-base { border-top: none !important; }

/* Force white background on Elementor wrappers around the footer */
.elementor-location-footer,
.elementor-location-footer .elementor-section,
.elementor-location-footer .elementor-container,
.elementor-location-footer .elementor-column,
.elementor-location-footer .elementor-column-wrap,
.elementor-location-footer .elementor-widget-wrap {
  background: #fff !important;
}

/* Social icons in brand column */
.foot-social { display: flex; gap: 10px; margin-top: 20px; }
.foot-social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--color-canvas-deep, #F7F9FB);
  color: var(--color-muted, #8a909e);
  transition: color 0.2s, background 0.2s;
  border: 1px solid var(--color-hairline, rgba(0,0,0,0.08));
}
.foot-social-icon:hover { color: var(--color-primary, #8D263A); background: rgba(141,38,58,0.08); }
.foot-social-icon svg { display: block; }

/* Tablet: 2 columns of nav */
@media (max-width: 1024px) {
  .foot-in { grid-template-columns: 1fr; gap: 40px; }
  .foot-brand { max-width: 100%; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}

/* Mobile: stack everything vertically */
@media (max-width: 860px) {
  .foot-in { grid-template-columns: 1fr; gap: 36px; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .foot-social { justify-content: flex-start; margin-top: 16px; }
}
@media (max-width: 480px) {
  .foot-cols { grid-template-columns: 1fr; gap: 24px; }
  .foot-cols > div { margin-bottom: 4px; }
  .foot-cols .eyebrow { margin-bottom: 10px; }
  .foot-social { gap: 8px; }
  .foot-social-icon { width: 34px; height: 34px; }
}

/* Footer accordion headers (desktop/tablet: look like the previous eyebrow) */
.foot-nav-col .foot-acc {
  display: block;
  width: 100%;
  margin-bottom: 14px;
  padding: 0;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--font-mono, "JetBrains Mono", ui-monospace, monospace);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  cursor: default;
}
.foot-nav-col .foot-acc:focus-visible { outline-offset: 2px; }
.foot-nav-col .foot-acc-icon { display: none; }
.foot-acc-panel { display: block; }

/* Mobile ONLY (≤860px): compact accordion navigation */
@media (max-width: 860px) {
  .foot-cols { grid-template-columns: 1fr; gap: 0; }
  .foot-nav-col {
    border-bottom: 1px solid var(--color-hairline, rgba(0,0,0,0.08));
    margin-bottom: 0;
  }
  .foot-nav-col:last-child { border-bottom: 0; }
  .foot-nav-col .foot-acc {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 14px 2px;
    cursor: pointer;
  }
  .foot-acc-icon {
    display: block;
    position: relative;
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    margin-left: 12px;
  }
  .foot-acc-icon::before,
  .foot-acc-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: currentColor;
    border-radius: 1px;
  }
  .foot-acc-icon::before { width: 12px; height: 2px; }
  .foot-acc-icon::after { width: 2px; height: 12px; transition: transform 0.22s ease; }
  .foot-acc[aria-expanded="true"] .foot-acc-icon::after { transform: translate(-50%, -50%) scaleY(0); }
  .foot-acc-panel {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.22s ease;
  }
  .foot-acc[aria-expanded="true"] + .foot-acc-panel { grid-template-rows: 1fr; }
  .foot-acc-links {
    min-height: 0;
    overflow: hidden;
    padding: 0 2px 10px;
  }
  .foot-acc-links a {
    display: block;
    padding: 9px 2px;
    line-height: 1.5;
    font-size: 13px;
    color: var(--color-muted);
    white-space: normal;
  }
  .foot-acc-links a:hover { color: var(--color-ink); }
}

/* Mobile ONLY (≤860px): tighten gap above bottom row + stack the two text blocks */
@media (max-width: 860px) {
  .foot-base {
    margin-top: 24px;
    padding-top: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* Mobile ONLY (≤860px): collapse inner padding of closed accordion panels + tighter footer bottom */
@media (max-width: 860px) {
  .foot-acc-links { padding: 0 2px !important; }
  .foot-nav-col:last-child { margin-bottom: 0 !important; }
  .foot { padding-bottom: 12px !important; }
  .foot-base { margin-top: 10px !important; padding-top: 0 !important; }
}

/* ==============================
   13. PRINT
   ============================== */
@media print {
  :root {
    --color-canvas: #FFFFFF;
    --color-canvas-deep: #FFFFFF;
    --color-ink: #111218;
    --color-body: #4a4f5e;
    --color-primary: #8D263A;
    --color-hairline: rgba(0,0,0,0.08);
  }
}
