/* Homepage product accordion: compact versions of the product-page demos. Scoped to .hd. */
.ww-slide-visual.hd { width: 100%; display: grid; place-items: center; }
.hd .dm-card, .hd .dm-phone { box-shadow: 0 30px 70px color-mix(in srgb, var(--acc) 16%, transparent); }

/* Omni */
.hd .dm-phone { width: min(400px, 100%); }
.hd .dm-ph-body { height: 270px; }
.hd-sugg { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px; background: #fff; border-top: 1px solid var(--line); }
.hd-sugg span { font-size: .72rem; padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); transition: background .3s, color .3s, border-color .3s; }
.hd-sugg span.on { background: color-mix(in srgb, var(--acc) 78%, #000); color: #fff; border-color: color-mix(in srgb, var(--acc) 78%, #000); }
.hd .dm-bub { animation: hdIn .4s var(--ease) both; }
@keyframes hdIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* CRM */
.hd-pipe { width: 100%; padding: 12px; }
.hd .dm-ph2 { padding: 0 4px 10px; font-size: .86rem; }
.hd .dm-cols { gap: 6px; }
.hd .dm-col { min-height: 210px; padding: 8px 6px 10px; }
.hd .dm-deal { padding: 6px 7px; gap: 6px; cursor: default; animation: hdIn .4s var(--ease) both; }
.hd .dm-deal i { width: 22px; height: 22px; font-size: .62rem; }
.hd .dm-deal b { font-size: .72rem; } .hd .dm-deal small { font-size: .6rem; }
.hd .dm-col h6 { font-size: .56rem; padding: 0 2px 8px; }

/* Studio */
.hd-studio { width: min(400px, 100%); padding: 14px; }
.hd-kinds { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.hd-kinds span { font-size: .72rem; padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); transition: all .3s; }
.hd-kinds span.on { background: color-mix(in srgb, var(--acc) 78%, #000); color: #fff; border-color: color-mix(in srgb, var(--acc) 78%, #000); }
.hd-studio .sd-post { display: block; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.hd-studio .sd-pic { aspect-ratio: 16 / 10; }
.hd-studio .sd-cap { min-height: 62px; margin: 8px 0 10px; font-size: .82rem; }
.hd-ap { padding: 5px 12px; border-radius: 8px; border: 1px solid var(--line); font-size: .74rem; transition: all .3s; }
.hd-ap.on { background: var(--acc); color: #fff; border-color: var(--acc); }

/* POS */
.hd-px.px { width: 100%; grid-template-columns: 1fr; }
.hd-px .px-pos { border-right: 0; }
.hd-px .px-menu { grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 10px 10px 6px; }
.hd-px .px-it { padding: 8px; cursor: default; }
.hd-px .px-it i { width: 26px; height: 26px; font-size: .78rem; margin-bottom: 3px; }
.hd-px .px-it b { font-size: .7rem; } .hd-px .px-it small { font-size: .6rem; }
.hd-px .px-it.tap { border-color: var(--acc); box-shadow: 0 6px 16px color-mix(in srgb, var(--acc) 22%, transparent); transform: translateY(-2px); }
.hd-px .px-cart { padding: 8px 12px 10px; } .hd-px .px-lines { min-height: 44px; }
.hd-ln { display: flex; justify-content: space-between; font-size: .76rem; animation: hdIn .3s var(--ease) both; }
.hd-px .px-board { min-height: 118px; padding: 10px; }
.hd-px .kd-t { animation: hdIn .35s var(--ease) both; }
.hd-px .px-bo { gap: 24px; padding: 10px 14px; }

/* Services */
.hd-svc { width: min(460px, 100%); }
.hd-svc .dm-jbody { min-height: 340px; padding: 24px 18px; }

@media (max-width: 900px) {
  .hd-px .px-menu { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .hd .dm-bub, .hd .dm-deal, .hd-ln, .hd-px .kd-t { animation: none; } }
.hd-px .px-board { min-height: 78px; padding: 8px 10px; } .hd-px .px-legend { padding: 6px 12px; font-size: .68rem; }
.hd-px .px-bar { padding: 8px 12px; } .hd-px .px-bo b { font-size: 1.15rem; }
.hd-px .px-lines { min-height: 38px; } .hd-px .px-cart { padding: 6px 12px 8px; }

/* products.css loads before this file and kept a fixed accordion height on phones, which clipped the taller previews */
@media (max-width: 1020px) { .ww-slides { height: auto; min-height: 0; } }

/* ===== Industries: expanding strips with a flow ===== */
.ix { display: flex; gap: 8px; height: 430px; }
.ix-item { position: relative; flex: none; width: 64px; overflow: hidden; border-radius: 16px; background: color-mix(in srgb, var(--c1) 13%, #f4f2ec); transition: width .55s var(--ease), background .4s; }
.ix-item:not(.is-active):hover { background: color-mix(in srgb, var(--c1) 22%, #f4f2ec); }
.ix-item.is-active { width: calc(100% - 432px); background: #fff; border: 1px solid var(--line); }
.ix-hd { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 16px 0 20px; cursor: pointer; text-align: center; transition: opacity .3s; }
.ix-item.is-active .ix-hd { opacity: 0; pointer-events: none; }
.ix-gl { width: 38px; height: 38px; border-radius: 12px; background: #fff; color: var(--c1); display: grid; place-items: center; }
.ix-gl svg { width: 20px; height: 20px; }
.ix-name { writing-mode: vertical-rl; transform: rotate(180deg); font-size: .92rem; font-weight: 550; letter-spacing: -.01em; color: var(--ink); }
.ix-ar { display: none; }
.ix-body { position: absolute; inset: 0; padding: clamp(22px, 2.6vw, 36px); width: calc(min(1600px, 100vw - 32px) - 432px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 3vw, 44px); align-items: center; opacity: 0; transition: opacity .35s .15s; }
.ix-item.is-active .ix-body { opacity: 1; }
.ix-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ix-n { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 0 0 22px; opacity: .38; transition: opacity .4s; }
.ix-n:last-child { padding-bottom: 0; }
.ix-n::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 2px; background: color-mix(in srgb, var(--c1) 22%, #e7e4da); }
.ix-n:last-child::before { display: none; }
.ix-n i { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 600 .78rem var(--font-mono); font-style: normal; background: color-mix(in srgb, var(--c1) 14%, #fff); color: var(--c1); transition: background .4s, color .4s, transform .4s var(--ease); }
.ix-n b { display: block; font-weight: 550; font-size: 1rem; margin-top: 4px; }
.ix-n span { display: block; font-size: .88rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.ix-n.on { opacity: 1; }
.ix-n.on i { background: var(--c1); color: #fff; transform: scale(1.08); }
.ix-n.on::before { background: var(--c1); }
.ix-copy h3 { font-size: clamp(1.3rem, 2.1vw, 1.75rem); letter-spacing: -.025em; font-weight: 500; line-height: 1.15; margin: 6px 0 12px; }
.ix-copy > p:not(.ix-k) { color: var(--muted); font-size: .95rem; line-height: 1.55; margin-bottom: 18px; }
.ix-k { font: 500 .66rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--c1); }
.ix-copy .ix-k + .ix-chips { margin-top: 8px; }
.ix-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.ix-chips span { font-size: .78rem; padding: 6px 12px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--c1) 30%, var(--line)); background: color-mix(in srgb, var(--c1) 7%, #fff); }
.ix-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 550; font-size: .92rem; color: var(--c1); border-bottom: 1px solid color-mix(in srgb, var(--c1) 40%, transparent); padding-bottom: 2px; }
.ix-link span { transition: transform .3s var(--ease); } .ix-link:hover span { transform: translateX(4px); }
@media (max-width: 1020px) {
  .ix { flex-direction: column; height: auto; gap: 8px; }
  .ix-item, .ix-item.is-active { width: 100%; }
  .ix-hd, .ix-item.is-active .ix-hd { position: static; opacity: 1; pointer-events: auto; flex-direction: row; justify-content: flex-start; gap: 12px; width: 100%; padding: 14px 16px; text-align: left; min-height: 56px; }
  .ix-name { writing-mode: horizontal-tb; transform: none; flex: 1; }
  .ix-ar { display: block; color: var(--muted); transition: transform .3s; }
  .ix-item.is-active .ix-ar { transform: rotate(90deg); }
  .ix-body, .ix-item.is-active .ix-body { position: static; width: 100%; display: none; grid-template-columns: 1fr; padding: 4px 18px 22px; opacity: 1; transition: none; }
  .ix-item.is-active .ix-body { display: grid; }
}
@media (prefers-reduced-motion: reduce) { .ix-item, .ix-n, .ix-n i { transition: none; } }


/* ===== AI & automation cards: looping scenes (pure CSS so the cloned rail copies animate too) ===== */
.ags { position: relative; height: 132px; margin-bottom: 22px; border-radius: 12px; background: #101015; border: 1px solid rgba(255,255,255,.07); overflow: hidden; display: flex; gap: 14px; padding: 14px; align-items: center; color: #e9e8e2; font-size: .76rem; line-height: 1.35; }
.ags em { position: absolute; top: 8px; right: 10px; font: 500 .52rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.62); font-style: normal; }
.ags p { margin: 0; }
.ags .q, .ags .a, .ags .src, .ags .n, .ags .d-out span, .ags .d-out b { opacity: 0; }
.ags .src, .ags .d-out b { display: inline-block; padding: 4px 10px; border-radius: 999px; font: 500 .62rem var(--font-mono); background: rgba(120,200,160,.16); color: #9be0bd; }
.ags .q { align-self: flex-start; padding: 7px 11px; border-radius: 12px 12px 12px 3px; background: rgba(255,255,255,.1); max-width: 78%; }
.ags .a { align-self: flex-end; padding: 7px 11px; border-radius: 12px 12px 3px 12px; background: color-mix(in srgb, #7fa0ec 30%, #17171c); max-width: 82%; }
.s-kb, .s-chat, .s-rep { flex-direction: column; align-items: stretch; justify-content: center; gap: 7px; }
.s-chat .src { align-self: center; background: rgba(240,170,110,.16); color: #f0b27e; }
.s-doc .d-page { position: relative; flex: none; width: 82px; height: 100%; border-radius: 8px; background: #f2f1ec; padding: 12px 10px; display: grid; gap: 7px; align-content: start; overflow: hidden; }
.s-doc .d-page i { display: block; height: 5px; border-radius: 3px; background: #c9c6bb; } .s-doc .d-page i:nth-child(2) { width: 70%; } .s-doc .d-page i:nth-child(3) { width: 85%; } .s-doc .d-page i:nth-child(4) { width: 55%; }
.s-doc .d-page u { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: #4f7ce0; box-shadow: 0 0 10px #4f7ce0; animation: agsScan 8s infinite; }
.s-doc .d-out { display: grid; gap: 6px; justify-items: start; }
.s-doc .d-out span { padding: 4px 10px; border-radius: 8px; background: rgba(255,255,255,.09); }
.s-flow { flex-direction: column; justify-content: center; gap: 10px; }
.s-flow .row { display: flex; align-items: center; gap: 6px; width: 100%; }
.s-flow .n { flex: 1; text-align: center; padding: 9px 4px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); background: #17171c; font-size: .66rem; }
.s-flow i { flex: none; width: 14px; height: 2px; background: #d99452; opacity: 0; }
.s-mon svg { width: 100%; height: 76px; position: absolute; left: 0; top: 16px; padding: 0 14px; box-sizing: border-box; }
.s-mon path { fill: none; stroke: #6fb3ae; stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 340; stroke-dashoffset: 0; animation: agsDraw 8s infinite; vector-effect: non-scaling-stroke; }
.s-mon .src { position: absolute; left: 14px; bottom: 12px; background: rgba(230,110,100,.18); color: #f19a8f; }
.s-rep { gap: 8px; }
.s-rep .q { max-width: 100%; }
.s-rep .bars { display: flex; align-items: flex-end; gap: 10px; height: 44px; }
.s-rep .bars i { flex: 1; border-radius: 4px 4px 0 0; background: #6fb3ae; transform-origin: bottom; transform: scaleY(1); }
.s-rep .bars i:nth-child(1) { height: 45%; animation: agsB1 8s infinite; } .s-rep .bars i:nth-child(2) { height: 80%; animation: agsB2 8s infinite; }
.s-rep .bars i:nth-child(3) { height: 60%; animation: agsB3 8s infinite; } .s-rep .bars i:nth-child(4) { height: 100%; animation: agsB4 8s infinite; }
.ags .t1 { animation: agsT1 8s infinite; } .ags .t2 { animation: agsT2 8s infinite; } .ags .t3 { animation: agsT3 8s infinite; } .ags .t4 { animation: agsT4 8s infinite; }
.s-doc .d-out .t1, .s-doc .d-out .t2, .s-doc .d-out .t3, .s-doc .d-out b { }
@keyframes agsScan { 0%, 8% { top: 0; opacity: 0; } 12% { opacity: 1; } 42% { top: calc(100% - 2px); opacity: 1; } 46%, 100% { top: calc(100% - 2px); opacity: 0; } }
@keyframes agsDraw { 0% { stroke-dashoffset: 340; } 45%, 92% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 340; } }

@keyframes agsT1 { 0%, 11% { opacity: 0; transform: translateY(6px); } 14%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(0); } }
@keyframes agsT2 { 0%, 27% { opacity: 0; transform: translateY(6px); } 30%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(0); } }
@keyframes agsT3 { 0%, 43% { opacity: 0; transform: translateY(6px); } 46%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(0); } }
@keyframes agsT4 { 0%, 59% { opacity: 0; transform: translateY(6px); } 62%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(0); } }
@keyframes agsB1 { 0%, 20% { transform: scaleY(0); } 30%, 90% { transform: scaleY(1); } 96%, 100% { transform: scaleY(0); } }
@keyframes agsB2 { 0%, 28% { transform: scaleY(0); } 38%, 90% { transform: scaleY(1); } 96%, 100% { transform: scaleY(0); } }
@keyframes agsB3 { 0%, 36% { transform: scaleY(0); } 46%, 90% { transform: scaleY(1); } 96%, 100% { transform: scaleY(0); } }
@keyframes agsB4 { 0%, 44% { transform: scaleY(0); } 54%, 90% { transform: scaleY(1); } 96%, 100% { transform: scaleY(0); } }
@media (prefers-reduced-motion: reduce) { .ags *, .ags { animation: none !important; } .ags .q, .ags .a, .ags .src, .ags .n, .ags .d-out span, .ags .d-out b, .ags i { opacity: 1 !important; transform: none !important; } .s-doc .d-page u { display: none; } }
.ags { height: 142px; }
.s-rep .bars { height: 34px; } .s-rep { gap: 6px; }
.ags { height: 166px; padding: 12px 14px; } .s-chat, .s-rep { gap: 5px; }
.s-rep { height: 176px; } @media (max-width: 600px) { .ags { height: 178px; } .s-rep { height: 182px; } }

/* the hidden bodies of the other strips sat on top of their buttons and swallowed the clicks */
.ix-body { pointer-events: none; } .ix-item.is-active .ix-body { pointer-events: auto; }

/* ===== Industry pages: pick a problem, see the solution ===== */
.id { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px; max-width: 1040px; margin: 0 auto; text-align: left; align-items: stretch; }
.id-k { font: 500 .68rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.id-list { display: flex; flex-direction: column; gap: 10px; }
.id-opt { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: #fff; text-align: left; cursor: pointer; transition: border-color .25s, background .25s, box-shadow .25s, transform .25s var(--ease); }
.id-opt:hover { transform: translateY(-1px); }
.id-opt i { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 600 .76rem var(--font-mono); font-style: normal; background: var(--accbg); color: var(--acct); transition: background .25s, color .25s; }
.id-opt b { display: block; font-weight: 550; font-size: .98rem; line-height: 1.3; }
.id-opt small { display: block; margin-top: 2px; font: 500 .62rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.id-opt.on { border-color: var(--acc); background: color-mix(in srgb, var(--acc) 6%, #fff); box-shadow: 0 14px 34px color-mix(in srgb, var(--acc) 14%, transparent); }
.id-opt.on i { background: var(--acc); color: #fff; }
.id-stage { display: flex; flex-direction: column; background: #fff; }
.id-bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .86rem; }
.id-bar span { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.id-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); }
.id-bar em { font: 500 .6rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-style: normal; }
.id-scenes { padding: 18px 18px 8px; min-height: 238px; display: grid; align-items: center; }
.id-sc { display: none; } .id-sc.on { display: block; }
.id-sc .ags { zoom: 1.22; margin-bottom: 0; }
.id-caps { padding: 8px 20px 20px; min-height: 86px; }
.id-cap { display: none; margin: 0; font-size: .94rem; line-height: 1.55; color: var(--ink-2, #3a3a36); } .id-cap.on { display: block; animation: hdIn .4s var(--ease) both; }
@media (max-width: 860px) { .id { grid-template-columns: 1fr; } .id-sc .ags { zoom: 1; } .id-scenes { min-height: 190px; } }
.pp-scene .ags { width: min(430px, 92%); zoom: 1.12; margin-bottom: 0; }

/* ===== Clients strip (below the hero): one row, looping to the left ===== */
.clients { background: var(--bg); padding: 30px 0 36px; border-bottom: 1px solid var(--line-soft); overflow: hidden; }
.clients-k { font: 500 .72rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 22px; }
.clients-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.clients-track { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; width: max-content; animation: clientsScroll 70s linear infinite; }
.clients-marquee:hover .clients-track { animation-play-state: paused; }
.clients-track li { flex: none; display: flex; align-items: center; padding-right: 64px; }
.clients-track img { width: auto; max-width: 200px; object-fit: contain; mix-blend-mode: multiply; }
@keyframes clientsScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 700px) { .clients-track li { padding-right: 44px; } .clients-track img { height: 34px; max-width: 130px; } .clients-track { animation-duration: 55s; } }
@media (prefers-reduced-motion: reduce) { .clients-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; gap: 20px 0; } .clients-track li[aria-hidden="true"] { display: none; } .clients-marquee { -webkit-mask-image: none; mask-image: none; } }
/* sits directly under the hero: no label, no gap */
.hero + .clients, .clients { margin-top: 0; padding: 26px 0 26px; }
.clients-track li { cursor: default; }
.clients-tip { position: fixed; z-index: 60; transform: translate(-50%, -100%) translateY(4px); padding: 6px 12px; border-radius: 8px; background: var(--ink); color: #fff; font-size: .78rem; line-height: 1.2; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .18s, transform .18s var(--ease); }
.clients-tip::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 8px; height: 8px; background: var(--ink); transform: translateX(-50%) rotate(45deg); }
.clients-tip.on { opacity: 1; transform: translate(-50%, -100%); }
/* full-bleed: logos fade out at the screen edges instead of being cut inside the page column */
.clients .container { max-width: none; width: 100%; padding-inline: 0; }
.clients-marquee { -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent); }
.clients { padding: 28px 0; }

/* ===== Services intro: recent custom projects ===== */
.pj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 34px; }
.pj { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.pj:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(20, 20, 18, .07); }
.pj-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.pj-top img { height: 36px; width: auto; }
.pj-tag { font: 500 .66rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; }
.pj h3 { font-size: 1.3rem; font-weight: 500; letter-spacing: -.02em; margin: 0 0 10px; }
.pj p { color: var(--muted); font-size: .96rem; line-height: 1.6; margin: 0 0 18px; }
.pj-chips { display: flex; flex-wrap: wrap; gap: 6px; } .pj-chips span { font-size: .78rem; padding: 6px 12px; border-radius: 999px; background: #f4f2ec; }
.pj-k { font: 500 .72rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
@media (max-width: 860px) { .pj-grid { grid-template-columns: 1fr; } }
.pj-ic { width: 44px; height: 44px; border-radius: 12px; background: #ebe9e1; color: #3b4252; display: grid; place-items: center; }
/* project cards: a small animated scene on top, tag + text below */
.pj { padding: 18px 18px 26px; }
.pj .ags { margin-bottom: 20px; }
.pj-tag { display: inline-block; margin: 0 0 12px 10px; }
.pj h3, .pj > p:not(.pj-tag), .pj-chips { margin-left: 10px; margin-right: 10px; }
.pj .ags { height: 172px; }
.pj-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .pj-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .pj-grid { grid-template-columns: 1fr; } }
.pj .ags { height: 190px; }

/* ===== Project cards: light, readable mini scenes ===== */
.pv { position: relative; height: 214px; margin-bottom: 20px; border-radius: 16px; background: #f6f5f0; border: 1px solid var(--line); padding: 14px 16px; overflow: hidden; display: flex; flex-direction: column; gap: 10px; font-size: .78rem; color: var(--ink); }
.pv em { position: absolute; top: 12px; right: 14px; font: 500 .54rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-style: normal; }
.pv-h { font-weight: 550; font-size: .86rem; }
.pv small { color: var(--muted); font-size: .72rem; }
/* budget review */
.pv-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pv-kpis div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; }
.pv-kpis small { display: block; font: 500 .52rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.pv-kpis b { font-size: 1rem; font-weight: 550; }
.pv-bars { flex: 1; display: flex; align-items: flex-end; gap: 10px; min-height: 0; border-bottom: 1px solid #dcd9ce; }
.pv-bars span { flex: 1; display: flex; align-items: flex-end; gap: 3px; height: 100%; }
.pv-bars i { flex: 1; border-radius: 3px 3px 0 0; background: #dcd9ce; height: var(--b, 0); }
.pv-bars i + i { background: var(--pc); height: var(--a); transform-origin: bottom; animation: pvGrow 9s ease-in-out infinite; animation-delay: calc(var(--k) * .14s); }
.pv-act { display: flex; align-items: center; gap: 10px; }
.pv-btn { padding: 6px 13px; border-radius: 9px; background: var(--ink); color: #fff; font-size: .74rem; font-weight: 500; animation: pvPress 9s infinite; }
.pv-toast { padding: 5px 11px; border-radius: 999px; font-size: .72rem; background: #e2f1ef; color: #1f6d66; animation: pvToast 9s infinite; }
@keyframes pvGrow { 0% { transform: scaleY(.25); } 20%, 88% { transform: scaleY(1); } 97%, 100% { transform: scaleY(.25); } }
@keyframes pvPress { 0%, 42% { transform: none; } 46% { transform: scale(.93); } 50%, 100% { transform: none; } }
@keyframes pvToast { 0%, 48% { opacity: 0; transform: translateY(4px); } 54%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
/* regulation search */
.pv-search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 11px; }
.pv-search svg { width: 14px; height: 14px; flex: none; color: var(--muted); }
.pv-tw { flex: 1; min-width: 0; }
.pv-typed { display: block; overflow: hidden; white-space: nowrap; width: 0; animation: pvType 9s steps(36, end) infinite; }
.pv-res { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--pc); border-radius: 10px; padding: 8px 11px; animation: pvFade 9s infinite; }
.pv-res b { display: block; font-weight: 550; font-size: .8rem; margin-bottom: 2px; }
.pv-chk { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pv-chk li { display: flex; align-items: center; gap: 8px; animation: pvTick 9s infinite; animation-delay: calc(var(--k) * .5s); }
.pv-chk i { flex: none; width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; font: 700 .62rem sans-serif; font-style: normal; }
.pv-chk i.ok { background: #e2f1ea; color: #256849; } .pv-chk i.no { background: #fbe7d3; color: #a8600f; }
.pv-chk span { margin-left: auto; font-size: .68rem; color: #256849; } .pv-chk span.warn { color: #a8600f; font-weight: 500; }
@keyframes pvType { 0% { width: 0; } 22%, 92% { width: 100%; } 100% { width: 0; } }
@keyframes pvFade { 0%, 22% { opacity: .2; transform: translateY(4px); } 30%, 92% { opacity: 1; transform: none; } 100% { opacity: .2; } }
@keyframes pvTick { 0%, 34% { opacity: .2; } 42%, 92% { opacity: 1; } 100% { opacity: .2; } }
/* expense advance */
.pv-steps { display: flex; align-items: center; gap: 6px; }
.pv-steps span { flex: none; padding: 6px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); font-size: .72rem; font-weight: 500; }
.pv-steps u { flex: 1; height: 2px; background: #dcd9ce; }
.pv-steps .s1 { animation: pvS1 9s infinite; } .pv-steps .s2 { animation: pvS2 9s infinite; } .pv-steps .s3 { animation: pvS3 9s infinite; }
.pv-req { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.pv-req b { display: block; font-weight: 550; font-size: .84rem; }
.pv-pills { position: relative; width: 82px; height: 24px; flex: none; }
.pv-pills span { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 999px; font-size: .7rem; font-weight: 500; opacity: 0; }
.pv-pills .p1 { background: #fbeed2; color: #8a5c0a; animation: pvP1 9s infinite; } .pv-pills .p2 { background: #e5edfb; color: #3d63c4; animation: pvP2 9s infinite; } .pv-pills .p3 { background: #e2f1ea; color: #256849; animation: pvP3 9s infinite; }
.pv-prog { height: 6px; border-radius: 3px; background: #e6e3d9; overflow: hidden; } .pv-prog s { display: block; height: 100%; background: var(--pc); animation: pvProg 9s ease-in-out infinite; }
.pv-note { margin: 0; color: var(--muted); font-size: .74rem; }
@keyframes pvS1 { 0%, 28% { background: var(--pc); color: #fff; border-color: var(--pc); } 32%, 100% { background: #fff; color: var(--muted); border-color: var(--line); } }
@keyframes pvS2 { 0%, 28% { background: #fff; color: var(--muted); border-color: var(--line); } 32%, 60% { background: var(--pc); color: #fff; border-color: var(--pc); } 64%, 100% { background: #fff; color: var(--muted); border-color: var(--line); } }
@keyframes pvS3 { 0%, 60% { background: #fff; color: var(--muted); border-color: var(--line); } 64%, 92% { background: var(--pc); color: #fff; border-color: var(--pc); } 96%, 100% { background: #fff; color: var(--muted); border-color: var(--line); } }
@keyframes pvP1 { 0%, 28% { opacity: 1; } 32%, 100% { opacity: 0; } }
@keyframes pvP2 { 0%, 28% { opacity: 0; } 32%, 60% { opacity: 1; } 64%, 100% { opacity: 0; } }
@keyframes pvP3 { 0%, 60% { opacity: 0; } 64%, 92% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes pvProg { 0% { width: 12%; } 30% { width: 34%; } 62% { width: 67%; } 90%, 94% { width: 100%; } 100% { width: 12%; } }
@media (prefers-reduced-motion: reduce) { .pv *, .pv { animation: none !important; } .pv-typed { width: 100%; } .pv-toast, .pv-res, .pv-chk li { opacity: 1; } .pv-pills .p3 { opacity: 1; } .pv-prog s { width: 100%; } .pv-bars i + i { transform: none; } }
.pv em { top: auto; bottom: 10px; right: 14px; }
.pv { padding-bottom: 26px; }
.pv { height: 234px; }
.svc-foot { justify-content: flex-start; }
@media (max-width: 760px) { .pv { height: 248px; } }
@media (max-width: 760px) { .pp-scene .ags { zoom: 1; height: 216px; } }

/* ===== Services hero: sample app windows ===== */
.sa { max-width: 1080px; margin: 0 auto; text-align: left; }
.sa-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 16px; justify-content: center; scrollbar-width: none; }
.sa-tabs::-webkit-scrollbar { display: none; }
.sa-tab { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .86rem; font-weight: 500; white-space: nowrap; cursor: pointer; color: var(--ink-2, #3a3a36); transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.sa-tab:hover { transform: translateY(-1px); border-color: var(--acc); }
.sa-tab.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.sa-win { position: relative; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 46px 100px color-mix(in srgb, var(--acc) 16%, transparent); overflow: hidden; }
.sa-win::before { content: ""; position: absolute; z-index: 2; left: 8%; right: 8%; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--acc), transparent); }
.sa-chrome { display: flex; align-items: center; gap: 7px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: #fbfaf6; }
.sa-chrome .d { width: 10px; height: 10px; border-radius: 50%; background: #dcd9ce; }
.sa-chrome em { flex: 1; text-align: center; font: 500 .72rem var(--font-mono); color: var(--muted); font-style: normal; }
.sa-chrome b { font: 500 .58rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sa-stage { position: relative; height: 548px; }
.sa-scr { position: absolute; inset: 0; display: none; grid-template-columns: 206px minmax(0, 1fr); }
.sa-scr.on { display: grid; animation: saIn .4s var(--ease); }
@keyframes saIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sa-side { border-right: 1px solid var(--line); background: #fbfaf6; padding: 14px 12px; display: flex; flex-direction: column; gap: 2px; font-size: .82rem; min-height: 0; }
.sa-brand { display: flex; align-items: center; gap: 9px; padding: 4px 6px 12px; } .sa-brand span { width: 24px; height: 24px; border-radius: 7px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: .78rem; } .sa-brand b { font-weight: 550; }
.sa-find { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 7px 9px; color: var(--muted); margin-bottom: 8px; } .sa-find span { flex: 1; }
.sa-find kbd, .sa-btn kbd { font: 500 .6rem var(--font-mono); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; background: #f4f2ec; color: var(--muted); }
.sa-sec { font-size: .72rem; color: var(--muted); padding: 10px 8px 4px; margin: 0; }
.sa-nav { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 8px; color: var(--ink-2, #3a3a36); } .sa-nav b { font-weight: 450; flex: 1; } .sa-nav svg { color: var(--muted); flex: none; }
.sa-nav i { font: 600 .66rem var(--font-mono); font-style: normal; background: var(--accbg); color: var(--acct); border-radius: 6px; padding: 1px 6px; }
.sa-nav.on { background: #efede5; color: var(--ink); } .sa-nav.on svg { color: var(--acc); }
.sa-user { margin-top: auto; display: flex; align-items: center; gap: 9px; padding: 8px 6px 0; border-top: 1px solid var(--line); } .sa-user span { width: 26px; height: 26px; border-radius: 50%; background: #e6e3d9; display: grid; place-items: center; font-size: .62rem; font-weight: 600; } .sa-user b { display: block; font-weight: 550; font-size: .78rem; } .sa-user small { color: var(--muted); font-size: .68rem; }
.sa-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; }
.sa-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px 12px; } .sa-head h4 { margin: 0; font-size: 1.02rem; font-weight: 550; letter-spacing: -.01em; } .sa-acts { display: flex; gap: 8px; }
.sa-btn { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 9px; border: 1px solid var(--line); background: #fff; font-size: .78rem; font-weight: 500; cursor: pointer; white-space: nowrap; transition: transform .2s var(--ease), background .2s; } .sa-btn:hover { transform: translateY(-1px); background: #fbfaf6; }
.sa-btn.solid { background: var(--ink); border-color: var(--ink); color: #fff; } .sa-btn.solid:hover { background: #2a2a27; } .sa-btn.solid kbd { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.2); color: #e8e6df; }
.sa-kpis { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 14px; margin: 0 16px 12px; background: #fff; }
.sa-kpis div { padding: 11px 14px; } .sa-kpis div + div { border-left: 1px solid var(--line); } .sa-kpis small { display: block; font-size: .72rem; color: var(--muted); } .sa-kpis b { display: block; font-size: 1.45rem; font-weight: 550; letter-spacing: -.02em; margin-top: 1px; } .sa-kpis b.warm { color: #c0562d; } .sa-kpis span { font-size: .72rem; color: var(--muted); }
.sa-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 0 16px 10px; }
.sa-seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; padding: 2px; background: #f6f5f0; } .sa-seg button { padding: 5px 12px; border-radius: 8px; font-size: .78rem; font-weight: 500; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; } .sa-seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(20,20,18,.1); }
.sa-hint { font-size: .74rem; color: var(--muted); }
.sa-ask { display: flex; align-items: center; gap: 8px; flex: 1 1 340px; max-width: 470px; border: 1px solid var(--line); border-radius: 11px; background: #fff; padding: 4px 4px 4px 10px; transition: border-color .2s, box-shadow .2s; } .sa-ask:focus-within { border-color: var(--acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 16%, transparent); }
.sa-spark { color: var(--acc); display: grid; } .sa-q { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: .82rem; color: var(--ink); outline: 0; }
.sa-askb { padding: 6px 14px; border-radius: 8px; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 500; cursor: pointer; transition: transform .2s var(--ease); } .sa-askb:hover { transform: translateY(-1px); }
.sa-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); margin: 0 16px; } .sa-answer.open { grid-template-rows: 1fr; margin-bottom: 10px; } .sa-ans-in { overflow: hidden; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; border-radius: 12px; background: color-mix(in srgb, var(--acc) 5%, #fff); }
.sa-answer.open .sa-ans-in { border: 1px solid color-mix(in srgb, var(--acc) 22%, var(--line)); padding: 12px 14px; }
.sa-big { display: block; font-size: 1.9rem; font-weight: 550; letter-spacing: -.03em; color: var(--acct); line-height: 1.1; } .sa-ans-t p { margin: 4px 0 10px; font-size: .8rem; line-height: 1.5; color: var(--ink-2, #3a3a36); }
.sa-next { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } .sa-next span { font-size: .7rem; color: var(--muted); } .sa-next button { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .72rem; cursor: pointer; transition: border-color .2s; } .sa-next button:hover { border-color: var(--acc); }
.sa-chart { width: 100%; height: 76px; } .sa-chart .line { fill: none; stroke: var(--acc); stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 320; stroke-dashoffset: 320; vector-effect: non-scaling-stroke; } .sa-chart .area { fill: color-mix(in srgb, var(--acc) 14%, transparent); opacity: 0; } .sa-chart circle { fill: var(--acc); opacity: 0; }
.sa-answer.open .sa-chart .line { animation: saDraw 1.1s .15s var(--ease) forwards; } .sa-answer.open .sa-chart .area { animation: saFade .8s .6s forwards; } .sa-answer.open .sa-chart circle { animation: saFade .4s 1s forwards; }
@keyframes saDraw { to { stroke-dashoffset: 0; } } @keyframes saFade { to { opacity: 1; } }
.sa-leg { display: flex; gap: 12px; font-size: .68rem; color: var(--muted); } .sa-leg i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); margin-right: 5px; } .sa-leg i.g { background: #cfcbbd; }
.sa-table { margin: 0 16px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; flex: 1; min-height: 0; }
.sa-th, .sa-tr { display: grid; gap: 12px; align-items: center; padding: 0 14px; font-size: .8rem; } .sa-th { min-height: 34px; color: var(--muted); font-size: .72rem; border-bottom: 1px solid var(--line); background: #fbfaf6; } .sa-tr { min-height: 43px; border-bottom: 1px solid #f0eee6; position: relative; }
.sa-scr[data-i="0"] .sa-th, .sa-scr[data-i="0"] .sa-tr { grid-template-columns: .9fr 1.5fr .9fr 1.1fr 1.5fr; } .sa-scr[data-i="3"] .sa-th, .sa-scr[data-i="3"] .sa-tr { grid-template-columns: .9fr 1.2fr 1fr .8fr 1.1fr .9fr; }
.sa-tr .b { font-weight: 550; } .sa-tr .mono { font: 500 .74rem var(--font-mono); color: var(--muted); } .r { text-align: right; } .sa-tr[hidden] { display: none; }
.sa-row { position: relative; } .sa-row::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .2s; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--acc) 13%, transparent), transparent 72%); } .sa-row:hover::before { opacity: 1; }
.sa-row.hl { background: color-mix(in srgb, var(--acc) 7%, #fff); box-shadow: inset 3px 0 0 var(--acc); } .sa-row > * { position: relative; }
.sa-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 7px; font-size: .72rem; font-weight: 500; white-space: nowrap; } .sa-pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sa-pill.green { background: #e2f1ea; color: #256849; } .sa-pill.amber { background: #fbeed2; color: #8a5c0a; } .sa-pill.red { background: #fbe3df; color: #a6372a; } .sa-pill.blue { background: #e5edfb; color: #3d63c4; }
.st { display: flex; align-items: center; gap: 8px; } .sa-go { padding: 4px 10px; border-radius: 8px; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 500; cursor: pointer; opacity: 0; transform: translateX(-4px); pointer-events: none; transition: opacity .2s, transform .2s var(--ease); }
.sa-row[data-s="pending"]:hover .sa-go, .sa-row[data-s="pending"].peek .sa-go { opacity: 1; transform: none; pointer-events: auto; } .sa-row[data-s="pending"].peek::before { opacity: 1; }
.sa-foot { margin-top: auto; display: flex; justify-content: space-between; padding: 10px 16px 12px; font-size: .72rem; color: var(--muted); }
.sa-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 16px; flex: 1; min-height: 0; } .sa-two-b { grid-template-columns: 1.15fr .85fr; } .sa-two-c { grid-template-columns: .8fr 1.2fr; }
.sa-card { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: #fff; overflow: hidden; min-width: 0; } .sa-k { margin: 0 0 10px; font-size: .74rem; color: var(--muted); } .sa-k b { color: var(--ink); font-weight: 550; }
.sa-sys { display: flex; align-items: center; gap: 10px; padding: 10px 10px; border-radius: 10px; } .sa-sys > div { flex: 1; } .sa-sys b { display: block; font-weight: 550; font-size: .82rem; } .sa-sys small, .sa-doc small { color: var(--muted); font-size: .7rem; }
.sa-dot { width: 8px; height: 8px; border-radius: 50%; background: #6fb39a; flex: none; } .sa-dot.sync { background: #4f7ce0; animation: saPulse 1.4s infinite; } @keyframes saPulse { 50% { opacity: .35; } }
.sa-cardh { display: flex; justify-content: space-between; align-items: center; } .sa-live { display: inline-flex; align-items: center; gap: 6px; font-size: .68rem; color: #256849; } .sa-live i { width: 6px; height: 6px; border-radius: 50%; background: #3f9b6c; animation: saPulse 1.4s infinite; }
.sa-prog { height: 4px; border-radius: 3px; background: #ece9df; margin-bottom: 10px; overflow: hidden; } .sa-prog s { display: block; height: 100%; width: 0; background: var(--acc); transition: width .5s var(--ease); }
.sa-log { display: grid; gap: 7px; align-content: start; } .sa-log p { margin: 0; display: grid; grid-template-columns: 44px 1fr auto; gap: 8px; font-size: .74rem; animation: saIn .35s var(--ease); } .sa-log time { font: 500 .68rem var(--font-mono); color: var(--muted); } .sa-log em { font-style: normal; color: #256849; font-size: .7rem; }
.sa-step { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; background: #fff; } .sa-step small { display: block; font: 500 .62rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); } .sa-step b { font-weight: 550; font-size: .84rem; } .sa-step > div { flex: 1; }
.sa-sn { width: 24px; height: 24px; border-radius: 50%; background: var(--accbg); color: var(--acct); display: grid; place-items: center; font: 600 .7rem var(--font-mono); } .sa-edit { font-size: .72rem; color: var(--acct); opacity: 0; transition: opacity .2s; } .sa-step:hover .sa-edit { opacity: 1; }
.sa-chan { display: flex; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px solid #f0eee6; } .sa-chan b { font-weight: 500; font-size: .84rem; flex: 1; } .sa-chi { width: 26px; height: 26px; border-radius: 8px; background: #efede5; display: grid; place-items: center; font-weight: 600; font-size: .72rem; }
.sa-sw { width: 34px; height: 20px; border-radius: 999px; background: #d9d6cb; position: relative; cursor: pointer; transition: background .25s; flex: none; } .sa-sw i { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .25s var(--ease); } .sa-sw.on { background: var(--acc); } .sa-sw.on i { transform: translateX(14px); }
.sa-note { margin: 12px 0 0; font-size: .76rem; color: var(--muted); }
.sa-doc { display: flex; align-items: center; gap: 10px; padding: 10px 8px; border-radius: 10px; } .sa-doc > span { color: var(--acc); display: grid; } .sa-doc b { display: block; font-weight: 550; font-size: .8rem; }
.sa-chat { display: flex; flex-direction: column; gap: 10px; } .sa-chat .sa-ask { max-width: none; flex: none; } .sa-chat .sa-answer { margin: 0; } .sa-chat .sa-ans-in { grid-template-columns: 1fr; } .sa-txt { font-size: .86rem !important; line-height: 1.6 !important; min-height: 66px; }
.sa-cites { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; opacity: 0; transform: translateY(4px); transition: opacity .4s, transform .4s var(--ease); } .sa-cites.show { opacity: 1; transform: none; } .sa-cites span { font-size: .7rem; padding: 4px 9px; border-radius: 7px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--acc); }
.sa-svcs { margin: 0 16px; padding: 4px 6px; flex: none; } .sa-svc { display: grid; grid-template-columns: 1.1fr 2fr auto; gap: 14px; align-items: center; padding: 10px 10px; border-radius: 10px; } .sa-svc b { font-weight: 550; font-size: .84rem; }
.sa-up { display: flex; gap: 2px; height: 20px; align-items: stretch; } .sa-up i { flex: 1; max-width: 7px; border-radius: 2px; background: #7fbfa4; } .sa-up i.bad { background: #e39a68; }
.sa-svc[data-bad="0"] .sa-up i.bad { background: #7fbfa4; }
.sa-alert { display: flex; align-items: center; gap: 12px; margin: 12px 16px 0; padding: 12px 14px; border-radius: 12px; background: #fdf3e4; border: 1px solid #f0dcb8; transition: background .4s, border-color .4s; } .sa-alert > div { flex: 1; } .sa-alert b { display: block; font-weight: 550; font-size: .84rem; } .sa-alert small { color: var(--muted); font-size: .74rem; } .sa-alert-i { width: 30px; height: 30px; border-radius: 9px; background: #f8e3bf; color: #8a5c0a; display: grid; place-items: center; flex: none; }
.sa-alert.done { background: #e8f4ee; border-color: #c4e2d2; } .sa-alert.done .sa-alert-i { background: #cfe9da; color: #256849; }
.sa-caps { min-height: 44px; margin-top: 16px; text-align: center; } .sa-cap { display: none; margin: 0; color: var(--muted); font-size: .94rem; } .sa-cap.on { display: block; animation: saIn .4s var(--ease); }
@media (max-width: 900px) {
  .sa-scr { grid-template-columns: 1fr; } .sa-side { display: none; } .sa-stage { height: 600px; }
  .hide-s { display: none; } .sa-scr[data-i="0"] .sa-th, .sa-scr[data-i="0"] .sa-tr { grid-template-columns: .9fr 1.4fr 1fr 1.4fr; } .sa-scr[data-i="3"] .sa-th, .sa-scr[data-i="3"] .sa-tr { grid-template-columns: .9fr 1.2fr .9fr .9fr .9fr; }
  .sa-two, .sa-two-b, .sa-two-c { grid-template-columns: 1fr; overflow: hidden; } .sa-ans-in { grid-template-columns: 1fr; } .sa-chart { display: none; } .sa-leg { display: none; }
  .sa-kpis b { font-size: 1.1rem; } .sa-kpis div { padding: 9px 10px; } .sa-hint { display: none; } .sa-acts .sa-btn:not(.solid) { display: none; }
  .sa-go { opacity: 1; transform: none; pointer-events: auto; } .sa-row:not([data-s="pending"]) .sa-go { display: none; } .sa-svc { grid-template-columns: 1fr auto; } .sa-up { display: none; }
}
@media (prefers-reduced-motion: reduce) { .sa *, .sa { animation: none !important; transition: none !important; } .sa-chart .line { stroke-dashoffset: 0; } }
.sa-two { align-items: start; }
.sa { width: 100%; min-width: 0; } .sa-win, .sa-stage, .sa-scr, .sa-main { min-width: 0; max-width: 100%; } .sa-scr { grid-template-columns: 206px minmax(0, 1fr); }
@media (max-width: 900px) { .sa-scr { grid-template-columns: minmax(0, 1fr); } .sa-ask { flex-basis: 100%; max-width: none; } .sa-seg { max-width: 100%; overflow-x: auto; } }
/* the visitor is invited to click: a soft ring and a small label on the main action */
.sa-btn, .sa-askb, .sa-go { position: relative; }
.sa-nudge { animation: saRing 1.9s infinite; }
.sa-nudge[data-tip]::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 9px); left: 50%; transform: translateX(-50%); background: var(--acc); color: #fff; font: 500 .68rem var(--font-sans, inherit); padding: 4px 9px; border-radius: 7px; white-space: nowrap; pointer-events: none; z-index: 3; animation: saBob 1.9s ease-in-out infinite; }
.sa-nudge[data-tip]::before { content: ""; position: absolute; bottom: calc(100% + 4px); left: 50%; width: 8px; height: 8px; background: var(--acc); transform: translateX(-50%) rotate(45deg); z-index: 3; animation: saBob 1.9s ease-in-out infinite; }
.sa-sw.sa-nudge[data-tip]::after, .sa-sw.sa-nudge[data-tip]::before { left: auto; right: 0; transform: none; } .sa-sw.sa-nudge[data-tip]::before { right: 12px; transform: rotate(45deg); }
.sa-row.nudge .sa-go { opacity: 1; transform: none; pointer-events: auto; }
@keyframes saRing { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--acc) 50%, transparent); } 70%, 100% { box-shadow: 0 0 0 10px transparent; } }
@keyframes saBob { 50% { margin-bottom: 3px; } }
@media (prefers-reduced-motion: reduce) { .sa-nudge, .sa-nudge::after, .sa-nudge::before { animation: none !important; } }

/* ===== bezel, rim light and cursor spotlight ===== */
.sa-bezel { position: relative; padding: 7px; border-radius: 30px; border: 1px solid var(--line); background: linear-gradient(180deg, #f8f6ef, #eeebe1); box-shadow: 0 46px 100px color-mix(in srgb, var(--acc) 16%, transparent); transition: box-shadow .4s; --rx: 50%; --ry: 0%; --sx: 50%; --sy: 0%; }
.sa-bezel .sa-win { box-shadow: none; border-radius: 23px; }
.sa-bezel::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 2px; z-index: 4; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(300px circle at var(--rx) var(--ry), var(--acc), color-mix(in srgb, var(--acc) 40%, transparent) 40%, transparent 72%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.sa-bezel:hover::before { opacity: 1; }
.sa-bezel:hover { box-shadow: 0 50px 110px color-mix(in srgb, var(--acc) 24%, transparent); }
.sa-stage::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(460px circle at var(--sx) var(--sy), color-mix(in srgb, var(--acc) 9%, transparent), transparent 70%); }
.sa-bezel:hover .sa-stage::after { opacity: 1; }
@media (max-width: 900px) { .sa-bezel { padding: 5px; border-radius: 24px; } .sa-bezel .sa-win { border-radius: 19px; } }
@media (hover: none) { .sa-bezel::before, .sa-stage::after { display: none; } }
/* answer visuals differ per question; the table puts the matching rows first */
.sa-ans-c .sa-v { display: none; } .sa-ans-c .sa-v.on { display: block; animation: saIn .4s var(--ease); }
.sa-todo { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid color-mix(in srgb, var(--acc) 14%, var(--line)); } .sa-todo:last-child { border-bottom: 0; } .sa-todo b { display: block; font-size: .8rem; font-weight: 550; } .sa-todo small { color: var(--muted); font-size: .7rem; } .sa-todo span { font-size: .8rem; font-weight: 550; text-align: right; } .sa-todo em { grid-column: 2; justify-self: end; font-style: normal; font-size: .68rem; padding: 2px 8px; border-radius: 6px; background: #e5edfb; color: #3d63c4; }
.sa-rank { display: grid; grid-template-columns: 78px 1fr 44px; gap: 8px; align-items: center; padding: 6px 0; font-size: .76rem; } .sa-rank i { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--acc), color-mix(in srgb, var(--acc) 40%, #fff)); width: var(--w); transform-origin: left; animation: saGrow .7s var(--ease) both; } .sa-rank b { font-weight: 550; text-align: right; } @keyframes saGrow { from { transform: scaleX(0); } }
.sa-tr { transition: background .25s; }
/* phones: drop the id column, keep amounts on one line, stack the status pill and its action */
@media (max-width: 900px) {
  .sa-scr[data-i="0"] .sa-th span:first-child, .sa-scr[data-i="3"] .sa-th span:first-child, .sa-scr[data-i="0"] .sa-tr .mono, .sa-scr[data-i="3"] .sa-tr .mono { display: none; }
  .sa-scr[data-i="0"] .sa-th, .sa-scr[data-i="0"] .sa-tr { grid-template-columns: 1.4fr 1.1fr 1.1fr; }
  .sa-scr[data-i="3"] .sa-th, .sa-scr[data-i="3"] .sa-tr { grid-template-columns: 1.3fr .8fr 1.1fr .9fr; }
  .sa-tr .r, .sa-th .r { white-space: nowrap; } .sa-tr { padding: 6px 12px; gap: 8px; } .sa-th { padding: 0 12px; gap: 8px; } .sa-tr .b { font-size: .78rem; }
  .sa-scr[data-i="0"] .st { flex-direction: column; align-items: flex-start; gap: 5px; }
  .sa-scr[data-i="0"] .sa-nudge[data-tip]::after, .sa-scr[data-i="0"] .sa-nudge[data-tip]::before { display: none; }
}

/* ===== Dark app window (the contrast is what makes it read as a real product) ===== */
.sa-bezel { padding: 7px; border-radius: 30px; border: 1px solid rgba(255,255,255,.16); background: linear-gradient(180deg, #34363f 0%, #1b1c22 38%, #121318 100%); box-shadow: 0 60px 120px rgba(18,16,12,.32), 0 30px 90px color-mix(in srgb, var(--acc) 22%, transparent), inset 0 1px 0 rgba(255,255,255,.18); }
.sa-bezel:hover { box-shadow: 0 64px 130px rgba(18,16,12,.38), 0 30px 100px color-mix(in srgb, var(--acc) 34%, transparent), inset 0 1px 0 rgba(255,255,255,.22); }
.sa-bezel::before { padding: 2px; background: radial-gradient(320px circle at var(--rx) var(--ry), #fff, color-mix(in srgb, var(--acc) 70%, #fff) 28%, color-mix(in srgb, var(--acc) 40%, transparent) 52%, transparent 74%); }
.sa-bezel .sa-win { background: #0f1015; border: 1px solid rgba(255,255,255,.08); color: #e9e8e3; border-radius: 23px; }
.sa-win::before { background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--acc) 85%, #fff), transparent); }
.sa-stage::after { background: radial-gradient(520px circle at var(--sx) var(--sy), color-mix(in srgb, var(--acc) 15%, transparent), transparent 70%); }
.sa-chrome { background: #14151b; border-bottom-color: rgba(255,255,255,.07); } .sa-chrome .d { background: rgba(255,255,255,.16); } .sa-chrome em, .sa-chrome b { color: #7d808a; }
.sa-side { background: #12131a; border-right-color: rgba(255,255,255,.07); }
.sa-brand span { background: #f1efe8; color: #101116; } .sa-brand b { color: #f4f3ee; }
.sa-find { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.09); color: #8d8f98; } .sa-find kbd, .sa-btn kbd { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.12); color: #9a9ca5; }
.sa-sec { color: #7d808a; } .sa-nav { color: #b5b6bf; } .sa-nav svg { color: #7d808a; } .sa-nav i { background: color-mix(in srgb, var(--acc) 22%, transparent); color: color-mix(in srgb, var(--acc) 55%, #fff); }
.sa-nav.on { background: rgba(255,255,255,.07); color: #fff; } .sa-nav.on svg { color: color-mix(in srgb, var(--acc) 60%, #fff); }
.sa-user { border-top-color: rgba(255,255,255,.07); } .sa-user span { background: rgba(255,255,255,.1); color: #e9e8e3; } .sa-user b { color: #ecebe6; } .sa-user small { color: #7d808a; }
.sa-head h3 { color: #fff; }
.sa-btn { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.11); color: #e9e8e3; } .sa-btn:hover { background: rgba(255,255,255,.1); }
.sa-btn.solid { background: #efede6; border-color: #efede6; color: #101116; } .sa-btn.solid:hover { background: #fff; } .sa-btn.solid kbd { background: rgba(16,17,22,.08); border-color: rgba(16,17,22,.14); color: #55565e; }
.sa-kpis { background: rgba(255,255,255,.025); border-color: rgba(255,255,255,.08); } .sa-kpis div + div { border-left-color: rgba(255,255,255,.08); } .sa-kpis small, .sa-kpis span { color: #8d8f98; } .sa-kpis b { color: #fff; } .sa-kpis b.warm { color: #f0a36a; }
.sa-seg { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.09); } .sa-seg button { color: #8d8f98; } .sa-seg button.on { background: rgba(255,255,255,.1); color: #fff; box-shadow: none; }
.sa-hint { color: #7d808a; }
.sa-ask { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); } .sa-ask:focus-within { border-color: color-mix(in srgb, var(--acc) 70%, #fff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 22%, transparent); } .sa-spark { color: color-mix(in srgb, var(--acc) 60%, #fff); } .sa-q { color: #f1f0ea; }
.sa-askb { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff; } .sa-askb:hover { background: rgba(255,255,255,.14); }
.sa-answer.open .sa-ans-in { background: color-mix(in srgb, var(--acc) 9%, #12131a); border-color: color-mix(in srgb, var(--acc) 32%, rgba(255,255,255,.08)); }
.sa-big { color: color-mix(in srgb, var(--acc) 62%, #fff); } .sa-ans-t p { color: #c9cad1; } .sa-ans-t p strong { color: #fff; }
.sa-next span { color: #8d8f98; } .sa-next button { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: #dcdce2; } .sa-next button:hover { border-color: color-mix(in srgb, var(--acc) 70%, #fff); background: rgba(255,255,255,.09); }
.sa-chart .line { stroke: color-mix(in srgb, var(--acc) 60%, #fff); } .sa-chart .area { fill: color-mix(in srgb, var(--acc) 18%, transparent); } .sa-chart circle { fill: #fff; } .sa-leg { color: #8d8f98; } .sa-leg i.g { background: #555861; } .sa-leg i { background: color-mix(in srgb, var(--acc) 60%, #fff); }
.sa-table { background: transparent; border-color: rgba(255,255,255,.08); } .sa-th { background: rgba(255,255,255,.03); border-bottom-color: rgba(255,255,255,.07); color: #8d8f98; } .sa-tr { border-bottom-color: rgba(255,255,255,.05); color: #e4e3de; } .sa-tr .mono { color: #8d8f98; }
.sa-row::before { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--acc) 20%, transparent), transparent 72%); }
.sa-row.hl { background: color-mix(in srgb, var(--acc) 12%, transparent); box-shadow: inset 3px 0 0 color-mix(in srgb, var(--acc) 70%, #fff); }
.sa-pill.green { background: rgba(63,155,108,.18); color: #7fd1a6; } .sa-pill.amber { background: rgba(224,160,60,.17); color: #f0c46f; } .sa-pill.red { background: rgba(224,100,80,.17); color: #f29a8a; } .sa-pill.blue { background: rgba(100,140,255,.18); color: #a3b8ff; }
.sa-go { background: #efede6; color: #101116; }
.sa-foot { color: #7d808a; }
.sa-card { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); } .sa-k { color: #8d8f98; } .sa-k b { color: #fff; }
.sa-sys b, .sa-doc b, .sa-step b, .sa-chan b, .sa-svc b, .sa-alert b, .sa-todo b { color: #f1f0ea; } .sa-sys small, .sa-doc small, .sa-step small, .sa-todo small, .sa-alert small { color: #8d8f98; }
.sa-dot { background: #5bc08f; } .sa-dot.sync { background: #86a1ff; } .sa-live { color: #7fd1a6; } .sa-live i { background: #5bc08f; }
.sa-prog { background: rgba(255,255,255,.08); } .sa-prog s { background: color-mix(in srgb, var(--acc) 65%, #fff); }
.sa-log p { color: #dcdce2; } .sa-log time { color: #7d808a; } .sa-log em { color: #7fd1a6; }
.sa-step { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.09); } .sa-sn { background: color-mix(in srgb, var(--acc) 24%, transparent); color: color-mix(in srgb, var(--acc) 55%, #fff); } .sa-edit { color: color-mix(in srgb, var(--acc) 55%, #fff); }
.sa-chan { border-bottom-color: rgba(255,255,255,.06); } .sa-chi { background: rgba(255,255,255,.08); color: #e9e8e3; } .sa-sw { background: rgba(255,255,255,.16); } .sa-sw.on { background: color-mix(in srgb, var(--acc) 85%, #fff 0%); } .sa-note { color: #8d8f98; }
.sa-doc > span { color: color-mix(in srgb, var(--acc) 55%, #fff); } .sa-cites span { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); border-left-color: color-mix(in srgb, var(--acc) 70%, #fff); color: #dcdce2; }
.sa-up i { background: #4aa57b; } .sa-up i.bad { background: #e39a68; } .sa-svc[data-bad="0"] .sa-up i.bad { background: #4aa57b; }
.sa-alert { background: rgba(224,160,60,.1); border-color: rgba(224,160,60,.26); } .sa-alert-i { background: rgba(224,160,60,.2); color: #f0c46f; } .sa-alert.done { background: rgba(63,155,108,.12); border-color: rgba(63,155,108,.3); } .sa-alert.done .sa-alert-i { background: rgba(63,155,108,.22); color: #7fd1a6; }
.sa-todo { border-bottom-color: rgba(255,255,255,.08); } .sa-todo em { background: rgba(100,140,255,.18); color: #a3b8ff; } .sa-todo span { color: #f1f0ea; }
.sa-rank span { color: #dcdce2; } .sa-rank b { color: #fff; } .sa-rank i { background: linear-gradient(90deg, color-mix(in srgb, var(--acc) 70%, #fff), color-mix(in srgb, var(--acc) 35%, transparent)); }
/* the follow-up questions sit on one row under the answer */
.sa-ans-in .sa-next { grid-column: 1 / -1; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-top: 2px; } .sa-ans-in .sa-next::-webkit-scrollbar { display: none; } .sa-next button, .sa-next span { white-space: nowrap; flex: none; }
@media (max-width: 900px) { .sa-bezel { padding: 5px; border-radius: 24px; } }

/* previews of the same sample screens in the rows below the hero */
.sa-vis { min-width: 0; }
.sa-mini { pointer-events: none; user-select: none; } .sa-mini:hover::before, .sa-mini::before { display: none; }
.sa-mini .sa-stage { height: 336px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); }
.sa-mini .sa-scr.sa-minis { position: static; inset: auto; display: grid; grid-template-columns: minmax(0, 1fr); height: 100%; animation: none; }
.sa-mini .sa-head { padding-top: 12px; } .sa-mini .sa-foot { display: none; }
.sa-mini .sa-nudge { animation: none; } .sa-mini .sa-row::before { display: none; }
.sa-mini .sa-answer { margin-bottom: 8px; } .sa-mini .sa-chart .line { stroke-dashoffset: 0; animation: none; } .sa-mini .sa-chart .area, .sa-mini .sa-chart circle { opacity: 1; animation: none; }
.sa-mini .sa-cites { opacity: 1; transform: none; } .sa-mini .sa-ans-in { grid-template-columns: minmax(0, 1fr); } .sa-mini .sa-ans-c { display: none; }
.sa-mini .sa-two { grid-template-columns: 1fr 1fr; } .sa-mini .sa-kpis b { font-size: 1.25rem; }
@media (max-width: 900px) { .sa-mini .sa-stage { height: 300px; } .sa-mini .sa-two { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .sa-kpis b { white-space: nowrap; font-size: 1.05rem; } .sa-mini .sa-kpis b { font-size: 1.05rem; } }

/* ===== Light that behaves like a light: a beam on the top edge, a bloom around the rim and a wide torch spotlight ===== */
.sa-bezel { isolation: isolate; }
.sa-beam { position: absolute; z-index: 6; left: 14%; right: 14%; top: -1px; height: 2px; border-radius: 2px; pointer-events: none; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--acc) 40%, #fff) 30%, #fff 50%, color-mix(in srgb, var(--acc) 40%, #fff) 70%, transparent); box-shadow: 0 0 12px 1px color-mix(in srgb, var(--acc) 80%, #fff), 0 -6px 28px 4px color-mix(in srgb, var(--acc) 60%, transparent); }
.sa-beam::before { content: ""; position: absolute; left: -12%; right: -12%; top: -46px; height: 56px; background: radial-gradient(60% 100% at 50% 100%, color-mix(in srgb, var(--acc) 38%, transparent), transparent 72%); filter: blur(8px); }
.sa-bezel::after { content: ""; position: absolute; inset: -16px; z-index: -1; border-radius: 44px; pointer-events: none; opacity: 0; transition: opacity .45s; filter: blur(20px); background: radial-gradient(420px circle at calc(var(--rx) + 16px) calc(var(--ry) + 16px), color-mix(in srgb, var(--acc) 70%, #fff), color-mix(in srgb, var(--acc) 40%, transparent) 38%, transparent 70%); }
.sa-bezel:hover::after { opacity: .75; }
.sa-bezel { box-shadow: 0 60px 120px rgba(18,16,12,.32), 0 0 0 1px rgba(255,255,255,.06), 0 0 6px rgba(255,236,200,.35), 0 0 28px color-mix(in srgb, var(--acc) 30%, transparent), inset 0 1px 0 rgba(255,255,255,.2); }
.sa-bezel::before { padding: 2px; background: radial-gradient(360px circle at var(--rx) var(--ry), #fff 0%, color-mix(in srgb, var(--acc) 80%, #fff) 22%, color-mix(in srgb, var(--acc) 45%, transparent) 48%, transparent 74%); }
.sa-stage::after { background: radial-gradient(760px circle at var(--sx) var(--sy), color-mix(in srgb, var(--acc) 17%, transparent), color-mix(in srgb, var(--acc) 7%, transparent) 38%, transparent 72%), linear-gradient(115deg, rgba(255,255,255,.035), transparent 40%); }
/* the previews below the hero catch the light too, they just cannot be clicked */
.sa-mini { pointer-events: auto; } .sa-mini .sa-win * { pointer-events: none; }
.sa-mini::before { display: block; } .sa-mini:hover::before { display: block; }
@media (hover: none) { .sa-bezel::after { display: none; } }
@media (prefers-reduced-motion: reduce) { .sa-bezel::after { transition: none; } }

/* ===== White-and-blue light (replaces the earlier warm glow) ===== */
.sa-bezel { --acc: #6f8cff; --accbg: #e8eeff; --acct: #3d63c4; box-shadow: 0 60px 120px rgba(18,16,12,.3), inset 0 1px 0 rgba(255,255,255,.2); background: linear-gradient(180deg, #2c2f3a 0%, #181a22 40%, #101117 100%); border-color: rgba(255,255,255,.14); }
.sa-bezel:hover { box-shadow: 0 64px 130px rgba(18,16,12,.34), inset 0 1px 0 rgba(255,255,255,.24); }
.sa-beam { display: none; } .sa-bezel::after { display: none; }
.sa-glow { position: absolute; inset: -170px; z-index: -1; pointer-events: none; -webkit-mask-image: radial-gradient(766px 766px at var(--gx, 50%) var(--gy, 170px), #000 0, rgba(0,0,0,.7) 22%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.12) 68%, transparent 92%); mask-image: radial-gradient(766px 766px at var(--gx, 50%) var(--gy, 170px), #000 0, rgba(0,0,0,.7) 22%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.12) 68%, transparent 92%); }
.sa-glow i { position: absolute; inset: 170px; border-radius: 30px; box-shadow: 0 0 5px rgba(176,198,255,.8), 0 0 20px rgba(92,132,255,.62), 0 0 46px rgba(92,132,255,.4), 0 0 82px rgba(92,132,255,.2), 0 0 133px rgba(92,132,255,.09); }
.sa-bezel::before { opacity: 1; padding: 1.5px; background: radial-gradient(520px circle at var(--rx, 50%) var(--ry, 0px), #fff 0%, rgba(176,198,255,.85) 24%, rgba(92,132,255,.4) 52%, rgba(255,255,255,.1) 78%); }
.sa-bezel:hover::before { opacity: 1; }
.sa-stage::after { opacity: 1; background: radial-gradient(689px circle at var(--sx, 50%) var(--sy, 0px), rgba(92,132,255,.1) 0, rgba(92,132,255,.098) 10%, rgba(92,132,255,.09) 20%, rgba(92,132,255,.08) 30%, rgba(92,132,255,.067) 40%, rgba(92,132,255,.05) 50%, rgba(92,132,255,.035) 60%, rgba(92,132,255,.02) 70%, rgba(92,132,255,.01) 80%, rgba(92,132,255,.003) 90%, transparent 100%); }
.sa-bezel:hover .sa-stage::after { opacity: 1; }
.sa-win::before { background: linear-gradient(90deg, transparent, rgba(176,198,255,.9), transparent); }
@media (hover: none) { .sa-stage::after { opacity: .6; } }

/* illustrated panels in the service rows */
.sv-art { border-radius: 26px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(20,20,18,.08); aspect-ratio: 4 / 3; background: #f4f1e8; } .sv-art svg { display: block; width: 100%; height: 100%; }

/* ===== Services: accordion + floating sample cards ===== */
.sx-head { max-width: 640px; margin-bottom: 34px; }
.sx { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 28px; align-items: start; }
.sx-list { display: grid; gap: 12px; }
.sx-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: background .35s, border-color .35s, color .35s; }
.sx-hd { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 26px; font-size: 1.1rem; font-weight: 550; letter-spacing: -.01em; text-align: left; cursor: pointer; color: inherit; }
.sx-hd svg { flex: none; transition: transform .35s var(--ease); color: var(--muted); }
.sx-item:not(.is-open):hover { border-color: #c9c6ba; }
.sx-bd { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.sx-in { overflow: hidden; min-height: 0; padding: 0 26px; }
.sx-item.is-open { background: #17181d; border-color: #17181d; color: #fff; }
.sx-item.is-open .sx-hd svg { transform: rotate(180deg); color: rgba(255,255,255,.7); }
.sx-item.is-open .sx-bd { grid-template-rows: 1fr; } .sx-item.is-open .sx-in { padding-bottom: 26px; }
.sx-in h3 { font-size: 1.5rem; font-weight: 500; letter-spacing: -.025em; line-height: 1.2; margin: 6px 0 12px; }
.sx-in > p { color: rgba(255,255,255,.72); font-size: 1rem; line-height: 1.55; margin: 0 0 18px; }
.sx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.xchip { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 999px; background: #fff; color: var(--ink); font-size: .88rem; font-weight: 500; } .xchip svg { color: #3d63c4; }
.sx-in ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; color: rgba(255,255,255,.82); font-size: .96rem; }
.sx-link { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: #fff; } .sx-link span { transition: transform .3s var(--ease); } .sx-link:hover span { transform: translateX(4px); }
.sx-stage { position: sticky; top: 96px; height: 568px; border-radius: 22px; background: #f1f0ec; border: 1px solid var(--line); overflow: hidden; }
.sx-pane { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; } .sx-pane.on { opacity: 1; visibility: visible; }
.xc { position: absolute; background: #fff; border-radius: 16px; padding: 16px 18px; border: 1px solid rgba(20,20,18,.05); box-shadow: 0 26px 54px rgba(20,20,18,.10), 0 2px 6px rgba(20,20,18,.05); font-size: .8rem; color: var(--ink); opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.sx-pane.on .xc { opacity: 1; transform: none; } .sx-pane.on .xc:nth-child(2) { transition-delay: .08s; } .sx-pane.on .xc:nth-child(3) { transition-delay: .16s; }
.xk { margin: 0 0 12px; font: 500 .68rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.xr { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid #f0eee6; } .xr:last-of-type { border-bottom: 0; } .xr b { font-weight: 550; } .xr span:not(.xp):not(.xsw) { color: var(--muted); font-size: .76rem; white-space: nowrap; }
.xp { padding: 3px 9px; border-radius: 7px; font-size: .7rem; font-weight: 500; white-space: nowrap; } .xp.green { background: #e2f1ea; color: #256849; } .xp.amber { background: #fbeed2; color: #8a5c0a; } .xp.blue { background: #e5edfb; color: #3d63c4; }
.xf { margin: 10px 0 0; color: var(--muted); font-size: .74rem; }
.xt { display: block; font-size: .98rem; font-weight: 550; letter-spacing: -.01em; } .xs { display: block; color: var(--muted); font-size: .76rem; margin-top: 2px; }
.xbig { display: block; font-size: 1.5rem; font-weight: 550; letter-spacing: -.03em; margin: 8px 0 2px; } .xbig.up { color: #256849; }
.xb { display: flex; gap: 8px; margin-top: 12px; } .xbtn { padding: 7px 14px; border-radius: 9px; border: 1px solid var(--line); font-size: .76rem; font-weight: 500; } .xbtn.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.xsm { text-align: left; } .xtag { display: block; margin-top: 8px; padding: 8px 12px; border-radius: 9px; font-size: .8rem; font-weight: 500; border: 1px solid; text-align: center; }
.xtag.amber { background: #fff7e3; border-color: #f0c46f; color: #8a5a06; } .xtag.green { background: #eaf7ef; border-color: #86d1a4; color: #1f6b41; } .xtag.red { background: #fdecea; border-color: #f2a79c; color: #c8392c; } .xtag.blue { background: #eef3ff; border-color: #9fb6ff; color: #3d63c4; }
.xd { width: 8px; height: 8px; border-radius: 50%; flex: none; margin-right: -2px; } .xd.ok { background: #3f9b6c; } .xd.sync { background: #5c84ff; } .xr .xd + b { flex: 1; margin-left: 2px; }
.xprog { height: 4px; border-radius: 2px; background: #ece9df; margin-bottom: 10px; } .xprog s { display: block; width: 72%; height: 100%; border-radius: 2px; background: #5c84ff; }
.xl { display: grid; grid-template-columns: 38px 1fr auto; gap: 8px; padding: 5px 0; font-size: .76rem; } .xl time { font: 500 .68rem var(--font-mono); color: var(--muted); } .xl em { font-style: normal; color: #256849; }
.xok { width: 34px; height: 34px; border-radius: 50%; background: #e2f1ea; display: grid; place-items: center; margin-bottom: 10px; } .xok i { font-style: normal; color: #256849; font-weight: 700; }
.xs2 { display: flex; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid #f0eee6; } .xs2:last-child { border-bottom: 0; } .xs2 i { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #e5edfb; color: #3d63c4; display: grid; place-items: center; font: 600 .7rem var(--font-mono); font-style: normal; } .xs2 small { display: block; font: 500 .6rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); } .xs2 b { font-weight: 550; }
.xsw { width: 34px; height: 20px; border-radius: 999px; background: #d9d6cb; position: relative; flex: none; } .xsw i { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); } .xsw.on { background: #5c84ff; } .xsw.on i { transform: translateX(14px); }
.xdw { position: relative; width: 132px; margin: 4px auto 10px; } .xdonut { display: block; width: 132px; height: 132px; } .xdc { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; } .xdc b { font-size: 1.5rem; font-weight: 550; letter-spacing: -.03em; line-height: 1; } .xdc span { font-size: .7rem; color: var(--muted); }
.xleg { display: grid; gap: 6px; font-size: .76rem; } .xleg i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; }
.xbars { display: flex; align-items: flex-end; gap: 9px; height: 140px; } .xbars i { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(#5c84ff, #9db4ff); }
.xq { margin: 0 0 8px; padding: 8px 12px; border-radius: 12px; background: #f3f1ea; font-size: .82rem; } .xa { margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; background: var(--ink); color: #fff; font-size: .84rem; line-height: 1.5; } .xsrc { display: inline-block; padding: 4px 10px; border-radius: 7px; background: #eef3ff; color: #3d63c4; font-size: .72rem; font-weight: 500; }
.xup { display: flex; gap: 2px; height: 18px; flex: 1; max-width: 190px; } .xup i { flex: 1; border-radius: 2px; background: #6fb39a; } .xup i.bad { background: #e39a68; }
@media (max-width: 900px) {
  .sx { grid-template-columns: 1fr; } .sx-stage { position: static; height: auto; padding: 14px; } .sx-pane { position: static; display: none; opacity: 1; visibility: visible; } .sx-pane.on { display: grid; gap: 12px; }
  .sx-pane .xc { position: static !important; width: auto !important; inset: auto !important; opacity: 1; transform: none; } .sx-hd { padding: 18px 20px; } .sx-in { padding: 0 20px; } .sx-item.is-open .sx-in { padding-bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) { .xc, .sx-bd, .sx-item { transition: none; } }

/* simpler accordion, as on the reference: number + title, one paragraph; the picture lives only on the right */
.sx-head { max-width: none; margin-bottom: 38px; } .sx-head .h2 { font-size: clamp(2rem, 4vw, 3rem); }
.sx { gap: 36px; align-items: stretch; } .sx-list { gap: 14px; align-content: start; }
.sx-item { border-radius: 14px; border-color: #d9dbe6; }
.sx-hd { padding: 26px 30px; gap: 18px; font-size: 1.3rem; } .sx-n { font-size: 1.2rem; font-weight: 450; color: #3d63c4; letter-spacing: .02em; } .sx-t { flex: 1; font-weight: 550; letter-spacing: -.015em; }
.sx-item.is-open .sx-n { color: rgba(255,255,255,.62); }
.sx-in { padding: 0 30px; } .sx-item.is-open .sx-in { padding-bottom: 30px; }
.sx-in > p { margin: 0; color: rgba(255,255,255,.86); font-size: 1.12rem; line-height: 1.7; }
.sx-stage { position: relative; top: auto; height: auto; min-height: 560px; background: #f3f4f7; border-color: #dfe1ea; }
.sx-pane .xcomp { position: absolute; inset: 15% 11%; }
@media (max-width: 900px) { .sx-hd { padding: 20px 20px; font-size: 1.1rem; gap: 14px; } .sx-in { padding: 0 20px; } .sx-item.is-open .sx-in { padding-bottom: 22px; } .sx-in > p { font-size: 1rem; } .sx-stage { min-height: 0; } .sx-pane .xcomp { position: static; display: grid; gap: 12px; } }
.sx-stage { align-self: start; position: sticky; top: 96px; height: 592px; min-height: 0; }
.sx-pane .xcomp { inset: 7% 6%; }
@media (max-width: 900px) { .sx-stage { position: static; height: auto; } }

/* ===== How a project works: pill tabs, text on the left, sample cards on the right ===== */
.tb-tabs { display: inline-flex; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 14px; background: #f6f5f1; max-width: 100%; overflow-x: auto; scrollbar-width: none; } .tb-tabs::-webkit-scrollbar { display: none; }
.tb-tab { flex: none; padding: 12px 24px; border-radius: 10px; font-size: 1rem; font-weight: 450; color: var(--muted); cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; } .tb-tab:hover { color: var(--ink); }
.tb-tab.on { background: #fff; color: var(--ink); font-weight: 550; box-shadow: 0 1px 3px rgba(20,20,18,.12); }
.tb-body { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; margin-top: 34px; }
.tb-text { display: none; } .tb-text.on { display: block; animation: saIn .4s var(--ease); }
.tb-text h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 550; letter-spacing: -.025em; line-height: 1.15; margin: 0 0 16px; } .tb-text p { color: var(--muted); font-size: 1.12rem; line-height: 1.7; margin: 0; max-width: 460px; }
.tb-stage { position: relative; top: auto; height: 420px; align-self: auto; }
.tb-stage .sx-pane .xcomp { inset: 6% 5%; }
@media (max-width: 900px) { .tb-body { grid-template-columns: 1fr; gap: 24px; } .tb-stage { height: auto; position: static; } .tb-tab { padding: 11px 16px; font-size: .92rem; } }
/* text only, as in the reference: tabs, then a heading and a paragraph */
.tb-body { display: block; margin-top: 40px; } .tb-text p { max-width: 640px; }
.tb-text h3 { max-width: 760px; } .tb-text p { max-width: 720px; font-size: 1.16rem; line-height: 1.75; }

/* ===== Features page ===== */
.ft-chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 28px; } .ft-chip { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 500; transition: background .25s, color .25s, transform .25s var(--ease); } .ft-chip:hover { background: var(--ink); color: #fff; transform: translateY(-1px); }
.ft-sec { scroll-margin-top: 80px; } .ft-sec + .ft-sec { padding-top: 0; }
.ft-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; } .ft-head .section-sub { margin-bottom: 0; }
.ft-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ft { display: flex; gap: 16px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; } .ft:hover { transform: translateY(-3px); border-color: #c9c6ba; box-shadow: 0 18px 40px rgba(20,20,18,.07); }
.ft-i { flex: none; width: 42px; height: 42px; border-radius: 12px; background: #ebe9e1; color: #3b4252; display: grid; place-items: center; } .ft b { display: block; font-weight: 550; font-size: 1.02rem; margin-bottom: 5px; letter-spacing: -.01em; } .ft p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
@media (max-width: 1020px) { .ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 640px) { .ft-grid { grid-template-columns: 1fr; } .ft { padding: 18px; } }
/* very small phones (<=360px): project cards must not push the page wider */
@media (max-width: 760px) { .pj-grid { grid-template-columns: minmax(0, 1fr); } .pj { min-width: 0; } .pj .pv { max-width: 100%; overflow: hidden; } }
