/* ============================================================================
   CatVision Enterprise — public website
   catvisionenterprise.com

   Design system for the marketing site. Deliberately separate from the
   application's assets/core.css: the app is a dense data tool, this is a
   wide-canvas marketing surface. Both share the same brand hues so the
   handover from site to product does not feel like a different company.

   Contents
     01  Tokens (dark default + light override)
     02  Reset & base
     03  Primitives (buttons, pills, ticks, icons, utilities)
     04  Header, nav, announcement bar
     05  Hero + product mockup
     06  Strip, stats
     07  Sections, cards, module grid
     08  Workflow stepper
     09  Feature panels + inline art
     10  Reports, supplier portal, security, integrations
     11  Comparison table, editions, rollout, quotes
     12  FAQ, contact form
     13  Footer, to-top, toast
     14  Motion, responsive, print, reduced-motion
   ========================================================================== */

/* ============================================================
   01 — Tokens
   ============================================================ */
:root {
  /* Dark is the default surface for this site. */
  --bg:            #060a14;
  --bg-2:          #0a1020;
  --bg-3:          #0e1526;
  --surface:       rgba(255, 255, 255, 0.035);
  --surface-2:     rgba(255, 255, 255, 0.06);
  --surface-solid: #101a2e;
  --border:        rgba(255, 255, 255, 0.10);
  --border-2:      rgba(255, 255, 255, 0.16);

  --text:          #e9eefb;
  --text-2:        #b3c0d6;
  --muted:         #8494ad;

  --brand:         #3d8bfd;
  --brand-2:       #1f5fb2;
  --brand-3:       #6ab0ff;
  --brand-soft:    rgba(61, 139, 253, 0.14);
  --brand-line:    rgba(61, 139, 253, 0.34);

  --gold:          #f2b731;
  --gold-2:        #d99a12;
  --gold-soft:     rgba(242, 183, 49, 0.14);

  --teal:          #2bc4b6;
  --violet:        #8b7cf6;
  --rose:          #f2748f;
  --green:         #35c07a;
  --red:           #f0625d;

  --ok-soft:       rgba(53, 192, 122, 0.15);
  --bad-soft:      rgba(240, 98, 93, 0.15);

  --grad-brand:    linear-gradient(135deg, #4a95ff 0%, #2f7fe0 45%, #1552a8 100%);
  --grad-gold:     linear-gradient(135deg, #ffd970 0%, #e5a017 100%);
  --grad-text:     linear-gradient(100deg, #ffffff 0%, #cfe1ff 45%, #8fb9ff 100%);
  --grad-panel:    linear-gradient(160deg, rgba(255,255,255,.065), rgba(255,255,255,.018));

  --head-bg:       rgba(6, 10, 20, 0.72);
  --shadow-1:      0 1px 2px rgba(0, 0, 0, .35);
  --shadow-2:      0 10px 30px rgba(0, 0, 0, .40);
  --shadow-3:      0 30px 80px rgba(0, 0, 0, .55);
  --shadow-brand:  0 18px 50px rgba(31, 95, 178, .40);

  --r-sm: 8px;
  --r:    12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  --wrap: 1240px;
  --gut: clamp(18px, 4vw, 40px);
  --head-h: 68px;

  --font: "Segoe UI Variable Text", -apple-system, BlinkMacSystemFont, "Segoe UI",
          Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Mono", "SF Mono", "Fira Code", Consolas, monospace;

  --t-fast: .16s cubic-bezier(.4, 0, .2, 1);
  --t:      .28s cubic-bezier(.4, 0, .2, 1);
  --t-slow: .55s cubic-bezier(.16, 1, .3, 1);

  --focus: 0 0 0 3px rgba(61, 139, 253, .45);

  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg:            #f5f8fd;
  --bg-2:          #ffffff;
  --bg-3:          #eef3fa;
  --surface:       rgba(15, 30, 55, 0.028);
  --surface-2:     rgba(15, 30, 55, 0.055);
  --surface-solid: #ffffff;
  --border:        rgba(16, 32, 58, 0.11);
  --border-2:      rgba(16, 32, 58, 0.18);

  --text:          #101c30;
  --text-2:        #40506a;
  --muted:         #64748b;

  --brand:         #1f5fb2;
  --brand-2:       #174f96;
  --brand-3:       #2f7fe0;
  --brand-soft:    rgba(31, 95, 178, 0.09);
  --brand-line:    rgba(31, 95, 178, 0.26);

  --gold:          #b8860f;
  --gold-2:        #9a6f08;
  --gold-soft:     rgba(217, 154, 18, 0.13);

  --teal:          #0f9c90;
  --violet:        #6d55e0;
  --rose:          #d94f6e;
  --green:         #1a7a4a;
  --red:           #c0372c;

  --ok-soft:       rgba(26, 122, 74, 0.11);
  --bad-soft:      rgba(192, 55, 44, 0.10);

  --grad-text:     linear-gradient(100deg, #0e1c33 0%, #16365f 42%, #1f5fb2 100%);
  --grad-panel:    linear-gradient(160deg, rgba(255,255,255,.9), rgba(255,255,255,.55));

  --head-bg:       rgba(255, 255, 255, 0.80);
  --shadow-1:      0 1px 2px rgba(15, 30, 55, .07);
  --shadow-2:      0 10px 30px rgba(15, 30, 55, .10);
  --shadow-3:      0 30px 70px rgba(15, 30, 55, .16);
  --shadow-brand:  0 18px 46px rgba(31, 95, 178, .20);

  color-scheme: light;
}

/* ============================================================
   02 — Reset & base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 22px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.14;
  letter-spacing: -0.022em;
  font-weight: 700;
  text-wrap: balance;
}

h1 { font-size: clamp(2.15rem, 1.1rem + 3.9vw, 4.05rem); letter-spacing: -0.033em; }
h2 { font-size: clamp(1.75rem, 1.05rem + 2.5vw, 2.85rem); letter-spacing: -0.028em; }
h3 { font-size: clamp(1.15rem, .95rem + .9vw, 1.55rem); }
h4 { font-size: 1.06rem; }

p  { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a {
  color: var(--brand-3);
  text-decoration-color: color-mix(in srgb, var(--brand-3) 40%, transparent);
  text-underline-offset: 3px;
  transition: color var(--t-fast);
}
a:hover { color: var(--brand); }

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 6px;
}

button { font: inherit; color: inherit; }

::selection { background: var(--brand); color: #fff; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.wrap--narrow { max-width: 880px; }

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

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--brand); color: #fff;
  padding: 10px 18px; border-radius: 0 0 var(--r) var(--r);
  font-weight: 600; text-decoration: none;
  transition: top var(--t);
}
.skip-link:focus { top: 0; color: #fff; }

.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120;
  background: transparent; pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%; width: 0;
  background: var(--grad-brand);
  box-shadow: 0 0 14px rgba(61, 139, 253, .8);
}

/* ============================================================
   03 — Primitives
   ============================================================ */
.ico {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  flex-wrap: wrap; max-width: 100%;
  margin: 0 0 18px;
  font-size: clamp(.68rem, .62rem + .2vw, .775rem); font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--brand-3);
  padding: 7px 15px 7px 12px;
  border: 1px solid var(--brand-line);
  background: var(--brand-soft);
  border-radius: var(--r-pill);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-3);
  box-shadow: 0 0 0 4px var(--brand-soft);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .45; transform: scale(.75); }
}

.btn {
  --btn-bg: var(--surface-2);
  --btn-fg: var(--text);
  --btn-bd: var(--border-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 650; font-size: .945rem;
  text-decoration: none; cursor: pointer;
  white-space: nowrap;
  transition: transform var(--t-fast), box-shadow var(--t), background var(--t), border-color var(--t), color var(--t-fast);
}
.btn:hover { transform: translateY(-2px); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 1.05em; height: 1.05em; }

.btn--lg { padding: 15px 30px; font-size: 1.01rem; }
.btn--block { width: 100%; }

.btn--primary {
  --btn-fg: #fff; --btn-bd: transparent;
  background: var(--grad-brand);
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover { box-shadow: 0 22px 60px rgba(31, 95, 178, .55); }

.btn--gold {
  --btn-fg: #2a1c00; --btn-bd: transparent;
  background: var(--grad-gold);
  box-shadow: 0 14px 40px rgba(217, 154, 18, .30);
}
.btn--gold:hover { box-shadow: 0 20px 52px rgba(217, 154, 18, .42); }

.btn--outline {
  background: transparent;
  --btn-bd: var(--border-2);
}
.btn--outline:hover { background: var(--surface-2); border-color: var(--brand-line); }

.btn--ghost { background: transparent; --btn-bd: transparent; padding: 10px 16px; }
.btn--ghost:hover { background: var(--surface-2); }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 11px; border-radius: var(--r-pill);
  font-size: .715rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
}
.pill--ok   { background: var(--ok-soft);  color: var(--green); }
.pill--bad  { background: var(--bad-soft); color: var(--red); }
.pill--gold { background: var(--gold-soft); color: var(--gold); }

.ticks { display: grid; gap: 11px; }
.ticks li {
  position: relative;
  padding-left: 30px;
  color: var(--text-2);
  font-size: .955rem;
}
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: .34em;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--ok-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2335c07a' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}
.ticks--bad li::before {
  background-color: var(--bad-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0625d' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
  background-size: 11px;
}
.ticks em { font-style: italic; color: var(--text); }

.note {
  margin-top: 42px;
  padding: 18px 24px;
  border-left: 3px solid var(--brand);
  background: var(--surface);
  border-radius: 0 var(--r) var(--r) 0;
  color: var(--text-2);
  font-size: .96rem;
}
.note strong { color: var(--text); }

/* ============================================================
   04 — Announcement bar, header, nav
   ============================================================ */
.announce {
  position: relative; z-index: 60;
  background: linear-gradient(90deg, rgba(31,95,178,.22), rgba(43,196,182,.16), rgba(242,183,49,.16));
  border-bottom: 1px solid var(--border);
  font-size: .875rem;
}
.announce[hidden] { display: none; }
.announce__in {
  display: flex; align-items: center; gap: 14px;
  min-height: 44px; padding-block: 8px;
}
.announce__in p { margin: 0; color: var(--text-2); }
.announce__tag {
  flex: none; padding: 2px 10px; border-radius: var(--r-pill);
  background: var(--brand); color: #fff;
  font-size: .69rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.announce__link { margin-left: auto; font-weight: 650; white-space: nowrap; text-decoration: none; }
.announce__close {
  flex: none; width: 28px; height: 28px; border: 0; border-radius: 50%;
  background: transparent; color: var(--muted);
  font-size: 1.3rem; line-height: 1; cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}
.announce__close:hover { background: var(--surface-2); color: var(--text); }

.site-head {
  position: sticky; top: 0; z-index: 100;
  background: var(--head-bg);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.site-head.is-stuck {
  border-bottom-color: var(--border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
}
.site-head__in {
  display: flex; align-items: center; gap: 26px;
  min-height: var(--head-h);
}

.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; color: var(--text); }
/* Inline SVG: the wordmark inherits `color`, so it stays legible in both themes. */
.brand__logo {
  width: 168px; height: auto; display: block;
  font-family: var(--font);
}

.nav {
  display: flex; align-items: center; gap: 26px;
  margin-left: auto;
}
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__list a {
  display: block; padding: 8px 11px;
  border-radius: var(--r-sm);
  color: var(--text-2); font-size: .925rem; font-weight: 550;
  text-decoration: none; white-space: nowrap;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__list a:hover { color: var(--text); background: var(--surface-2); }
.nav__list a.is-current { color: var(--brand-3); background: var(--brand-soft); }

.nav__cta { display: flex; align-items: center; gap: 10px; }

.head-tools { display: flex; align-items: center; gap: 8px; flex: none; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--border); border-radius: 50%;
  background: var(--surface); color: var(--text-2);
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); border-color: var(--border-2); transform: translateY(-1px); }
.icon-btn .ico { width: 18px; height: 18px; }

.ico--moon { display: none; }
:root[data-theme="light"] .ico--sun  { display: none; }
:root[data-theme="light"] .ico--moon { display: block; }

.nav-toggle { display: none; }
.burger { display: block; width: 18px; }
.burger i {
  display: block; height: 2px; border-radius: 2px;
  background: currentColor; margin: 3.5px 0;
  transition: transform var(--t), opacity var(--t-fast);
}
.nav-toggle[aria-expanded="true"] .burger i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .burger i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.nav-scrim {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(3, 6, 14, .6);
  backdrop-filter: blur(3px);
  opacity: 0; transition: opacity var(--t);
}
.nav-scrim.is-on { opacity: 1; }

/* ============================================================
   05 — Hero
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(52px, 8vw, 104px) 0 clamp(60px, 9vw, 118px);
  overflow: hidden;
  isolation: isolate;
}
.hero__glow {
  position: absolute; z-index: -2;
  top: -32%; left: 50%; transform: translateX(-50%);
  width: min(1500px, 165vw); aspect-ratio: 1 / .62;
  background:
    radial-gradient(45% 55% at 30% 42%, rgba(61, 139, 253, .30), transparent 70%),
    radial-gradient(38% 48% at 72% 36%, rgba(43, 196, 182, .18), transparent 70%),
    radial-gradient(30% 40% at 55% 72%, rgba(242, 183, 49, .12), transparent 70%);
  filter: blur(28px);
}
:root[data-theme="light"] .hero__glow {
  background:
    radial-gradient(45% 55% at 30% 42%, rgba(61, 139, 253, .20), transparent 70%),
    radial-gradient(38% 48% at 72% 36%, rgba(43, 196, 182, .13), transparent 70%),
    radial-gradient(30% 40% at 55% 72%, rgba(242, 183, 49, .12), transparent 70%);
}
.hero__grid-bg {
  position: absolute; inset: 0; z-index: -3;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(80% 60% at 50% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(80% 60% at 50% 30%, #000 20%, transparent 78%);
  opacity: .55;
}

.hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 66px);
  align-items: center;
}
.hero__copy, .hero__visual { min-width: 0; }

.hero h1 { margin-bottom: 22px; }
.hero h1 em {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(1.02rem, .95rem + .38vw, 1.18rem);
  color: var(--text-2);
  max-width: 60ch;
  margin-bottom: 30px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 18px; }

.hero__sub { font-size: .93rem; color: var(--muted); margin-bottom: 28px; }

.hero__chips {
  display: flex; flex-wrap: wrap; gap: 9px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.hero__chips li {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: .845rem; font-weight: 550; color: var(--text-2);
}
.hero__chips .ico { width: 14px; height: 14px; color: var(--green); stroke-width: 3; }

/* --- Product mockup --------------------------------------- */
.hero__visual { position: relative; perspective: 1600px; }

.mock {
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  background: var(--grad-panel);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-3);
  overflow: hidden;
  transform: rotateY(-8deg) rotateX(4deg) translateZ(0);
  transition: transform var(--t-slow);
  will-change: transform;
}
.hero__visual:hover .mock { transform: rotateY(-3deg) rotateX(1.5deg); }

.mock__chrome {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.mock__chrome i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-2); }
.mock__chrome i:first-child { background: #f0625d; }
.mock__chrome i:nth-child(2) { background: #f2b731; }
.mock__chrome i:nth-child(3) { background: #35c07a; }
.mock__chrome span {
  margin-left: 12px; font-size: .705rem; color: var(--muted);
  font-family: var(--mono); letter-spacing: .01em;
  /* min-width:0 is what actually lets a nowrap flex item ellipsis instead of
     forcing the whole mockup — and the page — wider than the viewport. */
  min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.mock__body { display: grid; grid-template-columns: 132px minmax(0, 1fr); min-height: 336px; }

.mock__side {
  padding: 16px 12px;
  border-right: 1px solid var(--border);
  background: linear-gradient(185deg, rgba(12,31,57,.55), rgba(10,25,39,.3));
}
:root[data-theme="light"] .mock__side {
  background: linear-gradient(185deg, rgba(12,31,57,.06), rgba(10,25,39,.03));
}
.mock__brand {
  display: block; width: 62px; height: 9px; border-radius: 3px;
  background: var(--grad-brand); margin-bottom: 18px;
}
.mock__side ul { display: grid; gap: 4px; }
.mock__side li {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px; border-radius: 6px;
  font-size: .705rem; color: var(--muted);
}
.mock__side li b { width: 11px; height: 11px; border-radius: 3px; background: var(--surface-2); }
.mock__side li.is-active { background: var(--brand-soft); color: var(--brand-3); font-weight: 650; }
.mock__side li.is-active b { background: var(--brand); }

.mock__main { padding: 16px; display: grid; gap: 12px; align-content: start; }

.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.mock__kpi {
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
}
.mock__kpi small { display: block; font-size: .62rem; color: var(--muted); letter-spacing: .02em; }
.mock__kpi strong { display: block; font-size: 1.22rem; font-weight: 700; letter-spacing: -.02em; margin-top: 2px; }
.mock__kpi span { font-size: .6rem; font-weight: 700; }
.mock__kpi .up { color: var(--green); }
.mock__kpi .warn { color: var(--gold); }

.mock__panel {
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
  padding: 11px 12px 8px;
}
.mock__panel-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .66rem; color: var(--muted); margin-bottom: 9px;
}
.mock__panel-head i { width: 26px; height: 5px; border-radius: 3px; background: var(--surface-2); }

.mock__chart { display: flex; align-items: flex-end; gap: 5px; height: 84px; }
.mock__chart span {
  flex: 1; height: var(--h); border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, var(--brand-3), var(--brand-2));
  opacity: .9;
  transform-origin: bottom;
  animation: growBar .9s cubic-bezier(.16,1,.3,1) backwards;
}
.mock__chart span:nth-child(6),
.mock__chart span:nth-child(9) { background: linear-gradient(180deg, #ffd970, var(--gold-2)); }
.mock__chart span:nth-child(1) { animation-delay: .05s }
.mock__chart span:nth-child(2) { animation-delay: .10s }
.mock__chart span:nth-child(3) { animation-delay: .15s }
.mock__chart span:nth-child(4) { animation-delay: .20s }
.mock__chart span:nth-child(5) { animation-delay: .25s }
.mock__chart span:nth-child(6) { animation-delay: .30s }
.mock__chart span:nth-child(7) { animation-delay: .35s }
.mock__chart span:nth-child(8) { animation-delay: .40s }
.mock__chart span:nth-child(9) { animation-delay: .45s }
.mock__chart span:nth-child(10){ animation-delay: .50s }
.mock__chart span:nth-child(11){ animation-delay: .55s }
.mock__chart span:nth-child(12){ animation-delay: .60s }
@keyframes growBar { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: .9; } }

.mock__rail { display: flex; gap: 6px; }
.mock__step {
  flex: 1; display: flex; align-items: center; gap: 5px;
  padding: 7px 8px; border-radius: 6px;
  border: 1px solid var(--border);
  font-size: .6rem; color: var(--muted); white-space: nowrap;
  overflow: hidden;
}
.mock__step i { width: 7px; height: 7px; border-radius: 50%; background: var(--border-2); flex: none; }
.mock__step.is-done { color: var(--green); border-color: color-mix(in srgb, var(--green) 35%, transparent); }
.mock__step.is-done i { background: var(--green); }
.mock__step.is-live { color: var(--brand-3); border-color: var(--brand-line); background: var(--brand-soft); }
.mock__step.is-live i { background: var(--brand-3); animation: pulse 1.8s ease-in-out infinite; }

.float-card {
  position: absolute;
  padding: 13px 16px;
  border: 1px solid var(--border-2);
  border-radius: var(--r);
  background: var(--surface-solid);
  box-shadow: var(--shadow-2);
  font-size: .78rem;
  min-width: 200px;
  animation: floaty 6s ease-in-out infinite;
}
.float-card p { margin: 7px 0 2px; font-weight: 650; color: var(--text); }
.float-card small { color: var(--muted); font-size: .715rem; }
/* Positioned over the mockup's low-information areas (the nav rail and the
   footer strip) so they never sit on top of a KPI figure. */
.float-card--a { left: -26px; top: 42%; animation-delay: -1s; }
.float-card--b { right: -18px; bottom: -20px; animation-delay: -3.4s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-11px); }
}

/* ============================================================
   06 — Strip, stats
   ============================================================ */
.strip {
  border-block: 1px solid var(--border);
  background: var(--bg-2);
  padding: 30px 0;
}
.strip__label {
  margin: 0 0 18px; text-align: center;
  font-size: .74rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
}
.strip__logos {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
.strip__logos li > * {
  display: block; text-align: center; text-decoration: none;
  padding: 14px 12px; border-radius: var(--r);
  border: 1px solid transparent;
  color: var(--text);
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}
.strip__logos a:hover { border-color: var(--border); background: var(--surface); transform: translateY(-2px); }
.strip__logos strong { display: block; font-size: 1.02rem; letter-spacing: -.02em; }
.strip__logos small { display: block; margin-top: 3px; font-size: .755rem; color: var(--muted); }

.stats { padding: clamp(44px, 6vw, 70px) 0; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
}
.stat {
  padding: 26px 24px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--grad-panel);
  position: relative; overflow: hidden;
}
.stat::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 2px;
  background: var(--grad-brand); opacity: .7;
}
.stat strong {
  display: block;
  font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem);
  font-weight: 800; letter-spacing: -.04em; line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.stat span { font-size: .89rem; color: var(--text-2); }

/* ============================================================
   07 — Sections, cards, module grid
   ============================================================ */
.section { padding: clamp(60px, 8vw, 108px) 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--border); }

.sec-head { max-width: 780px; margin-bottom: clamp(34px, 5vw, 58px); }
.sec-head h2 { margin-bottom: 16px; }
.sec-lead { font-size: clamp(1rem, .95rem + .3vw, 1.11rem); color: var(--text-2); margin: 0; }
.sec-lead strong { color: var(--text); }

.sub-head { margin: clamp(48px, 6vw, 76px) 0 26px; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }

.card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--grad-panel);
}
.card h3 { display: flex; align-items: center; gap: 11px; margin-bottom: 20px; font-size: 1.16rem; }
.card h3 .ico { width: 22px; height: 22px; }
.card--problem { border-color: color-mix(in srgb, var(--red) 26%, var(--border)); }
.card--problem h3 .ico { color: var(--red); }
.card--solution { border-color: color-mix(in srgb, var(--green) 26%, var(--border)); }
.card--solution h3 .ico { color: var(--green); }

