/* Yantra24x7 AI page (/yantra24x7-ai).
   Rhythm: dark hero with a question-and-answer card -> real footage -> plain explanation -> problem/fix pairs ->
   four steps -> bento of capabilities -> roles -> old machines -> FAQ -> shared CTA band. */
.ai { --navy: #0b2036; --navy2: #12304d; --or: #f7861e; --or-d: #c25e00; --ink: #12212f; --mute: #5d6b7a;
  --line: #ebe2d5; --cream: #fdf8f1; --ok: #16a34a; --hd: "Instrument Sans", Inter, system-ui, sans-serif; overflow-x: clip;
  /* Inter's contextual alternates turn "24x7" into "24×7"; the brand is always written Yantra24x7 */
  font-feature-settings: "calt" 0; }
.ai h1, .ai h2, .ai h3 { font-family: var(--hd); letter-spacing: -.02em; }
.ai h2 { margin: 10px 0 0; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; color: var(--ink); }
.ai h3 { margin: 0; font-size: 18px; line-height: 1.25; color: var(--ink); }
.ai p { margin: 0; }
.ai-k { display: inline-flex; align-items: center; gap: 8px; font: 800 12px/1 var(--mono, ui-monospace, monospace); letter-spacing: .12em; text-transform: uppercase; color: var(--or-d); }
.ai-k::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--or); }
.ai-head { max-width: 760px; }
.ai-head > p { margin-top: 16px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.65; color: var(--mute); }
.ai-head-c { margin-inline: auto; text-align: center; display: grid; justify-items: center; }
.ai section { padding: clamp(64px, 8vw, 120px) 0; }
.ai-big { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; color: var(--ink); }

