/* ============ ZANUS AI — NEW NAV MOCKUP (Salesforce-class mega menu) ============ */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
/* Any element poking past the viewport width makes mobile Chrome zoom the whole
   page out to fit it — the layout survives rotations and everything looks broken.
   clip (not hidden: hidden creates a scroll container and breaks position:sticky)
   makes that impossible. Salesforce ships the same guard. */
html, body { overflow-x: clip; }
body { font-family: 'Segoe UI', -apple-system, Roboto, Arial, sans-serif; background: #0b1626; color: #f5f5f7; }
a { color: inherit; }
img { max-width: 100%; }

/* ---------- TOP BAR ---------- */
.zn-header { position: sticky; top: 0; z-index: 1000; background: #fff; border-bottom: 1px solid #e5e8ee; transition: transform .22s ease; }
/* Salesforce-style mobile chrome: scrolling DOWN slides the top bar away and the
   subnav (logo + product + chapter) takes its place at top: 0; any scroll UP brings
   it back. The .zn-bar-away class is set by mock.js on mobile widths only. */
html.zn-bar-away .zn-header { transform: translateY(-100%); }
html.zn-bar-away .pg-subnav { top: 0; }
.zn-bar { display: flex; align-items: center; gap: 6px; max-width: 1380px; margin: 0 auto; padding: 0 20px; height: 62px; }
.zn-logo { display: flex; align-items: center; text-decoration: none; margin-right: 18px; white-space: nowrap; }
.zn-logo__img { height: 28px; width: auto; display: block; }
.zn-nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.zn-nav > button, .zn-nav > a { appearance: none; background: none; border: 0; font: inherit; font-size: 15px; font-weight: 600; color: #1a2233; padding: 9px 13px; border-radius: 8px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; flex: none; }
.zn-nav > button:hover, .zn-nav > a:hover, .zn-nav > button.is-open { background: #eaf2fd; color: #0b5cd5; }
.zn-nav .zn-caret { font-size: 10px; opacity: .55; transform: translateY(1px); }
.zn-home-ico { font-size: 18px; line-height: 1; }
/* margin-left:auto — .zn-nav is the flex spacer but it display:none's under 1150px,
   so without this the icon cluster (and the burger) drifts left instead of hugging
   the right edge on mobile */
.zn-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.zn-cta { background: #2e844a; color: #fff; font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.zn-cta:hover { background: #256b3c; }
.zn-login { font-size: 14px; font-weight: 600; color: #1a2233; text-decoration: none; white-space: nowrap; }
.zn-burger { display: none; appearance: none; background: none; border: 0; font-size: 26px; color: #111; cursor: pointer; padding: 4px 10px; }
.zn-ico { position: relative; appearance: none; background: none; border: 0; font-size: 17px; color: #1a2233; cursor: pointer; padding: 7px 9px; border-radius: 8px; text-decoration: none; display: inline-flex; align-items: center; }
.zn-ico:hover { background: #eaf2fd; }
.zn-cart__n { position: absolute; top: 0; right: 0; min-width: 16px; height: 16px; border-radius: 999px; background: #111; color: #fff; font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.zn-search { display: none; border-top: 1px solid #e8ecf3; background: #fff; }
.zn-search.is-open { display: block; }
.zn-search__row { display: flex; align-items: center; gap: 10px; max-width: 900px; margin: 0 auto; padding: 12px 20px; }
.zn-search__row input { flex: 1; font: inherit; font-size: 16px; padding: 11px 16px; border: 1.5px solid #c3cfdf; border-radius: 999px; outline: none; }
.zn-search__row input:focus { border-color: #0b5cd5; }
.zn-search__x { appearance: none; background: none; border: 0; font-size: 24px; color: #6b7890; cursor: pointer; }

/* ---------- DESKTOP MEGA PANEL ---------- */
.zn-panel { display: none; position: fixed; left: 0; right: 0; top: 62px; bottom: 0; z-index: 990; }
.zn-panel.is-open { display: block; }
.zn-panel__backdrop { position: absolute; inset: 0; background: rgba(8, 14, 26, 0.45); }
.zn-panel__sheet { position: absolute; left: 0; top: 0; bottom: 0; width: min(980px, 86vw); background: #fff; color: #16233c; display: flex; overflow: hidden; box-shadow: 12px 0 44px rgba(0,0,0,.28); animation: zn-slide .18s ease-out; }
@keyframes zn-slide { from { transform: translateX(-24px); opacity: .4; } to { transform: none; opacity: 1; } }
.zn-panel__list { width: 385px; min-width: 300px; padding: 34px 10px 34px 34px; overflow-y: auto; }
.zn-panel__title { font-size: 34px; font-weight: 800; color: #10265c; margin: 0 0 18px; letter-spacing: -0.02em; }
.zn-panel__list ul { list-style: none; margin: 0; padding: 0; }
.zn-panel__list li { margin: 0; }
.zn-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; text-align: left; appearance: none; background: none; border: 0; border-radius: 10px; padding: 12px 14px; font: inherit; font-size: 16.5px; font-weight: 600; color: #1a2233; cursor: pointer; text-decoration: none; }
.zn-item:hover, .zn-item.is-active { background: #eaf2fd; color: #0b5cd5; }
.zn-item .zn-arrow { font-size: 13px; color: #9aa7bd; }
.zn-item.is-active .zn-arrow { color: #0b5cd5; }
.zn-item--soon { color: #8b96a9; cursor: default; }
.zn-item--soon:hover { background: none; color: #8b96a9; }
.zn-group { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #8b96a9; padding: 18px 14px 6px; border-bottom: 1px solid #e8ecf3; margin-bottom: 6px; }
.zn-panel__list li:first-child .zn-group, li.zn-group:first-child { padding-top: 4px; }
.zn-soon { font-size: 10.5px; font-weight: 800; letter-spacing: .05em; background: #ffe8b3; color: #7a5200; border-radius: 999px; padding: 3px 9px; }

.zn-panel__detail { flex: 1; background: #eef4fb; padding: 40px 38px; overflow-y: auto; display: none; }
.zn-panel__detail.is-on { display: block; animation: zn-fade .15s ease-out; }
@keyframes zn-fade { from { opacity: 0; } to { opacity: 1; } }
.zn-detail__icon { width: 46px; height: 46px; border-radius: 12px; background: #17c37b; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: 0 6px 16px rgba(23,195,123,.35); margin-bottom: 14px; }
.zn-detail__name { font-size: 26px; font-weight: 800; color: #10265c; margin: 0 0 8px; }
.zn-detail__desc { font-size: 15px; line-height: 1.55; color: #45536b; margin: 0 0 14px; max-width: 430px; }
.zn-detail__flat { display: inline-block; font-size: 12.5px; font-weight: 800; color: #0c5c2e; background: #d8f5e4; border: 1px solid #9fe0bb; border-radius: 999px; padding: 6px 14px; margin: 0 0 18px; }
.zn-detail__links { list-style: none; margin: 0 0 22px; padding: 0; max-width: 430px; }
.zn-detail__links li { break-inside: avoid; margin: 0 0 3px; }
.zn-detail__links a { display: block; padding: 7px 2px; font-size: 15px; font-weight: 700; color: #10265c; text-decoration: none; border-radius: 6px; }
.zn-detail__links a:hover { color: #0b5cd5; text-decoration: underline; }
.zn-detail__links a .zn-tag { font-size: 10px; font-weight: 800; color: #b26b00; background: #ffefc9; border-radius: 999px; padding: 2px 7px; margin-left: 6px; vertical-align: 2px; }
/* the Overview entry point: bigger + green START HERE badge (works in the desktop
   detail list AND the mobile drawer, where the base .zn-tag rule doesn't reach) */
/* one line even in the 2-col lists: nowrap, and slightly tighter than the old
   17.5px so "…Overview" + the badge fit a ~300px column without wrapping */
.zn-detail__links li.zn-start a { font-size: 16.5px; font-weight: 800; white-space: nowrap; }
.zn-detail__links li.zn-start .zn-tag--start { margin-left: 7px; }
.zn-tag--start, .zn-detail__links a .zn-tag--start { font-size: 10px; font-weight: 800; letter-spacing: .04em; color: #0c5c2e; background: #d8f5e4; border: 1px solid #9fe0bb; border-radius: 999px; padding: 2px 8px; margin-left: 8px; vertical-align: 2px; white-space: nowrap; }
.zn-mitem--start { font-size: 19px; font-weight: 800; }
.zn-detail__links--2col { max-width: 640px; columns: 2; column-gap: 34px; }
.zn-detail__links--2col a { font-size: 14px; padding: 5px 2px; }
.zn-detail__ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.zn-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 11px 22px; font-size: 14.5px; font-weight: 700; border-radius: 999px; text-decoration: none; cursor: pointer; border: 0; font-family: inherit; transition: transform .12s; }
.zn-btn:hover { transform: scale(1.03); }
.zn-btn--demo { background: #0b5cd5; color: #fff; }
.zn-btn--start { background: #2e844a; color: #fff; }
.zn-btn--ghostd { background: none; border: 1.5px solid #c3cfdf; color: #10265c; }
.zn-panel__close { position: absolute; top: 14px; right: 16px; appearance: none; background: none; border: 0; font-size: 26px; color: #6b7890; cursor: pointer; z-index: 3; }

/* ---------- MOBILE DRAWER ---------- */
.zn-drawer { display: none; position: fixed; inset: 0; z-index: 1100; background: #fff; color: #16233c; overflow: hidden; }
.zn-drawer.is-open { display: block; }
.zn-drawer__top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid #e8ecf3; }
.zn-drawer__x { appearance: none; background: none; border: 0; font-size: 26px; color: #111; cursor: pointer; }
.zn-screens { position: relative; height: calc(100% - 59px); overflow: hidden; }
.zn-screen { position: absolute; inset: 0; background: #fff; overflow-y: auto; padding: 18px 20px 80px; transition: transform .22s ease; }
.zn-screen--l1, .zn-screen--l2 { transform: translateX(100%); }
.zn-screen.is-in { transform: translateX(0); }
.zn-back { appearance: none; background: none; border: 0; font: inherit; font-size: 15px; font-weight: 700; color: #0b5cd5; cursor: pointer; padding: 6px 0 14px; display: inline-flex; gap: 6px; align-items: center; }
.zn-screen h2 { font-size: 28px; font-weight: 800; color: #10265c; margin: 4px 0 14px; }
.zn-screen ul { list-style: none; margin: 0; padding: 0; }
.zn-mitem { display: flex; align-items: center; justify-content: space-between; width: 100%; text-align: left; appearance: none; background: none; border: 0; border-bottom: 1px solid #eef1f6; padding: 15px 2px; font: inherit; font-size: 17px; font-weight: 700; color: #16233c; cursor: pointer; text-decoration: none; }
.zn-mitem .zn-arrow { color: #9aa7bd; }
.zn-mgroup { font-size: 11.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: #8b96a9; padding: 20px 2px 6px; border-bottom: 2px solid #10265c; }
.zn-mdesc { font-size: 14px; color: #45536b; line-height: 1.5; margin: 4px 0 14px; }
.zn-mflat { display: inline-block; font-size: 12px; font-weight: 800; color: #0c5c2e; background: #d8f5e4; border-radius: 999px; padding: 5px 12px; margin: 0 0 10px; }
/* CTAs stay pinned to the bottom of the drawer while the feature list scrolls
   (sticky against the .zn-screen scrollport; settles in place at the list end). */
.zn-screen--l2 { padding-bottom: 0; }
.zn-mctas { display: flex; flex-direction: column; gap: 10px; position: sticky; bottom: 0; margin: 18px -20px 0; padding: 12px 20px 16px; background: #fff; border-top: 1px solid #e8ecf3; box-shadow: 0 -10px 18px rgba(16, 38, 92, .08); }

/* Intermediate desktop (small laptops / snapped windows): compact sizes so the
   full nav still fits on one line before the burger takes over. */
@media (max-width: 1320px) {
  .zn-bar { gap: 2px; padding: 0 14px; }
  .zn-logo { margin-right: 10px; }
  .zn-logo__img { height: 24px; }
  .zn-nav > button, .zn-nav > a { font-size: 13.5px; padding: 8px 8px; }
  .zn-cta { font-size: 13px; padding: 9px 14px; }
  .zn-login { font-size: 13px; }
  .zn-right { gap: 6px; }
  .zn-ico { font-size: 15px; padding: 6px 7px; }
}

/* Below this the full nav cannot fit even compacted: switch to burger. */
@media (max-width: 1150px) {
  .zn-nav { display: none; }
  .zn-burger { display: block; }
  .zn-login { display: none; }
}

/* ---------- PAGE (dark brand, Salesforce structure) ---------- */
.pg { background: linear-gradient(180deg, #0b1626 0%, #10141d 100%); min-height: 100vh; }
.pg-subnav { position: sticky; top: 62px; z-index: 900; display: flex; align-items: center; gap: 18px; background: #0e1c33; border-bottom: 1px solid rgba(255,255,255,.1); padding: 5px 22px; min-height: 52px; }
.pg-subnav__brand { font-weight: 800; font-size: 16px; white-space: nowrap; color: #fff; text-decoration: none; flex: none; }
/* Two-row version (2026-08-31): links WRAP onto a second row when they don't fit —
   no horizontal scrolling, no arrows, no edge fades. Row 1 fills first, extras drop
   to row 2. Brand and CTAs stay vertically centered and never wrap.
   (One-line scrolling version saved in backups/2026-08-31_0819_subnav-one-line-version/) */
/* Inline flow (not flex) so wrapped rows can hang-indent: every row AFTER the first
   starts ~half a word further right (padding-left offset, pulled back on line 1 by the
   negative text-indent). */
.pg-subnav__links { display: block; flex: 1; min-width: 0; padding-left: 36px; text-indent: -36px; line-height: 1.9; }
.pg-subnav__links a { display: inline-block; text-indent: 0; font-size: 13.5px; font-weight: 600; color: #c6cfdd; text-decoration: none; padding: 4px 10px; margin-right: 2px; border-radius: 7px; white-space: nowrap; line-height: 1.4; }
.pg-subnav__links a:hover { background: rgba(255,255,255,.08); color: #fff; }
.pg-subnav__links a.is-here { color: #6fe3a5; }
/* scroll arrows retired — the strip never overflows now (kept for the saved version) */
.pg-subnav__arr { display: none !important; }
.pg-subnav__ctas { display: flex; gap: 8px; flex: none; align-items: center; }
.pg-subnav__ctas .zn-btn { padding: 8px 16px; font-size: 13px; white-space: nowrap; }
/* Mobile dropdown pieces — invisible on desktop; panel is layout-transparent there */
.pg-subnav__toggle { display: none; }
.pg-subnav__panel { display: contents; }
/* mini home logo injected by mock.js — only appears on mobile when the top bar
   has scrolled away (white chip because the wordmark needs a light background) */
.pg-subnav__logo { display: none; flex: none; align-items: center; background: #fff; border-radius: 8px; padding: 3px 7px; text-decoration: none; }
.pg-subnav__logo img { height: 19px; width: auto; display: block; }
@media (max-width: 900px), (max-width: 1150px) and (max-height: 500px) {
  html.zn-bar-away .pg-subnav__logo { display: flex; }
}
.zn-btn--outline { border: 1.5px solid rgba(255,255,255,.4); color: #fff; background: none; }

/* the brainless NEXT — right under the FAQ, centered. Same outline-pill style as Watch demo. */
/* NEXT now sits AFTER the closing CTA block — needs its own air above and below
   (it also zoom-scales to ~1.25x on approach, so leave room for the growth). */
.nextwrap { text-align: center; padding: 6px 22px 34px; }
/* continuous stream: the NEXT pill becomes this slim chapter divider once the
   following chapter has auto-revealed */
.tour-divider { display: flex; align-items: center; gap: 18px; max-width: 940px; margin: 0 auto; padding: 6px 22px 40px; color: #8e99ab; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.tour-divider::before, .tour-divider::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.16); }
.tour-divider span { white-space: nowrap; }
/* deep-link escape hatch: on chapter pages a second yellow pill before NEXT jumps
   to the Overview, where the continuous-scroll stream tells the whole story.
   EXACT same size and style as NEXT (padding tuned to match the arrow-circle
   height), zooms together with it — the customer gets an equal choice. */
.viewall-btn { display: inline-flex; align-items: center; border: 2px solid #ffd60a; border-radius: 999px; background: none; color: #fff; font-size: 20px; font-weight: 800; letter-spacing: .07em; padding: 16px 40px; text-decoration: none; margin-right: 14px; vertical-align: middle; transition: background .15s, box-shadow .15s; }
.viewall-btn:hover { background: rgba(255,214,10,.1); box-shadow: 0 0 24px rgba(255,214,10,.22); }
/* text centered: left padding = arrow circle (46) + right inset (6) + gap balance */
.next-btn { display: inline-flex; align-items: center; gap: 22px; border: 2px solid #ffd60a; border-radius: 999px; background: none; color: #fff; font-size: 20px; font-weight: 800; letter-spacing: .07em; padding: 6px 6px 6px 52px; text-decoration: none; vertical-align: middle; transition: background .15s, box-shadow .15s; }
.next-btn__arr { width: 46px; height: 46px; border-radius: 50%; background: #ffd60a; color: #0b1626; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 900; transition: transform .15s; }
.next-btn:hover { background: rgba(255,214,10,.1); box-shadow: 0 0 24px rgba(255,214,10,.22); }
.next-btn:hover .next-btn__arr { transform: translateX(3px); }

/* ---------- sticky CTA dock (injected by mock.js on tour/chapter pages) ----------
   The end-of-page action block stays where it is; once the reader scrolls PAST it
   (it disappears under the submenu), a sticky copy docks at the top, right under
   the subnav: the money buttons (identical zn-btn pills, untouched) plus a compact
   VIEW ALL / NEXT. Scrolling back up to the real block slides the copy away.
   top is set by mock.js each frame to hug the subnav (which itself moves in the
   mobile bar-away dance); z-index below subnav (900) so it emerges from under it.
   flex-wrap: on a phone the two groups fold into two centered rows. */
.zn-dock { position: fixed; left: 0; right: 0; top: 0; z-index: 880; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px 28px; padding: 10px 16px; background: rgba(8,13,26,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.14); box-shadow: 0 10px 30px rgba(0,0,0,.35); transform: translateY(-110%); transition: transform .25s ease; }
.zn-dock--on { transform: none; }
.zn-dock__cta, .zn-dock__nav { display: flex; align-items: center; gap: 10px; }
/* compact, quieter yellow pair inside the dock — navigation, not conversion */
.zn-dock .viewall-btn { font-size: 13px; letter-spacing: .06em; padding: 9px 20px; margin: 0; }
.zn-dock .next-btn { font-size: 13px; letter-spacing: .06em; gap: 12px; padding: 4px 4px 4px 22px; }
.zn-dock .next-btn__arr { width: 28px; height: 28px; font-size: 13px; }
@media (max-width: 640px) {
  .zn-dock { gap: 8px 18px; padding: 8px 10px; }
}

/* quiet last line: previous + share — never competes with the CTAs above it */
.pager-share { text-align: center; font-size: 13px; color: #8e99ab; margin: 0 auto; padding: 0 22px 46px; }
.pager-share a, .pager-share button { font: inherit; font-weight: 600; color: #9db4d6; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none; }
.pager-share a:hover, .pager-share button:hover { color: #fff; text-decoration: underline; }

.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; max-width: 1240px; margin: 0 auto; padding: 64px 26px 54px; }
.hero--home { grid-template-columns: 1fr 1fr; padding-top: 54px; }
.hero__kicker { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #ffd60a; border: 1px solid rgba(255,214,10,.35); background: rgba(255,214,10,.08); border-radius: 999px; padding: 6px 16px; margin: 0 0 16px; }
.hero h1 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.07; margin: 0 0 16px; }
.hero h1 em { font-style: normal; color: #6fe3a5; }
.hero__lead { font-size: 17.5px; line-height: 1.6; color: #c6c9d2; margin: 0 0 22px; }
.hero__lead strong { color: #fff; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.hero__note { font-size: 13px; color: #8e99ab; }
.hero__img img { width: 100%; border-radius: 14px; border: 1px solid rgba(255,255,255,.85); box-shadow: 0 0 34px rgba(41,151,255,.25); filter: brightness(1.22) contrast(1.05); }
.hero__cap { font-size: 12.5px; color: #8e99ab; text-align: center; margin-top: 8px; }
.hero-bg { background: radial-gradient(120% 130% at 50% 0%, #1e4076 0%, #122747 48%, rgba(11,22,38,0) 100%); }

.sec { max-width: 1240px; margin: 0 auto; padding: 54px 26px; }
.sec--tint { background: linear-gradient(180deg, rgba(30,64,118,.25), rgba(16,20,29,0)); border-radius: 24px; }
.sec h2 { font-size: clamp(24px, 3.2vw, 38px); font-weight: 800; letter-spacing: -0.02em; text-align: center; margin: 0 0 12px; }
.sec .sec__lead { font-size: 16.5px; line-height: 1.6; color: #c6c9d2; text-align: center; max-width: 780px; margin: 0 auto 34px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
/* column-count variants — CLASSES, never inline styles: an inline
   grid-template-columns beats the mobile media query below and the uncollapsed
   grid overflows the phone viewport (the 2026-08-31 rotation-mess bug) */
.tiles--2 { grid-template-columns: repeat(2, 1fr); }
.tiles--3 { grid-template-columns: repeat(3, 1fr); }
.tiles--4 { grid-template-columns: repeat(4, 1fr); }
.tile { border: 1px solid rgba(255,255,255,.13); border-top: 3px solid var(--acc, #4da3ff); border-radius: 16px; padding: 22px; background: rgba(255,255,255,.05); }
.tile b { display: block; font-size: 16px; color: var(--acc, #4da3ff); margin-bottom: 8px; }
.tile p { margin: 0; font-size: 14px; line-height: 1.55; color: #d5d5da; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 40px; }
.split img { width: 100%; border-radius: 12px; border: 1px solid rgba(255,255,255,.85); box-shadow: 0 0 26px rgba(41,151,255,.2); filter: brightness(1.24) contrast(1.05); }
.split h3 { font-size: 21px; font-weight: 800; margin: 0 0 10px; }
.split p { font-size: 15px; line-height: 1.6; color: #c6c9d2; }
.split ul { margin: 12px 0 0; padding: 0 0 0 2px; list-style: none; }
.split li { position: relative; padding-left: 24px; margin-bottom: 8px; font-size: 14.5px; color: #d5d5da; line-height: 1.5; }
.split li::before { content: "\2713"; position: absolute; left: 0; color: #6fe3a5; font-weight: 800; }

.plan-strip { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 26px auto 0; }
.plan-chip { font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); color: #9aa0aa; }
.plan-chip.is-in { color: #0b1626; background: #6fe3a5; border-color: #6fe3a5; }

.vs { max-width: 900px; margin: 0 auto; padding: 24px 28px; border-radius: 16px; background: linear-gradient(90deg, rgba(255,69,58,.1), rgba(48,209,88,.1)); border: 1px solid rgba(255,255,255,.14); font-size: 15.5px; line-height: 1.6; color: #d5d5da; }
.vs strong { color: #ffb0aa; }
.vs .vs__win { display: block; margin-top: 10px; font-weight: 700; color: #d8ffe8; }

.faq { max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(255,255,255,.04); margin-bottom: 10px; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 15.5px; padding: 15px 0; }
.faq p { color: #c6c9d2; font-size: 14.5px; line-height: 1.6; margin: 0 0 15px; }

.final { text-align: center; padding: 64px 26px 96px; }
.final h2 { font-size: clamp(24px, 3.4vw, 40px); font-weight: 800; margin: 0 0 24px; }

/* pricing cards */
.pt { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1220px; margin: 40px auto 0; text-align: left; }
.pt__tier { position: relative; display: flex; flex-direction: column; padding: 30px 24px; border: 1px solid rgba(255,255,255,.14); border-top: 3px solid var(--acc, #4da3ff); border-radius: 18px; background: rgba(255,255,255,.05); }
.pt__tier--pop { border-color: rgba(48,209,88,.5); box-shadow: 0 0 40px rgba(48,209,88,.12); }
.pt__tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); margin: 0; padding: 4px 14px; font-size: 11px; font-weight: 800; color: #003a00; background: #30d158; border-radius: 999px; white-space: nowrap; }
.pt__name { font-size: 17px; font-weight: 800; letter-spacing: .08em; margin: 0 0 12px; color: var(--acc, #4da3ff); }
.pt__price { font-size: 42px; font-weight: 800; margin: 0; line-height: 1; }
.pt__price span { font-size: 16px; font-weight: 500; color: #9aa0aa; }
/* store-wide rule: big number = /month (12-month division), the annual total +
   "billed annually" sits right under it */
.pt__total { font-size: 14px; font-weight: 700; color: #cfd3da; margin: 10px 0 0; }
.pt__bill { font-size: 12.5px; color: #9aa0aa; margin: 8px 0 0; }
.pt__onb { font-size: 12.5px; color: #9aa0aa; margin: 2px 0 12px; }
.pt__flat { font-size: 13px; font-weight: 700; color: #6fe3a5; margin: 0 0 16px; padding: 7px 12px; border-radius: 10px; background: rgba(48,209,88,.1); border: 1px solid rgba(48,209,88,.25); }
.pt__feat { list-style: none; margin: 0 0 22px; padding: 0; flex: 1; }
.pt__feat li { position: relative; padding-left: 24px; margin-bottom: 9px; font-size: 14px; line-height: 1.5; color: #d5d5da; }
.pt__feat li::before { content: "\2713"; position: absolute; left: 0; color: #6fe3a5; font-weight: 800; }
.pt__feat strong { color: #fff; }

/* spec / sizing table */
.stable { width: 100%; max-width: 1000px; margin: 30px auto 0; border-collapse: collapse; font-size: 14.5px; }
.stable th { text-align: left; padding: 13px 16px; color: #9aa0aa; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.18); }
.stable td { padding: 15px 16px; border-bottom: 1px solid rgba(255,255,255,.09); color: #d5d5da; line-height: 1.5; vertical-align: top; }
.stable td b { color: var(--acc, #4da3ff); font-size: 15.5px; }
.stable tr:hover td { background: rgba(255,255,255,.03); }
.stable .stable__price { color: #ffd60a; font-weight: 700; white-space: nowrap; }
@media (max-width: 700px) {
  .stable { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .stable th, .stable td { padding: 10px 10px; font-size: 13px; }
  .stable td { min-width: 130px; }
  .stable .stable__price { white-space: normal; min-width: 90px; }
}
.specs { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin: 26px auto 0; }
.specs span { font-size: 13px; font-weight: 700; color: #cfe3ff; border: 1px solid rgba(77,163,255,.35); background: rgba(77,163,255,.08); border-radius: 999px; padding: 8px 16px; }
.note-strip { max-width: 900px; margin: 26px auto 0; padding: 16px 22px; border-radius: 12px; border: 1px dashed rgba(255,255,255,.25); font-size: 14px; color: #9aa0aa; text-align: center; }
.note-strip a { color: #4da3ff; }

/* ---------- SITE FOOTER (Salesforce-style, converting) ---------- */
.zn-foot { margin-top: 60px; background: #070b12; border-top: 1px solid rgba(255,255,255,.1); }
.zn-foot__grid { max-width: 1240px; margin: 0 auto; padding: 48px 26px 30px; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 30px; }
.zn-foot__col h4 { margin: 0 0 12px; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: #8e99ab; }
.zn-foot__col ul { list-style: none; margin: 0; padding: 0; }
.zn-foot__col li { margin: 0 0 9px; }
.zn-foot__col a { color: #c6c9d2; text-decoration: none; font-size: 14px; }
.zn-foot__col a:hover { color: #fff; text-decoration: underline; }
.zn-foot__col--cta .zn-logo { background: #fff; border-radius: 10px; padding: 8px 12px; }
.zn-foot__pitch { font-size: 14px; color: #c6c9d2; line-height: 1.55; margin: 4px 0 14px; max-width: 240px; }
.zn-foot__col--cta .zn-btn { display: block; text-align: center; margin: 0 0 10px; max-width: 220px; }
.zn-foot__tel { font-size: 13.5px; color: #8e99ab; margin: 12px 0 0; }
.zn-foot__tel a { color: #4da3ff; text-decoration: none; font-weight: 700; }
.zn-foot__legal { border-top: 1px solid rgba(255,255,255,.1); }
.zn-foot__legallinks { max-width: 1240px; margin: 0 auto; padding: 16px 26px 0; font-size: 12.5px; color: #8e99ab; }
.zn-foot__legallinks span { margin-right: 14px; }
.zn-foot__legallinks a { color: #9fb2cc; text-decoration: none; }
.zn-foot__legallinks a:hover { text-decoration: underline; }
.zn-foot__disc { max-width: 1240px; margin: 0 auto; padding: 8px 26px 22px; font-size: 11.5px; line-height: 1.6; color: #6b7890; }
@media (max-width: 1000px) { .zn-foot__grid { grid-template-columns: 1fr 1fr; } .zn-foot__col--cta { grid-column: 1 / -1; } }
@media (max-width: 560px) { .zn-foot__grid { grid-template-columns: 1fr; } }

/* ---------- ROI CALCULATOR ---------- */
.roi { display: grid; grid-template-columns: 1fr 1.15fr; gap: 26px; align-items: start; max-width: 1080px; margin: 0 auto; }
.roi__form { border: 1px solid rgba(255,255,255,.13); border-radius: 16px; background: rgba(255,255,255,.05); padding: 26px; }
.roi__form label { display: block; font-size: 14px; color: #c6c9d2; font-weight: 600; margin-bottom: 22px; }
.roi__val { float: right; color: #ffd60a; font-weight: 800; }
.roi__form input[type="range"] { display: block; width: 100%; margin-top: 10px; accent-color: #4da3ff; cursor: pointer; }
.roi__fine { font-size: 12.5px; color: #9aa0aa; line-height: 1.5; margin: 4px 0 0; }
.roi__cards { display: grid; gap: 14px; }
.roi__card { border: 1px solid rgba(255,255,255,.13); border-left: 4px solid var(--acc, #4da3ff); border-radius: 16px; background: rgba(255,255,255,.05); padding: 20px 22px; }
.roi__card b { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--acc, #4da3ff); margin-bottom: 6px; }
.roi__card p { margin: 8px 0 0; font-size: 13.5px; line-height: 1.55; color: #c6c9d2; }
.roi__big { font-size: 34px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.roi__big i { font-style: normal; font-size: 14px; color: #8e99ab; font-weight: 600; }
.roi__card--sum { background: rgba(255, 214, 10, .07); }
.roi__card--sum .roi__big { font-size: 42px; color: #ffd60a; }
@media (max-width: 900px) { .roi { grid-template-columns: 1fr; } }

/* ---------- SCREENSHOT PLACEHOLDER (FO images arriving) ---------- */
.ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 300px; width: 100%; border: 2px dashed rgba(111,227,165,.5); border-radius: 14px; background: rgba(48,209,88,.05); padding: 30px 20px; text-align: center; }
.ph__badge { font-size: 11px; font-weight: 800; letter-spacing: .1em; color: #0b1626; background: #ffd60a; border-radius: 999px; padding: 5px 14px; }
.ph__name { font-family: Consolas, monospace; font-size: 15px; font-weight: 700; color: #6fe3a5; }
.ph__alt { font-size: 13px; color: #8e99ab; max-width: 380px; line-height: 1.5; }

/* ---------- DEMO MODAL ---------- */
.dm { display: none; position: fixed; inset: 0; z-index: 1200; }
.dm.is-open { display: block; }
.dm__bg { position: absolute; inset: 0; background: rgba(5,10,20,.72); }
.dm__card { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: min(480px, 92vw); background: #0e1c33; border: 1px solid rgba(48,209,88,.45); border-radius: 20px; padding: 30px 28px; box-shadow: 0 0 60px rgba(48,209,88,.25); }
.dm__x { position: absolute; top: 10px; right: 14px; appearance: none; background: none; border: 0; color: #8e99ab; font-size: 24px; cursor: pointer; }
.dm__h { font-size: 22px; font-weight: 800; margin: 0 0 6px; }
.dm__h em { font-style: normal; color: #6fe3a5; }
.dm__perks { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
.dm__perks span { font-size: 11.5px; font-weight: 700; color: #9fe0bb; border: 1px solid rgba(48,209,88,.35); border-radius: 999px; padding: 4px 10px; }
.dm input { width: 100%; margin-bottom: 10px; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; font: inherit; font-size: 14px; }
.dm input::placeholder { color: #8e99ab; }
.dm__go { width: 100%; padding: 13px; border: 0; border-radius: 999px; background: #30d158; color: #003a00; font-weight: 800; font-size: 15px; cursor: pointer; font-family: inherit; }
.dm__note { font-size: 11.5px; color: #8e99ab; text-align: center; margin: 10px 0 0; }

/* ---------- ALWAYS-OPEN AI CHAT DOCK ---------- */
.chat { position: fixed; right: 18px; bottom: 18px; z-index: 1050; width: 296px; background: #0e1c33; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; box-shadow: 0 14px 40px rgba(0,0,0,.5); overflow: hidden; }
.chat__head { display: flex; align-items: center; gap: 9px; padding: 11px 14px; background: linear-gradient(90deg, #14305c, #0e1c33); border-bottom: 1px solid rgba(255,255,255,.1); }
.chat__dot { width: 9px; height: 9px; border-radius: 50%; background: #30d158; box-shadow: 0 0 8px #30d158; }
.chat__name { font-size: 13.5px; font-weight: 800; }
.chat__call { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: #30d158;
  display: flex; align-items: center; justify-content: center; font-size: 14px; text-decoration: none;
  box-shadow: 0 4px 12px rgba(48,209,88,.4); }
.chat__call:hover { filter: brightness(1.1); }
.chat__min { margin-left: 8px; appearance: none; background: none; border: 0; color: #8e99ab; font-size: 16px; cursor: pointer; }
.chat__body { padding: 12px 14px; }
.chat__bubble { background: rgba(255,255,255,.07); border-radius: 12px; padding: 10px 12px; font-size: 13px; line-height: 1.5; color: #dfe5ee; }
.chat__row { display: flex; gap: 8px; padding: 0 14px 14px; }
.chat__row input { flex: 1; padding: 10px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; font: inherit; font-size: 13px; }
.chat__mic, .chat__send { appearance: none; border: 0; border-radius: 50%; width: 38px; height: 38px; cursor: pointer; font-size: 15px; }
.chat__mic { background: rgba(255,255,255,.1); color: #fff; }
.chat__send { background: #2997ff; color: #fff; }
.chat.is-min .chat__body, .chat.is-min .chat__row { display: none; }
.chat.is-min { width: auto; border-radius: 999px; }
.chat.is-min .chat__head { border: 0; }

@media (max-width: 1420px) {
  .pg-subnav { gap: 12px; }
  .pg-subnav__links a { font-size: 12.5px; padding: 6px 7px; }
  .pg-subnav__brand { font-size: 15px; }
}

@media (max-width: 900px) {
  .pg-subnav { gap: 12px; padding: 0 14px; }
  /* keep the demo CTA (priority), drop the secondary one on narrow screens.
     COLOR RULE (permanent): Watch demo is ALWAYS blue, Get started is ALWAYS green. */
  .pg-subnav__ctas .zn-btn--start { display: none; }
  .hero, .hero--home { grid-template-columns: 1fr; padding-top: 40px; }
  .tiles { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .pt { grid-template-columns: 1fr; }
  .pg-subnav { top: 62px; }
  .chat { width: 250px; }
}

/* Phones — AND landscape phones: a 956x440 iPhone passes every width breakpoint
   and used to get the desktop 3-row subnav filling half the screen. Height is the
   tell, so short viewports get the same compact dropdown chrome as portrait. */
@media (max-width: 640px), (max-width: 1150px) and (max-height: 500px) {
  /* Salesforce-style: the ribbon becomes [logo when scrolled] product | chapter dropdown */
  .pg-subnav__brand { font-size: 13.5px; max-width: 36%; overflow: hidden; text-overflow: ellipsis; }
  .pg-subnav { gap: 10px; }
  /* no search icon on phones — searching is what the AI chat is for */
  .zn-ico[data-search] { display: none; }
  .pg-subnav__toggle { display: flex; align-items: center; justify-content: space-between; flex: 1; min-width: 0;
    appearance: none; cursor: pointer; font: inherit; font-size: 15px; font-weight: 800; color: #fff;
    background: rgba(255,255,255,.05); border: 1.5px solid rgba(111,227,165,.55); border-radius: 10px;
    padding: 8px 14px; height: 38px; }
  .pg-subnav__toggle span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  /* opened panel must beat the fixed chat dock (z 1050) so the pinned CTAs stay visible */
  .pg-subnav.is-open { z-index: 1100; }
  .pg-subnav__chev { color: #6fe3a5; font-size: 15px; margin-left: 10px; transition: transform .15s; }
  .pg-subnav.is-open .pg-subnav__chev { transform: rotate(180deg); }

  /* the opened panel: links scroll, CTAs pinned and ALWAYS visible */
  .pg-subnav__panel { display: none; }
  .pg-subnav__arr { display: none !important; }
  .pg-subnav.is-open .pg-subnav__panel { display: flex; flex-direction: column; position: absolute;
    top: 52px; left: 0; right: 0; max-height: calc(100dvh - 200px); background: #0e1c33;
    border-bottom: 1px solid rgba(255,255,255,.16); box-shadow: 0 30px 50px rgba(0,0,0,.6); }
  .pg-subnav.is-open .pg-subnav__links { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto;
    overflow-y: auto; overflow-x: hidden; padding: 10px 12px; text-indent: 0; -webkit-mask: none; mask: none; }
  .pg-subnav.is-open .pg-subnav__links a { font-size: 16px; font-weight: 600; padding: 13px 14px; border-radius: 10px; white-space: normal; }
  .pg-subnav.is-open .pg-subnav__links a.is-here { background: rgba(111,227,165,.12); }
  .pg-subnav.is-open .pg-subnav__ctas { display: flex; flex-direction: column; gap: 10px; flex: none;
    padding: 12px 14px 14px; border-top: 1px solid rgba(255,255,255,.14); background: #0b1626; }
  .pg-subnav.is-open .pg-subnav__ctas .zn-btn { display: block; width: 100%; text-align: center;
    padding: 14px; font-size: 16px; }
  /* re-show Get started here — the 900px rule hides it in the closed ribbon */
  .pg-subnav.is-open .pg-subnav__ctas .zn-btn--start { display: block; }

  /* keep the last line clear of the fixed chat dock */
  .pager-share { margin-top: 0; padding-bottom: 270px; }
  .next-btn { font-size: 18px; gap: 18px; padding: 5px 5px 5px 46px; }
  .next-btn__arr { width: 42px; height: 42px; font-size: 18px; }
  /* side by side the two pills overflow a phone screen once the scroll zoom
     kicks in — stack them, full size, VIEW ALL on top */
  .nextwrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
  .viewall-btn { font-size: 18px; padding: 14px 34px; margin-right: 0; }
}

/* ---------- INDUSTRIES HUB ---------- */
.ind-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.ind-chip { font-size: 14px; font-weight: 700; color: #cfe0f5; background: #14243c; border: 1px solid #2a4166; border-radius: 999px; padding: 8px 18px; text-decoration: none; cursor: pointer; font-family: inherit; }
.ind-chip:hover { background: #1d3355; border-color: #4da3ff; color: #fff; }
.ind-chip.is-on { background: #4da3ff; border-color: #4da3ff; color: #04101f; }
/* Industries hub — tight continuous grid, old ai-solutions pagination style */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.ind-card { background: #0c0f14; border: 1px solid #1f2733; border-radius: 12px; display: flex; flex-direction: column; overflow: hidden; transition: border-color .15s, transform .15s; }
.ind-card:hover { border-color: #4da3ff; transform: translateY(-2px); }
.ind-card__imgwrap { position: relative; display: block; }
.ind-card__img { display: block; width: 100%; height: 150px; object-fit: cover; margin: 0; }
.ind-card__tag { position: absolute; top: 8px; right: 8px; font-size: 9.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #d8e6ff; background: rgba(4, 10, 20, .74); border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; padding: 3px 9px; backdrop-filter: blur(3px); }
.ind-card__body { padding: 14px 16px 15px; display: flex; flex-direction: column; flex: 1; }
.ind-card h3 { margin: 0 0 6px; font-size: 16px; letter-spacing: -0.01em; }
.ind-card h3 a { color: #fff; text-decoration: none; }
.ind-card h3 a:hover { color: #4da3ff; }
.ind-card p { margin: 0 0 12px; font-size: 12.5px; line-height: 1.5; color: #9aa7ba; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ind-card__links { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; }
/* homepage news strip — the latest newsroom entry, always visible above the hero
   (replaces the NEWS section removed from the homepage, owner 2026-08-31) */
.zn-newsbar { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 9px 16px; background: #071022; border-bottom: 1px solid #16233c; text-decoration: none; flex-wrap: wrap; }
.zn-newsbar__tag { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; color: #071022; background: #ffd60a; border-radius: 4px; padding: 2px 8px; white-space: nowrap; }
.zn-newsbar__t { font-size: 13px; font-weight: 700; color: #e8edf5; }
.zn-newsbar__go { font-size: 13px; font-weight: 800; color: #7fb3ff; white-space: nowrap; }
.zn-newsbar:hover .zn-newsbar__t { color: #fff; text-decoration: underline; }
@media (max-width: 640px) { .zn-newsbar__t { font-size: 12px; } }
/* hero recognition line (CES · ISE · TMCnet) */
.hero__awards { margin: 14px 0 0; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; color: #ffd60a; opacity: .92; }

/* cross-language link bar on translated landing pages (LF multi-language) */
.lang-alt { text-align: center; padding: 9px 16px; font-size: 13px; font-weight: 700; background: #0c0f14; border-bottom: 1px solid #1f2733; }
.lang-alt a { color: #7fb3ff; text-decoration: none; }
.lang-alt a:hover { text-decoration: underline; }
/* demo-library cards carry 7+ links (and LF keeps adding more): wrap into rows
   instead of clipping mid-word behind the card's overflow:hidden */
.ind-card__links--wrap { flex-wrap: wrap; justify-content: flex-start; gap: 6px 14px; }
.ind-card__links--wrap a { white-space: nowrap; }
.ind-card__links a { color: #4da3ff; text-decoration: none; }
.ind-card__links a:hover { color: #fff; text-decoration: underline; }
.ind-card__links .ind-card__demo { color: #35c56f; }
@media (max-width: 1200px) { .ind-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .ind-grid { grid-template-columns: 1fr; } .ind-card__img { height: 170px; } }

/* FO widget mock: eyebrow badge (data-badge equivalent) */
.dm__badge { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; color: #30d158; border: 1px solid rgba(48,209,88,.5); border-radius: 999px; padding: 4px 12px; margin-bottom: 10px; }

/* ---------- HOMEPAGE: proof stat band ---------- */
.statband { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 6px; }
.stat { text-align: center; background: #101d31; border: 1px solid #22334e; border-radius: 12px; padding: 14px 8px; }
.stat b { display: block; font-size: 24px; color: #6fe3a5; letter-spacing: -0.01em; }
.stat span { font-size: 12px; color: #b9c4d6; }
@media (max-width: 980px) { .statband { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .statband { grid-template-columns: repeat(2, 1fr); } }

/* ---------- HOMEPAGE: folder-stack cards (Salesforce-style stacking scroll) ---------- */
.stack { position: relative; }
.stack__card {
  position: sticky; top: calc(76px + var(--i, 0) * 50px);
  border-radius: 16px; overflow: hidden; margin-bottom: 20px; border: 1px solid #22334e;
  box-shadow: 0 -14px 38px rgba(0,0,0,.5);
  /* squeeze-into-perspective: JS (initStackSqueeze) drives scale+brightness as the next card covers this one */
  transform-origin: 50% 0; will-change: transform, filter;
}
.stack__bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px; font-weight: 800; font-size: 13.5px; letter-spacing: .07em; }
.stack__bar span:last-child { font-size: 12px; font-weight: 700; opacity: .8; letter-spacing: .02em; }
.stack__body { display: grid; grid-template-columns: 1.02fr .98fr; gap: 32px; padding: 28px 32px 32px; background: #0e1c33; align-items: center; }
.stack__body h3 { margin: 0 0 10px; font-size: 26px; letter-spacing: -0.01em; }
.stack__body h3 em { font-style: normal; }
.stack__body p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.65; color: #c7d0de; }
.stack__facts { margin: 0 0 16px; padding: 0; list-style: none; font-size: 13.5px; color: #dfe5ee; }
.stack__facts li { padding: 3px 0 3px 20px; position: relative; }
.stack__facts li::before { content: '\2713'; position: absolute; left: 0; font-weight: 800; }
.stack__img img { width: 100%; border-radius: 10px; border: 1px solid #2a3d5c; display: block; }
.stack__ctas { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .stack__card { top: calc(70px + var(--i, 0) * 40px); }
  .stack__bar { padding: 10px 16px; font-size: 12px; }
  .stack__bar span:last-child { font-size: 10.5px; }
  .stack__body { grid-template-columns: 1fr; padding: 20px 18px 24px; }
  .stack__body h3 { font-size: 21px; }
}
/* Phones: compact the cards so they FIT the viewport and the folder-stack works
   like Salesforce's. mock.js measures; if a card still can't fit (tiny phones,
   landscape) it flips the stack to flat mode: normal scroll, no stick, no squeeze. */
@media (max-width: 640px), (max-width: 1150px) and (max-height: 500px) {
  .stack__body { gap: 14px; padding: 16px 16px 20px; }
  .stack__body p { font-size: 13.5px; line-height: 1.55; }
  .stack__facts { font-size: 12.5px; margin-bottom: 12px; }
  .stack__img img { max-height: 30vh; object-fit: cover; object-position: 0 0; }
}
.stack--noimg .stack__img { display: none; }
/* short screens (landscape phones): tab + title + pitch + CTAs only, so the tabs
   can still park and stack at the top instead of scrolling out of the viewport */
.stack--mini .stack__facts { display: none; }
.stack--mini .stack__body { gap: 10px; padding: 12px 16px 16px; }
.stack--mini .stack__body p { margin-bottom: 4px; }
.stack--flat .stack__card { position: static; transform: none !important; filter: none !important; }

/* ---------- CHAT DOCK: avatar mode (homepage / sell pages) ---------- */
.chat--avatar { width: 316px; }
.chat__ava { position: relative; background: #000; }
.chat__ava img { width: 100%; height: 158px; object-fit: cover; object-position: 50% 20%; display: block; }
.chat__speak { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); appearance: none; border: 0; background: #0a84ff; color: #fff; font: inherit; font-size: 12.5px; font-weight: 800; border-radius: 999px; padding: 7px 16px; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.5); white-space: nowrap; }
.chat__speak:hover { background: #2997ff; }
.chat__avaname { position: absolute; left: 10px; bottom: 12px; font-size: 11.5px; font-weight: 800; color: #fff; text-shadow: 0 1px 4px #000; }
.chat__avaname i { font-style: normal; color: #30d158; }
.chat.is-min .chat__ava { display: none; }
@media (max-width: 640px) { .chat--avatar { width: 296px; } .chat__ava img { height: 132px; } }

/* ---------- LEGAL PAGES (terms / privacy): readable long-form prose ---------- */
.legal { max-width: 880px; }
.legal h2 { font-size: 20px; margin: 34px 0 10px; }
.legal p, .legal li { font-size: 14px; line-height: 1.75; color: #c7cedb; }
.legal p { margin: 0 0 14px; }
.legal ul { padding-left: 22px; margin: 10px 0 18px; }
.legal li { margin: 6px 0; }
.legal a { color: #4da3ff; }
.legal b { color: #e8edf5; }

/* ---------- ABOUT / TRUST PAGE: award badge wall + booth gallery ---------- */
.awall__k { margin: 26px 0 4px; font-size: 12px; font-weight: 800; letter-spacing: .12em; color: #ffd60a; }
.awall__k--nom { color: #9aa3b2; margin-top: 34px; }
.awall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 14px; }
.awall--nom { grid-template-columns: repeat(4, 1fr); max-width: 820px; margin-left: auto; margin-right: auto; }
.award { margin: 0; background: #0d1526; border: 1px solid rgba(255, 214, 10, .28); border-radius: 12px; padding: 16px 12px 12px; }
.award--nom { border-color: #26355269; }
.award img { width: 100%; height: 112px; object-fit: contain; display: block; }
.award figcaption { margin-top: 10px; font-size: 11.5px; line-height: 1.4; color: #9aa3b2; }
.award figcaption b { color: #e8edf5; font-size: 12.5px; }
@media (max-width: 900px) { .awall, .awall--nom { grid-template-columns: repeat(2, 1fr); } }
/* 5 photos, magazine layout: row 1 = wide Ai4 shot (2 cols) + portrait Ai4 avatar
   shot (1 col); row 2 = the three ITEXPO photos. */
.booths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.booths figure { margin: 0; background: #0d1526; border: 1px solid #1c2740; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.booths figure:first-child { grid-column: 1 / 3; }
.booths img { width: 100%; height: 220px; object-fit: cover; display: block; }
.booths figure:first-child img, .booths figure:nth-child(2) img { height: 380px; object-position: 50% 30%; }
.booths figure:nth-child(2) img { object-position: 50% 20%; }
.booths figcaption { padding: 10px 14px 12px; font-size: 12.5px; line-height: 1.5; color: #9aa3b2; }
.booths figcaption b { color: #e8edf5; }
@media (max-width: 640px) {
  .booths { grid-template-columns: 1fr; }
  .booths figure:first-child { grid-column: auto; }
  .booths img, .booths figure:first-child img { height: 200px; }
  .booths figure:nth-child(2) img { height: 300px; }
}

/* ---------- RESELLER APPLICATION form (POSTs to FO endpoint, 08-REPLY §E) ---------- */
.rsl { max-width: 760px; background: #0d1526; border: 1px solid #1c2740; border-radius: 14px; padding: 22px; }
.rsl__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.rsl label { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; font-weight: 700; color: #9aa3b2; }
.rsl__wide { grid-column: 1 / -1; }
.rsl input:not([type=checkbox]), .rsl textarea { background: #0a1120; border: 1px solid #2a3a58; border-radius: 9px;
  color: #e8edf5; padding: 10px 12px; font: 400 14px/1.4 inherit; font-family: inherit; }
.rsl input:focus, .rsl textarea:focus { outline: none; border-color: #4da3ff; }
.rsl__consent { flex-direction: row !important; align-items: flex-start; gap: 9px !important; margin: 16px 0 14px;
  font-weight: 500 !important; line-height: 1.5; }
.rsl__consent input { margin-top: 2px; }
.rsl__go { font-size: 15px; padding: 12px 26px; }
.rsl__msg { margin: 12px 0 0; font-size: 13.5px; font-weight: 600; }
@media (max-width: 640px) { .rsl__grid { grid-template-columns: 1fr; } }

