/* Services V7 — the three service pages (ai-chatbot.html, mobile-apps.html, antifraud.html).
   The design system is V6's own: these pages load services-v3.css (tokens --sv-*, fonts, buttons, eyebrows, process,
   final, brands, browser and phone frames, lightbox) and this file adds what only they have: the hero with its scene,
   breadcrumbs, section bands, tiles, the pipeline, the voice block, integrations, cases, systems, the architecture,
   FAQ and related services. Everything is scoped to <main id="am-svc" class="sx-page">. */

/* ---------- page: starts right under the site's fixed header (V6 measures it into --sv-hdr) ---------- */
#am-svc.sx-page { margin-top: var(--sv-hdr); }
#am-svc .sx-band { position: relative; isolation: isolate; padding: 100px 0; overflow: hidden; }
#am-svc .sx-band--paper { background: linear-gradient(180deg, #fbfaff 0%, var(--sv-paper) 100%); color: var(--sv-ink); }
#am-svc .sx-band--plum {
  background:
    radial-gradient(60% 70% at 85% 20%, rgba(109, 40, 217, .42), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(139, 92, 246, .16), transparent 70%),
    linear-gradient(180deg, var(--sv-night), var(--sv-void));
}
#am-svc .sx-band--night { background: radial-gradient(80% 60% at 50% 50%, #26145c 0%, var(--sv-night) 50%, var(--sv-void) 100%); }
#am-svc .sx-band--graphite { background: radial-gradient(70% 50% at 50% 0%, rgba(109, 40, 217, .25), transparent 70%), var(--sv-graphite); }

#am-svc .sx-head { display: flex; flex-direction: column; gap: 16px; max-width: 780px; margin-bottom: 52px; }
#am-svc .sx-head--center { align-items: center; text-align: center; margin-left: auto; margin-right: auto; }
#am-svc .sx-head__lead { font-size: 17px; line-height: 1.6; color: var(--sv-fog); max-width: 40em; }
#am-svc .sx-band--paper .sx-head__lead { color: #4b4170; }
#am-svc .sx-note { margin: -28px 0 40px; font-size: 14px; color: var(--sv-fog); max-width: 52em; }
#am-svc .sx-note--center { margin: 36px auto 0; text-align: center; }
#am-svc .sx-band--paper .sx-note { color: #574d7a; }
#am-svc .sx-more { margin-top: 30px; }

/* ---------- hero: copy on the left, the page's own scene on the right ---------- */
#am-svc .sx-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 36px 0 52px;
  background:
    radial-gradient(48% 62% at 74% 46%, rgba(109, 40, 217, .55) 0%, rgba(76, 29, 149, .28) 45%, transparent 75%),
    radial-gradient(60% 50% at 10% 100%, rgba(139, 92, 246, .16), transparent 70%),
    linear-gradient(180deg, var(--sv-void) 0%, #1a0c40 30%, #1d0e47 62%, var(--sv-night) 100%);
}
#am-svc .sx-hero__sky {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(255, 255, 255, .7), transparent 60%),
    radial-gradient(1px 1px at 28% 68%, rgba(255, 255, 255, .5), transparent 60%),
    radial-gradient(1.5px 1.5px at 46% 12%, rgba(255, 236, 190, .7), transparent 60%),
    radial-gradient(1px 1px at 63% 88%, rgba(255, 255, 255, .45), transparent 60%),
    radial-gradient(1.5px 1.5px at 88% 24%, rgba(196, 181, 253, .8), transparent 60%),
    radial-gradient(1px 1px at 94% 72%, rgba(255, 255, 255, .5), transparent 60%);
}
#am-svc .sx-hero__grid { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); align-items: center; gap: 36px; }
#am-svc .sx-hero__copy { position: relative; z-index: 5; display: flex; flex-direction: column; gap: 20px; }
#am-svc .sx-title { font-size: clamp(30px, 2.75vw, 44px); }
#am-svc .sx-title .sv-title__line { display: inline; }
#am-svc .sx-lead { font-size: 16.5px; }
#am-svc .sx-hero__stage { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
#am-svc .sx-hero__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; min-height: 40px; }
#am-svc .sx-demo { font-size: 12.5px; line-height: 1.4; color: rgba(195, 185, 230, .78); max-width: 34em; }

#am-svc .sx-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13.5px; line-height: 1.4; color: var(--sv-fog); }
#am-svc .sx-crumbs li { display: inline-flex; align-items: center; gap: 10px; }
#am-svc .sx-crumbs li + li::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid rgba(196, 181, 253, .6); border-right: 1.5px solid rgba(196, 181, 253, .6); transform: rotate(45deg); }
#am-svc .sx-crumbs a { color: var(--sv-violet-hi); border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
#am-svc .sx-crumbs a:hover { color: #fff; border-color: rgba(255, 255, 255, .4); }
#am-svc .sx-crumbs [aria-current] { color: #fff; font-weight: 600; }

#am-svc .sx-chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
#am-svc .sx-chips li {
  display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 13px; border-radius: 999px;
  font: 600 13.5px/1.2 var(--sv-body); color: #efeaff;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(196, 181, 253, .2);
}
#am-svc .sx-chips .sv-ico { width: 14px; height: 14px; fill: var(--sv-gold); }

/* the stage of every scene; a canvas draws the motion behind the DOM labels */
#am-svc .sx-scene { position: relative; width: 100%; aspect-ratio: 1.16 / 1; }
#am-svc .sx-voice, #am-svc .sx-risk { isolation: isolate; will-change: transform; }   /* own layer: the scene repaints without the hero around it */
#am-svc .sx-scene__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }

