:root {
  --red: #D8352A;
  --red-deep: #B8241B;
  --red-tint: #F8E7E4;

  /* Warm neutral palette */
  --ink: #14120E;        /* near-black, warm */
  --ink-2: #201D17;
  --ink-3: #2B2721;
  --paper: #F6F2EC;      /* warm off-white */
  --paper-2: #EEE7DC;    /* deeper warm */
  --paper-3: #E3DBCE;
  --line: #D9D1C2;
  --muted: #6B645A;
  --muted-2: #9B9283;
  --white: #FFFFFF;

  --cont: 1280px;
  --gutter: clamp(24px, 5vw, 80px);

  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

}

body {
  
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "ss01","cv11";
  -webkit-font-smoothing: antialiased;
}
img { max-width:100%; height:auto; display:block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border:none; background:none; font-family: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--paper); }

/* Grain overlay — used sparingly on dark sections */
.grain::after {
  content:''; position:absolute; inset:0; pointer-events:none; z-index:0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.9  0 0 0 0 0.85  0 0 0 0 0.8  0 0 0 0.18 0'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: 0.35; mix-blend-mode: overlay;
}

/* ==========================================================
   TYPOGRAPHY
========================================================== */
.display {
  
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.h2 {
  
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-size: clamp(28px, 3.5vw, 44px);
}
.h3 {
  
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-size: clamp(18px, 2vw, 22px);
}
.kicker {
  
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before {
  content:''; width: 24px; height: 1px; background: currentColor; opacity: 0.5;
}
.kicker .num { color: var(--red); }

.lede {
  
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: -0.015em;
}

em { font-style: normal; font-weight: 700; color: var(--red); }

/* ==========================================================
   LAYOUT
========================================================== */
.wrap {
  max-width: var(--cont);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section { position: relative; }
.sec { padding: clamp(80px, 9vw, 140px) 0; }
.dark { background: var(--ink); color: var(--paper); }
.dark .kicker { color: var(--muted-2); }
.paper-2 { background: var(--paper-2); }

/* Section divider (hairline serif mark) */
.divider {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 48px;
}
.divider::after {
  content:''; flex: 1; height: 1px; background: var(--line);
}
.dark .divider::after { background: rgba(255,255,255,.12); }


.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; font-size: 14px; font-weight: 500;
  border-radius: 100px; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap; border: 1px solid transparent; cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-primary:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-ghost.on-dark { color: var(--paper); border-color: rgba(255,255,255,.2); }
.btn-ghost.on-dark:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-lg { padding: 16px 28px; font-size: 15px; }
.btn svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* ==========================================================
   HERO — editorial, live agent trace panel
========================================================== */
.hero {
  background: var(--ink); color: var(--paper);
  min-height: 100vh;
  padding: clamp(140px, 16vh, 180px) 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--cont); margin: 0 auto; padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: end;
  position: relative; z-index: 2;
}
.hero-meta {
   font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: 32px;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.hero-meta .dot {
  width: 6px; height: 6px; background: var(--red); border-radius: 50%;
  animation: pulse 2.4s infinite var(--ease);
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(216,53,42,.5); }
  50% { opacity: 0.4; box-shadow: 0 0 0 8px rgba(216,53,42,0); }
}
.hero h1 {
  
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--paper);
  font-size: clamp(36px, 5vw, 60px);
  margin-bottom: 28px;
}
.hero h1 .em { color: var(--red); font-weight: 700; }
.hero h1 .sep { color: var(--red); }
.hero p.sub {
  max-width: 480px; font-size: clamp(16px, 1.3vw, 18px);
  color: rgba(246,242,236,.7); margin-bottom: 40px; line-height: 1.6;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-cta .btn-primary:hover { box-shadow: 0 12px 32px -8px rgba(216,53,42,.5); }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 32px;
}
.hero-stat {
  padding-right: 8px;
}

.hero-stat .n {
  
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-size: clamp(26px, 2.4vw, 34px);
  color: var(--paper); margin-bottom: 10px;
  white-space: nowrap;
}
.hero-stat .n em { color: var(--red); font-style: normal; }
.hero-stat .l {
   font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted-2); line-height: 1.4;
}