/* 1. hero: light cream, warm glow, faint grid */
.ai .ai-hero { position: relative; display: flex; align-items: center; min-height: min(100svh, 980px); padding: calc(88px + clamp(28px, 3.5vw, 56px)) 0 clamp(36px, 4vw, 64px); background: linear-gradient(180deg, #fff4e6 0%, #fffaf3 55%, #fff 100%); color: var(--ink); isolation: isolate; }
.ai-hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.ai-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(194,94,0,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(194,94,0,.07) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 75% 70% at 72% 40%, #000 25%, transparent 72%); -webkit-mask-image: radial-gradient(ellipse 75% 70% at 72% 40%, #000 25%, transparent 72%); }
.ai-glow { position: absolute; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px; right: -14vw; top: -20vw; border-radius: 50%; background: radial-gradient(circle, rgba(247,134,30,.22), rgba(247,134,30,0) 65%); }
.ai-hero-in { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 88px); align-items: center; }
.ai-desc { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px #f3dcc0, 0 8px 20px -14px rgba(194,94,0,.5); font-size: 13px; font-weight: 600; color: var(--or-d); }
.ai-desc i { width: 8px; height: 8px; border-radius: 50%; background: var(--or); box-shadow: 0 0 0 4px rgba(247,134,30,.2); }
.ai-hero h1 { margin: 22px 0 0; font-size: clamp(34px, 3.9vw, 56px); line-height: 1.06; color: var(--ink); max-width: 16ch; }
.ai-name { display: block; color: var(--or); }
.ai-lead { margin-top: 22px !important; max-width: 46ch; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--mute); }
.ai-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; }
.ai-btns .btn-primary { padding: 15px 28px; border-radius: 14px; box-shadow: 0 16px 36px -12px rgba(247,134,30,.75); }
.ai-btn-ghost { display: inline-flex; align-items: center; gap: 10px; padding: 9px 20px 9px 9px; border-radius: 14px; background: #fff; color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; box-shadow: 0 0 0 1px #ead9c4; transition: box-shadow .2s, transform .2s; }
.ai-btn-ghost:hover { box-shadow: 0 0 0 1px #f0c08a, 0 12px 24px -16px rgba(194,94,0,.6); transform: translateY(-1px); }
.ai-play { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--or); color: #fff; }
.ai-works { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 36px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--mute); }
.ai-works a { display: inline-block; padding: 5px 12px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; font-weight: 600; transition: box-shadow .2s, color .2s; }
.ai-works a:hover { color: var(--or-d); box-shadow: 0 0 0 1px #f0c08a; }

/* hero card: question and answer, on white */
.ai-msg { border-radius: 18px; font-size: 15px; line-height: 1.55; }
.ai-q { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.ai-q span { padding: 12px 16px; border-radius: 18px 18px 4px 18px; background: var(--or); color: #fff; font-weight: 600; box-shadow: 0 10px 24px -12px rgba(247,134,30,.9); }
.ai-a { padding: 16px 18px; background: #f7f9fb; color: var(--ink); border-radius: 18px 18px 18px 4px; box-shadow: inset 0 0 0 1px #e9eef3; }
.ai-a b { color: var(--ink); }
.ai-check { margin-top: 12px !important; padding: 10px 12px; border-radius: 12px; background: #fff4e6; font-size: 14px; color: #5b4a36; }
.ai-check span { display: block; margin-bottom: 2px; font: 800 10.5px var(--mono, monospace); letter-spacing: .1em; text-transform: uppercase; color: var(--or-d); }
.ai-data { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.ai-data li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px #e3e9ef; font-size: 12px; font-weight: 600; color: #3b4b5c; }
.ai-data i { width: 6px; height: 6px; border-radius: 50%; background: var(--or); }
.ai-ask { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding: 8px 8px 8px 16px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #ead9c4; font-size: 14px; color: #98a3ae; }
.ai-ask i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--or); color: #fff; }

/* hero motion: machine pills, live thread, typing, thinking dots */
@keyframes aiblink { 50% { opacity: .25; } }
@keyframes aiidle { 0%, 100% { box-shadow: 0 0 0 3px rgba(245,158,11,.25); } 50% { box-shadow: 0 0 0 7px rgba(245,158,11,0); } }
.ai-dots { display: inline-flex; gap: 5px; padding: 14px 16px; border-radius: 18px 18px 18px 4px; background: #f7f9fb; box-shadow: inset 0 0 0 1px #e9eef3; }
.ai-dots i { width: 7px; height: 7px; border-radius: 50%; background: #9aa6b2; animation: aidot 1s ease-in-out infinite; }
.ai-dots i:nth-child(2) { animation-delay: .15s; } .ai-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes aidot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.pop { animation: aipop .45s cubic-bezier(.2,.9,.3,1.2) both; }
@keyframes aipop { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.ai-q.pop { transform-origin: right bottom; } .ai-a.pop, .ai-dots.pop { transform-origin: left bottom; }
.ai-typed { color: #98a3ae; transition: color .2s; }
.ai-typed.typing { color: var(--ink); }
.ai-typed.typing::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: var(--or); animation: aiblink .8s steps(1) infinite; }
.ai-ask i { transition: transform .25s, box-shadow .25s; }

/* 2. video */
.ai .ai-video { background: linear-gradient(180deg, var(--cream), #fff); }
.ai-vbox { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 0; overflow: hidden; border-radius: 26px; background: #111; box-shadow: 0 0 0 1px #f0e0c8, 0 60px 90px -55px rgba(247,134,30,.7); }
.ai-vbox video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ai-vtog { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 76px; height: 76px; margin: -38px 0 0 -38px; border: 0; border-radius: 50%; background: var(--or); color: #fff; cursor: pointer; box-shadow: 0 18px 40px -12px rgba(247,134,30,.9); transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .3s; }
.ai-vtog:hover { transform: scale(1.08); }
.ai-vtog:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.ai-vtog .i-pause { display: none; }
.ai-vbox.playing .ai-vtog { left: auto; top: 16px; right: 16px; width: 42px; height: 42px; margin: 0; background: rgba(255,255,255,.92); color: var(--ink); opacity: 0; }
.ai-vbox.playing:hover .ai-vtog, .ai-vbox.playing .ai-vtog:focus-visible { opacity: 1; }
.ai-vbox.playing .ai-vtog .i-play { display: none; } .ai-vbox.playing .ai-vtog .i-pause { display: block; }
.ai-vlen { position: absolute; left: 16px; top: 16px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.94); font: 800 11px var(--mono, monospace); letter-spacing: .08em; text-transform: uppercase; color: #5b4a36; transition: opacity .3s; }
.ai-vbox.playing .ai-vlen { opacity: 0; }
.ai-tx { width: 100%; margin: 14px 0 0; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.ai-tx summary { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); }
.ai-tx summary::-webkit-details-marker { display: none; }
.ai-tx summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--or); transition: transform .3s; }
.ai-tx[open] summary::after { transform: rotate(45deg); }
.ai-tx ol { margin: 0; padding: 0 20px 20px 42px; display: grid; gap: 8px; color: var(--mute); line-height: 1.6; }
.ai-tx b { color: var(--ink); }

/* 3. what */
.ai-split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.ai-split .ai-big { margin-top: 22px; }
.ai-split .ai-big + p { margin-top: 16px; font-size: 17px; line-height: 1.7; color: var(--mute); }
.ai-note { padding: 28px; border-radius: 24px; background: linear-gradient(160deg, #fff4e6, #fffaf3); box-shadow: 0 0 0 1px #f3dcc0; }
.ai-note-k { display: inline-block; padding: 5px 12px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px #f3dcc0; font: 800 11px var(--mono, monospace); letter-spacing: .1em; text-transform: uppercase; color: var(--or-d); }
.ai-note p { margin-top: 16px; font-size: 17px; line-height: 1.65; color: #4a3b2a; }
.ai-note a { display: inline-flex; gap: 8px; margin-top: 20px; color: var(--or-d); font-weight: 700; text-decoration: none; }
.ai-note a:hover i { transform: translateX(3px); } .ai-note a i { transition: transform .2s; }

/* 4. why: problem + what changes */
.ai .ai-why { background: var(--cream); }
.ai-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(32px, 4vw, 52px); }
.ai-why-grid article { display: flex; flex-direction: column; padding: 26px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.ai-n { font: 800 13px var(--mono, monospace); color: #c8b8a4; }
.ai-why-grid h3 { margin-top: 18px; font-size: 21px; }
.ai-why-grid p { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: var(--mute); }
.ai-why-grid .ai-fix { display: flex; gap: 10px; margin-top: auto; padding-top: 22px; border-top: 1px dashed var(--line); color: #14532d; font-weight: 600; }
.ai-why-grid .ai-fix { margin-top: 22px; }
.js .ai-why-grid article .ai-fix { opacity: 0; transform: translateX(-12px); transition: opacity .6s, transform .6s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--rd, 0s) + .75s); }
.js .ai-why-grid article.in .ai-fix { opacity: 1; transform: none; }
.ai-why-grid article.in .ai-fix i { animation: aitick .5s cubic-bezier(.34,1.56,.64,1) both; animation-delay: calc(var(--rd, 0s) + .95s); }
@keyframes aitick { from { transform: scale(0); } }
.ai-fix i { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* 5. steps */
.ai-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: clamp(36px, 4vw, 56px) 0 0; padding: 0; list-style: none; counter-reset: s; }
.ai-steps::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, var(--or) 0 8px, transparent 8px 16px); opacity: .55; transform-origin: left; transform: scaleX(0); transition: transform 1.6s cubic-bezier(.65,0,.35,1) .2s; }
.ai-steps.go::before { transform: scaleX(1); }
.js .ai-steps .ai-sn { transform: scale(.3); opacity: 0; transition: transform .6s cubic-bezier(.34,1.56,.64,1), opacity .3s; }
.ai-steps.go li:nth-child(1) .ai-sn { transition-delay: .15s; } .ai-steps.go li:nth-child(2) .ai-sn { transition-delay: .6s; } .ai-steps.go li:nth-child(3) .ai-sn { transition-delay: 1.05s; } .ai-steps.go li:nth-child(4) .ai-sn { transition-delay: 1.5s; }
.js .ai-steps.go .ai-sn { transform: none; opacity: 1; }
.ai-steps.go .ai-sn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--or); animation: aiping 1.6s ease-out 1 both; animation-delay: inherit; }
@keyframes aiping { from { transform: scale(1); opacity: .8; } to { transform: scale(1.8); opacity: 0; } }
.ai-steps li { position: relative; padding: 0 6px; text-align: center; }
.ai-sn { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--or); color: #fff; font: 800 20px var(--hd); box-shadow: 0 0 0 8px #fff, 0 14px 30px -10px rgba(247,134,30,.8); }
.ai-si { display: none; }
.ai-steps h3 { margin-top: 22px; font-size: 21px; }
.ai-steps p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--mute); }

/* 6. bento */
.ai .ai-can { background: linear-gradient(180deg, #fff, var(--cream)); }
.ai-bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(200px, auto); gap: 16px; margin-top: clamp(32px, 4vw, 52px); }
.ai-b { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line); color: inherit; text-decoration: none; transition: transform .3s, box-shadow .3s; }
.ai-b:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px #f0d4b0, 0 30px 50px -35px rgba(247,134,30,.6); }
.ai-b p { font-size: 15px; line-height: 1.6; color: var(--mute); }
.ai-bi { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 6px; border-radius: 14px; background: #fff0dc; color: var(--or-d); }
.ai-bi svg, .ai-si svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ai-b-ask { grid-row: span 2; background: linear-gradient(170deg, #fff4e6, #fff 70%); box-shadow: 0 0 0 1px #f3dcc0; }
.ai-b-ask h3 { font-size: 24px; }
.ai-b-ask .ai-bi { background: var(--or); color: #fff; }
.ai-qs { display: grid; gap: 12px; margin: 12px 0 0; padding: 0; list-style: none; }
.ai-qs li { padding: 14px 16px; border-radius: 16px 16px 4px 16px; background: var(--or); color: #fff; font-size: 16px; font-weight: 600; line-height: 1.45; box-shadow: 0 12px 24px -16px rgba(247,134,30,.9); }
.ai-qs li:nth-child(2) { margin-left: 18px; }
.js .ai-b-ask .ai-qs li { opacity: 0; transform: translateY(12px) scale(.96); transition: opacity .5s, transform .5s cubic-bezier(.34,1.56,.64,1); }
.js .ai-b-ask.in .ai-qs li { opacity: 1; transform: none; }
.ai-b-ask.in .ai-qs li:nth-child(1) { transition-delay: .5s; } .ai-b-ask.in .ai-qs li:nth-child(2) { transition-delay: .95s; }
/* ask fills column 1 over two rows; explain + report on row 1, alert + camera on row 2 */
.ai-b-cam { gap: 0; padding: 0; overflow: hidden; }
.ai-b-cam img { display: block; flex: none; width: 100%; height: 190px; min-height: 0; object-fit: cover; object-position: 60% 30%; border-bottom: 1px solid var(--line); }
.ai-b-cam-c { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 22px 26px 24px; }
.ai-b-cam .ai-bi { display: none; }
.ai-b-cam em { margin-top: auto; font-style: normal; font-weight: 700; color: var(--or-d); }
.ai-b-cam em i { display: inline-block; transition: transform .2s; } .ai-b-cam:hover em i { transform: translateX(3px); }

/* 7. roles */
.ai-roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: clamp(32px, 4vw, 52px) 0 0; padding: 0; list-style: none; }
.ai-roles li { padding: 26px 22px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line); text-align: center; }
.ai-roles img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: #fff0dc; box-shadow: 0 0 0 6px #fff4e6; }
.ai-roles h3 { margin-top: 18px; }
.ai-roles p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--mute); }

/* 8. old machines: light cream */
.ai .ai-old { background: var(--cream); }
.ai-old-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.ai-old .ai-big { margin-top: 22px; }
.ai-old .ai-big b { color: var(--or); }
.ai-mach { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.ai-mach li { padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; color: var(--ink); }
.ai-old-fig { position: relative; margin: 0; padding: clamp(20px, 3vw, 40px); border-radius: 28px; background: radial-gradient(circle at 50% 45%, rgba(247,134,30,.16), rgba(247,134,30,0) 62%), #fff; box-shadow: 0 0 0 1px #f0e0c8, 0 40px 70px -50px rgba(194,94,0,.5); text-align: center; }
.ai-old-fig img { width: min(100%, 460px); height: auto; filter: drop-shadow(0 26px 30px rgba(60,40,20,.25)); }
.ai-old-fig figcaption { margin-top: 10px; font: 700 11px var(--mono, monospace); letter-spacing: .1em; text-transform: uppercase; color: #a08a70; }

/* 9. faq */
.ai-faq-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.ai-faq-side { position: sticky; top: 110px; }
.ai-faq-side p { margin-top: 16px; color: var(--mute); }
.ai-faq-side a { color: var(--or-d); font-weight: 700; }
.ai-acc { display: grid; gap: 12px; }
.ai-acc details { border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s; }
.ai-acc details[open] { box-shadow: 0 0 0 1px #f0d4b0, 0 24px 40px -30px rgba(247,134,30,.6); }
.ai-acc summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-family: var(--hd); font-size: 18px; font-weight: 600; color: var(--ink); }
.ai-acc summary::-webkit-details-marker { display: none; }
.ai-acc summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: #fff0dc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c25e00' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .3s; }
.ai-acc details[open] summary::after { transform: rotate(45deg); }
.ai-acc details p { padding: 0 22px 22px; font-size: 16px; line-height: 1.7; color: var(--mute); }
.ai-upd { padding-top: 8px; padding-bottom: 40px; font-size: 13px; color: #8a96a3; }

/* responsive */
@media (max-width: 1080px) {
  .ai-hero-in, .ai-split, .ai-old-in, .ai-faq-in { grid-template-columns: 1fr; }
  .ai-faq-side { position: static; }
  .ai-steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; } .ai-steps::before { display: none; }
  .ai-bento { grid-template-columns: repeat(2, 1fr); }
  .ai-b-ask { grid-row: auto; grid-column: span 2; }
  .ai-b-cam { grid-column: span 2; }
  .ai-roles { grid-template-columns: repeat(2, 1fr); }
  .ai-why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ai section { padding: 56px 0; }
  .ai .ai-hero { padding-top: calc(76px + 36px); }
  .ai-btns .btn-primary, .ai-btn-ghost { flex: 1 1 100%; justify-content: center; text-align: center; }
      .ai-vbox { border-radius: 16px; }
  .ai-vtog { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
  .ai-steps { grid-template-columns: 1fr; text-align: left; }
  .ai-steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; text-align: left; }
  .ai-steps .ai-sn { grid-row: span 2; }
  .ai-steps h3 { margin-top: 4px; }
  .ai-bento { grid-template-columns: 1fr; }
  .ai-b-ask, .ai-b-cam { grid-column: auto; }
  .ai-b-cam img { height: auto; aspect-ratio: 16 / 9; }
  .ai-roles { grid-template-columns: 1fr 1fr; gap: 12px; } .ai-roles li { padding: 20px 14px; } .ai-roles img { width: 72px; height: 72px; }
  .ai-acc summary { font-size: 16.5px; padding: 18px; } .ai-acc details p { padding: 0 18px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-b, .ai-vtog { transition: none; } .ai-b:hover { transform: none; }
    .ai-steps::before, .js .ai-steps .ai-sn, .js .ai-why-grid article .ai-fix, .js .ai-b-ask .ai-qs li { transform: none !important; opacity: 1 !important; transition: none !important; }
  .ai-steps.go .ai-sn::after { display: none; }
}

/* ===== hero stage: machines -> AI core -> answer -> fixed ===== */
.ai-stage { margin: 0; width: min(100%, 620px, max(460px, calc((100svh - 520px) / .517))); justify-self: end; }
.ais { position: relative; padding: 16px 16px 14px; border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px #f0e0c8, 0 60px 90px -50px rgba(194,94,0,.5); }
.ais-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 4px 12px; border-bottom: 1px solid #f3ebe0; }
.ais-brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--hd); font-weight: 700; font-size: 15px; color: var(--ink); white-space: nowrap; }
.ais-live { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); animation: aiblink 1.6s ease-in-out infinite; }
/* story strip: the four beats, the current one lit, past ones ticked */
.ais-steps { display: flex; gap: 4px; margin: 0; padding: 3px; list-style: none; border-radius: 999px; background: #f6f2ec; counter-reset: st; }
.ais-steps li { position: relative; padding: 5px 10px 5px 22px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: #9a8b78; transition: background .4s, color .4s, box-shadow .4s; counter-increment: st; }
.ais-steps li::before { content: counter(st); position: absolute; left: 6px; top: 50%; display: grid; place-items: center; width: 13px; height: 13px; margin-top: -6.5px; border-radius: 50%; background: #e7ddd0; font-size: 8.5px; color: #fff; transition: background .4s; }
.ais-steps li.past { color: #15803d; } .ais-steps li.past::before { content: "✓"; background: #22c55e; }
.ais-steps li.now { background: #fff; color: var(--or-d); box-shadow: 0 4px 12px -6px rgba(194,94,0,.45); } .ais-steps li.now::before { background: var(--or); }

/* the scene scales as one drawing (viewBox 600 x 310) */
.ais-scene { position: relative; aspect-ratio: 600 / 310; margin-top: 10px; container-type: inline-size; }
.ais-flow { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ais-machines { position: absolute; left: 0; right: 0; top: 3.2%; height: 43.9%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.4cqw; margin: 0; padding: 0 1.2cqw; list-style: none; z-index: 1; }
.ais-machines li { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 1cqw 1cqw 1.4cqw; border-radius: 2.4cqw; background: linear-gradient(180deg, #f8fbf9, #fff); box-shadow: inset 0 0 0 1px #dcefe2; transition: box-shadow .5s, background .5s, transform .5s; }
.ais-machines img { width: 86%; height: 45%; object-fit: contain; margin-bottom: auto; filter: drop-shadow(0 .8cqw .8cqw rgba(0,0,0,.15)); transition: filter .5s; }
.ais-machines b { font-size: 2.05cqw; line-height: 1.2; color: var(--ink); white-space: nowrap; }
.ais-st { margin-top: .5cqw; padding: .25cqw 1.2cqw; border-radius: 99px; background: #dcfce7; font-size: 1.75cqw; font-weight: 700; color: #15803d; white-space: nowrap; transition: background .4s, color .4s; }
.ais-bar { position: absolute; left: 12%; right: 12%; bottom: .55cqw; height: .45cqw; overflow: hidden; border-radius: 9px; background: #e8f5ec; }
.ais-bar i { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, #22c55e 0 6%, transparent 6% 12%); animation: aibar 1.2s linear infinite; }
@keyframes aibar { to { transform: translateX(12%); } }
/* idle machine: amber, greyed render, output bar stops */
.ais-machines li.idle { background: linear-gradient(180deg, #fff7ed, #fff); box-shadow: inset 0 0 0 1.5px #fdba74, 0 1.6cqw 3cqw -2cqw rgba(245,158,11,.8); transform: translateY(-.6cqw); }
.ais-machines li.idle img { filter: grayscale(.7) opacity(.75); }
.ais-machines li.idle .ais-st { background: #ffedd5; color: #c2410c; animation: aiblink 1.1s ease-in-out infinite; }
.ais-machines li.idle .ais-bar { background: #ffedd5; } .ais-machines li.idle .ais-bar i { animation: none; background: none; }
.ais-machines li.ok { box-shadow: inset 0 0 0 1.5px #22c55e, 0 1.6cqw 3cqw -2cqw rgba(34,197,94,.8); }
.ais-machines li.ok::after { content: ""; position: absolute; top: -1.4cqw; right: -1.2cqw; width: 4cqw; height: 4cqw; border-radius: 50%; background: #22c55e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 62% no-repeat; box-shadow: 0 0 0 .6cqw #fff; animation: aitick .5s cubic-bezier(.34,1.56,.64,1) both; }

/* data lines and packets */
.ais-line { fill: none; stroke: #bfe8cc; stroke-width: 2; stroke-dasharray: 5 6; animation: aidash 1s linear infinite; transition: stroke .4s; }
@keyframes aidash { to { stroke-dashoffset: -11; } }
.ais-line.idle { stroke: #fdba74; animation: none; stroke-dasharray: 3 7; }
.ais-pk circle { fill: #22c55e; }
.ais-pk.idle circle { opacity: 0; }
.ais-alert { fill: #f59e0b; }
/* AI core */
.ais-core { filter: drop-shadow(0 10px 18px rgba(247,134,30,.55)); }
.ais-spark { fill: #fff; transform-origin: 300px 246px; animation: aispin 9s linear infinite; }
.ais-ring { fill: none; stroke: #f7861e; stroke-width: 1.5; stroke-dasharray: 4 9; opacity: .55; transform-origin: 300px 246px; }
.ais-ring.r1 { animation: aispin 14s linear infinite; } .ais-ring.r2 { opacity: .3; animation: aispin 22s linear infinite reverse; }
@keyframes aispin { to { transform: rotate(360deg); } }
.ais-pulse { fill: rgba(247,134,30,.25); transform-origin: 300px 246px; animation: aicore 2.6s ease-out infinite; }
@keyframes aicore { from { transform: scale(1); opacity: .8; } to { transform: scale(1.9); opacity: 0; } }
.ais[data-step="notice"] .ais-pulse { fill: rgba(245,158,11,.4); animation-duration: 1s; }
.ais[data-step="answer"].thinking .ais-ring.r1 { animation-duration: 1.6s; opacity: .9; }
.ais[data-step="answer"].thinking .ais-spark { animation-duration: 1.4s; }
.ais[data-step="fixed"] .ais-pulse { fill: rgba(34,197,94,.3); }
/* alert toast, out of the core */
.ais-toast { position: absolute; left: 61%; top: 70%; display: inline-flex; align-items: center; gap: 1.2cqw; padding: 1.1cqw 2cqw 1.1cqw 1.2cqw; border-radius: 99px; background: #fff; box-shadow: 0 0 0 1px #fed7aa, 0 2cqw 4cqw -2cqw rgba(194,94,0,.6); font-size: 2.1cqw; font-weight: 700; color: #9a3412; white-space: nowrap; opacity: 0; transform: translateX(-3cqw) scale(.9); transition: opacity .45s, transform .5s cubic-bezier(.34,1.56,.64,1); z-index: 2; }
.ais-toast i { width: 3.6cqw; height: 3.6cqw; border-radius: 50%; background: #f59e0b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 8 3 8H3s3-1 3-8M10.3 20a1.9 1.9 0 0 0 3.4 0'/%3E%3C/svg%3E") center / 60% no-repeat; }
.ais.toast .ais-toast { opacity: 1; transform: none; }

/* the conversation under the scene */
.ais-chat { margin-top: 4px; padding: 2px 12px 12px; border-radius: 20px; background: #fbfaf8; box-shadow: inset 0 0 0 1px #f1ebe2; }
.ais-thread { display: flex; flex-direction: column; justify-content: flex-end; height: 172px; overflow: hidden; -webkit-mask-image: linear-gradient(transparent 0, #000 26px); mask-image: linear-gradient(transparent 0, #000 26px); transition: opacity .35s, transform .35s; }
.ais-thread.out { opacity: 0; transform: translateY(-8px); }
.ais-chat .ai-q { flex: none; margin: 10px 0 0; }
.ais-chat .ai-a, .ais-chat .ai-dots { flex: none; margin-top: 10px; }
.ais-chat .ai-dots { align-self: flex-start; }
.ais-chat .ai-a { background: #fff; }
.ais-chat .ai-data { margin-top: 10px; }
.ai-data li.chk { background: #fff4e6; box-shadow: 0 0 0 1px #fde0bd; color: #9a3412; }
.ai-data li.chk i { background: #f59e0b; }
.ais-chat .ai-ask { margin-top: 10px; }
.ai-stage figcaption { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-size: 12px; color: #98a3ae; }
.ais-ex { padding: 2px 8px; border-radius: 99px; background: #fff4e6; font: 700 10px var(--mono, monospace); letter-spacing: .1em; text-transform: uppercase; color: var(--or-d); }

/* headline: an orange marker sweeps under "what to fix" */
.ai-mark { background: linear-gradient(transparent 62%, rgba(247,134,30,.32) 62%, rgba(247,134,30,.32) 92%, transparent 92%) no-repeat 0 0 / 0% 100%; transition: background-size 1.1s cubic-bezier(.65,0,.35,1) .9s; }
.in .ai-mark, h1.in .ai-mark { background-size: 100% 100%; }
html:not(.js) .ai-mark { background-size: 100% 100%; }

@media (max-width: 1080px) { .ai .ai-hero { min-height: 0; } .ai-stage { justify-self: start; width: min(100%, 640px); } }
@media (max-width: 640px) {
  .ais { padding: 12px 10px 10px; border-radius: 22px; }
  .ais-top { flex-direction: column; align-items: flex-start; gap: 8px; }
  .ais-steps { width: 100%; justify-content: space-between; } .ais-steps li { padding: 4px 7px 4px 19px; font-size: 10.5px; } .ais-steps li::before { left: 4px; }
  .ais-machines b { font-size: 2.4cqw; } .ais-st { font-size: 2.1cqw; }
  .ais-toast { font-size: 2.8cqw; left: 56%; }
  .ais-thread { height: 214px; }
}
@media (prefers-reduced-motion: reduce) {
  .ais-live, .ais-bar i, .ais-line, .ais-spark, .ais-ring, .ais-pulse, .ais-machines li.idle .ais-st { animation: none !important; }
  .ais-pk { display: none; }
  .ai-mark { transition: none; background-size: 100% 100%; }
}
.ais-sys { flex: none; display: flex; align-items: center; gap: 9px; margin: 10px 0 0; padding: 9px 12px; border-radius: 12px; font-size: 13.5px; font-weight: 600; }
.ais-sys i { flex: none; width: 8px; height: 8px; border-radius: 50%; }
.ais-sys.ok { background: #ecfdf3; color: #15803d; } .ais-sys.ok i { background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.ais-sys.warn { background: #fff7ed; color: #c2410c; } .ais-sys.warn i { background: #f59e0b; box-shadow: 0 0 0 4px rgba(245,158,11,.2); animation: aiblink 1s ease-in-out infinite; }
.ai-a + .ais-sys { margin: 10px 0 0; }
.ais-chat .ai-q { max-height: 90px; transition: opacity .4s, max-height .5s cubic-bezier(.65,0,.35,1), margin .5s; }
.ais-chat .ai-q.gone { opacity: 0; max-height: 0; margin-top: 0; overflow: hidden; }

/* video section: a header row (title | lead), then the film and an equal-height chapter rail, then the transcript */
.ai .ai-video { padding-block: clamp(56px, 6vw, 96px); }
.ai-vhead { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 72px); align-items: end; }
.ai-vhead h2 { max-width: 15ch; }
.ai-vlead { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.65; color: var(--mute); max-width: 52ch; justify-self: end; }
.ai-vrow { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(300px, 1fr); gap: 20px; align-items: stretch; margin-top: clamp(26px, 3vw, 40px); }
.ai-vmedia { min-width: 0; }
.ai-vrail { display: flex; flex-direction: column; padding: 22px 18px 18px; border-radius: 26px; background: #fff; box-shadow: 0 0 0 1px #f0e0c8, 0 40px 70px -55px rgba(194,94,0,.6); }
.ai-chap-t { margin: 0 0 10px 8px; font: 800 11px var(--mono, monospace); letter-spacing: .1em; text-transform: uppercase; color: #a08a70; }
.ai-chap { flex: 1; display: flex; flex-direction: column; justify-content: space-between; margin: 0; padding: 0; list-style: none; }
.ai-chap li { position: relative; }
.ai-chap li:not(:last-child)::before { content: ""; position: absolute; left: 22px; top: 36px; height: calc(100% - 22px); width: 2px; background: #efe3d2; transition: background .4s; }
.ai-chap li.done:not(:last-child)::before { background: #22c55e; }
.ai-chap button { display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; align-items: center; width: 100%; padding: 8px; border: 0; border-radius: 14px; background: none; text-align: left; font: inherit; cursor: pointer; transition: background .3s; }
.ai-chap button:hover { background: #fff6ea; }
.ai-chap button:focus-visible { outline: 3px solid var(--or); outline-offset: 1px; }
.ai-chap b { grid-row: span 2; position: relative; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px #efe3d2; font: 800 11px var(--mono, monospace); color: #a08a70; transition: background .35s, box-shadow .35s, color .35s; }
.ai-chap b svg { display: none; width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.ai-chap strong { font-family: var(--hd); font-size: 15.5px; line-height: 1.25; color: var(--ink); }
.ai-chap em { font-style: normal; font-size: 13px; line-height: 1.4; color: var(--mute); }
.ai-chap li.now button { background: #fff4e6; }
.ai-chap li.now b { background: var(--or); box-shadow: 0 0 0 5px rgba(247,134,30,.18); color: #fff; }
.ai-chap li.done b { background: #22c55e; box-shadow: none; } .ai-chap li.done b span { display: none; } .ai-chap li.done b svg { display: block; }
.ai-vprog { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.25); }
.ai-vprog i { position: absolute; inset: 0; background: var(--or); transform-origin: left; transform: scaleX(0); transition: transform .25s linear; }
.ai-video .ai-tx { margin-top: 16px; }
@media (max-width: 1080px) {
  .ai-vhead { grid-template-columns: 1fr; gap: 14px; } .ai-vlead { justify-self: start; }
  .ai-vrow { grid-template-columns: 1fr; }
  .ai-chap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; } .ai-chap li::before { display: none; }
}
@media (max-width: 640px) { .ai-chap { grid-template-columns: 1fr; } .ai-vrail { padding: 16px 10px 12px; border-radius: 20px; } }

/* ===== What is it: one flow, machines -> gateway -> AI -> team ===== */
.ai .ai-what { position: relative; background: radial-gradient(ellipse 60% 50% at 50% 0%, #fff4e6, transparent 70%), #fff; }
.ai-what-head { max-width: 860px; margin-inline: auto; text-align: center; display: grid; justify-items: center; }
.ai-what-lead { margin-top: 18px !important; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.6; color: var(--ink); }
.ai-askchip { display: inline-block; margin: 0 2px; padding: 1px 12px 2px; border-radius: 14px 14px 4px 14px; background: var(--or); color: #fff; font-weight: 600; white-space: nowrap; box-shadow: 0 10px 22px -12px rgba(247,134,30,.9); }

.ai-pipe { display: grid; grid-template-columns: 1fr 64px 1fr 64px 1fr 64px 1.15fr; align-items: stretch; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; list-style: none; }
.ai-st { position: relative; display: flex; flex-direction: column; padding: 22px 20px 22px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 50px -45px rgba(60,40,20,.5); }
.ai-st h3 { margin-top: 16px; font-size: 18px; }
.ai-st p { margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--mute); }
.ai-st p b { color: var(--ink); }
.ai-st-n { position: absolute; top: 14px; left: 14px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff4e6; font: 800 11px var(--mono, monospace); color: var(--or-d); }
.ai-st-art { display: grid; place-items: center; height: 118px; border-radius: 16px; background: linear-gradient(180deg, #f7f9fb, #fff); }
.ai-st-machines { position: relative; }
.ai-st-machines img { position: absolute; height: auto; filter: drop-shadow(0 8px 10px rgba(0,0,0,.18)); }
.ai-st-machines img:nth-child(1) { width: 46%; left: 6%; top: 18%; }
.ai-st-machines img:nth-child(2) { width: 46%; right: 4%; top: 12%; }
.ai-st-machines img:nth-child(3) { width: 40%; left: 30%; top: 40%; z-index: 1; }
.ai-gw { width: 46%; height: auto; filter: drop-shadow(0 10px 12px rgba(0,0,0,.22)); }
/* the AI stage is the hero of the row */
.ai-st-ai { background: linear-gradient(170deg, #fff4e6, #fff 75%); box-shadow: 0 0 0 1.5px #f7b26a, 0 40px 60px -40px rgba(247,134,30,.7); }
.ai-st-ai .ai-st-art { background: radial-gradient(circle at 50% 50%, rgba(247,134,30,.18), transparent 65%); }
.ai-st-ai .ai-st-n { background: var(--or); color: #fff; }
.ai-orb { position: relative; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #ffb45c, #f7861e); box-shadow: 0 16px 30px -10px rgba(247,134,30,.9); }
.ai-orb::before, .ai-orb::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1.5px dashed rgba(247,134,30,.55); animation: aispin 12s linear infinite; }
.ai-orb::after { inset: -24px; opacity: .45; animation-duration: 20s; animation-direction: reverse; }
.ai-orb svg { width: 34px; height: 34px; fill: #fff; }
/* team outcomes */
.ai-out { display: grid; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.ai-out li { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 12px; background: #ecfdf3; font-size: 13.5px; font-weight: 600; color: #14532d; }
.ai-out i { flex: none; width: 18px; height: 18px; border-radius: 50%; background: #22c55e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; }
/* connectors with flowing data dots */
.ai-link { position: relative; align-self: center; height: 2px; margin: 0 6px; background: repeating-linear-gradient(90deg, #f7b26a 0 6px, transparent 6px 12px); }
.ai-link::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left: 7px solid #f7b26a; border-right: 0; }
.ai-link i { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--or); box-shadow: 0 0 0 4px rgba(247,134,30,.18); opacity: 0; }
.ai-pipe.go .ai-link i { animation: aiflow 1.8s linear infinite; }
.ai-pipe.go .ai-link i:nth-child(2) { animation-delay: .6s; } .ai-pipe.go .ai-link i:nth-child(3) { animation-delay: 1.2s; }
@keyframes aiflow { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
/* entrance: stages arrive left to right, connectors draw between them, outcomes pop last */
.js .ai-pipe .ai-st { opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .7s, transform .8s cubic-bezier(.16,1,.3,1); }
.js .ai-pipe .ai-link { transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.65,0,.35,1); }
.js .ai-pipe.go .ai-st, .js .ai-pipe.go .ai-link { opacity: 1; transform: none; }
.ai-pipe.go > :nth-child(1) { transition-delay: .05s; } .ai-pipe.go > :nth-child(2) { transition-delay: .45s; }
.ai-pipe.go > :nth-child(3) { transition-delay: .7s; } .ai-pipe.go > :nth-child(4) { transition-delay: 1.1s; }
.ai-pipe.go > :nth-child(5) { transition-delay: 1.35s; } .ai-pipe.go > :nth-child(6) { transition-delay: 1.75s; }
.ai-pipe.go > :nth-child(7) { transition-delay: 2s; }
.js .ai-out li { opacity: 0; transform: translateX(-10px); transition: opacity .45s, transform .5s cubic-bezier(.34,1.56,.64,1); }
.js .ai-pipe.go .ai-out li { opacity: 1; transform: none; }
.ai-pipe.go .ai-out li:nth-child(1) { transition-delay: 2.4s; } .ai-pipe.go .ai-out li:nth-child(2) { transition-delay: 2.6s; }
.ai-pipe.go .ai-out li:nth-child(3) { transition-delay: 2.8s; } .ai-pipe.go .ai-out li:nth-child(4) { transition-delay: 3s; }
.ai-what-more { margin-top: 28px !important; text-align: center; }
.ai-what-more a { display: inline-flex; gap: 8px; color: var(--or-d); font-weight: 700; text-decoration: none; }
.ai-what-more a:hover i { transform: translateX(3px); } .ai-what-more a i { transition: transform .2s; }
@media (max-width: 1080px) {
  .ai-pipe { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .ai-link { width: 2px; height: 46px; margin: 6px auto; justify-self: center; background: repeating-linear-gradient(180deg, #f7b26a 0 6px, transparent 6px 12px); }
  .ai-link::after { right: auto; left: -4px; top: auto; bottom: -2px; border: 5px solid transparent; border-top: 7px solid #f7b26a; border-bottom: 0; }
  .ai-link i { left: -4px; top: 0; }
  .ai-pipe.go .ai-link i { animation-name: aiflowv; }
  @keyframes aiflowv { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - 10px); opacity: 0; } }
  .js .ai-pipe .ai-link { transform: scaleY(0); transform-origin: top; }
}
@media (prefers-reduced-motion: reduce) {
  .js .ai-pipe .ai-st, .js .ai-pipe .ai-link, .js .ai-out li { opacity: 1 !important; transform: none !important; transition: none !important; }
  .ai-pipe .ai-link i, .ai-orb::before, .ai-orb::after { animation: none !important; }
}

.ai-st-n { z-index: 2; box-shadow: 0 0 0 3px #fff; }
.ai-nw { white-space: nowrap; }
.ai-st-team { display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #f2fbf5, #fff); }
.ai-st-team img { width: 62px; height: 62px; margin-left: -14px; border-radius: 50%; object-fit: cover; background: #fff0dc; box-shadow: 0 0 0 4px #fff, 0 10px 18px -10px rgba(0,0,0,.4); }
.ai-st-team img:first-child { margin-left: 0; }
.js .ai-st-team img { opacity: 0; transform: translateY(10px) scale(.8); transition: opacity .4s, transform .5s cubic-bezier(.34,1.56,.64,1); }
.js .ai-pipe.go .ai-st-team img { opacity: 1; transform: none; }
.ai-pipe.go .ai-st-team img:nth-child(1) { transition-delay: 2.1s; } .ai-pipe.go .ai-st-team img:nth-child(2) { transition-delay: 2.2s; }
.ai-pipe.go .ai-st-team img:nth-child(3) { transition-delay: 2.3s; } .ai-pipe.go .ai-st-team img:nth-child(4) { transition-delay: 2.4s; }
@media (prefers-reduced-motion: reduce) { .js .ai-st-team img { opacity: 1 !important; transform: none !important; transition: none !important; } }

.ai-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding: 16px 0 0; list-style: none; }
.ai-tags li { padding: 5px 10px; border-radius: 999px; background: #f6f2ec; font-size: 12.5px; font-weight: 600; color: #5b4a36; }
.ai-tags-or li { background: #fff; box-shadow: 0 0 0 1px #f7c48c; color: var(--or-d); }
.ai-st-art { overflow: hidden; }
.ai-gw { max-height: 96px; width: auto; }
@media (max-width: 1080px) {
  .ai-st-art { height: 150px; }
  .ai-st-machines img:nth-child(1) { width: 40%; left: 6%; top: 14%; }
  .ai-st-machines img:nth-child(2) { width: 40%; right: 6%; top: 10%; }
  .ai-st-machines img:nth-child(3) { width: 34%; left: 33%; top: 42%; }
  .ai-gw { max-height: 112px; }
}

/* ===== Why: a story player. Tabs on the left, one problem at a time on a big stage: Today -> With ===== */
.ai-why-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 72px); align-items: end; }
.ai-why-head p { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.65; color: var(--mute); max-width: 52ch; justify-self: end; }
.ai-story { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.6fr); gap: 20px; align-items: stretch; margin-top: clamp(30px, 3.5vw, 48px); }

/* tabs */
.ai-tabs { display: flex; flex-direction: column; gap: 10px; }
.ai-tab { position: relative; flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 20px 22px 24px; overflow: hidden; border: 0; border-radius: 22px; background: rgba(255,255,255,.55); box-shadow: 0 0 0 1px var(--line); text-align: left; font: inherit; color: var(--ink); cursor: pointer; transition: background .35s, box-shadow .35s, transform .35s; }
.ai-tab:hover { background: #fff; }
.ai-tab:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; }
.ai-tab-n { font: 800 12px var(--mono, monospace); color: #c8b8a4; transition: color .35s; }
.ai-tab b { font-family: var(--hd); font-size: 19px; line-height: 1.2; }
.ai-tab-p { font-size: 14px; line-height: 1.55; color: var(--mute); opacity: .75; }
.ai-tab-bar { position: absolute; left: 22px; right: 22px; bottom: 12px; height: 3px; border-radius: 3px; background: #f1e6d8; opacity: 0; transition: opacity .3s; }
.ai-tab-bar i { position: absolute; inset: 0; border-radius: 3px; background: var(--or); transform-origin: left; transform: scaleX(0); }
.ai-tab.on { background: #fff; box-shadow: 0 0 0 1.5px #f7b26a, 0 30px 50px -36px rgba(194,94,0,.6); transform: translateX(6px); }
.ai-tab.on .ai-tab-n { color: var(--or); }
.ai-tab.on .ai-tab-p { opacity: 1; }
.ai-tab.on .ai-tab-bar { opacity: 1; }
.ai-story.auto .ai-tab.on .ai-tab-bar i { animation: aitabfill var(--dur, 8s) linear forwards; }
.ai-story.hold .ai-tab.on .ai-tab-bar i { animation-play-state: paused; }
.ai-story:not(.auto) .ai-tab.on .ai-tab-bar i { transform: scaleX(1); }
@keyframes aitabfill { to { transform: scaleX(1); } }

/* stage */
.ai-stage2 { position: relative; min-height: 380px; border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 50px 80px -60px rgba(60,40,20,.55); overflow: hidden; }
.ai-scene { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }
.ai-scene[hidden] { display: grid; visibility: hidden; }
.ai-scene { opacity: 0; transition: opacity .5s, visibility 0s .5s; }
.ai-scene.on { opacity: 1; visibility: visible; transition: opacity .5s; }
.ai-pn { position: relative; display: flex; flex-direction: column; padding: 30px 32px; }
.ai-pn-today { background: #f6f7f9; }
.ai-pn-with { background: radial-gradient(circle at 80% 0%, rgba(247,134,30,.16), transparent 60%), linear-gradient(180deg, #fff7ed, #fff); }
.ai-pl { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 5px 12px; border-radius: 99px; font: 800 11px var(--mono, monospace); letter-spacing: .1em; text-transform: uppercase; }
.ai-pn-today .ai-pl { background: #e9edf2; color: #6b7785; }
.ai-pn-with .ai-pl { background: var(--or); color: #fff; box-shadow: 0 8px 18px -10px rgba(247,134,30,.9); }
.ai-pn-with .ai-pl i { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.ai-big { margin-top: 18px; font-family: var(--hd); font-size: clamp(38px, 3.6vw, 56px); line-height: 1; letter-spacing: -.03em; }
.ai-pn-today .ai-big { color: #9aa5b1; }
.ai-pn-with .ai-big { color: var(--or); }
.ai-bigsub { margin-top: 8px; font-size: 15px; line-height: 1.45; color: var(--mute); max-width: 30ch; }
.ai-pn-with .ai-bigsub { color: #14532d; font-weight: 600; }
.ai-pn > :last-child { margin-top: auto; }
.ai-arrow { position: absolute; left: 50%; top: 50%; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.6), 0 14px 28px -12px rgba(194,94,0,.55); }
.ai-arrow svg { width: 22px; height: 22px; fill: none; stroke: var(--or); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* visuals */
.ai-tl { position: relative; height: 16px; margin: 40px 0 44px; border-radius: 99px; background: repeating-linear-gradient(90deg, #4ade80 0 12px, #22c55e 12px 24px); }
.ai-tl-idle { position: absolute; top: 0; bottom: 0; left: 40%; border-radius: 4px; background: repeating-linear-gradient(135deg, #f59e0b 0 6px, #fbbf24 6px 12px); transform-origin: left; }
.ai-tl-idle.long { width: 45%; } .ai-tl-idle.short { width: 3.5%; }
.ai-tl-mk { position: absolute; top: 24px; font-size: 12px; font-weight: 700; line-height: 1.25; color: var(--ink); white-space: nowrap; }
.ai-tl-mk em { font-style: normal; font-weight: 500; color: var(--mute); }
.ai-tl-mk::before { content: ""; position: absolute; top: -10px; left: 0; width: 2px; height: 8px; background: currentColor; opacity: .4; }
.ai-tl-mk.m1 { left: 40%; } .ai-tl-mk.m2 { left: 85%; transform: translateX(-100%); text-align: right; color: #b45309; } .ai-tl-mk.m2::before { left: auto; right: 0; }
.ai-tl-bell { position: absolute; left: 40%; top: -40px; width: 32px; height: 32px; margin-left: -16px; border-radius: 50%; background: var(--or) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 8 3 8H3s3-1 3-8M10.3 20a1.9 1.9 0 0 0 3.4 0'/%3E%3C/svg%3E") center / 17px no-repeat; box-shadow: 0 0 0 5px rgba(247,134,30,.18), 0 10px 18px -6px rgba(247,134,30,.9); }
.ai-chain { display: flex; flex-direction: column; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.ai-chain li { position: relative; align-self: flex-start; padding: 10px 14px 10px 36px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #e3e8ee; font-size: 14px; font-weight: 600; color: #5d6b7a; }
.ai-chain li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; border: 2px solid #c3ccd6; }
.ai-chain li:nth-child(2) { margin-left: 22px; } .ai-chain li:nth-child(3) { margin-left: 44px; }
.ai-mini { display: grid; gap: 10px; margin-top: 26px; }
.ai-mini-q { justify-self: end; padding: 11px 16px; border-radius: 16px 16px 4px 16px; background: var(--or); color: #fff; font-size: 15px; font-weight: 600; box-shadow: 0 10px 22px -12px rgba(247,134,30,.9); }
.ai-mini-a { justify-self: start; padding: 11px 16px; border-radius: 16px 16px 16px 4px; background: #fff; box-shadow: 0 0 0 1px #f1e3cf; font-size: 15px; color: var(--ink); }
.ai-sheet { position: relative; align-self: flex-start; width: 150px; margin-top: 26px; padding: 18px 16px 12px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px #e3e8ee, 0 12px 22px -14px rgba(0,0,0,.35); transform: rotate(-3deg); }
.ai-sheet i { display: block; height: 5px; margin-bottom: 10px; border-radius: 3px; background: #cfd6de; }
.ai-sheet i:nth-child(2) { width: 80%; } .ai-sheet i:nth-child(3) { width: 90%; } .ai-sheet i:nth-child(4) { width: 50%; }
.ai-pen { position: absolute; right: -22px; bottom: 8px; width: 56px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #64748b 0 80%, #334155 80%); transform: rotate(-35deg); transform-origin: left; }
.ai-report { align-self: flex-start; display: grid; grid-template-columns: repeat(3, auto); gap: 8px; margin-top: 26px; padding: 16px 18px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px #f1e3cf, 0 18px 30px -20px rgba(194,94,0,.55); }
.ai-report b { grid-column: 1 / -1; font-family: var(--hd); font-size: 16px; color: var(--ink); }
.ai-report span { padding: 5px 11px; border-radius: 99px; background: #fff4e6; font-size: 12.5px; font-weight: 600; color: #9a3412; }
.ai-report em { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px 4px 6px; border-radius: 99px; background: #dcfce7; font-style: normal; font-size: 12.5px; font-weight: 700; color: #15803d; }
.ai-report em::before { content: ""; width: 15px; height: 15px; border-radius: 50%; background: #22c55e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 11px no-repeat; }

/* motion inside the active scene: Today plays first, then With answers it */
.ai-scene .ai-pn > * { opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .6s cubic-bezier(.16,1,.3,1); }
.ai-scene.on .ai-pn > * { opacity: 1; transform: none; }
.ai-scene.on .ai-pn-today > :nth-child(1) { transition-delay: .1s; } .ai-scene.on .ai-pn-today > :nth-child(2) { transition-delay: .2s; } .ai-scene.on .ai-pn-today > :nth-child(3) { transition-delay: .3s; } .ai-scene.on .ai-pn-today > :nth-child(4) { transition-delay: .4s; }
.ai-scene.on .ai-pn-with > :nth-child(1) { transition-delay: 1.9s; } .ai-scene.on .ai-pn-with > :nth-child(2) { transition-delay: 2s; } .ai-scene.on .ai-pn-with > :nth-child(3) { transition-delay: 2.1s; } .ai-scene.on .ai-pn-with > :nth-child(4) { transition-delay: 2.2s; }
.ai-scene .ai-arrow { opacity: 0; transform: scale(.5); transition: opacity .3s, transform .5s cubic-bezier(.34,1.56,.64,1); }
.ai-scene.on .ai-arrow { opacity: 1; transform: none; transition-delay: 1.6s; }
.ai-scene .ai-pn-with { filter: saturate(.2); transition: filter .6s; } .ai-scene.on .ai-pn-with { filter: none; transition-delay: 1.7s; }
.ai-scene .ai-tl-idle { transform: scaleX(0); transition: transform 1.2s cubic-bezier(.45,0,.2,1); }
.ai-scene.on .ai-pn-today .ai-tl-idle { transform: none; transition-delay: .5s; }
.ai-scene.on .ai-pn-with .ai-tl-idle { transform: none; transition-delay: 2.5s; transition-duration: .3s; }
.ai-scene .ai-tl-mk.m2 { opacity: 0; transition: opacity .4s; } .ai-scene.on .ai-tl-mk.m2 { opacity: 1; transition-delay: 1.5s; }
.ai-scene .ai-tl-bell { opacity: 0; transform: translateY(-10px) scale(.5); transition: opacity .3s, transform .5s cubic-bezier(.34,1.56,.64,1); }
.ai-scene.on .ai-tl-bell { opacity: 1; transform: none; transition-delay: 2.4s; animation: airing 1.1s ease-in-out 2.9s 2; }
@keyframes airing { 0%, 100% { rotate: 0deg; } 20% { rotate: -14deg; } 40% { rotate: 12deg; } 60% { rotate: -8deg; } 80% { rotate: 4deg; } }
.ai-scene .ai-chain li { opacity: 0; transform: translateX(-8px); transition: opacity .35s, transform .4s; }
.ai-scene.on .ai-chain li { opacity: 1; transform: none; }
.ai-scene.on .ai-chain li:nth-child(1) { transition-delay: .5s; } .ai-scene.on .ai-chain li:nth-child(2) { transition-delay: .85s; } .ai-scene.on .ai-chain li:nth-child(3) { transition-delay: 1.2s; }
.ai-scene .ai-mini > * { opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .4s, transform .5s cubic-bezier(.34,1.56,.64,1); }
.ai-scene.on .ai-mini > * { opacity: 1; transform: none; }
.ai-scene.on .ai-mini-q { transition-delay: 2.4s; } .ai-scene.on .ai-mini-a { transition-delay: 3s; }
.ai-scene.on .ai-pen { animation: aiwrite 1.3s ease-in-out .5s 2; }
@keyframes aiwrite { 0%, 100% { translate: 0 0; } 25% { translate: -12px 2px; } 50% { translate: -22px -2px; } 75% { translate: -8px 3px; } }
.ai-scene .ai-report em { opacity: 0; transform: scale(.6); transition: opacity .3s, transform .5s cubic-bezier(.34,1.56,.64,1); }
.ai-scene.on .ai-report em { opacity: 1; transform: none; transition-delay: 2.7s; }

@media (max-width: 1080px) {
  .ai-why-head { grid-template-columns: 1fr; gap: 14px; } .ai-why-head p { justify-self: start; }
  .ai-story { grid-template-columns: 1fr; }
  .ai-tabs { flex-direction: row; gap: 8px; overflow-x: auto; scrollbar-width: none; }
  .ai-tab { flex: 1 0 200px; padding: 14px 16px 18px; } .ai-tab-p { display: none; } .ai-tab.on { transform: none; }
  .ai-tab b { font-size: 16px; } .ai-tab-bar { left: 16px; right: 16px; bottom: 8px; }
}
@media (max-width: 700px) {
  .ai-stage2 { min-height: 560px; border-radius: 22px; }
  .ai-scene { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .ai-pn { padding: 22px 20px; }
  .ai-arrow { width: 42px; height: 42px; margin: -21px 0 0 -21px; transform: rotate(90deg) !important; }
  .ai-scene:not(.on) .ai-arrow { opacity: 0; }
  .ai-big { font-size: 34px; margin-top: 12px; }
  .ai-tl { margin: 34px 0 40px; } .ai-chain, .ai-mini, .ai-sheet, .ai-report { margin-top: 16px; }
  .ai-chain { flex-direction: row; flex-wrap: wrap; } .ai-chain li:nth-child(n) { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-scene .ai-pn > *, .ai-scene .ai-arrow, .ai-scene .ai-tl-idle, .ai-scene .ai-tl-mk.m2, .ai-scene .ai-tl-bell, .ai-scene .ai-chain li, .ai-scene .ai-mini > *, .ai-scene .ai-report em { opacity: 1 !important; transform: none !important; transition: none !important; }
  .ai-scene .ai-pn-with { filter: none !important; }
  .ai-scene.on .ai-pen, .ai-scene.on .ai-tl-bell { animation: none !important; }
}

/* ===== How it works: four animated steps, played in turn along a track ===== */
.ai .ai-how { background: radial-gradient(ellipse 70% 60% at 50% 100%, #fff4e6, transparent 70%), #fff; }
.ai-hw { position: relative; margin-top: clamp(36px, 4vw, 56px); }
.ai-hw-track { position: relative; height: 4px; margin: 0 12.5% 26px; border-radius: 4px; background: #f1e6d8; }
.ai-hw-fill { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p, 0) * 100%); border-radius: 4px; background: linear-gradient(90deg, #fbbf77, var(--or)); transition: width .8s cubic-bezier(.65,0,.35,1); }
.ai-hw-dot { position: absolute; top: 50%; left: calc(var(--p, 0) * 100%); width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--or); box-shadow: 0 0 0 6px rgba(247,134,30,.22), 0 0 22px 4px rgba(247,134,30,.55); transition: left .8s cubic-bezier(.65,0,.35,1); z-index: 1; }
.ai-hw-track i { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3px #f1d6b6; }
.ai-hw-track i:nth-of-type(1) { left: 0; } .ai-hw-track i:nth-of-type(2) { left: 33.333%; } .ai-hw-track i:nth-of-type(3) { left: 66.666%; } .ai-hw-track i:nth-of-type(4) { left: 100%; }
.ai-hw-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.ai-hw-s { position: relative; display: flex; flex-direction: column; padding: 14px 14px 22px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s, opacity .5s; opacity: .62; }
.ai-hw-s.on { opacity: 1; transform: translateY(-8px); box-shadow: 0 0 0 1.5px #f7b26a, 0 40px 60px -40px rgba(194,94,0,.65); }
.ai-hw-s h3 { margin: 4px 8px 0; font-size: 21px; }
.ai-hw-s p { margin: 8px 8px 0; font-size: 14.5px; line-height: 1.6; color: var(--mute); }
.ai-hw-n { margin: 18px 8px 0; font: 800 11px var(--mono, monospace); letter-spacing: .1em; text-transform: uppercase; color: #c8b8a4; transition: color .4s; }
.ai-hw-s.on .ai-hw-n { color: var(--or); }
.ai-hw-art { position: relative; height: 170px; overflow: hidden; border-radius: 18px; background: linear-gradient(180deg, #f7f9fb, #fdfdfd); }
.ai-hw-s.on .ai-hw-art { background: linear-gradient(180deg, #fff6ea, #fff); }

/* 1 connect */
.art-connect .hw-m { position: absolute; left: 6%; bottom: 22%; width: 40%; height: auto; filter: drop-shadow(0 8px 10px rgba(0,0,0,.18)); }
.art-connect .hw-g { position: absolute; right: 8%; bottom: 26%; width: 28%; height: auto; filter: drop-shadow(0 8px 10px rgba(0,0,0,.25)); }
.art-connect .hw-wire { position: absolute; left: 34%; right: 26%; top: 38%; height: 26%; width: 40%; overflow: visible; }
.art-connect .hw-wire path { fill: none; stroke: #f7b26a; stroke-width: 2; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.hw-pk { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--or); box-shadow: 0 0 0 3px rgba(247,134,30,.25); offset-path: path("M0 0"); opacity: 0; }
.art-connect .hw-pk { left: 36%; top: 60%; }
.ai-hw-s.on .art-connect .hw-pk { animation: hwpk 1.6s linear infinite; } .ai-hw-s.on .art-connect .hw-pk.p2 { animation-delay: .8s; }
@keyframes hwpk { 0% { transform: translate(0, 0); opacity: 0; } 12% { opacity: 1; } 50% { transform: translate(70px, -18px); } 88% { opacity: 1; } 100% { transform: translate(130px, -14px); opacity: 0; } }
.hw-wave { position: absolute; right: 14%; top: 10%; width: 26px; height: 26px; margin: -13px; border-radius: 50%; border: 2px solid rgba(247,134,30,.6); opacity: 0; }
.ai-hw-s.on .hw-wave { animation: hwwave 1.8s ease-out infinite; } .ai-hw-s.on .hw-wave.w2 { animation-delay: .9s; }
@keyframes hwwave { from { transform: scale(.4); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }
.hw-cam { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); padding: 4px 10px; border-radius: 99px; background: #fff; box-shadow: 0 0 0 1px #f3dcc0; font-size: 11.5px; font-weight: 700; color: var(--or-d); white-space: nowrap; }

/* 2 watch */
.art-watch .hw-band { position: absolute; left: 0; right: 0; top: 40%; height: 26%; background: rgba(34,197,94,.1); border-top: 1px dashed rgba(34,197,94,.45); border-bottom: 1px dashed rgba(34,197,94,.45); }
.art-watch .hw-band em { position: absolute; right: 8px; top: -18px; font-style: normal; font: 700 10px var(--mono, monospace); letter-spacing: .08em; text-transform: uppercase; color: #15803d; }
.art-watch .hw-chart { position: absolute; inset: 14% 0 14% 0; width: 100%; height: 72%; }
.hw-line { fill: none; stroke: var(--or); stroke-width: 2.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 340; stroke-dashoffset: 0; }
.ai-hw-s.on .hw-line { animation: hwdraw 2.6s ease-in-out infinite; }
@keyframes hwdraw { 0% { stroke-dashoffset: 340; } 70%, 100% { stroke-dashoffset: 0; } }
.hw-scan { position: absolute; top: 10%; bottom: 10%; left: 0; width: 2px; background: linear-gradient(180deg, transparent, var(--or), transparent); opacity: 0; }
.ai-hw-s.on .hw-scan { animation: hwscan 2.6s ease-in-out infinite; }
@keyframes hwscan { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 70% { left: 100%; opacity: 1; } 71%, 100% { opacity: 0; left: 100%; } }
.hw-live { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 99px; background: #dcfce7; font: 700 10.5px var(--mono, monospace); color: #15803d; }
.hw-live i { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; animation: aiblink 1.4s ease-in-out infinite; }

/* 3 tell */
.art-tell { display: grid; place-items: end center; }
.hw-phone { position: relative; width: 150px; height: 150px; margin-bottom: -16px; border-radius: 22px 22px 0 0; background: #1f2a37; padding: 18px 8px 0; box-shadow: 0 16px 30px -14px rgba(0,0,0,.5); }
.hw-notch { position: absolute; left: 50%; top: 7px; width: 40px; height: 5px; margin-left: -20px; border-radius: 4px; background: #3b4a5a; }
.hw-phone::after { content: ""; position: absolute; inset: 16px 6px 0; border-radius: 14px 14px 0 0; background: linear-gradient(180deg, #f1f5f9, #e2e8f0); }
.hw-note { position: absolute; left: 12px; right: 12px; top: 26px; z-index: 1; display: grid; grid-template-columns: 22px 1fr; column-gap: 7px; padding: 8px 9px; border-radius: 12px; background: #fff; box-shadow: 0 10px 18px -8px rgba(0,0,0,.35); }
.hw-note b { font-size: 11.5px; color: var(--ink); line-height: 1.2; }
.hw-note small { grid-column: 2; font-size: 10px; line-height: 1.3; color: var(--mute); }
.hw-note small.to { color: var(--or-d); font-weight: 700; }
.hw-bell { grid-row: span 3; width: 22px; height: 22px; border-radius: 7px; background: var(--or) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 8 3 8H3s3-1 3-8M10.3 20a1.9 1.9 0 0 0 3.4 0'/%3E%3C/svg%3E") center / 13px no-repeat; }
.ai-hw-s.on .hw-note { animation: hwnote 3s cubic-bezier(.34,1.56,.64,1) infinite; }
.ai-hw-s.on .hw-bell { animation: airing 1s ease-in-out .5s infinite; }
@keyframes hwnote { 0% { transform: translateY(-60px); opacity: 0; } 15%, 85% { transform: none; opacity: 1; } 100% { transform: translateY(-10px); opacity: 0; } }

/* 4 answer */
.art-answer { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 0 14px; }
.hw-q { align-self: flex-end; padding: 7px 11px; border-radius: 12px 12px 3px 12px; background: var(--or); color: #fff; font-size: 12px; font-weight: 600; box-shadow: 0 8px 16px -10px rgba(247,134,30,.9); }
.hw-a { display: grid; gap: 6px; padding: 10px 12px; border-radius: 12px 12px 12px 3px; background: #fff; box-shadow: 0 0 0 1px #f1e3cf; }
.hw-bar { display: grid; grid-template-columns: 26px 1fr 48px; align-items: center; gap: 6px; font-size: 11px; }
.hw-bar b { color: var(--ink); } .hw-bar em { font-style: normal; font-weight: 700; color: var(--or-d); text-align: right; }
.hw-bar i { height: 8px; border-radius: 4px; background: linear-gradient(90deg, #fbbf77, var(--or)); width: var(--w); transform-origin: left; }
.ai-hw-s.on .hw-q { animation: hwpop 3.2s cubic-bezier(.34,1.56,.64,1) infinite; }
.ai-hw-s.on .hw-a { animation: hwpop 3.2s cubic-bezier(.34,1.56,.64,1) .35s infinite; }
.ai-hw-s.on .hw-bar i { animation: hwgrow 3.2s cubic-bezier(.65,0,.35,1) .6s infinite; }
@keyframes hwpop { 0% { transform: translateY(10px) scale(.94); opacity: 0; } 12%, 88% { transform: none; opacity: 1; } 100% { opacity: 0; } }
@keyframes hwgrow { 0% { transform: scaleX(0); } 25%, 100% { transform: scaleX(1); } }

@media (max-width: 1080px) {
  .ai-hw { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
  .ai-hw-track { width: 4px; height: auto; margin: 60px 0; }
  .ai-hw-fill { width: auto; right: 0; height: calc(var(--p, 0) * 100%); bottom: auto; transition-property: height; }
  .ai-hw-dot { left: 50%; top: calc(var(--p, 0) * 100%); transition-property: top; }
  .ai-hw-track i { left: 50% !important; } .ai-hw-track i:nth-of-type(1) { top: 0; } .ai-hw-track i:nth-of-type(2) { top: 33.333%; } .ai-hw-track i:nth-of-type(3) { top: 66.666%; } .ai-hw-track i:nth-of-type(4) { top: 100%; }
  .ai-hw-list { grid-template-columns: 1fr; gap: 14px; }
  .ai-hw-s.on { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-hw-s, .ai-hw-s * { animation: none !important; }
  .ai-hw-s { opacity: 1; }
  .hw-pk, .hw-wave, .hw-scan { display: none; }
}

.art-connect .hw-wire { position: absolute; left: 44%; right: 34%; top: 56%; width: auto; height: 0; border-top: 2px dashed #f7b26a; }
.art-connect .hw-pk { left: 44%; top: 56%; margin-top: -3px; }
@keyframes hwpk { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(var(--run, 70px)); opacity: 0; } }
.art-connect { --run: 22cqw; container-type: inline-size; }

/* ===== What it does: five live tiles ===== */
.ai-cb { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; margin-top: clamp(30px, 3.5vw, 48px); }
.ai-cbt { position: relative; display: flex; flex-direction: column; padding: 14px 14px 24px; border-radius: 26px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 50px -45px rgba(60,40,20,.5); color: inherit; text-decoration: none; transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s; }
.ai-cbt:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px #f0d4b0, 0 40px 60px -40px rgba(194,94,0,.55); }
.ai-cbt h3 { margin: 4px 10px 0; font-size: 20px; }
.ai-cbt p { margin: 8px 10px 0; font-size: 14.5px; line-height: 1.55; color: var(--mute); }
.ai-cbt p em { display: block; margin-top: 8px; font-style: normal; font-weight: 700; color: var(--or-d); }
.cb-n { margin: 16px 10px 0; font: 800 11px var(--mono, monospace); letter-spacing: .1em; color: #c8b8a4; }
.cb-art { position: relative; height: 170px; overflow: hidden; border-radius: 18px; background: linear-gradient(180deg, #f7f9fb, #fff); }
.cb-ask { grid-row: span 2; }
.ai-cbt.cb-ask { grid-row: span 2; background: linear-gradient(170deg, #fff4e6, #fff 60%); box-shadow: 0 0 0 1.5px #f7c48c, 0 40px 60px -45px rgba(194,94,0,.6); }
.cb-ask .cb-art { flex: 1; min-height: 300px; height: auto; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; background: #fff; box-shadow: inset 0 0 0 1px #f3e6d4; }
.cb-ask .cb-n { color: var(--or); }
.cb-chat { display: flex; flex-direction: column; gap: 10px; transition: opacity .35s, transform .35s; }
.cb-chat.out { opacity: 0; transform: translateY(-10px); }
.cb-q { align-self: flex-end; max-width: 88%; padding: 11px 15px; border-radius: 16px 16px 4px 16px; background: var(--or); color: #fff; font-size: 15px; font-weight: 600; box-shadow: 0 10px 22px -12px rgba(247,134,30,.9); }
.cb-a { align-self: flex-start; max-width: 92%; padding: 11px 15px; border-radius: 16px 16px 16px 4px; background: #f6f7f9; box-shadow: inset 0 0 0 1px #e9edf2; font-size: 15px; line-height: 1.45; color: var(--ink); }
.cb-ask .cb-ask, .cb-art > .cb-ask { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding: 9px 9px 9px 15px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #ead9c4; font-size: 14px; color: #98a3ae; }
.cb-art > .cb-ask i { width: 32px; height: 32px; border-radius: 10px; background: var(--or) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 15px no-repeat; }
.cb-typed.typing { color: var(--ink); } .cb-typed.typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--or); animation: aiblink .8s steps(1) infinite; }
/* explain */
.cb-mc { position: absolute; left: 16px; top: 18px; display: grid; grid-template-columns: 64px auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px 14px 10px 10px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #e3e8ee; transition: box-shadow .5s; }
.cb-mc img { grid-row: span 2; width: 64px; height: auto; transition: filter .5s; }
.cb-mc b { font-size: 14px; } .cb-mc em { display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: 12px; font-weight: 700; color: #c2410c; }
.cb-mc em::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #f59e0b; animation: aiblink 1s ease-in-out infinite; }
.cb-cause { position: absolute; right: 16px; bottom: 18px; display: grid; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: #fff7ed; box-shadow: 0 0 0 1px #fed7aa; font-size: 14px; font-weight: 700; color: #9a3412; }
.cb-cause small { font: 700 10px var(--mono, monospace); letter-spacing: .08em; text-transform: uppercase; color: #c2410c; }
/* report */
.cb-doc { position: absolute; left: 50%; top: 18px; width: 62%; margin-left: -31%; display: grid; gap: 8px; padding: 14px 16px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #f1e3cf, 0 16px 26px -18px rgba(194,94,0,.5); }
.cb-doc b { font-family: var(--hd); font-size: 14px; }
.cb-doc i { height: 6px; border-radius: 3px; background: #f1e3cf; transform-origin: left; }
.cb-doc i:nth-of-type(2) { width: 85%; } .cb-doc i:nth-of-type(3) { width: 92%; } .cb-doc i:nth-of-type(4) { width: 60%; }
.cb-doc em { justify-self: start; padding: 3px 10px; border-radius: 99px; background: #dcfce7; font-style: normal; font-size: 11.5px; font-weight: 700; color: #15803d; }
/* alert */
.cb-src { position: absolute; left: 50%; top: 22px; width: 36px; height: 36px; margin-left: -18px; border-radius: 50%; background: var(--or) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 8 3 8H3s3-1 3-8M10.3 20a1.9 1.9 0 0 0 3.4 0'/%3E%3C/svg%3E") center / 18px no-repeat; box-shadow: 0 0 0 6px rgba(247,134,30,.15); z-index: 1; }
.cb-role { position: absolute; bottom: 22px; padding: 6px 10px; border-radius: 99px; background: #fff; box-shadow: 0 0 0 1px #e3e8ee; font-size: 11.5px; font-weight: 700; color: #7b8794; transition: background .4s, color .4s, box-shadow .4s, transform .4s; }
.cb-role.r1 { left: 4%; } .cb-role.r2 { left: 27%; } .cb-role.r3 { left: 52%; } .cb-role.r4 { right: 4%; }
.cb-ping { position: absolute; left: 50%; top: 40px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--or); box-shadow: 0 0 0 4px rgba(247,134,30,.25); opacity: 0; }
/* camera */
.cb-cam .cb-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.cb-scan { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--or), transparent); box-shadow: 0 0 14px 3px rgba(247,134,30,.6); opacity: 0; }
.cb-ok { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 6px; border-radius: 99px; background: #fff; box-shadow: 0 8px 18px -8px rgba(0,0,0,.4); font: 800 13px var(--mono, monospace); color: #15803d; }
.cb-ok::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: #22c55e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.cb-ok.o1 { left: 8%; bottom: 14px; } .cb-ok.o2 { left: 34%; bottom: 14px; }

/* motion, once the grid is in view (data-ai-go -> .go) */
.ai-cb.go .cb-mc { animation: cbstop 6s ease-in-out infinite; }
.ai-cb.go .cb-mc img { animation: cbstopimg 6s ease-in-out infinite; }
@keyframes cbstop { 0%, 18% { box-shadow: 0 0 0 1px #e3e8ee; } 22%, 90% { box-shadow: 0 0 0 2px #fdba74, 0 12px 22px -14px rgba(245,158,11,.9); } 100% { box-shadow: 0 0 0 1px #e3e8ee; } }
@keyframes cbstoptxt { 0% { color: #15803d; } 20% { color: #c2410c; } 92% { color: #15803d; } }
@keyframes cbstopimg { 0%, 18% { filter: none; } 22%, 90% { filter: grayscale(.8) opacity(.7); } 100% { filter: none; } }
.ai-cb.go .cb-cause { animation: cbcause 6s cubic-bezier(.34,1.56,.64,1) infinite; }
@keyframes cbcause { 0%, 32% { opacity: 0; transform: translateY(14px) scale(.92); } 40%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
.ai-cb.go .cb-doc i { animation: cbline 5s ease-out infinite; }
.ai-cb.go .cb-doc i:nth-of-type(2) { animation-delay: .35s; } .ai-cb.go .cb-doc i:nth-of-type(3) { animation-delay: .7s; } .ai-cb.go .cb-doc i:nth-of-type(4) { animation-delay: 1.05s; }
@keyframes cbline { 0% { transform: scaleX(0); background: #f7b26a; } 18% { transform: scaleX(1); background: #f7b26a; } 40%, 100% { transform: scaleX(1); background: #f1e3cf; } }
.ai-cb.go .cb-doc em { animation: cbready 5s cubic-bezier(.34,1.56,.64,1) infinite; }
@keyframes cbready { 0%, 36% { opacity: 0; transform: scale(.6); } 46%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.ai-cb.go .cb-ping { animation: cbping 4s cubic-bezier(.45,0,.2,1) infinite; }
@keyframes cbping { 0%, 10% { opacity: 0; transform: translate(0, 0); } 15% { opacity: 1; } 45% { opacity: 1; transform: translate(calc(var(--tx, 40px)), 78px); } 50%, 100% { opacity: 0; transform: translate(calc(var(--tx, 40px)), 78px); } }
.cb-alert .cb-art { --tx: 7cqw; container-type: inline-size; }
.ai-cb.go .cb-role.hit { animation: cbhit 4s ease-in-out infinite; }
@keyframes cbhit { 0%, 44% { background: #fff; color: #7b8794; box-shadow: 0 0 0 1px #e3e8ee; transform: none; } 50%, 90% { background: var(--or); color: #fff; box-shadow: 0 10px 20px -10px rgba(247,134,30,.9); transform: translateY(-4px); } 100% { background: #fff; color: #7b8794; } }
.ai-cb.go .cb-scan { animation: cbscan 3.6s ease-in-out infinite; }
@keyframes cbscan { 0% { top: 0; opacity: 0; } 8% { opacity: 1; } 60% { top: 100%; opacity: 1; } 62%, 100% { top: 100%; opacity: 0; } }
.ai-cb.go .cb-ok { animation: cbok 3.6s cubic-bezier(.34,1.56,.64,1) infinite; }
.ai-cb.go .cb-ok.o2 { animation-delay: .25s; }
@keyframes cbok { 0%, 55% { opacity: 0; transform: scale(.6); } 65%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.js .ai-cb:not(.go) .cb-cause, .js .ai-cb:not(.go) .cb-ok { opacity: 0; }

/* ===== Who it is for: each role and the message it receives ===== */
.ai-head-c > p { margin-top: 14px !important; }
.ai-rl4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: clamp(30px, 3.5vw, 48px) 0 0; padding: 0; list-style: none; }
.ai-rl4 li { display: flex; flex-direction: column; padding: 20px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 50px -45px rgba(60,40,20,.5); }
.rl-top { display: flex; align-items: center; gap: 12px; }
.rl-top img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; background: #fff0dc; box-shadow: 0 0 0 4px #fff4e6; }
.rl-top h3 { font-size: 17px; } .rl-top small { font-size: 12.5px; color: var(--mute); }
.rl-msg { display: grid; gap: 3px; margin-top: 16px; padding: 12px 14px; border-radius: 16px; background: linear-gradient(180deg, #fbfcfd, #f4f6f9); box-shadow: inset 0 0 0 1px #e6eaef; }
.rl-app { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; font: 700 10.5px var(--mono, monospace); letter-spacing: .04em; color: #8a96a3; }
.rl-app i { width: 14px; height: 14px; border-radius: 4px; background: var(--or) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 4l1.6 4.4L18 10l-4.4 1.6L12 16l-1.6-4.4L6 10l4.4-1.6Z'/%3E%3C/svg%3E") center / 11px no-repeat; }
.rl-msg b { font-size: 14.5px; color: var(--ink); } .rl-msg span:last-child { font-size: 13.5px; color: var(--mute); }
.ai-rl4 li > p { margin-top: auto; padding-top: 16px; font-size: 14.5px; line-height: 1.55; color: #3b4b5c; }
.js .ai-rl4 .rl-msg { opacity: 0; transform: translateY(-14px) scale(.96); transition: opacity .5s, transform .6s cubic-bezier(.34,1.56,.64,1); }
.js .ai-rl4.go .rl-msg { opacity: 1; transform: none; }
.ai-rl4.go li:nth-child(1) .rl-msg { transition-delay: .2s; } .ai-rl4.go li:nth-child(2) .rl-msg { transition-delay: .7s; }
.ai-rl4.go li:nth-child(3) .rl-msg { transition-delay: 1.2s; } .ai-rl4.go li:nth-child(4) .rl-msg { transition-delay: 1.7s; }
.ai-rl4.go .rl-msg { animation: rlglow 1.2s ease-out both; }
.ai-rl4.go li:nth-child(1) .rl-msg { animation-delay: .5s; } .ai-rl4.go li:nth-child(2) .rl-msg { animation-delay: 1s; } .ai-rl4.go li:nth-child(3) .rl-msg { animation-delay: 1.5s; } .ai-rl4.go li:nth-child(4) .rl-msg { animation-delay: 2s; }
@keyframes rlglow { 0% { box-shadow: inset 0 0 0 1px #e6eaef, 0 0 0 0 rgba(247,134,30,.5); } 40% { box-shadow: inset 0 0 0 1px #f7b26a, 0 0 0 6px rgba(247,134,30,.15); } 100% { box-shadow: inset 0 0 0 1px #e6eaef, 0 0 0 0 rgba(247,134,30,0); } }

@media (max-width: 1080px) {
  .ai-cb { grid-template-columns: 1fr 1fr; }
  .ai-cbt.cb-ask { grid-row: auto; grid-column: span 2; } .cb-ask .cb-art { min-height: 240px; }
  .ai-rl4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ai-cb { grid-template-columns: 1fr; }
  .ai-cbt.cb-ask { grid-column: auto; }
  .ai-rl4 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-cb *, .ai-rl4 * { animation: none !important; }
  .js .ai-cb .cb-cause, .js .ai-cb .cb-ok, .js .ai-rl4 .rl-msg { opacity: 1 !important; transform: none !important; transition: none !important; }
  .cb-scan, .cb-ping { display: none; }
}

.cb-try { font: 800 10.5px var(--mono, monospace); letter-spacing: .1em; text-transform: uppercase; color: #a08a70; }
.cb-sugg { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 auto; padding: 0; list-style: none; }
.cb-sugg li { padding: 6px 11px; border-radius: 99px; background: #fff4e6; box-shadow: inset 0 0 0 1px #fde0bd; font-size: 12.5px; font-weight: 600; color: #9a3412; }
.cb-ask .cb-art { justify-content: flex-start; }
.cb-ask .cb-chat { margin-top: 18px; }

/* ===== Who: one day at the plant. A clock pin walks the day; at each moment a beam carries one message to one person ===== */
.ai .ai-who { background: radial-gradient(ellipse 50% 45% at 50% 62%, #fff4e6, transparent 70%), #fff; }
.ai-day { margin-top: clamp(30px, 3.5vw, 48px); }
.ai-day-strip { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; max-width: 900px; margin: 0 auto 34px; }
.ai-day-end { font: 700 12px var(--mono, monospace); color: #a08a70; }
.ai-day-bar { position: relative; height: 6px; border-radius: 6px; background: #f1e6d8; }
.ai-day-fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--pin, 0%); border-radius: 6px; background: linear-gradient(90deg, #fbd2a4, var(--or)); transition: width 1s cubic-bezier(.65,0,.35,1); }
.ai-day-bar i { position: absolute; left: var(--x); top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3px #f1d6b6; transition: box-shadow .4s, background .4s; }
.ai-day-bar i b { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); font: 700 11.5px var(--mono, monospace); color: #a08a70; white-space: nowrap; transition: color .4s; }
.ai-day-bar i.lo b { bottom: auto; top: 18px; }
.ai-day-bar i.done { background: var(--or); box-shadow: none; } .ai-day-bar i.done b { color: var(--or-d); }
.ai-day-pin { position: absolute; top: 50%; left: var(--pin, 0%); width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px var(--or), 0 0 20px 6px rgba(247,134,30,.45); transition: left 1s cubic-bezier(.65,0,.35,1); }

.ai-day-stage { display: grid; grid-template-columns: minmax(0, 1fr) clamp(220px, 20vw, 320px) minmax(0, 1fr); align-items: stretch; }
.ai-day-col { display: grid; grid-template-rows: 1fr 1fr; gap: 22px; }
.ai-pc { position: relative; display: flex; flex-direction: column; padding: 20px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 50px -45px rgba(60,40,20,.5); transition: box-shadow .5s, transform .5s cubic-bezier(.16,1,.3,1); }
.ai-pc.on { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--or), 0 0 0 8px rgba(247,134,30,.12), 0 40px 60px -40px rgba(194,94,0,.7); }
.ai-pc.on .rl-top img { animation: aiwho 1s ease-out; }
@keyframes aiwho { 0% { box-shadow: 0 0 0 4px #fff4e6; } 40% { box-shadow: 0 0 0 4px #fff4e6, 0 0 0 10px rgba(247,134,30,.35); } 100% { box-shadow: 0 0 0 4px #fff4e6, 0 0 0 18px rgba(247,134,30,0); } }
.ai-pc .rl-msg { position: relative; }
.ai-pc > p { margin-top: auto; padding-top: 14px; font-size: 14.5px; line-height: 1.55; color: #3b4b5c; }
.rl-ok { justify-self: start; display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-style: normal; font: 700 10.5px var(--mono, monospace); color: #15803d; }
.rl-ok::before { content: ""; width: 13px; height: 13px; border-radius: 50%; background: #22c55e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 9px no-repeat; }
/* while the story runs, a card's message is hidden until its moment; the slot keeps its height */
.ai-day.run .ai-pc:not(.got) .rl-msg { opacity: 0; transform: translateY(-12px) scale(.95); }
.ai-day .ai-pc .rl-msg { transition: opacity .5s, transform .6s cubic-bezier(.34,1.56,.64,1); }
.ai-day.run .ai-pc:not(.got) .rl-msg::after { content: ""; }
.ai-day.run .ai-pc:not(.got) { opacity: .7; }
.ai-pc { transition: box-shadow .5s, transform .5s cubic-bezier(.16,1,.3,1), opacity .5s; }

/* hub: beams and the core */
.ai-day-hub { position: relative; }
.ai-beams { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ai-beams line { stroke: #f1d6b6; stroke-width: 2; stroke-dasharray: 3 7; vector-effect: non-scaling-stroke; transition: stroke .4s; }
.ai-beams line.on { stroke: var(--or); stroke-width: 3; stroke-dasharray: 8 6; animation: aibeam .5s linear infinite; }
@keyframes aibeam { to { stroke-dashoffset: -14; } }
.ai-fly { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--or); box-shadow: 0 0 0 5px rgba(247,134,30,.25), 0 0 18px 6px rgba(247,134,30,.6); opacity: 0; z-index: 2; }
.ai-fly.go { animation: aifly .85s cubic-bezier(.5,0,.3,1) forwards; }
@keyframes aifly { 0% { left: 50%; top: 50%; opacity: 1; transform: scale(.6); } 85% { opacity: 1; transform: scale(1); } 100% { left: var(--tx); top: var(--ty); opacity: 0; transform: scale(1.6); } }
.ai-hubcore { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 8px; z-index: 1; text-align: center; }
.ai-hub-orb { position: relative; display: grid; place-items: center; width: 104px; height: 104px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #ffb45c, #f7861e); box-shadow: 0 0 0 10px #fff, 0 20px 40px -10px rgba(247,134,30,.9); }
.ai-hub-orb::before, .ai-hub-orb::after { content: ""; position: absolute; inset: -22px; border-radius: 50%; border: 1.5px dashed rgba(247,134,30,.5); animation: aispin 14s linear infinite; }
.ai-hub-orb::after { inset: -38px; opacity: .4; animation-duration: 24s; animation-direction: reverse; }
.ai-hub-orb svg { width: 44px; height: 44px; fill: #fff; }
.ai-day.send .ai-hub-orb { animation: aisend .6s ease-out; }
@keyframes aisend { 0% { transform: scale(1); } 40% { transform: scale(1.1); } 100% { transform: scale(1); } }
.ai-hubcore b { margin-top: 30px; font-family: var(--hd); font-size: 15px; color: var(--ink); }
.ai-hub-time { padding: 4px 12px; border-radius: 99px; background: #fff; box-shadow: 0 0 0 1px #f3dcc0; font: 800 13px var(--mono, monospace); color: var(--or-d); }

@media (max-width: 1080px) {
  .ai-day-stage { grid-template-columns: 1fr; }
  .ai-day-hub { order: -1; height: 210px; } .ai-beams, .ai-fly { display: none; }
  .ai-day-col { grid-template-rows: none; gap: 14px; margin-top: 14px; }
  .ai-day-strip { margin-bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-day *, .ai-day *::before, .ai-day *::after { animation: none !important; transition: none !important; }
  .ai-fly { display: none; }
}

.ai-day.run .ai-pc:not(.got)::after { content: "Arrives at " attr(data-at); position: absolute; left: 20px; right: 20px; top: 96px; height: 92px; display: grid; place-items: center; border-radius: 16px; border: 1.5px dashed #ead9c4; font: 700 12px var(--mono, monospace); color: #b9a58c; }
.ai-day.run .ai-pc:not(.got) { opacity: .85; }
@media (max-width: 640px) { .ai-day-strip { padding-right: 22px; gap: 10px; } .ai-day-hub { height: 190px; } .ai-hub-orb { width: 78px; height: 78px; } .ai-hub-orb svg { width: 34px; height: 34px; } .ai-hub-orb::after { inset: -30px; } .ai-hubcore b { margin-top: 22px; } }
/* Who: compact, so the whole day fits one screen with even rows */
.ai .ai-who { padding-block: clamp(48px, 5vw, 80px); }
.ai-who .ai-head { max-width: 980px; }
.ai-who .ai-head h2 { margin-top: 6px; }
.ai-who .ai-head-c > p { margin-top: 10px !important; }
.ai-who .ai-day { margin-top: 22px; }
.ai-who .ai-day-strip { margin-bottom: 26px; }
.ai-day-col { gap: 16px; grid-template-rows: 1fr 1fr; }
.ai-pc { padding: 16px 18px; border-radius: 20px; }
.ai-pc .rl-top { gap: 12px; }
.ai-pc .rl-top img { width: 46px; height: 46px; box-shadow: 0 0 0 3px #fff4e6; }
.ai-pc .rl-top h3 { font-size: 16.5px; } .ai-pc .rl-top small { font-size: 12px; }
.ai-pc .rl-msg { margin-top: 12px; padding: 10px 12px; gap: 2px; border-radius: 14px; }
.ai-pc .rl-app { margin-bottom: 2px; }
.ai-pc .rl-msg b { font-size: 14px; } .ai-pc .rl-msg span:not(.rl-app) { font-size: 13px; }
.ai-pc .rl-ok { position: absolute; top: 10px; right: 12px; margin: 0; }
.ai-pc > p { padding-top: 10px; font-size: 13.5px; line-height: 1.45; }
.ai-day.run .ai-pc:not(.got)::after { left: 18px; right: 18px; top: 74px; height: 74px; border-radius: 14px; }
.ai-hub-orb { width: 92px; height: 92px; } .ai-hub-orb svg { width: 38px; height: 38px; }
.ai-hubcore b { margin-top: 26px; }
@media (max-width: 1080px) { .ai-day-col { grid-template-rows: none; } }
.ai-who .ai-day { margin-top: 44px; }

/* ===== Old machines: one gateway box in the middle, six machines connect to it one by one ===== */
.ai .ai-old { padding-block: clamp(56px, 6vw, 96px); background: radial-gradient(ellipse 45% 60% at 72% 50%, #fff0dc, transparent 70%), var(--cream); }
.ai-old-in { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.ai-old-yes { margin-top: 18px !important; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.5; color: var(--ink); max-width: 30ch; }
.ai-old-yes b { color: var(--or); font-family: var(--hd); font-size: 1.35em; letter-spacing: -.02em; }
.ai-old-pts { display: grid; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.ai-old-pts li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 15.5px; font-weight: 600; color: var(--ink); max-width: 420px; }
.ai-old-pts i { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #22c55e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 15px no-repeat; }
.ai-old-count { margin-top: 22px !important; font-size: 15px; color: var(--mute); }
.ai-old-count b { font-family: var(--hd); font-size: 34px; color: var(--or); margin-right: 4px; vertical-align: -4px; }

.ai-net { position: relative; width: 100%; max-width: 680px; aspect-ratio: 1 / .9; justify-self: end; container-type: inline-size; }
.ai-net-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ai-net-lines line { stroke: #ead9c4; stroke-width: 2; stroke-dasharray: 3 6; vector-effect: non-scaling-stroke; transition: stroke .5s; }
.ai-net-lines line.on { stroke: #f7b26a; stroke-width: 2.5; stroke-dasharray: 7 6; animation: aibeam .6s linear infinite; }
.ai-net-pk { position: absolute; left: var(--x); top: var(--y); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--or); box-shadow: 0 0 0 4px rgba(247,134,30,.22); opacity: 0; z-index: 1; }
.ai-net-pk.on { animation: ainetpk 1.8s linear infinite; }
.ai-net-pk[data-m="1"].on { animation-delay: .3s; } .ai-net-pk[data-m="2"].on { animation-delay: .6s; } .ai-net-pk[data-m="3"].on { animation-delay: .9s; } .ai-net-pk[data-m="4"].on { animation-delay: 1.2s; } .ai-net-pk[data-m="5"].on { animation-delay: 1.5s; }
@keyframes ainetpk { 0% { left: var(--x); top: var(--y); opacity: 0; } 12% { opacity: 1; } 80% { opacity: 1; } 100% { left: 50%; top: 50%; opacity: 0; } }

.ai-net-hub { position: absolute; left: 50%; top: 50%; width: 34%; transform: translate(-50%, -50%); display: grid; justify-items: center; z-index: 2; }
.ai-net-hub img { position: relative; width: 100%; height: auto; filter: drop-shadow(0 22px 26px rgba(60,40,20,.32)); }
.ai-net-hub b { margin-top: 2px; padding: 4px 12px; border-radius: 99px; background: #fff; box-shadow: 0 0 0 1px #f3dcc0; font: 700 11px var(--mono, monospace); letter-spacing: .06em; text-transform: uppercase; color: var(--or-d); white-space: nowrap; }
.ai-net-ring { position: absolute; left: 50%; top: 45%; width: 120%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(247,134,30,.22), rgba(247,134,30,0) 65%); }
.ai-net-ring::after { content: ""; position: absolute; inset: 14%; border-radius: 50%; border: 2px solid rgba(247,134,30,.35); animation: ainetring 2.4s ease-out infinite; }
@keyframes ainetring { from { transform: scale(.7); opacity: .9; } to { transform: scale(1.25); opacity: 0; } }

.ai-mt { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); z-index: 3; display: grid; justify-items: center; width: 23%; padding: 1.4cqw 1.2cqw 1.6cqw; border-radius: 3cqw; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 18px 30px -24px rgba(60,40,20,.6); text-align: center; transition: box-shadow .5s, transform .5s cubic-bezier(.34,1.56,.64,1); }
.ai-mt img { width: 82%; height: 9cqw; object-fit: contain; filter: grayscale(1) opacity(.55); transition: filter .6s; }
.ai-mt b { margin-top: .6cqw; font-size: max(11px, 2cqw); line-height: 1.2; color: var(--ink); }
.ai-mt small { font-size: max(10px, 1.6cqw); color: var(--mute); }
.ai-mt em { margin-top: .8cqw; display: inline-flex; align-items: center; gap: .6cqw; padding: .3cqw 1.2cqw; border-radius: 99px; background: #f1f3f6; font-style: normal; font-size: max(10px, 1.6cqw); font-weight: 700; color: #8a96a3; transition: background .4s, color .4s; }
.ai-mt em::before { content: ""; width: 1.2cqw; height: 1.2cqw; min-width: 7px; min-height: 7px; border-radius: 50%; background: #c3ccd6; }
.ai-mt.on { box-shadow: 0 0 0 1.5px #86efac, 0 22px 34px -22px rgba(34,197,94,.7); }
.ai-mt.on img { filter: drop-shadow(0 .8cqw .8cqw rgba(0,0,0,.18)); }
.ai-mt.on em { background: #dcfce7; color: #15803d; } .ai-mt.on em::before { background: #22c55e; }
.ai-mt.pop { animation: aimtpop .6s cubic-bezier(.34,1.56,.64,1); }
@keyframes aimtpop { 40% { transform: translate(-50%, -50%) scale(1.08); } }
.ai-mt.old { box-shadow: 0 0 0 1.5px #f7c48c, 0 18px 30px -24px rgba(60,40,20,.6); }
.ai-mt.old.on { box-shadow: 0 0 0 2px var(--or), 0 22px 34px -20px rgba(247,134,30,.8); }

@media (max-width: 1080px) { .ai-old-in { grid-template-columns: 1fr; } .ai-net { justify-self: center; } }
@media (max-width: 640px) { .ai-net { aspect-ratio: 1 / 1.05; } .ai-mt { width: 29%; } .ai-net-hub { width: 36%; } .ai-old-yes b { font-size: 1.25em; } }
@media (prefers-reduced-motion: reduce) { .ai-net *, .ai-net *::after { animation: none !important; transition: none !important; } .ai-net-pk { display: none; } }

/* ===== FAQ: questions as rows, answers as replies from Yantra24x7 AI; a help card that stays in view ===== */
.ai .ai-faq { padding-block: clamp(56px, 6vw, 96px); }
.ai-faq-in { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(32px, 5vw, 88px); }
.ai-faq-side { position: sticky; top: 100px; }
.faq-lead { margin-top: 14px !important; font-size: 16.5px; line-height: 1.6; color: var(--mute); max-width: 40ch; }
.faq-help { margin-top: 28px; padding: 24px; border-radius: 24px; background: linear-gradient(160deg, #fff4e6, #fffaf3 70%); box-shadow: 0 0 0 1px #f3dcc0, 0 40px 60px -50px rgba(194,94,0,.6); }
.faq-faces { display: flex; }
.faq-faces img { width: 44px; height: 44px; margin-left: -10px; border-radius: 50%; object-fit: cover; background: #fff0dc; box-shadow: 0 0 0 3px #fff; }
.faq-faces img:first-child { margin-left: 0; }
.faq-help h3 { margin-top: 16px; font-size: 20px; }
.faq-help > p:not(.faq-ct) { margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--mute); }
.faq-cta { margin-top: 16px; padding: 13px 22px; border-radius: 12px; }
.faq-ct { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 14px !important; font-size: 13.5px; color: #a08a70; }
.faq-ct a { color: var(--or-d); font-weight: 600; text-decoration: none; } .faq-ct a:hover { text-decoration: underline; }

.ai-faq-list { display: grid; gap: 10px; }
.faq-i { border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .35s, background .35s; }
.faq-i:hover { box-shadow: 0 0 0 1px #f0d4b0; }
.faq-i.is-open { background: linear-gradient(180deg, #fffaf3, #fff); box-shadow: 0 0 0 1.5px #f7b26a, 0 30px 50px -40px rgba(194,94,0,.55); }
.faq-i summary { display: grid; grid-template-columns: 34px 1fr 30px; align-items: center; gap: 12px; padding: 18px 20px; list-style: none; cursor: pointer; }
.faq-i summary::-webkit-details-marker { display: none; }
.faq-i summary:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; border-radius: 18px; }
.faq-n { font: 800 12px var(--mono, monospace); color: #c8b8a4; transition: color .3s; }
.faq-i.is-open .faq-n { color: var(--or); }
.faq-q { font-family: var(--hd); font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.faq-ic { position: relative; width: 30px; height: 30px; border-radius: 50%; background: #fff4e6; transition: background .3s, transform .4s cubic-bezier(.34,1.56,.64,1); }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--or-d); transition: transform .35s, background .3s; }
.faq-ic::after { transform: rotate(90deg); }
.faq-i.is-open .faq-ic { background: var(--or); transform: rotate(180deg); }
.faq-i.is-open .faq-ic::before, .faq-i.is-open .faq-ic::after { background: #fff; } .faq-i.is-open .faq-ic::after { transform: rotate(0deg); }
/* the answer, as a reply */
.faq-a { display: grid; grid-template-rows: 1fr; }
.js .faq-a { grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.65,0,.35,1); }
.js .faq-i.is-open .faq-a { grid-template-rows: 1fr; }
.faq-ai { display: grid; grid-template-columns: 34px 1fr; gap: 12px; min-height: 0; overflow: hidden; padding: 0 20px; }
.faq-i.is-open .faq-ai, html:not(.js) .faq-ai { padding-bottom: 20px; }
.faq-orb { display: grid; place-items: center; width: 34px; height: 34px; margin-top: 2px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #ffb45c, #f7861e); box-shadow: 0 8px 16px -8px rgba(247,134,30,.9); }
.faq-orb svg { width: 16px; height: 16px; fill: #fff; }
.faq-bub { padding: 12px 16px 14px; border-radius: 4px 16px 16px 16px; background: #fff; box-shadow: 0 0 0 1px #f1e3cf; }
.faq-bub b { font: 700 11px var(--mono, monospace); letter-spacing: .06em; text-transform: uppercase; color: var(--or-d); }
.faq-bub p { margin-top: 6px !important; font-size: 15.5px; line-height: 1.65; color: #3b4b5c; }
.js .faq-bub { opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .45s cubic-bezier(.16,1,.3,1); }
.js .faq-i.is-open .faq-bub { opacity: 1; transform: none; transition-delay: .15s; }
@media (max-width: 1080px) { .ai-faq-in { grid-template-columns: 1fr; } .ai-faq-side { position: static; } .faq-help { max-width: 560px; } }
@media (max-width: 640px) { .faq-i summary { grid-template-columns: 26px 1fr 28px; gap: 8px; padding: 16px; } .faq-q { font-size: 15.5px; } .faq-ai { grid-template-columns: 1fr; padding: 0 16px; } .faq-orb { display: none; } }
@media (prefers-reduced-motion: reduce) { .js .faq-a, .js .faq-bub, .faq-ic { transition: none !important; } }
@media (max-width: 1080px) {
  .ai-faq-side { display: contents; }
  .ai-faq-side > .ai-k, .ai-faq-side > h2, .ai-faq-side > .faq-lead { order: -2; }
  .ai-faq-side > .ai-k { justify-self: start; }
  .ai-faq-list { order: -1; }
  .ai-faq-in { row-gap: 14px; }
  .faq-help { order: 0; margin-top: 16px; }
}

/* ===== FAQ as a chat with Yantra24x7 AI. Desktop: questions on the left, a chat window on the right that plays
   the selected question and its answer. Phone and no-JS: a plain list / accordion. ===== */
.fq { margin-top: clamp(30px, 3.5vw, 44px); }
.fq-q { display: grid; grid-template-columns: 34px 1fr 26px; align-items: center; gap: 10px; width: 100%; padding: 16px 18px; border: 0; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); text-align: left; font: inherit; cursor: pointer; transition: background .3s, box-shadow .3s, transform .3s; }
.fq-q:hover { box-shadow: 0 0 0 1px #f0d4b0; transform: translateX(3px); }
.fq-q:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; }
.fq-n { font: 800 12px var(--mono, monospace); color: #c8b8a4; transition: color .3s; }
.fq-q .faq-q { font-family: var(--hd); font-size: 16.5px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.fq-arr { width: 26px; height: 26px; border-radius: 50%; background: #fff4e6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c25e00' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / 13px no-repeat; transition: background-color .3s, transform .3s; }
.fq-item.on .fq-q { background: linear-gradient(90deg, #fff4e6, #fff); box-shadow: 0 0 0 1.5px #f7b26a, 0 18px 30px -24px rgba(194,94,0,.7); }
.fq-item.on .fq-n { color: var(--or); }
.fq-item.on .fq-arr { background-color: var(--or); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E"); }
/* chat pieces */
.fq-user { display: flex; justify-content: flex-end; }
.fq-user span { max-width: 80%; padding: 11px 16px; border-radius: 16px 16px 4px 16px; background: var(--or); color: #fff; font-size: 15px; font-weight: 600; box-shadow: 0 10px 22px -12px rgba(247,134,30,.9); }
.fq-typing { display: none; }
.fq-bot { display: grid; grid-template-columns: 36px 1fr; gap: 12px; margin-top: 14px; }
.fq-bot .faq-orb { width: 36px; height: 36px; margin-top: 2px; }
.fq-bot .faq-bub { padding: 14px 18px 16px; border-radius: 4px 18px 18px 18px; background: #fff; box-shadow: 0 0 0 1px #f1e3cf, 0 18px 30px -24px rgba(60,40,20,.4); }
.fq-bot .faq-bub b { font: 700 11px var(--mono, monospace); letter-spacing: .06em; text-transform: uppercase; color: var(--or-d); }
.fq-bot .faq-bub p { margin-top: 6px !important; font-size: 16px; line-height: 1.7; color: #3b4b5c; }
/* help card */
.fq-help { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: linear-gradient(160deg, #fff4e6, #fffaf3 70%); box-shadow: 0 0 0 1px #f3dcc0; }
.fq-help-t h3 { font-size: 16px; } .fq-help-t p { margin-top: 2px !important; font-size: 13.5px; color: var(--mute); }
.ai .fq-cta, .ai .fq-cta:hover { color: #fff; padding: 12px 18px; border-radius: 12px; white-space: nowrap; }
.fq-help .faq-faces img { width: 36px; height: 36px; margin-left: -9px; }
.fq-help .faq-faces img:first-child { margin-left: 0; }
.fq-panel { display: none; }

/* desktop chat layout */
@media (min-width: 1081px) {
  .js .fq { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); grid-auto-rows: auto; column-gap: 24px; row-gap: 10px; align-items: start; }
  .js .fq-item { display: contents; }
  .js .fq-q { grid-column: 1; }
  .js .fq-help { grid-column: 1; margin-top: 8px; }
  .js .fq-panel { display: flex; flex-direction: column; justify-content: space-between; grid-column: 2; grid-row: 1 / span 7; align-self: stretch; border-radius: 26px; background: radial-gradient(circle at 85% 0%, rgba(247,134,30,.1), transparent 55%), #fbfaf8; box-shadow: 0 0 0 1px #efe3d2, 0 50px 80px -60px rgba(60,40,20,.55); }
  .js .fq-a { grid-column: 2; grid-row: 1 / span 6; align-self: start; z-index: 1; margin-top: 74px; padding: 0 28px; visibility: hidden; opacity: 0; }
  .js .fq-item.on .fq-a { visibility: visible; opacity: 1; }
  /* the exchange plays: question pops, typing dots, then the answer */
  .js .fq-item.on .fq-user span { animation: fqpop .45s cubic-bezier(.34,1.56,.64,1) both; }
  .js .fq-item.on .fq-typing { display: inline-flex; gap: 5px; margin: 14px 0 0 48px; padding: 12px 15px; border-radius: 4px 16px 16px 16px; background: #fff; box-shadow: 0 0 0 1px #f1e3cf; animation: fqtype 1.2s ease both; }
  .js .fq-item.on .fq-typing i { width: 7px; height: 7px; border-radius: 50%; background: #c8b8a4; animation: aidot 1s ease-in-out infinite; }
  .js .fq-item.on .fq-typing i:nth-child(2) { animation-delay: .15s; } .js .fq-item.on .fq-typing i:nth-child(3) { animation-delay: .3s; }
  .js .fq-item.on .fq-bot { animation: fqans .55s cubic-bezier(.16,1,.3,1) .95s both; }
  .js .fq-item.on .fq-bot { margin-top: -38px; }
  @keyframes fqpop { from { opacity: 0; transform: translateY(10px) scale(.95); } }
  @keyframes fqtype { 0%, 18% { opacity: 0; } 25%, 72% { opacity: 1; } 80%, 100% { opacity: 0; visibility: hidden; } }
  @keyframes fqans { from { opacity: 0; transform: translateY(14px); } }
}
.fq-top { display: flex; align-items: center; gap: 10px; padding: 18px 24px; border-bottom: 1px solid #f1e8dc; font-size: 15px; }
.fq-top b { font-family: var(--hd); color: var(--ink); }
.fq-top em { margin-left: auto; padding: 3px 10px; border-radius: 99px; background: #fff4e6; font: 700 10.5px var(--mono, monospace); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--or-d); }
.fq-dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); animation: aiblink 1.6s ease-in-out infinite; }
.fq-askbar { display: flex; align-items: center; justify-content: space-between; margin: 18px 24px 22px; padding: 9px 9px 9px 16px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #ead9c4; font-size: 14px; color: #98a3ae; }
.fq-askbar i { width: 32px; height: 32px; border-radius: 10px; background: var(--or) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 15px no-repeat; }

/* phone / tablet (and no JS): accordion-style list */
@media (max-width: 1080px) {
  .fq { display: grid; gap: 10px; }
  .js .fq-a { display: none; padding: 14px 4px 6px; }
  .js .fq-item.on .fq-a { display: block; animation: fqans .4s cubic-bezier(.16,1,.3,1) both; }
  .fq-item.on .fq-arr { transform: rotate(90deg); }
  .fq-user { display: none; }
  .fq-help { margin-top: 10px; grid-template-columns: auto 1fr; }
  .fq-help .fq-cta { grid-column: 1 / -1; justify-content: center; text-align: center; }
}
html:not(.js) .fq-a { padding: 12px 4px 18px; }
html:not(.js) .fq-user { display: none; }
@media (max-width: 640px) { .fq-q { grid-template-columns: 26px 1fr 24px; padding: 14px; } .fq-q .faq-q { font-size: 15px; } .fq-bot { grid-template-columns: 1fr; } .fq-bot .faq-orb { display: none; } }
@media (prefers-reduced-motion: reduce) { .fq *, .fq *::before { animation: none !important; transition: none !important; } .js .fq-item.on .fq-typing { display: none !important; } .js .fq-item.on .fq-bot { margin-top: 14px; } }
.js .fq .faq-bub { opacity: 1; transform: none; transition: none; }
.ai .ai-upd { margin-inline: auto !important; }
