/* Content pages (services, work, case studies, blog, about, FAQ, pricing) + floating CTAs.
   Loaded after styles.css and reuses its tokens, orbs, panes and reveal motion. */

.page-content { background: var(--paper); --accent: var(--blue); --accent-soft: #dfe3ff; }
main[style*="--accent"] { --accent: var(--accent); }

/* ---------- Hero ---------- */
.phero {
  position: relative;
  overflow: clip;
  padding: calc(var(--header) + 40px) 0 72px;
  background:
    radial-gradient(900px 520px at 80% 0%, rgba(4, 0, 243, 0.14), transparent 55%),
    radial-gradient(700px 480px at 100% 100%, rgba(150, 170, 255, 0.38), transparent 60%),
    radial-gradient(600px 420px at 0% 80%, rgba(200, 210, 255, 0.45), transparent 55%),
    linear-gradient(180deg, #f7f8fd, #e9eef9);
}
.phero .pane-a { opacity: 0.6; }
.phero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: min(620px, 72vh);
}
.phero.is-article .phero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; max-width: 820px; }
.phero h1 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5.6vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 0 0 18px;
  text-wrap: balance;
}
html[dir="rtl"] .phero h1 { line-height: 1.22; letter-spacing: 0; }
.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.95);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}
.page-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.page-lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #3b4556; max-width: 52ch; margin: 0; }
.page-meta { color: var(--muted); font-size: 14px; margin-top: 16px; }
.phero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; opacity: 0.5; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }

/* ---------- Hero visuals (CSS-built UI) ---------- */
.phero-vis { position: relative; min-height: 420px; display: grid; place-items: center; }
.vis { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1.1; }
.ui-win {
  position: absolute;
  inset: 8% 0 10% 4%;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #fff;
  box-shadow: 0 40px 90px rgba(4, 0, 243, 0.16), inset 0 1px 0 #fff;
  overflow: hidden;
  animation: vis-float 9s ease-in-out infinite;
  direction: ltr;
}
.ui-win.dark { background: #0b1220; border-color: rgba(255, 255, 255, 0.08); }
.ui-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.ui-win.dark .ui-bar { border-color: rgba(255, 255, 255, 0.08); }
.ui-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.ui-bar i:nth-child(2) { background: #febc2e; }
.ui-bar i:nth-child(3) { background: #28c840; }
.ui-url { margin-inline-start: 10px; flex: 1; padding: 4px 10px; border-radius: 999px; background: #eef2fb; font-size: 11px; color: var(--muted); }
.ui-win.dark .ui-url { background: rgba(255, 255, 255, 0.06); color: #8b95a8; }
.ui-body { padding: 18px; display: grid; gap: 14px; }

.chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(11, 18, 32, 0.12);
  animation: chip-bob 6s ease-in-out infinite;
  white-space: nowrap;
}
.chip.c1 { top: 2%; inset-inline-end: 4%; }
.chip.c2 { bottom: 4%; inset-inline-start: -2%; animation-delay: -2s; background: var(--blue); color: #fff; }
.chip.c3 { top: 46%; inset-inline-end: -4%; animation-delay: -4s; }
.chip.c4 { top: 30%; inset-inline-start: -4%; animation-delay: -3s; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #28c840; box-shadow: 0 0 0 4px rgba(40, 200, 64, 0.2); }

/* web */
.v-nav { display: flex; align-items: center; gap: 10px; }
.v-nav b { width: 54px; height: 12px; border-radius: 6px; background: var(--blue); }
.v-nav span { width: 34px; height: 8px; border-radius: 4px; background: #dfe4f2; }
.v-nav em { margin-inline-start: auto; width: 62px; height: 22px; border-radius: 999px; background: var(--blue); }
.v-hero { padding: 26px 20px; border-radius: 16px; background: linear-gradient(135deg, #eef1ff, #dde3ff); display: grid; gap: 10px; }
.v-hero span { height: 14px; border-radius: 7px; background: #0b1220; }
.v-hero .l1 { width: 78%; height: 18px; }
.v-hero .l2 { width: 56%; height: 18px; background: var(--blue); }
.v-hero .l3 { width: 64%; height: 8px; background: #9aa3b5; }
.v-hero em { width: 96px; height: 26px; border-radius: 999px; background: var(--blue); margin-top: 6px; }
.v-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.v-cards i { height: 64px; border-radius: 12px; background: #f1f3fa; border: 1px solid var(--line); }
.v-phone-mini {
  position: absolute; z-index: 2; bottom: 0; inset-inline-start: -4%; width: 26%; aspect-ratio: 0.5;
  border-radius: 22px; background: #0b1220; padding: 18px 8px 8px; display: grid; gap: 6px; align-content: start;
  box-shadow: 0 30px 60px rgba(11, 18, 32, 0.3); animation: vis-float 7s ease-in-out infinite reverse;
}
.v-phone-mini i { height: 30px; border-radius: 8px; background: rgba(255, 255, 255, 0.12); }
.v-phone-mini i:first-child { height: 54px; background: var(--blue); }

/* saas */
.vis-saas .ui-body { grid-template-columns: 54px 1fr; }
.v-side { display: grid; gap: 10px; align-content: start; padding-inline-end: 10px; border-inline-end: 1px solid var(--line); }
.v-side b { width: 30px; height: 30px; border-radius: 10px; background: var(--blue); }
.v-side i { width: 30px; height: 8px; border-radius: 4px; background: #dfe4f2; }
.v-main { display: grid; gap: 14px; }
.v-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.v-plans div { padding: 12px 10px; border-radius: 12px; border: 1px solid var(--line); display: grid; gap: 8px; }
.v-plans small { font-size: 11px; font-weight: 700; color: var(--muted); }
.v-plans i { height: 8px; border-radius: 4px; background: #dfe4f2; }
.v-plans .on { background: var(--blue); border-color: var(--blue); transform: translateY(-6px); box-shadow: 0 14px 30px rgba(4, 0, 243, 0.3); }
.v-plans .on small { color: #fff; }
.v-plans .on i { background: rgba(255, 255, 255, 0.4); }
.v-bars { height: 120px; display: flex; align-items: flex-end; gap: 8px; padding: 12px; border-radius: 14px; background: #f5f7fd; }
.v-bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--blue), #8e95ff); animation: bar-grow 1.4s cubic-bezier(.2,.8,.2,1) both; transform-origin: bottom; }
.v-bars i:nth-child(odd) { animation-delay: 0.1s; }

/* app */
.v-phone {
  position: absolute; width: 46%; aspect-ratio: 0.49; border-radius: 34px; background: #0b1220;
  padding: 30px 10px 12px; box-shadow: 0 40px 80px rgba(11, 18, 32, 0.28); display: flex; flex-direction: column; gap: 10px;
}
.v-phone.ph-a { inset-inline-start: 6%; top: 2%; transform: rotate(-6deg); animation: vis-float 8s ease-in-out infinite; }
.v-phone.ph-b { inset-inline-end: 6%; bottom: 0; transform: rotate(6deg); animation: vis-float 9s ease-in-out infinite reverse; background: #fff; border: 6px solid #0b1220; }
.v-notch { position: absolute; top: 10px; left: 50%; width: 70px; height: 16px; margin-left: -35px; border-radius: 10px; background: #0b1220; }
.ap-head { display: flex; justify-content: space-between; align-items: center; padding: 0 6px; }
.ap-head b { width: 60px; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, 0.85); }
.ph-b .ap-head b { background: #0b1220; }
.ap-head i { width: 24px; height: 24px; border-radius: 50%; background: var(--blue); }
.ap-map { position: relative; flex: 1; border-radius: 18px; background: repeating-linear-gradient(45deg, #1b2540 0 10px, #18213a 10px 20px); }
.ap-map span { position: absolute; width: 16px; height: 16px; border-radius: 50% 50% 50% 0; background: #28c840; transform: rotate(-45deg); }
.ap-map span:nth-child(1) { top: 26%; left: 30%; }
.ap-map span:nth-child(2) { top: 52%; left: 62%; background: var(--blue); }
.ap-map span:nth-child(3) { top: 70%; left: 22%; }
.ap-card { padding: 12px; border-radius: 16px; background: #fff; display: grid; gap: 6px; }
.ap-card i { height: 8px; border-radius: 4px; background: #dfe4f2; }
.ap-card i:first-child { width: 70%; background: #0b1220; }
.ap-card em { height: 28px; border-radius: 999px; background: var(--blue); }
.ap-tab { display: flex; justify-content: space-around; padding: 6px 0 0; }
.ap-tab i { width: 18px; height: 18px; border-radius: 6px; background: rgba(255, 255, 255, 0.25); }
.ap-tab i.on { background: var(--blue); }
.ap-chat { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 6px; }
.ap-chat span { height: 34px; width: 74%; border-radius: 16px 16px 16px 4px; background: #eef1ff; }
.ap-chat .out { align-self: flex-end; background: var(--blue); border-radius: 16px 16px 4px 16px; }
.ap-chat .s { height: 22px; width: 50%; }
.ap-input { height: 34px; border-radius: 999px; border: 1px solid var(--line); }

/* api */
.v-code { margin: 0; font: 13px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #c9d1e4; white-space: pre; overflow: hidden; text-align: left; }
.v-code .k { color: #9eb0ff; font-weight: 700; }
.v-code .s { color: #7ee2a8; }
.v-code .n { color: #ffcf70; }
.v-code .p { color: #8b95a8; }
.v-code .ok { color: #28c840; font-weight: 700; }
.v-code .c { color: #8a94a6; }

/* dash */
.v-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.v-kpis div { padding: 12px; border-radius: 12px; background: #f5f7fd; display: grid; gap: 8px; }
.v-kpis small { width: 60%; height: 6px; border-radius: 3px; background: #c7cde0; }
.v-kpis b { width: 80%; height: 16px; border-radius: 5px; background: #0b1220; }
.v-kpis div:first-child { background: var(--blue); }
.v-kpis div:first-child small { background: rgba(255, 255, 255, 0.5); }
.v-kpis div:first-child b { background: #fff; }
.v-line { width: 100%; height: 100px; color: var(--blue); }
.v-line path:first-child { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.4s ease forwards 0.3s; }
.v-rows { display: grid; gap: 6px; }
.v-rows i { height: 22px; border-radius: 8px; background: linear-gradient(90deg, #eef1fa 0 30%, #f6f7fc 30%); }

/* brand mark */
.vis-mark { display: grid; place-items: center; }
.vis-mark .disc { position: absolute; border-radius: 50%; border: solid rgba(4, 0, 243, 0.9); opacity: 0.32; }
.vis-mark .disc-a { width: 74%; aspect-ratio: 1; border-width: 26px; animation: spin-slow 30s linear infinite; }
.vis-mark .disc-b { width: 44%; aspect-ratio: 1; border-width: 18px; top: 8%; inset-inline-end: 6%; animation: spin-slow 40s linear infinite reverse; }
.mark-card {
  position: relative; z-index: 2; width: 78%; padding: 34px 28px; border-radius: 28px;
  background: rgba(248, 249, 251, 0.86); border: 1px solid #fff;
  box-shadow: 0 40px 90px rgba(4, 0, 243, 0.16), inset 0 1px 0 #fff;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  animation: vis-float 9s ease-in-out infinite;
}
.mark-card img { width: 100%; }

@keyframes vis-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes chip-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes bar-grow { from { transform: scaleY(0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin-slow { to { rotate: 360deg; } }
@keyframes marquee { to { transform: translateX(-33.333%); } }

/* ---------- Bands ---------- */
.pband { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.pband + .pband:not(.is-dark) { padding-top: 0; }
.pband.is-dark + .pband, .pband + .pband.is-dark { padding-top: clamp(64px, 9vw, 112px); }
.pband.is-dark {
  background: radial-gradient(700px 360px at 90% 0%, rgba(4, 0, 243, 0.32), transparent 60%),
              radial-gradient(600px 300px at 0% 100%, rgba(4, 0, 243, 0.18), transparent 60%), #0b1220;
  color: #f8f9fb;
}
.band-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 12px 40px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.band-head h2 { font-family: var(--display); font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1; letter-spacing: -0.035em; margin: 0; grid-column: 1; }
html[dir="rtl"] .band-head h2 { line-height: 1.25; letter-spacing: 0; }
.band-kicker { grid-column: 1 / -1; margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
.is-dark .band-kicker { color: #9eb0ff; }
.band-intro { grid-column: 2; margin: 0; color: var(--muted); max-width: 42ch; }
.is-dark .band-intro { color: #9aa3b5; }

.statement {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4.2vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 24ch;
  margin: 0 0 clamp(32px, 5vw, 56px);
}
html[dir="rtl"] .statement { line-height: 1.4; letter-spacing: 0; }
.statement span { color: var(--accent, var(--blue)); }
.pband:not(.is-dark) .statement span { color: var(--blue); }
main[style*="--accent"] .statement span { color: var(--accent); }

/* big numbered rows */
.big-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, 0.1); border-radius: 24px; overflow: hidden; }
.pband:not(.is-dark) .big-rows { background: var(--line); }
.big-row { position: relative; padding: clamp(24px, 3vw, 40px); background: #0b1220; transition: background 0.3s ease; min-height: 200px; display: flex; flex-direction: column; }
.pband:not(.is-dark) .big-row { background: #fff; }
.big-row:hover { background: #111a33; }
.pband:not(.is-dark) .big-row:hover { background: #f5f7ff; }
.br-num { font-family: var(--display); font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(158, 176, 255, 0.55); margin-bottom: auto; }
.pband:not(.is-dark) .br-num { -webkit-text-stroke-color: rgba(4, 0, 243, 0.35); }
.big-row h3 { margin: 22px 0 6px; font-size: 1.3rem; }
.big-row p { margin: 0; color: #9aa3b5; max-width: 40ch; }
.pband:not(.is-dark) .big-row p { color: var(--muted); }

/* deliverables */
.deliver { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.deliver-side { position: sticky; top: calc(var(--header) + 24px); }
.deliver-side h2 { font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; margin: 0 0 10px; line-height: 1; }
html[dir="rtl"] .deliver-side h2 { letter-spacing: 0; line-height: 1.25; }
.deliver-side p { color: var(--muted); margin: 0; }
.deliver-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: d; }
.deliver-list li {
  counter-increment: d; display: flex; gap: 16px; align-items: center; padding: 18px 22px; border-radius: 18px;
  background: #fff; border: 1px solid var(--line); font-weight: 700; transition: transform 0.25s ease, border-color 0.25s ease;
}
.deliver-list li:hover { transform: translateX(6px); border-color: var(--blue); }
html[dir="rtl"] .deliver-list li:hover { transform: translateX(-6px); }
.deliver-list li::before {
  content: ""; flex: 0 0 28px; height: 28px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}

/* process flow */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; }
.flow::before { content: ""; position: absolute; top: 27px; inset-inline: 28px; height: 2px; background: linear-gradient(90deg, var(--blue), rgba(4, 0, 243, 0.12)); }
html[dir="rtl"] .flow::before { background: linear-gradient(270deg, var(--blue), rgba(4, 0, 243, 0.12)); }
.flow li { position: relative; }
.fl-node {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #fff; border: 2px solid var(--blue); color: var(--blue); font-family: var(--display); font-weight: 800; margin-bottom: 18px;
  box-shadow: 0 0 0 8px var(--paper);
}
.flow li:first-child .fl-node { background: var(--blue); color: #fff; }
.flow h3 { margin: 0 0 6px; font-size: 1.15rem; }
.flow p { margin: 0; color: var(--muted); font-size: 15px; }

/* marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); direction: ltr; }
.mq-track { display: flex; gap: 12px; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-track span { padding: 16px 26px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-family: var(--display); font-weight: 800; font-size: clamp(1rem, 2vw, 1.4rem); white-space: nowrap; }
.mq-track span:nth-child(3n + 2) { background: var(--blue); color: #fff; border-color: var(--blue); }
.mq-track span:nth-child(5n) { background: #0b1220; color: #fff; }

/* case tiles */
.ptiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ptiles.n3 { grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; }
.ptile {
  position: relative; display: block; min-height: 320px; border-radius: 26px; overflow: hidden; isolation: isolate;
  color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, 0.1); transition: transform 0.4s ease;
}
.ptile.is-wide { grid-row: 1 / span 2; min-height: 560px; }
.ptile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(.2,.8,.2,1); }
.pt-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11, 18, 32, 0) 25%, rgba(11, 18, 32, 0.88) 85%), linear-gradient(90deg, rgba(4, 0, 243, 0.2), transparent 60%); }
.pt-body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 26px; display: grid; gap: 8px; }
.pt-meta { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #9eb0ff; }
.pt-title { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.8rem); letter-spacing: -0.035em; line-height: 0.95; }
html[dir="rtl"] .pt-title { letter-spacing: 0; line-height: 1.2; }
.pt-desc { color: #d5dbe8; font-size: 15px; max-width: 40ch; }
.pt-go { font-weight: 700; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; color: inherit; }
.pt-go::after { content: "→"; transition: transform 0.3s ease; }
html[dir="rtl"] .pt-go::after { content: "←"; }
.ptile:hover { transform: translateY(-6px); }
.ptile:hover img { transform: scale(1.06); }
.ptile:hover .pt-go::after { transform: translateX(4px); }

/* services link rows */
.svc-links { border-top: 1px solid var(--line); }
.svc-link-row {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.2fr) 40px; gap: 20px; align-items: center;
  padding: 26px 8px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); position: relative;
  transition: padding 0.3s ease, background 0.3s ease;
}
.svc-link-row:hover { background: #fff; padding-inline: 20px; }
.slr-n { font-family: var(--display); color: var(--blue); font-weight: 800; }
.slr-t { font-family: var(--display); font-size: clamp(1.4rem, 2.8vw, 2.1rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
html[dir="rtl"] .slr-t { letter-spacing: 0; line-height: 1.3; }
.slr-d { color: var(--muted); }
.slr-go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 700; transition: transform 0.3s ease; }
html[dir="rtl"] .slr-go { transform: scaleX(-1); }
.svc-link-row:hover .slr-go { transform: rotate(-45deg); }
html[dir="rtl"] .svc-link-row:hover .slr-go { transform: scaleX(-1) rotate(-45deg); }

/* ---------- Case study ---------- */
.case-hero {
  position: relative; overflow: clip; padding: calc(var(--header) + 40px) 0 0;
  background: #0b1220; color: #fff;
}
.case-glow { position: absolute; inset: 0; background: radial-gradient(800px 500px at 85% 10%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 60%), radial-gradient(600px 400px at 0% 60%, rgba(4, 0, 243, 0.3), transparent 60%); pointer-events: none; }
.case-hero .wrap { position: relative; z-index: 1; }
.case-hero .crumbs ol { color: #8b95a8; }
.case-hero .page-eyebrow { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.14); color: var(--accent-soft); }
.case-hero .page-eyebrow::before { background: var(--accent); }
.case-hero h1 { font-family: var(--display); font-size: clamp(3.2rem, 10vw, 8rem); line-height: 0.9; letter-spacing: -0.05em; margin: 0 0 14px; }
html[dir="rtl"] .case-hero h1 { line-height: 1.15; letter-spacing: 0; }
.case-hero .page-lede { color: #c5cce0; font-size: clamp(1.1rem, 2vw, 1.5rem); }
.case-meta { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 32px 0 44px; padding: 0; }
.case-meta div { border-inline-start: 2px solid var(--accent); padding-inline-start: 14px; }
.case-meta dt { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: #8b95a8; }
.case-meta dd { margin: 4px 0 0; font-weight: 700; }
.case-hero-img { margin: 0; border-radius: 28px 28px 0 0; overflow: hidden; box-shadow: 0 -20px 80px color-mix(in srgb, var(--accent) 35%, transparent); }
.case-hero-img img { width: 100%; }
.case-hero-img.is-capped { max-width: 808px; margin-inline: auto; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.split-card { padding: clamp(26px, 4vw, 44px); border-radius: 26px; background: #fff; border: 1px solid var(--line); }
.split-card.is-accent { background: var(--accent); color: #fff; border-color: transparent; }
.split-card h3 { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.02em; margin: 10px 0 12px; }
.split-card p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.split-card.is-accent p { color: rgba(255, 255, 255, 0.88); }
.sp-label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.split-card.is-accent .sp-label { color: rgba(255, 255, 255, 0.75); }

.feat-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.feat-chips li { padding: 14px 22px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.05); font-weight: 700; transition: background 0.25s ease, border-color 0.25s ease; }
.feat-chips li:hover { background: var(--accent); border-color: var(--accent); }

.gallery { display: grid; gap: clamp(40px, 6vw, 80px); }
.gal { margin: 0; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.gal.flip { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); }
.gal.flip .gal-img { order: 2; }
.gal-img { border-radius: 24px; overflow: hidden; box-shadow: 0 30px 70px rgba(11, 18, 32, 0.14); }
.gal-img img { width: 100%; transition: transform 0.8s ease; }
.gal:hover .gal-img img { transform: scale(1.03); }
.gal-n { font-family: var(--display); font-size: 3.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.gal h3 { font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 12px 0 8px; letter-spacing: -0.02em; }
.gal p { margin: 0; color: var(--muted); }
.links-band .case-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.links-band .btn { background: var(--accent); }

/* ---------- Work hub ---------- */
.prods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.prod {
  position: relative; overflow: hidden; display: grid; gap: 12px; padding: clamp(26px, 4vw, 40px); min-height: 280px; align-content: end;
  border-radius: 26px; background: linear-gradient(150deg, var(--blue), #2b28ff 60%, #6d73ff); color: #fff; text-decoration: none;
  transition: transform 0.35s ease;
}
.prod:nth-child(2) { background: linear-gradient(150deg, #0b1220, #18224a); }
.prod::before { content: ""; position: absolute; width: 260px; height: 260px; top: -90px; inset-inline-end: -70px; border-radius: 50%; border: 34px solid rgba(255, 255, 255, 0.12); }
.prod:hover { transform: translateY(-6px); }
.prod-name { font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.prod-text { color: rgba(255, 255, 255, 0.82); max-width: 44ch; }
.prod-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.prod-tags i { font-style: normal; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); }

.lrows { border-top: 1px solid var(--line); }
.lrow {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 40px; gap: 20px; align-items: center; padding: 22px 8px;
  border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: padding 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.lrow:hover { background: var(--blue); color: #fff; padding-inline: 22px; border-radius: 14px; }
.lr-name { font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 2.6vw, 1.9rem); letter-spacing: -0.02em; }
.lr-desc { color: var(--muted); }
.lrow:hover .lr-desc { color: rgba(255, 255, 255, 0.8); }
.lr-go { font-size: 1.3rem; justify-self: end; }

/* ---------- About ---------- */
.big-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, 0.1); border-radius: 24px; overflow: hidden; }
.bs { padding: clamp(24px, 3vw, 36px); background: #0b1220; display: grid; gap: 8px; }
.bs strong { font-family: var(--display); font-size: clamp(3.4rem, 8vw, 6rem); line-height: 0.9; background: linear-gradient(180deg, #fff, #9eb0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bs span { color: #9aa3b5; font-size: 15px; }

.tline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 0; }
.tline::before { content: ""; position: absolute; top: 8px; bottom: 8px; inset-inline-start: 9px; width: 2px; background: linear-gradient(180deg, var(--blue), rgba(158, 176, 255, 0.2)); }
.tline li { position: relative; padding: 0 0 40px; padding-inline-start: 56px; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 4px 24px; }
.tl-dot { position: absolute; inset-inline-start: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: #0b1220; border: 3px solid #9eb0ff; }
.tline li:last-child .tl-dot { background: var(--blue); border-color: #fff; box-shadow: 0 0 0 6px rgba(4, 0, 243, 0.35); }
.tl-label { grid-row: 1 / span 2; font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 1; color: #9eb0ff; }
.tline h3 { margin: 0; font-size: 1.2rem; }
.tline p { margin: 0; color: #9aa3b5; max-width: 56ch; }

/* ---------- Pricing ---------- */
.factors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.factor { position: relative; overflow: hidden; padding: 28px; border-radius: 22px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); transition: border-color 0.3s ease, background 0.3s ease; min-height: 200px; }
.factor:hover { border-color: #9eb0ff; background: rgba(4, 0, 243, 0.18); }
.f-n { position: absolute; top: 10px; inset-inline-end: 16px; font-family: var(--display); font-size: 4.4rem; line-height: 1; color: rgba(158, 176, 255, 0.14); }
.factor h3 { margin: 50px 0 8px; font-size: 1.2rem; }
.factor p { margin: 0; color: #9aa3b5; }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.post { display: grid; border-radius: 26px; overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform 0.35s ease, box-shadow 0.35s ease; }
.post:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(4, 0, 243, 0.12); }
.post-art { position: relative; height: 230px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 30% 30%, #6d73ff, var(--blue) 55%, #020086); }
.post:nth-child(2) .post-art { background: radial-gradient(circle at 70% 30%, #2b3a6b, #0b1220 60%); }
.post-art::before, .post-art::after { content: ""; position: absolute; border-radius: 50%; border: 22px solid rgba(255, 255, 255, 0.12); }
.post-art::before { width: 240px; height: 240px; top: -80px; inset-inline-start: -60px; }
.post-art::after { width: 160px; height: 160px; bottom: -60px; inset-inline-end: -30px; }
.post-glyph { position: relative; z-index: 1; font-family: var(--display); font-weight: 800; font-size: 5rem; color: #fff; letter-spacing: -0.05em; transition: transform 0.5s ease; direction: ltr; }
.post:hover .post-glyph { transform: scale(1.1) rotate(-4deg); }
.post-body { padding: 26px; display: grid; gap: 10px; }
.post-tag { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
.post-title { font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.post-desc { color: var(--muted); }
.post .pt-go { color: var(--blue); }

.article-band { padding-top: 0 !important; }
.article { max-width: 720px; margin-inline: auto; font-size: 1.12rem; line-height: 1.75; }
.article > .page-prose > p:first-child::first-letter { font-family: var(--display); float: inline-start; font-size: 4.2em; line-height: 0.85; margin-inline-end: 10px; color: var(--blue); }
html[dir="rtl"] .article > .page-prose > p:first-child::first-letter { float: none; font-size: inherit; margin: 0; color: inherit; }
.page-prose p, .page-prose li { color: #26303f; }
.page-prose h2 { font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -0.02em; margin: 44px 0 12px; }
.page-prose a, .faq-a a { color: var(--blue); }
.page-prose blockquote { margin: 40px 0; padding: 28px 30px; border-radius: 22px; background: var(--blue); color: #fff; font-family: var(--display); font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.35; }
.page-prose ul { padding-inline-start: 22px; }
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 80; background: var(--blue); transform-origin: 0 50%; transform: scaleX(0); }
html[dir="rtl"] .read-progress { transform-origin: 100% 50%; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--header) + 24px); }
.faq-side h2 { font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; line-height: 1; margin: 8px 0 0; }
html[dir="rtl"] .faq-side h2 { letter-spacing: 0; line-height: 1.25; }
.faq-list { display: grid; gap: 10px; }
.faq-wide { max-width: 860px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.faq-item[open] { border-color: var(--blue); box-shadow: 0 16px 40px rgba(4, 0, 243, 0.08); }
.faq-item summary { cursor: pointer; padding: 20px 22px; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: 0 0 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #eef1ff; color: var(--blue); font-size: 1.2rem; transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq-a { padding: 0 22px 20px; color: var(--muted); }
.faq-a p { margin: 0; }

/* ---------- CTA ---------- */
.page-cta { padding: 24px 0 96px; }
.page-cta-inner {
  position: relative; overflow: hidden; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
  padding: clamp(32px, 6vw, 72px); border-radius: 32px; background: var(--blue); color: #fff;
}
.cta-rings i { position: absolute; border-radius: 50%; border: 28px solid rgba(255, 255, 255, 0.1); animation: spin-slow 40s linear infinite; }
.cta-rings i:nth-child(1) { width: 380px; height: 380px; top: -180px; inset-inline-end: -80px; }
.cta-rings i:nth-child(2) { width: 220px; height: 220px; bottom: -120px; inset-inline-end: 22%; border-width: 18px; }
.cta-rings i:nth-child(3) { width: 120px; height: 120px; top: 20px; inset-inline-start: 46%; border-width: 12px; border-color: rgba(255, 255, 255, 0.07); }
.cta-copy { position: relative; z-index: 1; }
.page-cta h2 { margin: 0 0 10px; font-family: var(--display); font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -0.04em; line-height: 1; }
html[dir="rtl"] .page-cta h2 { letter-spacing: 0; line-height: 1.25; }
.page-cta p { margin: 0; color: #d7dcff; max-width: 46ch; font-size: 1.08rem; }
.page-cta .btn { background: #fff; color: var(--blue); }
.page-cta-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; }
.btn-ghost-light { background: transparent !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, 0.6); }

.footer-grid-wide { grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
@media (max-width: 1000px) and (min-width: 761px) { .footer-grid-wide { grid-template-columns: 1fr 1fr; } }
.footer-col-title { margin: 0 0 4px; color: #c9d0ff; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Homepage additions ---------- */
.home-faq { padding: 72px 0; }
.home-faq .wrap { max-width: 920px; }
.home-faq h2 { font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 18px; }
.home-faq .faq-more { margin-top: 16px; }
.home-faq .faq-more a { color: var(--blue); font-weight: 700; }
.reply-promise { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--ink); margin: 12px 0 0; }
.reply-promise::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #18b55b; box-shadow: 0 0 0 4px rgba(24, 181, 91, 0.18); }
.svc-link { color: inherit; text-decoration: none; }
.svc-link:hover { color: var(--blue); text-decoration: underline; }
.work-more { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- Floating WhatsApp + mobile sticky CTA ---------- */
.wa-float {
  position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18); transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }
.mobile-cta { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .phero-grid { grid-template-columns: 1fr; min-height: 0; }
  .phero-vis { min-height: 0; max-width: 460px; margin-inline: auto; width: 100%; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .flow::before { display: none; }
  .factors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .big-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-link-row { grid-template-columns: 48px minmax(0, 1fr) 40px; }
  .slr-d { grid-column: 2; grid-row: 2; }
  .slr-go { grid-row: 1 / span 2; grid-column: 3; }
}
@media (max-width: 760px) {
  .band-head { grid-template-columns: 1fr; }
  .band-intro { grid-column: 1; }
  .big-rows, .ptiles, .ptiles.n3, .split, .prods, .posts, .deliver, .faq-grid, .gal, .gal.flip, .factors, .flow { grid-template-columns: 1fr; }
  .gal.flip .gal-img { order: 0; }
  .ptile.is-wide { grid-row: auto; min-height: 420px; }
  .deliver-side, .faq-side { position: static; }
  .lrow { grid-template-columns: minmax(0, 1fr) 32px; }
  .lr-desc { grid-row: 2; }
  .lr-go { grid-row: 1 / span 2; grid-column: 2; }
  .tline li { grid-template-columns: 1fr; padding-inline-start: 44px; }
  .tl-label { grid-row: auto; font-size: 1.4rem; }
  .chip.c3, .chip.c4 { display: none; }
  .case-meta { gap: 14px 24px; }
  .mobile-cta { display: flex; position: fixed; inset-inline: 12px; bottom: 12px; z-index: 59; padding-inline-end: 68px; }
  .mobile-cta .btn { flex: 1; box-shadow: 0 10px 28px rgba(4, 0, 243, 0.3); }
  .wa-float { bottom: 12px; inset-inline-end: 12px; width: 48px; height: 48px; }
  body.has-float { --float-space: 72px; }
  .footer-grid-wide { grid-template-columns: 1fr; }
}
.cookie-banner ~ .mobile-cta, .cookie-banner ~ .wa-float { bottom: 120px; }

@media (prefers-reduced-motion: reduce) {
  .ui-win, .chip, .v-phone, .v-phone-mini, .mark-card, .vis-mark .disc, .mq-track, .cta-rings i, .v-bars i, .v-line path { animation: none !important; }
  .v-line path:first-child { stroke-dashoffset: 0; }
}
.pband.is-dark h2, .pband.is-dark h3, .pband.is-dark .statement { color: #fff; }

/* ---------- Services catalog ---------- */
.svc-index { position: sticky; top: calc(var(--header) + 8px); z-index: 5; display: flex; gap: 8px; overflow-x: auto; padding: 8px; margin-bottom: 40px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.85); border: 1px solid #fff; box-shadow: 0 12px 30px rgba(4, 0, 243, 0.08); backdrop-filter: blur(14px); scrollbar-width: none; }
.svc-index a { flex: 0 0 auto; display: inline-flex; gap: 8px; align-items: center; padding: 10px 16px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 14px; transition: background 0.2s ease, color 0.2s ease; }
.svc-index a span { color: var(--blue); font-family: var(--display); }
.svc-index a:hover { background: var(--blue); color: #fff; }
.svc-index a:hover span { color: #fff; }
.svc-catalog { display: grid; gap: 28px; }
.svc-block { scroll-margin-top: calc(var(--header) + 90px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(20px, 4vw, 48px);
  padding: clamp(26px, 4vw, 48px); border-radius: 30px; background: #fff; border: 1px solid var(--line); align-items: start; }
.svc-block.flip { background: linear-gradient(160deg, #f4f6ff, #fff); }
.svb-n { font-family: var(--display); font-size: clamp(3.4rem, 7vw, 5.4rem); line-height: 0.9; color: transparent; -webkit-text-stroke: 1.5px rgba(4, 0, 243, 0.4); }
.svb-main h3 { font-family: var(--display); font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.03em; margin: 14px 0 12px; line-height: 1.05; }
html[dir="rtl"] .svb-main h3 { letter-spacing: 0; line-height: 1.3; }
.svb-long { color: #3b4556; margin: 0 0 14px; font-size: 1.05rem; }
.svb-best { margin: 0 0 22px; padding: 12px 16px; border-radius: 14px; background: #eef1ff; color: #26303f; font-size: 15px; }
.svb-best b { color: var(--blue); }
.svb-card { padding: 24px; border-radius: 22px; background: #0b1220; color: #fff; }
.svb-label { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #9eb0ff; }
.svb-inc { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.svb-inc li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.svb-inc li::before { content: "✓"; flex: 0 0 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); font-size: 12px; font-weight: 800; }
.svb-card .tag-list li { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.14); color: #fff; }
.tag-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 700; direction: ltr; }

.icon-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ig { padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: transform 0.3s ease, border-color 0.3s ease; }
.ig:hover { transform: translateY(-4px); border-color: var(--blue); }
.is-dark .ig { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.1); }
.is-dark .ig:hover { border-color: #9eb0ff; background: rgba(4, 0, 243, 0.16); }
.ig-g { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--blue); color: #fff; font-size: 1.5rem; margin-bottom: 18px; }
.ig h3 { margin: 0 0 6px; font-size: 1.15rem; }
.ig p { margin: 0; color: var(--muted); }
.is-dark .ig p { color: #9aa3b5; }

.models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.model { padding: 30px; border-radius: 26px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.model.is-main { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-10px); box-shadow: 0 30px 60px rgba(4, 0, 243, 0.25); }
.model-tag { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: #eef1ff; color: var(--blue); font-size: 12px; font-weight: 700; }
.model.is-main .model-tag { background: rgba(255, 255, 255, 0.18); color: #fff; }
.model h3 { margin: 6px 0 0; font-family: var(--display); font-size: 1.6rem; letter-spacing: -0.02em; }
.model p { margin: 0; color: var(--muted); }
.model.is-main p { color: rgba(255, 255, 255, 0.85); }
.model ul { list-style: none; margin: 10px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 15px; font-weight: 700; }
.model.is-main ul { border-color: rgba(255, 255, 255, 0.2); }
.model li::before { content: "→ "; color: var(--blue); }
html[dir="rtl"] .model li::before { content: "← "; }
.model.is-main li::before { color: #fff; }

/* ---------- Work grid with filters ---------- */
.pfilter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.pf-btn { padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 700 14px/1 var(--sans); cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
html[dir="rtl"] .pf-btn { font-family: inherit; }
.pf-btn:hover { border-color: var(--blue); }
.pf-btn.is-on { background: var(--blue); color: #fff; border-color: var(--blue); }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pg-card { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.3s ease; }
.pg-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(11, 18, 32, 0.12); }
.pg-card.is-hidden { display: none; }
.pg-img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #0b1220; }
.pg-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.pg-card:hover .pg-img img { transform: scale(1.06); }
.pg-ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 5rem; color: rgba(255, 255, 255, 0.85); background: radial-gradient(circle at 30% 30%, #6d73ff, var(--blue) 55%, #020086); }
.pg-badge { position: absolute; top: 14px; inset-inline-start: 14px; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--blue); font-size: 12px; font-weight: 800; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); }
.pg-body { padding: 20px 22px 22px; display: grid; gap: 6px; }
.pg-cat { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); }
.pg-name { font-family: var(--display); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.02em; }
.pg-desc { color: var(--muted); font-size: 15px; }
.pg-card .pt-go { color: var(--blue); margin-top: 6px; }

.be-cta { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding: clamp(28px, 5vw, 56px); border-radius: 30px;
  background: linear-gradient(120deg, #053eff, #0057ff 50%, #1769ff); color: #fff; position: relative; overflow: hidden; }
.be-cta::after { content: "Bē"; position: absolute; inset-inline-end: -10px; bottom: -60px; font-family: var(--display); font-weight: 800; font-size: 14rem; line-height: 1; color: rgba(255, 255, 255, 0.08); pointer-events: none; }
.be-cta h3 { margin: 0 0 8px; font-family: var(--display); font-size: clamp(1.7rem, 3.6vw, 2.6rem); letter-spacing: -0.03em; }
.be-cta p { margin: 0; color: rgba(255, 255, 255, 0.85); }
.be-btn { position: relative; z-index: 1; gap: 10px; background: #fff; color: #0057ff; min-height: 54px; padding: 0 26px; }
.be-btn svg { width: 22px; height: 22px; }

/* ---------- FAQ groups ---------- */
.faq-nav { display: grid; gap: 6px; }
.faq-nav a { padding: 14px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; transition: border-color 0.2s ease, color 0.2s ease; }
.faq-nav a:hover { border-color: var(--blue); color: var(--blue); }
.faq-groups { display: grid; gap: 40px; }
.faq-group { scroll-margin-top: calc(var(--header) + 24px); }
.faq-group h3, .faq-group h2.faq-gt { font-family: var(--display); font-size: 1.6rem; margin: 0 0 14px; }

@media (max-width: 960px) {
  .svc-block, .svc-block.flip { grid-template-columns: 1fr; }
  .icon-grid, .models, .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .model.is-main { transform: none; }
}
@media (max-width: 640px) {
  .icon-grid, .models, .pgrid { grid-template-columns: 1fr; }
  .svc-index { border-radius: 18px; }
}
.ig-g svg { width: 26px; height: 26px; }
.icon-grid.n5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.icon-grid.n5 .ig { padding: 24px 20px; }
@media (max-width: 1100px) { .icon-grid.n5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) { .icon-grid.n5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .icon-grid.n5 .ig:last-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .icon-grid.n5 { grid-template-columns: 1fr; } }
.pband .page-prose { max-width: 760px; }
.pband .page-prose p { font-size: 1.08rem; line-height: 1.75; }
html[dir="rtl"] h3, html[dir="rtl"] .pg-name, html[dir="rtl"] .post-title { line-height: 1.5; letter-spacing: 0; }
html[dir="rtl"] .phero h1 { line-height: 1.3; }
@media (max-width: 760px) {
  .phero { padding-bottom: 48px; }
  .phero-vis:has(.vis-mark) { display: none; }
  .phero-vis { max-width: 340px; }
  .phero-actions .btn { flex: 1 1 auto; }
  .svc-index { position: static; }
  .big-row { min-height: 0; }
}

/* =================== Case studies v2 =================== */
main[style*="--accent"] .pband:not(.is-dark) .band-kicker { color: var(--accent); }
main[style*="--accent"] .pband.is-dark { background: radial-gradient(700px 360px at 90% 0%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 60%), radial-gradient(600px 300px at 0% 100%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 60%), #0b1220; }
main[style*="--accent"] .pband.is-dark .band-kicker { color: var(--accent-soft); }

/* hero variants */
.case-hero.is-light { background: linear-gradient(180deg, var(--accent-soft), #f7f8fd 70%); color: var(--ink); }
.case-hero.is-light .case-glow { background: radial-gradient(700px 400px at 85% 10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%); }
.case-hero.is-light .crumbs ol, .case-hero.is-light .case-meta dt { color: var(--muted); }
.case-hero.is-light .page-lede { color: #3b4556; }
.case-hero.is-light .page-eyebrow { background: #fff; border-color: #fff; color: #1a2233; }
.case-hero.is-light .case-hero-img { box-shadow: 0 -10px 60px color-mix(in srgb, var(--accent) 25%, transparent); }
.case-hero.is-split { background: linear-gradient(135deg, #0b1220 0 55%, color-mix(in srgb, var(--accent) 70%, #0b1220) 100%); padding-bottom: 72px; }
.case-hero.is-split .wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 20px 48px; align-items: center; }
.case-hero.is-split .crumbs { grid-column: 1 / -1; }
.case-hero.is-split h1 { font-size: clamp(2.8rem, 6.4vw, 5.4rem); }
.case-hero.is-split .case-hero-img { border-radius: 26px; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45); transform: rotate(-1.5deg); }
html[dir="rtl"] .case-hero.is-split .case-hero-img { transform: rotate(1.5deg); }
.case-hero.is-split .case-meta { margin-bottom: 0; }

/* intro */
.cs-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.cs-badge { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.cs-badge.is-main { background: var(--accent); border-color: var(--accent); color: #fff; }
.cs-intro { font-size: clamp(1.08rem, 1.7vw, 1.3rem); line-height: 1.7; color: #3b4556; max-width: 64ch; margin: 0; }
.cs-intro-band .statement { margin-bottom: 24px; }

/* scope */
.sc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.sc-card { padding: 26px; border-radius: 22px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); transition: border-color 0.3s ease, transform 0.3s ease; }
.sc-card:hover { transform: translateY(-4px); border-color: var(--accent-soft); }
.sc-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: var(--accent); color: #fff; margin-bottom: 16px; }
.sc-ic svg { width: 24px; height: 24px; }
.sc-card h3 { margin: 0 0 6px; font-size: 1.12rem; }
.sc-card p { margin: 0; color: #9aa3b5; font-size: 15px; }

/* before / after */
.ba { display: grid; grid-template-columns: 1fr 56px 1fr; gap: 16px; align-items: stretch; }
.ba-col { padding: clamp(24px, 3.5vw, 40px); border-radius: 26px; }
.ba-col.is-before { background: #fff; border: 1px dashed rgba(11, 18, 32, 0.25); }
.ba-col.is-after { background: var(--accent); color: #fff; box-shadow: 0 30px 60px color-mix(in srgb, var(--accent) 30%, transparent); }
.ba-tag { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; background: #f1f2f6; color: var(--muted); }
.is-after .ba-tag { background: rgba(255, 255, 255, 0.2); color: #fff; }
.ba-col h3 { font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 14px 0 16px; }
.ba-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ba-col li { display: flex; gap: 10px; align-items: flex-start; }
.is-before li { color: var(--muted); }
.is-before li::before { content: "✕"; flex: 0 0 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #fde3e3; color: #c0392b; font-size: 11px; font-weight: 800; }
.is-after li::before { content: "✓"; flex: 0 0 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--accent); font-size: 12px; font-weight: 800; }
.ba-arrow { display: grid; place-items: center; font-size: 2rem; color: var(--accent); font-weight: 800; }
html[dir="rtl"] .ba-arrow { transform: scaleX(-1); }

/* steps */
.cs-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: s; }
.cs-steps.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cs-steps li { position: relative; padding: 24px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.is-dark .cs-steps li { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); }
.cs-steps li::after { content: ""; position: absolute; top: 38px; inset-inline-end: -12px; width: 12px; height: 2px; background: var(--accent); }
.cs-steps li:last-child::after { display: none; }
.st-n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--accent); color: #fff; font-family: var(--display); font-weight: 800; margin-bottom: 14px; }
.cs-steps h3 { margin: 0 0 6px; font-size: 1.05rem; }
.cs-steps p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* roles */
.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.role { padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--accent); }
.is-dark .role { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); border-top-color: var(--accent); }
.role-n { font-family: var(--display); font-size: 2.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.role h3 { margin: 14px 0 6px; font-size: 1.2rem; }
.role p { margin: 0; color: var(--muted); }
.is-dark .role p { color: #9aa3b5; }

/* journey */
.journey { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.journey li { flex: 1 1 0; min-width: 130px; position: relative; display: grid; justify-items: center; text-align: center; gap: 12px; padding: 0 8px; }
.journey li::before { content: ""; position: absolute; top: 25px; left: 0; right: 0; height: 2px; background: color-mix(in srgb, var(--accent) 30%, transparent); z-index: 0; }
.journey li:first-child::before { inset-inline-start: 50%; }
.journey li:last-child::before { inset-inline-end: 50%; }
.jr-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); color: var(--accent); font-family: var(--display); font-weight: 800; box-shadow: 0 0 0 8px var(--paper); }
.journey li:first-child .jr-dot, .journey li:last-child .jr-dot { background: var(--accent); color: #fff; }
.jr-t { font-weight: 700; font-size: 15px; }

/* features */
.ft-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, 0.1); border-radius: 22px; overflow: hidden; }
.ft { padding: 28px; background: #0b1220; }
.ft:hover { background: color-mix(in srgb, var(--accent) 18%, #0b1220); }
.ft h3 { margin: 0 0 6px; font-size: 1.1rem; }
.ft h3::before { content: ""; display: block; width: 26px; height: 4px; border-radius: 2px; background: var(--accent); margin-bottom: 14px; }
.ft p { margin: 0; color: #9aa3b5; }

/* gallery variants */
.gx { margin: 0; }
.gx-img { border-radius: 22px; overflow: hidden; box-shadow: 0 30px 70px rgba(11, 18, 32, 0.14); background: #0b1220; }
.gx-img img { width: 100%; display: block; transition: transform 0.8s ease; }
.gx:hover .gx-img img { transform: scale(1.03); }
.gx-n { font-family: var(--display); font-size: 2.8rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.gx h3 { font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.8rem); letter-spacing: -0.02em; margin: 10px 0 6px; }
html[dir="rtl"] .gx h3 { letter-spacing: 0; }
.gx p { margin: 0; color: var(--muted); }
.gx-wrap.is-alt { display: grid; gap: clamp(40px, 6vw, 80px); }
.gx-alt { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.gx-alt.flip { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); }
.gx-alt.flip .gx-img { order: 2; }
.gx-wrap.is-stack { display: grid; gap: clamp(48px, 7vw, 96px); }
.gx-stack figcaption { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 0 20px; align-items: baseline; margin-bottom: 20px; max-width: 760px; }
.gx-stack .gx-n { grid-row: 1 / span 2; }
.gx-stack h3 { margin: 0; }
.gx-wrap.is-phones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.gx-card { padding: 14px; border-radius: 28px; background: #fff; border: 1px solid var(--line); }
.gx-card figcaption { padding: 18px 12px 8px; }
.gx-wrap.is-browser { display: grid; gap: clamp(40px, 6vw, 72px); }
.bw { border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 40px 90px rgba(11, 18, 32, 0.18); border: 1px solid var(--line); }
.bw-bar { display: flex; gap: 6px; padding: 12px 14px; background: #f1f3f8; border-bottom: 1px solid var(--line); direction: ltr; }
.bw-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.bw-bar i:nth-child(2) { background: #febc2e; }
.bw-bar i:nth-child(3) { background: #28c840; }
.bw img { width: 100%; display: block; }
.gx-browser figcaption { display: flex; gap: 18px; align-items: flex-start; margin-top: 20px; max-width: 760px; }
.gx-browser h3 { margin-top: 0; }

/* ongoing */
.ongoing { display: flex; gap: 22px; align-items: center; padding: 28px 32px; border-radius: 24px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.ongoing .band-kicker { margin: 0 0 4px; color: var(--accent); }
.ongoing-t { margin: 0; font-size: 1.15rem; font-weight: 700; }
.pulse { flex: 0 0 18px; height: 18px; border-radius: 50%; background: #18b55b; box-shadow: 0 0 0 0 rgba(24, 181, 91, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 16px rgba(24, 181, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(24, 181, 91, 0); } }
.cs-more-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }

/* ux process (Nagm) */
.ux-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.ux { margin: 0; grid-column: span 2; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.ux:nth-child(4), .ux:nth-child(5) { grid-column: span 3; }
.ux img { width: 100%; display: block; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.ux figcaption { padding: 14px 18px; font-weight: 700; }

/* product modules */
.mods { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.mods li { display: flex; gap: 12px; align-items: center; padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); font-weight: 700; transition: background 0.25s ease; }
.mods li:hover { background: var(--accent); }
.mods span { font-family: var(--display); color: var(--accent-soft); font-size: 13px; }
.mods li:hover span { color: #fff; }
.surfs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.surf { padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.surf h3 { margin: 0 0 6px; font-size: 1.1rem; }
.surf p { margin: 0; color: var(--muted); font-size: 15px; }
.whys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.why { padding: 28px 30px; border-radius: 22px; background: linear-gradient(150deg, var(--accent-soft), #fff); border: 1px solid var(--line); }
.why h3 { margin: 0 0 6px; font-family: var(--display); font-size: 1.4rem; }
.why p { margin: 0; color: #3b4556; }
.demo { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding: clamp(26px, 4vw, 44px); border-radius: 28px; background: var(--accent); color: #fff; }
.demo h3 { margin: 0 0 6px; font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.2rem); }
.demo p { margin: 0; color: rgba(255, 255, 255, 0.85); }
.demo .btn { background: #fff; color: var(--accent); }

/* website design direction */
.dsn { display: grid; grid-template-columns: 1.3fr 0.8fr 0.9fr; gap: 14px; }
.dsn-card { padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.dsn-l { margin: 0 0 16px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.sws { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.sw { display: grid; gap: 8px; }
.sw i { display: block; aspect-ratio: 1; border-radius: 16px; background: var(--c); border: 1px solid var(--line); }
.sw code { font-size: 11px; color: var(--muted); direction: ltr; }
.dsn-type { margin: 0; font-family: var(--display); font-size: 5rem; line-height: 1; color: var(--accent); }
.dsn-font { margin: 8px 0 0; color: var(--muted); font-weight: 700; }
.dsn-mood { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dsn-mood li { padding: 9px 14px; border-radius: 999px; background: var(--accent-soft); font-weight: 700; font-size: 14px; }
.sitemap { display: grid; justify-items: center; gap: 0; }
.sm-root { padding: 16px 30px; border-radius: 16px; background: var(--accent); color: #fff; font-weight: 800; font-size: 1.1rem; position: relative; }
.sm-root::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 32px; background: rgba(255, 255, 255, 0.3); }
.sm-kids { list-style: none; margin: 32px 0 0; padding: 22px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; width: 100%; border-top: 2px solid rgba(255, 255, 255, 0.2); }
.sm-kids li { padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); font-weight: 700; text-align: center; display: grid; gap: 6px; }
.sm-kids span { font-family: var(--display); font-size: 12px; color: var(--accent-soft); }
.dirs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dir { margin: 0; }
.dir figcaption { padding-top: 16px; }

/* evolution */
.evo { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; position: relative; }
.evo li { padding: 28px; border-radius: 22px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); }
.evo li:last-child { background: var(--accent); border-color: var(--accent); }
.evo-y { font-family: var(--display); font-size: 2rem; color: var(--accent-soft); }
.evo li:last-child .evo-y { color: #fff; }
.evo h3 { margin: 10px 0 6px; }
.evo p { margin: 0; color: #c5cce0; }

/* next project */
.cs-next { padding: 24px 0 40px; }
.cs-next-in { display: grid; grid-template-columns: 1fr minmax(0, 0.9fr); grid-template-rows: auto auto 1fr; gap: 6px 32px; padding: clamp(26px, 4vw, 48px); border-radius: 30px; background: #0b1220; color: #fff; text-decoration: none; overflow: hidden; position: relative; }
.cs-next-in::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 100% 0%, color-mix(in srgb, var(--accent) 50%, transparent), transparent 60%); }
.cs-next-k, .cs-next-name, .cs-next-l { position: relative; grid-column: 1; }
.cs-next-k { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #9aa3b5; }
.cs-next-name { font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1; letter-spacing: -0.04em; }
html[dir="rtl"] .cs-next-name { letter-spacing: 0; line-height: 1.25; }
.cs-next-l { color: #c5cce0; }
.cs-next-img { position: relative; grid-column: 2; grid-row: 1 / span 3; border-radius: 18px; overflow: hidden; transform: rotate(2deg); transition: transform 0.5s ease; }
.cs-next-img img { width: 100%; display: block; }
.cs-next-in:hover .cs-next-img { transform: rotate(0) scale(1.03); }
.cs-all { padding-top: 18px; }
.cs-all a { color: var(--muted); font-weight: 700; text-decoration: none; }
html[dir="rtl"] .cs-all a { unicode-bidi: plaintext; }

@media (max-width: 960px) {
  .case-hero.is-split .wrap { grid-template-columns: 1fr; }
  .cs-steps, .cs-steps.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-steps li::after { display: none; }
  .ft-grid, .surfs, .dirs, .evo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dsn { grid-template-columns: 1fr 1fr; }
  .dsn-card:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .ba { grid-template-columns: 1fr; }
  .ba-arrow { transform: rotate(90deg); }
  html[dir="rtl"] .ba-arrow { transform: rotate(90deg); }
  .cs-steps, .cs-steps.n4, .ft-grid, .surfs, .whys, .dirs, .evo, .dsn, .gx-wrap.is-phones, .gx-alt, .gx-alt.flip { grid-template-columns: 1fr; }
  .gx-alt.flip .gx-img { order: 0; }
  .ux-grid { grid-template-columns: 1fr 1fr; }
  .ux, .ux:nth-child(4), .ux:nth-child(5) { grid-column: span 1; }
  .ux:last-child { grid-column: 1 / -1; }
  .journey { flex-direction: column; gap: 14px; }
  .journey li { flex-direction: row; display: flex; justify-items: start; text-align: start; min-width: 0; }
  .journey li::before { display: none; }
  .cs-next-in { grid-template-columns: 1fr; }
  .cs-next-img { grid-column: 1; grid-row: auto; margin-top: 18px; }
  .sws { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
}
main[style*="--accent"] .pband .statement span, main[style*="--accent"] .pband:not(.is-dark) .statement span { color: var(--accent); }
@media (max-width: 760px) { .journey li { align-items: center; gap: 14px; } }

/* Transparent header over dark case-study heroes: light text until the solid header takes over on scroll */
body:has(.case-hero.is-dark, .case-hero.is-split) .header.header-top:not(.header-solid) .lang-switch { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.22); }
body:has(.case-hero.is-dark, .case-hero.is-split) .header.header-top:not(.header-solid) .lang-link:not(.is-current) { color: rgba(255, 255, 255, 0.8); }
body:has(.case-hero.is-dark, .case-hero.is-split) .header.header-top:not(.header-solid) .lang-link:not(.is-current):hover { color: #fff; }
body:has(.case-hero.is-dark, .case-hero.is-split) .header.header-top:not(.header-solid) .menu-btn { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.25); color: #fff; }
@media (min-width: 761px) {
  body:has(.case-hero.is-dark, .case-hero.is-split) .header.header-top:not(.header-solid) .nav a:not(.nav-cta) { color: rgba(255, 255, 255, 0.85); }
  body:has(.case-hero.is-dark, .case-hero.is-split) .header.header-top:not(.header-solid) .nav a:not(.nav-cta):hover { color: #fff; }
}

/* research cards (replaces ux images) */
.rs-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--accent); counter-reset: rs; }
.rs { position: relative; padding: 26px 22px 28px; border-inline-end: 1px solid var(--line); }
.rs:last-child { border-inline-end: 0; }
.rs-n { display: block; font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--accent); opacity: .9; margin-bottom: 18px; letter-spacing: -0.03em; }
.rs-i { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); margin-bottom: 14px; }
.rs-i svg { width: 20px; height: 20px; }
.rs h3 { margin: 0 0 8px; font-size: 1.05rem; }
.rs p { margin: 0; color: var(--muted, #5b6474); font-size: .95rem; line-height: 1.6; }
.rs::before { content: ""; position: absolute; top: -7px; inset-inline-start: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
@media (max-width: 1000px) { .rs-grid { grid-template-columns: 1fr 1fr; border-top: 0; } .rs { border: 1px solid var(--line); border-top: 2px solid var(--accent); margin: -1px 0 0 -1px; } .rs::before { display: none; } }
@media (max-width: 560px) { .rs-grid { grid-template-columns: 1fr; } }

/* on-site photos */
.os-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.os { position: relative; margin: 0; border-radius: 22px; overflow: hidden; background: #111; }
.os-wide { grid-column: 1 / -1; }
.os img { width: 100%; height: 100%; display: block; object-fit: cover; }
.os-wide img { aspect-ratio: 16 / 9; }
.os-tall img { aspect-ratio: 3 / 4; }
.os figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 20px 18px; background: linear-gradient(transparent, rgba(0,0,0,.82)); color: #fff; display: grid; gap: 4px; }
.os figcaption strong { font-size: 1.05rem; }
.os figcaption span { font-size: .9rem; opacity: .85; }
@media (max-width: 760px) { .os-grid { grid-template-columns: 1fr 1fr; } .os-tall:last-child { grid-column: 1 / -1; } .os-tall:last-child img { aspect-ratio: 4 / 3; } .os figcaption span { display: none; } }

/* partnership form */
.partner-route-note { max-width: 62ch; margin: 0 0 22px; padding: 12px 16px; border: 1px solid var(--line); border-inline-start: 3px solid var(--blue); border-radius: 10px; background: rgba(255,255,255,.7); font-size: 14px; line-height: 1.5; }
.partner-route-note a { font-weight: 700; text-decoration: underline; }
.partner-prefacts { max-width: 62ch; margin: 0 0 22px; font-size: 15px; }
.partner-time { margin: 0 0 12px; }
.partner-crit-t { margin: 0 0 6px; font-weight: 700; }
.partner-step-count { margin: 0 0 8px; width: 100%; font-size: 14px; font-weight: 700; color: var(--blue); }
.partner-bar { width: 100%; height: 6px; border-radius: 999px; background: #e3e7f1; overflow: hidden; }
.partner-bar span { display: block; height: 100%; width: 0; background: var(--blue); border-radius: inherit; transition: width .25s ease; }
.partner-submit-note { margin: 0 0 14px; font-size: 14px; line-height: 1.5; color: #5b6475; }
.partner-submit-note[hidden], [data-show-if][hidden] { display: none !important; }

/* trust & clarity: promise strip, response note, about links, facts card, case CTA */
.promise-band { padding-block: clamp(44px, 6vw, 72px); }
.promise-band .band-head { margin-bottom: 22px; }
.promise-band .band-head h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.promise-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.promise-strip li { display: grid; gap: 6px; align-content: start; padding: 16px 18px; border: 1px solid var(--line); border-inline-start: 3px solid var(--accent, var(--blue)); border-radius: 12px; background: rgba(255, 255, 255, .75); }
.promise-strip strong { font-size: .98rem; line-height: 1.3; }
.promise-strip span { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.promise-note { margin: 18px 0 0; padding: 14px 18px; border: 1px dashed var(--line); border-radius: 12px; font-size: .95rem; line-height: 1.6; }
.promise-band.note-only { padding-block: 28px 0; }
@media (max-width: 900px) { .promise-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .promise-strip { grid-template-columns: 1fr; } }
.focus-band .ig p { color: rgba(248, 249, 251, .78); }
.about-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 28px 0 0; font-size: .95rem; color: var(--muted); }
.about-links a { font-weight: 700; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.cs-facts-band { padding-block: clamp(28px, 4vw, 48px) 0; }
.cs-facts-card { padding: clamp(20px, 3vw, 30px); border: 1px solid var(--line); border-top: 3px solid var(--accent, var(--blue)); border-radius: 18px; background: rgba(255, 255, 255, .8); }
.cs-facts-t { margin: 0 0 16px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cs-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 28px; margin: 0; }
.cs-facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #5f6b80; }
.cs-facts dd { margin: 4px 0 0; font-weight: 700; line-height: 1.4; }
.cs-facts dd a { color: #1a2233; text-decoration: underline; text-decoration-color: var(--accent, var(--blue)); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (max-width: 760px) { .cs-facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .cs-facts { grid-template-columns: 1fr; } }
.case-cta { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding: clamp(26px, 4vw, 44px); border-radius: 28px; background: #0b1220; color: #fff; }
.case-cta h3 { margin: 0 0 8px; font-family: var(--display); font-size: clamp(1.4rem, 2.8vw, 2rem); }
.case-cta p { margin: 0; max-width: 52ch; color: rgba(255, 255, 255, .8); }
.case-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.case-cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); background: transparent; }
.byline { color: var(--muted, #5b6474); font-size: .92rem; margin: 0 0 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.os-grid:has(> .os:nth-child(2):last-child) { grid-template-columns: 1fr 1fr; }
.ba-old { margin: 24px 0 0; padding: 18px 18px 0; border-radius: 18px; background: #f4f5f8; overflow: hidden; }
.ba-old img { display: block; width: 100%; height: auto; filter: grayscale(.35); opacity: .92; }
.big-row:last-child:nth-child(odd) { grid-column: 1 / -1; }
.is-after .ba-old { background: rgba(255, 255, 255, 0.16); padding: 14px; }
.is-after .ba-old img { filter: none; opacity: 1; border-radius: 12px; }
/* starting price */
.price-band .price-from{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px 18px;padding:26px 28px;border-radius:20px;background:var(--surface,#f4f5f8);border:1px solid rgba(4,0,243,.12)}
.price-from .pf-k{font-weight:700;color:var(--muted)}
.price-from .pf-v{font-size:clamp(2rem,4vw,2.8rem);color:var(--blue,#0400F3);line-height:1}
.price-from .pf-note{flex-basis:100%;margin:0;color:var(--muted);font-size:15px}
body:has(.case-hero.is-dark, .case-hero.is-split) .header.header-top:not(.header-solid) .logo img { filter: brightness(0) invert(1); }
/* case numbers */
.cs-nums{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px}
.cs-nums li{padding:20px;border-radius:18px;background:#fff;border:1px solid rgba(11,16,32,.08);display:flex;flex-direction:column;gap:6px}
.cs-nums strong{font-size:clamp(1.6rem,3vw,2.2rem);line-height:1.1;color:var(--blue,#0400F3)}
.cs-nums span{color:#4a5468;font-size:15px}
/* before/after: equal image frames */
.ba-col { display: flex; flex-direction: column; }
.ba-old, .is-after .ba-old { margin-top: auto; padding: 14px; aspect-ratio: 1 / 1; width: 100%; box-sizing: border-box; }
.ba-col ul { margin-bottom: 24px; }
.ba-old img, .is-after .ba-old img { width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: 12px; }
.next-steps { margin: 26px 0; }
.next-steps h3 { margin: 0 0 12px; font-size: 1.1rem; }
.next-steps ol { list-style: none; margin: 0; padding: 0; counter-reset: ns; display: grid; gap: 12px; }
.next-steps li { counter-increment: ns; position: relative; padding-inline-start: 40px; }
.next-steps li::before { content: counter(ns); position: absolute; inset-inline-start: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--blue, #2e4bff); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.next-steps strong { display: block; }
.next-steps span { opacity: .75; font-size: .95rem; }
.fit-grid, .own-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.fit-card, .own-item { padding: 22px; border-radius: 18px; background: #fff; border: 1px solid rgba(11, 18, 32, 0.1); }
.fit-card h3, .own-item h3 { margin: 0 0 8px; font-size: 1.05rem; }
.fit-card p, .own-item p { margin: 0; opacity: .8; font-size: .95rem; }
.fit-card.fit-custom { border-color: var(--blue, #2e4bff); box-shadow: 0 0 0 1px var(--blue, #2e4bff) inset; }
.fit-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.own-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .fit-grid, .own-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .fit-grid, .own-grid { grid-template-columns: 1fr; } }
html[dir="rtl"] h2, html[dir="rtl"] .contact h2, html[dir="rtl"] .section-head h2 { line-height: 1.3; letter-spacing: 0; padding-top: .08em; }

/* AI workflow hero visual */
.vis-ai .wf { display: grid; gap: 6px; padding: 2px 2px; position: relative; }
.vis-ai .wf::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: linear-gradient(#4f6bff, #22c55e); opacity: .5; }
.vis-ai .wf-step { position: relative; display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); color: #e8ecf5; animation: wfIn .6s both; }
.vis-ai .wf-step:nth-child(2) { animation-delay: .15s; } .vis-ai .wf-step:nth-child(3) { animation-delay: .3s; }
.vis-ai .wf-step:nth-child(4) { animation-delay: .45s; } .vis-ai .wf-step:nth-child(5) { animation-delay: .6s; }
.vis-ai .wf-step b { display: block; font-size: 12px; line-height: 1.3; }
.vis-ai .wf-step small { display: block; font-size: 10.5px; line-height: 1.3; color: #9aa3b5; }
.vis-ai .wf-ic { width: 20px; height: 20px; border-radius: 50%; flex: none; position: relative; z-index: 1; box-shadow: 0 0 0 4px rgba(11, 18, 32, .9); }
.vis-ai .wf-in .wf-ic { background: #25d366; } .vis-ai .wf-ai .wf-ic { background: #4f6bff; box-shadow: 0 0 0 4px rgba(11, 18, 32, .9), 0 0 18px #4f6bff; }
.vis-ai .wf-tool .wf-ic { background: #a78bfa; } .vis-ai .wf-hu .wf-ic { background: #f5a524; } .vis-ai .wf-ok .wf-ic { background: #22c55e; }
.vis-ai .wf-ai { background: rgba(79, 107, 255, .16); border-color: rgba(79, 107, 255, .45); }
@keyframes wfIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .vis-ai .wf-step { animation: none; } }

/* ---- Per-tool closing CTA (scripts/pages/tool_cta.py) ---- */
.tcta { padding: clamp(48px, 7vw, 88px) 0; }
.tcta-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.tcta h2 { font-family: var(--display); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.12; margin: 0 0 12px; }
.tcta p { color: var(--muted); font-size: 17px; line-height: 1.6; margin: 0 0 22px; max-width: 54ch; }
.tcta-btn { display: inline-flex; align-items: center; gap: 8px; }
.tcta-btn-wa { background: #1fa855; border-color: #1fa855; }
.tcta-kicker { color: var(--blue) !important; font-weight: 700; font-size: 14px !important; margin-bottom: 8px !important; }
/* steps: dark band with numbered path */
.tcta-path { background: var(--ink); color: #fff; border-radius: 22px; padding: 28px; list-style: none; margin: 0; display: grid; gap: 18px; }
.tcta-path li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.tcta-path b { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; }
.tcta-path li + li { border-top: 1px dashed rgba(255,255,255,.18); padding-top: 18px; }
/* offer: badge + white card */
.tcta-offer { background: var(--paper); }
.tcta-badge { display: inline-block; background: #fff4d6; color: #7a4b00; font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.tcta-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: 0 18px 40px rgba(11,18,32,.07); }
.tcta-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; }
.tcta-list li { padding-inline-start: 30px; position: relative; font-weight: 600; }
.tcta-list li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: #fff; background: var(--blue); width: 20px; height: 20px; border-radius: 50%; font-size: 12px; display: grid; place-items: center; top: 2px; }
.tcta-card .tcta-btn { width: 100%; justify-content: center; }
/* chat: phone with WhatsApp bubbles */
.tcta-phone { background: #e7ddd3; border-radius: 26px; padding: 26px 20px; border: 8px solid var(--ink); display: grid; gap: 12px; max-width: 360px; justify-self: center; width: 100%; }
.tcta-bubble { background: #d9fdd3; border-radius: 14px 14px 4px 14px; padding: 12px 14px; font-size: 15px; justify-self: end; max-width: 88%; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.tcta-bubble.is-in { background: #fff; border-radius: 14px 14px 14px 4px; justify-self: start; color: var(--muted); font-size: 13px; }
[dir="rtl"] .tcta-bubble { border-radius: 14px 14px 14px 4px; }
[dir="rtl"] .tcta-bubble.is-in { border-radius: 14px 14px 4px 14px; }
/* split: before / after columns */
.tcta-split .tcta-inner { grid-template-columns: 1fr 1fr; align-items: stretch; }
.tcta-full { grid-column: 1 / -1; }
.tcta-center { text-align: center; }
.tcta-col { list-style: none; margin: 0; padding: 24px; border-radius: 18px; display: grid; gap: 12px; align-content: start; }
.tcta-col li { padding-inline-start: 28px; position: relative; }
.tcta-col.is-pain { background: #fff1f0; color: #6b1d16; }
.tcta-col.is-pain li::before { content: "✕"; position: absolute; inset-inline-start: 0; color: #d93a2b; font-weight: 700; }
.tcta-col.is-fix { background: #eef0ff; color: #12127a; }
.tcta-col.is-fix li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--blue); font-weight: 700; }
@media (max-width: 760px) {
  .tcta-inner, .tcta-split .tcta-inner { grid-template-columns: 1fr; }
}

/* ---- Payment plans (scripts/pages/pay_extra.py) ---- */
.pay-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pay-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px; }
.pay-card.is-full { border: 2px solid var(--blue); box-shadow: 0 22px 50px rgba(4,0,243,.12); }
.pay-tag { align-self: flex-start; font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--paper); color: var(--ink); margin-bottom: 14px; }
.pay-card.is-full .pay-tag { background: var(--blue); color: #fff; }
.pay-card h3 { font-family: var(--display); font-size: 28px; margin: 0 0 6px; }
.pay-lead { color: var(--muted); margin: 0 0 18px; }
.pay-price { font-weight: 800; font-size: 20px; color: var(--blue); margin: 0 0 18px; padding-bottom: 18px; border-bottom: 1px dashed var(--line); }
.pay-card ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; flex: 1; }
.pay-card li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.pay-card li svg { flex: none; margin-top: 3px; color: var(--blue); }
.pay-card .btn { justify-content: center; }
.pay-table-wrap { margin-top: 28px; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.pay-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15px; }
.pay-table caption { text-align: start; font-weight: 800; padding: 18px 20px 6px; }
.pay-table th, .pay-table td { padding: 14px 20px; text-align: start; border-top: 1px solid var(--line); vertical-align: top; }
.pay-table thead th { font-weight: 800; border-top: 0; }
.pay-table thead th:nth-child(2), .pay-table tbody td:nth-of-type(1) { background: #f4f5ff; }
.pay-table tbody th { font-weight: 600; color: var(--muted); width: 32%; }
.pay-more { margin: 18px 0 0; font-weight: 700; }
.pay-more a { color: var(--blue); }
.pay-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.pay-steps li { border-top: 2px solid rgba(255,255,255,.25); padding-top: 18px; }
.pay-steps h3 { margin: 10px 0 6px; font-size: 18px; }
.pay-steps p { margin: 0; opacity: .8; line-height: 1.55; }
.pay-n { font-family: var(--display); font-size: 30px; color: #8f8cff; }
.pay-late { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-inline-start: 3px solid var(--line); }
.pay-late li { position: relative; padding: 4px 0 26px; padding-inline-start: 28px; }
.pay-late li::before { content: ""; position: absolute; inset-inline-start: -9px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.pay-late li:nth-child(4)::before { border-color: #d93a2b; }
.pay-late li:last-child::before { background: #1fa855; border-color: #1fa855; }
.pay-when { font-size: 13px; font-weight: 700; color: var(--muted); }
.pay-late h3 { margin: 2px 0 4px; font-size: 19px; }
.pay-late p { margin: 0; color: var(--muted); max-width: 60ch; }
.pay-strip { padding: 8px 0 0; }
.pay-strip p { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0; padding: 16px 20px; border-radius: 16px; background: #f4f5ff; border: 1px solid #dcdcff; font-weight: 600; }
.pay-strip a { color: var(--blue); font-weight: 800; white-space: nowrap; }
.pay-strip-ic { font-family: var(--display); font-size: 15px; background: var(--blue); color: #fff; border-radius: 10px; padding: 6px 10px; }
@media (max-width: 900px) { .pay-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .pay-cards { grid-template-columns: 1fr; } .pay-steps { grid-template-columns: 1fr; } }

/* ===================== Blog v2 ===================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.read-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 100%; background: var(--blue); transform-origin: 0 50%; transform: scaleX(0); }
html[dir="rtl"] .read-progress span { transform-origin: 100% 50%; }
/* article meta in hero */
.post-meta { display: flex; align-items: center; gap: 12px; margin-top: 20px; font-size: 14px; color: var(--muted); }
.post-meta img { width: 44px; height: 44px; border-radius: 50%; }
.post-meta strong { display: block; color: var(--ink); font-size: 15px; }
.pm-role { margin-inline-end: 8px; }
.pm-line { display: block; }
/* layout */
.blog-layout { display: grid; grid-template-columns: 230px minmax(0, 720px); gap: 56px; justify-content: center; align-items: start; }
.blog-layout.no-toc { grid-template-columns: minmax(0, 720px); }
.blog-layout .article { max-width: none; margin: 0; }
.article { font-size: 1.1rem; line-height: 1.7; }
html[lang="ar"] .article { font-size: 1.18rem; line-height: 1.85; }
.article > .page-prose > p:first-child::first-letter { all: unset; }
.page-prose > p, .page-prose li { max-width: 68ch; }
.page-prose h2 { margin: 56px 0 14px; scroll-margin-top: calc(var(--header) + 24px); }
.page-prose h3 { font-family: var(--display); font-size: 1.22rem; letter-spacing: -0.01em; margin: 34px 0 8px; color: var(--ink); }
html[lang="ar"] .page-prose h2, html[lang="ar"] .page-prose h3 { font-family: inherit; letter-spacing: 0; }
.page-prose ul, .page-prose ol { padding-inline-start: 1.3em; }
.page-prose li { margin: 6px 0; }
.post-cover { margin: 0 0 28px; border-radius: 18px; overflow: hidden; box-shadow: 0 18px 50px rgba(4, 0, 243, .14); }
.post-cover img { width: 100%; }
/* TOC */
.toc { position: sticky; top: calc(var(--header) + 24px); font-size: 14px; }
.toc summary { font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; margin-bottom: 10px; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; margin: 0; padding: 0; border-inline-start: 2px solid var(--line); max-height: calc(100vh - 180px); overflow: auto; }
.toc a { display: block; padding: 6px 14px; color: var(--muted); text-decoration: none; line-height: 1.4; border-inline-start: 2px solid transparent; margin-inline-start: -2px; }
.toc a:hover { color: var(--ink); }
.toc a.is-on { color: var(--blue); border-color: var(--blue); font-weight: 700; }
/* TL;DR + callouts */
.tldr { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; margin: 0 0 32px; }
.tldr strong { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
html[lang="ar"] .tldr strong { letter-spacing: 0; font-size: 15px; }
.tldr ul { margin: 0; padding-inline-start: 1.2em; }
.tldr li { margin: 6px 0; }
.callout { display: flex; gap: 14px; border-radius: 14px; padding: 16px 20px; margin: 28px 0; font-style: normal; background: #eef0ff; border-inline-start: 4px solid var(--blue); }
.callout p { margin: 4px 0 0; }
.callout-warn { background: #fff6e8; border-color: #e08a00; }
.co-ic { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--blue); }
.callout-warn .co-ic { background: #e08a00; }
blockquote.callout-tip { display: block; margin-inline: 0; font-size: 1.05rem; color: var(--ink); }
blockquote.callout-tip strong { display: block; color: var(--blue); font-size: 14px; }
/* comparison table */
.cmp-wrap { overflow-x: auto; margin: 28px 0; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.cmp { width: 100%; border-collapse: collapse; font-size: .98rem; min-width: 520px; }
.cmp th, .cmp td { padding: 12px 16px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { background: var(--ink); color: #fff; font-weight: 700; }
.cmp tbody tr:last-child > * { border-bottom: 0; }
.cmp tbody th { color: var(--ink); font-weight: 700; width: 30%; }
/* in-article CTA + tool card */
.icta { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 36px 0; padding: 24px 26px; border-radius: 18px; color: #fff; background: radial-gradient(120% 140% at 100% 0, #4b46ff 0, var(--blue) 45%, #0b1220 100%); }
.icta strong { font-family: var(--display); font-size: 1.3rem; display: block; }
html[lang="ar"] .icta strong { font-family: inherit; }
.icta p { margin: 6px 0 0; color: rgba(255, 255, 255, .85) !important; max-width: 46ch; }
.icta-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.icta .btn { background: #fff; color: var(--blue); }
.icta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.tool-card { display: grid; gap: 4px; margin: 32px 0; padding: 20px 24px; border-radius: 16px; background: #fff; border: 1px dashed rgba(4, 0, 243, .35); text-decoration: none; color: var(--ink) !important; transition: border-color .2s, transform .2s; }
.tool-card:hover { border-style: solid; transform: translateY(-2px); }
.tc-k { font-size: 12px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .06em; }
.tc-name { font-family: var(--display); font-size: 1.2rem; }
html[lang="ar"] .tc-name { font-family: inherit; font-weight: 700; }
.tc-text { color: var(--muted); }
.tc-go { color: var(--blue); font-weight: 700; }
html[dir="rtl"] .tc-go { unicode-bidi: plaintext; }
/* share + feedback + author */
.share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 44px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.sb-label { font-weight: 700; margin-inline-end: 6px; }
.sb-btn { font: inherit; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; text-decoration: none; }
.sb-btn:hover { border-color: var(--blue); color: var(--blue); }
.sb-wa { background: #25D366; border-color: #25D366; color: #fff; }
.sb-li { background: #0A66C2; border-color: #0A66C2; color: #fff; }
.sb-x { background: #000; border-color: #000; color: #fff; }
.sb-wa:hover, .sb-li:hover, .sb-x:hover { color: #fff; opacity: .88; }
.fb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; color: var(--muted); }
.fb button { font: inherit; font-size: 14px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.fb button:hover { border-color: var(--blue); }
.fb-done { color: var(--blue); font-weight: 700; }
.author-box { display: flex; gap: 16px; margin-top: 32px; padding: 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.author-box img { width: 72px; height: 72px; border-radius: 50%; flex: none; }
.author-box strong a { color: var(--ink); text-decoration: none; }
.author-box span { display: block; color: var(--muted); font-size: 14px; }
.author-box p { margin: 8px 0; font-size: .98rem; }
.ab-li { font-size: 14px; font-weight: 700; color: var(--blue); }
/* quote share popover */
.qshare { position: absolute; z-index: 70; display: flex; gap: 4px; padding: 5px; border-radius: 12px; background: var(--ink); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.qshare button { font: inherit; font-size: 13px; color: #fff; background: transparent; border: 0; padding: 6px 10px; border-radius: 8px; cursor: pointer; }
.qshare button:hover { background: rgba(255, 255, 255, .14); }
/* related + engage + newsletter */
.rel-band h2, .blog-engage h2 { font-family: var(--display); font-size: clamp(1.5rem, 2.8vw, 2rem); margin: 0 0 22px; }
html[lang="ar"] .rel-band h2, html[lang="ar"] .blog-engage h2 { font-family: inherit; }
.be-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; max-width: 1040px; }
.be-sub { color: var(--muted); margin: -12px 0 20px; }
.be-count { color: var(--muted); font-size: .7em; }
.comments { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 14px; }
.comments li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.comments .c-head { display: flex; gap: 8px; align-items: baseline; font-size: 14px; color: var(--muted); }
.comments .c-head strong { color: var(--ink); font-size: 15px; }
.comments p { margin: 6px 0 0; white-space: pre-line; }
.comments .c-reply { margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: #eef0ff; }
.comments .c-badge { display: inline-block; font-size: 12px; font-weight: 700; color: #fff; background: var(--blue); padding: 2px 8px; border-radius: 999px; }
.comments .c-none { color: var(--muted); background: transparent; border-style: dashed; }
.bform { display: grid; gap: 12px; }
.bform label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.bform input, .bform textarea { font: inherit; font-weight: 400; padding: 11px 14px; border-radius: 12px; border: 1px solid rgba(11, 18, 32, .18); background: #fff; color: var(--ink); width: 100%; }
.bform input:focus, .bform textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: transparent; }
.bform .btn { justify-self: start; }
.bf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bf-msg { margin: 0; font-weight: 600; color: var(--blue); }
.bf-msg.is-err { color: #c62828; }
.bf-note { margin: 0; font-size: 12px; color: var(--muted); }
.bf-note a { color: inherit; }
.be-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; position: sticky; top: calc(var(--header) + 20px); }
.be-card h3 { margin: 0 0 6px; font-size: 1.15rem; }
.be-card p { color: var(--muted); margin: 0 0 14px; font-size: .95rem; }
.nl-band { padding-block: 40px 72px; }
.nl { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; max-width: 1040px; margin-inline: auto; padding: 34px 36px; border-radius: 24px; background: var(--ink); color: #fff; }
.nl-band.is-magnet .nl { background: radial-gradient(120% 160% at 0 0, #4b46ff 0, var(--blue) 40%, #0b1220 100%); }
.nl h2 { margin: 0 0 8px; font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
html[lang="ar"] .nl h2 { font-family: inherit; }
.nl p { margin: 0; color: rgba(255, 255, 255, .78); }
.nl-form { grid-template-columns: 1fr auto; }
.nl-form input { border-color: transparent; }
.nl-form .bf-msg, .nl-form .bf-note { grid-column: 1 / -1; color: rgba(255, 255, 255, .8); }
.nl-form .btn { background: #fff; color: var(--blue); }
/* hub */
.blog-hub { padding-top: 8px !important; }
.blog-bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.bchips { display: flex; flex-wrap: wrap; gap: 8px; }
.bchip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink); }
.bchip:hover { border-color: var(--blue); }
.bchip.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.bsearch input { font: inherit; font-size: 15px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(11, 18, 32, .18); min-width: 260px; background: #fff; }
.bcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.bcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .25s, box-shadow .25s; }
.bcard:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(11, 18, 32, .1); }
.bc-img { aspect-ratio: 1200 / 630; overflow: hidden; background: var(--blue); }
.bc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.bcard:hover .bc-img img { transform: scale(1.04); }
.bc-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.bc-tag { font-size: 12px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .05em; }
html[lang="ar"] .bc-tag { letter-spacing: 0; font-size: 13px; }
.bc-title { font-family: var(--display); font-size: 1.22rem; line-height: 1.25; }
html[lang="ar"] .bc-title { font-family: inherit; font-weight: 700; line-height: 1.5; }
.bc-desc { color: var(--muted); font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bc-meta { margin-top: auto; font-size: 13px; color: var(--muted); }
.bc-feat { align-self: flex-start; font-size: 12px; font-weight: 700; color: #fff; background: var(--blue); padding: 3px 10px; border-radius: 999px; }
.bcard.is-feat { grid-column: 1 / -1; flex-direction: row; }
.bcard.is-feat .bc-img { flex: 1.25; aspect-ratio: auto; min-height: 320px; }
.bcard.is-feat .bc-body { flex: 1; padding: 32px; justify-content: center; }
.bcard.is-feat .bc-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.bcard.is-feat .bc-meta { margin-top: 8px; }
.bh-none { color: var(--muted); text-align: center; padding: 30px 0; }
.rel-band .bcards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1080px) {
  .blog-layout { grid-template-columns: minmax(0, 720px); gap: 0; }
  .toc { position: static; margin-bottom: 22px; }
  .toc-box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
  .toc summary { margin: 0; }
  .toc summary::after { content: " ▾"; color: var(--muted); }
  .toc ol { margin-top: 10px; max-height: none; }
}
@media (max-width: 900px) {
  .bcards, .rel-band .bcards { grid-template-columns: 1fr 1fr; }
  .be-grid, .nl { grid-template-columns: 1fr; }
  .be-card { position: static; }
  .bcard.is-feat { flex-direction: column; }
  .bcard.is-feat .bc-img { min-height: 0; aspect-ratio: 1200 / 630; }
}
@media (max-width: 620px) {
  .bcards, .rel-band .bcards { grid-template-columns: 1fr; }
  .bf-row, .nl-form { grid-template-columns: 1fr; }
  .bsearch, .bsearch input { width: 100%; min-width: 0; }
  .nl { padding: 26px 22px; }
  .icta { padding: 20px; }
  .author-box { flex-direction: column; }
}
/* sticky TOC needs a non-scrolling body: clip instead of hidden on blog posts */
body:has(.blog-layout) { overflow-x: clip; }
.post-meta .listen { margin-inline-start: 8px; font: inherit; font-size: 13px; font-weight: 700; color: var(--blue); background: #fff; border: 1px solid rgba(4, 0, 243, .3); border-radius: 999px; padding: 7px 14px; cursor: pointer; align-self: center; }
.post-meta .listen:hover { border-color: var(--blue); }
.post-meta .listen b { font-weight: 700; }
.qshare[hidden] { display: none !important; }
.be-grid.be-single { grid-template-columns: minmax(0, 720px); justify-content: center; }
/* tip callout: light card (override the blue pull-quote style) */
.page-prose blockquote.callout-tip { background: #eef0ff; color: var(--ink); border-inline-start: 4px solid var(--blue); border-radius: 14px; padding: 18px 22px; margin: 28px 0; font-family: var(--sans); font-size: 1.05rem; line-height: 1.6; }
html[lang="ar"] .page-prose blockquote.callout-tip { font-family: inherit; }
.page-prose blockquote.callout-tip strong { display: block; color: var(--blue); font-size: 14px; margin-bottom: 4px; }
.page-prose blockquote.callout-tip p { color: var(--ink); margin: 0; }

/* ===================== White-label partner program (/partnership/) ===================== */
.wl-hero { position: relative; padding: calc(var(--header) + 56px) 0 72px; overflow: hidden;
  background: radial-gradient(70% 90% at 85% 10%, #dfe3ff 0, transparent 60%), radial-gradient(50% 70% at 0 100%, #e9ecff 0, transparent 70%), var(--paper); }
.wl-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.wl-hero h1 { font-family: var(--display); font-size: clamp(2.4rem, 5.2vw, 4.3rem); line-height: 1.02; letter-spacing: -0.035em; margin: 14px 0 18px; }
.wl-hero h1 span { color: var(--blue); display: block; }
html[lang="ar"] .wl-hero h1 { letter-spacing: 0; line-height: 1.3; }
.wl-lede { font-size: 1.15rem; color: #3a4456; max-width: 52ch; margin: 0 0 28px; }
/* signature: your brand on top, Odelyo underneath (peeled corner) */
.wl-mock { position: relative; aspect-ratio: 5 / 4; }
.wl-sheet { position: absolute; inset: 0; border-radius: 22px; }
.wl-under { transform: translate(22px, 26px) rotate(3deg); background: linear-gradient(135deg, #0b1220, #1a2160); color: #c6ccff; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; box-shadow: 0 30px 60px rgba(11, 18, 32, .28); }
html[dir="rtl"] .wl-under { transform: translate(-22px, 26px) rotate(-3deg); }
.wl-under b { font-size: 14px; letter-spacing: .02em; color: #fff; }
.wl-under i { display: block; height: 8px; border-radius: 4px; background: rgba(198, 204, 255, .25); width: 70%; }
.wl-under i:nth-of-type(2) { width: 52%; } .wl-under i:nth-of-type(3) { width: 61%; }
.wl-code { font-family: var(--display); font-size: 40px; color: #8f9bff; }
.wl-top { background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(4, 0, 243, .14); overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 78%, 80% 100%, 0 100%); }
html[dir="rtl"] .wl-top { clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 100%, 0 78%); }
.wl-peel { position: absolute; right: 0; bottom: 0; width: 20%; height: 22%; background: linear-gradient(135deg, #f3f4fb 0 48%, #d9dcef 50%, transparent 51%); filter: drop-shadow(-4px -4px 6px rgba(11, 18, 32, .12)); }
html[dir="rtl"] .wl-peel { right: auto; left: 0; background: linear-gradient(225deg, #f3f4fb 0 48%, #d9dcef 50%, transparent 51%); }
.wl-bar { display: flex; gap: 6px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.wl-bar span { width: 10px; height: 10px; border-radius: 50%; background: #e3e6ef; }
.wl-brand { display: flex; align-items: center; gap: 10px; padding: 18px 22px 6px; }
.wl-logo { width: 30px; height: 30px; border-radius: 9px; background: conic-gradient(from 210deg, #ff7a45, #ffc94a, #ff5d8f, #ff7a45); }
.wl-brand b { font-family: var(--display); font-size: 1.2rem; }
html[lang="ar"] .wl-brand b { font-family: inherit; }
.wl-hero-b { margin: 14px 22px; padding: 22px; border-radius: 16px; background: linear-gradient(135deg, #fff1e8, #ffe1ec); display: grid; gap: 10px; }
.wl-hero-b i { display: block; height: 14px; border-radius: 7px; background: #2b2b2b; width: 72%; }
.wl-hero-b i + i { height: 9px; width: 52%; background: #8a8f9c; }
.wl-hero-b em { display: block; width: 96px; height: 30px; border-radius: 999px; background: #ff7a45; margin-top: 6px; }
.wl-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 22px; }
.wl-tiles i { aspect-ratio: 4 / 3; border-radius: 12px; background: #f2f3f8; }
.wl-stamp { position: absolute; top: 58px; inset-inline-end: 18px; font-size: 12px; font-weight: 700; color: #b2541f; background: #fff1e8; border: 1px dashed #ffb48a; padding: 5px 10px; border-radius: 999px; }
/* sections */
.wl-h2 { font-family: var(--display); font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -0.025em; line-height: 1.12; max-width: 24ch; margin: 0 0 36px; }
html[lang="ar"] .wl-h2 { letter-spacing: 0; line-height: 1.4; }
.wl-ic { width: 30px; height: 30px; color: var(--blue); }
.wl-who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.wl-who article { padding: 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); }
.wl-who h3, .wl-grid4 h3, .wl-rules h3, .wl-models h3, .wl-steps h3 { font-size: 1.12rem; margin: 0 0 8px; }
.wl-who p, .wl-grid4 p, .wl-rules p, .wl-models p, .wl-steps p { margin: 0; color: var(--muted); line-height: 1.6; }
.wl-dark { background: var(--ink); color: #fff; }
.wl-dark .band-kicker { color: #8f9bff; }
.wl-dark .wl-ic { color: #8f9bff; }
.wl-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.wl-grid4 article { padding: 24px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: background .2s, transform .2s; }
.wl-grid4 article:hover { background: rgba(255, 255, 255, .09); transform: translateY(-3px); }
.wl-grid4 h3 { margin-top: 14px; }
.wl-dark .wl-grid4 p { color: rgba(255, 255, 255, .72); }
.wl-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: s; position: relative; }
.wl-steps::before { content: ""; position: absolute; top: 26px; inset-inline: 26px; height: 2px; background: repeating-linear-gradient(90deg, var(--blue) 0 8px, transparent 8px 16px); opacity: .35; }
.wl-steps li { position: relative; }
.wl-n { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; margin-bottom: 18px; box-shadow: 0 0 0 8px var(--paper); }
.wl-tint { background: #e6eaff; }
.wl-rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.wl-rules article { display: flex; gap: 14px; padding: 22px; border-radius: 18px; background: #fff; }
.wl-rules .wl-ic { flex: none; width: 26px; height: 26px; }
.wl-models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.wl-models article { padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.wl-models article.is-mid { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 24px 50px rgba(4, 0, 243, .25); }
.wl-models article.is-mid p, .wl-models article.is-mid li { color: rgba(255, 255, 255, .85); }
.wl-badge { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #eef0ff; color: var(--blue); }
.is-mid .wl-badge { background: rgba(255, 255, 255, .18); color: #fff; }
.wl-models ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.wl-models li { position: relative; padding-inline-start: 24px; color: #3a4456; }
.wl-models li::before { content: ""; position: absolute; inset-inline-start: 0; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.is-mid li::before { border-color: #fff; }
/* form */
.wl-apply { background: linear-gradient(180deg, var(--paper), #e6eaff); }
.wl-apply-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.wl-apply-text { position: sticky; top: calc(var(--header) + 24px); }
.wl-apply-text p { color: var(--muted); font-size: 1.05rem; }
.wl-form { background: #fff; border-radius: 24px; padding: 30px; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(11, 18, 32, .06); display: grid; gap: 14px; }
.wl-form label, .wl-form legend { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.wl-form input, .wl-form select, .wl-form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(11, 18, 32, .18); background: #fff; color: var(--ink); min-height: 46px; width: 100%; }
.wl-form input:focus, .wl-form select:focus, .wl-form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: transparent; }
.wl-form [aria-invalid="true"] { border-color: #c62828; }
.wl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wl-form fieldset { border: 0; padding: 0; margin: 0; }
.wl-form legend { margin-bottom: 8px; }
.wl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wl-chip { position: relative; }
.wl-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wl-chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(11, 18, 32, .18); font-weight: 600; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.wl-chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.wl-chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.wl-form .btn { justify-self: start; min-height: 48px; }
.wl-msg { margin: 0; font-weight: 700; color: var(--blue); }
.wl-msg.is-err { color: #c62828; }
.wl-note { margin: 0; font-size: 12px; } .wl-note a { color: var(--muted); }
.wl-end { padding: 80px 0 96px; text-align: center; background: var(--blue); color: #fff; }
.wl-end h2 { font-family: var(--display); font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin: 0 0 12px; letter-spacing: -0.02em; }
html[lang="ar"] .wl-end h2 { letter-spacing: 0; }
.wl-end p { color: rgba(255, 255, 255, .82); margin: 0 auto 26px; max-width: 50ch; }
.wl-end .btn { background: #fff; color: var(--blue); }
@media (max-width: 1000px) {
  .wl-hero-grid, .wl-apply-grid { grid-template-columns: 1fr; }
  .wl-mock { max-width: 520px; width: 92%; margin-inline: auto; }
  .wl-apply-text { position: static; }
  .wl-who, .wl-grid4, .wl-steps { grid-template-columns: 1fr 1fr; }
  .wl-steps::before { display: none; }
  .wl-rules, .wl-models { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .wl-hero { padding-top: calc(var(--header) + 28px); }
  .wl-who, .wl-grid4, .wl-steps, .wl-row { grid-template-columns: 1fr; }
  .wl-form { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { .wl-grid4 article { transition: none; } }
.wl-under { transform: translate(18px, 46px) rotate(2deg); padding: 0 26px 12px; justify-content: flex-end; }
html[dir="rtl"] .wl-under { transform: translate(-18px, 46px) rotate(-2deg); }
.wl-under i { display: none; }
.wl-under b { font-size: 13px; }
.wl-code { position: absolute; right: 26px; bottom: 54px; font-size: 34px; }
html[dir="rtl"] .wl-code { right: auto; left: 26px; }
.wl-mock { margin-bottom: 46px; }
main:has(.wl-hero) .pband { padding-block: 92px !important; }
main:has(.wl-hero) .pband .band-kicker { margin: 0 0 10px; }
@media (max-width: 620px) { main:has(.wl-hero) .pband { padding-block: 64px !important; } }
@media (max-width: 620px) { .wl-stamp { display: none; } }
