/* =====================================================================
   BUILDING BLOCKS (for every public page - use these, don't restyle them)
   ---------------------------------------------------------------------
   Sections   .band (vertical padding)  + .band-tint | .band-tint-2 |
              .band-tint-3 (lavender tints) | .band-dark (aubergine) |
              .band-brand (solid #602874, white text). Legacy: .section,
              .section-alt (= tint), .section-dark (= dark).
   Headings   h1/h2 Segoe UI Semibold; .section-head (+ .left) with
              .eyebrow, h2, .section-lead; .lead. .grad-text = purple word.
   Buttons    .btn + .btn-primary (solid purple) | .btn-secondary
              (purple outline) | .btn-ghost | .btn-light | .btn-white-outline;
              .btn-sm / .btn-lg / .btn-block. .link-arrow = "Learn more >".
   Media card .mcard  (white, 24px radius, Fluent shadow, 10px inset)
                .mcard-media  (rounded 16:9 panel; <img> inside = cover)
                .mcard-media.art (CSS art bg from --accent, put anything inside)
                .mcard-body > .mcard-eyebrow? .mcard-title .mcard-text .mcard-link
              Use <a class="mcard"> for whole-card links.
   Grids      .mgrid (3 cols) | .mgrid-2 | .mgrid-4 (responsive, 24px gap);
              also .grid .grid-2/3/4, .split, .product-grid.
   Motion     [data-reveal] = fade-up on scroll. [data-stagger] on a grid =
              children reveal in sequence. .counter[data-count="120"]
              (optional data-suffix="+", data-from) counts up when visible.
              All motion is disabled under prefers-reduced-motion and
              content is visible without JS.
   Other      .card .icon-badge (+ .solid) .chip .check-list .stat-grid .stat
              .steps .step .faq .cta-band .testimonial-grid .work-grid/.work-card
              .marquee > .marquee-track > ul (+ duplicate ul aria-hidden).
   Colour     --brand #602874, --brand-hover #4c1f5d, --tint-lavender*,
              --band-dark; product pages set --accent on a wrapper.
   ===================================================================== */

/* =====================================================================
   DV Soft - public design system (2026 refresh)
   System UI fonts: Segoe UI (Windows, as on microsoft.com), San Francisco
   (Apple), Roboto (Android). Light display headings, no web-font download. Calm monochrome UI, hairline borders, one accent.
   Breakpoints: 991 (nav), 960, 720, 480.
   ===================================================================== */


/* ---------------------------------------------------------------------
   1. Tokens
   ------------------------------------------------------------------- */
:root {
  --brand: #602874;
  --brand-600: #521f64;
  --brand-700: #43194f;
  --brand-400: #8a4ba3;
  --brand-300: #b590c6;
  --brand-200: #ddcbe6;
  --brand-100: #efe7f4;
  --brand-50: #f8f4fa;
  --brand-glow: rgba(96, 40, 116, .14);

  --ink: #0b0a10;
  --ink-2: #131218;
  --ink-3: #1d1b24;
  --text: #2b2934;
  --text-2: #45424f;
  --muted: #6c6977;
  --subtle: #716e7b; /* 4.5:1 on --bg-tint (was #9a97a3) */
  --border: #ececf0;
  --border-strong: #dedde4;
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --bg-tint: #f4f4f6;

  --success: #12805a;
  --success-bg: #effaf4;
  --danger: #c0352b;
  --danger-bg: #fdf1f0;
  --info: #2557c7;
  --info-bg: #f0f4fd;
  --warn: #946200;
  --warn-bg: #fdf6e3;

  --accent: var(--brand);

  --font: "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI Variable", "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: var(--font-display);
  --mono: "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;

  --w-regular: 400;
  --w-medium: 500;
  --w-semi: 600;
  --w-display: 300;

  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(16, 14, 24, .04);
  --shadow-sm: 0 1px 2px rgba(16, 14, 24, .04), 0 2px 6px rgba(16, 14, 24, .04);
  --shadow: 0 1px 2px rgba(16, 14, 24, .04), 0 8px 24px -8px rgba(16, 14, 24, .08);
  --shadow-lg: 0 1px 3px rgba(16, 14, 24, .05), 0 24px 48px -20px rgba(16, 14, 24, .16);
  --shadow-brand: 0 8px 24px -10px rgba(96, 40, 116, .45);

  --grad-brand: linear-gradient(135deg, #602874 0%, #7d3b96 100%);
  --grad-text: linear-gradient(100deg, #602874 0%, #8a4ba3 100%);
  --grad-dark: radial-gradient(900px 420px at 80% -20%, rgba(138, 75, 163, .16), transparent 65%), #0b0a10;

  --container: 1200px;
  --container-narrow: 840px;
  --gutter: 24px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------------------------------------------------------------------
   2. Base / reset
   ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  font-weight: var(--w-regular);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--brand-700); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; color: var(--ink); font-family: var(--font-display); font-weight: var(--w-semi); line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4.1rem); font-weight: var(--w-display); letter-spacing: -.02em; line-height: 1.08; }