/* ---------- ai-chatbot.html: the voice orb and the channels ---------- */
#am-svc .sx-voice__orb { position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%); z-index: 2; pointer-events: none; }
#am-svc .sx-voice__glow { position: absolute; inset: -42%; border-radius: 50%; background: radial-gradient(closest-side, rgba(139, 92, 246, .42), rgba(109, 40, 217, .18) 55%, transparent 75%); }
#am-svc .sx-voice__ball {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(38% 32% at 34% 28%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 70%),
    radial-gradient(60% 60% at 70% 78%, rgba(251, 191, 36, .42), transparent 70%),
    radial-gradient(circle at 42% 38%, #a78bfa 0%, #6d28d9 38%, #2e1065 72%, #170a3b 100%);
  box-shadow: 0 0 0 1px rgba(255, 220, 140, .35), 0 0 60px rgba(139, 92, 246, .55), inset 0 -18px 40px rgba(14, 6, 40, .55), inset 0 10px 24px rgba(255, 255, 255, .12);
}
#am-svc .sx-voice__name {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font: 800 clamp(13px, 1.3vw, 17px)/1 var(--sv-display); letter-spacing: .01em; color: #fff; white-space: nowrap;
  text-shadow: 0 1px 12px rgba(23, 10, 59, .8);
}
#am-svc .sx-voice__nodes { position: absolute; inset: 0; z-index: 3; }
#am-svc .sx-vn { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: flex; align-items: center; gap: 10px; }
#am-svc .sx-vn--out { flex-direction: row-reverse; }
#am-svc .sx-vn__tile {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; flex: none;
  background: linear-gradient(180deg, rgba(46, 26, 104, .95), rgba(23, 12, 56, .95));
  border: 1px solid rgba(196, 181, 253, .28); box-shadow: 0 10px 26px -12px rgba(0, 0, 0, .7);
  transition: transform .35s var(--sv-ease), border-color .35s, box-shadow .35s;
}
#am-svc .sx-vn__tile .sv-ico { width: 20px; height: 20px; }
#am-svc .sx-vn--web .sv-ico { fill: var(--sv-gold); }
#am-svc .sx-vn--wa .sv-ico { fill: #25d366; }
#am-svc .sx-vn--ig .sv-ico { fill: #f472b6; }
#am-svc .sx-vn--tg .sv-ico { fill: #38bdf8; }
#am-svc .sx-vn--call .sv-ico { fill: var(--sv-gold-hi); }
#am-svc .sx-vn--out .sv-ico { fill: var(--sv-violet-hi); }
#am-svc .sx-vn__name { font: 700 13px/1.2 var(--sv-display); color: #f4f1ff; white-space: nowrap; text-shadow: 0 1px 10px rgba(15, 8, 38, .9); }
#am-svc .sx-vn.is-hot .sx-vn__tile { transform: scale(1.12); border-color: rgba(255, 220, 133, .8); box-shadow: 0 0 0 4px rgba(251, 191, 36, .14), 0 0 26px rgba(251, 191, 36, .45); }
#am-svc .sx-voice__hud {
  position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%); z-index: 4;
  display: inline-flex; align-items: center; gap: 10px; max-width: 92%; min-height: 38px; padding: 0 16px; border-radius: 999px;
  background: rgba(15, 8, 38, .78); border: 1px solid rgba(196, 181, 253, .26); backdrop-filter: blur(8px);
  font: 600 13px/1.25 var(--sv-body); color: #fff; white-space: nowrap;
}
#am-svc .sx-voice__hud:empty, #am-svc .sx-voice__intent:empty { display: none; }
#am-svc .sx-voice__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sv-gold); box-shadow: 0 0 0 0 rgba(251, 191, 36, .6); animation: sx-beat 1.8s ease-out infinite; flex: none; }
@keyframes sx-beat { 0% { box-shadow: 0 0 0 0 rgba(251, 191, 36, .6); } 80%, 100% { box-shadow: 0 0 0 9px rgba(251, 191, 36, 0); } }
#am-svc .sx-voice__intent { overflow: hidden; text-overflow: ellipsis; transition: opacity .35s; }
#am-svc .sx-voice__intent.is-swap { opacity: 0; }