/* Hero trace panel (right column) */
.trace {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 4px;
  padding: 0;
   font-size: 12px;
  position: relative;
  overflow: hidden;
  align-self: stretch;
  min-height: 380px; max-height: 440px;
  display: flex; flex-direction: column;
}
.trace-header {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted-2);
}
.trace-header .dots { display: flex; gap: 5px; }
.trace-header .dots span {
  width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.15);
}
.trace-header .dots span:first-child { background: var(--red); }
.trace-header .label { flex: 1; }
.trace-header .status {
  display: flex; align-items: center; gap: 6px;
  color: #6ac49c;
}
.trace-header .status::before {
  content:''; width: 6px; height: 6px; border-radius: 50%; background: #6ac49c;
  box-shadow: 0 0 8px #6ac49c;
}
.trace-body {
  flex: 1; padding: 16px 18px; overflow: hidden;
  position: relative;
  display: flex; flex-direction: column-reverse;
}
.trace-line {
  display: flex; gap: 12px; margin-bottom: 14px;
  opacity: 0; transform: translateY(8px);
  animation: traceIn .45s var(--ease-out) forwards;
}
@keyframes traceIn { to { opacity: 1; transform: none; } }
.trace-line .ts { color: var(--muted-2); white-space: nowrap; flex-shrink: 0; }
.trace-line .tag {
  font-size: 10px; padding: 1px 7px; border-radius: 3px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; flex-shrink: 0; align-self: start;
  margin-top: 1px;
}
.tag-plan { background: rgba(216,53,42,.15); color: #ff8a82; border: 1px solid rgba(216,53,42,.3); }
.tag-tool { background: rgba(106,196,156,.12); color: #6ac49c; border: 1px solid rgba(106,196,156,.3); }
.tag-obs { background: rgba(230,195,114,.1); color: #e6c372; border: 1px solid rgba(230,195,114,.3); }
.tag-done { background: rgba(255,255,255,.08); color: var(--paper); border: 1px solid rgba(255,255,255,.2); }
.trace-line .msg { color: rgba(246,242,236,.85); flex: 1; line-height: 1.45; }
.trace-line .msg .k { color: #e6c372; }
.trace-line .msg .s { color: #6ac49c; }
.trace-footer {
  padding: 12px 18px; border-top: 1px solid rgba(255,255,255,.06);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10.5px; color: var(--muted-2);
}
.cursor { display: inline-block; width: 6px; height: 12px; background: var(--red); margin-left: 3px; vertical-align: -2px; animation: blink 1s infinite steps(2); }
@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; align-items: start; }
  .trace { min-height: 340px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .hero-stat:nth-child(2) { border-right: none; }
}

/* Tiny arabic callout wedge in hero */
.hero-mark {
  position: absolute; top: 140px; right: var(--gutter);
   font-size: 12px; color: rgba(255,255,255,.25);
  letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 8px;
  z-index: 1;
}
.hero-mark::before {
  content: ''; width: 40px; height: 1px; background: rgba(255,255,255,.2);
}
@media (max-width: 960px) { .hero-mark { display: none; } }

/* ==========================================================
   MARQUEE / LOGO STRIP (between hero and next section)
========================================================== */
.marquee-wrap {
  background: var(--ink-2); color: var(--muted-2);
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
  overflow: hidden; position: relative;
}
.marquee {
  display: flex; gap: 56px;
  animation: marq 40s linear infinite;
  white-space: nowrap;
   font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.marquee span { display: inline-flex; align-items: center; gap: 56px; }
.marquee span::after { content: '◆'; color: var(--red); }
@keyframes marq {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================
   DEFINITION SECTION (editorial paired columns)
========================================================== */
.def {
  background: var(--paper);
  padding: clamp(80px, 10vw, 140px) 0;
}
.def-head {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: clamp(24px, 4vw, 60px);
  margin-bottom: 72px;
  align-items: end;
}
.def-head .kicker-col { padding-top: 8px; }
.def-head h2 { max-width: 720px; }
.def-head h2 em { color: var(--red); }

.def-lead {
  
  font-size: clamp(20px, 2.2vw, 32px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  max-width: 860px;
  margin: 0 auto 72px;
  text-align: left;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--ink);
  font-weight: 400;
}
.def-lead .hl { background: linear-gradient(to top, var(--red-tint) 50%, transparent 50%); padding: 0 2px; }
.def-lead em { color: var(--red); }

.def-compare {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 24px;
}
.def-col {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  position: relative;
}
.def-col:last-child { border-right: none; }
.def-col-tag {
   font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 14px;
}
.def-col h4 {
   font-weight: 500; font-size: 22px;
  letter-spacing: -0.02em; margin-bottom: 14px; line-height: 1.15;
}
.def-col.accent h4 { color: var(--red); }
.def-col p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
@media (max-width: 800px) {
  .def-head { grid-template-columns: 1fr; }
  .def-compare { grid-template-columns: 1fr; }
  .def-col { border-right: none; border-bottom: 1px solid var(--line); }
  .def-col:last-child { border-bottom: none; }
}

.def-rule {
  margin-top: 48px;
  padding: 22px 28px;
  background: var(--paper-2);
  border-left: 3px solid var(--red);
   font-size: 18px; line-height: 1.55;
  font-style: italic;
  max-width: 860px;
}
.def-rule strong { font-style: normal;  font-weight: 600; color: var(--red); margin-right: 6px; text-transform: uppercase; font-size: 11px; letter-spacing: 0.1em; }

/* ==========================================================
   WHY NOW — stat hero + challenge list
========================================================== */
.why-now { background: var(--paper-2); }
.why-now-head {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 60px);
  margin-bottom: 80px; align-items: end;
}
.why-now h2 { max-width: 520px; }
.why-now h2 em { color: var(--red); }
.why-now .head-r { padding-bottom: 6px; color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 480px; }

.big-stat {
  display: grid; grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
  padding: 44px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 64px;
}
.big-stat .n {
   font-weight: 500;
  font-size: clamp(96px, 14vw, 200px);
  letter-spacing: -0.05em; line-height: 0.9;
  color: var(--red);
}
.big-stat .n .pct { color: var(--ink); font-size: 0.5em; vertical-align: 0.35em; }
.big-stat .meta { max-width: 420px; }
.big-stat .meta h3 {
   font-size: clamp(22px, 2vw, 28px); font-weight: 500;
  letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 12px;
}
.big-stat .meta p { font-size: 14px; color: var(--muted);  line-height: 1.6; }

.challenges {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.challenge {
  background: var(--paper);
  padding: 36px 32px;
  position: relative;
  transition: background .35s var(--ease);
}
.challenge:hover { background: var(--paper-2); }
.challenge .n {
   font-size: 11px; letter-spacing: 0.14em;
  color: var(--red); text-transform: uppercase; margin-bottom: 16px;
}
.challenge h3 {
   font-size: 22px; font-weight: 500;
  letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 12px;
}
.challenge p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
@media (max-width: 800px) {
  .why-now-head { grid-template-columns: 1fr; }
  .big-stat { grid-template-columns: 1fr; gap: 20px; }
  .challenges { grid-template-columns: 1fr; }
}

/* ==========================================================
   SERVICES — editorial list with hover preview
========================================================== */
.services {
  background: var(--paper);
  padding: clamp(80px, 10vw, 140px) 0;
}
.services-head { margin-bottom: 64px; max-width: 760px; }
.services-head h2 em { color: var(--red); }

.svc-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.svc {
  background: var(--paper);
  padding: 28px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  cursor: pointer;
  transition: background .3s var(--ease);
  min-height: 360px;
}
.svc:hover { background: var(--paper-2); }
.svc .svc-visual {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--paper-2), var(--paper));
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  transition: transform .4s var(--ease);
}
.svc:hover .svc-visual { transform: translateY(-4px); }
.svc .svc-visual svg { width: 72%; height: 72%; }
.svc .svc-n {
   font-size: 10.5px; color: var(--red);
  letter-spacing: 0.12em; font-weight: 600;
}
.svc .svc-ttl {
  
  font-weight: 700;
  font-size: clamp(17px, 1.4vw, 20px);
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--ink);
  transition: color .3s;
}
.svc:hover .svc-ttl { color: var(--red); }
.svc .svc-tag {
  display: none;
}
.svc .svc-desc {
  font-size: 13.5px; line-height: 1.55; color: var(--muted);
  margin-top: auto;
}
.svc .chev { display: none; }
.svc-body { display: none; }
@media (max-width: 1100px) { .svc-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .svc-list { grid-template-columns: 1fr; } .svc { min-height: 0; } }

/* ==========================================================
   PROCESS — horizontal timeline
========================================================== */
.process {
  background: var(--ink); color: var(--paper);
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
}
.process .divider::after { background: rgba(255,255,255,.1); }
.process-head {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 60px);
  margin-bottom: 72px; align-items: end;
}
.process h2 em { color: var(--red); }
.process .head-r { color: rgba(246,242,236,.6); max-width: 460px; font-size: 16px; line-height: 1.6; padding-bottom: 6px; }

.timeline {
  display: grid; grid-template-columns: repeat(4, 1fr);
  position: relative;
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 36px;
}
.timeline::before {
  content: ''; position: absolute; top: 0; left: 0; height: 1px;
  background: var(--red);
  width: var(--tl-progress, 25%);
  transition: width .5s var(--ease);
}
.tl-step {
  padding: 0 24px 40px 0;
  position: relative;
  cursor: pointer;
  border-right: 1px solid rgba(255,255,255,.06);
}
.tl-step:last-child { border-right: none; }
.tl-step::before {
  content: ''; position: absolute; top: -40px; left: 0;
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.2);
  transition: all .3s;
}
.tl-step.active::before { background: var(--red); box-shadow: 0 0 0 4px rgba(216,53,42,.2); }
.tl-n {
   font-size: 11px; letter-spacing: 0.14em;
  color: var(--red); margin-bottom: 10px;
}
.tl-ttl {
   font-weight: 500;
  font-size: 22px; letter-spacing: -0.02em; line-height: 1.15;
  margin-bottom: 8px;
  color: var(--paper);
  transition: color .3s;
  opacity: 0.55;
}
.tl-step.active .tl-ttl { opacity: 1; }
.tl-sub { font-size: 13px; color: var(--muted-2); line-height: 1.5; opacity: 0.7; }
.tl-step.active .tl-sub { opacity: 1; }

.process-panels { margin-top: 40px; }
.process-panel {
  display: none;
  grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px);
  animation: panelIn .5s var(--ease-out);
}
.process-panel.active { display: grid; }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.pp-tag {
   font-size: 11px; letter-spacing: 0.14em;
  color: var(--red); text-transform: uppercase; margin-bottom: 18px;
}
.pp-title {
  
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 20px;
}
.pp-desc {
  font-size: 16px; line-height: 1.7; color: rgba(246,242,236,.7);
}
.pp-dels {
  display: flex; flex-direction: column; gap: 0;
  border-top: 1px solid rgba(255,255,255,.1);
}
.pp-del {
  display: flex; gap: 16px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.06);
   font-size: 13px; color: rgba(246,242,236,.85);
  letter-spacing: 0.01em;
}
.pp-del .idx { color: var(--red); font-size: 11px; width: 24px; flex-shrink: 0; }
.pp-del .lb { flex: 1; line-height: 1.4; }

