/* ==========================================================================
   Parallex v1 "Descent" · components.css
   Every reusable, class-based component. See NOTES.md for markup snippets.
   Index:
     1 buttons + text links      2 chips, badges, layer number, dex avatar, glyphs
     3 Before/With toggle + wipe 4 media panel, window, phone
     5 coded chat (WhatsApp)     6 activity feed, unit card, toast
     7 comparison card           8 product / role / project cards
     9 step list                 10 FAQ accordion
     11 forms                    12 film modal
     13 final CTA band           14 breadcrumbs, in-the-flow, section header
     15 header + mega-menus      16 mobile sheet + sticky CTA bar
     17 footer                   18 inner page hero (ambient scene)
     19 depth gauge
   ========================================================================== */

/* =============================================================== 1 buttons */
.btn {
  --h: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding-inline: 26px; border-radius: var(--r-pill);
  font-family: var(--font-body); font-weight: 500; font-size: var(--fs-chip); line-height: 1; white-space: nowrap;
  border: 1px solid transparent; isolation: isolate; overflow: hidden;
  transition: transform var(--t-ui) var(--ease-out), background-color var(--t-ui), color var(--t-ui), border-color var(--t-ui), box-shadow var(--t-ui);
}
.btn .ic { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { --h: 44px; padding-inline: 20px; }
.btn--lg { --h: 60px; padding-inline: 32px; font-size: 17px; }
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 12px 30px -14px rgba(16, 22, 36, .6); }
.btn--primary:hover { background: #060a14; box-shadow: 0 18px 40px -16px rgba(16, 22, 36, .7); }
/* sheen that sweeps across primary buttons on hover */
.btn--primary::after, .btn--light::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .22) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease-expo);
}
.btn--primary:hover::after, .btn--light:hover::after { transform: translateX(120%); }
.btn--secondary { background: #fff; color: var(--navy); border-color: var(--border-2); }
.btn--secondary:hover { border-color: #c9d3e6; box-shadow: var(--shadow-card); }
/* on dark sections the primary inverts to white (brief 5.4) */
.t-dark .btn--primary, .t-ink .btn--primary, .on-dark .btn--primary, .btn--light { background: #fff; color: var(--navy); box-shadow: 0 16px 40px -18px rgba(103, 142, 229, .7); }
.t-dark .btn--primary:hover, .t-ink .btn--primary:hover, .on-dark .btn--primary:hover, .btn--light:hover { background: var(--ice); }
.t-dark .btn--secondary, .t-ink .btn--secondary, .on-dark .btn--secondary, .btn--glass {
  background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .22); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
}
.t-dark .btn--secondary:hover, .t-ink .btn--secondary:hover, .on-dark .btn--secondary:hover, .btn--glass:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); }
.btn--wa { background: #fff; color: var(--navy); border-color: var(--border-2); }
.btn--wa .wa-glyph { width: 20px; height: 20px; }
.t-dark .btn--wa, .t-ink .btn--wa, .on-dark .btn--wa { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn--icon { width: var(--h); padding: 0; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn__label { opacity: .9; }
.btn__spinner { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.btn.is-loading .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* text link: Blue 1 on light, Blue 3 on dark, arrow nudges 2px */
.tlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--blue-1); border-radius: 4px; }
.tlink .ic { width: 18px; height: 18px; transition: transform var(--t-ui) var(--ease-out); }
.tlink:hover .ic { transform: translateX(2px); }
.tlink:hover .ic--ext { transform: translate(2px, -2px); }
[dir="rtl"] .tlink .ic:not(.ic--ext) { transform: scaleX(-1); }
[dir="rtl"] .tlink:hover .ic:not(.ic--ext) { transform: scaleX(-1) translateX(2px); }
.t-dark .tlink, .t-ink .tlink, .on-dark .tlink { color: var(--blue-3); }
.t-water .tlink { color: var(--blue-deep); }
.tlink--quiet { color: inherit; }
.link-under { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease-out); }
.link-under:hover { background-size: 100% 1px; }
.film-link { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; }
.film-link__play { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: var(--blur); transition: transform var(--t-ui) var(--ease-out), background var(--t-ui); }
.film-link__play .ic { width: 16px; height: 16px; fill: currentColor; margin-inline-start: 2px; }
.film-link:hover .film-link__play { transform: scale(1.08); background: rgba(255, 255, 255, .2); }
.t-paper .film-link__play, .t-mist .film-link__play { background: #fff; border-color: var(--border-2); }
.film-link__meta { opacity: .7; font-weight: 400; }

/* =============================================================== 2 chips, badges */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px 0 14px;
  border-radius: var(--r-pill); background: #fff; border: 1px solid var(--border-2); box-shadow: var(--shadow-card);
  font-weight: 500; font-size: var(--fs-chip); line-height: 1.15; color: var(--navy);
}
.chip .ic { width: 20px; height: 20px; color: var(--blue-1); }
.chip--before { background: #F6F6F7; border-color: #DCDFE5; color: var(--before-text-2); box-shadow: none; }
.chip--before .ic { color: #6B7280; }
.chip--glass { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff; box-shadow: none; backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.chip--glass .ic { color: var(--blue-3); }
.chip--wa .ic { color: var(--wa); }
.chip--sm { min-height: 36px; padding: 0 14px 0 10px; font-size: 14px; gap: 8px; }
.chip--sm .ic { width: 16px; height: 16px; }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); flex: none; }
.chip--mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; font-weight: 500; }
/* chip stagger when its block enters (JS adds .is-in on the .chips parent) */
.js .chips[data-stagger] > * { opacity: 0; transform: translateY(10px) scale(.96); }
.js .chips[data-stagger].is-in > * { opacity: 1; transform: none; transition: opacity .45s var(--ease-out), transform .6s var(--ease-expo); transition-delay: calc(var(--i, 0) * 80ms); }

.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: var(--r-pill);
  font-family: var(--font-body); font-size: 12px; font-weight: 500; line-height: 1; letter-spacing: .02em; white-space: nowrap;
  background: var(--tint); color: var(--blue-1);
}
.badge .ic { width: 14px; height: 14px; }
.badge--live { background: var(--live-bg); color: var(--live-text); }
.badge--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: livePulse 2s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); } 70%, 100% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); } }
.badge--sample { background: var(--tint); color: #3B4B6E; font-weight: 500; }
.badge--sample::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--blue-2); }
.badge--new { background: var(--navy); color: #fff; }
.badge--improved { background: #FFF4E0; color: #9A5B00; }
.badge--updated { background: #FEF3C7; color: #92400E; }
.badge--updated::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--updated); }
.badge--before { background: var(--before-tag-bg); color: var(--before-tag); }
.badge--before::before { content: "×"; font-size: 14px; line-height: 0; color: var(--before-mark); }
.badge--with { background: var(--navy); color: #fff; }
.badge--product { background: rgba(80, 111, 179, .12); color: var(--blue-1); }
.t-dark .badge--product, .t-ink .badge--product, .on-dark .badge--product { background: rgba(103, 142, 229, .18); color: #C9D8FA; }
.t-dark .badge--sample, .t-ink .badge--sample, .on-dark .badge--sample { background: rgba(255, 255, 255, .1); color: var(--on-dark-2); }
.badge--wa { background: rgba(37, 211, 102, .16); color: #0B6B3A; }
.on-dark .badge--wa, .t-dark .badge--wa { color: #7BE8A6; }

/* layer number square (eyebrow prefix) */
.lnum { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 7px; background: var(--blue-1); color: #fff; font-size: 13px; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.on-dark .lnum, .t-dark .lnum { background: rgba(103, 142, 229, .28); color: #fff; box-shadow: inset 0 0 0 1px rgba(103, 142, 229, .6); }

/* mini three-bar mark (inline) */
.mark3 { display: inline-flex; flex-direction: column; gap: 2px; width: 14px; }
.mark3 i { display: block; height: 3px; border-radius: 1px; background: currentColor; }
.mark3 i:nth-child(1) { width: 64%; background: var(--blue-3); }
.mark3 i:nth-child(2) { width: 82%; background: var(--blue-2); }
.mark3 i:nth-child(3) { width: 100%; background: var(--blue-1); }
.mark3--mono i { background: currentColor !important; }

/* Dex avatar: blue gradient circle, three bars, eye dot, green online dot (brief 5.5) */
.dex-av { --s: 36px; position: relative; width: var(--s); height: var(--s); border-radius: 50%; flex: none; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, #9DB8F5 0%, #678EE5 35%, #3B5690 100%); box-shadow: inset 0 -3px 8px rgba(16, 22, 36, .3), 0 4px 12px -4px rgba(59, 86, 144, .7); }
.dex-av .mark3 { width: 46%; gap: calc(var(--s) * .05); }
.dex-av .mark3 i { height: calc(var(--s) * .09); background: #fff !important; opacity: .95; }
.dex-av .mark3 i:nth-child(1) { opacity: 1; }
.dex-av::before { content: ""; position: absolute; width: 12%; height: 12%; border-radius: 50%; background: #fff; top: 22%; inset-inline-end: 24%; }
.dex-av::after { content: ""; position: absolute; width: 26%; height: 26%; border-radius: 50%; background: var(--wa); bottom: -2%; inset-inline-end: -2%; box-shadow: 0 0 0 2px #fff; }
.dex-av--lg { --s: 88px; }
.dex-av--xl { --s: 140px; }

/* product glyphs (three-bar vocabulary) */
.pglyph { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: linear-gradient(160deg, #EEF2FB, #DCE6FA); color: var(--blue-1); box-shadow: inset 0 0 0 1px rgba(80, 111, 179, .16); }
.pglyph svg { width: 24px; height: 24px; }
.on-dark .pglyph, .t-dark .pglyph, .t-ink .pglyph { background: linear-gradient(160deg, rgba(103, 142, 229, .28), rgba(59, 86, 144, .2)); color: #DCE6FA; box-shadow: inset 0 0 0 1px rgba(103, 142, 229, .35); }
.pglyph--dex { background: none; box-shadow: none; }

/* =============================================================== 3 Before / With */
.bw-toggle {
  position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; gap: 0;
  border-radius: var(--r-pill); background: rgba(16, 22, 36, .06); box-shadow: inset 0 0 0 1px rgba(16, 22, 36, .08);
}
.on-dark .bw-toggle { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.bw-toggle__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: var(--r-pill); background: var(--navy); box-shadow: 0 6px 16px -8px rgba(16, 22, 36, .8); transition: transform .45s var(--ease-expo), background-color .3s; }
.bw[data-state="before"] .bw-toggle__thumb { background: var(--before-tag-bg); transform: translateX(0); box-shadow: none; }
.bw[data-state="with"] .bw-toggle__thumb { transform: translateX(100%); }
[dir="rtl"] .bw[data-state="with"] .bw-toggle__thumb { transform: translateX(-100%); }
[dir="rtl"] .bw-toggle__thumb { left: auto; right: 4px; }
.on-dark .bw[data-state="with"] .bw-toggle__thumb, .on-dark.bw[data-state="with"] .bw-toggle__thumb { background: #fff; }
.bw-toggle__opt { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: var(--r-pill); font-size: 14px; font-weight: 500; white-space: nowrap; color: var(--muted); transition: color .3s; }
.on-dark .bw-toggle__opt { color: var(--on-dark-2); }
.bw[data-state="before"] .bw-toggle__opt[data-bw-set="before"] { color: var(--before-tag); }
.bw[data-state="with"] .bw-toggle__opt[data-bw-set="with"] { color: #fff; }
.on-dark .bw[data-state="with"] .bw-toggle__opt[data-bw-set="with"], .on-dark.bw[data-state="with"] .bw-toggle__opt[data-bw-set="with"] { color: var(--navy); }
.bw-toggle__opt .x { color: var(--before-mark); font-size: 16px; line-height: 0; }

/* states are stacked in one grid cell so height never jumps; inactive = hidden from AT */
.bw-stack { display: grid; }
.bw-stack > [data-bw-state] { grid-area: 1 / 1; transition: opacity .45s var(--ease-out), transform .6s var(--ease-expo), visibility 0s linear 0s; }
.bw[data-state="before"] [data-bw-state="with"], .bw[data-state="with"] [data-bw-state="before"] { opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .3s, visibility 0s linear .3s; pointer-events: none; }
/* no-JS default is With (brief 4.0) */
.bw:not([data-state]) [data-bw-state="before"] { display: none; }
.bw-headline--before { color: var(--before-text); }
.on-dark .bw-headline--before { color: #C7CEDB; }
.bw-body { max-width: 34em; }
.bw-guard { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h4); line-height: 1.25; letter-spacing: -.01em; display: flex; gap: 12px; align-items: flex-start; }
.bw-guard .ic { width: 26px; height: 26px; color: var(--wa); margin-top: 2px; }

/* the three-bar wipe (600ms, bars 60ms apart) */
.wipe { position: absolute; inset: 0; z-index: 5; pointer-events: none; display: grid; grid-template-rows: 1fr 1fr 1fr; overflow: hidden; border-radius: inherit; }
.wipe i { display: block; background: var(--blue-3); transform: translateX(-101%); }
.wipe i:nth-child(2) { background: var(--blue-2); }
.wipe i:nth-child(3) { background: var(--blue-1); }
.wipe.is-run i { animation: wipe var(--t-wipe) var(--ease-in-out) both; }
.wipe.is-run i:nth-child(2) { animation-delay: 60ms; }
.wipe.is-run i:nth-child(3) { animation-delay: 120ms; }
@keyframes wipe { 0% { transform: translateX(-101%); } 45%, 55% { transform: translateX(0); } 100% { transform: translateX(101%); } }
[dir="rtl"] .wipe i { transform: translateX(101%); }
[dir="rtl"] .wipe.is-run i { animation-name: wipeRtl; }
@keyframes wipeRtl { 0% { transform: translateX(101%); } 45%, 55% { transform: translateX(0); } 100% { transform: translateX(-101%); } }

/* =============================================================== 4 media panel + devices */
.media-panel {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-xl); isolation: isolate;
  background: linear-gradient(160deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .5)); border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: var(--shadow-panel); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
}
.media-panel--glass { background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)); border-color: rgba(255, 255, 255, .13); box-shadow: var(--shadow-deep), inset 0 1px 0 rgba(255, 255, 255, .08); }
.media-panel--bare { background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.media-panel__inner { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; }
.media-panel [data-bw-state="before"] { filter: grayscale(1) contrast(.96); }
.media-panel__badge { position: absolute; z-index: 6; bottom: -38px; inset-inline-end: 6px; }
.media-panel__label { position: absolute; z-index: 6; top: 14px; inset-inline-start: 16px; }
.media-panel__pause { position: absolute; z-index: 6; bottom: 12px; inset-inline-start: 12px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(16, 22, 36, .55); color: #fff; backdrop-filter: blur(8px); opacity: .7; transition: opacity .2s; }
.media-panel__pause:hover, .media-panel__pause:focus-visible { opacity: 1; }
.media-panel__pause .ic { width: 16px; height: 16px; }
.media-panel__pause .ic-play { display: none; }
.is-paused > .media-panel__pause .ic-play, .media-panel.is-paused .media-panel__pause .ic-play { display: block; }
.is-paused > .media-panel__pause .ic-pause, .media-panel.is-paused .media-panel__pause .ic-pause { display: none; }
@media (max-width: 767px) { .media-panel { aspect-ratio: 4 / 5; border-radius: var(--r-lg); } }

/* app window (browser/desktop UI) */
.win { position: relative; border-radius: 16px; background: #fff; box-shadow: 0 30px 60px -30px rgba(16, 22, 36, .5), 0 0 0 1px rgba(16, 22, 36, .06); overflow: hidden; color: var(--navy); font-size: 13px; line-height: 1.35; }
.win__bar { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px; background: #F4F6FA; border-bottom: 1px solid var(--border); font-size: 12px; color: var(--muted); }
.win__dots { display: flex; gap: 5px; }
.win__dots i { width: 8px; height: 8px; border-radius: 50%; background: #D5DAE3; }
.win__url { flex: 1; display: flex; align-items: center; gap: 6px; justify-content: center; height: 22px; border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px var(--border); max-width: 260px; margin-inline: auto; font-size: 11px; }
.win__url .ic { width: 11px; height: 11px; }

/* phone frame (radius 56 scaled) */
.phone { --w: 260px; position: relative; width: var(--w); aspect-ratio: 9 / 19.2; border-radius: calc(var(--w) * .16); padding: calc(var(--w) * .035); flex: none;
  background: linear-gradient(145deg, #2A3244, #0E1320 60%, #1C2334); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), inset 0 0 0 1.5px rgba(255, 255, 255, .12), 0 0 0 1px rgba(0, 0, 0, .5); }
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--w) * .13); overflow: hidden; background: #fff; display: flex; flex-direction: column; font-size: calc(var(--w) * .047); line-height: 1.35; color: var(--navy); }
.phone__island { position: absolute; z-index: 3; top: calc(var(--w) * .03); left: 50%; width: 32%; height: calc(var(--w) * .085); border-radius: 99px; background: #05070c; transform: translateX(-50%); }
.phone__status { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; height: calc(var(--w) * .14); padding: calc(var(--w) * .035) calc(var(--w) * .075) 0; font-size: calc(var(--w) * .048); font-weight: 500; flex: none; }
.phone__status-icons { display: flex; gap: 4px; align-items: center; }
.phone__status-icons i { display: block; width: calc(var(--w) * .05); height: calc(var(--w) * .032); border-radius: 2px; background: currentColor; opacity: .85; }
.phone__status-icons i:last-child { width: calc(var(--w) * .075); border-radius: 3px; }
.phone--sm { --w: 200px; }
.phone--xs { --w: 150px; }
.phone--lg { --w: 300px; }
.phone-label { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 99px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-size: 13px; font-weight: 500; backdrop-filter: var(--blur); }
.phone-label .ic { width: 16px; height: 16px; color: var(--blue-3); }

/* =============================================================== 5 coded chat (WhatsApp style) */
.chat { display: flex; flex-direction: column; height: 100%; background: var(--wa-paper); color: #111B21; font-family: var(--font-body); }
.chat__head { display: flex; align-items: center; gap: .6em; padding: .5em .8em .6em; background: var(--wa-header); color: #fff; flex: none; }
.chat__head .dex-av { --s: 2.3em; }
.chat__head .dex-av::after { box-shadow: 0 0 0 2px var(--wa-header); }
.chat__who { flex: 1; min-width: 0; line-height: 1.2; }
.chat__who b { display: block; font-weight: 500; font-size: 1.05em; }
.chat__who span { font-size: .8em; opacity: .8; }
.chat__head .ic { width: 1.2em; height: 1.2em; opacity: .9; }
.chat__body { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: .38em; padding: .8em .7em; overflow: hidden;
  background-image: radial-gradient(rgba(17, 27, 33, .045) 1px, transparent 1.2px); background-size: 14px 14px; }
.chat__day { align-self: center; padding: .2em .7em; border-radius: .5em; background: #fff; font-size: .78em; color: #54656F; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); margin-bottom: .2em; }
.msg { position: relative; max-width: 86%; padding: .45em .6em .35em; border-radius: .7em; background: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); font-size: .92em; line-height: 1.35; align-self: flex-start; }
.msg--out { align-self: flex-end; background: var(--wa-out); }
.msg b { font-weight: 500; }
.msg__time { float: right; margin: .35em 0 -.1em .6em; font-size: .72em; color: #667781; display: inline-flex; align-items: center; gap: 2px; }
[dir="rtl"] .msg__time { float: left; margin: .35em .6em -.1em 0; }
.msg__time .ticks { color: #53BDEB; letter-spacing: -.25em; margin-inline-end: .2em; }
.msg__btns { display: grid; gap: 1px; margin: .45em -.6em -.35em; border-top: 1px solid rgba(0, 0, 0, .06); }
.msg__btn { display: block; padding: .5em; text-align: center; color: #027EB5; font-weight: 500; background: #fff; border-radius: 0; }
.msg__btn:last-child { border-radius: 0 0 .7em .7em; }
.msg__btn.is-tapped { background: #E7F3FB; }
.msg--sys { align-self: center; background: #FFF6D6; color: #54656F; font-size: .78em; box-shadow: none; text-align: center; }
.msg--ok { background: var(--wa-out); }
.chat__input { display: flex; align-items: center; gap: .5em; padding: .5em .6em .9em; background: #F0F2F5; flex: none; }
.chat__input span { flex: 1; height: 2.2em; border-radius: 1.2em; background: #fff; display: flex; align-items: center; padding: 0 .9em; color: #8696A0; font-size: .9em; }
.chat__input i { width: 2.2em; height: 2.2em; border-radius: 50%; background: #00A884; display: grid; place-items: center; color: #fff; }
.chat__input i .ic { width: 1em; height: 1em; }
.typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: .7em .8em; border-radius: .7em; background: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #8696A0; animation: typing 1.1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
/* JS-driven reveal: messages start hidden when the chat is armed */
.chat[data-armed] .msg, .chat[data-armed] .chat__day { display: none; }
.chat[data-armed] .msg.is-shown, .chat[data-armed] .chat__day.is-shown { display: block; animation: msgIn .38s var(--ease-expo) both; }
.chat[data-armed] .chat__day.is-shown { display: inline-block; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
.chat-caption { display: flex; align-items: center; gap: 8px; font-size: var(--fs-small); color: var(--muted); }
.on-dark .chat-caption { color: var(--on-dark-2); }

/* =============================================================== 6 feed, unit card, toast */
.feed { border-radius: 18px; background: rgba(255, 255, 255, .94); box-shadow: 0 30px 60px -30px rgba(16, 22, 36, .55), 0 0 0 1px rgba(16, 22, 36, .06); color: var(--navy); overflow: hidden; }
.feed__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: 13px; font-weight: 500; }
.feed__head .muted { font-weight: 400; margin-inline-start: auto; font-size: 12px; }
.feed__list { list-style: none; margin: 0; padding: 4px 0; }
.feed-item { display: flex; align-items: center; gap: 10px; padding: 9px 14px; font-size: 13px; line-height: 1.3; }
.feed-item + .feed-item { border-top: 1px solid #F0F2F6; }
.feed-item__ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--tint); color: var(--blue-1); flex: none; }
.feed-item__ic .ic { width: 16px; height: 16px; }
.feed-item__ic--heart { background: #FDECEF; color: #E0445A; }
.feed-item__ic--ok { background: var(--live-bg); color: var(--live-text); }
.feed-item__main { flex: 1; min-width: 0; }
.feed-item__main b { display: block; font-weight: 500; }
.feed-item__main small { color: var(--faint); font-size: 11px; }
.feed-item__tag { font-size: 11px; font-weight: 500; color: var(--blue-1); background: var(--tint); padding: 3px 8px; border-radius: 99px; white-space: nowrap; display: inline-flex; gap: 4px; align-items: center; }
.feed-item__tag .ic { width: 12px; height: 12px; }
/* single "live fact" line: live dot + fact (brief 5.4 activity feed item) */
.fact { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.fact::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); flex: none; }
.feed[data-feed] .feed-item { display: none; }
.feed[data-feed] .feed-item.is-shown { display: flex; animation: msgIn .45s var(--ease-expo) both; }
.feed:not([data-feed]) .feed-item, .rm .feed[data-feed] .feed-item { display: flex; }

.toast { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 16px; background: #fff; color: var(--navy); box-shadow: 0 24px 50px -24px rgba(16, 22, 36, .6), 0 0 0 1px rgba(16, 22, 36, .06); font-size: 13px; line-height: 1.3; }
.toast__ic { width: 36px; height: 36px; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; }
.toast__ic .mark3 { width: 16px; }
.toast b { display: block; font-weight: 500; font-size: 14px; }
.toast small { color: var(--muted); font-size: 12px; }
.toast__ok { width: 24px; height: 24px; border-radius: 50%; background: var(--live-bg); color: var(--live-text); display: grid; place-items: center; margin-inline-start: 6px; }
.toast__ok .ic { width: 14px; height: 14px; stroke-width: 2.2; }

/* unit card (hero hotspot + Hubs) */
.unit-card { width: 280px; border-radius: 18px; background: rgba(255, 255, 255, .96); color: var(--navy); box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .6); padding: 14px; font-size: 13px; line-height: 1.3; }
.unit-card__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.unit-card__kicker { white-space: nowrap; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); font-weight: 500; }
.unit-card__title { font-family: var(--font-display); font-weight: 500; font-size: 26px; letter-spacing: -.02em; line-height: 1.1; margin: 4px 0 10px; }
.unit-card__plan { height: 112px; border-radius: 12px; background: var(--tint); display: grid; place-items: center; }
.unit-card__plan svg { width: 150px; height: 96px; }
.unit-card__meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; color: var(--muted); font-size: 12px; gap: 8px; }
.unit-card__price { white-space: nowrap; font-family: var(--font-display); font-weight: 500; font-size: 20px; color: var(--navy); letter-spacing: -.01em; }
.unit-card__view { display: flex; gap: 10px; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); }
.unit-card__view img { width: 64px; height: 44px; border-radius: 8px; object-fit: cover; }
.unit-card__view b { display: block; font-weight: 500; font-size: 12.5px; }
.unit-card__view small { color: var(--faint); font-size: 11px; }

/* =============================================================== 7 comparison card */
.compare { border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-panel); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.compare__col { padding: 28px 30px 30px; }
.compare__col--before { background: linear-gradient(180deg, var(--before-bg), var(--before-bg-2)); color: var(--before-text); }
.compare__col h3, .compare__col h4 { font-family: var(--font-body); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; display: flex; gap: 10px; align-items: center; }
.compare__col--before h3, .compare__col--before h4 { color: var(--before-tag); }
.compare__col--with h3, .compare__col--with h4 { color: var(--blue-1); }
.compare__rows { list-style: none; margin: 0; padding: 0; }
.compare__row { display: flex; align-items: center; gap: 14px; min-height: 64px; font-size: 17px; line-height: 1.3; border-top: 1px solid rgba(16, 22, 36, .07); }
.compare__col--with .compare__row { font-weight: 500; color: var(--navy); }
.compare__mark { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.compare__mark .ic { width: 15px; height: 15px; stroke-width: 2.4; }
.compare__col--before .compare__mark { background: #FBD5DA; color: var(--before-tag); }
.compare__col--with .compare__mark { background: var(--tint); color: var(--blue-1); }
.js .compare[data-rows] .compare__row { opacity: 0; transform: translateY(8px); }
.js .compare[data-rows].is-in .compare__row { opacity: 1; transform: none; transition: opacity .5s var(--ease-out), transform .6s var(--ease-expo); transition-delay: calc(var(--i, 0) * 160ms); }
@media (max-width: 767px) { .compare { grid-template-columns: 1fr; } .compare__col { padding: 22px 20px; } .compare__row { font-size: 16px; min-height: 54px; } }

/* =============================================================== 8 cards */
.card { position: relative; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-card), 0 0 0 1px var(--border); overflow: hidden; }
.card--glass { background: var(--glass); border: 1px solid var(--glass-border); box-shadow: none; backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); color: #fff; }

/* product card */
.pcard { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--r-sm); transition: background var(--t-ui), transform var(--t-ui) var(--ease-out); }
.pcard:hover { background: var(--tint); }
.pcard__name { display: block; font-weight: 500; font-size: 15.5px; line-height: 1.25; }
.pcard__line { display: block; color: var(--muted); font-size: 14px; line-height: 1.35; margin-top: 2px; }
.pcard--tile { flex-direction: column; gap: 18px; padding: 26px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-card), 0 0 0 1px var(--border); min-height: 220px; }
.pcard--tile:hover { transform: translateY(-4px); background: #fff; }
.pcard--tile .pcard__name { font-family: var(--font-display); font-size: var(--fs-h4); letter-spacing: -.01em; }
.pcard--tile .tlink { margin-top: auto; }

/* role card (hover tilt via [data-tilt]) */
.rcard { position: relative; display: flex; flex-direction: column; border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-card), 0 0 0 1px var(--border); overflow: hidden; transform-style: preserve-3d; transition: box-shadow .4s var(--ease-out); min-height: 100%; }
.rcard:hover { box-shadow: 0 40px 80px -40px rgba(16, 22, 36, .5), 0 0 0 1px #d3dcee; }
.rcard__art { position: relative; aspect-ratio: 4 / 3.1; background: linear-gradient(165deg, #1A2744, var(--ink)); overflow: hidden; color: #fff; }
.rcard__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.rcard__role { font-size: var(--fs-eyebrow); letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--blue-1); }
.rcard__promise { font-family: var(--font-display); font-weight: 500; font-size: 23px; line-height: 1.18; letter-spacing: -.015em; }
.rcard__links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: auto; padding-top: 8px; }
.rcard__glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .35), transparent 45%); opacity: 0; transition: opacity .3s; mix-blend-mode: soft-light; }
.rcard:hover .rcard__glare { opacity: 1; }
/* stretched link: whole card clickable, secondary links sit above it */
.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.rcard__links a:not(.stretch) { position: relative; z-index: 2; }

/* project card */
.projcard { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; border-radius: var(--r-xl); overflow: hidden; background: var(--navy); color: #fff; box-shadow: 0 60px 110px -40px rgba(16, 22, 36, .55); }
.projcard__poster { position: relative; min-height: 440px; overflow: hidden; }
.projcard__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.6s var(--ease-expo); }
.projcard:hover .projcard__poster img { transform: scale(1.1); }
.projcard__poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, var(--navy)), linear-gradient(0deg, rgba(16, 22, 36, .5), transparent 40%); }
.projcard__body { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 44px 44px 44px 24px; justify-content: center; }
.projcard__meta { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 900px) { .projcard { grid-template-columns: 1fr; } .projcard__poster { min-height: 0; aspect-ratio: 16 / 10; } .projcard__poster::after { background: linear-gradient(0deg, var(--navy), transparent 50%); } .projcard__body { padding: 8px 24px 30px; } }

/* =============================================================== 9 step list */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: var(--gutter); counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 22px; inset-inline: 22px; height: 1px; background: linear-gradient(90deg, var(--blue-3), var(--border-2)); }
.step { position: relative; counter-increment: step; padding-inline-end: 8px; }
.step__n { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--blue-1); font-weight: 500; box-shadow: inset 0 0 0 1px var(--border-2), 0 8px 20px -12px rgba(16, 22, 36, .4); margin-bottom: 18px; }
.step__n::before { content: counter(step); }
.step h3, .step h4 { font-size: var(--fs-h4); margin-bottom: 6px; }
.step p { color: var(--muted); }
.t-dark .step__n, .t-ink .step__n { background: var(--navy); color: #fff; box-shadow: inset 0 0 0 1px rgba(103, 142, 229, .5); }
.t-dark .steps::before, .t-ink .steps::before { background: linear-gradient(90deg, var(--blue-3), rgba(255, 255, 255, .1)); }
.t-dark .step p, .t-ink .step p { color: var(--on-dark-2); }
@media (max-width: 767px) {
  .steps { grid-auto-flow: row; gap: 26px; }
  .steps::before { top: 22px; bottom: 22px; inset-inline-start: 22px; inset-inline-end: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--blue-3), var(--border-2)); }
  .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; }
  .step__n { margin: 0; grid-row: span 2; }
}

/* =============================================================== 10 FAQ */
.faq { border-top: 1px solid var(--border-2); }
.faq__item { border-bottom: 1px solid var(--border-2); }
.faq__q { list-style: none; display: flex; align-items: center; gap: 20px; justify-content: space-between; padding: 26px 4px; cursor: pointer; font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h4); line-height: 1.25; letter-spacing: -.01em; border-radius: 8px; }
.faq__q::-webkit-details-marker { display: none; }
.faq__plus { position: relative; width: 36px; height: 36px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px var(--border-2); transition: transform .45s var(--ease-expo), background .3s; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); border-radius: 1px; }
.faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__plus { transform: rotate(135deg); background: var(--navy); color: #fff; box-shadow: none; }
.faq__q:hover .faq__plus { background: var(--tint); }
.faq__item[open] .faq__q:hover .faq__plus { background: var(--navy); }
.faq__a { padding: 0 60px 28px 4px; color: var(--muted); max-width: 52em; }
.faq__item[open] .faq__a { animation: faqIn .45s var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.t-dark .faq, .t-dark .faq__item, .t-ink .faq, .t-ink .faq__item { border-color: rgba(255, 255, 255, .12); }
.t-dark .faq__a, .t-ink .faq__a { color: var(--on-dark-2); }
.t-dark .faq__plus, .t-ink .faq__plus { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.t-dark .faq__item[open] .faq__plus, .t-ink .faq__item[open] .faq__plus { background: #fff; color: var(--navy); }

/* =============================================================== 11 forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.form__full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.label { font-size: 14px; font-weight: 500; color: var(--navy); }
.label .req { color: var(--before-tag); margin-inline-start: 2px; }
.label .opt { color: var(--faint); font-weight: 400; }
.input, .select, .textarea {
  width: 100%; height: 52px; padding: 0 16px; border-radius: var(--r-input); border: 1px solid #D6D9DF; background: #fff; color: var(--navy);
  font-size: 16px; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.textarea { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.select { padding-inline-end: 44px; background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23101624' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>") no-repeat right 14px center / 18px; }
[dir="rtl"] .select { background-position: left 14px center; }
.input::placeholder, .textarea::placeholder { color: #9AA3B2; }
.input:hover, .select:hover, .textarea:hover { border-color: #B9C0CC; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue-1); box-shadow: 0 0 0 3px rgba(80, 111, 179, .2); }
.field__hint { font-size: 13px; color: var(--muted); }
.field__hint--soft { color: #8A5A00; display: flex; gap: 6px; align-items: flex-start; }
.field__error { display: none; align-items: flex-start; gap: 6px; font-size: 13.5px; color: var(--before-tag); font-weight: 500; }
.field__error .ic { width: 16px; height: 16px; margin-top: 1px; }
.field.has-error .field__error { display: flex; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--before-tag); box-shadow: 0 0 0 3px rgba(180, 35, 51, .12); }
.phone-field { display: grid; grid-template-columns: 116px 1fr; gap: 8px; direction: ltr; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; flex: none; margin: 1px 0 0; border-radius: 7px; border: 1px solid #C3C9D4; background: #fff; display: grid; place-items: center; transition: background .2s, border-color .2s; cursor: pointer; }
.check input::after { content: ""; width: 11px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .2s var(--ease-expo); }
.check input:checked { background: var(--navy); border-color: var(--navy); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check input:focus-visible { outline: 3px solid var(--blue-3); outline-offset: 2px; }
.form__note { font-size: 13.5px; color: var(--muted); }
.form__note a { color: var(--blue-1); text-decoration: underline; text-underline-offset: 2px; }
.form__inline-note { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--tint); font-size: 14px; }
.form-card { border-radius: var(--r-xl); background: #fff; padding: clamp(22px, 3vw, 40px); box-shadow: var(--shadow-panel); color: var(--navy); }
.form-success { text-align: start; display: grid; gap: 14px; justify-items: start; padding: 12px 0; }
.form-success__ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--live-bg); color: var(--live-text); }
.form-success__ic .ic { width: 28px; height: 28px; stroke-width: 2; }
.form-success:focus { outline: none; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* =============================================================== 12 film modal (native <dialog>) */
.film-modal { width: min(1180px, calc(100vw - 32px)); max-width: none; max-height: none; padding: 0; border: 0; border-radius: 22px; background: #000; color: #fff; overflow: visible; box-shadow: 0 60px 140px -40px rgba(0, 0, 0, .9); }
.film-modal::backdrop { background: rgba(5, 8, 16, .82); backdrop-filter: blur(10px); }
.film-modal[open] { animation: modalIn .5s var(--ease-expo); }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }
.film-modal__video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 22px; background: #000; }
.film-modal__bar { position: absolute; left: 0; right: 0; bottom: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 12px; }
.film-modal__title { font-size: 14px; color: var(--on-dark-2); }
.film-modal__close { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; }
.film-modal__close:hover { background: rgba(255, 255, 255, .22); }

/* =============================================================== 13 final CTA band */
.cta-band { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding-block: clamp(110px, 14vw, 190px); color: #fff;
  background: radial-gradient(60% 70% at 50% 45%, #1A2744 0%, var(--navy) 55%, var(--ink) 100%); }
.cta-band::before { content: ""; position: absolute; left: 50%; top: 42%; width: 900px; height: 600px; transform: translate(-50%, -50%); z-index: -1; background: radial-gradient(closest-side, var(--glow), transparent); }
.cta-band__canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: .9; }
.cta-band__mark { display: flex; flex-direction: column; gap: 9px; width: 104px; margin: 0 auto 36px; }
.cta-band__mark i { display: block; height: 20px; border-radius: 3px; transform-origin: left center; }
.cta-band__mark i:nth-child(1) { width: 64%; background: var(--blue-3); box-shadow: 0 0 30px rgba(103, 142, 229, .6); }
.cta-band__mark i:nth-child(2) { width: 82%; background: var(--blue-2); box-shadow: 0 0 30px rgba(92, 126, 204, .5); }
.cta-band__mark i:nth-child(3) { width: 100%; background: var(--blue-1); box-shadow: 0 0 30px rgba(80, 111, 179, .45); }
.js .cta-band__mark i { transform: scaleX(0); }
.js .cta-band.is-in .cta-band__mark i { transform: none; transition: transform 1.1s var(--ease-expo); }
.js .cta-band.is-in .cta-band__mark i:nth-child(2) { transition-delay: .12s; }
.js .cta-band.is-in .cta-band__mark i:nth-child(3) { transition-delay: .24s; }
.cta-band__title { font-size: var(--fs-display); line-height: .98; letter-spacing: -.04em; max-width: 12em; margin-inline: auto; }
.cta-band__body { max-width: 34em; margin: 28px auto 0; color: var(--on-dark-2); }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }

/* =============================================================== 14 breadcrumbs, in-the-flow, section header */
.crumbs { font-size: var(--fs-small); color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "›"; opacity: .7; }
[dir="rtl"] .crumbs li + li::before { content: "‹"; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--navy); }
.t-dark .crumbs, .t-ink .crumbs, .on-dark .crumbs { color: var(--on-dark-3); }
.t-dark .crumbs a:hover, .t-ink .crumbs a:hover, .t-dark .crumbs [aria-current], .t-ink .crumbs [aria-current] { color: #fff; }

.inflow { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 0; border-radius: var(--r-xl); overflow: hidden; background: var(--navy); color: #fff; box-shadow: var(--shadow-deep); }
.inflow__cell { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 30px; min-height: 132px; justify-content: center; }
.inflow__cell--prev, .inflow__cell--next { transition: background .3s; }
.inflow__cell--prev:hover, .inflow__cell--next:hover { background: rgba(255, 255, 255, .05); }
.inflow__cell--next { text-align: end; align-items: flex-end; }
.inflow__cell--here { background: rgba(103, 142, 229, .12); border-inline: 1px solid rgba(255, 255, 255, .08); align-items: center; text-align: center; min-width: 260px; }
.inflow__dir { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); display: inline-flex; gap: 6px; align-items: center; }
.inflow__name { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h4); }
.inflow__line { color: var(--on-dark-2); font-size: 14px; }
.inflow__rail { display: flex; gap: 6px; margin-top: 4px; }
.inflow__rail i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.inflow__rail i.is-here { background: var(--blue-3); box-shadow: 0 0 0 4px rgba(103, 142, 229, .25); }
@media (max-width: 767px) { .inflow { grid-template-columns: 1fr; } .inflow__cell--here { order: -1; border-inline: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); } .inflow__cell--next { text-align: start; align-items: flex-start; } .inflow__cell { min-height: 0; padding: 20px 22px; } }

.shead { display: grid; gap: 18px; max-width: 900px; margin-bottom: clamp(40px, 5vw, 72px); }
.shead--center { text-align: center; margin-inline: auto; justify-items: center; }
.shead--split { max-width: none; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 24px 64px; }
@media (max-width: 900px) { .shead--split { grid-template-columns: 1fr; } }

/* =============================================================== 15 header + mega menus */
.site-header { position: fixed; z-index: 800; inset: 0 0 auto; height: var(--header-h); color: var(--navy); transition: color .35s, transform .45s var(--ease-expo); }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s, background-color .35s;
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); box-shadow: 0 1px 0 var(--border); }
.site-header[data-solid] .site-header::before, .site-header[data-solid]::before { opacity: 1; }
.site-header[data-theme="dark"] { color: #fff; }
.site-header[data-theme="dark"]::before { background: rgba(11, 16, 32, .66); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__bar { display: flex; align-items: center; gap: 28px; height: 100%; }
.logo { display: inline-flex; align-items: center; flex: none; border-radius: 6px; }
.logo svg { width: 128px; height: auto; }
.logo .logo__word { fill: currentColor; transition: fill .35s; }
.nav { flex: 1; }
.nav__list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__trigger, .nav__link { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: var(--r-pill); font-size: 15px; font-weight: 500; transition: background .2s; }
.nav__trigger .ic { width: 16px; height: 16px; transition: transform .3s var(--ease-expo); opacity: .7; }
.nav__trigger[aria-expanded="true"] .ic { transform: rotate(180deg); }
.nav__trigger:hover, .nav__link:hover, .nav__trigger[aria-expanded="true"] { background: rgba(16, 22, 36, .06); }
.site-header[data-theme="dark"] .nav__trigger:hover, .site-header[data-theme="dark"] .nav__link:hover, .site-header[data-theme="dark"] .nav__trigger[aria-expanded="true"] { background: rgba(255, 255, 255, .1); }
.site-header__actions { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.lang { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px; font-size: 14px; font-weight: 500; }
.lang a { opacity: .6; border-radius: 4px; padding: 2px 2px; }
.lang a:hover { opacity: 1; }
.lang a[aria-current] { opacity: 1; }
.lang__sep { opacity: .35; }
.lang [lang="ar"] { font-family: var(--font-ar); }
.site-header .btn--primary { transition: background .35s, color .35s, transform var(--t-ui) var(--ease-out); }
.site-header[data-theme="dark"] .btn--primary { background: #fff; color: var(--navy); }
.site-header[data-theme="dark"] .btn--primary:hover { background: var(--ice); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; place-items: center; }
.burger__lines { position: relative; width: 20px; height: 12px; }
.burger__lines i { position: absolute; left: 0; height: 2px; border-radius: 1px; background: currentColor; transition: transform .35s var(--ease-expo), opacity .2s, width .3s; }
.burger__lines i:nth-child(1) { top: 0; width: 64%; }
.burger__lines i:nth-child(2) { top: 5px; width: 82%; }
.burger__lines i:nth-child(3) { top: 10px; width: 100%; }
.burger[aria-expanded="true"] .burger__lines i:nth-child(1) { width: 100%; transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__lines i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mega { position: absolute; top: calc(100% + 12px); left: -12px; z-index: 10; color: var(--navy); background: #fff; border-radius: 24px; padding: 14px; box-shadow: 0 50px 100px -40px rgba(16, 22, 36, .55), 0 0 0 1px rgba(16, 22, 36, .07);
  opacity: 0; transform: translateY(-6px) scale(.985); transform-origin: 20% 0; transition: opacity .22s var(--ease-out), transform .3s var(--ease-expo); }
.mega.is-open { opacity: 1; transform: none; }
.mega--platform { width: 860px; display: grid; grid-template-columns: 1fr 1fr 260px; gap: 4px; }
.mega--solutions { width: 620px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega--company { width: 260px; display: grid; gap: 2px; }
.mega__links { display: contents; }
.mega__foot { grid-column: 1 / -1; display: flex; gap: 24px; padding: 14px 16px 6px; margin-top: 6px; border-top: 1px solid var(--border); }
.mega__simple { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; font-weight: 500; }
.mega__simple:hover { background: var(--tint); }
.mega__simple .ic { color: var(--blue-1); }
.mega__feature { grid-row: 1 / span 3; grid-column: 3; position: relative; border-radius: 18px; overflow: hidden; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 18px; min-height: 280px; isolation: isolate; }
.mega__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-expo); }
.mega__feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 22, 36, .1), rgba(16, 22, 36, .88)); }
.mega__feature:hover img { transform: scale(1.06); }
.mega__feature .badge { align-self: flex-start; margin-bottom: auto; }
.mega__feature b { font-family: var(--font-display); font-weight: 500; font-size: 20px; line-height: 1.15; letter-spacing: -.01em; }
.mega__feature span { font-size: 13px; color: var(--on-dark-2); }
@media (max-width: 1180px) { .mega--platform { width: 760px; grid-template-columns: 1fr 1fr 220px; } }

/* =============================================================== 16 mobile sheet + sticky CTA bar */
.msheet { position: fixed; inset: 0; z-index: 790; background: var(--ink); color: #fff; padding: calc(var(--header-h) + 8px) var(--margin) 32px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s var(--ease-out), transform .45s var(--ease-expo), visibility 0s linear .45s; }
.msheet.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.msheet__group { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.msheet__group > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 64px; font-family: var(--font-display); font-weight: 500; font-size: 26px; letter-spacing: -.02em; cursor: pointer; }
.msheet__group > summary::-webkit-details-marker { display: none; }
.msheet__group > summary .ic { transition: transform .3s var(--ease-expo); opacity: .6; }
.msheet__group[open] > summary .ic { transform: rotate(180deg); }
.msheet__links { display: grid; gap: 2px; padding-bottom: 16px; }
.msheet__links a { display: flex; flex-direction: column; padding: 10px 0; min-height: 44px; justify-content: center; }
.msheet__links a b { font-weight: 500; font-size: 17px; }
.msheet__links a span { color: var(--on-dark-3); font-size: 14px; }
.msheet__plain { display: flex; align-items: center; min-height: 64px; font-family: var(--font-display); font-weight: 500; font-size: 26px; letter-spacing: -.02em; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.msheet__foot { margin-top: auto; padding-top: 24px; display: grid; gap: 12px; }
.msheet__foot .btn { width: 100%; }
.msheet__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--on-dark-2); }
.msheet__row a { min-height: 44px; display: inline-flex; align-items: center; }

.mcta { position: fixed; z-index: 780; left: 12px; right: 12px; bottom: 12px; display: none; gap: 8px; padding: 8px; border-radius: 26px; background: rgba(11, 16, 32, .78); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .1);
  transform: translateY(140%); transition: transform .5s var(--ease-expo); }
.mcta.is-visible { transform: none; }
.mcta .btn { flex: 1; --h: 48px; }
.mcta__wa { width: 48px; height: 48px; flex: none; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.mcta__wa svg { width: 24px; height: 24px; }
@media (max-width: 767px) { .mcta { display: flex; } .no-mcta .mcta { display: none; } }

/* =============================================================== 17 footer */
.site-footer { background: var(--ink); color: #fff; padding: 88px 0 32px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(103, 142, 229, .5), transparent); }
.footer__top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px 64px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer__entity { max-width: 30em; color: var(--on-dark-2); font-size: var(--fs-lead); line-height: 1.45; margin-top: 22px; }
.footer__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; justify-content: flex-end; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px var(--gutter); padding: 56px 0; }
.footer__col h2 { font-family: var(--font-body); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); margin-bottom: 18px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer__col a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; color: #E3E9F5; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__col a .ic { width: 14px; height: 14px; opacity: .7; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; color: var(--on-dark-3); }
.footer__tagline { margin-inline-start: auto; font-family: var(--font-display); font-weight: 500; color: #fff; font-size: 16px; }
.footer__bottom .lang { height: auto; padding: 0; }
.pause-motion { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; color: var(--on-dark-2); border-radius: 99px; }
.pause-motion:hover { color: #fff; }
.pause-motion .ic { width: 16px; height: 16px; }
.pause-motion .ic-play { display: none; }
.motion-paused .pause-motion .ic-play { display: block; }
.motion-paused .pause-motion .ic-pause { display: none; }
.footer__mega-word { position: absolute; left: 50%; bottom: -0.28em; transform: translateX(-50%); font-family: var(--font-display); font-weight: 500; font-size: 22vw; letter-spacing: -.06em; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(103, 142, 229, .12); pointer-events: none; white-space: nowrap; user-select: none; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr; } .footer__cta { justify-content: flex-start; } .footer__cols { grid-template-columns: 1fr 1fr; } .footer__tagline { margin-inline-start: 0; width: 100%; } }
@media (max-width: 767px) { .site-footer { padding-bottom: 104px; } }

/* =============================================================== 18 inner page hero (ambient scene) */
.phero { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: radial-gradient(110% 90% at 75% 10%, #22345A 0%, #121B30 45%, var(--ink) 100%);
  padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(80px, 9vw, 140px); min-height: min(92vh, 900px); display: flex; align-items: center; }
.phero--short { min-height: 0; }
.phero__canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.phero::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; z-index: -1; background: linear-gradient(0deg, rgba(11, 16, 32, .7), transparent); pointer-events: none; }
.phero__inner { position: relative; width: 100%; }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.phero__copy { display: grid; gap: 24px; justify-items: start; max-width: 720px; }
.phero__copy .crumbs { margin-bottom: 8px; }
.phero__title { font-size: var(--fs-h1); line-height: 1; letter-spacing: -.035em; text-wrap: balance; }
.phero__sub { font-size: var(--fs-lead); line-height: 1.45; color: var(--on-dark-2); max-width: 36em; }
.phero__actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 8px; }
.phero__media { position: relative; min-height: 420px; }
@media (max-width: 1023px) { .phero__grid { grid-template-columns: 1fr; } .phero__media { min-height: 320px; } }

/* =============================================================== 19 depth gauge (home) */
.gauge { position: fixed; z-index: 700; inset-inline-start: 26px; top: 50%; transform: translateY(-50%); display: none; opacity: 0; transition: opacity .5s var(--ease-out); }
.gauge.is-visible { opacity: 1; }
.gauge ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; }
.gauge ol::before { content: ""; position: absolute; top: 12px; bottom: 12px; inset-inline-start: 11.5px; width: 1px; background: currentColor; opacity: .25; }
.gauge__fill { position: absolute; top: 12px; inset-inline-start: 11px; width: 2px; height: calc(100% - 24px); background: var(--blue-3); transform-origin: top; transform: scaleY(var(--p, 0)); box-shadow: 0 0 10px rgba(103, 142, 229, .8); border-radius: 1px; }
.gauge a { position: relative; display: flex; align-items: center; gap: 12px; height: 24px; font-size: 12px; font-weight: 500; }
.gauge__tick { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; flex: none; background: var(--gauge-bg, rgba(255, 255, 255, .6)); box-shadow: inset 0 0 0 1px currentColor; transition: transform .35s var(--ease-expo), background .3s, color .3s, box-shadow .3s; font-variant-numeric: tabular-nums; }
.gauge__tick--dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.gauge__label { opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .35s var(--ease-expo); white-space: nowrap; letter-spacing: .06em; text-transform: uppercase; font-size: 11px; }
.gauge a:hover .gauge__label, .gauge a:focus-visible .gauge__label { opacity: 1; transform: none; }
.gauge__label { padding: 3px 8px; border-radius: 99px; background: var(--gauge-bg); backdrop-filter: blur(8px); }
.gauge__now { display: block; margin-top: 18px; width: 92px; font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; line-height: 1.35; opacity: .9; }
.gauge__now b { display: block; font-family: var(--font-display); font-size: 22px; letter-spacing: -.02em; font-weight: 500; line-height: 1; margin-bottom: 4px; }
.gauge a[aria-current] .gauge__tick { background: var(--blue-3); color: #fff; box-shadow: 0 0 0 5px rgba(103, 142, 229, .25), 0 0 18px rgba(103, 142, 229, .8); transform: scale(1.12); }
.gauge[data-theme="light"] { color: var(--navy); --gauge-bg: rgba(255, 255, 255, .7); }
.gauge[data-theme="dark"] { color: #DCE6FA; --gauge-bg: rgba(16, 22, 36, .6); }
@media (min-width: 1024px) { .gauge { display: block; } }
.gauge-m { position: fixed; z-index: 790; left: 0; right: 0; top: var(--header-h); height: 30px; display: flex; align-items: center; gap: 10px; padding: 0 var(--margin); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; opacity: 0; transition: opacity .4s; pointer-events: none; }
.gauge-m.is-visible { opacity: 1; }
.gauge-m__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--blue-3); transform-origin: left; transform: scaleX(var(--p, 0)); box-shadow: 0 0 8px rgba(103, 142, 229, .8); }
[dir="rtl"] .gauge-m__bar { transform-origin: right; }
.gauge-m[data-theme="light"] { color: var(--navy); background: rgba(255, 255, 255, .55); backdrop-filter: blur(12px); }
.gauge-m[data-theme="dark"] { color: #DCE6FA; background: rgba(11, 16, 32, .5); backdrop-filter: blur(12px); }
@media (min-width: 1024px) { .gauge-m { display: none; } }

/* header responsive switches */
@media (max-width: 1180px) { .site-header__actions .lang { display: none; } .nav__trigger, .nav__link { padding: 0 10px; } }
@media (max-width: 1023px) { .nav { display: none; } .hide-m { display: none !important; } .burger { display: grid; } .site-header__bar { gap: 12px; } }
@media (max-width: 479px) { .hide-s { display: none !important; } .logo svg { width: 112px; } }
.site-header--min .header-min__demo { display: none; }
.page-tip .site-header--min .header-min__demo { display: inline-flex; }
.page-tip .site-header--min .header-min__login { display: none; }
.menu-open { overflow: hidden; }
.menu-open .site-header { color: #fff; }
.menu-open .site-header::before { opacity: 0 !important; }

/* small glyph used inside eyebrows */
.pglyph--sm { width: 28px; height: 28px; border-radius: 9px; }
.pglyph--sm svg, .pglyph--sm .ic { width: 16px; height: 16px; }
.eyebrow .pglyph--sm { margin-inline-end: 2px; }

/* segmented radio (forms) */
.fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.seg { display: inline-flex; padding: 4px; border-radius: var(--r-pill); background: var(--tint); gap: 2px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: var(--r-pill); font-weight: 500; font-size: 15px; color: var(--muted); transition: background .2s, color .2s; }
.seg input:checked + span { background: var(--navy); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--blue-3); outline-offset: 2px; }
.field .check { margin-top: 4px; }
.phero .crumbs, .formhero .crumbs, .tiphero .crumbs { color: var(--on-dark-3); }
.phero .crumbs a:hover, .formhero .crumbs a:hover, .phero .crumbs [aria-current], .formhero .crumbs [aria-current] { color: #fff; }
