/* ==========================================================
   Presentation layout: fixed 1920x1080 stage, scaled to fit
   ========================================================== */
html { scroll-behavior: smooth; background: #04070f; }
body { margin: 0; overflow-x: hidden; }

.viewport { background: #04070f; }
.stage { position: relative; }

/* Each 1920x1080 slide sits in a slot that takes its scaled height,
   so the page scrolls naturally from one section to the next. */
.slot {
  position: relative;
  width: 100%;
  height: calc(1080px * var(--scale, 1));
  overflow: hidden;
}
.slot > .slide {
  top: 0; left: 0; right: auto;
  width: 1920px;
  height: 1080px;
  transform: scale(var(--scale, 1));
  transform-origin: top left;
}

.slide {
  position: absolute;
  inset: 0;
  padding: 92px 120px 110px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(900px 600px at 88% 8%, rgba(24, 191, 255, .13), transparent 60%),
    radial-gradient(800px 600px at 6% 96%, rgba(139, 108, 255, .14), transparent 60%),
    linear-gradient(160deg, var(--bg-2), var(--bg) 60%);
}

/* subtle grid texture */
.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.slide > * { position: relative; }

.kicker {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: .02em;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.kicker::before {
  content: "";
  width: 42px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(270deg, var(--cyan), var(--violet));
}

h1, h2 { font-family: var(--display); margin: 0; font-weight: 800; }
h1 { font-size: 112px; line-height: 1.25; }
h2 { font-size: 64px; line-height: 1.35; }
.lead { font-size: 34px; line-height: 1.75; color: #c9d4f2; margin: 22px 0 0; max-width: 1180px; font-weight: 300; }

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; flex: 1; align-items: center; margin-top: 30px; }
.cols.wide-visual { grid-template-columns: 720px 1fr; }

.bullets { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.bullets li {
  font-size: 31px;
  line-height: 1.6;
  padding-right: 46px;
  position: relative;
  font-weight: 400;
}
.bullets li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 18px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(24,191,255,.6);
}
.bullets li:nth-child(2)::before { background: var(--green); box-shadow: 0 0 18px rgba(46,230,166,.6); }
.bullets li:nth-child(3)::before { background: var(--violet); box-shadow: 0 0 18px rgba(139,108,255,.6); }
.bullets li:nth-child(4)::before { background: var(--magenta); box-shadow: 0 0 18px rgba(255,79,216,.6); }
.bullets li:nth-child(5)::before { background: var(--amber); box-shadow: 0 0 18px rgba(255,194,75,.6); }

.card {
  background: linear-gradient(160deg, rgba(22,34,74,.92), rgba(17,27,58,.92));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 34px 36px;
}

/* ---------- Cover ---------- */
.cover-grid { display: grid; grid-template-columns: 1fr 760px; gap: 40px; flex: 1; align-items: center; }
.cover .role { font-size: 40px; color: var(--cyan); font-weight: 500; margin: 26px 0 0; }
.cover .tagline { font-size: 36px; line-height: 1.7; color: #c9d4f2; margin: 34px 0 0; max-width: 980px; font-weight: 300; }
.cover .tagline b { color: var(--text); font-weight: 600; }

/* ---------- Numbers ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 54px; }
.stat { padding: 40px 40px 34px; min-height: 270px; display: flex; flex-direction: column; }
.stat .num {
  font-family: var(--display);
  font-size: 100px;
  font-weight: 800;
  line-height: 1;
  direction: ltr;
  text-align: right;
  background: linear-gradient(270deg, var(--cyan), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .num small { font-size: 46px; font-weight: 700; }
.stat .cap { font-size: 28px; line-height: 1.55; margin-top: 22px; font-weight: 500; }
.stat .sub { font-size: 22px; color: var(--muted); margin-top: 8px; line-height: 1.5; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; margin-top: 10px; }
.step h3 { font-family: var(--display); font-size: 34px; margin: 0 0 14px; font-weight: 700; }
.step p { font-size: 25px; line-height: 1.6; color: #c9d4f2; margin: 0; }
.note {
  margin-top: 46px;
  display: inline-flex;
  gap: 26px;
  align-items: center;
  font-size: 30px;
  padding: 24px 36px;
  border-radius: 999px;
  border: 1px solid rgba(46,230,166,.45);
  background: rgba(46,230,166,.08);
  align-self: flex-start;
}
.note b { color: var(--green); }

/* ---------- Audience cards ---------- */
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 56px; }
.aud { padding: 40px 34px; min-height: 470px; display: flex; flex-direction: column; gap: 22px; }
.aud svg { width: 96px; height: 96px; }
.aud h3 { font-family: var(--display); font-size: 33px; line-height: 1.45; margin: 0; font-weight: 700; }
.aud p { font-size: 24px; line-height: 1.65; color: #c9d4f2; margin: 0; }

/* ---------- Skills ---------- */
.skill-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.skill-grid .card h3 { font-family: var(--display); font-size: 28px; margin: 0 0 20px; font-weight: 700; color: var(--cyan); }
.chips { display: flex; flex-wrap: wrap; gap: 12px; direction: ltr; justify-content: flex-end; }
.chip {
  font-size: 22px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.certs { display: flex; gap: 22px; margin-top: 30px; }
.cert {
  flex: 1;
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 23px;
  padding: 22px 26px;
  border-radius: 20px;
  border: 1px solid rgba(255,194,75,.35);
  background: rgba(255,194,75,.06);
}
.cert svg { width: 46px; height: 46px; flex: none; }

/* ---------- Contact ---------- */
.contact-list { display: grid; gap: 26px; margin-top: 50px; }
.contact-list a, .contact-list div {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 38px;
  color: var(--text);
  text-decoration: none;
}
.contact-list .ico {
  width: 76px; height: 76px; border-radius: 22px;
  display: grid; place-items: center;
  background: rgba(24,191,255,.12);
  border: 1px solid rgba(24,191,255,.4);
}
.contact-list .ico svg { width: 40px; height: 40px; }

/* ---------- Chrome: progress, counter, nav ---------- */
.progress {
  position: fixed;
  right: 0; top: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(270deg, var(--cyan), var(--violet), var(--magenta));
  z-index: 20;
}
.footer {
  position: absolute;
  bottom: 36px; right: 120px; left: 120px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 18px;
  font-size: 20px;
  color: var(--muted);
  z-index: 5;
}
.footer .brand { font-family: var(--display); font-weight: 700; color: #b9c6ea; }

.nav {
  position: fixed;
  bottom: 22px;
  left: 22px;
  display: flex;
  gap: 10px;
  z-index: 10;
  direction: ltr;
}
.nav button {
  width: 46px; height: 46px; border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(17,27,58,.85);
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
}
.nav button:hover { border-color: var(--cyan); }

/* ==========================================================
   Print / PDF: one 1920x1080 page per slide, final states
   ========================================================== */
@media print {
  @page { size: 1920px 1080px; margin: 0; }
  html, body { overflow: visible; height: auto; background: var(--bg); }
  html { scroll-behavior: auto; }
  .slot { height: auto; overflow: visible; }
  .slot > .slide { position: relative; transform: none !important; height: 1080px; page-break-after: always; break-after: page; }
  .nav { display: none; }
  .progress { display: none; }
}

/* ---------- Service families ---------- */
.families { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 46px; }
.family { padding: 34px 34px 26px; }
.fam-head { display: flex; align-items: center; gap: 20px; margin-bottom: 18px; }
.fam-head svg { width: 70px; height: 70px; flex: none; }
.fam-head h3 { font-family: var(--display); font-size: 38px; margin: 0; font-weight: 800; }
.fam-en { font-size: 20px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.family ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.family li { padding: 16px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.family li b { font-size: 26px; font-weight: 500; line-height: 1.45; }
.family li .en { font-size: 19px; color: var(--muted); text-align: right; }

/* ---------- Geography ---------- */
.geo-grid { display: grid; grid-template-columns: 500px 1fr; gap: 30px; flex: 1; align-items: center; margin-top: 0; }
.geo-map { width: 1035px; height: 690px; }
.geo-label { font-family: var(--body); font-size: 17px; font-weight: 600; fill: #ffffff; paint-order: stroke; stroke: #080d1c; stroke-width: 5px; stroke-linejoin: round; }
.region { padding: 22px 0; border-top: 1px solid var(--line); }
.region h3 { font-family: var(--display); font-size: 30px; margin: 0 0 8px; font-weight: 700; }
.region p { font-size: 28px; margin: 0; line-height: 1.6; }

/* page numbers */
.stage { counter-reset: slide; }
.slide { counter-increment: slide; }
.slide .pg { font-family: var(--display); font-weight: 500; color: var(--muted); padding-right: 18px; border-right: 1px solid var(--line); }
.slide .pg::after { content: counter(slide, decimal-leading-zero) " / " attr(data-total); }

.m-only { display: none; }

/* ================= Phones and small tablets: reflow instead of scaling ================= */
@media (max-width: 899px) {
  .d-only { display: none !important; }
  .m-only { display: block; }
  .nav { display: none; }

  .slot { height: auto; overflow: visible; }
  .slot > .slide {
    position: relative; width: auto; height: auto; transform: none;
    padding: 56px 20px 72px; overflow: hidden;
  }
  .slot + .slot > .slide { border-top: 1px solid var(--line); }

  .kicker { font-size: 14px; margin-bottom: 10px; gap: 10px; }
  .kicker::before { width: 26px; height: 3px; }
  h1 { font-size: 46px; }
  h2 { font-size: 27px; line-height: 1.45; }
  .lead { font-size: 17px; margin-top: 12px; }
  .card { border-radius: 18px; padding: 18px; }

  .cols, .cols.wide-visual, .cover-grid, .geo-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 22px; }
  .slide svg[viewBox] { width: 100%; height: auto; max-width: 520px; margin-inline: auto; display: block; }
  .cover-grid > svg, .cover-grid > div:has(svg[viewBox]) { order: -1; max-width: 300px; }
  .cover .role { font-size: 19px; margin-top: 12px; }
  .cover .tagline { font-size: 17px; margin-top: 14px; }

  .bullets { gap: 14px; }
  .bullets li { font-size: 16.5px; padding-right: 26px; }
  .bullets li::before { width: 11px; height: 11px; top: 9px; border-radius: 4px; }

  .stats { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
  .stat { padding: 16px; min-height: 0; }
  .stat .num { font-size: 40px; }
  .stat .num small { font-size: 20px; }
  .stat .cap { font-size: 14px; margin-top: 10px; }
  .stat .sub { font-size: 12px; }

  .families { grid-template-columns: 1fr !important; gap: 12px !important; margin-top: 22px !important; }
  .fam-head svg { width: 40px !important; height: 40px !important; }
  .fam-head h3 { font-size: 22px !important; }
  .family li b { font-size: 16px !important; }
  .family li .en { font-size: 12.5px !important; }

  .steps { grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px !important; }
  .step h3 { font-size: 17px; margin-bottom: 6px; }
  .step p { font-size: 14px; }
  .note { font-size: 14px; gap: 10px; padding: 10px 16px; margin-top: 20px; flex-wrap: wrap; }

  .audience { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
  .aud { padding: 16px; min-height: 0; gap: 10px; }
  .aud svg { width: 38px; height: 38px; }
  .aud h3 { font-size: 16px; }
  .aud p { font-size: 13.5px; }

  .geo-label { font-size: 30px; stroke-width: 8px; }
  .region h3 { font-size: 18px !important; }
  .region p { font-size: 16px !important; }

  .skill-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 22px; }
  .skill-grid .card h3 { font-size: 17px; margin-bottom: 10px; }
  .chips { gap: 7px; }
  .chip { font-size: 13px; padding: 5px 11px; }
  .certs { flex-direction: column; gap: 8px; margin-top: 14px; }
  .cert { font-size: 13.5px; padding: 10px 14px; border-radius: 12px; }
  .cert svg { width: 24px; height: 24px; }

  .contact-list { gap: 14px; margin-top: 24px; }
  .contact-list a, .contact-list div { font-size: 17px; gap: 12px; }
  .contact-list .ico { width: 44px; height: 44px; border-radius: 13px; }
  .contact-list .ico svg { width: 22px; height: 22px; }

  .footer { right: 20px; left: 20px; bottom: 22px; font-size: 12px; gap: 10px; }
  .slide .pg { padding-right: 10px; }

  .steps .card p { font-size: 15px !important; }
  .slide h2[style*="font-size"] { font-size: 34px !important; }
  .m-tl .y { text-align: right; }

  /* phone-only alternatives for wide labelled diagrams */
  .m-block h3 { font-family: var(--display); font-size: 17px; margin: 22px 0 10px; }
  .m-chain { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: c; }
  .m-chain li { counter-increment: c; position: relative; font-size: 15px; padding: 11px 44px 11px 14px;
    border: 1px solid rgba(24,191,255,.45); border-radius: 12px; background: rgba(17,27,58,.85); }
  .m-chain li::before { content: counter(c); position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px;
    font-family: var(--display); color: var(--cyan); border: 1px solid currentColor; }
  .m-chain.green li { border-color: rgba(46,230,166,.45); }
  .m-chain.green li::before { color: var(--green); }
  .m-tl { list-style: none; margin: 26px 0 0; padding: 0 22px 0 0; border-right: 2px solid var(--violet); display: grid; gap: 18px; }
  .m-tl li { position: relative; }
  .m-tl li::before { content: ""; position: absolute; right: -30px; top: 6px; width: 12px; height: 12px; border-radius: 50%;
    background: var(--cyan); box-shadow: 0 0 0 3px var(--bg); }
  .m-tl .y { display: block; font-family: var(--display); font-weight: 700; color: var(--cyan); font-size: 15px; }
  .m-tl b { display: block; font-size: 16px; margin-top: 2px; }
  .m-tl .s { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
}


/* ---------- Service 3: automation domains ---------- */
.domains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.dom { padding: 26px 28px; display: flex; flex-direction: column; gap: 16px; }
.dom-h { display: flex; align-items: center; gap: 16px; }
.dom-h svg { width: 50px; height: 50px; flex: none; }
.dom h3 { font-family: var(--display); font-size: 29px; font-weight: 700; margin: 0; line-height: 1.3; }
.dom-h .en { display: block; font-size: 17px; color: var(--muted); letter-spacing: .04em; margin-top: 2px; text-align: right; }
.dom p { margin: 0; font-size: 22px; line-height: 1.6; color: #c9d4f2; }
.proof { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 34px; font-size: 24px;
  padding: 18px 30px; border-radius: 22px; border: 1px solid rgba(46,230,166,.35); background: rgba(46,230,166,.06); }
.proof-k { font-family: var(--display); font-weight: 700; color: var(--green); }
.proof-i { display: inline-flex; align-items: center; gap: 12px; }
.proof-i svg { width: 30px; height: 30px; flex: none; }

@media (max-width: 899px) {
  .domains { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
  .dom { padding: 14px; gap: 8px; }
  .dom-h { gap: 8px; align-items: flex-start; }
  .dom-h svg { width: 28px; height: 28px; }
  .dom h3 { font-size: 15.5px; }
  .dom-h .en { font-size: 11px; }
  .dom p { font-size: 13px; }
  .proof { flex-direction: column; align-items: flex-start; gap: 10px; font-size: 14.5px; padding: 14px 16px; margin-top: 16px; border-radius: 14px; }
  .proof-i svg { width: 20px; height: 20px; }
}

/* ---------- Audience: sectors ---------- */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.sec { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 22px; }
.sec svg { width: 52px; height: 52px; flex: none; }
.sec h3 { font-family: var(--display); font-size: 25px; font-weight: 700; margin: 0; line-height: 1.35; }
.sec p { margin: 6px 0 0; font-size: 19px; color: var(--muted); line-height: 1.5; }
.more { margin: 26px 0 0; font-size: 24px; color: #c9d4f2; }
@media (max-width: 899px) {
  .sectors { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
  .sec { flex-direction: column; align-items: flex-start; gap: 8px; padding: 13px; border-radius: 14px; }
  .sec svg { width: 28px; height: 28px; }
  .sec h3 { font-size: 14.5px; }
  .sec p { font-size: 12.5px; margin-top: 3px; }
  .more { font-size: 14px; margin-top: 14px; }
}

/* ---------- Numbers: 4 x 2 ---------- */
.stats-8 { grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.stats-8 .stat { padding: 30px 30px 26px; min-height: 0; }
.stats-8 .stat .num { font-size: 82px; }
.stats-8 .stat .num small { font-size: 38px; }
.stats-8 .stat .cap { font-size: 24px; margin-top: 16px; }
.stats-8 .stat .sub { font-size: 19px; }

/* ---------- Platform features ---------- */
.feats { display: flex; flex-wrap: wrap; gap: 14px 18px; margin-top: 10px; }
.feats span { display: inline-flex; align-items: center; gap: 12px; font-size: 22px; padding: 12px 20px;
  border-radius: 999px; border: 1px solid var(--line); background: rgba(17,27,58,.85); }
.feats svg { width: 26px; height: 26px; color: var(--cyan); flex: none; }

/* ---------- Delivery ---------- */
.deliver { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.dl { padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.dl svg { width: 52px; height: 52px; }
.dl h3 { font-family: var(--display); font-size: 27px; font-weight: 700; margin: 6px 0 0; line-height: 1.35; }
.dl p { margin: 0; font-size: 21px; color: #c9d4f2; line-height: 1.55; }

@media (max-width: 899px) {
  .stats-8 { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
  .stats-8 .stat { padding: 16px; }
  .stats-8 .stat .num { font-size: 36px; }
  .stats-8 .stat .num small { font-size: 18px; }
  .stats-8 .stat .cap { font-size: 14px; margin-top: 10px; }
  .stats-8 .stat .sub { font-size: 12px; }
  .feats { gap: 8px; margin-top: 18px; }
  .feats span { font-size: 13px; padding: 7px 12px; gap: 8px; }
  .feats svg { width: 17px; height: 17px; }
  .deliver { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
  .dl { padding: 14px; gap: 6px; }
  .dl svg { width: 28px; height: 28px; }
  .dl h3 { font-size: 15px; margin: 2px 0 0; }
  .dl p { font-size: 12.5px; }
}

/* skills: denser so the certificates stay on the slide */
@media (min-width: 900px) {
  .skill-grid { gap: 20px; margin-top: 30px; }
  .skill-grid .card { padding: 24px 28px; }
  .skill-grid .card h3 { font-size: 26px; margin-bottom: 14px; }
  .skill-grid .chips { gap: 9px; }
  .skill-grid .chip { font-size: 19px; padding: 6px 14px; }
  .certs { margin-top: 20px; }
  .cert { padding: 16px 22px; font-size: 21px; }
}

/* certificates as verify links */
a.cert { color: var(--text); text-decoration: none; }
a.cert:hover { border-color: var(--amber); }
.cert .verify { margin-inline-start: auto; font-size: .85em; color: var(--amber); white-space: nowrap; }

/* proof box inside a service family */
.fam-proof { margin-top: 18px; padding: 16px 18px; border-radius: 16px; border: 1px solid rgba(46,230,166,.35);
  background: rgba(46,230,166,.06); display: grid; gap: 8px; font-size: 19px; line-height: 1.5; }
.fam-proof b { font-family: var(--display); color: var(--green); font-size: 20px; }

/* live demo */
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.demo-link { display: flex; flex-direction: column; gap: 12px; color: var(--text); text-decoration: none; transition: border-color .2s; }
.demo-link:hover { border-color: var(--cyan); }
.demo-link svg { width: 54px; height: 54px; }
.demo-link h3 { font-family: var(--display); font-size: 32px; margin: 4px 0 0; }
.demo-link p { margin: 0; font-size: 22px; color: #c9d4f2; line-height: 1.6; flex: 1; }
.demo-link .go { font-family: var(--display); font-weight: 700; color: var(--cyan); font-size: 22px; }
.patterns { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; font-size: 21px; }
.patterns b { font-family: var(--display); color: var(--violet); margin-inline-end: 6px; }
.patterns > span { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(17,27,58,.85); }
.demo-note { margin: 18px 0 0; font-size: 19px; color: var(--muted); }

/* downloads on contact */
.downloads { position: absolute; bottom: 92px; right: 120px; display: flex; gap: 16px; }
.downloads a { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; color: var(--text); text-decoration: none;
  padding: 12px 22px; border-radius: 999px; border: 1px solid rgba(24,191,255,.4); background: rgba(24,191,255,.08); }
.downloads a:hover { border-color: var(--cyan); }
.downloads svg { width: 24px; height: 24px; color: var(--cyan); }

@media (max-width: 899px) {
  .fam-proof { font-size: 13.5px; padding: 12px; margin-top: 12px; }
  .fam-proof b { font-size: 14px; }
  .demo-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
  .demo-link { padding: 16px; gap: 6px; }
  .demo-link svg { width: 30px; height: 30px; }
  .demo-link h3 { font-size: 17px; }
  .demo-link p { font-size: 13.5px; }
  .demo-link .go { font-size: 14px; }
  .patterns { font-size: 12.5px; gap: 6px; margin-top: 16px; }
  .patterns b { width: 100%; font-size: 14px; }
  .patterns > span { padding: 4px 10px; }
  .demo-note { font-size: 12.5px; }
  .downloads { position: static; flex-direction: column; gap: 8px; margin-top: 22px; }
  .downloads a { font-size: 14px; padding: 9px 14px; }
  .downloads svg { width: 18px; height: 18px; }
  .cert .verify { font-size: 12px; }
}

/* ---------- Solution: people before / after ---------- */
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 14px; }
.people .side { display: flex; flex-direction: column; gap: 10px; }
.people svg { width: 100%; height: auto; display: block; }
.people p { margin: 0; font-size: 24px; line-height: 1.55; color: #c9d4f2; }
.people p b { font-family: var(--display); font-weight: 700; margin-inline-end: 8px; }
@media (max-width: 899px) {
  .people { grid-template-columns: 1fr; gap: 18px; margin-top: 18px; }
  .people p { font-size: 14.5px; }
}

/* ---------- Other projects ---------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.prj { padding: 30px 32px; display: flex; flex-direction: column; gap: 12px; }
.prj svg { width: 54px; height: 54px; }
.prj h3 { font-family: var(--display); font-size: 29px; font-weight: 700; margin: 6px 0 0; line-height: 1.35; }
.prj p { margin: 0; font-size: 22px; color: #c9d4f2; line-height: 1.6; }

@media (max-width: 899px) {
  .projects { grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
  .prj { padding: 16px; gap: 6px; }
  .prj svg { width: 30px; height: 30px; }
  .prj h3 { font-size: 16px; margin-top: 2px; }
  .prj p { font-size: 13.5px; }
  .cover .role { font-size: 17px; }
  /* on phones the wide diagrams are hidden, so cap long entrance delays */
  .active .up, .active .pop, .active .fade, .active .draw, .active .growx, .active .growy { animation-delay: min(var(--d, 0s), .7s) !important; }
}

/* ---------- Buttons and WhatsApp ---------- */
.cta-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 44px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 14px; font-family: var(--display); font-weight: 700;
  font-size: 27px; padding: 18px 36px; border-radius: 999px; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.btn svg { width: 30px; height: 30px; }
.btn:hover { transform: translateY(-2px); }
.btn-wa { background: var(--green); color: #052019; box-shadow: 0 10px 30px rgba(46,230,166,.25); }
.btn-ghost { color: var(--text); border: 1.5px solid rgba(24,191,255,.55); background: rgba(24,191,255,.06); }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 30; display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px; border-radius: 999px; background: var(--green); color: #052019; text-decoration: none;
  font-family: var(--display); font-weight: 700; font-size: 17px; box-shadow: 0 10px 28px rgba(0,0,0,.45); }
.wa-float svg { width: 24px; height: 24px; }
.wa-float:hover { transform: translateY(-2px); }
.static .wa-float { display: none; }
@media print { .wa-float { display: none; } }

/* ---------- Offers ---------- */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 36px; }
.offer { position: relative; padding: 34px 34px 28px; display: flex; flex-direction: column; gap: 10px; }
.offer.first { border-color: rgba(46,230,166,.6); box-shadow: 0 0 0 1px rgba(46,230,166,.25), 0 20px 50px rgba(46,230,166,.08); }
.offer svg { width: 50px; height: 50px; color: var(--cyan); }
.offer.first svg { color: var(--green); }
.offer h3 { font-family: var(--display); font-size: 33px; margin: 6px 0 0; line-height: 1.3; }
.offer .meta { margin: 0; font-size: 21px; color: var(--cyan); font-weight: 500; }
.offer.first .meta { color: var(--green); }
.offer ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; flex: 1; }
.offer li { font-size: 22px; line-height: 1.5; padding-right: 26px; position: relative; color: #c9d4f2; }
.offer li::before { content: ""; position: absolute; right: 0; top: 13px; width: 10px; height: 10px; border-radius: 3px; background: var(--cyan); }
.offer.first li::before { background: var(--green); }
.offer .onote { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 19px; color: var(--muted); }
.badge { position: absolute; top: -16px; right: 30px; font-family: var(--display); font-weight: 700; font-size: 18px;
  padding: 6px 16px; border-radius: 999px; background: var(--green); color: #052019; }
.stats-4 { grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 40px; }
.more-link, .toc a { color: var(--cyan); text-decoration: none; font-family: var(--display); font-weight: 700; }
.more-link { margin-top: 30px; font-size: 24px; align-self: flex-start; }
.lead a { color: var(--cyan); }
.toc { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 50px; }
.toc a { font-size: 26px; padding: 16px 28px; border-radius: 18px; border: 1px solid var(--line); background: rgba(17,27,58,.85); }
.toc a:hover { border-color: var(--cyan); }

/* ---------- Colour roles: cyan = identity, green = proof, magenta = problems, amber = certificates ---------- */
.sec svg, .dl svg, .prj svg, .dom-h svg, .demo-link svg, .feats svg { color: var(--cyan) !important; }

@media (max-width: 899px) {
  .cta-row { gap: 10px; margin-top: 22px; }
  .btn { font-size: 15px; padding: 11px 18px; gap: 8px; }
  .btn svg { width: 18px; height: 18px; }
  .wa-float { right: 14px; bottom: 14px; padding: 12px; }
  .wa-float span { display: none; }
  .wa-float svg { width: 26px; height: 26px; }
  .offers { grid-template-columns: 1fr; gap: 22px; margin-top: 28px; }
  .offer { padding: 20px 16px 16px; gap: 6px; }
  .offer svg { width: 30px; height: 30px; }
  .offer h3 { font-size: 18px; }
  .offer .meta { font-size: 13.5px; }
  .offer li { font-size: 14px; padding-right: 18px; }
  .offer li::before { top: 8px; width: 7px; height: 7px; }
  .offer .onote { font-size: 12.5px; margin-top: 8px; padding-top: 8px; }
  .badge { font-size: 12px; padding: 4px 11px; top: -12px; right: 16px; }
  .stats-4 { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
  .more-link { font-size: 14.5px; margin-top: 16px; }
  .toc { gap: 8px; margin-top: 22px; }
  .toc a { font-size: 14px; padding: 9px 14px; border-radius: 12px; }
}
/* floating WhatsApp sits bottom-left so it never covers the footer */
.wa-float { right: auto; left: 22px; bottom: 82px; }
.cta-in { margin-top: 26px; }
.cta-in .btn { font-size: 23px; padding: 14px 28px; }
@media (max-width: 899px) {
  .wa-float { left: 14px; right: auto; bottom: 14px; }
  .cta-in { margin-top: 16px; }
  .cta-in .btn { font-size: 14px; padding: 10px 16px; }
}
@media (min-width: 900px) {
  [data-title="Service 1"] .cols { margin-top: 10px; }
  [data-title="Service 1"] .cols > svg { width: 540px; height: 455px; }
  [data-title="Service 1"] .bullets { gap: 18px; }
  [data-title="Service 3"] .domains { margin-top: 26px; gap: 18px; }
  [data-title="Service 3"] .dom { padding: 20px 24px; gap: 10px; }
  [data-title="Service 3"] .proof { margin-top: 20px; padding: 14px 26px; }
}

/* ================= Decision-maker UX pass ================= */
:root { --tb: 58px; }
body { padding-top: var(--tb); }
.slot { scroll-margin-top: var(--tb); }
.topbar { position: fixed; top: 0; right: 0; left: 0; height: var(--tb); z-index: 40; display: flex; align-items: center;
  justify-content: space-between; padding: 0 28px; background: rgba(8,13,28,.86); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(38,52,99,.7); }
.tb-name { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--text); text-decoration: none; }
.topbar nav { display: flex; gap: 26px; }
.topbar nav a { color: #c9d4f2; text-decoration: none; font-size: 16px; font-weight: 500; }
.topbar nav a:hover { color: var(--cyan); }
.progress { top: var(--tb); }
/* page numbers are for print only */
.slide .pg { display: none; }
.static .slide .pg { display: inline; }
.static .topbar { display: none; }
.static body, body.static { padding-top: 0; }
@media print { .topbar { display: none; } body { padding-top: 0; } .slide .pg { display: inline; } }

/* one WhatsApp button at a time: the floating one hides when a section button is on screen */
.wa-float { left: 22px; right: auto; bottom: 22px; transition: opacity .25s, transform .25s; }
.wa-float.hide { opacity: 0; pointer-events: none; transform: translateY(12px); }

/* assurances */
.guarantees { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 44px; }
.guarantees .g { display: flex; gap: 24px; align-items: flex-start; padding: 34px 36px; border-radius: 26px;
  border: 1px solid var(--line); background: linear-gradient(160deg, rgba(22,34,74,.92), rgba(17,27,58,.92)); }
.guarantees svg { width: 56px; height: 56px; color: var(--green); flex: none; }
.guarantees h3 { font-family: var(--display); font-size: 34px; margin: 0; line-height: 1.35; }
.guarantees p { margin: 10px 0 0; font-size: 25px; color: #c9d4f2; line-height: 1.6; }

@media (max-width: 899px) {
  :root { --tb: 50px; }
  .topbar { padding: 0 14px; }
  .tb-name { font-size: 16px; }
  .topbar nav { gap: 14px; }
  .topbar nav a { font-size: 13px; }
  .topbar nav a:nth-child(3) { display: none; }
  .wa-float { left: 14px; bottom: 14px; }
  .guarantees { grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
  .guarantees .g { padding: 16px; gap: 12px; border-radius: 16px; }
  .guarantees svg { width: 28px; height: 28px; }
  .guarantees h3 { font-size: 16px; }
  .guarantees p { font-size: 13.5px; margin-top: 4px; }
}
@media (min-width: 900px) { .slide.center { justify-content: center; padding-bottom: 150px; } }

/* migration diagram: keep it readable instead of letting flex squash it */
@media (min-width: 900px) {
  [data-title="Service 2"] > svg.d-only { flex: 0 0 auto; width: 1500px; height: 300px; margin: 18px auto 0 !important; display: block; }
  [data-title="Service 2"] .steps { margin-top: 22px !important; }
  [data-title="Service 2"] .steps .card { padding: 22px 26px; }
  [data-title="Service 2"] .proof { margin-top: 18px; padding: 12px 24px; }
}