.mod-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.mod {
  position: relative;
  padding: 26px 24px 24px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--grad-panel);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  display: flex; flex-direction: column;
}
.mod:hover { transform: translateY(-4px); border-color: var(--brand-line); box-shadow: var(--shadow-2); }
.mod h4 { margin: 0 0 9px; font-size: 1.04rem; }
.mod p { margin: 0 0 16px; font-size: .89rem; color: var(--text-2); flex: 1; }
.mod__badge {
  position: absolute; top: 14px; right: 14px;
  padding: 3px 9px; border-radius: var(--r-pill);
  font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: var(--ok-soft); color: var(--green);
}
.mod__badge--soon { background: var(--surface-2); color: var(--muted); }
.mod__ico {
  display: grid; place-items: center;
  width: 44px; height: 44px; margin-bottom: 16px;
  border-radius: var(--r-sm);
  background: var(--brand-soft);
  color: var(--brand-3);
}
.mod__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mod__ico--teal   { background: color-mix(in srgb, var(--teal) 14%, transparent);   color: var(--teal); }
.mod__ico--gold   { background: var(--gold-soft);                                    color: var(--gold); }
.mod__ico--violet { background: color-mix(in srgb, var(--violet) 16%, transparent); color: var(--violet); }
.mod__ico--rose   { background: color-mix(in srgb, var(--rose) 15%, transparent);   color: var(--rose); }
.mod__ico--muted  { background: var(--surface-2);                                    color: var(--muted); }
.mod__link { font-size: .855rem; font-weight: 650; text-decoration: none; }
.mod__link span { display: inline-block; transition: transform var(--t-fast); }
.mod__link:hover span { transform: translateX(4px); }
.mod--soon { opacity: .78; }