/* ---------- mobile-apps.html: the cinema of real screens ---------- */
#am-svc .sx-build { aspect-ratio: auto; display: flex; flex-direction: column; gap: 14px; container-type: inline-size; }
#am-svc .sx-build__stage { position: relative; width: 100%; aspect-ratio: 1.34 / 1; perspective: 1700px; perspective-origin: 50% 40%; }
#am-svc .sx-build__floor {
  position: absolute; left: 6%; right: 6%; bottom: 2%; height: 34%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(139, 92, 246, .4), rgba(109, 40, 217, .12) 60%, transparent 80%); filter: blur(8px);
}
#am-svc .sx-build__links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 1; }
#am-svc .sx-build__links path { fill: none; stroke: rgba(251, 191, 36, .55); stroke-width: 1.5; stroke-dasharray: 6 8; vector-effect: non-scaling-stroke; animation: sv-dash 1.6s linear infinite; }
#am-svc .sx-build__links path:nth-child(2n) { stroke: rgba(196, 181, 253, .6); animation-duration: 3.4s; }
#am-svc .sx-build__hub {
  position: absolute; left: 50%; top: 86%; z-index: 6; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #8b5cf6, #3b1a86 70%); border: 1px solid rgba(255, 220, 133, .6);
  box-shadow: 0 0 0 6px rgba(139, 92, 246, .14), 0 0 34px rgba(139, 92, 246, .6);
  font: 800 13px/1 var(--sv-display); color: #fff; transition: opacity .5s var(--sv-ease), transform .5s var(--sv-ease);
}
#am-svc .sx-build__chips { position: absolute; left: 50%; bottom: 0; z-index: 6; display: flex; gap: 8px; transform: translateX(-50%); }
#am-svc .sx-build__chips li {
  padding: 5px 10px; border-radius: 999px; white-space: nowrap;
  font: 700 11.5px/1 var(--sv-display); color: #1c1236; background: linear-gradient(180deg, #ffe7a6, #fbbf24);
  box-shadow: 0 8px 18px -8px rgba(251, 191, 36, .8); opacity: 0; transform: translateY(8px);
  transition: opacity .5s var(--sv-ease), transform .6s var(--sv-ease); transition-delay: calc(var(--i) * .07s);
}
#am-svc .sx-build[data-on="api"] .sx-build__chips li, #am-svc .sx-build:not([data-on]) .sx-build__chips li { opacity: 1; transform: none; }
#am-svc .sx-build[data-on]:not([data-on="api"]) .sx-build__hub { opacity: .6; transform: translate(-50%, -50%) scale(.8); }
/* wide screens: the hero stays pinned while the scroll walks through the four screens (svc-scene-build.js) */
#am-svc .sx-hero--build.is-cinema { height: calc(100vh - var(--sv-hdr) + 105vh); padding: 0; overflow: clip; background-attachment: fixed; }
#am-svc .sx-hero--build.is-cinema .sx-hero__sky { background-attachment: fixed; }
#am-svc .sx-hero--build.is-cinema .sx-hero__grid { position: sticky; top: var(--sv-hdr); min-height: calc(100vh - var(--sv-hdr)); padding-top: 22px; padding-bottom: 22px; }
/* frames: each state brings one forward (svc-scene-build.js sets --tx/--ty/--tz/--ry/--s per frame) */
#am-svc .sx-frame {
  position: absolute; left: 50%; top: 50%; z-index: 2; margin: 0;
  width: var(--w, 62%); transform-style: preserve-3d;
  transform: translate(-50%, -50%) translate3d(var(--tx, 0%), var(--ty, 0%), var(--tz, 0px)) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)) scale(var(--s, 1));
  transition: transform 1.1s var(--sv-ease), opacity .8s var(--sv-ease), filter .8s var(--sv-ease);
  filter: saturate(.75) brightness(.72); opacity: .9;
}
#am-svc .sx-frame.is-on { z-index: 5; filter: none; opacity: 1; }
#am-svc .sx-frame .sv-browser { box-shadow: 0 50px 90px -40px rgba(8, 4, 24, .85), 0 0 0 1px rgba(255, 255, 255, .14); }
#am-svc .sx-frame.is-on .sv-browser, #am-svc .sx-frame.is-on .sx-terminal, #am-svc .sx-frame.is-on .sv-phone { box-shadow: 0 60px 100px -40px rgba(8, 4, 24, .9), 0 0 0 1px rgba(255, 220, 133, .45), 0 0 60px -10px rgba(139, 92, 246, .55); }
#am-svc .sx-frame img { display: block; width: 100%; height: auto; }
#am-svc .sx-frame--dash { --w: 64%; --tx: -14%; --ty: -10%; }
#am-svc .sx-frame--pos { --w: 50%; --tx: 34%; --ty: 18%; --tz: -120px; }
#am-svc .sx-frame--app { --w: 19%; --tx: -150%; --ty: 34%; --tz: -60px; }
#am-svc .sx-frame--api { --w: 50%; --tx: 44%; --ty: -40%; --tz: -220px; }
#am-svc .sx-terminal { display: block; padding: 10px 10px 0; border-radius: 18px 18px 8px 8px; background: linear-gradient(180deg, #2a2440, #15112a); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 40px 80px -36px rgba(8, 4, 24, .85); }
#am-svc .sx-terminal__screen { display: block; overflow: hidden; border-radius: 10px; background: #000; }
#am-svc .sx-terminal__base { display: block; height: 18px; margin: 0 -10px; border-radius: 0 0 8px 8px; background: linear-gradient(180deg, #1d1832, #0f0c1f); }
#am-svc .sx-build__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
#am-svc .sx-btab {
  position: relative; display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 8px 12px; text-align: left;
  border-radius: 14px; border: 1px solid rgba(196, 181, 253, .18); background: rgba(255, 255, 255, .04); color: var(--sv-fog);
  transition: background-color .3s, border-color .3s, color .3s;
}
#am-svc .sx-btab__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; flex: none; background: rgba(139, 92, 246, .18); }
#am-svc .sx-btab__icon .sv-ico { width: 15px; height: 15px; fill: var(--sv-violet-hi); }
#am-svc .sx-btab__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#am-svc .sx-btab__name { font: 700 13.5px/1.2 var(--sv-display); color: #fff; overflow-wrap: break-word; }
@container (max-width: 660px) { #am-svc .sx-btab__icon { display: none; } #am-svc .sx-btab { padding: 8px 11px 12px; } }
#am-svc .sx-btab__sub { font-size: 12px; line-height: 1.25; color: var(--sv-fog); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#am-svc .sx-btab__bar { position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .08); overflow: hidden; }
#am-svc .sx-btab__bar i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--sv-gold); }
#am-svc .sx-btab[aria-selected="true"] { background: rgba(139, 92, 246, .16); border-color: rgba(251, 191, 36, .5); color: #fff; }
#am-svc .sx-btab[aria-selected="true"] .sx-btab__icon { background: linear-gradient(180deg, #ffd766, #f2a60c); }
#am-svc .sx-btab[aria-selected="true"] .sx-btab__icon .sv-ico { fill: #1c1236; }
@media (hover: hover) { #am-svc .sx-btab:hover { border-color: rgba(251, 191, 36, .4); } }
#am-svc .sx-build__caps { position: relative; min-height: 24px; font-size: 14px; color: var(--sv-fog); }
#am-svc .sx-build__cap { display: none; }
#am-svc .sx-build__cap.is-on { display: inline; }

/* ---------- antifraud.html: the risk matrix ---------- */
#am-svc .sx-risk { aspect-ratio: 1.24 / 1; }
#am-svc .sx-risk__cols { position: absolute; left: 0; right: 0; top: 0; height: 8%; z-index: 3; }
#am-svc .sx-risk__cols li {
  position: absolute; top: 0; left: calc(var(--c) * 20.5% + 9%); transform: translateX(-50%);
  font: 700 11.5px/1.2 var(--sv-display); letter-spacing: .04em; text-transform: uppercase; color: rgba(196, 181, 253, .75); white-space: nowrap;
}
#am-svc .sx-risk__nodes { position: absolute; inset: 0; z-index: 3; }
#am-svc .sx-rn { position: absolute; top: var(--y); transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; transition: border-color .35s, box-shadow .35s, background-color .35s, color .35s; }
#am-svc .sx-rn--sig {
  left: 29.5%; min-height: 30px; padding: 0 11px 0 9px; border-radius: 999px;
  font: 600 12px/1 var(--sv-body); color: #e9e4ff; background: rgba(23, 12, 56, .82); border: 1px solid rgba(196, 181, 253, .22);
}
#am-svc .sx-rn--sig .sv-ico { width: 12px; height: 12px; fill: var(--sv-violet-hi); }
#am-svc .sx-rn--rule {
  left: 50%; justify-content: center; width: 44px; height: 30px; border-radius: 9px;
  font: 800 12px/1 var(--sv-display); color: var(--sv-violet-hi); background: rgba(23, 12, 56, .85); border: 1px solid rgba(196, 181, 253, .26);
}
#am-svc .sx-rn--dec { left: 91%; min-height: 32px; padding: 0 12px 0 10px; border-radius: 10px; font: 700 12px/1 var(--sv-display); color: #fff; background: rgba(23, 12, 56, .82); border: 1px solid rgba(196, 181, 253, .22); }
#am-svc .sx-rn--dec i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
#am-svc .sx-rn--ok i { background: #6ee7b7; }
#am-svc .sx-rn--review i { background: var(--sv-gold); }
#am-svc .sx-rn--hold i { background: #fda4af; }
#am-svc .sx-rn.is-hot { border-color: rgba(255, 220, 133, .85); box-shadow: 0 0 0 3px rgba(251, 191, 36, .14), 0 0 22px rgba(251, 191, 36, .35); color: #fff; }
#am-svc .sx-rn--sig.is-hot .sv-ico { fill: var(--sv-gold); }
#am-svc .sx-rn--ok.is-hot { border-color: rgba(110, 231, 183, .8); box-shadow: 0 0 0 3px rgba(110, 231, 183, .12), 0 0 22px rgba(110, 231, 183, .3); }
#am-svc .sx-rn--hold.is-hot { border-color: rgba(253, 164, 175, .8); box-shadow: 0 0 0 3px rgba(253, 164, 175, .12), 0 0 22px rgba(253, 164, 175, .3); }
#am-svc .sx-risk__score { position: absolute; left: 71%; top: 50%; z-index: 3; width: 21%; aspect-ratio: 1; transform: translate(-50%, -50%); display: grid; place-items: center; }
#am-svc .sx-risk__score svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
#am-svc .sx-risk__track { fill: rgba(15, 8, 38, .7); stroke: rgba(196, 181, 253, .16); stroke-width: 6; }
#am-svc .sx-risk__arc { fill: none; stroke: var(--sx-score-c, #6ee7b7); stroke-width: 6; stroke-linecap: round; stroke-dasharray: var(--sx-score, 12) 100; transition: stroke-dasharray .7s var(--sv-ease), stroke .5s; }
#am-svc .sx-risk__num { position: relative; font: 800 clamp(18px, 2.2vw, 30px)/1 var(--sv-display); color: #fff; font-variant-numeric: tabular-nums; }
#am-svc .sx-risk__spec { position: absolute; left: 91%; top: 93%; z-index: 3; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 6px; font: 600 11.5px/1 var(--sv-body); color: var(--sv-fog); white-space: nowrap; }
#am-svc .sx-risk__spec .sv-ico { width: 12px; height: 12px; fill: var(--sv-gold); }
#am-svc .sx-risk__spec.is-hot { color: #fff; }
#am-svc .sx-risk__event { position: absolute; left: 9%; bottom: 0; z-index: 3; transform: translateX(-50%); font: 600 11.5px/1.2 var(--sv-body); color: var(--sv-fog); white-space: nowrap; }