@media (max-width: 900px) {
  .process-head { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; border-top: none; padding-top: 0; }
  .tl-step { border-right: none; border-left: 1px solid rgba(255,255,255,.1); padding: 20px 0 20px 24px; margin-bottom: 12px; }
  .tl-step::before { top: 24px; left: -4.5px; }
  .process-panel { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
}

/* ==========================================================
   ROI CALCULATOR
========================================================== */
.roi {
  background: var(--paper-2);
  padding: clamp(80px, 10vw, 140px) 0;
}
.roi-head { margin-bottom: 64px; max-width: 760px; }
.roi-head h2 em { color: var(--red); }

.roi-card {
  display: grid; grid-template-columns: 1.1fr 1fr;
  background: var(--paper); border: 1px solid var(--line);
  overflow: hidden;
}
.roi-inputs { padding: 44px 40px; border-right: 1px solid var(--line); }
.roi-in-group { margin-bottom: 30px; }
.roi-in-group:last-child { margin-bottom: 0; }
.roi-label {
  display: flex; justify-content: space-between; align-items: baseline;
   font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.roi-label .v {
   font-size: 24px; font-weight: 500;
  color: var(--ink); letter-spacing: -0.02em;
  text-transform: none;
}
.roi-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 2px; background: var(--line); outline: none;
  border-radius: 1px;
}
.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%; background: var(--red);
  cursor: pointer; border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--red);
  transition: transform .2s;
}
.roi-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.roi-slider::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%; background: var(--red);
  cursor: pointer; border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--red);
}

