/* =============================================================
   Velon Suites: a calm, light product page.
   Paper throughout; product visuals stay dark inside white floating frames.
   ============================================================= */
body.vs2-page { background: #f6f3ee; }
body.vs2-page .site-header { background: rgba(11,17,24,0.94); }
.vs2-page main { --vs-ink: #1a2230; --vs-mute: rgba(26,34,48,0.74); --vs-dim: rgba(26,34,48,0.7); --vs-line: rgba(11,17,24,0.1); --vs-acc: #9a521c; color: var(--vs-ink); }
.vs2-page .btn-ghost:not(:hover) { color: var(--vs-ink); border-color: rgba(11,17,24,0.28); }
.vs2-page .reveal { transition-duration: 0.8s; }

/* shared: section heading, floating frame, dark app surface */
.vs2-h2 { text-align: center; font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 3.8vw, 54px); line-height: 1.06;
  letter-spacing: -0.03em; color: var(--vs-ink); margin: 0 auto clamp(40px, 5vw, 72px); max-width: 16em; text-wrap: balance; }
.vs2-h2 em, .vs2-hero h1 em, .vs2-cta h2 em { font-style: normal; color: var(--vs-acc); }
.vs2-hero h1 em { display: block; text-wrap: balance; }
.vs2-frame { background: #fff; border: 1px solid rgba(11,17,24,0.08); border-radius: 18px; padding: 10px;
  box-shadow: 0 2px 6px rgba(11,17,24,0.04), 0 50px 90px -46px rgba(11,17,24,0.45); }
.vs2-app { position: relative; background: #0d141c; border-radius: 11px; overflow: hidden; color: #e8e5df; }
.vs2-ph { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: rgba(232,229,223,0.62); }
.vs2-ph b { flex: 1; min-width: 0; font-family: var(--font-sans); font-weight: 500; font-size: 14px; letter-spacing: 0; color: #e8e5df;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vs2-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }
.vs2-prog { position: absolute; inset-inline: 0; bottom: -1px; height: 2px; background: var(--copper); transform: scaleX(0); transform-origin: left; pointer-events: none; }
html[dir="rtl"] .vs2-prog { transform-origin: right; }
@keyframes vsProg { to { transform: scaleX(1); } }
@keyframes vsFade { from { opacity: 0; } }

/* ---- Hero: centred copy over a floating product window ---- */
.vs2-hero { position: relative; overflow: hidden; text-align: center; padding-top: clamp(26px, 3.5vw, 44px);
  background: radial-gradient(60% 50% at 50% 0%, rgba(201,123,61,0.08), transparent 70%), #f6f3ee; }
.vs2-page .breadcrumb { justify-content: center; color: var(--vs-dim); margin: 0; }
.vs2-page .breadcrumb a { color: var(--vs-mute); }
.vs2-page .breadcrumb a:hover { color: var(--vs-acc); }
.vs2-hc { max-width: 1120px; margin: clamp(34px, 4.5vw, 64px) auto 0; }
.vs2-hc .section-label { justify-content: center; color: var(--vs-acc); margin-bottom: 22px; }
.vs2-hc .section-label::before { background: var(--vs-acc); }
.vs2-hero h1 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(36px, 4.8vw, 68px); line-height: 1.04;
  letter-spacing: -0.035em; color: var(--vs-ink); }
.vs2-sub { max-width: 34em; margin: 22px auto 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--vs-mute); }
.vs2-stage { position: relative; margin-top: clamp(44px, 5.5vw, 72px); padding-bottom: clamp(52px, 6.5vw, 96px); }
.vs2-stage::before { content: ''; position: absolute; inset: 14% 0 0; pointer-events: none;
  background-image: linear-gradient(rgba(11,17,24,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(11,17,24,0.06) 1px, transparent 1px);
  background-size: 48px 48px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent); }
.vs2-hframe { position: relative; max-width: 1000px; margin: 0 auto; }
.vs2-hframe .sux { display: block; width: 100%; height: auto; }

/* ---- Stats strip ---- */
.vs2-stats { background: #efeae1; border-block: 1px solid rgba(11,17,24,0.06); padding: clamp(36px, 4.5vw, 56px) 0; }
.vs2-sk { margin: 0 0 24px; text-align: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--vs-dim); }
.vs2-sg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 3vw, 48px); }
.vs2-s b { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 3.6vw, 52px); line-height: 1; letter-spacing: -0.03em; color: var(--vs-ink); font-variant-numeric: tabular-nums; }
.vs2-s span { display: block; margin-top: 10px; font-size: 13.5px; line-height: 1.45; color: var(--vs-mute); }
.vs2-src { margin: 24px 0 0; text-align: center; font-size: 12px; color: var(--vs-dim); }