/* ============================================================
   08 — Workflow stepper
   ============================================================ */
.flow {
  display: grid; grid-template-columns: 268px minmax(0, 1fr);
  gap: 30px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--grad-panel);
  padding: 22px;
}
.flow__rail { display: grid; gap: 3px; align-content: start; position: relative; }
.flow__rail::before {
  content: ""; position: absolute; left: 20px; top: 20px; bottom: 20px;
  width: 2px; background: var(--border); border-radius: 2px;
}
.flow__node {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 13px;
  padding: 10px 13px; border: 1px solid transparent; border-radius: var(--r-sm);
  background: transparent; cursor: pointer; text-align: left;
  color: var(--text-2); font-size: .91rem; font-weight: 550;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.flow__node:hover { background: var(--surface-2); color: var(--text); }
.flow__num {
  display: grid; place-items: center; flex: none;
  width: 27px; height: 27px; border-radius: 50%;
  border: 1px solid var(--border-2);
  background: var(--bg-2);
  font-size: .76rem; font-weight: 700;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.flow__node.is-active {
  background: var(--brand-soft); color: var(--brand-3);
  border-color: var(--brand-line); font-weight: 700;
}
.flow__node.is-active .flow__num {
  background: var(--grad-brand); color: #fff; border-color: transparent;
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.flow__node.is-done .flow__num { border-color: color-mix(in srgb, var(--green) 50%, transparent); color: var(--green); }

.flow__panels {
  border-left: 1px solid var(--border);
  padding-left: 30px;
  min-height: 340px;
}
.flow__panel { animation: fadeSlide .42s cubic-bezier(.16,1,.3,1); }
.flow__panel[hidden] { display: none; }
.flow__panel h3 { margin-bottom: 14px; }
.flow__panel > p { color: var(--text-2); margin-bottom: 22px; max-width: 62ch; }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ============================================================
   09 — Feature panels + inline art
   ============================================================ */
.feature {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
  padding: clamp(38px, 5vw, 62px) 0;
  border-top: 1px solid var(--border);
}
.feature:first-of-type { border-top: 0; }
.feature--rev .feature__copy { order: 2; }

.feature__tag {
  margin: 0 0 10px;
  font-size: .76rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold);
}
.feature__copy h3 { font-size: clamp(1.35rem, 1.05rem + 1.2vw, 1.95rem); margin-bottom: 14px; }
.feature__copy > p { color: var(--text-2); margin-bottom: 22px; max-width: 55ch; }

.art {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-3);
  box-shadow: var(--shadow-2);
}
.art__cap { margin: 16px 0 0; font-size: .78rem; color: var(--muted); text-align: center; }

/* Workflow graph art */
.art--flow { display: grid; justify-items: center; gap: 0; }
.art__node {
  padding: 9px 18px; border-radius: var(--r-pill);
  border: 1px solid var(--border-2); background: var(--surface);
  font-size: .84rem; font-weight: 600; white-space: nowrap;
}
.art__node--start { background: var(--brand-soft); border-color: var(--brand-line); color: var(--brand-3); }
.art__node--branch { background: var(--gold-soft); border-color: color-mix(in srgb, var(--gold) 40%, transparent); color: var(--gold); }
.art__node--end { background: var(--ok-soft); border-color: color-mix(in srgb, var(--green) 40%, transparent); color: var(--green); }
.art__node--sm { font-size: .76rem; padding: 7px 13px; }
.art__edge { display: block; width: 2px; height: 22px; background: var(--border-2); }
.art__split { display: flex; gap: 12px; margin: 22px 0 0; position: relative; }
.art__split::before {
  content: ""; position: absolute; top: -22px; left: 12%; right: 12%; height: 22px;
  border-top: 2px solid var(--border-2);
  border-left: 2px solid var(--border-2);
  border-right: 2px solid var(--border-2);
  border-radius: 8px 8px 0 0;
}

/* Budget art */
.art--budget { display: grid; gap: 13px; }
.bud { display: grid; grid-template-columns: 108px 1fr 46px; align-items: center; gap: 12px; font-size: .82rem; }
.bud span { color: var(--text-2); }
.bud i {
  display: block; height: 9px; border-radius: var(--r-pill);
  background: var(--surface-2); position: relative; overflow: hidden;
}
.bud i::after {
  content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w);
  border-radius: var(--r-pill); background: var(--grad-brand);
}
.bud b { text-align: right; font-variant-numeric: tabular-nums; font-size: .8rem; }
.bud--warn i::after { background: linear-gradient(90deg, #f2b731, #d99a12); }
.bud--warn b { color: var(--gold); }
.bud--over i::after { background: linear-gradient(90deg, #f0625d, #c0372c); }
.bud--over b { color: var(--red); }

/* Comparison art */
.art--compare table { width: 100%; border-collapse: collapse; font-size: .83rem; }
.art--compare th {
  text-align: left; padding: 8px 10px; font-size: .7rem;
  text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.art--compare td { padding: 10px; border-bottom: 1px solid var(--border); color: var(--text-2); }
.art--compare tr:last-child td { border-bottom: 0; }
.art--compare .is-win td { background: var(--ok-soft); color: var(--text); font-weight: 600; }
.art--compare .is-win td:first-child { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.art--compare .is-win td:last-child { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.art--compare .is-blocked td { opacity: .5; text-decoration: line-through; }
.art--compare .art__cap { text-align: left; }

/* Audit art */
.art--audit ol { display: grid; gap: 2px; }
.art--audit li {
  display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: baseline;
  padding: 9px 11px; border-radius: var(--r-sm);
  font-size: .81rem;
}
.art--audit li:nth-child(odd) { background: var(--surface); }
.art--audit .t { font-family: var(--mono); font-size: .72rem; color: var(--muted); }
.art--audit .d { color: var(--text-2); }
.art--audit .u { font-size: .73rem; color: var(--muted); white-space: nowrap; }
.art--audit .is-live { background: var(--brand-soft); }
.art--audit .is-live .d { color: var(--brand-3); font-weight: 600; }

/* ============================================================
   10 — Reports, portal, security, integrations
   ============================================================ */
.rep-filter { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px; border-radius: var(--r-pill);
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text-2); font-size: .86rem; font-weight: 550; cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.chip span {
  padding: 1px 7px; border-radius: var(--r-pill);
  background: var(--surface-2); font-size: .7rem; font-weight: 700;
}
.chip:hover { color: var(--text); border-color: var(--border-2); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip.is-active span { background: rgba(255, 255, 255, .22); color: #fff; }

.rep-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(216px, 1fr));
  gap: 9px;
}
.rep-grid li {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 15px;
  border: 1px solid var(--border); border-radius: var(--r-sm);
  background: var(--surface);
  font-size: .875rem; color: var(--text-2);
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}
.rep-grid li::before {
  content: ""; width: 6px; height: 6px; border-radius: 2px; flex: none;
  background: var(--brand); opacity: .75;
}
.rep-grid li:hover { border-color: var(--brand-line); color: var(--text); transform: translateY(-2px); }
.rep-grid li.is-hidden { display: none; }

.portal {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 62px); align-items: center;
  padding: clamp(30px, 4vw, 50px);
  border: 1px solid var(--border); border-radius: var(--r-xl);
  background:
    radial-gradient(80% 120% at 100% 0%, var(--gold-soft), transparent 60%),
    var(--grad-panel);
}
.portal__copy .sec-lead { margin-bottom: 24px; }
.portal__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.portal__art { position: relative; min-height: 300px; display: grid; place-items: center; }
.pcard {
  width: min(100%, 380px);
  padding: 20px 22px;
  border: 1px solid var(--border-2); border-radius: var(--r-md);
  background: var(--surface-solid); box-shadow: var(--shadow-2);
  position: relative; z-index: 2;
}
.pcard__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.pcard__head small { color: var(--muted); font-size: .74rem; }
.pcard h4 { margin: 0 0 14px; font-size: 1rem; }
.pcard__lines { width: 100%; border-collapse: collapse; font-size: .82rem; }
.pcard__lines td { padding: 8px 0; border-bottom: 1px solid var(--border); color: var(--text-2); }
.pcard__lines td:nth-child(2) { text-align: right; width: 48px; color: var(--muted); }
.pcard__lines td.in { width: 74px; padding-left: 12px; }
.pcard__lines td.in i {
  display: block; height: 24px; border-radius: 5px;
  border: 1px solid var(--border-2); background: var(--surface);
}
.pcard__foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px; padding: 11px 15px;
  border-radius: var(--r-sm); background: var(--grad-gold); color: #2a1c00;
  font-size: .86rem; font-weight: 700;
}
.pcard--behind {
  position: absolute; z-index: 1;
  top: 6%; right: -4%; width: min(78%, 300px);
  transform: rotate(4deg); opacity: .68;
  padding: 16px 18px;
}

.sec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.sec-card {
  padding: 26px 24px;
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--grad-panel);
  transition: transform var(--t), border-color var(--t);
}
.sec-card:hover { transform: translateY(-3px); border-color: var(--brand-line); }
.sec-card h3 { font-size: 1.04rem; margin-bottom: 9px; }
.sec-card p { margin: 0; font-size: .885rem; color: var(--text-2); }
.sec-card__ico {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: var(--r-sm); margin-bottom: 15px;
  background: var(--brand-soft); color: var(--brand-3);
}
.sec-card__ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.sec-note {
  margin-top: 26px; padding: 28px 30px;
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--surface);
}
.sec-note h3 { font-size: 1.08rem; margin-bottom: 10px; }
.sec-note p { margin: 0; color: var(--text-2); max-width: 88ch; }

.int-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.int {
  padding: 24px;
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--grad-panel);
  transition: border-color var(--t), transform var(--t);
}
.int:hover { border-color: var(--brand-line); transform: translateY(-3px); }
.int h3 { font-size: 1rem; margin-bottom: 8px; }
.int p { margin: 0; font-size: .87rem; color: var(--text-2); }

/* ============================================================
   11 — Comparison table, editions, rollout, quotes
   ============================================================ */
.table-scroll { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--border); }
.cmp { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .9rem; background: var(--grad-panel); }
.cmp th, .cmp td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.cmp thead th {
  font-size: .76rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; background: var(--surface);
  position: sticky; top: 0;
}
.cmp thead th.is-us { color: var(--brand-3); }
.cmp tbody th { font-weight: 600; color: var(--text); width: 28%; }
.cmp td { color: var(--text-2); }
.cmp td.is-us { background: var(--brand-soft); color: var(--text); font-weight: 600; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp .yes::before, .cmp .no::before, .cmp .part::before {
  content: ""; display: inline-block; width: 15px; height: 15px;
  margin-right: 8px; vertical-align: -2px;
  background-size: contain; background-repeat: no-repeat; background-position: center;
}
.cmp .yes::before  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2335c07a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.cmp .no::before   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0625d' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E"); }
.cmp .part::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2b731' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E"); }

.tier-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.tier {
  padding: 32px 28px;
  border: 1px solid var(--border); border-radius: var(--r-lg);
  background: var(--grad-panel);
  display: flex; flex-direction: column; gap: 18px;
  transition: transform var(--t), border-color var(--t);
}
.tier:hover { transform: translateY(-4px); }
.tier h3 { margin: 0; font-size: 1.34rem; }
.tier__for { margin: -12px 0 0; font-size: .87rem; color: var(--muted); }
.tier .ticks { flex: 1; }
.tier .btn { width: 100%; }
.tier--featured {
  position: relative;
  border-color: var(--brand-line);
  box-shadow: var(--shadow-brand);
  background:
    radial-gradient(90% 60% at 50% 0%, var(--brand-soft), transparent 65%),
    var(--grad-panel);
}
.tier__flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 5px 16px; border-radius: var(--r-pill);
  background: var(--grad-brand); color: #fff;
  font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  white-space: nowrap; box-shadow: var(--shadow-1);
}

.rollout { margin-top: clamp(44px, 6vw, 68px); }
.rollout h3 { margin-bottom: 24px; }
.rollout__steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: r; }
.rollout__steps li {
  padding: 22px 20px;
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--surface);
  position: relative;
}
.rollout__steps li::after {
  content: ""; position: absolute; top: 34px; right: -12px;
  width: 8px; height: 8px; border-top: 2px solid var(--border-2); border-right: 2px solid var(--border-2);
  transform: rotate(45deg);
}
.rollout__steps li:last-child::after { display: none; }
.rollout__steps span {
  display: block; font-family: var(--mono); font-size: .76rem; font-weight: 700;
  color: var(--brand-3); margin-bottom: 8px;
}
.rollout__steps b { display: block; font-size: 1rem; margin-bottom: 6px; }
.rollout__steps p { margin: 0; font-size: .83rem; color: var(--text-2); }

.quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.quote {
  margin: 0; padding: 28px 26px;
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--grad-panel);
  display: flex; flex-direction: column; gap: 18px;
}
.quote p { margin: 0; color: var(--text-2); font-size: .95rem; flex: 1; }
.quote::before {
  content: "\201C";
  font-size: 3.4rem; line-height: .6; color: var(--brand);
  opacity: .35; font-family: Georgia, serif;
}
.quote footer { border-top: 1px solid var(--border); padding-top: 15px; }
.quote footer b { display: block; font-size: .95rem; }
.quote footer span { display: block; font-size: .82rem; color: var(--muted); margin-top: 2px; }

/* ============================================================
   12 — FAQ, contact
   ============================================================ */
.faq { display: grid; gap: 10px; }
.faq__item {
  border: 1px solid var(--border); border-radius: var(--r);
  background: var(--grad-panel);
  overflow: hidden;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.faq__item:hover { border-color: var(--border-2); }
.faq__item[open] { border-color: var(--brand-line); }
.faq__item summary {
  list-style: none; cursor: pointer;
  padding: 18px 54px 18px 22px;
  font-weight: 650; font-size: 1.01rem;
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 22px; top: 50%;
  width: 11px; height: 11px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform var(--t), border-color var(--t-fast);
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; border-color: var(--brand-3); }
.faq__body { padding: 0 22px 20px; }
.faq__body p { margin: 0; color: var(--text-2); font-size: .95rem; }

.section--cta {
  background:
    radial-gradient(70% 90% at 15% 0%, var(--brand-soft), transparent 60%),
    radial-gradient(60% 80% at 90% 100%, var(--gold-soft), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--border);
}
.contact { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 60px); align-items: start; }