.roi-outputs {
  padding: 44px 40px; background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: center;
}
.roi-ot-label {
   font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px;
}
.roi-big {
   font-weight: 500;
  font-size: clamp(56px, 8vw, 96px); letter-spacing: -0.04em; line-height: 0.95;
  color: var(--paper); margin-bottom: 8px;
}
.roi-big .cur { color: var(--red); font-size: 0.45em; vertical-align: 0.5em; margin-right: 8px; font-style: italic; }
.roi-big .per { color: rgba(246,242,236,.5); font-size: 0.3em; vertical-align: 0.7em;  letter-spacing: 0; }
.roi-sub { color: rgba(246,242,236,.55); font-size: 14px; line-height: 1.5; max-width: 320px; margin-bottom: 32px; }
.roi-break {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 22px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.roi-break-item .l {
   font-size: 10.5px; color: var(--muted-2);
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 6px;
}
.roi-break-item .v {
   font-size: 20px; font-weight: 500; letter-spacing: -0.02em;
}
@media (max-width: 820px) {
  .roi-card { grid-template-columns: 1fr; }
  .roi-inputs { border-right: none; border-bottom: 1px solid var(--line); }
}

/* ==========================================================
   FRAMEWORK CHOOSER
========================================================== */
.fw {
  background: var(--paper);
  padding: clamp(80px, 10vw, 140px) 0;
}
.fw-head { margin-bottom: 64px; max-width: 760px; }
.fw-head h2 em { color: var(--red); }

.fw-layout { display: grid; grid-template-columns: 1.2fr 2fr; gap: clamp(24px, 4vw, 60px); }
.fw-questions { }
.fw-q { margin-bottom: 28px; }
.fw-q-label {
   font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
.fw-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.fw-pill {
  padding: 10px 16px; border: 1px solid var(--line); border-radius: 100px;
  background: transparent; font-size: 13px; font-weight: 500;
  color: var(--ink); cursor: pointer; transition: all .2s;
}
.fw-pill:hover { border-color: var(--ink); }
.fw-pill.selected { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.fw-result {
  background: var(--ink); color: var(--paper);
  padding: 44px 40px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 420px;
}
.fw-r-tag {
   font-size: 11px; letter-spacing: 0.12em;
  color: var(--red); text-transform: uppercase; margin-bottom: 14px;
}
.fw-r-name {
  
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--paper);
  margin-bottom: 18px;
}
.fw-r-reason {
  font-size: 15.5px; line-height: 1.6; color: rgba(246,242,236,.75);
  max-width: 520px; margin-bottom: 24px;
}
.fw-r-meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.fw-r-meta .l {  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 6px; }
.fw-r-meta .v {  font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
@media (max-width: 800px) {
  .fw-layout { grid-template-columns: 1fr; }
  .fw-r-meta { grid-template-columns: 1fr; gap: 16px; }
}

/* ==========================================================
   BENEFITS / NUMBERS
========================================================== */
.benefits { background: var(--paper-2); padding: clamp(80px, 10vw, 140px) 0; }
.benefits-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 60px); margin-bottom: 64px; align-items: end; }
.benefits h2 em { color: var(--red); }
.benefits .head-r { padding-bottom: 6px; color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 480px; }

.benefits-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
}
.ben {
  background: var(--paper);
  padding: 36px 32px;
  min-height: 220px;
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
}
.ben .big {
   font-weight: 500;
  font-size: clamp(48px, 6vw, 80px);
  letter-spacing: -0.04em; line-height: 0.9;
  color: var(--red);
  margin-bottom: 16px;
}
.ben .big .sm { color: var(--ink); font-size: 0.4em; vertical-align: 0.6em; margin-left: 4px; }
.ben h3 {  font-size: 19px; font-weight: 500; letter-spacing: -0.015em; margin-bottom: 8px; }
.ben p { font-size: 14px; color: var(--muted); line-height: 1.55; }