/* ---- Engines: alternating rows (text + live chart) ---- */
.vs2-eng { background: #f6f3ee; padding: clamp(72px, 9vw, 130px) 0 clamp(36px, 5vw, 70px); }
.vs2-row { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(26px, 4vw, 54px) 0; }
.vs2-row.is-flip .vs2-txt { order: 2; }
.vs2-ek { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--vs-dim); }
.vs2-ek i { width: 9px; height: 9px; border-radius: 50%; background: var(--ec); box-shadow: 0 0 0 1px rgba(11,17,24,0.25); }
.vs2-txt h3 { margin: 14px 0 12px; font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.08; letter-spacing: -0.025em; color: var(--vs-ink); }
.vs2-txt p { margin: 0 0 24px; max-width: 30em; font-size: 16px; line-height: 1.6; color: var(--vs-mute); }
.vs2-ml { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--vs-line); }
.vs2-m { position: relative; display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 10px; width: 100%; padding: 13px 4px; text-align: start;
  appearance: none; background: none; border: 0; border-bottom: 1px solid var(--vs-line); font: inherit; cursor: pointer; color: var(--vs-dim); transition: color 0.3s; }
.vs2-m b { padding-top: 2px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.06em; color: inherit; }
.vs2-m span { font-size: 14.5px; line-height: 1.45; }
.vs2-m:hover, .vs2-m.is-on { color: var(--vs-ink); }
.vs2-m.is-on b { color: var(--vs-acc); }
.vs2-m:focus-visible, .vs2-u:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; border-radius: 4px; }
.vs2-row.is-auto .vs2-m.is-on .vs2-prog { animation: vsProg 5.5s linear forwards; }
.vs2-row.is-offscreen .vs2-prog, .vs2-row:hover .vs2-prog, .vs2-row:focus-within .vs2-prog,
.vs2-ua.is-offscreen .vs2-prog, .vs2-ua:hover .vs2-prog, .vs2-ua:focus-within .vs2-prog { animation-play-state: paused !important; }
.vs2-panel { margin: 0; }
.vs2-row.js .vs2-panel:not(.is-on) { display: none; }
.vs2-row.js .vs2-panel.is-on { animation: vsFade 0.45s ease both; }
.vs2-row:not(.js) .vs2-panel + .vs2-panel { border-top: 1px solid rgba(255,255,255,0.08); }
.vs2-tag { flex: none; padding: 3px 8px; border-radius: 4px; font-weight: 600; letter-spacing: 0.08em; color: #0b1118; background: var(--ec); }
.vs2-open { flex: none; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; color: var(--copper-hi); }
.vs2-open:hover { color: #f6d2a6; }
.vs2-chart { padding: 20px 20px 8px; }
.vs2-chart svg { display: block; width: 100%; height: auto; }
.vs2-pf { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; padding: 12px 16px 14px; border-top: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-mono); font-size: 11px; color: rgba(232,229,223,0.6); }
.vs2-why { font-family: var(--font-sans); font-size: 13px; color: #e8e5df; }
.vs2-why i { margin-inline-end: 6px; font-style: normal; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper-hi); }

/* ---- Built for: list (active item expands) + visual ---- */
.vs2-aud { background: #efeae1; padding: clamp(72px, 9vw, 120px) 0; }
.vs2-ua { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.vs2-ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--vs-line); }
.vs2-u { position: relative; display: block; width: 100%; padding: 18px 2px 20px; text-align: start; appearance: none; background: none; border: 0;
  border-bottom: 1px solid var(--vs-line); font: inherit; cursor: pointer; color: var(--vs-dim); transition: color 0.35s; }
.vs2-uk { display: block; margin-bottom: 8px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; }
.vs2-u b { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.2; letter-spacing: -0.02em; }
.vs2-up { display: block; margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--vs-mute); }
.vs2-ua.js .vs2-u:not(.is-on) .vs2-up { display: none; }
.vs2-u:hover, .vs2-u.is-on { color: var(--vs-ink); }
.vs2-u.is-on .vs2-uk { color: var(--vs-acc); }
.vs2-ua.is-auto .vs2-u.is-on .vs2-prog { animation: vsProg 6.5s linear forwards; }
.vs2-upan + .vs2-upan { border-top: 1px solid rgba(255,255,255,0.08); }
.vs2-ua.js .vs2-upan:not(.is-on) { display: none; }
.vs2-ua.js .vs2-upan.is-on { animation: vsFade 0.45s ease both; }
.vs2-il { flex: none; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(232,229,223,0.62); }
.vs2-ub { padding: 18px; }
.vs2-ub svg { display: block; width: 100%; height: auto; }
/* visual marks (entrance plays when the panel opens; everything shows without scripts) */
.vt-ln { stroke: rgba(232,229,223,0.2); stroke-width: 1.4; }
.vt-bus { fill: #0d141c; stroke: rgba(232,229,223,0.55); stroke-width: 1.2; }
.vt-b { stroke-width: 2.2; stroke-dasharray: 1; }
.vt-b.hot { stroke: #ff6b5e; } .vt-b.mid { stroke: #e9a566; } .vt-b.ok { stroke: #5dd2a6; }
.vt-lab rect { fill: #0d141c; stroke-width: 1.2; }
.vt-lab rect.hot { stroke: #ff6b5e; } .vt-lab rect.mid { stroke: #e9a566; } .vt-lab rect.ok { stroke: #5dd2a6; }
.vt-lab text { font-family: var(--font-mono); font-size: 10.5px; fill: #e8e5df; }
.vd-rank { list-style: none; margin: 0; padding: 4px 2px; }
.vd-rank li { display: grid; grid-template-columns: 64px minmax(0, 1fr) 30px 62px; gap: 12px; align-items: center; padding: 11px 4px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.vd-rank li:last-child { border-bottom: 0; }
.vd-rank code { font-family: var(--font-mono); font-size: 12px; color: #e8e5df; }
.vd-bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.08); overflow: hidden; }
.vd-bar b { display: block; height: 100%; width: var(--w); border-radius: 3px; transform-origin: left; }
html[dir="rtl"] .vd-bar b { transform-origin: right; }
.vd-bar b.ok { background: #5dd2a6; } .vd-bar b.mid { background: #e9a566; } .vd-bar b.bad { background: #ff6b5e; }
.vd-v { font-family: var(--font-mono); font-size: 12px; color: rgba(232,229,223,0.75); text-align: end; }
.vd-s { justify-self: end; font-family: var(--font-mono); font-size: 10.5px; padding: 3px 9px; border-radius: 999px; border: 1px solid; }
.vd-s.ok { color: #5dd2a6; border-color: rgba(93,210,166,0.5); } .vd-s.mid { color: #e9a566; border-color: rgba(233,165,102,0.5); } .vd-s.bad { color: #ff8a7e; border-color: rgba(255,107,94,0.5); }
.vh { stroke-width: 1.2; }
.vh.ok { fill: rgba(93,210,166,0.22); stroke: rgba(93,210,166,0.7); }
.vh.mid { fill: rgba(233,165,102,0.2); stroke: rgba(233,165,102,0.6); }
.vh.bad { fill: rgba(255,107,94,0.18); stroke: rgba(255,107,94,0.55); }
.vh-ring { fill: none; stroke: #5dd2a6; stroke-width: 1.6; }
.vh-site { fill: #5dd2a6; }
.vh-dim { fill: rgba(232,229,223,0.55); }
.vh-tag rect { fill: #5dd2a6; }
.vh-tag text { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; fill: #0b1118; }
.vs2-ua.js .vs2-upan.is-on .vd { animation: vdDraw 1.2s var(--ease) var(--d, 0s) both; }
.vs2-ua.js .vs2-upan.is-on .vp { animation: vdIn 0.45s ease var(--d, 0s) both; }
.vs2-ua.js .vs2-upan.is-on .vd-rank li { animation: vdIn 0.4s ease var(--d, 0s) both; }
.vs2-ua.js .vs2-upan.is-on .vd-bar b { animation: vdGrow 0.9s var(--ease) var(--d, 0s) both; }
@keyframes vdDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes vdIn { from { opacity: 0; } }
@keyframes vdGrow { from { transform: scaleX(0); } }

/* ---- How we build ---- */
.vs2-build { background: #f6f3ee; padding: clamp(72px, 9vw, 120px) 0; }
.vs2-bg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.vs2-bc { background: #fff; border: 1px solid rgba(11,17,24,0.08); border-radius: 16px; padding: 24px 22px 26px; box-shadow: 0 30px 50px -40px rgba(11,17,24,0.35); }
.vs2-bi { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 12px; color: var(--vs-acc); background: rgba(201,123,61,0.12); }
.vs2-bc h3 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 500; font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; color: var(--vs-ink); }
.vs2-bc p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--vs-mute); }
.vs2-bc p a { color: var(--vs-acc); text-decoration: underline; text-underline-offset: 3px; }
.vs2-note { max-width: 46em; margin: 30px auto 0; text-align: center; font-size: 15px; line-height: 1.6; color: var(--vs-mute); }
.vs2-note strong { font-weight: 500; color: var(--vs-ink); }

/* ---- Doorways: tinted cards to the other three streams ---- */
.vs2-door { background: #fbfaf7; padding: clamp(72px, 9vw, 120px) 0; border-top: 1px solid rgba(11,17,24,0.05); }
.vs2-door .vs2-h2 { margin-bottom: 16px; }
.vs2-lead { max-width: 34em; margin: 0 auto clamp(36px, 4vw, 56px); text-align: center; font-size: 17px; line-height: 1.55; color: var(--vs-mute); }
.vs2-dg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.vs2-dc { position: relative; display: flex; flex-direction: column; min-height: 420px; padding: 22px 22px 0; overflow: hidden; text-decoration: none;
  color: var(--vs-ink); background: #e8e0d4; transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.vs2-dc:nth-child(2) { background: #dfe5df; }
.vs2-dc:nth-child(3) { background: #dde3ea; }
.vs2-dc:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(11,17,24,0.5); }
.vs2-dc:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
.vs2-dt { display: block; padding-top: 16px; padding-inline-end: 36px; border-top: 1.5px solid var(--vs-ink); }
.vs2-dt b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 24px; letter-spacing: -0.02em; }
.vs2-dt span { display: block; margin-top: 4px; font-size: 15px; color: var(--vs-mute); }
.vs2-da { position: absolute; top: 38px; inset-inline-end: 22px; font-style: normal; font-size: 22px; transition: transform 0.3s var(--ease); }
.vs2-dc:hover .vs2-da { transform: translateX(4px); }
html[dir="rtl"] .vs2-dc:hover .vs2-da { transform: translateX(-4px); }
.vs2-dv { position: relative; display: block; height: 250px; margin: auto -22px 0; overflow: hidden; background: #0d141c; }
.vs2-dv img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vs2-dv svg { display: block; width: 100%; height: 100%; padding: 18px; }
.vs2-dv svg.gw-flip { transform: scaleX(-1); }
.vs2-dv .gw-flip .gw-mini-tick { transform: scaleX(-1); transform-box: fill-box; transform-origin: center; }

/* ---- Closing call ---- */
.vs2-cta { position: relative; overflow: hidden; text-align: center; padding: clamp(84px, 10vw, 140px) 0; background: #f6f3ee; border-top: 1px solid rgba(11,17,24,0.05); }
.vs2-cta::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(11,17,24,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(11,17,24,0.05) 1px, transparent 1px);
  background-size: 48px 48px; -webkit-mask-image: radial-gradient(60% 70% at 50% 50%, #000 30%, transparent 85%); mask-image: radial-gradient(60% 70% at 50% 50%, #000 30%, transparent 85%); }
.vs2-cta .container { position: relative; }
.vs2-mark { display: inline-block; width: 64px; height: 64px; }
.vs2-mark svg { width: 100%; height: 100%; }
.vm-ln { stroke: #9a521c; stroke-width: 2.4; }
.vm-n { fill: #f6f3ee; stroke: #9a521c; stroke-width: 2.4; }
.vm-c { fill: #c97b3d; }
.vs2-cta h2 { max-width: 13em; margin: 22px auto 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -0.03em; color: var(--vs-ink); text-wrap: balance; }
.vs2-cta p { max-width: 38em; margin: 16px auto 0; font-size: 18px; line-height: 1.5; color: var(--vs-mute); }
.vs2-steps { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 30px auto 0; padding: 0; }
.vs2-steps li { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border: 1px solid rgba(11,17,24,0.14); border-radius: 999px; background: rgba(255,255,255,0.65); font-size: 13.5px; color: var(--vs-ink); }
.vs2-steps b { font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--vs-acc); }

/* Arabic: no letter-spacing on Arabic labels */
html[dir="rtl"] :is(.vs2-sk, .vs2-ek, .vs2-uk, .vs2-il, .vs2-open, .vs2-why i, .vs2-pf, .vs2-ph) { letter-spacing: 0; }
html[dir="rtl"] :is(.vs2-sk, .vs2-ek, .vs2-uk) { font-size: 12.5px; }

/* ---- Responsive ---- */
@media (max-width: 1000px) {
  .vs2-row, .vs2-ua { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .vs2-row.is-flip .vs2-txt { order: 0; }
  .vs2-bg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vs2-dg { grid-template-columns: minmax(0, 1fr); }
  .vs2-dc { min-height: 0; }
  .vs2-dv { height: 220px; margin-top: 22px; }
  .vs2-sg { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
}
@media (max-width: 600px) {
  .vs2-bg { grid-template-columns: minmax(0, 1fr); }
  .vs2-frame { padding: 6px; border-radius: 14px; }
  .vs2-chart { padding: 14px 12px 6px; }
  .vs2-ph { gap: 8px; padding: 11px 12px; }
  .vs2-ph b { font-size: 13px; }
  .vd-rank li { grid-template-columns: 54px minmax(0, 1fr) 26px 56px; gap: 8px; }
  /* module lists become compact chips; the open module's name is in the chart header */
  .vs2-ml { display: flex; flex-wrap: wrap; gap: 8px; border-top: 0; }
  .vs2-m { display: inline-flex; width: auto; padding: 8px 15px; border: 1px solid rgba(11,17,24,0.18); border-radius: 999px; overflow: hidden; }
  .vs2-m b { padding: 0; }
  .vs2-m span { display: none; }
  .vs2-m.is-on { background: var(--vs-ink); border-color: var(--vs-ink); color: #f6f3ee; }
  .vs2-m.is-on b { color: #f6d2a6; }
  .vs2-bc { display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 14px; padding: 18px; }
  .vs2-bi { grid-row: span 2; margin: 0; }
  .vs2-dv { height: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  .vs2-prog { display: none; }
  .vs2-dc:hover { transform: none; }
}