/* ---------- tiles (paper and glass) ---------- */
#am-svc .sx-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
#am-svc .sx-tiles--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#am-svc .sx-tiles--kinds { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
#am-svc .sx-tiles--channels { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
#am-svc .sx-tile {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 22px 26px; border-radius: 20px;
  background: #fff; border: 1px solid rgba(27, 18, 53, .08); box-shadow: 0 18px 40px -30px rgba(49, 34, 120, .45);
  transition: transform .35s var(--sv-ease), box-shadow .35s, border-color .35s;
}
#am-svc .sx-tile__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; margin-bottom: 4px; background: linear-gradient(160deg, #3a2470, #1d0e47); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); }
#am-svc .sx-tile__icon .sv-ico { width: 20px; height: 20px; fill: var(--sv-gold); }
#am-svc .sx-tile__title { font: 700 17px/1.3 var(--sv-display); color: var(--sv-ink); }
#am-svc .sx-tile__text { font-size: 14.5px; line-height: 1.55; color: #574d7a; }
@media (hover: hover) { #am-svc .sx-band--paper .sx-tile:hover { transform: translateY(-4px); border-color: rgba(109, 40, 217, .25); box-shadow: 0 26px 50px -30px rgba(49, 34, 120, .6); } }
#am-svc .sx-tiles--glass .sx-tile, #am-svc .sx-band--graphite .sx-tile, #am-svc .sx-band--plum .sx-tile, #am-svc .sx-band--night .sx-tile {
  background: rgba(255, 255, 255, .045); border-color: rgba(196, 181, 253, .16); box-shadow: none; backdrop-filter: blur(6px);
}
#am-svc .sx-tiles--glass .sx-tile__title, #am-svc .sx-band--graphite .sx-tile__title, #am-svc .sx-band--plum .sx-tile__title, #am-svc .sx-band--night .sx-tile__title { color: #fff; }
#am-svc .sx-tiles--glass .sx-tile__text, #am-svc .sx-band--graphite .sx-tile__text, #am-svc .sx-band--plum .sx-tile__text, #am-svc .sx-band--night .sx-tile__text { color: var(--sv-fog); }
#am-svc .sx-tiles--glass .sx-tile__icon, #am-svc .sx-band--graphite .sx-tile__icon { background: rgba(139, 92, 246, .2); }
@media (hover: hover) { #am-svc .sx-tiles--glass .sx-tile:hover, #am-svc .sx-band--graphite .sx-tile:hover { border-color: rgba(251, 191, 36, .4); transform: translateY(-3px); } }
/* channels: the icon in its channel's colour */
#am-svc .sx-tile--ch .sx-tile__icon { background: #f3f0fa; box-shadow: none; }
#am-svc .sx-tile--web .sx-tile__icon .sv-ico { fill: var(--sv-brand); }
#am-svc .sx-tile--wa .sx-tile__icon .sv-ico { fill: #1faa52; }
#am-svc .sx-tile--ig .sx-tile__icon .sv-ico { fill: #d6297a; }
#am-svc .sx-tile--tg .sx-tile__icon .sv-ico { fill: #1d93d2; }
#am-svc .sx-tile--call .sx-tile__icon .sv-ico { fill: var(--sv-gold-ink); }
#am-svc .sx-tiles--uses { margin-top: 26px; }
#am-svc .sx-tiles--scenes .sx-tile { padding-top: 28px; overflow: hidden; }
#am-svc .sx-tiles--scenes .sx-tile::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--sv-gold), var(--sv-violet)); }

/* ---------- the pipeline (AI request / antifraud chain) ---------- */
#am-svc .sx-pipe { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
#am-svc .sx-pipe__rail { position: absolute; left: 10%; right: 10%; top: 31px; height: 2px; background: linear-gradient(90deg, rgba(196, 181, 253, .1), rgba(196, 181, 253, .35), rgba(196, 181, 253, .1)); }
#am-svc .sx-pipe__token {
  position: absolute; top: 50%; left: calc(var(--p, 0) * 100%); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--sv-gold); box-shadow: 0 0 0 5px rgba(251, 191, 36, .18), 0 0 22px rgba(251, 191, 36, .9);
}
#am-svc .sx-pipe__step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
#am-svc .sx-pipe__node {
  position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #3b1f7e, #1a0d40 75%); border: 1px solid rgba(196, 181, 253, .3);
  transition: border-color .4s, box-shadow .4s, transform .4s var(--sv-ease);
}
#am-svc .sx-pipe__node .sv-ico { width: 24px; height: 24px; fill: var(--sv-violet-hi); transition: fill .4s; }
#am-svc .sx-pipe__ring { position: absolute; inset: -7px; border-radius: 50%; border: 1px dashed rgba(196, 181, 253, .25); }
#am-svc .sx-pipe__num { font: 800 12px/1 var(--sv-display); color: var(--sv-gold); letter-spacing: .06em; }
#am-svc .sx-pipe__title { font: 700 17px/1.3 var(--sv-display); color: #fff; }
#am-svc .sx-pipe__text { font-size: 14.5px; line-height: 1.55; color: var(--sv-fog); max-width: 20em; }
#am-svc .sx-pipe__step.is-hot .sx-pipe__node { border-color: rgba(255, 220, 133, .9); box-shadow: 0 0 0 6px rgba(251, 191, 36, .12), 0 0 36px rgba(251, 191, 36, .45); transform: scale(1.06); }
#am-svc .sx-pipe__step.is-hot .sx-pipe__node .sv-ico { fill: var(--sv-gold); }

