/* ==========================================================================
   Service pages: webdev, ai, erp, mobileapp, business, software.
   Hand-written source, linked after css/work.css (shared tokens: hero panel,
   eyebrow, buttons, tags, CTA) and css/about.css (section scaffolding).

   Each page has one live mini demo, built in markup and animated by
   js/service.js only on screens 768px and wider with motion allowed. The
   markup's default state is the finished frame, so phones, reduced motion
   and a failed script all show a complete, static example. Every demo uses
   example data only.
   ========================================================================== */

/* ---------- hero ---------- */
.sv-hero__inner {
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 56px; align-items: center;
  padding: 80px 0 88px;
}
.sv-hero__title { font-size: clamp(48px, 6.2vw, 96px); margin-bottom: 24px; }
.sv-hero__lede { margin-bottom: 34px; }
.sv-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.sv-hero__count { margin-top: 26px; font-size: 14.5px; color: rgba(255, 255, 255, 0.74); }
.sv-hero__count b { color: #f3d891; font-weight: 650; }

/* ---------- demo stage ---------- */
.sv-demo { position: relative; margin: 0; }
.sv-demo__stage {
  position: relative; height: 400px; border-radius: 26px; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 40px 80px -36px rgba(3, 12, 40, 0.8);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.sv-demo figcaption { margin-top: 14px; font-size: 13.5px; color: rgba(255, 255, 255, 0.7); text-align: center; }
.sv-demo figcaption b { color: #f3d891; font-weight: 600; }
.dm-card {
  background: #fff; color: #3b475b; border-radius: 16px;
  box-shadow: 0 1px 2px rgba(11, 22, 48, 0.08), 0 24px 48px -20px rgba(3, 12, 40, 0.55);
}
.dm-muted { color: #5b6779; }
.dm-pill { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; font-size: 10.5px; font-weight: 650; }
.dm-pill--ok { color: #146c3c; background: #e6f6ec; }
.dm-pill--due { color: #8f4a0b; background: #fdf0de; }
.dm-pill--new { color: #1f4fb8; background: #e8effc; }

/* 1. Web: one site at three widths. Each width is its own fixed layout
   (container queries reflow it); switching only cross-fades them and
   reshapes the bezel with clip-path, so nothing moves in layout. */
.dm-web { position: absolute; inset: 24px; --cx: 0%; }
.dm-web[data-size="tablet"] { --cx: 19%; }
.dm-web[data-size="phone"] { --cx: 32%; }
.dm-web__bezel {
  position: absolute; inset: 0; border-radius: 22px; background: #0c1222;
  box-shadow: 0 30px 60px -24px rgba(3, 12, 40, 0.8);
  clip-path: inset(0 var(--cx) 0 var(--cx) round 22px); transition: clip-path 1s cubic-bezier(0.7, 0, 0.2, 1);
}
.dm-web__view {
  position: absolute; top: 7px; bottom: 7px; left: calc(var(--vx) + 7px); right: calc(var(--vx) + 7px);
  overflow: hidden; container-type: inline-size; background: #fff; border-radius: 15px;
  opacity: 0; transition: opacity 0.45s ease 0.35s;
}
.dm-web__view--desktop { --vx: 0%; }
.dm-web__view--tablet { --vx: 19%; }
.dm-web__view--phone { --vx: 32%; }
.dm-web[data-size="desktop"] .dm-web__view--desktop, .dm-web[data-size="tablet"] .dm-web__view--tablet, .dm-web[data-size="phone"] .dm-web__view--phone { opacity: 1; }
.dm-web__bar { display: flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; background: #f1f4f9; border-bottom: 1px solid #e3e8f0; }
.dm-web__bar i { width: 7px; height: 7px; border-radius: 50%; background: #d3dae6; }
.dm-web__bar span { margin-left: 8px; flex: 1; height: 12px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px #e3e8f0; }
.dm-site { padding: 12px 14px; font-size: 10px; }
.dm-site__nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.dm-site__logo { font-weight: 800; color: #0b1630; letter-spacing: -0.02em; font-size: 12px; }
.dm-site__links { display: flex; gap: 10px; color: #5b6779; }
.dm-site__burger { display: none; width: 16px; height: 10px; border-top: 2px solid #0b1630; border-bottom: 2px solid #0b1630; }
.dm-site__hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; align-items: center; margin-bottom: 14px; }
.dm-site__h { font-size: 19px; line-height: 1.05; font-weight: 750; letter-spacing: -0.03em; color: #0b1630; margin-bottom: 6px; }
.dm-site__p { color: #5b6779; margin-bottom: 8px; }
.dm-site__btn { display: inline-block; padding: 5px 10px; border-radius: 999px; font-weight: 700; color: #1d1404; background: linear-gradient(110deg, #c8912a, #f7e2a0, #e2ad3b); }
.dm-site__img { aspect-ratio: 4 / 3; border-radius: 10px; background: radial-gradient(60% 60% at 70% 30%, #5b8ff5, transparent), linear-gradient(140deg, #164da5, #102a5e); }
.dm-site__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dm-site__cards span { height: 54px; border-radius: 8px; background: #f1f4f9; box-shadow: inset 0 0 0 1px #e3e8f0; }
.dm-site__cards span::before { content: ''; display: block; width: 40%; height: 6px; margin: 10px; border-radius: 3px; background: #c7d2e4; }
@container (max-width: 420px) {
  .dm-site__hero { grid-template-columns: 1fr; }
  .dm-site__cards { grid-template-columns: repeat(2, 1fr); }
  .dm-site__h { font-size: 17px; }
}
@container (max-width: 240px) {
  .dm-site__links { display: none; }
  .dm-site__burger { display: block; }
  .dm-site__cards { grid-template-columns: 1fr; }
  .dm-site__img { aspect-ratio: 16 / 9; }
  .dm-site__h { font-size: 15px; }
}
.dm-web__labels { position: absolute; left: 0; right: 0; bottom: -2px; display: grid; justify-items: center; z-index: 2; }
.dm-web__label {
  grid-area: 1 / 1; padding: 5px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 650; color: #1d1404;
  background: linear-gradient(110deg, #c8912a, #f7e2a0, #e2ad3b); box-shadow: 0 8px 16px -8px rgba(0, 0, 0, 0.5);
  opacity: 0; transition: opacity 0.35s;
}
.dm-web[data-size="desktop"] .dm-web__label--desktop, .dm-web[data-size="tablet"] .dm-web__label--tablet, .dm-web[data-size="phone"] .dm-web__label--phone { opacity: 1; }

/* 2. AI: chat answering from your own data */
.dm-ai { position: absolute; inset: 24px; display: flex; flex-direction: column; overflow: hidden; }
.dm-ai__head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #eef1f6; }
.dm-ai__avatar { width: 28px; height: 28px; border-radius: 9px; background: linear-gradient(160deg, #1b5bba, #102a5e); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2); }
.dm-ai__name { font-size: 13px; font-weight: 650; color: #0b1630; }
.dm-ai__sub { font-size: 11px; }
.dm-ai__src { margin-left: auto; display: flex; gap: 5px; }
.dm-ai__body { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; gap: 10px; padding: 16px; overflow: hidden; }
.dm-ai__body .dm-msg { transition: opacity 0.35s; }
.dm-ai__body.is-swapping .dm-msg { opacity: 0; }
.dm-msg.is-hidden { opacity: 0; }
.dm-msg { max-width: 82%; padding: 10px 13px; border-radius: 14px; font-size: 12.5px; line-height: 1.5; }
.dm-msg--user { align-self: flex-end; color: #fff; background: linear-gradient(160deg, #2a5fd0, #143a8a); border-bottom-right-radius: 4px; }
.dm-msg--bot { align-self: flex-start; background: #f1f4f9; color: #0b1630; border-bottom-left-radius: 4px; }
.dm-msg--bot b { color: #0b1630; }
.dm-msg__cite { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.dm-typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.dm-typing i { width: 6px; height: 6px; border-radius: 50%; background: #8792a6; animation: dmDot 1s infinite ease-in-out; }
.dm-typing i:nth-child(2) { animation-delay: 0.15s; }
.dm-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dmDot { 0%, 60%, 100% { transform: none; opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
.dm-caret::after { content: ''; display: inline-block; width: 2px; height: 1em; margin-left: 1px; vertical-align: -2px; background: #1f4fb8; animation: dmCaret 0.8s steps(1) infinite; }
@keyframes dmCaret { 50% { opacity: 0; } }

/* 3. ERP: stock, billing, staff */
.dm-erp { position: absolute; inset: 24px; display: grid; grid-template-columns: 110px minmax(0, 1fr); overflow: hidden; }
.dm-erp__side { padding: 14px 12px; background: #0f1d3d; color: rgba(255, 255, 255, 0.7); font-size: 11px; border-radius: 16px 0 0 16px; }
.dm-erp__side b { display: block; margin-bottom: 14px; color: #fff; font-size: 12px; }
.dm-erp__side span { display: block; padding: 6px 8px; border-radius: 7px; }
.dm-erp__side span.is-on { color: #fff; background: rgba(255, 255, 255, 0.1); }
.dm-erp__main { padding: 14px 16px; display: grid; grid-template-rows: auto 1fr auto; gap: 12px; min-width: 0; }
.dm-erp__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.dm-kpi { padding: 9px 10px; border-radius: 10px; background: #f6f8fc; box-shadow: inset 0 0 0 1px #e8edf5; }
.dm-kpi span { display: block; font-size: 9.5px; color: #5b6779; }
.dm-kpi b { display: block; margin-top: 3px; font-size: 15px; color: #0b1630; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; transition: color 0.4s; }
.dm-kpi b.is-up { color: #146c3c; }
.dm-chart { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); grid-template-rows: minmax(0, 1fr) auto; column-gap: 8px; row-gap: 4px; padding: 10px 8px 8px; border-radius: 12px; background: #f6f8fc; min-height: 0; }
.dm-chart i { display: block; height: 100%; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #5b8ff5, #1f4fb8); transform-origin: 50% 100%; transform: scaleY(var(--h)); transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.dm-chart i:last-child { background: linear-gradient(180deg, #f7e2a0, #c8912a); }
.dm-chart b { grid-row: 2; text-align: center; font-size: 8.5px; font-weight: 500; color: #5b6779; }
.dm-erp__rows { display: grid; gap: 5px; font-size: 10.5px; }
.dm-erp__rows div { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 6px 8px; border-radius: 8px; background: #f6f8fc; }
.dm-erp__rows .is-new { animation: dmRowIn 0.9s ease; }
@keyframes dmRowIn { from { background: #e8effc; } }
.is-armed .dm-chart i { transform: scaleY(0.04); }
.is-armed.is-live .dm-chart i { transform: scaleY(var(--h)); }

/* 4. App: a phone with sliding screens and stacking cards */
.dm-app { position: absolute; inset: 0; display: grid; place-items: center; }
.dm-phone {
  position: relative; width: 196px; height: 360px; padding: 9px; border-radius: 38px;
  background: linear-gradient(180deg, #1a2236, #0c1222); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 40px 70px -28px rgba(3, 12, 40, 0.9);
}
.dm-phone::before { content: ''; position: absolute; top: 15px; left: 50%; width: 56px; height: 15px; margin-left: -28px; border-radius: 10px; background: #0c1222; z-index: 3; }
.dm-phone__screen { position: relative; height: 100%; overflow: hidden; border-radius: 30px; background: #f5f7fb; }
.dm-phone__track { display: flex; width: 300%; height: 100%; transition: transform 0.8s cubic-bezier(0.7, 0, 0.2, 1); }
.dm-app[data-screen="1"] .dm-phone__track { transform: translateX(-33.333%); }
.dm-app[data-screen="2"] .dm-phone__track { transform: translateX(-66.666%); }
.dm-scr { width: 33.333%; padding: 34px 12px 12px; font-size: 10px; }
.dm-scr__h { font-size: 15px; font-weight: 750; letter-spacing: -0.02em; color: #0b1630; margin-bottom: 10px; }
.dm-scr__hero { height: 74px; margin-bottom: 8px; border-radius: 14px; padding: 10px; color: #fff; background: radial-gradient(70% 90% at 90% 10%, #5b8ff5, transparent), linear-gradient(150deg, #164da5, #102a5e); }
.dm-scr__hero b { display: block; font-size: 17px; }
.dm-scr__card { display: flex; align-items: center; gap: 8px; padding: 9px; margin-bottom: 7px; border-radius: 12px; background: #fff; box-shadow: 0 6px 14px -8px rgba(11, 22, 48, 0.3), inset 0 0 0 1px #edf1f7; }
.dm-scr__card i { flex: none; width: 26px; height: 26px; border-radius: 8px; background: #e8effc; }
.dm-scr__card i.g { background: linear-gradient(110deg, #c8912a, #f7e2a0); }
.dm-scr__card span { flex: 1; }
.dm-scr__card span b { display: block; color: #0b1630; font-size: 10.5px; }
.dm-scr__tab { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; justify-content: space-around; padding: 8px; border-radius: 16px; background: #fff; box-shadow: 0 6px 16px -8px rgba(11, 22, 48, 0.35); }
.dm-scr__tab i { width: 18px; height: 4px; border-radius: 3px; background: #d3dae6; transition: background 0.4s, width 0.4s; }
.dm-app[data-screen="0"] .dm-scr__tab i:nth-child(1), .dm-app[data-screen="1"] .dm-scr__tab i:nth-child(2), .dm-app[data-screen="2"] .dm-scr__tab i:nth-child(3), .dm-app:not([data-screen]) .dm-scr__tab i:nth-child(1) { width: 26px; background: #1f4fb8; }
.is-armed .dm-scr.is-on .dm-scr__card { animation: dmStack 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: calc(0.25s + var(--k, 0) * 0.12s); }
@keyframes dmStack { from { opacity: 0; transform: translateY(18px) scale(0.96); } }
.dm-app__side { position: absolute; width: 150px; padding: 12px; border-radius: 14px; font-size: 11px; }
.dm-app__side b { display: block; color: #0b1630; font-size: 12px; margin-bottom: 3px; }
.dm-app__side--a { left: 6%; top: 18%; transform: rotate(-4deg); }
.dm-app__side--b { right: 6%; bottom: 16%; transform: rotate(3deg); }

/* 5. Business digitisation: a paper register becomes a clean screen */
.dm-biz { position: absolute; inset: 24px; overflow: hidden; display: flex; flex-direction: column; transition: background 0.9s, border-radius 0.9s, box-shadow 0.9s; }
.dm-biz__head { display: flex; align-items: center; justify-content: space-between; height: 50px; padding: 0 18px; }
.dm-biz__title { font-size: 15px; line-height: 24px; font-weight: 700; color: #0b1630; }
.dm-biz__tag { font-size: 11px; font-weight: 650; padding: 4px 10px; border-radius: 999px; color: #1d1404; background: linear-gradient(110deg, #c8912a, #f7e2a0, #e2ad3b); }
.dm-biz__cols, .dm-biz__row { display: grid; grid-template-columns: 1.4fr 1fr 0.9fr 0.9fr; gap: 10px; align-items: center; padding: 0 18px; }
.dm-biz__cols { font-size: 10.5px; font-weight: 650; color: #5b6779; text-transform: uppercase; letter-spacing: 0.06em; padding-bottom: 8px; border-bottom: 1px solid #eef1f6; transition: opacity 0.6s; }
.dm-biz__row { height: 42px; font-size: 12.5px; color: #0b1630; border-bottom: 1px solid #eef1f6; transition: transform 0.9s cubic-bezier(0.7, 0, 0.2, 1), color 0.6s, border-color 0.6s; }
.dm-biz__row .dm-pill { justify-self: start; transition: opacity 0.5s; }
.dm-biz__foot { margin-top: auto; display: flex; justify-content: space-between; padding: 12px 18px; font-size: 12px; font-weight: 650; color: #0b1630; background: #f6f8fc; transition: opacity 0.6s; }
/* paper state (set by js/service.js) */
.dm-biz.is-paper {
  background: repeating-linear-gradient(180deg, transparent 0 41px, rgba(40, 90, 170, 0.28) 41px 42px), linear-gradient(180deg, #fbf6e9, #f4ecd6);
  border-radius: 6px; box-shadow: 0 30px 60px -24px rgba(3, 12, 40, 0.8);
}
.dm-biz.is-paper::before { content: ''; position: absolute; top: 0; bottom: 0; left: 46px; width: 1.5px; background: rgba(200, 60, 60, 0.45); }
.dm-biz.is-paper .dm-biz__title, .dm-biz.is-paper .dm-biz__row { font-family: 'Instrument Serif', 'Segoe Script', 'Bradley Hand', cursive; font-style: italic; color: #24407e; font-weight: 400; }
.dm-biz.is-paper .dm-biz__title { font-size: 19px; }
.dm-biz.is-paper .dm-biz__row { font-size: 16px; border-color: transparent; transform: rotate(var(--r, 0deg)) translateX(var(--x, 0)); }
.dm-biz.is-paper .dm-biz__cols, .dm-biz.is-paper .dm-biz__foot, .dm-biz.is-paper .dm-pill, .dm-biz.is-paper .dm-biz__tag { opacity: 0; }
.dm-biz.is-paper .dm-biz__row s { text-decoration-color: rgba(200, 60, 60, 0.8); }
.dm-biz__row s { text-decoration: none; }
.dm-biz__mode { position: absolute; left: 18px; bottom: 50px; font-size: 10.5px; font-weight: 650; color: #5b6779; white-space: nowrap; }

/* 6. Custom software: code becomes an interface */
.dm-code { position: absolute; inset: 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.dm-code__ed { padding: 14px 0; border-radius: 16px; background: #0c1426; color: #d6deeb; font: 11.5px/1.75 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(3, 12, 40, 0.85); }
.dm-code__ed div { position: relative; padding: 0 14px 0 38px; white-space: nowrap; overflow: hidden; }
.dm-code__ed div::before { content: attr(data-n); position: absolute; left: 12px; color: #4b5a78; }
.dm-code__ed .k { color: #9ab8ff; } .dm-code__ed .s { color: #f3d891; } .dm-code__ed .c { color: #93a3c2; }
.dm-code__ui { padding: 16px; display: flex; flex-direction: column; gap: 9px; }
.dm-code__ui > * { transition: opacity 0.45s, transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
.dm-ui__h { font-size: 15px; font-weight: 750; color: #0b1630; letter-spacing: -0.02em; }
.dm-ui__f { display: grid; gap: 3px; font-size: 10.5px; color: #5b6779; }
.dm-ui__f span { height: 28px; border-radius: 8px; background: #f6f8fc; box-shadow: inset 0 0 0 1px #e3e8f0; padding: 7px 9px; color: #0b1630; font-size: 11.5px; }
.dm-ui__btn { align-self: flex-start; padding: 8px 14px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: #1d1404; background: linear-gradient(110deg, #c8912a, #f7e2a0, #e2ad3b); }
.dm-ui__toast { font-size: 11px; padding: 8px 10px; border-radius: 9px; color: #146c3c; background: #e6f6ec; }
.is-armed .dm-code__ed div { max-width: 0; }
.is-armed .dm-code__ed div.is-typed { max-width: 100%; transition: max-width 0.7s steps(28, end); }
.is-armed .dm-code__ui > * { opacity: 0; transform: translateY(8px); }
.is-armed .dm-code__ui > .is-on { opacity: 1; transform: none; }

/* ---------- sections ---------- */
.sv-inc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.sv-inc li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 28px 0; border-top: 1px solid var(--line-2); }
.sv-inc__n {
  font-size: 34px; font-weight: 700; letter-spacing: -0.05em; line-height: 1;
  background: var(--gold-grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.sv-inc h3 { font-size: 21px; letter-spacing: -0.02em; margin-bottom: 8px; }
.sv-inc p { font-size: 16.5px; line-height: 1.6; }
.sv-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.sv-chips li, .sv-chips span { font-size: 12.5px; padding: 5px 10px; border-radius: 8px; color: var(--muted); background: #f1f4f9; box-shadow: inset 0 0 0 1px var(--line); }
.sv-extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.sv-extra { padding: 30px 32px; border-radius: 26px; background: #fff; box-shadow: var(--sh-1), inset 0 0 0 1px var(--line); }
.sv-extra h3 { font-size: 20px; letter-spacing: -0.02em; margin-bottom: 14px; }
.sv-extra .sv-chips { margin-top: 0; }
.sv-extra ul.sv-list li { position: relative; padding-left: 20px; font-size: 16px; line-height: 1.55; }
.sv-extra ul.sv-list li + li { margin-top: 8px; }
.sv-extra ul.sv-list li::before { content: ''; position: absolute; left: 2px; top: 0.6em; width: 7px; height: 7px; border-radius: 2px; transform: rotate(45deg); background: var(--royal-hi); }
.sv-extras--one { grid-template-columns: minmax(0, 1fr); }

.sv-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.sv-steps::before { content: ''; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: linear-gradient(90deg, rgba(226, 173, 59, 0.15), rgba(226, 173, 59, 0.7), rgba(226, 173, 59, 0.15)); }
.sv-steps li { position: relative; }
.sv-steps__n {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px; border-radius: 18px;
  font-size: 15px; font-weight: 700; color: #1d1404; background: var(--gold-grad); background-size: 220% 100%; box-shadow: var(--sh-gold);
}
.sv-steps h3 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 8px; }
.sv-steps p { font-size: 16px; line-height: 1.6; }

.sv-work { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sv-work--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sv-proj {
  display: flex; flex-direction: column; padding: 12px 12px 22px; border-radius: 24px; text-decoration: none; color: var(--text); background: #fff;
  box-shadow: var(--sh-2), inset 0 0 0 1px var(--line); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.sv-proj:hover { transform: translateY(-4px); box-shadow: var(--sh-3), inset 0 0 0 1px var(--line-2); }
.sv-proj__img { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 15px; margin-bottom: 18px; background: #e9eef6; box-shadow: inset 0 0 0 1px var(--line); }
.sv-proj__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.8s var(--ease); }
.sv-proj:hover .sv-proj__img img { transform: scale(1.04); }
.sv-proj__meta, .sv-proj h3, .sv-proj p, .sv-proj__more { padding-inline: 8px; }
.sv-proj__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); }
.sv-proj h3 { font-size: 22px; letter-spacing: -0.025em; margin-bottom: 8px; }
.sv-proj p { font-size: 15px; line-height: 1.55; margin-bottom: 16px; flex: 1; }
.sv-proj__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--royal); }
.sv-proj__more svg { transition: transform 0.35s var(--ease); }
.sv-proj:hover .sv-proj__more svg { transform: translateX(4px); }

.sv-faq { max-width: 860px; }
.sv-faq details { border-top: 1px solid var(--line-2); }
.sv-faq details:last-child { border-bottom: 1px solid var(--line-2); }
.sv-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none;
  font-size: 18.5px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink);
}
.sv-faq summary::-webkit-details-marker { display: none; }
.sv-faq summary::after {
  content: ''; flex: none; width: 30px; height: 30px; border-radius: 50%; background:
    linear-gradient(var(--royal), var(--royal)) center / 11px 2px no-repeat, linear-gradient(var(--royal), var(--royal)) center / 2px 11px no-repeat, #eef3fc;
  transition: transform 0.35s var(--ease);
}
.sv-faq details[open] summary::after { transform: rotate(45deg); }
.sv-faq summary { transition: color 0.25s; }
.sv-faq summary::after { transition: transform 0.35s var(--ease), background-color 0.25s, color 0.25s; }
@media (hover: hover) { .sv-faq summary:hover { color: var(--royal); } }
.sv-faq summary:focus-visible { outline: 3px solid #e2ad3b; outline-offset: 3px; border-radius: 8px; }
.sv-faq details p { padding: 0 50px 24px 0; font-size: 16.5px; line-height: 1.65; }

.sv-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sv-quote { display: flex; flex-direction: column; gap: 18px; padding: 30px; border-radius: 24px; background: #fff; box-shadow: var(--sh-1), inset 0 0 0 1px var(--line); }
.sv-quote blockquote { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--ink); }
.sv-quote figcaption { margin-top: auto; font-size: 14px; color: var(--muted); }
.sv-quote figcaption b { display: block; color: var(--ink); font-size: 15px; }
.sv-guarantee { display: flex; gap: 16px; align-items: flex-start; max-width: 860px; margin-top: 28px; padding: 22px 26px; border-radius: 20px; background: linear-gradient(180deg, #fff, #f6f8fc); box-shadow: inset 0 0 0 1px var(--line); font-size: 16px; line-height: 1.6; }
.sv-guarantee svg { flex: none; color: var(--gold); margin-top: 2px; }

/* "See also" links under the included list */
.sv-see { margin-top: 32px; font-size: 15.5px; color: var(--muted); }
.sv-see a { color: var(--royal); font-weight: 600; text-underline-offset: 3px; }

/* ---------- enquiry form (mobile app, business, software) ---------- */
.sv-form {
  width: min(720px, 100%); margin: 8px auto 34px; padding: 28px; border-radius: 26px; text-align: left;
  background: #fff; box-shadow: var(--sh-2), inset 0 0 0 1px var(--line);
}
.sv-form__title { font-size: 18px; font-weight: 650; color: var(--ink); margin-bottom: 18px; }
.sv-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.sv-form__f { display: grid; gap: 6px; }
.sv-form__f--wide { grid-column: 1 / -1; }
.sv-form label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.sv-form input, .sv-form select, .sv-form textarea {
  width: 100%; min-height: 46px; padding: 11px 14px; border: 0; border-radius: 12px; font: inherit; font-size: 15px; color: var(--ink);
  background: #f6f8fc; box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow 0.2s, background 0.2s;
}
.sv-form textarea { min-height: 110px; resize: vertical; }
.sv-form input:focus, .sv-form select:focus, .sv-form textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--royal-2); }
.sv-form__consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.sv-form__consent input { width: 18px; min-height: 0; height: 18px; margin-top: 2px; padding: 0; flex: none; accent-color: var(--royal); }
.sv-form__consent label { font-weight: 500; color: var(--text); }
.sv-form__consent a { color: var(--royal); }
.sv-form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 4px; }
.sv-form__actions .wk-btn { border: 0; cursor: pointer; font-family: inherit; }
.sv-form__actions .wk-btn[disabled] { opacity: 0.7; cursor: progress; }
.sv-form__status { font-size: 14.5px; }
.sv-form__status.is-ok { color: #146c3c; }
.sv-form__status.is-err { color: #a3361f; }
.sv-form__status a { color: inherit; font-weight: 650; }

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 1100px) {
  .sv-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 44px; padding: 64px 0 72px; }
  .sv-demo { max-width: 620px; width: 100%; margin: 0 auto; }
  .sv-work { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .sv-steps::before { display: none; }
}

/* ==========================================================================
   Phone (< 768px): stacked and static (demos show their finished frame)
   ========================================================================== */
@media (max-width: 767px) {
  .sv-hero__inner { padding: 44px 0 52px; gap: 36px; }
  .sv-hero__title { font-size: clamp(40px, 11.5vw, 56px); }
  .sv-hero__ctas .wk-btn { flex: 1 1 auto; justify-content: center; }
  .sv-demo__stage { height: 320px; border-radius: 20px; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .dm-web, .dm-ai, .dm-erp, .dm-biz, .dm-code { inset: 14px; }
  .dm-erp { grid-template-columns: minmax(0, 1fr); }
  .dm-erp__side { display: none; }
  .dm-erp__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dm-erp__rows div:nth-child(n + 3) { display: none; }
  .dm-app__side { display: none; }
  .dm-phone { width: 168px; height: 300px; }
  .dm-code { grid-template-columns: minmax(0, 1fr); }
  .dm-code__ed { display: none; }
  .dm-biz__cols, .dm-biz__row { grid-template-columns: 1.3fr 1fr 0.9fr; }
  .dm-biz__cols span:nth-child(2), .dm-biz__row span:nth-child(2) { display: none; }
  .dm-biz__mode { display: none; }
  .sv-inc { grid-template-columns: minmax(0, 1fr); }
  .sv-inc li { grid-template-columns: 48px minmax(0, 1fr); padding: 22px 0; }
  .sv-inc__n { font-size: 28px; }
  .sv-extras, .sv-work, .sv-work--2, .sv-quotes { grid-template-columns: minmax(0, 1fr); }
  .sv-extra { padding: 24px; }
  .sv-steps { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .sv-steps__n { width: 48px; height: 48px; margin-bottom: 14px; }
  .sv-proj:hover { transform: none; }
  .sv-faq summary { font-size: 17px; padding: 18px 0; }
  .sv-faq details p { padding-right: 0; }
  .sv-form { padding: 22px 18px; }
  .sv-form__grid { grid-template-columns: minmax(0, 1fr); }
}

/* Phones (2026-11-23): thumb-sized, readable forms and body text.
   16px fields stop iOS Safari from zooming the page on focus; the select
   drops the native look, which WebKit draws 22px tall whatever its height. */
@media (max-width: 767px) {
  .sv-form label { font-size: 15px; }
  .sv-form input, .sv-form select, .sv-form textarea { min-height: 52px; font-size: 16px; }
  .sv-form textarea { min-height: 120px; }
  .sv-form select {
    -webkit-appearance: none; appearance: none; padding-right: 42px;
    background: #f6f8fc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%230b1630' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center;
  }
  .sv-form select:focus { background-color: #fff; }
  .sv-form__grid { gap: 18px; }
  .sv-form__consent { gap: 12px; font-size: 15px; }
  .sv-form__consent input { width: 22px; height: 22px; margin-top: 1px; }
  .sv-form__actions .wk-btn { width: 100%; justify-content: center; min-height: 54px; }
}

/* ==========================================================================
   SIX PAGES, SIX DESIGNS (2026-11-19)
   The shared system (type, buttons, spacing, header/footer, FAQ, related
   work, CTA) stays common; each page gets its own hero, section order and
   signature moment. Classes: .sxh--<page> heroes, .sx-* page components.
   Motion only at 768px+ with motion allowed; phones get the finished state.
   ========================================================================== */

/* ---------- hero shell (replaces the shared blue panel on these pages) ---------- */
.sxh { padding: 88px 12px 0; }
.sxh__panel { position: relative; overflow: hidden; isolation: isolate; border-radius: 34px; }
.sxh__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sxh__inner { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 56px; align-items: center; padding: 84px 0 88px; }
.sxh .sv-hero__title { margin-bottom: 24px; }
.sxh--light .wk-hero__title { color: var(--ink); text-shadow: none; }
.sxh--light .wk-hero__title .wk-serif { filter: drop-shadow(0 6px 14px rgba(120, 78, 8, 0.18)); }
.sxh--light .wk-hero__lede { color: var(--text); }
.sxh--light .sv-hero__count { color: var(--muted); }
.sxh--light .sv-hero__count b { color: var(--gold-text); }
.sxh--light .wk-btn--glass { color: var(--ink); background: #fff; border-color: var(--line-2); box-shadow: var(--sh-1); -webkit-backdrop-filter: none; backdrop-filter: none; }
.sxh--light .wk-btn--glass:hover { background: #fff; box-shadow: var(--sh-2), inset 0 0 0 1px var(--line-2); }

/* demos placed on light ground keep a deep stage of their own */
.sv .sv-demo__stage { background: radial-gradient(90% 80% at 85% 10%, rgba(91, 143, 245, 0.45), rgba(91, 143, 245, 0) 60%), linear-gradient(160deg, #164da5 0%, #12347a 60%, #0d2452 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 40px 80px -36px rgba(3, 12, 40, 0.6); }
.sv .sv-demo figcaption { color: var(--muted); }
.sv .sv-demo figcaption b { color: var(--gold-text); }
.sv :is(.sx-dark, .sxh--ai, .sxh--code) .sv-demo figcaption { color: rgba(255, 255, 255, 0.74); }
.sv :is(.sx-dark, .sxh--ai, .sxh--code) .sv-demo figcaption b { color: #f3d891; }

/* dark sections (used by some pages, never by all) */
.sx-dark { color: rgba(255, 255, 255, 0.82); background: radial-gradient(70% 60% at 90% 0%, rgba(42, 95, 208, 0.35), rgba(42, 95, 208, 0) 70%), linear-gradient(180deg, #0b1734 0%, #091229 100%); }
/* text rules stop at the demos: their cards are white and keep their own colours */
.sx-dark :is(.wk-h2, h3, b):not(.sv-demo *) { color: #fff; }
.sx-dark :is(p, li):not(.sv-demo *) { color: rgba(255, 255, 255, 0.8); }
.sx-dark .co-prose p { color: rgba(255, 255, 255, 0.82); }
.sx-dark .sv-see { color: rgba(255, 255, 255, 0.7); }
.sx-dark .sv-see a { color: #f3d891; }
.sx-dark .wk-eyebrow:not(.wk-eyebrow--light) { color: #9ebcff; }

/* step variants */
.sx-steps-cards { gap: 16px; }
.sx-steps-cards::before { display: none; }
.sx-steps-cards li { padding: 26px 24px 28px; border-radius: 22px; background: #fff; box-shadow: var(--sh-1), inset 0 0 0 1px var(--line); }

/* ==========================================================================
   WEB DEVELOPMENT: light paper, a site building itself, the template strip
   ========================================================================== */
.sxh--web .sxh__panel { background: #fbfcfe; box-shadow: inset 0 0 0 1px var(--line), var(--sh-2); }
.sxh--web .sxh__bg {
  background:
    radial-gradient(50% 60% at 85% 20%, rgba(91, 143, 245, 0.16), rgba(91, 143, 245, 0) 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(226, 173, 59, 0.12), rgba(226, 173, 59, 0) 70%),
    linear-gradient(rgba(11, 22, 48, 0.045) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(11, 22, 48, 0.045) 1px, transparent 1px) 0 0 / 32px 32px;
}
.sx-build {
  position: relative; border-radius: 18px; overflow: hidden; background: #fff; transform: rotate(-1.2deg);
  box-shadow: 0 2px 4px rgba(11, 22, 48, 0.06), 0 30px 70px -24px rgba(11, 22, 48, 0.35), inset 0 0 0 1px var(--line);
}
.sx-build__bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; background: #f1f4f9; border-bottom: 1px solid var(--line); }
.sx-build__bar i { width: 10px; height: 10px; border-radius: 50%; background: #d7dde8; }
.sx-build__bar i:nth-child(1) { background: #f26d6d; } .sx-build__bar i:nth-child(2) { background: #f5bd4f; } .sx-build__bar i:nth-child(3) { background: #3fc06b; }
.sx-build__url { margin-left: 14px; flex: 1; height: 22px; border-radius: 7px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 11.5px; line-height: 22px; padding-left: 10px; color: var(--muted); }
.sx-build__page { display: grid; gap: 14px; padding: 18px 20px 22px; aspect-ratio: 16 / 11; align-content: start; }
.sxb { border-radius: 10px; transition: background-color 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.sxb--nav { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 10px; }
.sxb__logo { width: 70px; height: 12px; border-radius: 4px; background: #0b1630; }
.sxb__links { display: flex; gap: 10px; margin-left: auto; } .sxb__links i { width: 34px; height: 7px; border-radius: 4px; background: #c9d2e1; }
.sxb__btn { width: 64px; height: 22px; border-radius: 999px; background: var(--gold-grad); background-size: 220% 100%; }
.sxb--hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; padding: 18px; background: linear-gradient(160deg, #164da5, #102a5e); }
.sxb__copy { display: grid; gap: 9px; align-content: center; }
.sxb__l { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.55); }
.sxb__l--h { height: 16px; width: 90%; background: #fff; } .sxb__l--h2 { height: 16px; width: 70%; background: #fff; } .sxb__l--s { width: 60%; }
.sxb__cta { width: 86px; height: 24px; margin-top: 6px; border-radius: 999px; background: var(--gold-grad); background-size: 220% 100%; }
.sxb__img { border-radius: 10px; min-height: 120px; background: radial-gradient(60% 70% at 60% 40%, rgba(243, 216, 145, 0.9), rgba(243, 216, 145, 0) 70%), linear-gradient(160deg, #5b8ff5, #2a5fd0); }
.sxb--cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sxb--cards span { height: 70px; border-radius: 10px; background: #f1f4f9; box-shadow: inset 0 0 0 1px var(--line); }
.sxb--foot { display: flex; gap: 10px; padding: 0 4px; } .sxb--foot i { width: 44px; height: 6px; border-radius: 3px; background: #d7dde8; }
.sx-build__tag { position: absolute; right: 14px; bottom: 12px; font-size: 11px; font-weight: 600; color: var(--muted); padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); box-shadow: inset 0 0 0 1px var(--line); }
/* wireframe phase (desktop motion): JS toggles .is-wire, then blocks paint in one by one */
.wk-motion .sx-build.is-wire .sxb { background-color: transparent !important; box-shadow: inset 0 0 0 1.5px rgba(42, 95, 208, 0.35); }
.wk-motion .sx-build.is-wire .sxb * { opacity: 0.18; }
.wk-motion .sx-build .sxb * { transition: opacity 0.6s var(--ease); }
.wk-motion .sx-build .sxb.is-hidden { opacity: 0; transform: translateY(10px); }
.wk-motion .sx-build .sxb { transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), background-color 0.6s, box-shadow 0.6s; }

/* template strip on a navy band */
.sx-band { padding: 104px 0 96px; color: rgba(255, 255, 255, 0.8); background: radial-gradient(60% 80% at 15% 0%, rgba(42, 95, 208, 0.45), rgba(42, 95, 208, 0) 70%), radial-gradient(40% 60% at 100% 100%, rgba(226, 173, 59, 0.16), rgba(226, 173, 59, 0) 70%), #0a1532; overflow: hidden; }
.sx-band .wk-h2 { color: #fff; max-width: 16ch; }
.sx-band__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; margin-bottom: 44px; }
.sx-band__lead { font-size: 17px; color: rgba(255, 255, 255, 0.76); }
.sx-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.sx-marquee__track { display: flex; gap: 22px; width: max-content; padding: 10px 0 18px; }
.sx-marquee__track > li { flex: none; }
.sx-tpl { position: relative; display: block; width: 360px; padding: 0; border: 0; background: none; text-align: left; color: inherit; font: inherit; cursor: pointer; }
.sx-tpl__img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 18px; background: #12234a; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.sx-tpl__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.sx-tpl__cap { display: flex; flex-direction: column; gap: 2px; padding: 14px 4px 0; }
.sx-tpl__cap b { font-size: 17px; font-weight: 650; color: #fff; }
.sx-tpl__cap span { font-size: 14px; color: rgba(255, 255, 255, 0.7); }
.sx-tpl__play { position: absolute; left: 16px; top: 16px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #1d1404; background: var(--gold-grad); background-size: 220% 100%; box-shadow: var(--sh-gold); transition: transform 0.4s var(--ease); }
.sx-tpl:focus-visible { outline: 3px solid #e2ad3b; outline-offset: 6px; border-radius: 20px; }
@media (hover: hover) and (pointer: fine) {
  .sx-tpl:hover .sx-tpl__img img { transform: scale(1.06); }
  .sx-tpl:hover .sx-tpl__play { transform: scale(1.12); }
}
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .sx-marquee__track { animation: sxMarquee 70s linear infinite; }
  .sx-marquee:hover .sx-marquee__track, .sx-marquee:focus-within .sx-marquee__track, .sx-marquee.is-paused .sx-marquee__track { animation-play-state: paused; }
}
@keyframes sxMarquee { to { transform: translateX(calc(-50% - 11px)); } }
/* phones and reduced motion: a strip you swipe, one copy only */
@media (max-width: 767px), (prefers-reduced-motion: reduce) {
  .sx-marquee { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-mask-image: none; mask-image: none; padding: 0 16px; }
  .sx-marquee::-webkit-scrollbar { display: none; }
  .sx-marquee__track > li { scroll-snap-align: center; }
  .sx-marquee__track > li.sx-dup { display: none; }
}

/* the large preview (Netflix-style): a native <dialog>, so Escape and focus are built in */
.sx-player { padding: 0; border: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; background: transparent; overflow: hidden; }
.sx-player::backdrop { background: rgba(4, 9, 24, 0.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sx-player[open] { display: grid; place-items: center; }
.sx-player__panel { position: relative; width: min(1120px, 92vw); border-radius: 22px; overflow: hidden; background: #0a1532; box-shadow: 0 60px 120px -30px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.12); transform-origin: 0 0; }
.sx-player__media { aspect-ratio: 16 / 9; background: #000; }
.sx-player__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.sx-player__bar { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; padding: 18px 24px 20px; }
.sx-player__title { font-size: 22px; font-weight: 650; letter-spacing: -0.02em; color: #fff; }
.sx-player__note { font-size: 14px; color: rgba(255, 255, 255, 0.72); }
.sx-player__close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; color: #fff; cursor: pointer; background: rgba(10, 21, 50, 0.72); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color 0.25s, transform 0.25s var(--ease); }
.sx-player__close:hover { background: rgba(10, 21, 50, 0.92); transform: scale(1.06); }
.sx-player__close:focus-visible { outline: 3px solid #e2ad3b; outline-offset: 3px; }
html.sx-locked { overflow: hidden; }

.sx-web-why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.sx-web-why .co-head { margin-bottom: 28px; }
.sx-big { font-size: clamp(38px, 5vw, 72px) !important; max-width: 14ch !important; }
.sx-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sx-bento li { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 10px; padding: 26px; border: 0; border-radius: 24px; background: #fff; box-shadow: var(--sh-1), inset 0 0 0 1px var(--line); }
.sx-bento li:nth-child(1), .sx-bento li:nth-child(6) { grid-column: span 2; background: linear-gradient(160deg, #164da5, #102a5e); }
.sx-bento li:nth-child(1) :is(h3, p), .sx-bento li:nth-child(6) :is(h3, p) { color: #fff; }
.sx-bento li:nth-child(1) p, .sx-bento li:nth-child(6) p { color: rgba(255, 255, 255, 0.84); }
.sx-bento li:nth-child(1) .sv-chips li, .sx-bento li:nth-child(6) .sv-chips li { color: #fff; background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.sx-bento li:nth-child(1) .sv-inc__n, .sx-bento li:nth-child(6) .sv-inc__n { color: #f3d891; }
.sx-bento .sv-chips li { padding: 4px 9px; border-radius: 7px; box-shadow: inset 0 0 0 1px var(--line); background: #f1f4f9; }
.sx-terms { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr); gap: 32px; padding: 34px 36px; border-radius: 26px; background: #fff; box-shadow: var(--sh-2), inset 0 0 0 1px var(--line); }
.sx-terms h3 { font-size: 26px; letter-spacing: -0.03em; }
.sx-terms ul { display: grid; gap: 12px; }
.sx-terms li { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.55; }
.sx-terms li::before { content: ''; position: absolute; left: 0; top: 0.35em; width: 14px; height: 14px; border-radius: 50%; background: var(--gold-grad); background-size: 220% 100%; box-shadow: var(--sh-gold); }
.sx-web-quotes { background: linear-gradient(180deg, var(--bg), #eef2f9); }
.sx-rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px; margin: 0 -4px; scrollbar-width: thin; }
.sx-rail .sv-quote { flex: none; width: 340px; scroll-snap-align: start; }

/* ==========================================================================
   AI & AUTOMATION: near-black, a live flow through an agent
   ========================================================================== */
.sxh--ai .sxh__panel { background: #050a18; box-shadow: var(--sh-3); }
.sxh--ai .sxh__bg { background: radial-gradient(55% 60% at 50% 105%, rgba(42, 95, 208, 0.55), rgba(42, 95, 208, 0) 70%), radial-gradient(30% 40% at 50% 70%, rgba(226, 173, 59, 0.16), rgba(226, 173, 59, 0) 70%), radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1.2px) 0 0 / 22px 22px; }
.sxh--ai .sxh__inner { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 36px; padding: 88px 0 56px; }
.sxh--ai .sxh__copy { display: flex; flex-direction: column; align-items: center; max-width: 820px; }
.sxh--ai .sv-hero__ctas { justify-content: center; }
.sx-flow { position: relative; width: 100%; height: 320px; }
.sx-flow__wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sx-flow__wires path { fill: none; stroke: rgba(158, 188, 255, 0.28); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 4 6; }
.sx-node { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: grid; gap: 2px; min-width: 150px; padding: 12px 16px; border-radius: 16px; text-align: left; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 20px 40px -20px rgba(0, 0, 0, 0.8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sx-node b { font-size: 15px; color: #fff; font-weight: 650; }
.sx-node i { font-style: normal; font-size: 12.5px; color: rgba(255, 255, 255, 0.7); }
.sx-node--agent { min-width: 190px; padding: 18px 22px; text-align: center; border-radius: 20px; background: radial-gradient(80% 90% at 50% 0%, rgba(243, 216, 145, 0.25), rgba(243, 216, 145, 0) 70%), rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1.5px rgba(243, 216, 145, 0.6), 0 0 0 8px rgba(226, 173, 59, 0.08), 0 30px 60px -24px rgba(0, 0, 0, 0.9); }
.sx-node--agent b { font-size: 19px; color: #f3d891; }
.sx-node.is-hit { box-shadow: inset 0 0 0 1.5px rgba(158, 188, 255, 0.8), 0 0 24px rgba(91, 143, 245, 0.45); }
.sx-node--agent.is-hit { box-shadow: inset 0 0 0 1.5px #f3d891, 0 0 0 10px rgba(226, 173, 59, 0.16), 0 0 40px rgba(226, 173, 59, 0.4); }
.sx-node { transition: box-shadow 0.5s var(--ease); }
.sx-flow__dots i { position: absolute; left: 0; top: 0; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #f3d891; box-shadow: 0 0 12px 2px rgba(243, 216, 145, 0.75); opacity: 0; }
.sx-flow__tag { position: absolute; right: 0; bottom: -6px; font-size: 11.5px; color: rgba(255, 255, 255, 0.62); }
.sx-ai-whysec { padding-top: 112px; }
.sx-ai-why__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 64px; }
.sx-ai-why__cols p { font-size: 21px; line-height: 1.6; color: rgba(255, 255, 255, 0.84); }
.sx-ai-why__cols p:first-child { color: #fff; }
.sx-ai-pipe { padding-top: 40px; }
.sx-pipe { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.sx-pipe::before { content: ''; position: absolute; left: 4%; right: 4%; top: 26px; height: 2px; background: linear-gradient(90deg, rgba(158, 188, 255, 0.1), rgba(158, 188, 255, 0.5), rgba(243, 216, 145, 0.7)); }
.sx-pipe li { position: relative; padding-top: 0; }
.sx-pipe__n { position: relative; display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; border-radius: 16px; font-size: 14px; font-weight: 650; color: #fff; background: #0f1d3f; box-shadow: inset 0 0 0 1px rgba(158, 188, 255, 0.35); }
.sx-pipe li:last-child .sx-pipe__n { color: #1d1404; background: var(--gold-grad); background-size: 220% 100%; box-shadow: var(--sh-gold); }
.sx-pipe p { font-size: 15px; line-height: 1.55; }
.sx-pipe b { display: block; font-size: 16.5px; margin-bottom: 4px; }
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .sx-pipe::after { content: ''; position: absolute; left: 4%; top: 22px; width: 90px; height: 10px; border-radius: 10px; background: radial-gradient(closest-side, rgba(243, 216, 145, 0.95), rgba(243, 216, 145, 0)); animation: sxPulse 5.5s cubic-bezier(0.45, 0, 0.25, 1) infinite; }
}
@keyframes sxPulse { 0% { transform: translateX(0); opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translateX(min(1100px, 82vw)); opacity: 0; } }
.sx-ai-live { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.sx-ai-live__demo { position: sticky; top: 110px; }
.sx-caps { grid-template-columns: minmax(0, 1fr); }
.sx-caps li { padding: 22px 0; }
.sx-ind { text-align: center; display: flex; flex-direction: column; align-items: center; }
.sx-ind .wk-h2 { max-width: none; margin-bottom: 36px; }
.sx-ind__cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; }
.sx-ind__cloud li { padding: 14px 24px; border-radius: 999px; font-size: 18px; font-weight: 600; color: var(--ink); background: #fff; box-shadow: var(--sh-1), inset 0 0 0 1px var(--line); }
.sx-ind__cloud li:nth-child(3n + 1) { font-size: 22px; padding: 16px 28px; }
.sx-ind__cloud li:nth-child(4n + 2) { color: #fff; background: linear-gradient(160deg, #1b5bba, #102a5e); box-shadow: var(--sh-2); }

/* ==========================================================================
   ERP: split hero, modules joining one core, a dashboard of example data
   ========================================================================== */
.sxh--erp .sxh__panel { background: #fff; box-shadow: var(--sh-2), inset 0 0 0 1px var(--line); }
.sxh--erp .sxh__bg { left: 52%; background: radial-gradient(70% 60% at 50% 50%, rgba(42, 95, 208, 0.5), rgba(42, 95, 208, 0) 70%), linear-gradient(160deg, #0f2552 0%, #0a1834 100%); }
.sxh--erp .sxh__inner { grid-template-columns: minmax(0, 52fr) minmax(0, 48fr); gap: 0; padding: 0; }
.sxh--erp .sxh__copy { padding: 96px 56px 96px 0; }
.sx-map { position: relative; height: 520px; margin-left: 48px; }
.sx-map__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sx-map__lines line { stroke: rgba(243, 216, 145, 0.55); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.sx-mod { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); padding: 10px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; color: #fff; white-space: nowrap; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.sx-map__core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 168px; height: 168px; border-radius: 50%; text-align: center; color: #1d1404; background: var(--gold-grad); background-size: 220% 100%; box-shadow: var(--sh-gold), 0 0 0 14px rgba(226, 173, 59, 0.12), 0 0 0 30px rgba(226, 173, 59, 0.06); }
.sx-map__core b { display: block; font-size: 20px; letter-spacing: -0.02em; }
.sx-map__core i { display: block; font-style: normal; font-size: 12px; margin-top: -26px; }
.sx-map__tag { position: absolute; right: 0; bottom: 12px; font-size: 11.5px; color: rgba(255, 255, 255, 0.66); }
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .sx-map__lines line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: sxDraw 6s var(--ease) infinite; animation-delay: calc(var(--k) * 0.25s); }
  .sx-mod { animation: sxModIn 6s var(--ease) infinite; animation-delay: calc(var(--k) * 0.25s); }
  .sx-map__core { animation: sxCore 6s var(--ease) infinite; }
}
@keyframes sxDraw { 0% { stroke-dashoffset: 1; } 30%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
@keyframes sxModIn { 0% { opacity: 0.25; } 30%, 88% { opacity: 1; } 100% { opacity: 0.25; } }
@keyframes sxCore { 0%, 25% { background-position: 20% 0; } 45% { background-position: 80% 0; } 88%, 100% { background-position: 20% 0; } }
.sx-vs { display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); align-items: stretch; }
.sx-vs__side { padding: 36px; border-radius: 28px; }
.sx-vs__side p { font-size: 17.5px; line-height: 1.65; }
.sx-vs__side--before { background: #f1f3f7; box-shadow: inset 0 0 0 1px var(--line); }
.sx-vs__side--after { color: rgba(255, 255, 255, 0.86); background: linear-gradient(160deg, #164da5, #102a5e); box-shadow: var(--sh-3); }
.sx-vs__side--after p { color: rgba(255, 255, 255, 0.88); }
.sx-vs__label { display: inline-block; margin-bottom: 16px; font-size: 12.5px; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.sx-vs__side--after .sx-vs__label { color: #f3d891; }
.sx-vs__mid { display: grid; place-items: center; }
.sx-vs__mid span { width: 44px; height: 44px; border-radius: 50%; background: var(--gold-grad); background-size: 220% 100%; box-shadow: var(--sh-gold); position: relative; }
.sx-vs__mid span::after { content: ''; position: absolute; left: 14px; top: 16px; width: 10px; height: 10px; border-top: 2.5px solid #1d1404; border-right: 2.5px solid #1d1404; transform: rotate(45deg); }
.sx-scatter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.sx-scatter span { padding: 6px 12px; border-radius: 8px; font-size: 13px; color: var(--muted); background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); transform: rotate(var(--r, -2deg)); }
.sx-scatter span:nth-child(even) { --r: 2.5deg; }
.sx-one { margin-top: 22px; } .sx-one span { display: inline-block; padding: 10px 16px; border-radius: 12px; font-weight: 650; color: #1d1404; background: var(--gold-grad); background-size: 220% 100%; box-shadow: var(--sh-gold); }
.sx-erp-dash { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 56px; align-items: center; }
.sx-erp-dash .sv-demo__stage { height: 460px; }
.sx-modgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; position: relative; }
.sx-modgrid li { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 24px; border: 0; border-radius: 20px; background: #fff; box-shadow: var(--sh-1), inset 0 0 0 1px var(--line); position: relative; }
.sx-modgrid li::before { content: ''; position: absolute; top: -8px; left: 24px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold-grad); background-size: 220% 100%; box-shadow: 0 0 0 4px #eef2f9; }
.sx-erp-how { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.sx-tl { position: relative; padding-left: 40px; }
.sx-tl::before { content: ''; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: var(--line-2); }
.sx-tl::after { content: ''; position: absolute; left: 11px; top: 6px; width: 2px; height: calc((100% - 12px) * var(--p, 1)); background: var(--gold-grad); background-size: 100% 300%; }
.sx-tl li { position: relative; padding: 0 0 34px; }
.sx-tl__dot { position: absolute; left: -36px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3px var(--royal); }
.sx-tl p { font-size: 17px; line-height: 1.6; }
.sx-tl b { display: block; font-size: 19px; color: var(--ink); margin-bottom: 4px; }
.sx-sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sx-sectors li { padding: 26px; border-radius: 22px; background: #fff; box-shadow: var(--sh-1), inset 0 0 0 1px var(--line); border-top: 3px solid transparent; background-image: linear-gradient(#fff, #fff), var(--gold-grad); background-origin: border-box; background-clip: padding-box, border-box; }
.sx-sectors p { font-size: 16px; line-height: 1.6; } .sx-sectors b { display: block; font-size: 18px; color: var(--ink); margin-bottom: 6px; }

/* ==========================================================================
   APP DEVELOPMENT: warm ivory with gold, fanned phones, swiping screens
   ========================================================================== */
.sxh--app .sxh__panel { background: #fbf7ee; box-shadow: inset 0 0 0 1px rgba(192, 138, 30, 0.18), var(--sh-2); }
.sxh--app .sxh__bg { background: radial-gradient(50% 70% at 80% 40%, rgba(226, 173, 59, 0.32), rgba(226, 173, 59, 0) 70%), radial-gradient(40% 50% at 10% 100%, rgba(91, 143, 245, 0.12), rgba(91, 143, 245, 0) 70%); }
.sxh--app .sxh__bg::before { content: ''; position: absolute; right: -180px; top: -220px; width: 760px; height: 760px; border-radius: 50%; border: 1px solid rgba(192, 138, 30, 0.3); box-shadow: 0 0 0 70px rgba(192, 138, 30, 0.04), 0 0 0 140px rgba(192, 138, 30, 0.03); }
.sx-fan { position: relative; }
.sxh--app .sv-demo__stage { background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; height: 470px; overflow: visible; }
.sx-fan__ph { position: absolute; top: 60px; width: 190px; height: 390px; border-radius: 34px; padding: 10px; background: #0c1222; box-shadow: 0 30px 60px -24px rgba(11, 22, 48, 0.55); z-index: 0; }
.sx-fan__ph--l { left: 2%; transform: rotate(-11deg); }
.sx-fan__ph--r { right: 2%; transform: rotate(11deg); }
.sx-fan .sv-demo { position: relative; z-index: 1; }
.sx-scr { display: grid; gap: 8px; height: 100%; padding: 34px 12px 12px; border-radius: 26px; background: #f5f7fb; align-content: start; }
.sx-scr i { height: 44px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.sx-scr--list i:first-child { height: 70px; background: linear-gradient(160deg, #e2ad3b, #c08a1e); }
.sx-scr--map { background: radial-gradient(circle at 40% 40%, #dbe5f6 0 30%, transparent 31%), linear-gradient(135deg, #eef3fb, #dfe7f5); }
.sx-scr--map i:first-child { height: 120px; background: transparent; box-shadow: none; }
.sx-scr--map i:last-child { margin-top: auto; height: 60px; }
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .sx-fan__ph--l { animation: sxFloatL 7s ease-in-out infinite alternate; }
  .sx-fan__ph--r { animation: sxFloatR 7s ease-in-out infinite alternate; }
}
@keyframes sxFloatL { from { transform: rotate(-11deg) translateY(0); } to { transform: rotate(-8deg) translateY(-14px); } }
@keyframes sxFloatR { from { transform: rotate(11deg) translateY(-10px); } to { transform: rotate(8deg) translateY(4px); } }
.sx-app-why { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.sx-app-why__paras p { font-size: 19px; line-height: 1.65; }
.sx-app-why__paras p + p { margin-top: 18px; }
.sx-screens { margin-top: 72px; overflow: hidden; }
.sx-screens__track { display: flex; gap: 28px; width: max-content; padding: 10px max(24px, calc((100vw - 1240px) / 2)); transform: translateX(var(--sx, 0px)); }
.sx-screens__track li { display: grid; justify-items: center; gap: 14px; }
.sx-ph { display: block; width: 200px; height: 410px; padding: 10px; border-radius: 36px; background: #0c1222; box-shadow: 0 30px 60px -28px rgba(11, 22, 48, 0.5); }
.sx-ph__scr { display: grid; gap: 9px; height: 100%; padding: 36px 12px 12px; border-radius: 28px; background: #f5f7fb; align-content: start; }
.sx-ph__scr i { height: 46px; border-radius: 11px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.sx-ph__scr--home i:first-child { height: 110px; background: linear-gradient(160deg, #1b5bba, #102a5e); }
.sx-ph__scr--grid { grid-template-columns: 1fr 1fr; } .sx-ph__scr--grid i { height: 96px; }
.sx-ph__scr--product i:first-child { height: 170px; background: linear-gradient(160deg, #f3d891, #c08a1e); }
.sx-ph__scr--cart i:last-child { margin-top: 40px; height: 40px; background: var(--gold-grad); background-size: 220% 100%; }
.sx-ph__scr--track { background: radial-gradient(circle at 60% 35%, rgba(42, 95, 208, 0.25) 0 12%, transparent 13%), linear-gradient(135deg, #eef3fb, #dfe7f5); }
.sx-ph__scr--track i { height: 30px; } .sx-ph__scr--track i:first-child { height: 150px; background: transparent; box-shadow: none; }
.sx-ph__scr--profile i:first-child { width: 70px; height: 70px; border-radius: 50%; justify-self: center; background: linear-gradient(160deg, #5b8ff5, #1f4fb8); }
.sx-ph__label { font-size: 14px; font-weight: 600; color: var(--muted); }
.sx-screens__tag { margin: 8px 0 0; text-align: center; font-size: 12.5px; color: var(--muted); }
.sx-twocol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.sx-stages { display: grid; gap: 12px; }
.sx-stages li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 32px; align-items: center; padding: 22px 26px; border-radius: 20px; background: #fff; box-shadow: var(--sh-1), inset 0 0 0 1px var(--line); }
.sx-stages p { order: -1; font-size: 15.5px; line-height: 1.55; } .sx-stages b { display: block; font-size: 18px; color: var(--ink); margin-bottom: 4px; }
.sx-stage__bar { position: relative; height: 14px; border-radius: 999px; background: #f1f4f9; box-shadow: inset 0 0 0 1px var(--line); }
.sx-stage__bar::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--w, 12) / 12 * 100%); border-radius: inherit; background: var(--gold-grad); background-size: 220% 100%; transform-origin: 0 50%; }
.sx-stages li:not([style]) .sx-stage__bar::after { background: repeating-linear-gradient(90deg, rgba(192, 138, 30, 0.55) 0 10px, transparent 10px 18px); }
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .wk-motion .sx-stages li.wk-pending .sx-stage__bar::after { transform: scaleX(0); }
  .wk-motion .sx-stages li.wk-in .sx-stage__bar::after { transform: none; transition: transform 1.2s var(--ease) 0.3s; }
}
.sx-app-kinds .wk-h2 { max-width: 20ch; }
.sx-kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sx-kinds li { padding: 22px 24px; border-radius: 20px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.sx-kinds p { font-size: 15px; line-height: 1.55; } .sx-kinds b { display: block; color: #f3d891 !important; font-size: 16.5px; margin-bottom: 4px; }

/* ==========================================================================
   BUSINESS DIGITIZATION: a ruled register page; paper becomes records
   ========================================================================== */
.sxh--biz .sxh__panel { background: #fbf7ec; box-shadow: inset 0 0 0 1px rgba(36, 64, 126, 0.12), var(--sh-2); }
.sxh--biz .sxh__bg { background: linear-gradient(90deg, transparent 0 63px, rgba(200, 60, 60, 0.35) 63px 65px, transparent 65px), repeating-linear-gradient(180deg, transparent 0 35px, rgba(36, 64, 126, 0.12) 35px 36px); }
.sxh--biz .wk-hero__title { font-size: clamp(46px, 5.8vw, 88px); }
.sx-ledger { position: relative; }
.sx-ledger__sheet { position: absolute; inset: 30px 30px 60px; border-radius: 10px; background: #fffdf6; box-shadow: 0 10px 30px -14px rgba(36, 64, 126, 0.35), inset 0 0 0 1px rgba(36, 64, 126, 0.1); }
.sx-ledger__sheet--1 { transform: rotate(-5deg) translate(-26px, 10px); }
.sx-ledger__sheet--2 { transform: rotate(3.5deg) translate(20px, 4px); }
.sx-ledger .sv-demo { position: relative; z-index: 1; }
.sx-ledger__steps { position: absolute; z-index: 2; left: 50%; top: -18px; transform: translateX(-50%); display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: #fff; box-shadow: var(--sh-2); }
.sx-ledger__steps i { font-style: normal; font-size: 12.5px; font-weight: 650; padding: 5px 12px; border-radius: 999px; color: var(--muted); }
.sx-ledger__steps i:last-child { color: #fff; background: var(--royal); }
.sxh--biz .sv-demo__stage { background: #fffdf6; box-shadow: 0 30px 60px -28px rgba(36, 64, 126, 0.5), inset 0 0 0 1px rgba(36, 64, 126, 0.12); }
.sx-paper { background: repeating-linear-gradient(180deg, #fbf7ec 0 35px, rgba(36, 64, 126, 0.08) 35px 36px); }
.sx-ba { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sx-ba__card { position: relative; padding: 38px 36px 36px; border-radius: 24px; }
.sx-ba__card p { font-size: 18px; line-height: 1.65; }
.sx-ba__card--before { background: #fffdf6; box-shadow: 0 16px 40px -24px rgba(36, 64, 126, 0.35), inset 0 0 0 1px rgba(36, 64, 126, 0.14); transform: rotate(-1deg); }
.sx-ba__card--before p { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.5; color: #24407e; }
.sx-ba__card--after { background: #fff; box-shadow: var(--sh-3), inset 0 0 0 1px var(--line); }
.sx-ba__tag { position: absolute; top: -14px; left: 28px; padding: 5px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: #b4473a; }
.sx-ba__card--after .sx-ba__tag { color: #1d1404; background: var(--gold-grad); background-size: 220% 100%; }
.sx-register { grid-template-columns: minmax(0, 1fr); gap: 0; border-radius: 18px; overflow: hidden; background: #fffdf6; box-shadow: var(--sh-1), inset 0 0 0 1px rgba(36, 64, 126, 0.12); }
.sx-register li { grid-template-columns: 88px minmax(0, 1fr); gap: 0 28px; padding: 22px 28px 22px 0; border-top: 1px solid rgba(36, 64, 126, 0.12); position: relative; }
.sx-register li:first-child { border-top: 0; }
.sx-register li::before { content: ''; position: absolute; left: 76px; top: 0; bottom: 0; width: 1.5px; background: rgba(200, 60, 60, 0.4); }
.sx-register .sv-inc__n { justify-self: center; font-family: var(--serif); font-style: italic; font-size: 26px; color: #24407e; background: none; box-shadow: none; }
.sx-who { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; }
.sx-who li { padding: 18px 0; border-bottom: 1px dashed rgba(36, 64, 126, 0.25); }
.sx-who p { font-size: 16.5px; line-height: 1.55; } .sx-who b { color: var(--ink); }
.sx-path { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.sx-path li { position: relative; padding: 26px; border-radius: 22px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.sx-path__n { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%; font-weight: 700; color: #1d1404; background: var(--gold-grad); background-size: 220% 100%; box-shadow: var(--sh-gold); }
.sx-path p { font-size: 15.5px; line-height: 1.6; } .sx-path b { display: block; font-size: 17px; margin-bottom: 4px; }

/* ==========================================================================
   CUSTOM SOFTWARE: blueprint, a system snapping together
   ========================================================================== */
.sxh--code .sxh__panel { background: #0b2a5b; box-shadow: var(--sh-3); }
.sxh--code .sxh__bg { background: linear-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px) 0 0 / 96px 96px, linear-gradient(90deg, rgba(255, 255, 255, 0.11) 1px, transparent 1px) 0 0 / 96px 96px, linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 24px 24px, radial-gradient(60% 60% at 80% 50%, rgba(91, 143, 245, 0.35), rgba(91, 143, 245, 0) 70%); }
.sxh--code .wk-eyebrow { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; }
.sx-bp { position: relative; height: 470px; }
.sx-bp__wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sx-bp__wires path { fill: none; stroke: rgba(243, 216, 145, 0.7); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 5 5; }
.sx-bp__box { position: absolute; left: var(--x); top: var(--y); width: 28%; padding: 22px 16px; border-radius: 6px; font: 600 14px/1.2 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; letter-spacing: 0.02em; color: #fff; text-align: center; background: rgba(11, 42, 91, 0.85); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7), 0 0 0 4px rgba(11, 42, 91, 0.9); }
.sx-bp__box--api { width: 24%; color: #1d1404; background: var(--gold-grad); background-size: 220% 100%; box-shadow: var(--sh-gold); }
.sx-bp__box--db { border-radius: 50% / 22%; }
.sx-bp__box::before, .sx-bp__box::after { content: ''; position: absolute; width: 8px; height: 8px; border: 1.5px solid rgba(243, 216, 145, 0.9); }
.sx-bp__box::before { left: -5px; top: -5px; border-right: 0; border-bottom: 0; }
.sx-bp__box::after { right: -5px; bottom: -5px; border-left: 0; border-top: 0; }
.sx-bp__dim { position: absolute; left: 8%; right: 12%; top: -6px; height: 12px; border-left: 1px solid rgba(255, 255, 255, 0.5); border-right: 1px solid rgba(255, 255, 255, 0.5); }
.sx-bp__dim::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid rgba(255, 255, 255, 0.4); }
.sx-bp__dim i { position: absolute; left: 50%; top: -8px; transform: translateX(-50%); padding: 0 8px; font: 11px ui-monospace, Menlo, monospace; font-style: normal; color: rgba(255, 255, 255, 0.72); background: #0b2a5b; }
.sx-bp__tag { position: absolute; right: 0; bottom: 0; font: 11px ui-monospace, Menlo, monospace; color: rgba(255, 255, 255, 0.66); }
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .sx-bp__box { animation: sxSnap 7s var(--ease) infinite; animation-delay: calc(var(--k) * 0.18s); }
  .sx-bp__wires path { animation: sxWire 7s linear infinite; }
}
@keyframes sxSnap { 0% { opacity: 0; transform: translate(calc((var(--k) - 2.5) * 14px), -26px) rotate(calc((var(--k) - 2.5) * 2deg)); } 14% { opacity: 1; transform: none; } 90% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(8px); } }
@keyframes sxWire { 0%, 22% { opacity: 0; stroke-dashoffset: 40; } 32% { opacity: 1; } 88% { opacity: 1; stroke-dashoffset: 0; } 100% { opacity: 0; } }
.sx-spec { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.sx-spec__sheet { position: relative; padding: 44px 44px 40px; border-radius: 6px; background: #fff; box-shadow: var(--sh-2), inset 0 0 0 1px var(--line-2); background-image: linear-gradient(rgba(42, 95, 208, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(42, 95, 208, 0.06) 1px, transparent 1px); background-size: 24px 24px; }
.sx-spec__sheet p { font-size: 19px; line-height: 1.65; color: var(--ink); }
.sx-spec__sheet p + p { margin-top: 18px; }
.sx-spec__ref { position: absolute; top: 14px; right: 16px; font: 600 11.5px ui-monospace, Menlo, monospace; letter-spacing: 0.1em; text-transform: uppercase; color: var(--royal); }
.sx-stack { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.sx-stack li { grid-template-columns: 90px minmax(0, 1fr); gap: 24px; padding: 22px 28px; border: 0; border-radius: 14px; background: #fff; box-shadow: var(--sh-1), inset 0 0 0 1px var(--line); }
.sx-stack li:nth-child(odd) { margin-right: 6%; } .sx-stack li:nth-child(even) { margin-left: 6%; }
.sx-stack .sv-inc__n { font-family: ui-monospace, Menlo, monospace; }
.sx-blueprint { background: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 48px 48px, linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 48px 48px, #0b2a5b; }
.sx-bpline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-top: 36px; }
.sx-bpline::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 14px; border-left: 1px solid rgba(255, 255, 255, 0.5); border-right: 1px solid rgba(255, 255, 255, 0.5); background: linear-gradient(rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.45)) 0 50% / 100% 1px no-repeat; }
.sx-bpline li { position: relative; padding: 24px; border-radius: 6px; background: rgba(11, 42, 91, 0.75); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.sx-bpline__n { display: inline-block; margin-bottom: 12px; font: 600 13px ui-monospace, Menlo, monospace; color: #f3d891; }
.sx-bpline p { font-size: 15.5px; line-height: 1.6; }
.sx-fit { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 20px; }
.sx-fit ul { padding: 30px 32px; border-radius: 24px; display: grid; gap: 14px; align-content: start; }
.sx-fit__yes { background: #fff; box-shadow: var(--sh-2), inset 0 0 0 1px var(--line); }
.sx-fit__no { background: #f1f3f7; box-shadow: inset 0 0 0 1px var(--line-2); }
.sx-fit li { position: relative; padding-left: 34px; font-size: 16.5px; line-height: 1.55; }
.sx-fit__yes li::before { content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #1f9d55; }
.sx-fit__yes li::after { content: ''; position: absolute; left: 6px; top: 7px; width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.sx-fit__no li::before, .sx-fit__no li::after { content: ''; position: absolute; left: 3px; top: 11px; width: 14px; height: 2px; background: #b4473a; transform: rotate(45deg); }
.sx-fit__no li::after { transform: rotate(-45deg); }
.sx-code-demo { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 56px; align-items: center; }

/* ---------- tablet / phone ---------- */
@media (max-width: 1100px) {
  .sxh__inner { grid-template-columns: minmax(0, 1fr); gap: 44px; padding: 64px 0 72px; }
  .sxh--erp .sxh__bg { left: 0; top: auto; height: 560px; bottom: 0; }
  .sxh--erp .sxh__copy { padding: 64px 0 40px; }
  .sx-map { margin: 0 0 24px; height: 480px; }
  .sx-web-why, .sx-ai-live, .sx-erp-dash, .sx-erp-how, .sx-app-why, .sx-spec, .sx-code-demo { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .sx-ai-live__demo { position: static; }
  .sx-bento, .sx-modgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-pipe { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .sx-pipe::before, .sx-pipe::after { display: none; }
  .sx-kinds, .sx-sectors, .sx-path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-bpline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .sxh { padding: 76px 8px 0; }
  .sxh__panel { border-radius: 26px; }
  .sxh__inner { padding: 44px 0 52px; gap: 36px; }
  .sxh--ai .sxh__inner { padding: 48px 0 40px; justify-items: start; text-align: left; }
  /* left-aligned on phones: a centred title would re-centre when the serif word's font arrives */
  .sxh--ai .sxh__copy { align-items: flex-start; }
  .sxh--ai .sv-hero__ctas { justify-content: flex-start; }
  .sxh--erp .sxh__copy { padding: 44px 0 28px; }
  .sxh--erp .sxh__bg { height: 470px; }
  .sx-build { transform: none; }
  .sx-flow { height: 300px; }
  .sx-node { min-width: 0; padding: 8px 10px; border-radius: 12px; }
  .sx-node b { font-size: 13px; } .sx-node i { display: none; }
  .sx-node--agent { min-width: 0; padding: 12px 14px; } .sx-node--agent b { font-size: 15px; }
  .sx-map { height: 420px; }
  .sx-map__core { width: 120px; height: 120px; } .sx-map__core b { font-size: 16px; } .sx-map__core i { margin-top: -18px; font-size: 10.5px; }
  .sx-mod { font-size: 12px; padding: 7px 10px; left: calc(var(--x) * 0.76 + 12%); }
  .sx-fan__ph { display: none; }
  .sxh--app .sv-demo__stage { height: 420px; }
  .sx-ledger__sheet { display: none; }
  .sx-bp { height: 380px; }
  .sx-bp__box { padding: 14px 4px; font-size: 11px; letter-spacing: 0; }
  .sx-band { padding: 72px 0 64px; }
  .sx-tpl { width: 78vw; }
  .sx-player__panel { width: 94vw; border-radius: 16px; }
  .sx-player__title { font-size: 18px; }
  .sx-big { font-size: 40px !important; }
  .sx-bento, .sx-modgrid, .sx-twocol, .sx-kinds, .sx-sectors, .sx-path, .sx-who, .sx-ba, .sx-pipe, .sx-bpline, .sx-fit, .sx-ai-why__cols { grid-template-columns: minmax(0, 1fr); }
  .sx-bento li:nth-child(1), .sx-bento li:nth-child(6) { grid-column: auto; }
  .sx-terms { grid-template-columns: minmax(0, 1fr); padding: 26px 22px; }
  .sx-vs { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sx-vs__mid span { transform: rotate(90deg); }
  .sx-vs__side, .sx-ba__card { padding: 28px 22px; }
  .sx-ai-why__cols p { font-size: 18px; }
  .sx-stages li { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 18px 20px; }
  .sx-stack li { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding: 18px; margin: 0 !important; }
  .sx-register li { grid-template-columns: 56px minmax(0, 1fr); gap: 0 16px; padding-right: 16px; }
  .sx-register li::before { left: 48px; }
  .sx-screens { overflow-x: auto; scrollbar-width: none; }
  .sx-screens__track { padding: 10px 16px; }
  .sx-ph { width: 160px; height: 330px; }
  .sx-rail .sv-quote { width: 82vw; }
  .sx-spec__sheet { padding: 32px 22px 26px; }
}
/* hero visuals rise in with the rest of the hero (desktop); loops pause off screen */
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .sxh :is(.sx-build, .sx-flow, .sx-map, .sx-fan, .sx-ledger, .sx-bp) { animation: wkRiseFar 1.4s var(--ease) 0.75s both; }
  .sxh .sxh__inner .sv-demo { animation: none !important; }
}
/* phones: the hero visual rises in once (no loops, to spare the battery) */
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  .sxh :is(.sx-build, .sx-flow, .sx-map, .sx-fan, .sx-ledger, .sx-bp) { animation: wkRiseLite 0.8s var(--ease) 0.3s both; }
  .sxh .sxh__inner .sv-demo { animation: none !important; }
}
.sxh.sx-off *, .sxh.sx-off *::before, .sxh.sx-off *::after { animation-play-state: paused !important; }
.sx-flow__dots i { will-change: transform; }

/* Phones (2026-11-23): body copy is at least 16px. Last in the file so it
   wins over the component sizes above. */
@media (max-width: 767px) {
  .sv-proj p, .sx-stages p, .sx-kinds p, .sx-pipe p, .sx-path p, .sx-bpline p { font-size: 16px; }
}