@media (max-width: 800px) { .benefits-grid { grid-template-columns: 1fr; } .benefits-head { grid-template-columns: 1fr; } }

/* ==========================================================
   INDUSTRIES — editorial list
========================================================== */
.industries { background: var(--ink); color: var(--paper); padding: clamp(80px, 10vw, 140px) 0; }
.industries-head { margin-bottom: 64px; max-width: 760px; }
.industries h2 em { color: var(--red); }
.industries .head-r { color: rgba(246,242,236,.6); font-size: 16px; line-height: 1.6; }

.ind-list { border-top: 1px solid rgba(255,255,255,.12); }
.ind {
  display: grid; grid-template-columns: 60px 1fr 2fr auto;
  gap: 28px; padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  align-items: center;
  transition: padding .35s var(--ease), background .35s;
}
.ind:hover { padding-left: 16px; background: rgba(255,255,255,.02); }
.ind .n {  font-size: 12px; color: var(--muted-2); letter-spacing: 0.08em; }
.ind .name {
  
  font-weight: 700;
  font-size: clamp(20px, 2vw, 24px);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.ind .desc { font-size: 14.5px; color: rgba(246,242,236,.6); line-height: 1.55; max-width: 460px; }
.ind .pills { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.ind .pill {
  padding: 4px 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 100px;
   font-size: 10.5px; letter-spacing: 0.06em;
  color: rgba(246,242,236,.6);
}
.ind:hover .name { color: var(--red); }
@media (max-width: 900px) {
  .ind { grid-template-columns: 1fr; gap: 10px; }
  .ind .pills { justify-content: flex-start; }
}

/* ==========================================================
   TECH STACK — constellation pill grid
========================================================== */
.tech { background: var(--paper); padding: clamp(80px, 10vw, 140px) 0; }
.tech-head { margin-bottom: 48px; max-width: 760px; }
.tech h2 em { color: var(--red); }

.tech-tabs {
  display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 40px;
  border-bottom: 1px solid var(--line); padding-bottom: 0;
}
.tech-tab {
  padding: 14px 18px;  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid transparent; margin-bottom: -1px;
  transition: all .2s; cursor: pointer;
}
.tech-tab:hover { color: var(--ink); }
.tech-tab.active { color: var(--ink); border-bottom-color: var(--red); }

.tech-panel { display: none; }
.tech-panel.active { display: block; animation: panelIn .35s var(--ease-out); }

.tech-group { margin-bottom: 0; padding: 20px 24px; border: 1px solid var(--line); background: var(--paper-2); }
.tech-groups-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 800px) { .tech-groups-grid { grid-template-columns: 1fr; } }
.tech-group-lb {
  font-family: 'Inter', monospace; font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--red); margin-bottom: 12px; font-weight: 600;
}
.tech-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.tech-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 100px;
  font-size: 12.5px; font-weight: 500; transition: all .2s;
  background: var(--paper);
}
.tech-pill:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tech-pill .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--red); flex-shrink: 0; }