.contact__list { display: grid; gap: 18px; margin-top: 32px; }
.contact__list li { display: flex; gap: 15px; align-items: flex-start; }
.contact__list .ico { width: 20px; height: 20px; color: var(--brand-3); margin-top: 3px; }
.contact__list b { display: block; font-size: .82rem; color: var(--muted); font-weight: 650; letter-spacing: .03em; text-transform: uppercase; }
.contact__list a, .contact__list span:not(.ico) { font-size: 1rem; color: var(--text); text-decoration: none; }
.contact__list a:hover { color: var(--brand-3); text-decoration: underline; }

.contact__form {
  padding: clamp(26px, 3.5vw, 38px);
  border: 1px solid var(--border); border-radius: var(--r-xl);
  background: var(--surface-solid);
  box-shadow: var(--shadow-3);
}
.contact__form h3 { margin-bottom: 22px; font-size: 1.25rem; }

.field { margin-bottom: 17px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label {
  display: block; margin-bottom: 7px;
  font-size: .84rem; font-weight: 650; color: var(--text-2);
}
.field label span { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--border-2); border-radius: var(--r-sm);
  background: var(--bg-2); color: var(--text);
  font: inherit; font-size: .94rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238494ad' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
  padding-right: 38px;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .75; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: var(--focus);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.err { margin: 6px 0 0; font-size: .79rem; color: var(--red); min-height: 0; }
.err:empty { display: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.check { display: flex; gap: 11px; align-items: flex-start; margin: 6px 0 20px; font-size: .87rem; color: var(--text-2); cursor: pointer; }
.check input { width: 17px; height: 17px; margin-top: 3px; flex: none; accent-color: var(--brand); cursor: pointer; }

.spinner {
  display: none; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn.is-busy { pointer-events: none; opacity: .82; }
.btn.is-busy .spinner { display: block; }

.form-note { margin: 14px 0 0; font-size: .8rem; color: var(--muted); text-align: center; }
.form-status { margin: 12px 0 0; font-size: .89rem; text-align: center; font-weight: 600; }
.form-status.is-ok  { color: var(--green); }
.form-status.is-bad { color: var(--red); }

/* ============================================================
   13 — Footer, to-top, toast
   ============================================================ */
.site-foot { background: var(--bg-2); border-top: 1px solid var(--border); padding-top: clamp(48px, 6vw, 72px); }
.foot__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: clamp(30px, 5vw, 60px); padding-bottom: 44px; }
.foot__brand .brand__logo { width: 180px; margin-bottom: 18px; color: var(--text); }
.foot__brand p { font-size: .89rem; color: var(--text-2); max-width: 46ch; }
.foot__by { font-size: .85rem !important; color: var(--muted) !important; }

.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.foot__cols h3 {
  font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.foot__cols ul { display: grid; gap: 9px; }
.foot__cols a { font-size: .89rem; color: var(--text-2); text-decoration: none; }
.foot__cols a:hover { color: var(--brand-3); }

.foot__legal {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  padding: 22px 0; border-top: 1px solid var(--border);
  font-size: .84rem; color: var(--muted);
}
.foot__legal p { margin: 0; }
.foot__legal ul { display: flex; flex-wrap: wrap; gap: 20px; }
.foot__legal a { color: var(--muted); text-decoration: none; }
.foot__legal a:hover { color: var(--text); }

.foot__seo { padding: 0 var(--gut) 32px; }
.foot__seo p { margin: 0; font-size: .78rem; line-height: 1.75; color: color-mix(in srgb, var(--muted) 78%, transparent); }

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--border-2);
  background: var(--surface-solid); color: var(--text);
  box-shadow: var(--shadow-2); cursor: pointer;
  transition: transform var(--t), opacity var(--t), background var(--t-fast);
}
.to-top[hidden] { display: none; }
.to-top:hover { transform: translateY(-3px); background: var(--brand); color: #fff; border-color: transparent; }

.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px);
  z-index: 150;
  padding: 13px 22px; border-radius: var(--r-pill);
  background: var(--surface-solid); border: 1px solid var(--border-2);
  color: var(--text); font-size: .9rem; font-weight: 600;
  box-shadow: var(--shadow-3);
  opacity: 0; transition: opacity var(--t), transform var(--t);
  max-width: min(92vw, 520px); text-align: center;
}
.toast[hidden] { display: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast.is-ok  { border-color: color-mix(in srgb, var(--green) 45%, transparent); }
.toast.is-bad { border-color: color-mix(in srgb, var(--red) 45%, transparent); }

/* ============================================================
   14 — Motion, responsive, print
   ============================================================ */
/* Reveal-on-scroll.
   The hidden state is applied ONLY when the boot script has confirmed that
   JavaScript is running (html.js-on). If the script is blocked, fails or is
   stripped by a proxy, every section stays visible rather than the page
   rendering as a blank scroll — which is also what a crawler sees if it does
   not execute our JS. */
.reveal {
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
html.js-on .reveal { opacity: 0; transform: translateY(26px); }
html.js-on .reveal.is-in { opacity: 1; transform: none; }

/* --- ≤1180px: the horizontal nav no longer fits, so it becomes a drawer.
       Breakpoint must match NAV_BREAKPOINT in index.js. --- */
@media (max-width: 1180px) {
  .nav-toggle { display: inline-grid; }

  .nav {
    position: fixed; inset: 0 0 0 auto; z-index: 95;
    width: min(340px, 88vw);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 8px;
    margin: 0; padding: calc(var(--head-h) + 24px) 24px 32px;
    background: var(--bg-2);
    border-left: 1px solid var(--border);
    box-shadow: var(--shadow-3);
    transform: translateX(102%);
    /* visibility (not just transform) keeps the closed drawer out of the tab
       order and stops it extending the document's scrollable width. */
    visibility: hidden;
    pointer-events: none;
    transition: transform var(--t-slow), visibility var(--t-slow);
    overflow-y: auto;
  }
  .nav.is-open { transform: none; visibility: visible; pointer-events: auto; }
  .nav__list { display: grid; gap: 2px; }
  .nav__list a { padding: 13px 14px; font-size: 1rem; border-radius: var(--r-sm); }
  .nav__cta {
    flex-direction: column; align-items: stretch;
    margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border);
  }
  .nav__cta .btn { justify-content: flex-start; padding: 13px 18px; border-radius: var(--r-sm); }
  .nav__cta .btn--ghost { border: 1px solid var(--border); }

  .mod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rollout__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rollout__steps li:nth-child(3)::after { display: none; }
}

/* --- ≤1024px --- */
@media (max-width: 1024px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); }
  /* Headline first on stacked layouts: it is the message and the LCP element. */
  .hero__visual { margin-inline: auto; max-width: 620px; width: 100%; }
  .mock { transform: none; }
  .float-card--a { left: -6px; }
  .float-card--b { right: -6px; }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow__rail {
    display: flex; overflow-x: auto; gap: 6px;
    min-width: 0;  /* let the ten stage buttons scroll, not stretch the page */
    padding-bottom: 10px; scrollbar-width: thin;
    scroll-snap-type: x mandatory;
  }
  .flow__panels { min-width: 0; }
  .flow__rail::before { display: none; }
  .flow__node { flex: none; scroll-snap-align: start; }
  .flow__panels { border-left: 0; border-top: 1px solid var(--border); padding-left: 0; padding-top: 24px; min-height: 0; }
  .sec-grid, .int-grid, .quote-grid, .tier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tier--featured { grid-column: span 2; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .foot__top { grid-template-columns: minmax(0, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --- ≤880px --- */
@media (max-width: 880px) {
  .announce__in p { display: none; }
  .announce__link { margin-left: 0; }

  .split, .feature { grid-template-columns: minmax(0, 1fr); }
  .feature--rev .feature__copy { order: 0; }
  .feature__art { order: 2; }
  .portal { grid-template-columns: minmax(0, 1fr); }
  .strip__logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rollout__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rollout__steps li::after { display: none; }
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

/* --- ≤620px --- */
@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .brand__logo { width: 142px; }
  .hero__actions .btn { width: 100%; }

  /* Compact the mockup rather than letting it force a horizontal scrollbar. */
  .mock__body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .mock__side { display: none; }
  .mock__main { padding: 12px; gap: 10px; }
  .mock__kpi { padding: 8px 9px; }
  .mock__kpi small { font-size: .55rem; line-height: 1.3; }
  .mock__kpi strong { font-size: 1rem; }
  .mock__chart { height: 62px; }
  .mock__rail { display: none; }
  .float-card { display: none; }
  .stats__grid { grid-template-columns: minmax(0, 1fr); }
  .mod-grid, .sec-grid, .int-grid, .quote-grid, .tier-grid, .rollout__steps { grid-template-columns: minmax(0, 1fr); }
  .tier--featured { grid-column: auto; }
  .card, .contact__form, .portal { padding: 22px 20px; }
  .art { padding: 20px 16px; }
  .art--audit li { grid-template-columns: 42px 1fr; }
  .art--audit .u { grid-column: 2; font-size: .7rem; }
  .bud { grid-template-columns: 84px 1fr 42px; }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__legal { flex-direction: column; align-items: flex-start; }
  .to-top { right: 14px; bottom: 14px; }
}

/* --- Fine pointer only: hover-tilt is misleading on touch --- */
@media (hover: none) {
  .mock { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .float-card { animation: none; }
}

@media print {
  .site-head, .announce, .to-top, .toast, .nav, .hero__visual, .contact__form, .scroll-progress { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding: 12px 0; }
  a::after { content: " (" attr(href) ")"; font-size: .8em; color: #555; }
}
