:root {
  --field: #F3F5F8;
  --ink: #0F1A2B;
  --slate: #4A5568;
  --mist: #D5DBE4;
  --cobalt: #2747E8;
  --amber: #FF9F1C;
  --night: #121D33;
  --night-2: #1B2843;

  --font: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--field);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  font-variation-settings: "opsz" 18;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; inset-inline-start: 8px; top: 8px; transform: translateY(-200%); background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.top, .foot, main > section {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: 22px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; font-variation-settings: "opsz" 24, "wdth" 90; }
.top nav { display: flex; align-items: center; gap: 28px; font-size: 16px; }
.top nav a:not(.btn) { text-decoration: none; color: var(--slate); }
.top nav a:not(.btn):hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--cobalt); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 17px;
  transition: background-color .2s ease, transform .2s ease;
}
.btn:hover { background: #1C36C4; }
.btn:active { transform: translateY(1px); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-light { background: var(--field); color: var(--ink); }
.btn-light:hover { background: #fff; }
.link { color: var(--ink); font-weight: 600; text-underline-offset: 5px; text-decoration-thickness: 2px; text-decoration-color: var(--mist); }
.link:hover { text-decoration-color: var(--cobalt); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding-block: clamp(40px, 8vw, 112px) clamp(64px, 9vw, 128px);
}
h1 {
  font-size: clamp(42px, 5.8vw, 84px);
  line-height: .95;
  letter-spacing: -0.025em;
  font-weight: 700;
  font-variation-settings: "opsz" 96, "wdth" 84;
  max-width: 15ch;
  text-wrap: balance;
}
.lede { margin-top: 28px; font-size: clamp(18px, 1.6vw, 21px); color: var(--slate); max-width: 34em; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }

/* Call card: the one loud element on the page */
.call {
  margin: 0;
  background: var(--night);
  color: #E8ECF3;
  border-radius: 32px;
  padding: 26px 26px 22px;
  min-height: 560px;
  display: flex; flex-direction: column;
  box-shadow: 0 40px 80px -40px rgba(15, 26, 43, .55);
}
.call-head { display: flex; align-items: center; gap: 14px; }
.live { width: 12px; height: 12px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(255,159,28,.6); flex: none; }
.call.on .live { animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 12px rgba(255,159,28,0); } }
.call-title { font-weight: 600; font-size: 17px; }
.call-sub { font-size: 14px; color: #93A0B8; }
.timer { margin-inline-start: auto; font-size: 15px; color: #93A0B8; font-variant-numeric: tabular-nums; }

.wave {
  height: 112px; margin: 26px 0 18px;
  display: flex; align-items: center; justify-content: center; gap: 7px;
}
.wave span {
  width: 16px; height: 100%; border-radius: 8px; background: #3A4763;
  transform: scaleY(.18); transform-origin: center;
  transition: background-color .3s ease;
}
.call[data-speaker="agent"] .wave span { background: #5B78FF; }
.call[data-speaker="caller"] .wave span { background: #C6CEDD; }

.transcript { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.msg, .tool {
  opacity: 0; transform: translateY(8px);
  transition: opacity .45s ease, transform .45s ease;
}
.msg.in, .tool.in { opacity: 1; transform: none; }
.msg { max-width: 86%; padding: 11px 15px; border-radius: 18px; font-size: 16px; line-height: 1.45; }
.msg.caller { align-self: flex-start; background: var(--night-2); border-end-start-radius: 6px; }
.msg.agent { align-self: flex-end; background: var(--cobalt); color: #fff; border-end-end-radius: 6px; }
.tool {
  align-self: center; font-size: 14px; color: #C6CEDD;
  border: 1px dashed #3A4763; border-radius: 10px; padding: 7px 12px;
}
.tool span { color: var(--amber); font-weight: 600; margin-inline-end: 6px; }
.call-foot {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid #26334F;
  font-size: 15px; color: #93A0B8;
  opacity: 0; transition: opacity .6s ease;
}
.call-foot.in { opacity: 1; }

/* Sections */
main > section + section { margin-top: clamp(88px, 11vw, 160px); }
h2 {
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 700;
  font-variation-settings: "opsz" 72, "wdth" 82;
  text-wrap: balance;
}
h3 { font-size: 24px; line-height: 1.15; letter-spacing: -0.02em; font-weight: 650; font-variation-settings: "opsz" 32, "wdth" 92; }

.proof-strip { padding-block: 0; }
.proof-strip dl {
  margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist);
}
.proof-strip dl > div { padding-block: 26px 28px; padding-inline: 0 24px; }
.proof-strip dl > div + div { padding-inline-start: 24px; border-inline-start: 1px solid var(--mist); }
.proof-strip dt {
  font-size: clamp(28px, 3vw, 40px); line-height: 1; font-weight: 700; letter-spacing: -0.03em;
  font-variation-settings: "opsz" 72, "wdth" 82;
}
.proof-strip dd { margin: 10px 0 0; font-size: 15px; color: var(--slate); line-height: 1.45; }

/* Offer overview */
.overview-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 20px clamp(32px, 6vw, 96px); align-items: end; }
.overview-head p { color: var(--slate); font-size: 19px; }
.options { list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.option { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 28px; background: #fff; border: 1px solid var(--mist); }
.option-for { font-size: 15px; font-weight: 600; color: var(--cobalt); }
.option h3 { font-size: 26px; font-variation-settings: "opsz" 48, "wdth" 86; }
.option > p:not(.option-for) { color: var(--slate); font-size: 16px; }
.option dl { margin: 6px 0 0; display: grid; gap: 0; border-top: 1px solid var(--mist); }
.option dl > div { padding: 12px 0; border-bottom: 1px solid var(--mist); font-size: 15px; }
.option dt { font-weight: 600; }
.option dd { margin: 2px 0 0; color: var(--slate); }
.option .link { margin-top: auto; padding-top: 8px; align-self: flex-start; }
.option-dark { background: var(--ink); border-color: var(--ink); color: #E8ECF3; }
.option-dark .option-for { color: #7D95FF; }
.option-dark > p:not(.option-for), .option-dark dd { color: #AEB8CB; }
.option-dark dl, .option-dark dl > div { border-color: #2A3854; }
.option-dark .link { color: #fff; text-decoration-color: #3A4763; }
.option-dark .link:hover { text-decoration-color: #7D95FF; }

/* Offers */
.offers { display: grid; gap: clamp(88px, 11vw, 150px); }
.offer-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 20px clamp(32px, 6vw, 96px); align-items: end; }
.offer-head p { color: var(--slate); font-size: 19px; }
.channels { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.channel { padding-block: 26px 8px; padding-inline: 0 28px; }
.channel + .channel { padding-inline-start: 28px; border-inline-start: 1px solid var(--mist); }
.channel p { margin-top: 12px; color: var(--slate); font-size: 17px; }
.built { color: var(--ink) !important; font-size: 15px !important; display: flex; gap: 10px; align-items: baseline; }
.built::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex: none; transform: translateY(-1px); }

.offer-dark {
  background: var(--ink); color: #E8ECF3; border-radius: 36px;
  padding: clamp(40px, 6vw, 88px) clamp(24px, 5vw, 72px);
  margin-inline: calc(-1 * clamp(0px, 2vw, 24px));
}
.offer-dark .offer-head p, .offer-dark p { color: #AEB8CB; }
.offer-dark h3 { color: #fff; }
.consult-grid { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px clamp(32px, 6vw, 96px); padding-top: 30px; border-top: 1px solid #2A3854; }
.consult-grid p { margin-top: 14px; font-size: 17px; }
.consult-grid .note { color: #E8ECF3; border-inline-start: 3px solid var(--amber); padding-inline-start: 16px; margin-top: 22px; }
.ticks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; font-size: 17px; }
.ticks li { position: relative; padding-inline-start: 28px; }
.ticks li::before {
  content: ""; position: absolute; inset-inline-start: 2px; top: .45em; width: 12px; height: 7px;
  border-left: 2px solid var(--cobalt); border-bottom: 2px solid var(--cobalt); transform: rotate(-45deg);
}
.offer-dark .ticks li::before { border-color: #7D95FF; }
.offer-dark .ticks strong { color: #fff; font-weight: 650; }
.offer-dark .ticks li { color: #AEB8CB; }

.skill-list { list-style: none; margin: clamp(36px, 5vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.skill-list li { padding: 22px 0 24px; border-top: 1px solid var(--mist); }
.skill-list h3 { font-size: 20px; }
.skill-list p { margin-top: 8px; color: var(--slate); font-size: 16px; }

/* Consultation */
.consultation { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(32px, 6vw, 96px); align-items: start; }
.consult-copy > p { margin-top: 20px; color: var(--slate); font-size: 19px; max-width: 34em; }
.consult-copy h3 { margin-top: 36px; font-size: 20px; }
.consult-copy .ticks li { color: var(--slate); }
.consult-copy .ticks strong { color: var(--ink); font-weight: 650; }
.ticket {
  background: #fff; border-radius: 28px; padding: 32px;
  border: 1px solid var(--mist);
  box-shadow: 0 30px 60px -36px rgba(15, 26, 43, .35);
  position: relative;
}
.ticket::before { content: ""; position: absolute; left: 32px; right: 32px; top: 0; height: 4px; background: var(--amber); border-radius: 0 0 4px 4px; }
.price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.amount { font-size: 64px; line-height: 1; font-weight: 700; letter-spacing: -0.04em; font-variation-settings: "opsz" 96, "wdth" 80; }
.per { color: var(--slate); font-size: 16px; }
.ticket-steps { margin: 26px 0 28px; padding: 0; list-style: none; counter-reset: t; display: grid; gap: 14px; }
.ticket-steps li { counter-increment: t; display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 16px; }
.ticket-steps li::before {
  content: counter(t); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--field); color: var(--cobalt); font-weight: 700; font-size: 14px;
}
.btn-block { width: 100%; }
.fine { margin-top: 14px; font-size: 14px; color: var(--slate); text-align: center; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 6vw, 96px); }
.about .role { margin-top: 10px; color: var(--cobalt); font-weight: 600; }
.about-intro p:not(.role) { margin-top: 18px; color: var(--slate); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { padding-block: 0 28px; padding-inline: 28px 0; border-inline-start: 2px solid var(--mist); position: relative; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--field); border: 2px solid var(--cobalt); }
.timeline li:first-child::before { background: var(--cobalt); }
.when { font-size: 15px; color: var(--slate); }
.timeline h3 { margin-top: 4px; font-size: 22px; }
.timeline h3 + p { margin-top: 8px; color: var(--slate); font-size: 17px; }
.creds { margin: 8px 0 0; display: grid; gap: 0; }
.creds > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--mist); font-size: 16px; }
.creds dt { font-weight: 650; }
.creds dd { margin: 0; color: var(--slate); }

.faq { max-width: calc(880px + 2 * var(--gutter)) !important; }
.faq h2 { margin-bottom: 28px; }
details { border-top: 1px solid var(--mist); }
details:last-of-type { border-bottom: 1px solid var(--mist); }
summary {
  cursor: pointer; list-style: none; padding-block: 22px; padding-inline: 0 44px; position: relative;
  font-size: 21px; font-weight: 600; letter-spacing: -0.01em;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; inset-inline-end: 6px; top: 50%; width: 14px; height: 14px; margin-top: -10px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(45deg); transition: transform .25s ease, margin-top .25s ease;
}
details[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
details p { padding: 0 0 24px; color: var(--slate); max-width: 40em; }

.cta {
  text-align: center;
  background: var(--cobalt); color: #fff;
  border-radius: 36px;
  padding-block: clamp(56px, 8vw, 112px);
  display: flex; flex-direction: column; align-items: center;
}
.cta img { margin-bottom: 26px; }
.cta h2 { max-width: 15ch; }
.cta p { margin: 22px 0 34px; max-width: 32em; color: #DDE3FF; }

.foot {
  margin-top: clamp(64px, 8vw, 112px);
  padding-block: 32px 40px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px;
  font-size: 15px; color: var(--slate);
}
.foot .brand { font-size: 17px; color: var(--ink); margin-inline-end: auto; }

/* Language switch */
.lang { font-weight: 600; text-decoration: none; color: var(--ink) !important; padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--mist); }
.lang:hover { background: #fff; }

/* Industries and markets */
.industries, .markets { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px clamp(32px, 6vw, 96px); }
.industries-head p, .markets-head p { margin-top: 16px; color: var(--slate); }
.ind-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.ind-list li { padding: 20px 0 22px; border-top: 1px solid var(--mist); }
.ind-list p { margin-top: 6px; color: var(--slate); font-size: 16px; }
.market-list { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.market-list > div { padding: 18px 0 20px; border-top: 2px solid var(--ink); }
.market-list dt { font-weight: 650; font-size: 20px; }
.market-list dd { margin: 6px 0 0; color: var(--slate); font-size: 16px; }
.market-note { margin-top: 24px; color: var(--slate); font-size: 16px; grid-column: 2; }

/* Responsive */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .call { min-height: 520px; }
  .offer-head, .overview-head, .consult-grid, .consultation, .about, .industries, .markets { grid-template-columns: 1fr; }
  .market-note { grid-column: 1; }
  .market-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .options { grid-template-columns: 1fr; }
  .proof-strip dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-strip dl > div:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .proof-strip dl > div:nth-child(n+3) { border-top: 1px solid var(--mist); }
  .channels { grid-template-columns: 1fr; }
  .channel, .channel + .channel { padding: 22px 0; border-inline-start: 0; }
  .channel + .channel { border-top: 1px solid var(--mist); }
  .skill-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  body { font-size: 17px; }
  .top nav a:not(.btn):not(.lang) { display: none; }
  .skill-list, .ind-list { grid-template-columns: 1fr; }
  .proof-strip dl > div { padding-inline-end: 12px; }
  .proof-strip dl > div + div { padding-inline-start: 12px; }
  .offer-dark, .cta { border-radius: 24px; margin-inline: 0; }
  .ticket { padding: 26px 22px; }
  .creds > div { grid-template-columns: 1fr; gap: 4px; }
  .call { border-radius: 24px; padding: 20px 18px; }
  .wave { height: 88px; }
  .wave span { width: 13px; }
}

@media (max-width: 420px) {
  .top { gap: 10px; }
  .top nav { gap: 10px; }
  .top > .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .btn-small { padding: 0 14px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .msg, .tool, .call-foot { transition: none; }
  .call.on .live { animation: none; }
}

/* Arabic */
html[lang="ar"] body { font-family: "IBM Plex Sans Arabic", var(--font); line-height: 1.8; }
html[lang="ar"] *, html[lang="ar"] *::before, html[lang="ar"] *::after { letter-spacing: 0 !important; }
html[lang="ar"] h1 { line-height: 1.25; font-size: clamp(38px, 5vw, 70px); font-weight: 700; max-width: 18ch; }
html[lang="ar"] h2 { line-height: 1.3; font-weight: 700; }
html[lang="ar"] h3, html[lang="ar"] summary { font-weight: 600; line-height: 1.5; }
html[lang="ar"] .proof-strip dt, html[lang="ar"] .amount { font-family: var(--font); }
html[lang="ar"] .brand span, html[lang="ar"] .lang[lang="en"] { font-family: var(--font); }