/* ==========================================================
   UAE COMPLIANCE
========================================================== */
.compliance { background: var(--ink); color: var(--paper); padding: clamp(80px, 10vw, 140px) 0; }
.compliance h2 em { color: var(--red); }
.comp-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.comp-left .lede { color: rgba(246,242,236,.7);  font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; margin-bottom: 28px; max-width: 520px; }
.comp-list { display: flex; flex-direction: column; }
.comp-item {
  display: grid; grid-template-columns: 80px 1fr; gap: 20px;
  padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1);
  align-items: start;
}
.comp-item:last-child { border-bottom: 1px solid rgba(255,255,255,.1); }
.comp-item .tag {
   font-size: 11px; letter-spacing: 0.1em;
  color: var(--red); text-transform: uppercase; padding-top: 4px;
}
.comp-item h4 {  font-size: 18px; font-weight: 500; letter-spacing: -0.015em; margin-bottom: 6px; }
.comp-item p { font-size: 14px; color: rgba(246,242,236,.6); line-height: 1.5; }
@media (max-width: 800px) { .comp-layout { grid-template-columns: 1fr; } }

/* ==========================================================
   CASE STUDIES
========================================================== */
.cases { background: var(--paper); padding: clamp(80px, 10vw, 140px) 0; }
.cases-head { margin-bottom: 64px; max-width: 760px; }
.cases h2 em { color: var(--red); }

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case {
  background: var(--paper-2); border: 1px solid var(--line);
  padding: 0;
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.case:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(20,18,14,.2); }
.case-top {
  padding: 28px 28px 0; display: flex; justify-content: space-between; align-items: center;
   font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
  font-weight: 500;
}
.case-top .ind { color: var(--red); }
.case-body { padding: 24px 28px 28px; flex: 1; }
.case .client {  font-size: 11px; color: var(--muted); letter-spacing: 0.06em; margin-bottom: 12px; font-weight: 500; }
.case h3 {  font-size: 24px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 14px; }
.case p { font-size: 14.5px; color: var(--muted); line-height: 1.6; margin-bottom: 24px; }
.case-results {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  padding-top: 20px; border-top: 1px solid var(--line);
}
.case-r .n {  font-size: 28px; font-weight: 500; letter-spacing: -0.025em; color: var(--red); line-height: 1; margin-bottom: 4px; }
.case-r .l {  font-size: 10.5px; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; line-height: 1.3; }
@media (max-width: 900px) { .case-grid { grid-template-columns: 1fr; } }