h2 { font-size: clamp(1.85rem, 1.3rem + 2vw, 2.85rem); font-weight: var(--w-display); letter-spacing: -.015em; line-height: 1.14; }
h3 { font-size: 1.12rem; letter-spacing: -.012em; line-height: 1.35; }
h4 { font-size: 1rem; }
h1, h2 { text-wrap: balance; }
.lead, .section-lead { text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
strong, b { font-weight: var(--w-semi); }
small { font-size: .85em; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
input, select, textarea { font: inherit; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--brand-100); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: var(--w-medium); transition: top .2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------------
   3. Layout
   ------------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { width: 100%; max-width: calc(var(--container-narrow) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container .container-narrow { padding: 0; }
.section { padding: clamp(52px, 4vw + 24px, 92px) 0; position: relative; }
.section-sm, .section.section-sm { padding: clamp(32px, 2.5vw + 16px, 56px) 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-alt + .section-alt { border-top: 0; }
.section-dark { background: var(--grad-dark); color: rgba(255, 255, 255, .7); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #f4f3f7; }
.section-dark .eyebrow { color: rgba(255, 255, 255, .6); border-color: rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .03); }
.section-dark .eyebrow::before { background: var(--brand-300); box-shadow: 0 0 0 3px rgba(181, 144, 198, .18); }
.section-dark .section-lead, .section-dark .lead, .section-dark .text-muted { color: rgba(255, 255, 255, .6); }
.section-dark a:not(.btn) { color: #ddcbe6; }
.section-dark .card { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .72); box-shadow: none; }
.section-dark .card p { color: rgba(255, 255, 255, .6); }

/* ---------------------------------------------------------------------
   4. Typography helpers
   ------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 20px; padding: 5px 11px 5px 9px;
  font-family: var(--mono); font-size: .7rem; font-weight: var(--w-medium); letter-spacing: .08em; line-height: 1.4;
  text-transform: uppercase; color: var(--text-2);
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-pill);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px var(--brand-glow); flex: none; }
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 3vw + 20px, 64px); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { margin-bottom: 16px; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head.left .eyebrow { justify-content: flex-start; }
.section-lead { font-size: clamp(1rem, .96rem + .25vw, 1.125rem); color: var(--muted); margin: 0; line-height: 1.6; }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem); line-height: 1.6; color: var(--muted); }
.text-muted { color: var(--muted); }
/* Accent words: same font and weight, brand colour only */
.grad-text {
  font: inherit; letter-spacing: inherit; color: var(--brand);
}
.section-dark .grad-text, .cta-band .grad-text, .way-card-dark .grad-text, .p-team .grad-text { color: #d9c3e6; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mono { font-family: var(--mono); }

/* ---------------------------------------------------------------------
   5. Buttons
   ------------------------------------------------------------------- */
.btn {
  --btn-bg: transparent; --btn-color: var(--ink); --btn-border: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; min-height: 42px;
  font-family: var(--font); font-size: .92rem; font-weight: var(--w-medium); line-height: 1.2; letter-spacing: -.005em;
  color: var(--btn-color); background: var(--btn-bg); border: 1px solid var(--btn-border);
  border-radius: 10px; cursor: pointer; text-align: center; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { color: var(--btn-color); }
.btn:active { transform: translateY(1px); }
.btn i { font-size: .85em; transition: transform .2s var(--ease); }
.btn:hover .fa-arrow-right { transform: translateX(2px); }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }

.btn-primary { --btn-bg: var(--ink); --btn-color: #fff; --btn-border: var(--ink); box-shadow: 0 1px 2px rgba(16, 14, 24, .2), inset 0 1px 0 rgba(255, 255, 255, .1); }
.btn-primary:hover { --btn-bg: #24222c; --btn-border: #24222c; }
.btn-secondary { --btn-bg: #fff; --btn-color: var(--ink); --btn-border: var(--border-strong); box-shadow: var(--shadow-xs); }
.btn-secondary:hover { --btn-border: #c9c7d1; background: var(--bg-soft); }
.btn-ghost { --btn-bg: transparent; --btn-color: var(--text-2); --btn-border: transparent; }
.btn-ghost:hover { background: var(--bg-tint); --btn-color: var(--ink); }
.btn-light { --btn-bg: #fff; --btn-color: var(--ink); --btn-border: #fff; }
.btn-light:hover { --btn-bg: #efeef3; --btn-border: #efeef3; }
.btn-white-outline { --btn-bg: rgba(255, 255, 255, .03); --btn-color: #fff; --btn-border: rgba(255, 255, 255, .2); }
.btn-white-outline:hover { --btn-bg: rgba(255, 255, 255, .08); --btn-border: rgba(255, 255, 255, .36); --btn-color: #fff; }
.btn-sm { padding: 7px 13px; min-height: 34px; font-size: .85rem; border-radius: 8px; }
.btn-lg { padding: 13px 22px; min-height: 48px; font-size: .97rem; border-radius: 11px; }
.btn-block { display: flex; width: 100%; }
.btn-accent { --btn-bg: var(--accent); --btn-color: #fff; --btn-border: var(--accent); }
.btn-accent:hover { --btn-bg: color-mix(in srgb, var(--accent) 86%, #000); --btn-border: color-mix(in srgb, var(--accent) 86%, #000); }
.btn-brand { --btn-bg: var(--brand); --btn-color: #fff; --btn-border: var(--brand); }
.btn-brand:hover { --btn-bg: var(--brand-600); --btn-border: var(--brand-600); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: var(--w-medium); color: var(--ink); }
.link-arrow i { font-size: .78em; transition: transform .2s var(--ease); color: var(--muted); }
.link-arrow:hover { color: var(--brand); }
.link-arrow:hover i { transform: translateX(3px); color: currentColor; }

/* ---------------------------------------------------------------------
   6. Grids
   ------------------------------------------------------------------- */
.grid { display: grid; gap: clamp(14px, 1vw + 8px, 20px); grid-template-columns: minmax(0, 1fr); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw + 8px, 80px); align-items: start; }
.split > * { min-width: 0; }
.split-center { align-items: center; }
@media (max-width: 991px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------------
   7. Cards, badges, chips, lists
   ------------------------------------------------------------------- */
.card {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(22px, 1.4vw + 14px, 30px);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); }
.card > :last-child { margin-bottom: 0; }
.card-hover { transition: border-color .2s ease, box-shadow .25s ease, transform .25s var(--ease); }
.card-hover:hover { border-color: var(--border-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
a.card { display: block; color: inherit; }
a.card:hover { color: inherit; }

.icon-badge {
  --accent-ink: color-mix(in srgb, var(--accent) 82%, #000);
  display: inline-grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 11px; font-size: 1.05rem;
  color: var(--accent-ink, var(--brand));
  background: #fff; border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(16, 14, 24, .05), inset 0 -1px 0 rgba(16, 14, 24, .03);
}
.icon-badge.lg { width: 56px; height: 56px; font-size: 1.35rem; border-radius: 14px; }
.icon-badge.sm { width: 34px; height: 34px; font-size: .88rem; border-radius: 9px; }
.icon-badge.solid { color: #fff; background: var(--accent, var(--brand)); border-color: transparent; box-shadow: 0 1px 2px rgba(16, 14, 24, .15), inset 0 1px 0 rgba(255, 255, 255, .15); }
.card .icon-badge { margin-bottom: 20px; }
.section-dark .icon-badge:not(.solid) { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); color: #e6d6ee; box-shadow: none; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: var(--radius-pill);
  font-size: .74rem; font-weight: var(--w-medium); line-height: 1.5; white-space: nowrap;
  color: var(--text-2); background: #fff; border: 1px solid var(--border);
}
.chip i { font-size: .85em; }
.chip-soon { color: var(--warn); background: var(--warn-bg); border-color: #f1e2b8; }
.chip-live { color: var(--success); background: var(--success-bg); border-color: #cdebdc; }
.chip-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(18, 128, 90, .15); }
.section-dark .chip { color: rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }

.check-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; color: var(--text-2); line-height: 1.5; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .16em; width: 18px; height: 18px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23602874' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center / 12px no-repeat;
  border: 1px solid var(--border-strong);
}
.section-dark .check-list li, .way-card-dark .check-list li { color: rgba(255, 255, 255, .78); }
.section-dark .check-list li::before, .way-card-dark .check-list li::before { background-color: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23d9c3e6' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E"); }

/* ---------------------------------------------------------------------
   8. Forms
   ------------------------------------------------------------------- */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: clamp(22px, 2vw + 12px, 40px); box-shadow: var(--shadow); }
.form-card h2, .form-card h3 { margin-bottom: 6px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label { font-size: .86rem; font-weight: var(--w-medium); color: var(--ink); }
.field label .req, .field .req { color: var(--danger); margin-left: 2px; }
.field input, .field select, .field textarea,
.form-card input[type="text"], .form-card input[type="email"], .form-card input[type="tel"], .form-card input[type="number"], .form-card select, .form-card textarea {
  width: 100%; padding: 11px 13px; min-height: 44px;
  font-size: .95rem; color: var(--ink); background: #fff;
  border: 1px solid var(--border-strong); border-radius: 10px;
  box-shadow: var(--shadow-xs); transition: border-color .15s ease, box-shadow .15s ease;
  appearance: none; -webkit-appearance: none;
}
.field textarea, .form-card textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.field select, .form-card select {
  padding-right: 40px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%236c6977' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8l4 4 4-4'/%3E%3C/svg%3E") right 12px center / 18px no-repeat;
}
.field input::placeholder, .field textarea::placeholder { color: var(--subtle); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #c9c7d1; }
.field input:focus, .field select:focus, .field textarea:focus,
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-glow); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"], .field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field input[type="checkbox"], .field input[type="radio"] { width: 18px; height: 18px; min-height: 0; padding: 0; appearance: auto; -webkit-appearance: auto; box-shadow: none; accent-color: var(--brand); }
.field .check { display: flex; gap: 10px; align-items: flex-start; font-weight: var(--w-regular); }
.field-error { font-size: .82rem; font-weight: var(--w-medium); color: var(--danger); margin: 0; }
.field-hint { font-size: .82rem; color: var(--muted); margin: 0; }
.form-note { font-size: .84rem; color: var(--muted); margin: 14px 0 0; }
.form-note i { color: var(--brand); margin-right: 4px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }
.hp { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0; }
/* Math captcha (includes/formguard.php captcha_field) */
.captcha-field { padding: 14px 16px 12px; background: var(--tint-lavender, #f6f1f9); border: 1px solid #e7dcef; border-radius: 12px; }
.captcha-field label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; }
.captcha-field .captcha-prefix { color: var(--text-2); font-weight: var(--w-medium); }
.captcha-field .captcha-q { font-size: 1rem; font-weight: 700; color: var(--ink); letter-spacing: .01em; white-space: nowrap; }
.captcha-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.field .captcha-row input.captcha-input, .captcha-row input.captcha-input { width: 120px; max-width: 100%; flex: none; font-size: 1.05rem; font-weight: 600; text-align: center; letter-spacing: .06em; }
.captcha-new { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 4px; font-size: .88rem; font-weight: var(--w-medium); color: var(--brand); text-decoration: underline; text-underline-offset: 3px; border-radius: 8px; }
.captcha-new:hover { color: #4a1d5a; }
.captcha-new:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.captcha-new[aria-busy="true"] i { animation: fg-spin .8s linear infinite; }
.captcha-field .captcha-hint { margin-top: 2px; }
.field-counter { text-align: right; }
.field-counter.is-near { color: #8e4a00; }
@keyframes fg-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .captcha-new[aria-busy="true"] i { animation: none; } }
@media (max-width: 640px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------------
   9. Alerts
   ------------------------------------------------------------------- */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 13px 16px; margin: 0 0 20px; border-radius: var(--radius); border: 1px solid transparent; font-size: .93rem; line-height: 1.5; }
.alert > i { margin-top: 3px; }
.alert ul { margin: 6px 0 0; padding-left: 1.1em; }
.alert-success { color: #0d5e41; background: var(--success-bg); border-color: #cdebdc; }
.alert-error { color: #8e231c; background: var(--danger-bg); border-color: #f4d3cf; }
.alert-info { color: #1c438f; background: var(--info-bg); border-color: #d6e1f8; }
.alert-warning { color: #6f4a00; background: var(--warn-bg); border-color: #f1e2b8; }

/* ---------------------------------------------------------------------
   10. Header: utility bar, glass nav, mega menus, mobile drawer
   ------------------------------------------------------------------- */
.topbar { background: var(--bg-soft); color: var(--muted); font-size: .8rem; border-bottom: 1px solid var(--border); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar-contacts, .topbar-right { display: flex; align-items: center; gap: 20px; min-width: 0; }
.topbar a { color: var(--muted); display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--ink); }
.topbar i { color: var(--subtle); font-size: .88em; }
.topbar-contacts a { white-space: nowrap; }
.topbar-note .dot { width: 6px; height: 6px; border-radius: 50%; background: #22b07d; box-shadow: 0 0 0 3px rgba(34, 176, 125, .16); }
.social-row { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.topbar .social-row a { width: 28px; height: 28px; justify-content: center; border-radius: 7px; }
.topbar .social-row a:hover { background: var(--bg-tint); }
.topbar .social-row i { color: inherit; }
@media (max-width: 860px) {
  .topbar .topbar-note, .topbar .social-row { display: none; }
  .topbar-inner { justify-content: center; }
}
@media (max-width: 420px) { .topbar-contacts .tb-email span { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s ease, background-color .25s ease;
}
.site-header.is-scrolled { background: rgba(255, 255, 255, .86); box-shadow: 0 1px 0 rgba(16, 14, 24, .02), 0 8px 24px -16px rgba(16, 14, 24, .14); }
.nav-shell { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 38px; width: auto; }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 24px; min-width: 0; }
.nav-list { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 8px; border: 0; background: none; cursor: pointer;
  font-size: .9rem; font-weight: var(--w-medium); color: var(--text-2); white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}
.nav-link:hover, .nav-item.is-open > .nav-link { color: var(--ink); background: rgba(16, 14, 24, .04); }
.nav-link.is-active { color: var(--ink); }
.nav-link .chev { font-size: .6rem; opacity: .5; transition: transform .2s ease; }
.nav-item.is-open > .nav-link .chev { transform: rotate(180deg); }
.nav-actions { margin-left: 8px; display: flex; align-items: center; gap: 10px; flex: none; }
.nav-drawer-head, .nav-drawer-foot { display: none; }

.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border); background: #fff; cursor: pointer; place-items: center; }
.nav-toggle-bars { position: relative; width: 16px; height: 10px; }
.nav-toggle-bars span { position: absolute; left: 0; width: 100%; height: 1.5px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s ease, top .25s var(--ease); }
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 4.25px; }
.nav-toggle-bars span:nth-child(3) { top: 8.5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { top: 4.25px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { top: 4.25px; transform: rotate(-45deg); }

/* Mega panels (desktop): wide panels anchored under the header bar */
.mega {
  position: absolute; z-index: 120; top: calc(100% + 6px); left: 0; right: 0;
  background: rgba(255, 255, 255, .98); border: 1px solid var(--border); border-radius: var(--radius-xl);
  box-shadow: 0 1px 2px rgba(16, 14, 24, .04), 0 24px 60px -24px rgba(16, 14, 24, .22);
  opacity: 0; visibility: hidden; transform: translateY(6px) scale(.995); transform-origin: top center;
  transition: opacity .18s ease, transform .22s var(--ease), visibility 0s linear .22s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; } /* hover bridge */
.nav-item.is-open > .mega,
html:not(.js-on) .nav-item:hover > .mega,
html:not(.js-on) .nav-item:focus-within > .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-inner { display: grid; grid-template-columns: minmax(0, 1fr) 290px; }
.mega-main { padding: 24px; min-width: 0; }
.mega-cols { display: grid; gap: 8px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mega-cols.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega-col { min-width: 0; }
.mega-label { display: flex; align-items: center; gap: 8px; margin: 0 10px 12px; font-family: var(--mono); font-size: .68rem; font-weight: var(--w-medium); letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); }
.mega-label i { display: none; }
.mega-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; grid-template-columns: minmax(0, 1fr); }
.mega-list.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mega-list.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega-link { display: flex; align-items: flex-start; gap: 12px; padding: 10px; border-radius: 10px; color: var(--text); transition: background-color .15s ease; }
.mega-link:hover, .mega-link:focus-visible { background: var(--bg-soft); color: var(--text); }
.mega-link .icon-badge { width: 36px; height: 36px; border-radius: 9px; font-size: .9rem; transition: border-color .2s ease; }
.mega-link:hover .icon-badge { border-color: var(--border-strong); }
.mega-link-text { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.mega-link-title { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-size: .9rem; font-weight: var(--w-medium); color: var(--ink); line-height: 1.35; }
.mega-link-title .chip { padding: 0 7px; font-size: .62rem; }
.mega-link-meta { font-family: var(--mono); font-size: .62rem; font-weight: var(--w-medium); letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); }
.mega-link-desc { font-size: .8rem; color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.mega-aside { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; background: var(--bg-soft); border-left: 1px solid var(--border); border-radius: 0 var(--radius-xl) var(--radius-xl) 0; }
.mega-aside-kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .68rem; font-weight: var(--w-medium); letter-spacing: .06em; text-transform: uppercase; color: var(--success); }
.mega-aside-kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(18, 128, 90, .15); }
.mega-aside h3, .mega-aside .mega-aside-title { font-size: 1rem; margin: 0; color: var(--ink); font-weight: var(--w-semi); line-height: 1.35; letter-spacing: -.015em; }
.mega-aside p { font-size: .83rem; color: var(--muted); margin: 0; line-height: 1.55; }
.mega-aside .mega-label { margin: 0; }
.mega-aside .btn { justify-content: center; }
.mega-aside .link-arrow { font-size: .86rem; }
.mega-aside-links { display: grid; gap: 10px; margin-top: auto; padding-top: 10px; }
.mega-perks { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 8px; }
.mega-perks li { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: var(--w-medium); color: var(--text-2); }
.mega-perks i { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 6px; font-size: .64rem; color: var(--brand); background: #fff; border: 1px solid var(--border); }
.mega-link-custom .icon-badge { border-style: dashed; border-color: var(--border-strong); box-shadow: none; }
/* Products panel: "By industry" (two sub-columns) | "By business function" */
.mega-pgroups { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px 16px; }
.mega-pgroups > .is-wide { grid-column: span 2; }
.mega-pgroups > .mega-col + .mega-col { padding-left: 16px; border-left: 1px solid var(--border); }
.mega-pgroups .mega-list.cols-2 { gap: 2px 8px; }

/* Company panel extras */
.mega-highlight { padding: 20px; border-radius: 14px; background: #fff; border: 1px solid var(--border); height: 100%; display: flex; flex-direction: column; gap: 16px; }
.mega-highlight-title { font-size: .9rem; font-weight: var(--w-medium); color: var(--ink); margin: 0; line-height: 1.5; }
.mega-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--border); }
.mega-stats div { padding: 12px 0 0; }
.mega-stats div:nth-child(n+3) { padding-top: 12px; }
.mega-stats dt { font-size: 1.3rem; font-weight: var(--w-medium); letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
.mega-stats dd { margin: 2px 0 0; font-size: .74rem; color: var(--muted); line-height: 1.35; }
.mega-quote { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.mega-quote .stars { margin: 0; font-size: .7rem; }
.mega-quote blockquote { margin: 0; font-family: var(--font-serif); font-size: 1.12rem; line-height: 1.4; color: var(--ink); }
.mega-quote blockquote::before { content: "\201C"; }
.mega-quote blockquote::after { content: "\201D"; }
.mega-quote figcaption { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--muted); line-height: 1.35; }
.mega-quote figcaption strong { display: block; color: var(--ink); font-size: .82rem; font-weight: var(--w-medium); }
.mega-quote .avatar { width: 32px; height: 32px; font-size: .7rem; }

/* Contact panel extras */
.mega-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega-contact a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; color: var(--text); }
.mega-contact a:hover { background: var(--bg-soft); color: var(--text); }
.mega-contact small { display: block; font-family: var(--mono); font-size: .62rem; font-weight: var(--w-medium); letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); }
.mega-contact strong { display: block; font-size: .9rem; font-weight: var(--w-medium); color: var(--ink); overflow-wrap: anywhere; line-height: 1.35; }
.mega-address { font-size: .84rem; color: var(--text-2); line-height: 1.55; }
.mega-hours { display: flex; align-items: flex-start; gap: 8px; font-size: .8rem; color: var(--muted); }
.mega-hours i { color: var(--subtle); margin-top: 3px; }

@media (max-width: 1240px) and (min-width: 992px) {
  .mega-inner { grid-template-columns: minmax(0, 1fr) 250px; }
  .mega-list.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mega-cols.cols-3 { gap: 8px 10px; }
}
@media (min-width: 992px) {
  .nav-shell { position: relative; }
  .nav-item { position: static; }
}

/* Mobile drawer (< 992px): same content as an accordion */
.nav-backdrop { display: none; }
@media (max-width: 991px) {
  :root { --header-h: 62px; }
  /* backdrop-filter would make the fixed drawer relative to the header */
  .site-header, .site-header.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
  .brand img { height: 34px; }
  .nav-toggle { display: grid; margin-left: 0; }
  .nav-actions { margin-left: auto; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 210;
    width: min(420px, 100%); flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-left: 1px solid var(--border); box-shadow: -24px 0 60px -24px rgba(16, 14, 24, .3);
    transform: translateX(100%); visibility: hidden;
    transition: transform .32s var(--ease), visibility 0s linear .32s;
    overflow-y: auto; overscroll-behavior: contain;
  }
  .main-nav.is-open { transform: translateX(0); visibility: visible; transition-delay: 0s; }
  .nav-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: #fff; z-index: 2; }
  .nav-drawer-head img { height: 32px; width: auto; }
  .nav-close { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); background: #fff; cursor: pointer; display: grid; place-items: center; font-size: 1rem; color: var(--ink); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 4px 14px; }
  .nav-item { border-bottom: 1px solid var(--border); }
  .nav-item:last-child { border-bottom: 0; }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 8px; font-size: 1rem; border-radius: 10px; color: var(--ink); }
  .nav-link:hover, .nav-item.is-open > .nav-link { background: transparent; color: var(--ink); }
  .mega { position: static; border: 0; border-radius: 0; box-shadow: none; background: transparent; opacity: 1; visibility: visible; transform: none; transition: none; display: none; padding: 0 0 14px; }
  .mega::before { display: none; }
  .nav-item.is-open > .mega { display: block; }
  .mega-inner { display: block; }
  .mega-main { padding: 0; }
  .mega-cols, .mega-cols.cols-3, .mega-list.cols-2, .mega-list.cols-3 { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .mega-pgroups { grid-auto-flow: row; }
  .mega-pgroups > .is-wide { grid-column: auto; }
  .mega-pgroups > .mega-col + .mega-col { padding-left: 0; border-left: 0; }
  .mega-label { margin: 10px 8px 4px; }
  .mega-link { padding: 9px 8px; }
  .mega-link-desc { -webkit-line-clamp: 1; }
  .mega-link-meta { display: none; }
  .mega-aside { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 14px; padding: 16px; margin-top: 10px; }
  .mega-aside .mega-quote, .mega-hide-sm { display: none; }
  .mega-highlight { margin: 6px 0 0; }
  .nav-drawer-foot { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding: 20px; border-top: 1px solid var(--border); background: var(--bg-soft); }
  .nav-drawer-contact { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; font-size: .88rem; }
  .nav-drawer-contact a { color: var(--text-2); display: inline-flex; gap: 10px; align-items: center; }
  .nav-drawer-contact i { color: var(--subtle); width: 16px; }
  .nav-backdrop { display: block; position: fixed; inset: 0; z-index: 200; background: rgba(11, 10, 16, .32); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s; }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
}
@media (max-width: 480px) {
  .nav-actions .btn { padding: 7px 11px; }
  .nav-shell { gap: 12px; }
}
@media (max-width: 359px) {
  .nav-actions { display: none; }
  .nav-toggle { margin-left: auto; }
}

/* ---------------------------------------------------------------------
   11. Page hero + breadcrumbs (inner pages)
   ------------------------------------------------------------------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(40px, 3vw + 20px, 72px) 0 clamp(36px, 2.5vw + 18px, 56px);
  background: radial-gradient(800px 320px at 50% -10%, rgba(138, 75, 163, .07), transparent 70%), #fff;
  border-bottom: 1px solid var(--border);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(16, 14, 24, .1) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .55;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 70% 0%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse 60% 70% at 70% 0%, #000 0%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 860px; font-size: clamp(2.2rem, 1.5rem + 2.8vw, 3.6rem); margin-bottom: 18px; }
.page-hero .lead { max-width: 680px; margin-bottom: 0; }
.page-hero .hero-actions { margin-top: 30px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 28px; font-size: .82rem; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs i { font-size: .55rem; opacity: .5; }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: var(--w-medium); }

/* ---------------------------------------------------------------------
   12. Shared blocks: CTA band, stats, steps, testimonials, FAQ,
       summary box, simple table
   ------------------------------------------------------------------- */
.hero-actions, .cta-actions, .btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: clamp(36px, 3vw + 20px, 64px) clamp(24px, 4vw + 8px, 64px);
  border-radius: var(--radius-xl); color: rgba(255, 255, 255, .7);
  background: var(--ink); border: 1px solid var(--ink-3);
}
.cta-band::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(600px 260px at 100% 0%, rgba(138, 75, 163, .28), transparent 70%), radial-gradient(500px 240px at 0% 120%, rgba(138, 75, 163, .12), transparent 70%); }
.cta-band::after {
  content: ""; position: absolute; z-index: -1; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 90%); mask-image: linear-gradient(90deg, transparent 20%, #000 90%);
}
.cta-band h2 { color: #f4f3f7; font-size: clamp(1.7rem, 1.2rem + 1.7vw, 2.5rem); margin-bottom: 12px; max-width: 640px; }
.cta-band p { margin: 0; max-width: 540px; font-size: 1.02rem; color: rgba(255, 255, 255, .62); }
.cta-band .cta-actions { flex: none; }
@media (max-width: 860px) { .cta-band { flex-direction: column; align-items: flex-start; } }
@media (max-width: 480px) { .cta-band .cta-actions, .cta-band .cta-actions .btn { width: 100%; } }

.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat { padding: clamp(24px, 2vw + 12px, 36px) clamp(16px, 1.5vw + 8px, 28px); border-right: 1px solid var(--border); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat-value { font-size: clamp(2.1rem, 1.6rem + 1.6vw, 3rem); font-weight: var(--w-regular); letter-spacing: -.045em; line-height: 1; color: var(--ink); margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.stat-value small, .stat-value span { font-size: .6em; color: var(--subtle); letter-spacing: -.02em; }
.stat-label { font-size: .88rem; color: var(--muted); line-height: 1.45; }
.section-dark .stat-grid, .section-dark .stat { border-color: rgba(255, 255, 255, .1); }
.section-dark .stat-value { color: #f4f3f7; }
.section-dark .stat-value small, .section-dark .stat-value span { color: rgba(255, 255, 255, .4); }
.section-dark .stat-label { color: rgba(255, 255, 255, .55); }
@media (max-width: 860px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding-left: 0; }
  .stat:nth-child(2n) { border-right: 0; padding-left: 20px; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .section-dark .stat:nth-child(-n+2) { border-bottom-color: rgba(255, 255, 255, .1); }
}

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.step { position: relative; padding: 24px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 26px; padding: 0 8px; margin-bottom: 22px;
  border-radius: 7px; font-family: var(--mono); font-size: .74rem; font-weight: var(--w-medium);
  color: var(--accent-ink, var(--brand)); background: var(--bg-soft); border: 1px solid var(--border);
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }
.section-dark .step { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .08); }
.section-dark .step p { color: rgba(255, 255, 255, .6); }
.section-dark .step-num { color: #ddcbe6; background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1vw + 8px, 20px); align-items: stretch; }
.testimonial-card { display: flex; flex-direction: column; margin: 0; padding: 28px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); transition: border-color .2s ease, box-shadow .25s ease; }
.testimonial-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.stars { display: flex; gap: 2px; margin-bottom: 18px; color: #e9a23b; font-size: .74rem; }
.stars .fa-regular { color: #dcdae2; }
.testimonial-card blockquote { margin: 0 0 24px; flex: 1; font-size: .98rem; line-height: 1.65; color: var(--text-2); }
.testimonial-card blockquote::before { content: "\201C"; }
.testimonial-card blockquote::after { content: "\201D"; }
.testimonial-card figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial-card figcaption > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.testimonial-card figcaption strong { font-size: .9rem; font-weight: var(--w-medium); color: var(--ink); line-height: 1.35; }
.testimonial-card figcaption small { font-size: .8rem; color: var(--muted); line-height: 1.4; }
.avatar { width: 40px; height: 40px; flex: none; border-radius: 50%; object-fit: cover; }
.avatar-initials { display: inline-grid; place-items: center; font-size: .78rem; font-weight: var(--w-medium); letter-spacing: .02em; color: var(--text-2); background: var(--bg-tint); border: 1px solid var(--border); }
@media (max-width: 1000px) { .testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .testimonial-grid { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { position: relative; display: block; cursor: pointer; list-style: none; padding: 20px 48px 20px 0; font-weight: var(--w-medium); font-size: 1.02rem; color: var(--ink); line-height: 1.45; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230b0a10' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M10 5v10M5 10h10'/%3E%3C/svg%3E") center / 12px no-repeat;
  border: 1px solid var(--border-strong); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--brand); }
.faq details > :not(summary) { padding: 0 48px 22px 0; margin: 0; color: var(--muted); }

/* Checkout / receipt summary */
.summary-box { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px 24px; }
.summary-box h3 { font-size: 1rem; margin-bottom: 12px; }
.summary-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--border-strong); font-size: .93rem; }
.summary-row:last-child { border-bottom: 0; }
.summary-row span { color: var(--muted); }
.summary-row strong { color: var(--ink); text-align: right; font-weight: var(--w-medium); overflow-wrap: anywhere; }
.summary-row.total { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--ink); border-bottom: 0; font-size: 1.05rem; }
.summary-row.total span { color: var(--ink); font-weight: var(--w-medium); }
.summary-row.total strong { font-size: 1.3rem; font-weight: var(--w-semi); letter-spacing: -.02em; }

.table-simple { width: 100%; border: 1px solid var(--border); border-radius: var(--radius); border-collapse: separate; border-spacing: 0; overflow: hidden; font-size: .92rem; background: #fff; }
.table-simple th, .table-simple td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.table-simple th { background: var(--bg-soft); font-weight: var(--w-medium); color: var(--ink); font-size: .82rem; }
.table-simple tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------------------------------------------------------------------
   13. Product card (components.php)
   ------------------------------------------------------------------- */
.product-card, .service-tile, .mega-link, .suite-item, .product-page { --accent-ink: color-mix(in srgb, var(--accent) 74%, #000); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1vw + 8px, 20px); }
.product-card {
  position: relative; display: flex; flex-direction: column;
  padding: 26px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: border-color .2s ease, box-shadow .25s ease, transform .25s var(--ease);
}
.product-card::before {
  content: ""; position: absolute; left: 26px; right: 26px; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .55;
}
.product-card::after { content: none; }
.product-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.product-card-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.product-logo { width: 44px; height: 44px; object-fit: contain; border-radius: 11px; background: #fff; border: 1px solid var(--border); padding: 4px; }
.product-card h3 { position: relative; z-index: 1; font-size: 1.15rem; margin-bottom: 4px; }
.product-card h3 a { color: var(--ink); }
.product-card h3 a::after { content: ""; position: absolute; inset: 0; } /* whole-card click target */
.product-card h3 a:hover { color: var(--ink); }
.product-tagline { position: relative; z-index: 1; font-size: .92rem; font-weight: var(--w-medium); color: var(--text-2); margin: 0 0 10px; line-height: 1.45; }
.product-summary { position: relative; z-index: 1; font-size: .9rem; color: var(--muted); line-height: 1.6; margin: 0 0 24px; flex: 1; }
.product-card-foot { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--border); }
.product-price { font-size: .86rem; font-weight: var(--w-medium); color: var(--ink); font-variant-numeric: tabular-nums; }
.product-links { display: inline-flex; align-items: center; gap: 6px; }
.product-links .btn-primary { --btn-bg: #fff; --btn-color: var(--ink); --btn-border: var(--border-strong); box-shadow: var(--shadow-xs); }
.product-links .btn-primary:hover { --btn-bg: var(--ink); --btn-color: #fff; --btn-border: var(--ink); }
.product-links .btn-ghost { width: 34px; padding: 0; border: 1px solid var(--border); }
.product-card .chip:not(.chip-soon) { color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 6%, #fff); border-color: color-mix(in srgb, var(--accent) 16%, #fff); }
.product-card.is-hidden { display: none; }
.product-card-cta { justify-content: center; align-items: flex-start; border-style: dashed; border-color: var(--border-strong); background: var(--bg-soft); --accent: #602874; }
.product-card-cta::before { display: none; }
.product-card-cta h3 { font-size: 1.15rem; margin: 20px 0 8px; }
.product-card-cta p { color: var(--muted); font-size: .9rem; margin-bottom: 22px; }
.product-card-cta:hover { border-color: #c9c7d1; box-shadow: none; transform: none; }
@media (max-width: 1000px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .product-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------------
   14. Home page
   ------------------------------------------------------------------- */
.home-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(40px, 3.5vw + 20px, 80px) 0 clamp(24px, 2vw + 12px, 40px);
  background: radial-gradient(900px 420px at 70% -10%, rgba(138, 75, 163, .09), transparent 65%), #fff;
}
.home-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(16, 14, 24, .13) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 65% 60% at 65% 30%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 65% 60% at 65% 30%, #000 10%, transparent 75%);
}
.home-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 5vw + 8px, 88px); align-items: center; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 4px 12px 4px 4px; margin-bottom: 28px; border-radius: var(--radius-pill);
  font-size: .82rem; font-weight: var(--w-medium); color: var(--text-2);
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-xs);
  max-width: 100%; flex-wrap: nowrap;
}
.hero-pill b { flex: none; white-space: nowrap; padding: 2px 9px; border-radius: var(--radius-pill); font-size: .72rem; font-weight: var(--w-medium); color: var(--success); background: var(--success-bg); border: 1px solid #cdebdc; }
.hero-pill i { font-size: .72em; color: var(--subtle); }
.hero-pill:hover { color: var(--ink); border-color: var(--border-strong); }
.hero-pill-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-hero h1 { margin-bottom: 24px; font-size: clamp(2.5rem, 1.5rem + 4vw, 4.4rem); }
.home-hero .lead { max-width: 560px; margin-bottom: 32px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; padding: 0; list-style: none; font-size: .86rem; color: var(--muted); }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof i { color: var(--subtle); font-size: .9em; }

/* Product suite panel (hero visual) */
.suite { position: relative; }
.suite::before { content: ""; position: absolute; inset: 12% 4% -4% 12%; z-index: -1; border-radius: 40px; background: radial-gradient(closest-side, rgba(138, 75, 163, .22), transparent); filter: blur(40px); }
.suite-window { background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.suite-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.suite-dots { display: flex; gap: 6px; }
.suite-dots span { width: 9px; height: 9px; border-radius: 50%; background: #e2e1e7; }
.suite-title { flex: 1; text-align: center; font-family: var(--mono); font-size: .72rem; color: var(--subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suite-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 8px; }
.suite-head strong { font-size: .9rem; font-weight: var(--w-medium); color: var(--ink); }
.suite-head span { font-size: .76rem; color: var(--muted); }
.suite-list { list-style: none; margin: 0; padding: 4px 10px 12px; }
.suite-item a { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 10px; color: var(--text); transition: background-color .15s ease; }
.suite-item a:hover { background: var(--bg-soft); color: var(--text); }
.suite-item .icon-badge { width: 38px; height: 38px; border-radius: 10px; font-size: .92rem; }
.suite-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.suite-meta strong { font-size: .9rem; font-weight: var(--w-medium); color: var(--ink); line-height: 1.3; }
.suite-meta small { font-size: .77rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suite-foot { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 12px 20px; border-top: 1px solid var(--border); background: var(--bg-soft); font-size: .8rem; color: var(--muted); }
.suite-foot a { font-weight: var(--w-medium); color: var(--ink); }
.suite-float {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 11px 16px 11px 11px; background: rgba(255, 255, 255, .92); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: .78rem; color: var(--muted); line-height: 1.35;
}
.suite-float strong { display: block; font-size: .9rem; font-weight: var(--w-medium); color: var(--ink); }
.suite-float .icon-badge { width: 36px; height: 36px; font-size: .9rem; border-radius: 10px; }
.suite-float-a { left: -32px; bottom: -28px; }
@media (prefers-reduced-motion: no-preference) { .suite-float-a { animation: floaty 7s ease-in-out infinite; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (max-width: 960px) {
  .home-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .suite { max-width: 560px; margin: 0 auto; width: 100%; }
}

/* Client strip */
.client-strip { padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff; }
.client-strip-inner { display: flex; align-items: center; gap: 40px; }
.client-strip-label { flex: none; max-width: 180px; margin: 0; font-family: var(--mono); font-size: .68rem; font-weight: var(--w-medium); line-height: 1.5; color: var(--subtle); text-transform: uppercase; letter-spacing: .08em; }
.client-list { flex: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; list-style: none; margin: 0; padding: 0; }
.client-list li { font-size: 1.05rem; font-weight: var(--w-semi); letter-spacing: -.025em; color: #75727f; white-space: nowrap; transition: color .2s ease; }
.client-list li:hover { color: var(--ink); }
.client-list li em { font-family: var(--font-display); font-style: normal; font-weight: 400; font-size: 1.08em; letter-spacing: 0; }
.client-list a { color: inherit; }
@media (max-width: 860px) {
  .client-strip-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .client-strip-label { max-width: none; }
  .client-list { justify-content: flex-start; gap: 12px 26px; }
  .client-list li { font-size: 1rem; }
}

/* Two ways we work */
.ways-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.5vw + 6px, 24px); }
.way-card { position: relative; overflow: hidden; padding: clamp(28px, 2.5vw + 14px, 44px); border-radius: var(--radius-xl); border: 1px solid var(--border); background: #fff; display: flex; flex-direction: column; }
.way-card h3 { font-size: clamp(1.35rem, 1.15rem + .7vw, 1.7rem); font-weight: var(--w-display); letter-spacing: -.03em; margin-bottom: 10px; }
.way-card > p { color: var(--muted); margin-bottom: 24px; }
.way-card .check-list { margin-bottom: 30px; }
.way-card .btn-row { margin-top: auto; }
.way-tag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; font-family: var(--mono); font-size: .7rem; font-weight: var(--w-medium); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.way-tag i { color: var(--brand); }
.way-card-dark { background: var(--grad-dark); border-color: var(--ink-3); color: rgba(255, 255, 255, .72); }
.way-card-dark h3 { color: #f4f3f7; }
.way-card-dark > p { color: rgba(255, 255, 255, .6); }
.way-card-dark .way-tag { color: rgba(255, 255, 255, .55); }
.way-card-dark .way-tag i { color: var(--brand-300); }
@media (max-width: 640px) { .ways-grid { grid-template-columns: minmax(0, 1fr); } }

/* Service tiles */
.service-tile { display: flex; flex-direction: column; height: 100%; color: inherit; }
.service-tile:hover { color: inherit; }
.service-tile h3 { font-size: 1.04rem; margin-bottom: 6px; }
.service-tile p { font-size: .9rem; flex: 1; margin-bottom: 20px; }
.service-tile .link-arrow { font-size: .86rem; }
.service-tile:hover .link-arrow { color: var(--brand); }
.service-tile:hover .link-arrow i { transform: translateX(3px); color: currentColor; }

/* Section header row */
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: clamp(28px, 2vw + 16px, 44px); }
.head-row .section-head { margin-bottom: 0; }
@media (max-width: 720px) { .head-row { flex-direction: column; align-items: flex-start; } .head-row .section-head { margin-bottom: 0; } }

/* ---------------------------------------------------------------------
   15. Products listing
   ------------------------------------------------------------------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px;
  padding: 8px 16px; border-radius: var(--radius-pill); cursor: pointer;
  font-size: .9rem; font-weight: 500; color: var(--text-2); background: #fff; border: 1px solid var(--border-strong);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.filter-chip:hover { border-color: var(--brand-300); color: var(--brand); }
.filter-chip[aria-pressed="true"] { color: #fff; background: var(--ink); border-color: var(--ink); }
.filter-chip .count { font-size: .76rem; padding: 1px 7px; border-radius: var(--radius-pill); background: var(--bg-tint); color: var(--muted); }
.filter-chip[aria-pressed="true"] .count { background: rgba(255, 255, 255, .16); color: #fff; }
html:not(.js-on) .filter-bar { display: none; }
.filter-empty { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); }

.custom-band { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: clamp(28px, 3vw + 12px, 48px); border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.custom-band h2 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); margin-bottom: 10px; }
.custom-band p { color: var(--muted); }
.custom-band-services { display: flex; flex-wrap: wrap; gap: 8px; }
.custom-band-services a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--bg-soft); font-size: .84rem; font-weight: 500; color: var(--text-2); }
.custom-band-services a:hover { border-color: var(--brand-200); color: var(--brand); background: var(--brand-50); }
.custom-band-services i { color: var(--brand); }
@media (max-width: 860px) { .custom-band { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------------
   16. Product detail page (themed by --accent on .product-page)
   ------------------------------------------------------------------- */
.product-page { --accent-soft: color-mix(in srgb, var(--accent) 9%, #fff); --accent-line: color-mix(in srgb, var(--accent) 22%, #fff); --accent-ink: color-mix(in srgb, var(--accent) 70%, #000); }
.product-page .eyebrow::before { background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
.product-page .icon-badge { --brand: var(--accent); }
.product-page .grad-text { color: var(--accent-ink); }



.p-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(36px, 3vw + 20px, 64px) 0 clamp(56px, 5vw + 24px, 96px);
  background:
    radial-gradient(800px 420px at 85% -15%, color-mix(in srgb, var(--accent) 11%, transparent), transparent 65%),
    #fff;
  border-bottom: 1px solid var(--border);
}
.p-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(16, 14, 24, .12) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 20%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 70% 20%, #000 10%, transparent 75%);
}
.p-hero .breadcrumbs a:hover { color: var(--accent); }
.p-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 4vw + 8px, 64px); align-items: center; }
.p-hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.p-hero .chip { color: var(--accent-ink); background: var(--accent-soft); border-color: var(--accent-line); }
.p-hero .chip-soon { color: var(--warn); background: var(--warn-bg); border-color: #f3dfa6; }
.p-hero .chip-live { color: var(--success); background: var(--success-bg); border-color: #c4ecd9; }
.p-hero-title { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.p-hero-title h1 { margin: 0; font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.4rem); }
.p-hero-title .icon-badge, .p-hero-title .product-logo { width: 60px; height: 60px; border-radius: 16px; font-size: 1.5rem; }
.p-tagline { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); font-weight: 500; line-height: 1.4; color: var(--ink); letter-spacing: -.015em; margin-bottom: 14px; }
.p-summary { color: var(--muted); font-size: 1.04rem; max-width: 560px; margin-bottom: 30px; }

.p-hero-note { margin-top: 18px; font-size: .86rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.p-hero-note i { color: var(--accent); }
.p-hero-media { position: relative; }
.p-hero-media::before { content: ""; position: absolute; inset: 10% -4% -6% 8%; z-index: -1; border-radius: 40px; background: var(--accent); filter: blur(80px); opacity: .1; }
.p-hero-img { width: 100%; border-radius: 20px; border: 1px solid var(--border); box-shadow: var(--shadow-lg); background: #fff; }
@media (max-width: 960px) {
  .p-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .p-hero-media { max-width: 600px; }
}

/* App-window mock */
.app-mock { background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; font-size: .8rem; }
.app-mock-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.app-mock-url { flex: 1; min-width: 0; padding: 5px 12px; border-radius: 8px; background: #fff; border: 1px solid var(--border); color: var(--subtle); font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-mock-url i { color: var(--success); margin-right: 6px; }
.app-mock-body { display: grid; grid-template-columns: 170px minmax(0, 1fr); min-height: 320px; }
.app-mock-side { padding: 14px 10px; background: color-mix(in srgb, var(--accent) 5%, #fff); border-right: 1px solid var(--border); }
.app-mock-brand { display: flex; align-items: center; gap: 8px; padding: 4px 8px 14px; font-weight: 560; color: var(--ink); font-size: .84rem; }
.app-mock-brand i { color: var(--accent); }
.app-mock-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.app-mock-nav li { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; color: var(--text-2); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-mock-nav li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 2px; background: color-mix(in srgb, var(--accent) 35%, #fff); }
.app-mock-nav li.is-active { background: var(--accent); color: #fff; }
.app-mock-nav li.is-active::before { background: rgba(255, 255, 255, .7); }
.app-mock-main { padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.app-mock-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.app-mock-kpi { padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; min-width: 0; }
.app-mock-kpi small { display: block; color: var(--subtle); font-size: .68rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-mock-kpi strong { font-size: 1.05rem; color: var(--ink); letter-spacing: -.02em; }
.app-mock-chart { flex: 1; min-height: 110px; padding: 12px; border: 1px solid var(--border); border-radius: 10px; display: flex; align-items: flex-end; gap: 6px; }
.app-mock-chart span { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 40%, #fff)); opacity: .85; }
.app-mock-rows { display: grid; gap: 6px; }
.app-mock-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 9px; }
.app-mock-row b { flex: none; width: 22px; height: 22px; border-radius: 6px; background: var(--accent-soft); }
.app-mock-row span { flex: 1; height: 7px; border-radius: 4px; background: var(--bg-tint); }
.app-mock-row em { flex: none; font-style: normal; font-size: .66rem; font-weight: 500; padding: 2px 8px; border-radius: 99px; color: var(--success); background: var(--success-bg); }
@media (max-width: 520px) {
  .app-mock-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .app-mock-side { display: none; }
  .app-mock-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-mock-kpi:nth-child(3) { display: none; }
}

/* Highlights strip */
.p-highlights { position: relative; z-index: 2; margin-top: -40px; }
.highlight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.highlight { padding: 24px 26px; border-right: 1px solid var(--border); margin-right: -1px; }
.highlight strong { display: block; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); font-weight: 560; letter-spacing: -.045em; line-height: 1.05; color: var(--ink); margin-bottom: 6px; }
.highlight span { display: block; font-size: .88rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 560px) {
  .highlight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .highlight { border-bottom: 1px solid var(--border); padding: 18px; }
}

/* Overview + audience */
.prose p { font-size: 1.05rem; color: var(--text-2); line-height: 1.75; }
.prose p:first-child { font-size: 1.15rem; color: var(--ink); }
.audience-list { display: grid; gap: 12px; }
.audience-item { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.audience-item .icon-badge { width: 38px; height: 38px; font-size: .9rem; border-radius: 10px; }
.audience-item h3 { font-size: 1rem; margin-bottom: 2px; }
.audience-item p { font-size: .9rem; color: var(--muted); margin: 0; }

/* Features */
.feature-card { padding: 26px; }
.feature-card .icon-badge { margin-bottom: 16px; }
.feature-card h3 { font-size: 1.06rem; margin-bottom: 6px; }
.feature-card p { font-size: .93rem; margin: 0; }

/* Modules */
.module-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.module { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); transition: border-color .2s ease, box-shadow .2s ease; }
.module:hover { border-color: var(--accent-line); box-shadow: var(--shadow-sm); }
.module-num { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; font-size: .74rem; font-weight: 560; color: var(--accent-ink); background: var(--accent-soft); }
.module h3 { font-size: .98rem; margin-bottom: 2px; }
.module p { font-size: .87rem; color: var(--muted); margin: 0; line-height: 1.55; }

/* Steps themed */
.product-page .step-num { color: var(--accent-ink); }

/* Plans / pricing */
.billing-toggle { display: flex; justify-content: center; margin: -16px 0 36px; }
.billing-toggle-inner { display: inline-flex; padding: 4px; border-radius: var(--radius-pill); background: var(--bg-tint); border: 1px solid var(--border); }
.billing-toggle button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 18px; border: 0; border-radius: var(--radius-pill);
  background: transparent; font-size: .9rem; font-weight: 500; color: var(--muted); cursor: pointer; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.billing-toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.billing-toggle .save { font-size: .72rem; padding: 2px 8px; border-radius: 99px; color: var(--success); background: var(--success-bg); }
html:not(.js-on) .billing-toggle { display: none; }

.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: stretch; max-width: 1120px; margin: 0 auto; }
.plan-grid.plans-1 { max-width: 420px; }
.plan-grid.plans-2 { max-width: 780px; }
.plan-card { position: relative; display: flex; flex-direction: column; padding: 30px 28px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-xs); }
.plan-card.is-popular { border-color: color-mix(in srgb, var(--accent) 45%, #fff); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 45%, #fff), var(--shadow-lg); }
.plan-badge { position: absolute; top: -13px; left: 26px; padding: 4px 12px; border-radius: 99px; font-size: .74rem; font-weight: 500; color: #fff; background: var(--accent-ink, var(--accent)); box-shadow: none; }
.plan-card:not(.is-popular) .plan-badge { color: var(--accent-ink); background: var(--accent-soft); box-shadow: none; border: 1px solid var(--accent-line); }
.plan-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.plan-desc { font-size: .9rem; color: var(--muted); min-height: 2.9em; margin-bottom: 18px; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 6px; margin-bottom: 4px; }
.plan-amount { font-size: clamp(2rem, 1.6rem + 1vw, 2.5rem); font-weight: 560; letter-spacing: -.04em; line-height: 1.1; color: var(--ink); }
.plan-period { font-size: .92rem; font-weight: 500; color: var(--muted); }
.plan-amount.is-custom { font-size: 1.7rem; letter-spacing: -.03em; }
.plan-sub { font-size: .8rem; color: var(--subtle); min-height: 1.4em; margin-bottom: 22px; }
.plan-card .btn { margin-bottom: 24px; }
.plan-card .check-list { margin: 0; padding-top: 22px; border-top: 1px solid var(--border); font-size: .92rem; gap: 9px; }
.plans-note { margin-top: 28px; text-align: center; font-size: .86rem; color: var(--muted); }
.plans-note i { color: var(--accent); margin-right: 4px; }

/* Final product CTA */
.product-page .cta-band::before { background: radial-gradient(600px 260px at 100% 0%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 70%), radial-gradient(500px 240px at 0% 120%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%); }

/* ---------------------------------------------------------------------
   17. Footer (light, hairline)
   ------------------------------------------------------------------- */
.site-footer { background: var(--bg-soft); color: var(--muted); font-size: .9rem; border-top: 1px solid var(--border); position: relative; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: clamp(44px, 2.5vw + 24px, 64px); padding-bottom: clamp(36px, 2vw + 20px, 48px); }
.footer-brand img { height: 36px; width: auto; margin-bottom: 16px; mix-blend-mode: multiply; }
.footer-brand p { max-width: 340px; color: var(--muted); margin-bottom: 18px; line-height: 1.6; }
.footer-social { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.footer-social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; color: var(--text-2); background: #fff; border: 1px solid var(--border); transition: border-color .2s ease, color .2s ease; }
.footer-social a:hover { color: var(--ink); border-color: var(--border-strong); }
.footer-col h2 { font-family: var(--mono); font-size: .68rem; font-weight: var(--w-medium); letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); margin: 0 0 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { color: var(--text-2); display: inline-flex; align-items: center; gap: 8px; line-height: 1.4; }
.footer-col a:hover { color: var(--ink); }
.footer-col strong { font-weight: var(--w-medium); color: var(--ink); }
.footer-col .chip { padding: 0 7px; font-size: .62rem; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; color: var(--text-2); }
.footer-contact i { color: var(--subtle); margin-top: 4px; width: 14px; flex: none; }
.footer-contact a { display: inline; overflow-wrap: anywhere; }
.footer-support { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 22px; font-size: .86rem; }
.footer-support a { color: var(--text-2); font-weight: var(--w-medium); display: inline-flex; align-items: center; gap: 6px; }
.footer-support a:hover { color: var(--ink); }
.footer-support-badge { display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px; border-radius: 99px; font-size: .74rem; font-weight: var(--w-medium); color: var(--success); background: var(--success-bg); border: 1px solid #cdebdc; }
.footer-bottom { border-top: 1px solid var(--border); }
.footer-bottom-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 18px; padding-bottom: 18px; font-size: .82rem; color: var(--subtle); }
.footer-bottom-row nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-bottom-row a { color: var(--muted); }
.footer-bottom-row a:hover { color: var(--ink); }
/* Tablet / phone: named areas so no column is left alone on a row */
@media (max-width: 991px) {
  .footer-main { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "brand brand contact" "who what products"; gap: 32px 24px; }
  .footer-brand { grid-area: brand; }
  .footer-brand p:not(.footer-tagline) { max-width: 460px; }
  .footer-contact-col { grid-area: contact; }
  .fc-who { grid-area: who; } .fc-what { grid-area: what; } .fc-products { grid-area: products; }
}
@media (max-width: 640px) {
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "brand brand" "who what" "products contact"; gap: 28px 20px; }
}

.back-to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--border); cursor: pointer;
  display: grid; place-items: center; color: var(--ink); background: rgba(255, 255, 255, .92); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s ease, transform .2s var(--ease), visibility 0s linear .2s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.back-to-top:hover { border-color: var(--border-strong); }

/* ---------------------------------------------------------------------
   18. Reveal on scroll (only when JS is running)
   ------------------------------------------------------------------- */
html.js-on [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js-on [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html.js-on [data-reveal] { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------------
   19. Print
   ------------------------------------------------------------------- */
@media print {
  .topbar, .site-header, .site-footer, .back-to-top, .nav-backdrop, .cta-band .cta-actions { display: none !important; }
  html.js-on [data-reveal] { opacity: 1; transform: none; }
  body { color: #000; }
  .section { padding: 24px 0; }
}

/* ---------------------------------------------------------------------
   20. Execution + support blocks (home bento, products, product pages)
   ------------------------------------------------------------------- */
.team-section .section-head { max-width: 760px; }

/* Bento grid */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.bento-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: clamp(24px, 1.5vw + 16px, 32px); border-radius: var(--radius-xl);
  background: #fff; border: 1px solid var(--border);
}
.bento-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.bento-card > p { color: var(--muted); font-size: .93rem; margin-bottom: 0; max-width: 460px; }
.bento-card .icon-badge { margin-bottom: 20px; }
.bento-visual { margin-top: auto; padding-top: 26px; }
.bento-span-4 { grid-column: span 4; }
.bento-span-3 { grid-column: span 3; }
.bento-span-2 { grid-column: span 2; }
.section-dark .bento-card { background: rgba(255, 255, 255, .025); border-color: rgba(255, 255, 255, .08); }
.section-dark .bento-card > p { color: rgba(255, 255, 255, .58); }
.section-dark .bento-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent 40%); }
@media (max-width: 991px) {
  .bento-span-4, .bento-span-3, .bento-span-2 { grid-column: span 6; }
}

/* Bento visuals */
.role-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.role-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .07); font-size: .88rem; color: rgba(255, 255, 255, .82); }
.role-list .role-avatar { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; font-size: .68rem; font-weight: var(--w-medium); color: #fff; background: #2a2733; border: 1px solid rgba(255, 255, 255, .12); }
.role-list .role-name { flex: 1; min-width: 0; }
.role-list .role-name small { display: block; font-size: .76rem; color: rgba(255, 255, 255, .45); }
.role-list .role-tag { flex: none; font-family: var(--mono); font-size: .64rem; letter-spacing: .05em; text-transform: uppercase; color: #8fe0bd; padding: 2px 8px; border-radius: 99px; background: rgba(61, 220, 151, .08); border: 1px solid rgba(61, 220, 151, .18); }
.big-number { font-size: clamp(3.2rem, 2.4rem + 3vw, 4.6rem); font-weight: var(--w-regular); letter-spacing: -.06em; line-height: .95; color: #f4f3f7; margin: 6px 0 14px; }
.big-number span { color: rgba(255, 255, 255, .35); }
.support-status { display: inline-flex; align-items: center; gap: 10px; font-size: .84rem; color: rgba(255, 255, 255, .7); margin-bottom: 18px; }
.journey-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; counter-reset: jstep; }
.journey-steps li { counter-increment: jstep; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: .85rem; color: rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .07); }
.journey-steps li::before { content: counter(jstep, decimal-leading-zero); font-family: var(--mono); font-size: .68rem; color: rgba(255, 255, 255, .4); }
.journey-steps li:last-child { border-color: rgba(181, 144, 198, .35); background: rgba(138, 75, 163, .12); }
.update-feed { list-style: none; margin: 0; padding: 0; border-left: 1px solid rgba(255, 255, 255, .1); }
.update-feed li { position: relative; padding: 0 0 14px 18px; font-size: .86rem; color: rgba(255, 255, 255, .8); }
.update-feed li:last-child { padding-bottom: 0; }
.update-feed li::before { content: ""; position: absolute; left: -4px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: #2a2733; border: 1px solid rgba(255, 255, 255, .3); }
.update-feed li:first-child::before { background: var(--brand-300); border-color: var(--brand-300); box-shadow: 0 0 0 3px rgba(181, 144, 198, .2); }
.update-feed small { display: block; font-family: var(--mono); font-size: .66rem; letter-spacing: .05em; text-transform: uppercase; color: rgba(255, 255, 255, .4); }
.bento-foot { display: flex; justify-content: center; margin-top: 32px; }
@media (max-width: 359px) { .journey-steps { grid-template-columns: minmax(0, 1fr); } }

/* Pillars (kept for other pages) */
.pillar { padding: 26px 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border); }
.pillar .icon-badge { margin-bottom: 18px; }
.pillar h3 { font-size: 1.04rem; margin-bottom: 8px; }
.pillar p { font-size: .91rem; color: var(--muted); margin: 0; }
.section-dark .pillar { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .08); }
.section-dark .pillar p { color: rgba(255, 255, 255, .6); }

/* Journey rail (kept for other pages) */
.journey-wrap { margin-top: clamp(40px, 3vw + 20px, 64px); }
.journey-label { text-align: center; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); margin-bottom: 22px; }
.journey { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.journey::before { content: ""; position: absolute; left: 8%; right: 8%; top: 15px; height: 1px; background: var(--border-strong); }
.journey li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; font-size: .88rem; font-weight: var(--w-medium); color: var(--text-2); line-height: 1.35; }
.journey li span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-family: var(--mono); font-size: .72rem; color: var(--ink); background: #fff; border: 1px solid var(--border-strong); }
.section-dark .journey::before { background: rgba(255, 255, 255, .14); }
.section-dark .journey li { color: rgba(255, 255, 255, .82); }
.section-dark .journey li span { background: var(--ink); color: #fff; border-color: rgba(255, 255, 255, .24); }
@media (max-width: 860px) { .journey { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; } .journey::before { display: none; } }
@media (max-width: 480px) { .journey { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 320px; margin: 0 auto; } .journey li { flex-direction: row; text-align: left; padding: 8px 0; } }

.support-line { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; margin-top: 40px; padding: 16px 20px; border-radius: var(--radius-lg); background: var(--bg-soft); border: 1px solid var(--border); }
.support-line-text { display: inline-flex; align-items: center; gap: 12px; font-weight: var(--w-medium); color: var(--ink); }
.section-dark .support-line { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .08); }
.section-dark .support-line-text { color: #f4f3f7; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #22b07d; flex: none; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid #22b07d; opacity: .6; }
@media (prefers-reduced-motion: no-preference) { .pulse::after { animation: pulse 2.2s ease-out infinite; } }
@keyframes pulse { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.9); opacity: 0; } }

.stat-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 0; }
@media (max-width: 1000px) {
  .stat-grid-5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .stat-grid-5 .stat { grid-column: span 2; padding-left: 20px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .stat-grid-5 .stat:nth-child(n+4) { grid-column: span 3; border-bottom: 0; }
  .stat-grid-5 .stat:nth-child(1), .stat-grid-5 .stat:nth-child(4) { padding-left: 0; }
  .stat-grid-5 .stat:nth-child(3), .stat-grid-5 .stat:nth-child(5) { border-right: 0; }
}
@media (max-width: 600px) {
  .stat-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-grid-5 .stat, .stat-grid-5 .stat:nth-child(n), .stat-grid-5 .stat:nth-child(n+4) { grid-column: auto; padding: 20px 0 20px 20px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .stat-grid-5 .stat:nth-child(2n+1) { padding-left: 0; }
  .stat-grid-5 .stat:nth-child(2n) { border-right: 0; }
  .stat-grid-5 .stat:last-child { grid-column: 1 / -1; border-bottom: 0; border-right: 0; padding-left: 0; }
}

/* Products listing: support strip */
.support-strip { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 28px; padding: 16px 22px; margin-bottom: 36px; border-radius: var(--radius-lg); background: var(--bg-soft); border: 1px solid var(--border); }
.support-strip-text { display: flex; align-items: center; gap: 12px; font-weight: var(--w-medium); color: var(--ink); }
.support-strip-items { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; font-size: .86rem; color: var(--text-2); }
.support-strip-items li { display: inline-flex; align-items: center; gap: 8px; }
.support-strip-items i { color: var(--subtle); }

/* Product page: dedicated team band */
.p-team { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(28px, 3vw + 12px, 52px); border-radius: var(--radius-xl); background: var(--grad-dark); color: rgba(255, 255, 255, .7); position: relative; overflow: hidden; isolation: isolate; border: 1px solid var(--ink-3); }
.p-team::before { content: ""; position: absolute; z-index: -1; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%); opacity: .6; }
.p-team h2 { color: #f4f3f7; font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.25rem); margin-bottom: 14px; }
.p-team .eyebrow { color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .12); }
.p-team > div > p { color: rgba(255, 255, 255, .62); font-size: 1rem; margin-bottom: 26px; }
.p-team-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.p-team-list li { display: flex; gap: 14px; padding: 16px 18px; border-radius: var(--radius); background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); }
.p-team-list .icon-badge { width: 38px; height: 38px; border-radius: 10px; font-size: .9rem; color: #fff; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.p-team-list strong { display: block; color: #f4f3f7; font-size: .96rem; font-weight: var(--w-medium); margin-bottom: 2px; }
.p-team-list span { font-size: .87rem; color: rgba(255, 255, 255, .58); line-height: 1.5; }
.p-team .btn-row { margin-top: 4px; }
@media (max-width: 900px) { .p-team { grid-template-columns: minmax(0, 1fr); } }

.plan-support { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; font-size: .82rem; font-weight: var(--w-medium); color: var(--success); }
.plan-card .check-list + .plan-support { margin-top: 18px; border-top: 1px dashed var(--border); }

/* Testimonial layouts that avoid orphans: wrap testimonial_cards() in
   .tg-feature (3n+2 items: first card spans two columns) or .tg-two (2 columns). */
.tg-two .testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 681px) { .tg-feature .testimonial-grid > .testimonial-card:first-child { grid-column: span 2; } }
.tg-feature .testimonial-grid > .testimonial-card:first-child { background: var(--grad-dark); border-color: var(--ink-3); color: rgba(255, 255, 255, .8); }
.tg-feature .testimonial-grid > .testimonial-card:first-child blockquote { font-family: var(--font-serif); font-size: clamp(1.4rem, 1.15rem + .8vw, 1.85rem); line-height: 1.32; letter-spacing: -.005em; color: #f4f3f7; }
.tg-feature .testimonial-grid > .testimonial-card:first-child figcaption strong { color: #f4f3f7; }
.tg-feature .testimonial-grid > .testimonial-card:first-child figcaption small { color: rgba(255, 255, 255, .55); }
.tg-feature .testimonial-grid > .testimonial-card:first-child .avatar-initials { color: #fff; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.tg-feature .testimonial-grid > .testimonial-card:first-child .stars .fa-regular { color: rgba(255, 255, 255, .25); }
@media (max-width: 680px) { .tg-two .testimonial-grid { grid-template-columns: minmax(0, 1fr); } }

.section-dark .btn-ghost, .way-card-dark .btn-ghost { --btn-color: rgba(255, 255, 255, .78); }
.section-dark .btn-ghost:hover, .way-card-dark .btn-ghost:hover { background: rgba(255, 255, 255, .06); --btn-color: #fff; }

/* Small-screen refinements */
@media (max-width: 560px) {
  .hero-pill { font-size: .78rem; }
  .home-hero .hero-actions .btn { flex: 1 1 100%; }
  .suite-head span { display: none; }
  .suite-float { display: none; }
  .hero-proof { gap: 8px 18px; font-size: .84rem; }
}
@media (max-width: 720px) {
  .service-tile { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; align-items: start; padding: 20px; }
  .service-tile .icon-badge { grid-row: 1 / span 3; margin: 0; }
  .service-tile h3 { margin-top: 2px; }
  .service-tile p { margin-bottom: 10px; }
  .way-card .btn-row .btn { flex: 1 1 auto; }
}
@media (max-width: 420px) { .role-list .role-tag { display: none; } }

/* =====================================================================
   21. Microsoft-style layer in DV Soft purple
       Layout/polish modelled on microsoft.com; Microsoft blue -> #602874,
       light-blue bands -> lavender tints. Restrained motion only.
   ===================================================================== */
:root {
  --brand-hover: #4c1f5d;
  --tint-lavender: #f6f1f9;    /* .band-tint   (Microsoft #e6f2fb equivalent) */
  --tint-lavender-2: #f1eaf6;  /* .band-tint-2 */
  --tint-lavender-3: #faf7fc;  /* .band-tint-3 */
  --band-dark: #1f0f26;        /* deep aubergine */
  --radius-card: 24px;
  --radius-media: 16px;
  --shadow-card: 0 1.6px 3.6px rgba(16, 14, 24, .10), 0 .3px .9px rgba(16, 14, 24, .08);
  --shadow-card-hover: 0 6.4px 14.4px rgba(16, 14, 24, .13), 0 1.2px 3.6px rgba(16, 14, 24, .10);
  --w-display: 600;
}

/* ---- Typography (Segoe UI Semibold headings, larger body) ------------ */
body { font-size: 17px; line-height: 1.55; }
h1 { font-weight: 600; letter-spacing: -.015em; line-height: 1.1; font-size: clamp(2.3rem, 1.5rem + 3vw, 3.75rem); }
h2 { font-weight: 600; letter-spacing: -.01em; line-height: 1.18; font-size: clamp(1.8rem, 1.35rem + 1.4vw, 2.5rem); }
h3 { font-weight: 600; letter-spacing: 0; }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.22rem); line-height: 1.55; color: var(--text-2); }
.section-lead { font-size: clamp(1.02rem, 1rem + .2vw, 1.12rem); color: var(--text-2); }
.eyebrow { padding: 0; border: 0; background: none; font-size: .8rem; font-weight: 600; letter-spacing: .06em; color: var(--brand); }
.eyebrow::before { display: none; }
.section-dark .eyebrow, .band-dark .eyebrow, .cta-band .eyebrow { color: #e3cdee; background: none; border: 0; }
.grad-text { color: var(--brand); }
.section-dark .grad-text, .band-dark .grad-text, .cta-band .grad-text, .way-card-dark .grad-text, .p-team .grad-text { color: #e3cdee; }

/* ---- Buttons: solid brand purple, 4px radius like microsoft.com ------ */
.btn { border-radius: 4px; font-weight: 600; }
.btn-sm { border-radius: 4px; }
.btn-lg { border-radius: 4px; padding: 13px 24px; font-size: 1rem; }
.btn-primary { --btn-bg: var(--brand); --btn-border: var(--brand); --btn-color: #fff; box-shadow: none; }
.btn-primary:hover { --btn-bg: var(--brand-hover); --btn-border: var(--brand-hover); }
.btn-secondary { --btn-bg: #fff; --btn-color: var(--brand); --btn-border: var(--brand); box-shadow: none; }
.btn-secondary:hover { --btn-bg: var(--tint-lavender); --btn-color: var(--brand-hover); --btn-border: var(--brand-hover); background: var(--tint-lavender); }
.link-arrow { color: var(--brand); font-weight: 600; }
.link-arrow i { color: currentColor; }
.link-arrow:hover { color: var(--brand-hover); text-decoration: underline; text-underline-offset: 3px; }

/* ---- Bands (full-width sections) ------------------------------------- */
.band { padding: clamp(48px, 3.5vw + 20px, 80px) 0; position: relative; }
.band-tint, .section-alt { background: var(--tint-lavender); border: 0; }
.band-tint-2 { background: var(--tint-lavender-2); }
.band-tint-3 { background: var(--tint-lavender-3); }
.band-dark, .section-dark { background: var(--band-dark); color: rgba(255, 255, 255, .78); }
.band-dark h1, .band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .section-lead, .band-dark p { color: rgba(255, 255, 255, .78); }
.band-brand { background: var(--brand); color: rgba(255, 255, 255, .9); }
.band-brand h2, .band-brand h3 { color: #fff; }

/* ---- Media cards (.mcard) -------------------------------------------- */
.mcard, .product-card.has-media {
  position: relative; display: flex; flex-direction: column; padding: 10px; color: inherit;
  background: #fff; border: 0; border-radius: var(--radius-card); box-shadow: var(--shadow-card);
  overflow: hidden; transition: box-shadow .25s ease, transform .25s var(--ease);
}
a.mcard:hover { color: inherit; }
.mcard:hover, .product-card.has-media:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); border: 0; }
.mcard-media { position: relative; overflow: hidden; border-radius: var(--radius-media); aspect-ratio: 16 / 9; background: var(--tint-lavender); }
.mcard-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mcard-media.art {
  background:
    radial-gradient(80% 100% at 100% 0%, color-mix(in srgb, var(--accent, #602874) 30%, transparent), transparent 70%),
    linear-gradient(160deg, color-mix(in srgb, var(--accent, #602874) 12%, #fff), color-mix(in srgb, var(--accent, #602874) 4%, #fff));
}
.mcard-body { display: flex; flex-direction: column; flex: 1; padding: 24px 22px 18px; }
.mcard-eyebrow { font-size: .8rem; font-weight: 600; color: var(--brand); margin: 0 0 8px; }
.mcard-title, .mcard-body h3 { font-size: clamp(1.25rem, 1.1rem + .45vw, 1.55rem); font-weight: 600; line-height: 1.25; color: var(--ink); margin: 0 0 10px; }
.mcard-text, .mcard-body p { font-size: 1rem; line-height: 1.55; color: var(--text-2); margin: 0 0 16px; }
.mcard-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand); }
.mcard-link i { font-size: .75em; transition: transform .2s var(--ease); }
.mcard:hover .mcard-link { text-decoration: underline; text-underline-offset: 3px; }
.mcard:hover .mcard-link i { transform: translateX(3px); }
.band-tint .mcard, .section-alt .mcard { box-shadow: var(--shadow-card); }

/* Grids */
.mgrid { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mgrid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mgrid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .mgrid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) { .mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .mgrid, .mgrid-2, .mgrid-4 { grid-template-columns: minmax(0, 1fr); } }

/* Product cards: media panel with product-accent CSS art + mini window */
.product-card.has-media::before { display: none; }
.product-card.has-media .product-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 20px 14px; }
.product-card.has-media h3 { font-size: clamp(1.25rem, 1.1rem + .45vw, 1.5rem); margin-bottom: 8px; }
.product-card.has-media .product-tagline { font-size: 1rem; font-weight: 600; color: var(--text); }
.product-card.has-media .product-summary { font-size: .98rem; color: var(--text-2); }
.product-card.has-media .product-card-top { margin-bottom: 10px; }
.product-card.has-media .product-card-foot { border-top: 1px solid #efebf3; }
.product-media {
  position: relative; overflow: hidden; border-radius: var(--radius-media); aspect-ratio: 16 / 9;
  background:
    radial-gradient(70% 90% at 100% 0%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 70%),
    linear-gradient(160deg, color-mix(in srgb, var(--accent) 14%, #fff), color-mix(in srgb, var(--accent) 5%, #fff));
}
.pm-window { position: absolute; left: 13%; right: 13%; top: 17%; bottom: -10%; background: #fff; border-radius: 10px; box-shadow: 0 12px 30px -14px color-mix(in srgb, var(--accent) 55%, rgba(16, 14, 24, .5)); transition: transform .4s var(--ease); }
.product-card:hover .pm-window { transform: translateY(-4px); }
.pm-bar { display: flex; gap: 4px; padding: 8px 10px; border-bottom: 1px solid #efedf3; }
.pm-bar i { width: 6px; height: 6px; border-radius: 50%; background: #e3e0ea; }
.pm-body { display: grid; grid-template-columns: auto 1fr; gap: 10px 12px; padding: 12px; align-items: center; }
.pm-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; color: #fff; font-size: .9rem; background: var(--accent); }
.pm-icon img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; background: #fff; }
.pm-lines { display: grid; gap: 5px; }
.pm-lines b { display: block; height: 6px; border-radius: 4px; background: #ebe8f0; }
.pm-lines b:first-child { width: 70%; background: color-mix(in srgb, var(--accent) 40%, #fff); }
.pm-lines b:last-child { width: 45%; }
.pm-bars { grid-column: 1 / -1; display: flex; align-items: flex-end; gap: 5px; height: 44px; padding-top: 4px; }
.pm-bars s { flex: 1; height: var(--h, 50%); border-radius: 2px 2px 0 0; background: color-mix(in srgb, var(--accent) 70%, #fff); }
.pm-bars s:nth-child(3n) { background: var(--accent); }
.product-card-cta .product-media { display: grid; place-items: center; background: linear-gradient(160deg, var(--tint-lavender-2), var(--tint-lavender)); }
.product-card-cta .product-media i { font-size: 2.4rem; color: var(--brand); }
.product-card-cta.has-media { border-style: solid; }

/* Service tiles (home) use .mcard */
.service-tile.mcard .icon-badge { margin-bottom: 14px; }

/* ---- Icon tiles: product/brand tint ----------------------------------- */
.icon-badge { background: color-mix(in srgb, var(--accent) 9%, #fff); border-color: color-mix(in srgb, var(--accent) 18%, #fff); box-shadow: none; }
.icon-badge.solid { background: var(--accent, var(--brand)); color: #fff; border-color: transparent; }

/* ---- Hero ------------------------------------------------------------- */
.home-hero { background: linear-gradient(180deg, var(--tint-lavender-3) 0%, #fff 100%); }
.home-hero::before { opacity: .5; }
.home-hero h1 { font-size: clamp(2.4rem, 1.5rem + 3.2vw, 3.9rem); }
.hero-anim > * { animation: fade-up .55s var(--ease) both; }
.hero-anim > :nth-child(2) { animation-delay: .05s; }
.hero-anim > :nth-child(3) { animation-delay: .12s; }
.hero-anim > :nth-child(4) { animation-delay: .18s; }
.hero-anim > :nth-child(5) { animation-delay: .24s; }
@keyframes fade-up { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }
.suite { animation: suite-in .7s var(--ease) .1s both; }
@keyframes suite-in { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
.suite-window { border-radius: 16px; box-shadow: 0 25.6px 57.6px rgba(16, 14, 24, .18), 0 4.8px 14.4px rgba(16, 14, 24, .12); border: 0; }
.suite-stack { position: absolute; z-index: -1; inset: 8% -4% -6% 6%; border-radius: 24px; background: linear-gradient(160deg, var(--tint-lavender-2), #e7dcef); }
.suite::before { display: none; }
.suite-float { border: 0; box-shadow: var(--shadow-card-hover); background: #fff; }
.suite-float-b { right: -18px; top: -26px; }
.suite-float .bars { display: flex; align-items: flex-end; gap: 3px; height: 24px; margin-left: 4px; }
.suite-float .bars i { width: 5px; border-radius: 1px; background: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .suite-float-a { animation: floaty 7s ease-in-out infinite; }
  .suite-float-b { animation: floaty 8s ease-in-out -3s infinite; }
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Inner page heroes: soft lavender wash (no animation) */
.page-hero { background: linear-gradient(180deg, var(--tint-lavender) 0%, #fff 100%); border-bottom: 0; }
.page-hero .container > * { animation: fade-up .55s var(--ease) both; }
.page-hero .container > :nth-child(2) { animation-delay: .05s; }
.page-hero .container > :nth-child(3) { animation-delay: .1s; }
.page-hero .container > :nth-child(n+4) { animation-delay: .15s; }

/* ---- Cards across the site: Fluent-style elevation ------------------- */
.card, .testimonial-card, .step, .plan-card, .way-card:not(.way-card-dark), .pillar, .feature-card, .module, .audience-item {
  border-color: transparent; box-shadow: var(--shadow-card); border-radius: var(--radius-card);
  transition: box-shadow .25s ease, transform .25s var(--ease);
}
.card-hover:hover, .testimonial-card:hover, .feature-card:hover, .module:hover, .audience-item:hover, .product-card:hover {
  box-shadow: var(--shadow-card-hover); transform: translateY(-2px); border-color: transparent;
}
.product-card { border-radius: var(--radius-card); }
.section-dark .card, .band-dark .card { box-shadow: none; }
.step { border-top: 3px solid var(--brand); }
.step-num { color: #fff; background: var(--brand); border-color: var(--brand); }
.testimonial-card .avatar-initials { color: #fff; border: 0; background: var(--brand); }
.stars { color: #c98a1b; }
.plan-card.is-popular { border: 2px solid var(--brand); box-shadow: var(--shadow-card-hover); }

/* Dark bento (deep aubergine) */
.section-dark .bento-card { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); box-shadow: none; }
.section-dark .bento-card:hover { border-color: rgba(227, 205, 238, .35); }
.section-dark .bento-card .icon-badge { color: #fff; background: var(--brand); border-color: transparent; }

/* CTA band: solid brand purple */
.cta-band { background: var(--brand); border: 0; border-radius: var(--radius-card); }
.cta-band::before, .cta-band::after { display: none; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .9); }
.cta-band .btn-light { --btn-color: var(--brand); }
.way-card-dark { background: var(--band-dark); border-radius: var(--radius-card); }

/* Stats in a brand band */
.band-brand .stat-grid, .band-brand .stat { border-color: rgba(255, 255, 255, .22) !important; }
.band-brand .stat-value { color: #fff; font-weight: 600; }
.band-brand .stat-value span { color: rgba(255, 255, 255, .8); }
.band-brand .stat-label { color: rgba(255, 255, 255, .9); }
.band-brand .eyebrow { color: #f1e4f7; }
.band-brand .section-lead { color: rgba(255, 255, 255, .9); }

/* ---- Selected work (photo cards) -------------------------------------- */
.work-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.work-card { position: relative; display: block; overflow: hidden; border-radius: var(--radius-card); min-height: 260px; color: #fff; isolation: isolate; background: #1f0f26; box-shadow: var(--shadow-card); }
.work-card.work-lg { grid-row: span 2; min-height: 544px; }
.work-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.work-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 8, 26, 0) 30%, rgba(20, 8, 26, .9) 100%); }
.work-card:hover img { transform: scale(1.04); }
.work-card:hover { color: #fff; }
.work-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(20px, 2vw + 10px, 32px); }
.work-tag { display: inline-block; margin-bottom: 10px; padding: 3px 10px; border-radius: 4px; font-size: .78rem; font-weight: 600; color: #fff; background: var(--brand); }
.work-meta h3 { color: #fff; font-size: clamp(1.2rem, 1rem + .7vw, 1.55rem); margin-bottom: 6px; }
.work-meta p { color: rgba(255, 255, 255, .9); font-size: .98rem; margin: 0; max-width: 520px; }
@media (max-width: 860px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .work-card { min-height: 240px; }
  .work-card.work-lg { grid-row: auto; grid-column: 1 / -1; min-height: 320px; }
}
@media (max-width: 560px) {
  .work-grid { grid-template-columns: minmax(0, 1fr); }
  .work-card { min-height: 220px; }
  .work-card.work-lg { min-height: 360px; }
}

/* ---- Client marquee (slow, pauses on hover) -------------------------- */
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track > ul { display: flex; align-items: center; gap: 56px; list-style: none; margin: 0; padding: 0 28px; flex: none; }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.client-strip { border: 0; background: #fff; }
.client-strip .marquee { flex: 1; min-width: 0; }
.client-strip li { font-size: 1.12rem; font-weight: 600; color: #6c6977; white-space: nowrap; }
.client-strip li em { font-style: normal; font-weight: 400; }

/* ---- Reveal + stagger utilities --------------------------------------- */
/* [data-reveal]: fades up when scrolled into view.
   [data-stagger] on a grid: its children reveal one after another. */
html.js-on [data-reveal], html.js-on [data-stagger] > * { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .55s var(--ease), transform .55s var(--ease); transition-delay: var(--d, 0ms); }
html.js-on [data-reveal].is-visible, html.js-on [data-stagger] > .is-visible { opacity: 1; transform: none; }
html.js-on [data-stagger] > [data-reveal] { transition-delay: var(--d, 0ms); }
.counter { font-variant-numeric: tabular-nums; }

/* ---- Back-to-top sits bottom-left (bottom-right column belongs to the chat widget) */
.back-to-top { right: auto; left: 20px; bottom: 20px; }
@media (max-width: 600px) { .back-to-top { left: 14px; bottom: 14px; } }

/* ---- Reduced motion ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hero-anim > *, .page-hero .container > *, .suite, .suite-float { animation: none !important; }
  .marquee-track { animation: none !important; flex-wrap: wrap; width: auto; }
  .marquee-track > ul[aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  html.js-on [data-stagger] > * { opacity: 1; transform: none; }
}
.stat-value .counter { font-size: 1em; color: inherit; letter-spacing: inherit; }
.mcard-eyebrow i { color: var(--brand); }
.service-tile.mcard { display: flex; }
.service-tile .mcard-body, .service-tile .mcard-media { display: flex; }
.service-tile .mcard-body { flex-direction: column; }
.service-tile .mcard-title { display: block; }
.service-tile .mcard-text { display: block; }
@media (max-width: 720px) { .service-tile.mcard { display: flex; padding: 10px; } }
.product-card-cta.has-media { align-items: stretch; justify-content: flex-start; background: #fff; }
.product-card-cta.has-media .product-card-body > div:last-child { margin-top: auto; }
.band-brand .grad-text { color: #ecdcf4; }
.band-brand .section-head { margin-bottom: clamp(28px, 2vw + 16px, 44px); }
.client-strip .marquee { align-self: stretch; width: 100%; max-width: 100%; }

/* ---- Logo lockup with tagline ----------------------------------------- */
.brand { gap: 14px; text-decoration: none; }
.brand-tagline { padding-left: 14px; border-left: 1px solid var(--border-strong); font-size: 12px; font-weight: 400; letter-spacing: .02em; line-height: 1.3; color: var(--muted); white-space: nowrap; }
@media (max-width: 1180px) {
  .brand { flex-direction: column; align-items: flex-start; gap: 3px; }
  .brand img { height: 30px; }
  .brand-tagline { padding-left: 0; border-left: 0; font-size: 10.5px; }
}
@media (max-width: 399px) { .brand-tagline { display: none; } .brand img { height: 32px; } }
.footer-tagline { margin: -10px 0 16px; font-size: .86rem; letter-spacing: .02em; color: var(--brand); font-weight: 600; }
.hero-eyebrow { margin-bottom: 18px; }

/* Inline text links are underlined so they never rely on colour alone */
:where(p, dd, td, address, figcaption, blockquote) a:not([class]) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
:where(p, li, dd, td, small, address, figcaption, blockquote) a:not([class]):hover { text-decoration-thickness: 2px; }
.site-footer li a:not([class]), .mega li a:not([class]), .nav-list a:not([class]), .topbar a:not([class]), .client-strip a:not([class]), .breadcrumbs a:not([class]) { text-decoration: none; }
i[class^="fa-"], i[class*=" fa-"] { display: inline-block; min-width: 1em; line-height: 1; }

/* ---- Built & executed: capability grid, flow, promises --------------- */
.cap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cap-card { display: flex; gap: 16px; align-items: flex-start; padding: 24px; background: #fff; border-radius: var(--radius-card, 24px); box-shadow: var(--shadow-card); transition: box-shadow .25s ease, transform .25s var(--ease); }
.cap-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.cap-card .icon-badge { width: 46px; height: 46px; font-size: 1.05rem; }
.cap-card h3 { font-size: 1.1rem; margin: 2px 0 6px; }
.cap-card p { font-size: .95rem; color: var(--text-2); margin: 0; line-height: 1.5; }
@media (max-width: 960px) { .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cap-grid { grid-template-columns: minmax(0, 1fr); } }

.flow { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.flow::before { content: ""; position: absolute; left: 8%; right: 8%; top: 28px; height: 2px; background: linear-gradient(90deg, var(--brand-200), var(--brand), var(--brand-200)); }
.flow-step { position: relative; text-align: center; padding: 0 4px; }
.flow-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; font-size: 1.15rem; color: #fff; background: var(--brand); box-shadow: 0 0 0 6px #fff, 0 6px 16px -6px rgba(96, 40, 116, .55); transition: transform .3s var(--ease); }
.flow-step:hover .flow-icon { transform: translateY(-3px) scale(1.05); }
.flow-num { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .08em; color: var(--brand); margin-bottom: 2px; }
.flow-step h3 { font-size: 1.12rem; margin-bottom: 4px; }
.flow-step p { font-size: .92rem; color: var(--text-2); margin: 0; line-height: 1.45; }
.promise-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; list-style: none; margin: clamp(36px, 3vw + 16px, 56px) 0 0; padding: 0; }
.promise-row li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--brand); background: var(--tint-lavender); border: 1px solid #e6dbee; }
@media (max-width: 960px) {
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .flow::before { display: none; }
}
@media (max-width: 520px) {
  .flow { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .flow-step { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; text-align: left; padding: 0 0 22px; }
  .flow-step .flow-icon { grid-row: 1 / span 3; margin: 0; }
  .flow-step:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 62px; bottom: 4px; width: 2px; background: var(--brand-200); }
  .promise-row li { width: 100%; justify-content: flex-start; border-radius: 12px; }
}
.tg-feature .testimonial-grid > .testimonial-card:first-child { background: var(--band-dark); }

/* Card eyebrows stay brand purple (beats .mcard-body p) */
.mcard .mcard-body .mcard-eyebrow { color: var(--brand); }
.band-dark .mcard .mcard-body .mcard-eyebrow, .band-brand .mcard .mcard-body .mcard-eyebrow { color: #d9c3e6; }

/* Product dashboard art (includes/product-art.php: product cards, .ptile, product heroes) */
.product-media.has-art, .product-media.has-img { background-color: color-mix(in srgb, var(--accent) 8%, #fff); }
.product-media.has-art > svg, .product-media.has-img > img { display: block; width: 100%; height: 100%; }
.product-media.has-img > img { object-fit: cover; }
svg.pda { overflow: hidden; max-width: 100%; }
.pda-card .pda-win { transition: transform .45s var(--ease); }
.product-card:hover .pda-card .pda-win { transform: translateY(-5px); }
@media (prefers-reduced-motion: no-preference) {
  .pda .pda-b, .pda .pda-h { transform-box: fill-box; transform-origin: 50% 100%; }
  .pda .pda-h { transform-origin: 0 50%; }
  .pda .pda-l { stroke-dasharray: 1; stroke-dashoffset: 0; }
  /* cards: play when the card is revealed (js/site.js adds .is-visible) */
  .pda-card .pda-b, .pda-card .pda-h { transition: transform .7s var(--ease) calc(var(--d, 0ms) + 150ms + var(--i, 0) * 60ms); }
  .pda-card .pda-l { transition: stroke-dashoffset 1.1s var(--ease) calc(var(--d, 0ms) + 150ms); }
  .pda-card .pda-a { transition: opacity .6s ease calc(var(--d, 0ms) + 500ms); }
  .pda-card .pda-d { transition: stroke-dashoffset 1s var(--ease) calc(var(--d, 0ms) + 200ms); }
  html.js-on :is([data-reveal], [data-reveal-child]):not(.is-visible) .pda-card .pda-b { transform: scaleY(0); }
  html.js-on :is([data-reveal], [data-reveal-child]):not(.is-visible) .pda-card .pda-h { transform: scaleX(0); }
  html.js-on :is([data-reveal], [data-reveal-child]):not(.is-visible) .pda-card .pda-l { stroke-dashoffset: 1; }
  html.js-on :is([data-reveal], [data-reveal-child]):not(.is-visible) .pda-card .pda-a { opacity: 0; }
  html.js-on :is([data-reveal], [data-reveal-child]):not(.is-visible) .pda-card .pda-d { stroke-dashoffset: var(--v); }
  /* hero: plays once on load */
  .pda-hero .pda-b { animation: pda-grow-y .8s var(--ease) calc(.35s + var(--i, 0) * 60ms) both; }
  .pda-hero .pda-h { animation: pda-grow-x .8s var(--ease) calc(.5s + var(--i, 0) * 80ms) both; }
  .pda-hero .pda-l { animation: pda-draw 1.2s var(--ease) .35s both; }
  .pda-hero .pda-a { animation: pda-fade .6s ease .8s both; }
  .pda-hero .pda-d { animation: pda-sweep 1.1s var(--ease) .4s both; }
}
@keyframes pda-grow-y { from { transform: scaleY(0); } }
@keyframes pda-grow-x { from { transform: scaleX(0); } }
@keyframes pda-draw { from { stroke-dashoffset: 1; } }
@keyframes pda-fade { from { opacity: 0; } }
@keyframes pda-sweep { from { stroke-dashoffset: var(--v); } }

/* Spacing + link fixes: list-style links (cards, menus, panels) never underline; tighter section heads */
.suite-item a, .suite-item a *, .mega a, .footer a, .site-footer a, .nav-list a, .mcard a, .product-card a { text-decoration: none; }
.section-head { margin-bottom: clamp(28px, 2vw + 16px, 44px); }
.section-head .section-lead { margin-bottom: 0; }

/* =====================================================================
   22. Space utilisation pass (home, header mega panels, footer)
       8px rhythm; no orphan grid cells at any width; compact phone layouts.
   ===================================================================== */

/* Hero: proof points as a tidy 2 x 2 block instead of a ragged wrap */
@media (min-width: 561px) {
  .hero-proof { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 28px; }
}

/* Products: "Don't see your industry?" card - plan art + perks fill the card */
.product-card-cta.has-media .product-card-top { margin-bottom: 10px; }
.product-card-cta.has-media h3 { margin: 0 0 8px; }
.product-card-cta.has-media .product-summary { flex: none; margin-bottom: 14px; }
.product-card-cta.has-media .product-card-body > .product-card-foot { margin-top: auto; }
.cta-perks { gap: 8px; margin: 0 0 20px; font-size: .95rem; }
.product-card-cta .product-media.has-art { display: block; }

/* Capability grid: 3 stacked columns on tablets (9 items, no orphan) */
@media (min-width: 641px) and (max-width: 960px) {
  .cap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .cap-card { flex-direction: column; gap: 12px; padding: 20px; }
}
@media (max-width: 640px) {
  .cap-grid { gap: 12px; }
  .cap-card { padding: 18px; gap: 14px; }
  .cap-card .icon-badge { width: 40px; height: 40px; font-size: .95rem; }
}

/* Service tiles (home "What we do"): slightly shorter media on desktop,
   last tile spans the row on tablets, compact thumbnail rows on phones */
#services .service-tile .mcard-media { aspect-ratio: 2 / 1; }
#services .service-tile .mcard-body { padding: 20px 20px 16px; }
#services .service-tile .mcard-text { margin-bottom: 12px; }
@media (min-width: 641px) and (max-width: 960px) {
  #services .mgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  #services .service-tile.mcard { padding: 8px; border-radius: 18px; }
  #services .service-tile .mcard-media { border-radius: 12px; }
  #services .service-tile .mcard-body { padding: 14px 10px 8px; }
  #services .service-tile .mcard-eyebrow { font-size: .74rem; }
  #services .service-tile .mcard-title { font-size: 1.08rem; margin-bottom: 6px; }
  #services .service-tile .mcard-text { font-size: .9rem; line-height: 1.5; }
}
@media (max-width: 640px) {
  #services .mgrid { gap: 12px; }
  #services .service-tile.mcard { flex-direction: row; align-items: flex-start; gap: 4px; padding: 8px; border-radius: 18px; }
  #services .service-tile .mcard-media { flex: 0 0 112px; width: 112px; height: auto; aspect-ratio: 16 / 10; border-radius: 12px; }
  #services .service-tile .mcard-body { padding: 6px 8px 6px 12px; min-width: 0; }
  #services .service-tile .mcard-eyebrow { font-size: .74rem; margin-bottom: 4px; }
  #services .service-tile .mcard-title { font-size: 1.08rem; margin-bottom: 4px; }
  #services .service-tile .mcard-text { font-size: .92rem; line-height: 1.5; margin-bottom: 6px; }
  #services .service-tile .mcard-link { font-size: .92rem; min-height: 24px; }
}

/* Execution bento on tablets: two columns instead of four stacked cards */
@media (min-width: 721px) and (max-width: 991px) {
  .bento { gap: 16px; }
  .bento-span-4 { grid-column: span 6; }
  .bento-span-2 { grid-column: span 3; }
  .bento-span-3:last-child { grid-column: span 3; order: 1; }
  .bento > .bento-span-3:nth-child(3) { grid-column: span 6; order: 2; }
}
@media (max-width: 720px) {
  .bento { gap: 12px; }
  .bento-card { padding: 22px 20px; }
  .bento-card .icon-badge { margin-bottom: 14px; }
  .bento-visual { padding-top: 18px; }
  .big-number { font-size: 3rem; margin: 0 0 10px; }
  .bento-foot { margin-top: 24px; }
}

/* Process flow + promises on phones */
@media (max-width: 520px) {
  .flow-step { padding-bottom: 16px; }
  .promise-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 24px; }
  .promise-row li { width: auto; padding: 10px 12px; font-size: .88rem; line-height: 1.3; align-items: flex-start; }
  .promise-row li i { margin-top: 2px; }
}

/* Two ways / testimonials: lighter padding on phones */
@media (max-width: 680px) {
  .testimonial-card { padding: 22px 20px; }
  .testimonial-card blockquote { margin-bottom: 18px; }
  .stars { margin-bottom: 12px; }
  .way-card .check-list { margin-bottom: 22px; }
}

/* Mega panels: extra content fills the space that used to sit empty */
.mega-highlight { justify-content: space-between; }
.mega-stats div { padding: 12px 0; }
.mega-stats div:nth-child(n+3) { border-top: 1px solid var(--border); }
.mega-stats div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--border); }
.mega-aside .mega-perks { margin-top: 4px; }
.mega-strip { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 16px 10px 0; padding: 14px 16px; border-radius: 12px; background: var(--tint-lavender, #f6f1f9); }
.mega-strip-item { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: .82rem; line-height: 1.45; color: var(--text-2); }
.mega-strip-item strong { color: var(--ink); font-weight: 600; }
.mega-strip-item .pulse { margin-top: 5px; }
.mega-strip-item i { color: var(--brand); margin-top: 2px; }
@media (max-width: 991px) {
  .mega-strip { margin: 10px 0 0; padding: 12px; }
}

/* Selected work: conference card uses an inline ops-dashboard SVG instead of a stock photo */
.work-card > .work-art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; transition: transform .6s var(--ease); }
.work-card:hover > .work-art { transform: scale(1.03); }
.work-card.work-lg::after { background: linear-gradient(180deg, rgba(20, 8, 26, 0) 45%, rgba(20, 8, 26, .92) 82%); }
@media (max-width: 860px) {
  .work-card.work-lg { display: flex; flex-direction: column; min-height: 0; }
  .work-card.work-lg > .work-art { position: relative; inset: auto; height: auto; aspect-ratio: 900 / 470; }
  .work-card.work-lg::after { display: none; }
  .work-card.work-lg .work-meta { position: relative; padding-top: 18px; }
}
@media (min-width: 521px) and (max-width: 960px) {
  .promise-row { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); justify-content: center; }
}
@media (min-width: 641px) and (max-width: 860px) {
  .way-card { padding: 28px 24px; }
  .way-card .btn-row .btn { flex: 1 1 auto; }
}

/* =====================================================================
   23. Product groups: home "Products" band shows two labelled rows
       (Industry solutions, Business operations) of compact cards;
       --cols is set per row by product_grid_layout() so rows stay full.
   ===================================================================== */
.pgroups { display: grid; gap: clamp(28px, 2vw + 16px, 40px); }
.pgroup-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 16px; }
.pgroup-label { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.15rem; font-weight: 600; line-height: 1.3; color: var(--ink); }
.pgroup-label i { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 8px; font-size: .82rem; color: #fff; background: var(--brand); }
.pgroup-count { padding: 1px 9px; border-radius: 99px; font-size: .8rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--brand-700); background: #fff; }
.pgroup-head .link-arrow { font-size: .95rem; }
.product-grid.is-compact { gap: 20px; }
.product-grid.is-compact .product-summary, .product-grid.is-compact .cta-perks { display: none; }
.product-grid.is-compact .product-card-cta .product-summary { display: block; margin-bottom: 14px; font-size: .95rem; }
.product-grid.is-compact .product-card.has-media .product-card-body { padding: 18px 14px 10px; }
.product-grid.is-compact .product-card.has-media h3 { font-size: clamp(1.1rem, .95rem + .3vw, 1.25rem); margin-bottom: 6px; }
.product-grid.is-compact .product-card.has-media .product-tagline { font-size: .95rem; font-weight: 400; color: var(--text-2); margin-bottom: 14px; }
.product-grid.is-compact .product-card-foot { margin-top: auto; padding-top: 12px; }
.product-grid.is-compact .product-links .btn-ghost { display: none; } /* "open app" stays on the product page */
.product-grid.is-compact .product-card-cta .product-card-foot .btn { margin-left: auto; }
@media (min-width: 901px) { .product-grid.is-compact { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); } }
@media (min-width: 901px) and (max-width: 1100px) {
  .product-grid.is-compact { gap: 14px; }
  .product-grid.is-compact .product-card.has-media { padding: 8px; }
  .product-grid.is-compact .product-card.has-media .product-card-body { padding: 14px 10px 8px; }
  .product-grid.is-compact .product-price { flex-basis: 100%; }
  .product-grid.is-compact .product-card-cta .product-summary { display: none; }
}
/* Tablets and phones: each row scrolls sideways instead of stacking tall cards */
@media (max-width: 900px) {
  .product-grid.is-compact {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(44%, 320px); gap: 14px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 18px; scrollbar-width: thin;
  }
  .product-grid.is-compact > * { scroll-snap-align: start; }
  .product-grid.is-compact .product-card:hover { transform: none; }
}
@media (max-width: 640px) { .product-grid.is-compact { grid-auto-columns: min(82%, 320px); } }