/* ---------- ai-chatbot.html: the voice block ---------- */
#am-svc .sx-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
#am-svc .sx-split .sx-head { margin-bottom: 26px; }
#am-svc .sx-wave { display: flex; align-items: center; gap: 4px; height: 56px; margin-bottom: 28px; }
#am-svc .sx-wave i {
  flex: 1; min-width: 2px; height: 100%; border-radius: 3px; transform-origin: 50% 50%;
  background: linear-gradient(180deg, var(--sv-gold-hi), var(--sv-violet));
  transform: scaleY(calc(.18 + .6 * var(--a, .3)));
  opacity: .9;
}
#am-svc .sx-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 26px; }
#am-svc .sx-spec { display: flex; gap: 12px; align-items: flex-start; }
#am-svc .sx-spec__icon { width: 20px; height: 20px; margin-top: 2px; fill: var(--sv-gold); flex: none; }
#am-svc .sx-spec strong { display: block; font: 700 15px/1.35 var(--sv-display); color: #fff; margin-bottom: 4px; }
#am-svc .sx-spec span > span { display: block; font-size: 14px; line-height: 1.5; color: var(--sv-fog); }

/* ---------- screens (browser, phone, photo), enlargeable ---------- */
#am-svc .sx-shot { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
#am-svc .sx-shot__btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; border-radius: 16px; }
#am-svc .sx-shot__btn img { display: block; width: 100%; height: auto; }
#am-svc .sx-shot .sv-screen__zoom {
  position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(15, 8, 38, .78); border: 1px solid rgba(255, 255, 255, .3); opacity: 0; transform: scale(.9); transition: opacity .25s, transform .25s;
}
#am-svc .sx-shot .sv-screen__zoom .sv-ico { width: 15px; height: 15px; fill: #fff; }
#am-svc .sx-shot__btn:hover .sv-screen__zoom, #am-svc .sx-shot__btn:focus-visible .sv-screen__zoom { opacity: 1; transform: none; }
#am-svc .sx-shot__cap { font-size: 13.5px; line-height: 1.45; color: var(--sv-fog); }
#am-svc .sx-photo { display: block; overflow: hidden; border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(8, 4, 24, .8); }
#am-svc .sx-shot--phone { max-width: 230px; }
@media (hover: hover) { #am-svc .sx-shot__btn .sv-browser, #am-svc .sx-shot__btn .sv-phone, #am-svc .sx-shot__btn .sx-photo { transition: transform .45s var(--sv-ease); } #am-svc .sx-shot__btn:hover .sv-browser, #am-svc .sx-shot__btn:hover .sv-phone, #am-svc .sx-shot__btn:hover .sx-photo { transform: translateY(-4px) scale(1.01); } }

/* ---------- integrations: groups of chips ---------- */
#am-svc .sx-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
#am-svc .sx-group { display: flex; flex-direction: column; gap: 12px; padding: 24px 22px; border-radius: 20px; background: #fff; border: 1px solid rgba(27, 18, 53, .08); }
#am-svc .sx-group__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #f3f0fa; }
#am-svc .sx-group__icon .sv-ico { width: 18px; height: 18px; fill: var(--sv-brand); }
#am-svc .sx-group__title { font: 700 16px/1.3 var(--sv-display); color: var(--sv-ink); }
#am-svc .sx-group__chips { display: flex; flex-wrap: wrap; gap: 6px; }
#am-svc .sx-group__chips li { padding: 6px 10px; border-radius: 999px; font: 600 12.5px/1.2 var(--sv-body); color: #3b2c6b; background: #f3f0fa; border: 1px solid rgba(109, 40, 217, .12); }
#am-svc .sx-group--inline { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 30px; background: rgba(255, 255, 255, .04); border-color: rgba(196, 181, 253, .16); }
#am-svc .sx-group--inline .sx-group__title { color: #fff; }
#am-svc .sx-group--inline .sx-group__chips li { color: #efeaff; background: rgba(139, 92, 246, .16); border-color: rgba(196, 181, 253, .2); }

/* ---------- ai-chatbot.html: real cases ---------- */
#am-svc .sx-cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
#am-svc .sx-case { display: flex; flex-direction: column; gap: 20px; padding: 22px; border-radius: 24px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(196, 181, 253, .16); }
#am-svc .sx-case__body { display: flex; flex-direction: column; gap: 10px; }
#am-svc .sx-case__name { font: 800 24px/1.15 var(--sv-display); color: #fff; }
#am-svc .sx-case__kind { font-size: 13.5px; font-weight: 600; color: var(--sv-gold-hi); }
#am-svc .sx-case__text { font-size: 15px; line-height: 1.6; color: var(--sv-fog); }
#am-svc .sx-case__points { display: flex; flex-wrap: wrap; gap: 8px; }
#am-svc .sx-case__points li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; font: 600 13px/1.2 var(--sv-body); color: #efeaff; background: rgba(139, 92, 246, .16); }
#am-svc .sx-case__points .sv-ico { width: 11px; height: 11px; fill: #6ee7b7; }
#am-svc .sx-case__link { align-self: flex-start; }
/* cases on paper */
#am-svc .sx-band--paper .sx-case { background: #fff; border-color: rgba(27, 18, 53, .08); box-shadow: 0 24px 50px -36px rgba(49, 34, 120, .5); }
#am-svc .sx-band--paper .sx-case__name { color: var(--sv-ink); }
#am-svc .sx-band--paper .sx-case__kind { color: var(--sv-gold-ink); }
#am-svc .sx-band--paper .sx-case__text { color: #4b4170; }
#am-svc .sx-band--paper .sx-case__points li { color: #3b2c6b; background: #f3f0fa; }
#am-svc .sx-band--paper .sx-case__points .sv-ico { fill: #0f9f6e; }
#am-svc .sx-band--paper .sx-case__link { color: var(--sv-gold-ink); }
#am-svc .sx-band--paper .sx-shot__cap { color: #574d7a; }

/* ---------- mobile-apps.html: the four systems ---------- */
#am-svc .sx-sys-list { display: flex; flex-direction: column; gap: 84px; }
#am-svc .sx-sys { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 52px; align-items: center; }
#am-svc .sx-sys:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); }
#am-svc .sx-sys:nth-child(even) .sx-sys__body { order: 2; }
#am-svc .sx-sys__body { display: flex; flex-direction: column; gap: 12px; }
#am-svc .sx-sys__num { font: 800 14px/1 var(--sv-display); color: var(--sv-gold); letter-spacing: .08em; }
#am-svc .sx-sys__name { font: 800 clamp(26px, 2.4vw, 34px)/1.1 var(--sv-display); color: #fff; letter-spacing: -.01em; }
#am-svc .sx-sys__kind { font-size: 14px; font-weight: 600; color: var(--sv-gold-hi); }
#am-svc .sx-sys__text { font-size: 15.5px; line-height: 1.6; color: var(--sv-fog); }
#am-svc .sx-sys__built { display: grid; gap: 9px; padding-top: 4px; }
#am-svc .sx-sys__built li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.45; color: #ece7ff; }
#am-svc .sx-sys__built .sv-ico { width: 13px; height: 13px; margin-top: 4px; fill: #6ee7b7; }
#am-svc .sx-sys__fact { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 8px 13px; border-radius: 12px; font: 700 14px/1.3 var(--sv-display); color: #1c1236; background: linear-gradient(180deg, #ffe7a6, #fbbf24); }
#am-svc .sx-sys__fact .sv-ico { width: 13px; height: 13px; fill: #1c1236; }
#am-svc .sx-sys__note { font-size: 13px; color: var(--sv-fog); font-style: italic; }
#am-svc .sx-sys__links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
#am-svc .sx-sys__screens { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; perspective: 1600px; }
#am-svc .sx-sys__screens--2 { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: end; }
#am-svc .sx-sys__screens--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#am-svc .sx-sys__screens--3 > :first-child { grid-column: 1 / -1; }
#am-svc .sx-sys--anco .sx-sys__screens--2 { grid-template-columns: minmax(0, 1fr) 170px; align-items: center; }
#am-svc .sx-sys--funland .sx-sys__screens--3 { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
#am-svc .sx-sys--funland .sx-sys__screens--3 > :first-child { grid-column: 1 / -1; }
#am-svc .sx-sys .sx-shot { transform: rotateY(calc(var(--tilt, 0) * 1deg)); transition: transform .8s var(--sv-ease); }
#am-svc .sx-sys:nth-child(odd) .sx-shot { --tilt: -4; }
#am-svc .sx-sys:nth-child(even) .sx-shot { --tilt: 4; }
#am-svc .sx-sys.is-on .sx-shot { --tilt: 0; }

/* ---------- antifraud.html: the architecture ---------- */
#am-svc .sx-arch { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr) 70px minmax(0, 1fr); align-items: center; gap: 0; }
#am-svc .sx-arch__col { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 22px; border: 1px solid rgba(196, 181, 253, .16); background: rgba(255, 255, 255, .035); }
#am-svc .sx-arch__col--core { background: linear-gradient(180deg, rgba(109, 40, 217, .3), rgba(46, 16, 101, .3)); border-color: rgba(251, 191, 36, .45); box-shadow: 0 0 60px -20px rgba(139, 92, 246, .6); }
#am-svc .sx-arch__label { font: 700 12px/1 var(--sv-display); letter-spacing: .08em; text-transform: uppercase; color: var(--sv-gold); }
#am-svc .sx-arch__col ul { display: grid; gap: 10px; }
#am-svc .sx-arch__box { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 14px; border-radius: 14px; background: rgba(15, 8, 38, .55); border: 1px solid rgba(196, 181, 253, .14); font: 600 14px/1.35 var(--sv-body); color: #fff; }
#am-svc .sx-arch__box .sv-ico { width: 16px; height: 16px; fill: var(--sv-violet-hi); }
#am-svc .sx-arch__col--core .sx-arch__box .sv-ico { fill: var(--sv-gold); }
#am-svc .sx-arch__wire { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 24%; }
#am-svc .sx-arch__wire i { position: relative; display: block; height: 2px; margin: 0 6px; background: rgba(196, 181, 253, .22); overflow: hidden; }
#am-svc .sx-arch__wire i::after { content: ""; position: absolute; top: 0; left: -40%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, var(--sv-gold), transparent); animation: sx-run 2.4s linear infinite; animation-delay: calc(var(--k, 0) * .5s); }
#am-svc .sx-arch__wire i:nth-child(2) { --k: 1; } #am-svc .sx-arch__wire i:nth-child(3) { --k: 2; }
#am-svc .sx-arch__loop { grid-column: 1 / -1; justify-self: center; display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 18px; border-radius: 999px; border: 1px dashed rgba(251, 191, 36, .5); font: 600 14px/1.3 var(--sv-body); color: var(--sv-gold-hi); }
#am-svc .sx-arch__loop .sv-ico { width: 15px; height: 15px; fill: var(--sv-gold); }
@keyframes sx-run { to { left: 100%; } }

/* ---------- FAQ ---------- */
#am-svc .sx-faq__grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 56px; align-items: start; }
#am-svc .sx-faq__head { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--sv-hdr) + 30px); }
#am-svc .sx-faq__list { display: grid; gap: 12px; }
#am-svc .sx-q { border-radius: 18px; background: #fff; border: 1px solid rgba(27, 18, 53, .09); transition: border-color .3s, box-shadow .3s; }
#am-svc .sx-q[open] { border-color: rgba(109, 40, 217, .28); box-shadow: 0 20px 40px -32px rgba(49, 34, 120, .55); }
#am-svc .sx-q summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; padding: 16px 22px; cursor: pointer; list-style: none; }
#am-svc .sx-q summary::-webkit-details-marker { display: none; }
#am-svc .sx-q__q { font: 700 16.5px/1.4 var(--sv-display); color: var(--sv-ink); }
#am-svc .sx-q__sign { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: #f3f0fa; transition: transform .35s var(--sv-ease), background-color .3s; }
#am-svc .sx-q__sign .sv-ico { width: 13px; height: 13px; fill: var(--sv-brand); }
#am-svc .sx-q[open] .sx-q__sign { transform: rotate(45deg); background: linear-gradient(180deg, #ffd766, #f2a60c); }
#am-svc .sx-q[open] .sx-q__sign .sv-ico { fill: #1c1236; }
#am-svc .sx-q__a { padding: 0 22px 20px; font-size: 15px; line-height: 1.65; color: #4b4170; max-width: 46em; }
#am-svc .sx-q summary:focus-visible { outline-offset: -2px; border-radius: 18px; }

/* ---------- related services ---------- */
#am-svc .sx-related { padding: 64px 0 72px; background: var(--sv-void); border-top: 1px solid rgba(196, 181, 253, .1); }
#am-svc .sx-related__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 26px; }
#am-svc .sx-related__kicker { font: 700 15px/1.3 var(--sv-display); color: var(--sv-gold); }
#am-svc .sx-related__title { font: 700 20px/1.3 var(--sv-display); color: #fff; }
#am-svc .sx-related__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
#am-svc .sx-rel { display: flex; align-items: center; gap: 14px; height: 100%; padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(196, 181, 253, .16); transition: border-color .3s, background-color .3s, transform .35s var(--sv-ease); }
#am-svc .sx-rel__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 13px; background: rgba(139, 92, 246, .2); }
#am-svc .sx-rel__icon .sv-ico { width: 19px; height: 19px; fill: var(--sv-gold); }
#am-svc .sx-rel__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
#am-svc .sx-rel__name { font: 700 15.5px/1.3 var(--sv-display); color: #fff; }
#am-svc .sx-rel__text { font-size: 13.5px; line-height: 1.45; color: var(--sv-fog); }
#am-svc .sx-rel__arrow { width: 14px; height: 14px; fill: var(--sv-gold-hi); flex: none; transition: transform .3s var(--sv-ease); }
@media (hover: hover) { #am-svc .sx-rel:hover { border-color: rgba(251, 191, 36, .45); background: rgba(139, 92, 246, .1); transform: translateY(-3px); } #am-svc .sx-rel:hover .sx-rel__arrow { transform: translateX(4px); } }

/* the V6 process and brands sections follow their own CSS; on these pages they keep the same rhythm */
#am-svc.sx-page .sv-process, #am-svc.sx-page .sv-brands { scroll-margin-top: calc(var(--sv-hdr) + 20px); }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  #am-svc .sx-tiles--kinds { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #am-svc .sx-tiles--channels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #am-svc .sx-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  #am-svc .sx-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  #am-svc .sx-title, #am-svc .sx-lead { max-width: 720px; }
  #am-svc .sx-hero__stage { width: 100%; max-width: 760px; margin: 0 auto; }
  #am-svc .sx-tiles, #am-svc .sx-tiles--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #am-svc .sx-tiles--kinds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #am-svc .sx-pipe { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
  #am-svc .sx-pipe__step { scroll-snap-align: start; }
  #am-svc .sx-pipe__rail { left: 70px; right: 70px; }
  #am-svc .sx-split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  #am-svc .sx-sys, #am-svc .sx-sys:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  #am-svc .sx-sys:nth-child(even) .sx-sys__body { order: 0; }
  #am-svc .sx-arch { grid-template-columns: minmax(0, 1fr); gap: 0; }
  #am-svc .sx-arch__wire { height: 40px; flex-direction: row; justify-content: center; gap: 30px; }
  #am-svc .sx-arch__wire i { width: 2px; height: 100%; margin: 0; }
  #am-svc .sx-arch__wire i::after { left: 0; top: -40%; width: 100%; height: 40%; background: linear-gradient(180deg, transparent, var(--sv-gold), transparent); animation-name: sx-run-y; }
  #am-svc .sx-faq__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  #am-svc .sx-faq__head { position: static; }
  #am-svc .sx-related__list { grid-template-columns: minmax(0, 1fr); }
  #am-svc .sx-cases { grid-template-columns: minmax(0, 1fr); }
}
@keyframes sx-run-y { to { top: 100%; } }
@media (max-width: 760px) {
  #am-svc.sx-page .sv-actions .sv-btn { white-space: normal; text-align: center; line-height: 1.25; padding-top: 10px; padding-bottom: 10px; }
  #am-svc .sx-band { padding: 68px 0; }
  #am-svc .sx-head { margin-bottom: 34px; }
  #am-svc .sx-hero { padding: 26px 0 40px; }
  #am-svc .sx-title { font-size: clamp(28px, 7.8vw, 38px); }
  #am-svc .sx-lead { font-size: 15.5px; }
  #am-svc .sx-tiles, #am-svc .sx-tiles--four, #am-svc .sx-tiles--kinds, #am-svc .sx-tiles--channels { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  #am-svc .sx-tiles--kinds, #am-svc .sx-tiles--channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #am-svc .sx-tile { padding: 18px 16px 20px; border-radius: 16px; }
  #am-svc .sx-tile__icon { width: 40px; height: 40px; border-radius: 12px; }
  #am-svc .sx-tile__title { font-size: 15.5px; }
  #am-svc .sx-tile__text { font-size: 13.5px; }
  #am-svc .sx-groups { grid-template-columns: minmax(0, 1fr); }
  #am-svc .sx-specs { grid-template-columns: minmax(0, 1fr); }
  #am-svc .sx-pipe { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; overflow: visible; }
  #am-svc .sx-pipe__rail { left: 31px; right: auto; top: 30px; bottom: 30px; width: 2px; height: auto; background: linear-gradient(180deg, rgba(196, 181, 253, .1), rgba(196, 181, 253, .35), rgba(196, 181, 253, .1)); }
  #am-svc .sx-pipe__token { left: 50%; top: calc(var(--p, 0) * 100%); }
  #am-svc .sx-pipe__step { display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 16px; row-gap: 4px; align-items: start; text-align: left; padding-bottom: 22px; }
  #am-svc .sx-pipe__node { grid-row: 1 / span 2; }
  #am-svc .sx-pipe__num { display: none; }
  #am-svc .sx-pipe__title { align-self: end; padding-top: 6px; }
  #am-svc .sx-pipe__text { max-width: none; }
  #am-svc .sx-sys-list { gap: 60px; }
  #am-svc .sx-sys__screens--2, #am-svc .sx-sys--anco .sx-sys__screens--2 { grid-template-columns: minmax(0, 1fr) 34%; }
  #am-svc .sx-sys__screens--3, #am-svc .sx-sys--funland .sx-sys__screens--3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  #am-svc .sx-case { padding: 14px; border-radius: 18px; }
  #am-svc .sx-case__name { font-size: 21px; }
  #am-svc .sx-q summary { min-height: 58px; padding: 14px 16px; }
  #am-svc .sx-q__q { font-size: 15.5px; }
  #am-svc .sx-q__a { padding: 0 16px 16px; font-size: 14.5px; }
  #am-svc .sx-related { padding: 48px 0 56px; }
  /* scenes on phones */
  #am-svc .sx-scene { aspect-ratio: 1 / 1.02; }
  #am-svc .sx-vn__tile { width: 36px; height: 36px; border-radius: 11px; }
  #am-svc .sx-vn__tile .sv-ico { width: 16px; height: 16px; }
  #am-svc .sx-vn { gap: 6px; flex-direction: column; }
  #am-svc .sx-vn--out { flex-direction: column; }
  #am-svc .sx-vn__name { font-size: 10.5px; }
  #am-svc .sx-voice__orb { width: 34%; }
  #am-svc .sx-voice__hud { font-size: 12px; min-height: 34px; padding: 0 12px; }
  #am-svc .sx-build__stage { aspect-ratio: 1.12 / 1; }
  #am-svc .sx-build__tabs { grid-template-columns: repeat(4, minmax(118px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--sv-gut) * -1); padding: 0 var(--sv-gut) 4px; scroll-padding: 0 var(--sv-gut); }
  #am-svc .sx-btab { scroll-snap-align: start; min-height: 52px; padding: 6px 10px; }
  #am-svc .sx-btab__icon { width: 28px; height: 28px; }
  #am-svc .sx-build__hub { width: 42px; height: 42px; font-size: 11px; }
  #am-svc .sx-build__chips { gap: 5px; }
  #am-svc .sx-build__chips li { font-size: 9.5px; padding: 4px 7px; }
  #am-svc .sx-risk { aspect-ratio: 1 / 1.08; }
  #am-svc .sx-risk__cols li { font-size: 9px; letter-spacing: .02em; }
  #am-svc .sx-rn--sig { padding: 0 7px; min-height: 26px; font-size: 10.5px; gap: 5px; }
  #am-svc .sx-rn--sig span { max-width: 62px; overflow: hidden; text-overflow: ellipsis; }
  #am-svc .sx-rn--rule { width: 34px; height: 26px; font-size: 10.5px; }
  #am-svc .sx-rn--dec { padding: 0 7px; min-height: 28px; font-size: 10.5px; gap: 5px; }
  #am-svc .sx-risk__score { width: 22%; }
  #am-svc .sx-risk__spec, #am-svc .sx-risk__event { font-size: 10px; }
}
@media (max-width: 400px) {
  #am-svc .sx-tiles--kinds, #am-svc .sx-tiles--channels { grid-template-columns: minmax(0, 1fr); }
  #am-svc .sx-rn--sig span { display: none; }
  #am-svc .sx-vn__name { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  #am-svc .sx-build__links path, #am-svc .sx-arch__wire i::after, #am-svc .sx-voice__dot { animation: none; }
  #am-svc .sx-frame, #am-svc .sx-sys .sx-shot { transition: none; }
}