/* ==========================================================
   WHY US
========================================================== */
.whyus { background: var(--paper-2); padding: clamp(80px, 10vw, 140px) 0; }
.whyus h2 em { color: var(--red); }
.whyus-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 6vw, 80px); }
.whyus-left { position: sticky; top: 100px; align-self: start; }
.whyus-left p { font-size: 16px; color: var(--muted); line-height: 1.65; margin: 24px 0 32px; max-width: 420px; }
.clutch { padding: 18px 22px; border: 1px solid var(--line); background: var(--paper); display: flex; align-items: center; gap: 20px; margin-bottom: 28px; max-width: 380px; }
.clutch .stars { display: flex; gap: 2px; color: var(--red); }
.clutch .stars svg { width: 14px; height: 14px; fill: currentColor; }
.clutch .lg {  font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.clutch .sm {  font-size: 11px; color: var(--muted); letter-spacing: 0.06em; }

.whyus-right { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.why-card { background: var(--paper); padding: 32px 28px; min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; }
.why-card .big {
   font-size: clamp(48px, 5.5vw, 72px); font-weight: 500;
  letter-spacing: -0.035em; color: var(--red); line-height: 0.9;
}
.why-card .big .sm { font-size: 0.4em; color: var(--muted); margin-left: 6px; }
.why-card h3 {  font-size: 20px; font-weight: 500; letter-spacing: -0.015em; margin: 24px 0 8px; }
.why-card p { font-size: 14px; color: var(--muted); line-height: 1.55; }
@media (max-width: 900px) {
  .whyus-layout { grid-template-columns: 1fr; }
  .whyus-left { position: static; }
  .whyus-right { grid-template-columns: 1fr; }
}


/* ==========================================================
   READINESS ASSESSMENT
========================================================== */
.readiness { background: var(--paper); padding: clamp(80px, 10vw, 140px) 0; }
.readiness-head { margin-bottom: 56px; max-width: 760px; }
.readiness h2 em { color: var(--red); }

.ra-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  overflow: hidden;
  max-width: 880px;
  margin: 0 auto;
}
.ra-progress {
  height: 3px; background: var(--line); position: relative;
}
.ra-progress-fill {
  height: 100%; background: var(--red); width: 20%;
  transition: width .5s var(--ease);
}
.ra-body { padding: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 56px); }
.ra-step-label {
   font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--red); margin-bottom: 24px;
  font-weight: 600;
}
.ra-q { display: none; animation: panelIn .4s var(--ease-out); }
.ra-q.active { display: block; }
.ra-q h3 {
  
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 28px;
}
.ra-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.ra-option {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all .2s var(--ease);
  font-size: 15px; line-height: 1.4;
  color: var(--ink);
}
.ra-option:hover { border-color: var(--ink); transform: translateX(2px); }
.ra-option input[type="radio"] {
  -webkit-appearance: none; appearance: none;
  width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid var(--line);
  flex-shrink: 0; cursor: pointer; position: relative;
  background: var(--paper);
  transition: border-color .2s, background .2s;
}
.ra-option.selected {
  border-color: var(--red);
  background: var(--red-tint);
}
.ra-option.selected input[type="radio"] {
  border-color: var(--red);
  background: var(--red);
  box-shadow: inset 0 0 0 3px var(--paper);
}
.ra-option span { flex: 1; }

.ra-actions {
  display: flex; justify-content: space-between; gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.ra-actions .btn:disabled {
  opacity: 0.4; cursor: not-allowed; pointer-events: none;
}

.ra-result-tag {
   font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--red); margin-bottom: 18px;
  font-weight: 600;
}
.ra-big {
   font-weight: 800;
  font-size: clamp(64px, 10vw, 120px);
  letter-spacing: -0.04em; line-height: 0.9;
  color: var(--red); margin-bottom: 12px;
}
.ra-tier {
  
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.02em; line-height: 1.2;
  color: var(--ink); margin-bottom: 16px;
}

@media (max-width: 640px) {
  .ra-actions { flex-direction: column-reverse; }
  .ra-actions .btn { width: 100%; justify-content: center; }
}


