/* AI, built in (tools/seo/ai_show.py, owner 2026-11-07). One section on the homepage and every industry page.
   Desk (>= 961px): steps scroll on the left, one sticky screen on the right shows the step in view; a rail fills as you go.
   Phone: each step carries its own small screen. Motion is transform and opacity only; loops are linear; everything runs
   only under .ai-js (added by site-ai.js when motion is allowed) so no script or reduced motion = every screen finished. */

.ai-show { --ai-a: var(--accent, #00c896); --ai-r: #e5614f; --ai-y: #f2b84b; position: relative; overflow: clip; }
.ai-show > .wrap { position: relative; }
.ai-head { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.ai-kick { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ai-a);
  background: color-mix(in srgb, var(--ai-a) 12%, transparent); border: 1px solid color-mix(in srgb, var(--ai-a) 30%, transparent); }
.ai-spark { width: 14px; height: 14px; position: relative; }
.ai-spark::before, .ai-spark::after { content: ''; position: absolute; inset: 0; margin: auto; background: currentColor;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.ai-spark::after { transform: scale(.45) translate(110%, -110%); opacity: .7; }
.ai-js .ai-spark::before { animation: aiSpin 6s linear infinite; }
@keyframes aiSpin { to { transform: rotate(360deg); } }
.ai-head h2 { margin: 0 0 12px; font-size: clamp(28px, 4.2vw, 48px); line-height: 1.08; letter-spacing: var(--tr-heading, -.02em);
  background: linear-gradient(100deg, var(--text) 30%, var(--ai-a) 70%, var(--text)); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; }
.ai-js .ai-head h2 { animation: aiSheen 8s linear infinite; }
@keyframes aiSheen { to { background-position: -200% 0; } }
.ai-lede { margin: 0 auto; max-width: 620px; font-size: 17px; line-height: 1.55; color: var(--muted); }

.ai-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.ai-list { position: relative; }
.ai-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.ai-rail { display: none; }
.ai-step { position: relative; padding: 18px; border-radius: 20px; border: 1px solid var(--border); background: var(--surface, transparent); }
.ai-tag { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ai-a); }
.ai-tag i { font-style: normal; font-family: var(--font-mono, ui-monospace, monospace); color: var(--muted); letter-spacing: 0; }
.ai-step h3 { margin: 0 0 6px; font-size: 21px; line-height: 1.25; }
.ai-what { margin: 0 0 10px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.ai-worth { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 15px; font-weight: 600; line-height: 1.4; }
.ai-tk { flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--ai-a); color: #04130d; }
.ai-trust { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 28px 0 0; font-size: 14px; color: var(--muted); text-align: center; }
.ai-stage { display: none; }
.ai-mini { margin: -4px -4px 16px; }

/* ── The screen ─────────────────────────────────────────────────────────── */
.ai-scr { position: relative; padding: 14px; border-radius: 16px; min-height: 210px; overflow: hidden;
  background: linear-gradient(160deg, color-mix(in srgb, var(--ai-a) 9%, var(--surface-2, #1e232b)), var(--surface-2, #1e232b) 60%);
  border: 1px solid color-mix(in srgb, var(--ai-a) 22%, var(--border)); }
.ai-scr p, .ai-scr ul { margin: 0; }
.ai-scr-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px !important; font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ai-scr-top em { font-style: normal; font-weight: 600; letter-spacing: .04em; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--border); }
.ai-scr small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }

/* chat */
.ai-chat, .ai-rq { display: grid; gap: 8px; }
.ai-b { max-width: 88%; padding: 9px 12px; border-radius: 14px; font-size: 14px; line-height: 1.4; }
.ai-me { justify-self: end; background: var(--ai-a); color: #04130d; border-bottom-right-radius: 4px; font-weight: 600; }
.ai-it { justify-self: start; background: var(--surface, #161918); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.ai-it b { font-size: 18px; }
.ai-dots { display: none; gap: 4px; padding: 10px 12px; border-radius: 14px; background: var(--surface, #161918); width: max-content; }
.ai-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }

/* whatsapp draft */
.ai-wa-h { display: flex; align-items: center; gap: 8px; margin-bottom: 10px !important; font-size: 14px; }
.ai-wa-h small { margin-left: auto; }
.ai-av { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #25d366; color: #04130d; font-weight: 700; font-size: 13px; }
.ai-wa-m { padding: 10px 12px; border-radius: 12px 12px 12px 4px; background: #1f3b2f; color: #e7f6ee; font-size: 14px; line-height: 1.45; }
.ai-wa-go { margin-top: 10px !important; }
.ai-wa-go span { display: inline-flex; padding: 7px 14px; border-radius: 999px; background: #25d366; color: #04130d; font-size: 13px; font-weight: 700; }
.ai-wa-q { display: flex; align-items: center; gap: 8px; margin-top: 10px !important; }
.ai-wa-q i { width: 46px; height: 4px; border-radius: 2px; background: color-mix(in srgb, var(--ai-a) 30%, transparent); position: relative; overflow: hidden; }
.ai-wa-q i::after { content: ''; position: absolute; inset: 0; background: var(--ai-a); transform-origin: left; transform: scaleX(.35); }

/* analyst cards */
.ai-cards { display: grid; gap: 8px; }
.ai-al { padding: 9px 12px 9px 14px; border-radius: 12px; background: var(--surface, #161918); border: 1px solid var(--border); border-left: 3px solid var(--muted); font-size: 14px; }
.ai-al-g { border-left-color: var(--ai-a); }
.ai-al-r { border-left-color: var(--ai-r); }
.ai-meter { display: inline-block; width: 90px; height: 6px; margin-right: 6px; border-radius: 3px; background: var(--border); overflow: hidden; vertical-align: middle; }
.ai-meter i { display: block; height: 100%; background: var(--ai-a); transform-origin: left; transform: scaleX(var(--v)); }

/* forecast */
.ai-fc-h b { font-size: 20px; }
.ai-bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; margin-top: 12px; }
.ai-bars i { flex: 1; height: 100%; position: relative; border-radius: 6px 6px 3px 3px; transform-origin: bottom; transform: scaleY(var(--v));
  background: linear-gradient(180deg, var(--ai-a), color-mix(in srgb, var(--ai-a) 35%, transparent)); }
.ai-bars i span { position: absolute; left: 0; right: 0; bottom: -18px; text-align: center; font-size: 10px; color: var(--muted); font-style: normal; transform: scaleY(calc(1 / var(--v))); transform-origin: top; }
.ai-bars i:nth-child(6) { box-shadow: 0 0 0 2px color-mix(in srgb, var(--ai-a) 40%, transparent); }
.ai-fc { padding-bottom: 18px; }

/* review */
.ai-st { color: var(--ai-y); letter-spacing: 2px; font-size: 16px; }
.ai-rv-t { margin: 4px 0 12px !important; font-size: 15px; }
.ai-rv-r { padding: 10px 12px; border-radius: 12px; background: var(--surface, #161918); border: 1px dashed color-mix(in srgb, var(--ai-a) 45%, var(--border)); font-size: 14px; line-height: 1.45; }

/* snap */
.ai-snap { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: start; }
.ai-rc { position: relative; height: 150px; padding: 12px 10px; border-radius: 8px; background: #f3efe6; display: grid; gap: 9px; align-content: start; overflow: hidden; }
.ai-rc i { height: 6px; border-radius: 3px; background: #c9c1b0; }
.ai-rc i:nth-child(2n) { width: 70%; }
.ai-scan { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--ai-a); box-shadow: 0 0 14px 4px color-mix(in srgb, var(--ai-a) 60%, transparent); opacity: 0; }
.ai-fl { list-style: none; padding: 0; display: grid; gap: 8px; }
.ai-fl li { padding: 7px 10px; border-radius: 10px; background: var(--surface, #161918); border: 1px solid var(--border); font-size: 14px; }

/* speak */
.ai-sp { display: grid; gap: 10px; justify-items: center; text-align: center; }
.ai-mic { position: relative; width: 52px; height: 52px; border-radius: 50%; background: var(--ai-a); display: grid; place-items: center; }
.ai-mic span { width: 14px; height: 22px; border-radius: 8px; border: 3px solid #04130d; }
.ai-mic::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--ai-a); opacity: 0; }
.ai-said { font-size: 16px; font-weight: 600; }
.ai-bill { display: flex; justify-content: space-between; gap: 18px; width: 100%; padding: 9px 12px; border-radius: 10px; background: var(--surface, #161918); border: 1px solid var(--border); font-size: 14px; }
.ai-ok { padding: 7px 18px; border-radius: 999px; background: var(--ai-a); color: #04130d; font-weight: 700; font-size: 13px; }

/* request */
.ai-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-chips span { padding: 5px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--surface, #161918); border: 1px solid var(--border); }
.ai-chips .ai-urg { color: var(--ai-r); border-color: color-mix(in srgb, var(--ai-r) 50%, var(--border)); }
.ai-clock { display: flex; align-items: center; gap: 8px; }
.ai-clock i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ai-a); position: relative; }
.ai-clock i::after { content: ''; position: absolute; left: 50%; top: 1px; width: 2px; height: 5px; margin-left: -1px; background: var(--ai-a); transform-origin: 50% 100%; }

/* digest */
.ai-dg-h { font-weight: 700; margin-bottom: 10px !important; }
.ai-dg ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.ai-dg li { display: flex; justify-content: space-between; align-items: baseline; padding: 7px 10px; border-radius: 10px; background: var(--surface, #161918); border: 1px solid var(--border); }
.ai-dg li small { display: inline; }

/* ── Motion (only under .ai-js, set by site-ai.js) ─────────────────────── */
.ai-js .ai-head > *, .ai-js .ai-step { transition: opacity .6s cubic-bezier(.23, 1, .32, 1), transform .6s cubic-bezier(.23, 1, .32, 1); }
.ai-js .ai-head:not(.is-in) > * { opacity: 0; transform: translateY(18px); }
.ai-js .ai-head > :nth-child(2) { transition-delay: 80ms; }
.ai-js .ai-head > :nth-child(3) { transition-delay: 160ms; }
.ai-js .ai-step:not(.is-in) { opacity: 0; transform: translateY(26px) scale(.98); }

.ai-js .ai-scr > *:not(.ai-scr-top) { opacity: 0; }
.ai-js .ai-scr.is-on > *:not(.ai-scr-top) { opacity: 1; transition: opacity .3s; }
@keyframes aiUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes aiPop { 0% { opacity: 0; transform: scale(.85); } 70% { transform: scale(1.04); } 100% { opacity: 1; transform: none; } }
@keyframes aiGrow { from { transform: scaleY(0); } to { transform: scaleY(var(--v)); } }
@keyframes aiFill { from { transform: scaleX(0); } }
@keyframes aiDot { 0%, 100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(-4px); opacity: 1; } }
@keyframes aiScan { 0% { opacity: 1; transform: translateY(0); } 90% { opacity: 1; transform: translateY(147px); } 100% { opacity: 0; transform: translateY(147px); } }
@keyframes aiRing { 0% { opacity: .7; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes aiTick { to { transform: rotate(360deg); } }
@keyframes aiDotsOut { 0%, 90% { opacity: 1; } 100% { opacity: 0; } }

.ai-js .is-on .ai-me { animation: aiUp .45s cubic-bezier(.23, 1, .32, 1) .15s both; }
.ai-js .is-on .ai-chat .ai-dots { display: flex; position: absolute; animation: aiDotsOut 1.3s linear .55s both; }
.ai-js .is-on .ai-chat .ai-dots i { animation: aiDot .9s linear infinite; }
.ai-js .is-on .ai-chat .ai-dots i:nth-child(2) { animation-delay: .15s; }
.ai-js .is-on .ai-chat .ai-dots i:nth-child(3) { animation-delay: .3s; }
.ai-js .is-on .ai-chat .ai-it { animation: aiUp .5s cubic-bezier(.23, 1, .32, 1) 1.8s both; }
.ai-js .is-on .ai-wa-h { animation: aiUp .4s cubic-bezier(.23, 1, .32, 1) .1s both; }
.ai-js .is-on .ai-wa-m { animation: aiPop .55s cubic-bezier(.23, 1, .32, 1) .4s both; }
.ai-js .is-on .ai-wa-go { animation: aiUp .4s cubic-bezier(.23, 1, .32, 1) 1s both; }
.ai-js .is-on .ai-wa-q { animation: aiUp .4s cubic-bezier(.23, 1, .32, 1) 1.3s both; }
.ai-js .is-on .ai-wa-q i::after { animation: aiFill 1.4s cubic-bezier(.23, 1, .32, 1) 1.5s both; }
.ai-js .is-on .ai-al { animation: aiUp .45s cubic-bezier(.23, 1, .32, 1) both; }
.ai-js .is-on .ai-al:nth-child(1) { animation-delay: .15s; }
.ai-js .is-on .ai-al:nth-child(2) { animation-delay: .55s; }
.ai-js .is-on .ai-al:nth-child(3) { animation-delay: .95s; }
.ai-js .is-on .ai-meter i { animation: aiFill 1.2s cubic-bezier(.23, 1, .32, 1) 1.2s both; }
.ai-js .is-on .ai-fc-h { animation: aiUp .45s cubic-bezier(.23, 1, .32, 1) .1s both; }
.ai-js .is-on .ai-bars i { animation: aiGrow .7s cubic-bezier(.23, 1, .32, 1) both; animation-delay: calc(.3s + var(--n) * 80ms); }
.ai-js .is-on .ai-st { animation: aiPop .5s cubic-bezier(.23, 1, .32, 1) .1s both; }
.ai-js .is-on .ai-rv-t { animation: aiUp .45s cubic-bezier(.23, 1, .32, 1) .35s both; }
.ai-js .is-on .ai-rv-r { animation: aiUp .5s cubic-bezier(.23, 1, .32, 1) .8s both; }
.ai-js .is-on .ai-scan { animation: aiScan 1.6s linear .2s both; }
.ai-js .is-on .ai-fl li { animation: aiUp .4s cubic-bezier(.23, 1, .32, 1) both; }
.ai-js .is-on .ai-fl li:nth-child(1) { animation-delay: .7s; }
.ai-js .is-on .ai-fl li:nth-child(2) { animation-delay: 1.05s; }
.ai-js .is-on .ai-fl li:nth-child(3) { animation-delay: 1.4s; }
.ai-js .is-on .ai-mic::after { animation: aiRing 1.4s linear infinite; }
.ai-js .is-on .ai-said { animation: aiUp .45s cubic-bezier(.23, 1, .32, 1) .5s both; }
.ai-js .is-on .ai-bill { animation: aiPop .5s cubic-bezier(.23, 1, .32, 1) 1.1s both; }
.ai-js .is-on .ai-ok { animation: aiUp .4s cubic-bezier(.23, 1, .32, 1) 1.5s both; }
.ai-js .is-on .ai-rq .ai-me { animation-delay: .1s; }
.ai-js .is-on .ai-chips span { animation: aiPop .45s cubic-bezier(.23, 1, .32, 1) both; }
.ai-js .is-on .ai-chips span:nth-child(1) { animation-delay: .6s; }
.ai-js .is-on .ai-chips span:nth-child(2) { animation-delay: .8s; }
.ai-js .is-on .ai-chips span:nth-child(3) { animation-delay: 1s; }
.ai-js .is-on .ai-chips span:nth-child(4) { animation-delay: 1.2s; }
.ai-js .is-on .ai-clock { animation: aiUp .4s cubic-bezier(.23, 1, .32, 1) 1.5s both; }
.ai-js .is-on .ai-clock i::after { animation: aiTick 4s linear infinite; }
.ai-js .is-on .ai-dg-h { animation: aiUp .4s cubic-bezier(.23, 1, .32, 1) .1s both; }
.ai-js .is-on .ai-dg li { animation: aiUp .4s cubic-bezier(.23, 1, .32, 1) both; }
.ai-js .is-on .ai-dg li:nth-child(1) { animation-delay: .35s; }
.ai-js .is-on .ai-dg li:nth-child(2) { animation-delay: .6s; }
.ai-js .is-on .ai-dg li:nth-child(3) { animation-delay: .85s; }
.ai-js .is-on .ai-dg .ai-wa-go { animation-delay: 1.2s; }

/* ── Laptop: kept small on purpose (owner, 2026-11-07: "keep the laptop the same, add very little, make it mobile").
   One row of three cards that moves on by itself, about one screen tall; the sticky story is not used. */
@media (min-width: 961px) {
  .ai-head { margin-bottom: 24px; }
  .ai-head h2 { font-size: clamp(28px, 3vw, 38px); }
  .ai-step { flex: 0 0 calc((100% - 24px) / 3); }
  .ai-scr { min-height: 220px; }
}
@media (max-width: 720px) {
  .ai-head { text-align: left; margin-bottom: 22px; }
  .ai-lede { font-size: 15.5px; }
  .ai-step { padding: 14px; }
  .ai-step h3 { font-size: 19px; }
  .ai-what { font-size: 14.5px; }
  .ai-worth { font-size: 14.5px; }
  .ai-scr { min-height: 0; }
  .ai-trust { justify-content: flex-start; text-align: left; align-items: flex-start; }
  /* The AI Growth Manager and AI Analyst sections say the same things this section shows; on a phone this one stands for both. */
  body:has(#ai-show) #growth, body:has(#ai-show) #analyst { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ai-show *, .ai-show *::before, .ai-show *::after { animation: none !important; transition: none !important; }
}

/* ── The three promises: a colour per kind of step ──────────────────────── */
.ai-g-ops { color: #6fa8ff !important; }
.ai-g-profit { color: var(--ai-y) !important; }
.ai-g-ai { color: var(--ai-a) !important; }

/* ── Operations and profit screens ─────────────────────────────────────── */
.ai-lines, .ai-stk ul, .ai-kh ul, .ai-mg ul, .ai-po ul, .ai-att ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.ai-lines li, .ai-kh li, .ai-po li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px;
  background: var(--surface, #161918); border: 1px solid var(--border); font-size: 14px; }
.ai-kh li small { display: block; font-size: 11.5px; }
.ai-tot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px !important; padding-top: 10px; border-top: 1px dashed var(--border); }
.ai-tot b { font-size: 20px; }
.ai-pay { display: flex; gap: 8px; margin-top: 10px !important; }
.ai-pay span { flex: 1; text-align: center; padding: 9px 6px; border-radius: 10px; font-size: 13px; font-weight: 700; }
.ai-p1 { background: var(--ai-a); color: #04130d; }
.ai-p2 { border: 1px solid var(--ai-a); color: var(--ai-a); }
.ai-stk li { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 10px; font-size: 14px; }
.ai-lv { height: 8px; border-radius: 4px; background: var(--border); overflow: hidden; }
.ai-lv em { display: block; height: 100%; background: var(--ai-a); transform-origin: left; transform: scaleX(var(--v)); }
.ai-lv.r em { background: var(--ai-r); }
.ai-lv.y em { background: var(--ai-y); }
.ai-stk .ai-al { margin-top: 12px !important; }
.ai-rk-h { display: flex; gap: 8px; margin-bottom: 10px !important; }
.ai-rk-h span { flex: 1; padding: 6px 8px; border-radius: 10px; background: var(--surface, #161918); border: 1px solid var(--border); }
.ai-rk-h b { font-size: 18px; }
.ai-grid20 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.ai-grid20 i { aspect-ratio: 1.6; border-radius: 6px; background: color-mix(in srgb, var(--ai-a) 70%, transparent); }
.ai-grid20 .co { background: var(--ai-y); }
.ai-grid20 .cb { background: var(--border); }
.ai-legend { display: flex; gap: 12px; margin-top: 10px !important; font-size: 11.5px; color: var(--muted); }
.ai-legend span::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 2px; }
.ai-legend .g::before { background: var(--ai-a); } .ai-legend .o::before { background: var(--ai-y); } .ai-legend .b::before { background: var(--border); }
.ai-kds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ai-kds small { margin-bottom: 6px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 10.5px; }
.ai-kt { padding: 8px; margin-bottom: 6px !important; border-radius: 10px; background: var(--surface, #161918); border: 1px solid var(--border); border-left: 3px solid #6fa8ff; font-size: 12.5px; line-height: 1.3; }
.ai-kds > div:nth-child(2) .ai-kt { border-left-color: var(--ai-y); }
.ai-kds > div:nth-child(3) .ai-kt { border-left-color: var(--ai-a); }
.ai-att li { display: grid; grid-template-columns: 70px repeat(7, 1fr); gap: 4px; align-items: center; font-size: 13px; }
.ai-att i { aspect-ratio: 1; border-radius: 4px; background: var(--ai-a); }
.ai-att .aA { background: var(--ai-r); } .ai-att .aH { background: var(--ai-y); } .ai-att .aO { background: var(--border); }
.ai-mg li { display: grid; grid-template-columns: 1fr auto 46px; gap: 4px 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--surface, #161918); border: 1px solid var(--border); font-size: 14px; }
.ai-mg li b { color: var(--ai-a); text-align: right; }
.ai-mg li i { grid-column: 1 / -1; height: 5px; border-radius: 3px; background: var(--ai-a); transform-origin: left; transform: scaleX(var(--v)); opacity: .75; }
.ai-po li b { margin-left: auto; }
.ai-po li em, .ai-po li i { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.ai-po li em { color: var(--ai-r); border: 1px solid color-mix(in srgb, var(--ai-r) 50%, transparent); }
.ai-po li i.ok { color: var(--ai-a); border: 1px solid color-mix(in srgb, var(--ai-a) 50%, transparent); }
.ai-kh .ai-fc-h b { font-size: 22px; }
.ai-kh ul { margin-top: 10px; }

.ai-js .is-on .ai-lines li, .ai-js .is-on .ai-stk li, .ai-js .is-on .ai-kh li, .ai-js .is-on .ai-mg li, .ai-js .is-on .ai-po li,
.ai-js .is-on .ai-att li, .ai-js .is-on .ai-kt { animation: aiUp .4s cubic-bezier(.23, 1, .32, 1) both; }
.ai-js .is-on li:nth-child(2), .ai-js .is-on .ai-kds > div:nth-child(2) .ai-kt { animation-delay: .2s; }
.ai-js .is-on li:nth-child(3), .ai-js .is-on .ai-kds > div:nth-child(3) .ai-kt { animation-delay: .4s; }
.ai-js .is-on li:nth-child(4) { animation-delay: .6s; }
.ai-js .is-on .ai-tot { animation: aiUp .4s cubic-bezier(.23, 1, .32, 1) .7s both; }
.ai-js .is-on .ai-pay span { animation: aiPop .45s cubic-bezier(.23, 1, .32, 1) 1s both; }
.ai-js .is-on .ai-pay .ai-p2 { animation-delay: 1.15s; }
.ai-js .is-on .ai-lv em, .ai-js .is-on .ai-mg li i { animation: aiFill .9s cubic-bezier(.23, 1, .32, 1) .5s both; }
.ai-js .is-on .ai-stk .ai-al, .ai-js .is-on .ai-kh .ai-wa-go { animation: aiPop .5s cubic-bezier(.23, 1, .32, 1) 1.2s both; }
.ai-js .is-on .ai-grid20 i { animation: aiPop .35s cubic-bezier(.23, 1, .32, 1) both; }
.ai-js .is-on .ai-grid20 i:nth-child(5n+1) { animation-delay: .2s; } .ai-js .is-on .ai-grid20 i:nth-child(5n+2) { animation-delay: .3s; }
.ai-js .is-on .ai-grid20 i:nth-child(5n+3) { animation-delay: .4s; } .ai-js .is-on .ai-grid20 i:nth-child(5n+4) { animation-delay: .5s; }
.ai-js .is-on .ai-grid20 i:nth-child(5n) { animation-delay: .6s; }
.ai-js .is-on .ai-att i { animation: aiPop .3s cubic-bezier(.23, 1, .32, 1) both; animation-delay: .5s; }

/* ── Phone: one card at a time, swiping on its own (site-ai.js) ─────────── */
.ai-pg { display: none; }
@media all {
  .ai-steps { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 4px 16px 8px; scrollbar-width: none; }
  .ai-steps::-webkit-scrollbar { display: none; }
  .ai-step { flex: 0 0 86%; scroll-snap-align: center; }
  .ai-js .ai-step:not(.is-in) { opacity: 1; transform: none; }
  .ai-pg { display: flex; justify-content: center; gap: 6px; margin: 10px 0 0; }
  .ai-mini { display: block; }
  .ai-pg i { width: 6px; height: 6px; border-radius: 50%; background: var(--border-control, var(--border)); transition: transform .2s, background-color .2s; }
  .ai-pg i.on { background: var(--ai-a); transform: scale(1.35); }
}
@media (min-width: 721px) and (max-width: 960px) { .ai-step { flex-basis: 48%; } }
.ai-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
@media (max-width: 720px) { .ai-cta { flex-direction: column; } .ai-cta .btn { width: 100%; justify-content: center; } }
/* Laptop (after the row rules so it wins): three cards across. */
@media (min-width: 961px) { .ai-steps .ai-step { flex: 0 0 calc((100% - 24px) / 3); } .ai-steps { margin-inline: 0; padding-inline: 0; } }
.ai-qr { display: flex; align-items: center; gap: 10px; margin-bottom: 8px !important; }
.ai-qrb { width: 34px; height: 34px; border-radius: 6px; background:
  conic-gradient(from 90deg at 30% 30%, #fff 0 25%, #111 0 50%, #fff 0 75%, #111 0) 0 0 / 10px 10px; border: 3px solid #fff; }
.ai-js .is-on .ai-qr { animation: aiPop .45s cubic-bezier(.23, 1, .32, 1) .1s both; }
.ai-js .is-on .ai-rv .ai-wa-go { animation: aiUp .4s cubic-bezier(.23, 1, .32, 1) 1.3s both; }