/* ==========================================================
   FAQ
========================================================== */
.faq { background: var(--paper); padding: clamp(80px, 10vw, 140px) 0; }
.faq h2 em { color: var(--red); }
.faq-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.faq-left { position: sticky; top: 100px; }
.faq-left p { font-size: 16px; color: var(--muted); line-height: 1.65; margin: 24px 0 28px; max-width: 380px; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { 
  border:none;
  background: none;
  border-radius:0;
  margin-bottom: 0;
  border-bottom: 1px solid var(--line); 
}
.faq-q {
  width: 100%; padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center;
  gap: 32px; text-align: left;
   font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 500; letter-spacing: -0.015em; line-height: 1.3;
  transition: padding .3s var(--ease);
}
.faq-q:hover { padding-left: 8px; color: var(--red); }
.faq-q .chev {
  width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0; transition: all .3s;
}
.faq-q .chev svg { width: 12px; height: 12px; stroke: var(--ink); stroke-width: 2; fill: none; transition: transform .3s; }
.faq-item.open .faq-q .chev { background: var(--red); border-color: var(--red); }
.faq-item.open .faq-q .chev svg { stroke: var(--paper); transform: rotate(45deg); }
.faq-item.open .faq-q { color: var(--red); padding-left: 8px; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .45s var(--ease), padding .3s;
  font-size: 15.5px; color: var(--muted); line-height: 1.7;
  max-width: 680px;
}
.faq-item.open .faq-a { max-height: 500px; padding: 0 0 28px 8px; font-weight: 500; }
.faq-a em { color: var(--ink); font-style: italic; }

@media (max-width: 900px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-left { position: static; }
}

/* ==========================================================
   CTA
========================================================== */
.cta { background: var(--ink); color: var(--paper); padding: clamp(100px, 12vw, 180px) 0; text-align: center; position: relative; overflow: hidden; }
.cta::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 50% 120%, rgba(216,53,42,.15) 0, transparent 60%);
  pointer-events: none;
}
.cta-inner { position: relative; max-width: 860px; margin: 0 auto; }
.cta h2 { font-size: clamp(28px, 3.5vw, 44px); margin-bottom: 24px; }
.cta h2 em { color: var(--red); }
.cta p { color: rgba(246,242,236,.65); font-size: 18px; max-width: 560px; margin: 0 auto 40px; line-height: 1.55; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================
   FOOTER
========================================================== */
.footer { background: var(--ink-2); color: var(--paper); padding: 80px 0 32px; }
.footer-inner { max-width: var(--cont); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.footer .logo { font-size: 20px; color: var(--paper); margin-bottom: 20px; }
.footer-brand p { color: rgba(246,242,236,.55); font-size: 14px; line-height: 1.6; max-width: 340px; margin-bottom: 20px; }
.footer-brand .addr {  font-size: 12px; color: var(--muted-2); line-height: 1.6; letter-spacing: 0.02em; }
.footer h4 {  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { font-size: 14px; color: rgba(246,242,236,.7); transition: color .2s; }
.footer ul a:hover { color: var(--red); }
.footer-bottom {
  max-width: var(--cont); margin: 0 auto; padding: 24px var(--gutter) 0;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
   font-size: 11px; color: var(--muted-2); letter-spacing: 0.06em;
}
.footer-bottom .socials { display: flex; gap: 14px; }
.footer-bottom .socials a { color: rgba(246,242,236,.5); transition: color .2s; }
.footer-bottom .socials a:hover { color: var(--red); }
.footer-bottom .socials svg { width: 14px; height: 14px; }
@media (max-width: 800px) { .footer-inner { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1/-1; } }

/* ==========================================================
   REVEAL
========================================================== */
[data-r] { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
[data-r].vis { opacity: 1; transform: none; }
[data-r][data-d="1"] { transition-delay: .08s; }
[data-r][data-d="2"] { transition-delay: .16s; }
[data-r][data-d="3"] { transition-delay: .24s; }
[data-r][data-d="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  [data-r] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Count-up number class */
.countup { display: inline-block; }

/* Floating CTA chip */
.float-chip {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  background: var(--red); color: var(--paper);
  padding: 14px 20px; border-radius: 100px;
  font-size: 14px; font-weight: 500;
  box-shadow: 0 18px 40px -12px rgba(216,53,42,.5);
  opacity: 0; transform: translateY(20px);
  transition: opacity .4s, transform .4s;
  display: inline-flex; align-items: center; gap: 10px;
}
.float-chip.vis { opacity: 1; transform: none; }
.float-chip:hover { background: var(--red-deep); }
