/* ==========================================================================
   Binary Books — product page. Same brand as binarytechme.com (indigo, cyan,
   Inter Tight + Instrument Serif + JetBrains Mono), flat colours only.
   ========================================================================== */

:root {
  --ink: #07081c;
  --ink-2: #0e1030;
  --ink-3: #16173f;
  --indigo: #24255e;
  --indigo-2: #2f3178;
  --cyan: #4cc9e6;
  --cyan-2: #8ae3f5;
  --cyan-ink: #0b7f9c;
  --cyan-soft: #e3f7fc;
  --violet: #8f7dff;
  --lavender: #c9bdff;
  --paper: #f4f5fb;
  --paper-2: #eceef6;
  --white: #ffffff;
  --tx: #12132e;
  --mut: #5f6288;
  --mut-d: #9a9ec4;
  --line: #e3e5f1;
  --line-d: rgba(201, 189, 255, .14);
  --green: #0f7a55;
  --green-soft: #e3f5ee;
  --amber: #a8650f;
  --amber-soft: #fdf1dc;
  --red: #c2413a;
  --red-soft: #fdeceb;
  --display: "Inter Tight", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --shadow: 0 1px 2px rgba(18, 19, 46, .05), 0 12px 32px rgba(18, 19, 46, .08);
  --shadow-lg: 0 2px 4px rgba(18, 19, 46, .06), 0 40px 80px rgba(18, 19, 46, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--tx);
  font-family: var(--display); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
canvas, svg { display: block; }
::selection { background: var(--cyan); color: var(--ink); }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-feature-settings: "zero" 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

/* ---------- buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 999px;
  font: 600 15px var(--display); letter-spacing: -.005em; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn .arr { font-style: normal; transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn--sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn--cyan { background: var(--cyan); color: var(--ink); }
.btn--cyan:hover { background: var(--white); }
.btn--ink { background: var(--indigo); color: var(--white); }
.btn--ink:hover { background: var(--ink); }
.btn--out { border-color: #c9cbe0; color: var(--tx); background: var(--white); }
.btn--out:hover { border-color: var(--indigo); }
.btn--line { border-color: rgba(255, 255, 255, .22); color: var(--white); }
.btn--line:hover { border-color: var(--cyan); color: var(--cyan-2); }

/* ---------- brand mark ---------- */
.mark { display: inline-flex; align-items: center; gap: 10px; }
.mark__logo { width: 34px; height: 34px; border-radius: 9px; flex: none; }
.mark__word { font: 700 19px var(--display); letter-spacing: -.03em; color: var(--white); }
.mark__word b { color: var(--cyan); font-weight: 700; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(1240px, calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 9px 9px 9px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .78); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(18, 19, 46, .04);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: background .4s var(--ease);
}
.nav.is-scrolled { background: rgba(255, 255, 255, .94); box-shadow: 0 8px 24px rgba(18, 19, 46, .08); }
.nav .mark__word { color: var(--tx); }
.nav .mark__word b { color: var(--cyan-ink); }
.nav__links { display: flex; gap: 28px; font-size: 14.5px; color: var(--mut); }
.nav__links a:hover { color: var(--tx); }
.nav__right { display: flex; align-items: center; gap: 14px; }
.nav__by { font-size: 13px; color: var(--mut); }
.nav__by:hover { color: var(--tx); }
.burger { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--tx); transition: transform .3s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mmenu {
  position: fixed; inset: 0; z-index: 40; background: var(--ink); padding: 100px 24px 32px;
  display: flex; flex-direction: column; gap: 6px;
  clip-path: inset(0 0 100% 0); transition: clip-path .5s var(--ease); visibility: hidden;
}
.mmenu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.mmenu a:not(.btn) { font: 600 30px var(--display); letter-spacing: -.03em; color: var(--white); padding: 8px 0; border-bottom: 1px solid var(--line-d); }
.mmenu .btn { margin-top: 24px; }

/* ---------- section heads ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--cyan-ink);
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 6px; height: 6px; background: currentColor; border-radius: 1px; }
.head { max-width: 760px; margin-bottom: 64px; }
.head h2, .chap__text h2, .demo h2 {
  margin: 0; font: 700 clamp(36px, 5.2vw, 64px)/1.02 var(--display); letter-spacing: -.04em;
}
.head p { margin: 20px 0 0; font-size: 19px; color: var(--mut); max-width: 620px; }
.head p a { color: var(--cyan-ink); border-bottom: 1px solid currentColor; }
.head--light .kicker { color: var(--cyan); }
.head--light h2 { color: var(--white); }
.head--light p { color: var(--mut-d); }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; background-color: var(--paper); color: var(--tx); text-align: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3E%3Ccircle cx='13' cy='13' r='1.1' fill='%2312132e' fill-opacity='.10'/%3E%3C/svg%3E");
  padding: clamp(150px, 19vh, 190px) 0 clamp(56px, 7vw, 84px);
}
.hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); font-size: 14px; color: var(--mut); box-shadow: 0 1px 2px rgba(18, 19, 46, .05);
}
.pill i { font-style: normal; color: var(--cyan-ink); }
.pill__new { background: var(--indigo); color: var(--white); font: 700 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; padding: 4px 9px; border-radius: 999px; }
.pill:hover { border-color: var(--mut-d); color: var(--tx); }
.hero__title {
  margin: 30px 0 0; font: 800 clamp(54px, 9.4vw, 136px)/.92 var(--display); letter-spacing: -.055em;
}
.hero__title em { color: var(--cyan-ink); font-weight: 400; letter-spacing: -.03em; padding-right: .06em; }
.ln { display: block; overflow: hidden; padding-bottom: .06em; }
.ln > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.ln:nth-child(2) > span { transition-delay: .12s; }
.is-ready .ln > span { transform: none; }
.hero__lede { margin: 30px auto 0; max-width: 640px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--mut); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; justify-content: center; }
.hero__ticks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; list-style: none; padding: 0; margin: 36px 0 0; font: 500 13px var(--mono); color: var(--mut); }
.hero__ticks li::before { content: "✓"; color: var(--cyan-ink); margin-right: 8px; }

/* ==========================================================================
   PRODUCT SHOT
   ========================================================================== */
.shot { position: relative; background: var(--paper); }
.shot .wrap { position: relative; padding-bottom: clamp(48px, 6vw, 80px); }
.shot__plinth { position: absolute; left: max(0px, calc(var(--gutter) - 56px)); right: max(0px, calc(var(--gutter) - 56px)); top: 26%; bottom: 0; border-radius: 32px; background: var(--indigo); }
.float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; text-align: left;
  background: var(--white); border-radius: 14px; padding: 12px 16px 12px 12px; box-shadow: 0 0 0 1px var(--line), 0 18px 40px rgba(18, 19, 46, .16);
  opacity: 0; transform: translateY(10px); transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.float b { display: block; font-size: 14px; }
.float span { font-size: 12px; color: var(--mut); }
.float__ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-style: normal; font-weight: 700; background: var(--green-soft); color: var(--green); }
.float__ic--ink { background: var(--cyan-soft); color: var(--cyan-ink); }
.float--l { left: -36px; top: 30%; transition-delay: 1.4s; }
.float--r { right: 56px; top: -30px; transition-delay: 1.8s; }
.stage.live .float { opacity: 1; transform: none; }
.stage { position: relative; height: calc(720px * var(--s, 1)); }
.app {
  position: absolute; left: 0; top: 0; width: 1240px; height: 720px; transform-origin: 0 0; transform: scale(var(--s, 1));
  background: var(--paper); border-radius: 18px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(18, 19, 46, .08), 0 40px 90px rgba(7, 8, 28, .32);
  font-size: 13px; color: var(--tx); font-family: "Inter", var(--display);
}
.app .mono { font-family: "Inter", var(--display); font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.app__bar { height: 42px; display: flex; align-items: center; gap: 14px; padding: 0 16px; background: var(--white); border-bottom: 1px solid var(--line); }
.app__dots { display: flex; gap: 7px; }
.app__dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); }
.app__tab { font: 500 12.5px var(--display); color: var(--mut); padding: 5px 12px; border-radius: 8px; background: var(--paper); }
.app__user { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; background: var(--cyan); color: var(--ink); display: grid; place-items: center; font: 700 11px var(--display); }
.app__body { display: flex; height: calc(100% - 42px); }
.side { width: 220px; flex: none; background: #121335; color: #b9bcd3; padding: 16px 12px; display: flex; flex-direction: column; gap: 1px; font-size: 13px; }
.side__brand { display: flex; align-items: center; gap: 10px; padding: 0 8px 12px; color: var(--white); }
.side__brand img { border-radius: 7px; }
.side__type { display: flex; flex-direction: column; gap: 1px; }
.side__type b { font: 700 12.5px var(--display); letter-spacing: .16em; color: var(--white); }
.side__type small { font: 500 8.5px var(--display); letter-spacing: .34em; color: #9a9dc4; }
.side__firm { display: flex; align-items: center; gap: 9px; margin: 0 0 10px; padding: 7px; border-radius: 9px; background: #1b1d47; border: 1px solid #26285c; }
.side__firm i { width: 24px; height: 24px; border-radius: 6px; background: #fff; color: #121335; display: grid; place-items: center; font: 700 11px var(--display); font-style: normal; flex: none; }
.side__firm b { display: block; color: #fff; font-size: 12px; font-weight: 600; }
.side__firm small { display: block; font-size: 10.5px; color: #9a9dc4; }
.side__grp { font: 600 10px var(--display); letter-spacing: .08em; text-transform: uppercase; color: #6d71a0; padding: 12px 10px 5px; }
.side > span { padding: 6px 10px; border-radius: 7px; }
.side > span.on { background: #23245c; color: var(--white); font-weight: 600; box-shadow: inset 2px 0 0 var(--cyan); }
.ed { position: relative; flex: 1; min-width: 0; padding: 0 26px 18px; display: flex; flex-direction: column; gap: 12px; background: #f6f7f9; }
.crumbbar { display: flex; align-items: center; gap: 7px; height: 44px; margin: 0 -26px; padding: 0 26px; background: var(--white); border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--mut); }
.crumbbar i { font-style: normal; opacity: .6; }
.crumbbar b { color: var(--tx); font-weight: 600; }
.ed__sub { margin-top: 2px; font-size: 12px; color: var(--mut); }
.sbar { display: flex; align-items: center; gap: 8px; align-self: center; width: 640px; padding: 9px 10px 9px 16px; border-radius: 12px; background: #10132b; color: #fff; box-shadow: 0 8px 24px rgba(16, 19, 43, .25); }
.sbar > span { flex: 1; display: flex; flex-direction: column; }
.sbar b { font-size: 12.5px; font-weight: 600; }
.sbar small { font-size: 11px; color: #9a9dc4; }
.sbar i { font-style: normal; height: 30px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 8px; font: 600 12px "Inter", var(--display); white-space: nowrap; }
.sbar__g { box-shadow: inset 0 0 0 1px #2f3360; }
.sbar__p { background: #fff; color: #10132b; }
.ed__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.ed__back { color: var(--indigo-2); font-size: 12.5px; font-weight: 500; }
.ed__title { font: 600 22px var(--display); letter-spacing: -.02em; margin-top: 14px; display: flex; align-items: center; gap: 8px; }
.ed__title .mono { font-weight: 700; letter-spacing: -.02em; }
.ed__btns { display: flex; gap: 8px; }
.ubtn { display: inline-flex; align-items: center; height: 32px; padding: 0 13px; border-radius: 9px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font: 600 12.5px var(--display); color: var(--tx); white-space: nowrap; }
.ubtn--ink { background: var(--indigo); color: var(--white); box-shadow: none; }
.ubtn--sm { height: 26px; padding: 0 10px; font-size: 11.5px; }
.chip { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 99px; font: 600 11px "Inter", var(--display); }
.chip--rev { background: var(--cyan-soft); color: var(--cyan-ink); }
.chip--ok { background: var(--green-soft); color: var(--green); }
.ed__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ucard { background: var(--white); border-radius: 12px; box-shadow: 0 0 0 1px var(--line); padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.ucard__k { font: 600 12.5px "Inter", var(--display); color: var(--tx); }
.ugrid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ufield { border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); padding: 5px 10px 6px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ufield small { display: block; font-size: 10px; color: var(--mut); font-weight: 500; }
.lines { background: var(--white); border-radius: 12px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; flex: 1; }
.lines__h, .lines__r { display: grid; grid-template-columns: 34px 1fr 60px 90px 50px 100px; align-items: center; padding: 0 14px; }
.lines__h { height: 32px; background: var(--white); font: 500 11.5px "Inter", var(--display); color: var(--mut); border-bottom: 1px solid var(--line); }
.lines__h span:nth-child(n+3), .lines__r span:nth-child(n+3) { text-align: right; }
.lines__r { height: 36px; border-bottom: 1px solid var(--line); }
.lines__r span:first-child { color: var(--mut); }
.lines__r span:nth-child(n+3) { font: 500 12.5px "Inter", var(--display); font-variant-numeric: tabular-nums; }
.lines__r .qty { justify-self: end; background: var(--amber-soft); color: var(--amber); padding: 1px 7px; border-radius: 6px; box-shadow: inset 0 0 0 1px #f0d29f; }
.lines__sec { height: 32px; display: flex; align-items: center; gap: 10px; padding: 0 14px 0 48px; background: #f6f7fb; font-weight: 600; border-bottom: 1px solid var(--line); }
.tpl { font: 500 10.5px var(--mono); font-style: normal; color: var(--cyan-ink); background: var(--white); padding: 2px 8px; border-radius: 99px; box-shadow: inset 0 0 0 1px #bfe8f3; }
.ed__foot { display: flex; align-items: center; justify-content: space-between; }
.round { display: flex; align-items: center; gap: 10px; background: var(--cyan-soft); border-radius: 10px; padding: 6px 8px 6px 12px; font-weight: 500; }
.round b { background: var(--white); border-radius: 7px; padding: 3px 10px; box-shadow: inset 0 0 0 1px #bfe8f3; }
.round__note { color: var(--green); font-weight: 600; font-size: 12px; }
.tot { display: flex; align-items: baseline; gap: 12px; }
.tot span { font: 600 11px var(--display); color: var(--mut); letter-spacing: .04em; }
.tot b { font-size: 26px; letter-spacing: -.02em; }
.cas { opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.stage.live .cas { opacity: 1; transform: none; }
.toast {
  position: absolute; left: 50%; bottom: calc(150px * var(--s, 1)); transform: translate(-50%, 12px); opacity: 0;
  background: var(--ink); color: var(--white); border-radius: 12px; padding: 12px 18px; font-size: 14px; white-space: nowrap;
  box-shadow: 0 16px 40px rgba(7, 8, 28, .3); transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.toast b { color: var(--cyan); font-family: var(--mono); font-weight: 700; }
.stage.toasted .toast { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   STRIP
   ========================================================================== */
.strip { padding: clamp(56px, 7vw, 90px) 0 clamp(90px, 11vw, 140px); }
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 30px 24px 0 0; display: flex; flex-direction: column; gap: 8px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat b { font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; letter-spacing: -.04em; color: var(--indigo); line-height: 1; }
.stat span { font-size: 15px; color: var(--mut); max-width: 230px; }

/* ==========================================================================
   FLOW
   ========================================================================== */
.flow { background: var(--white); padding: clamp(90px, 11vw, 150px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.flow__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; }
.step { position: relative; display: flex; gap: 20px; padding: 22px 0 24px; border-top: 1px solid var(--line); cursor: pointer; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n { font-size: 13px; color: var(--mut); padding-top: 3px; transition: color .3s; }
.step b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -.025em; color: var(--mut); transition: color .3s; }
.step div span { display: block; max-height: 0; overflow: hidden; color: var(--mut); font-size: 16px; transition: max-height .6s var(--ease), margin .6s var(--ease); }
.step.on b { color: var(--tx); }
.step.on .step__n { color: var(--cyan-ink); }
.step.on div span { max-height: 90px; margin-top: 6px; }
.step:hover b { color: var(--tx); }
.step__bar { position: absolute; left: 0; right: 0; top: -1px; height: 2px; }
.step__bar i { display: block; height: 100%; width: 0; background: var(--indigo); }
.step.on .step__bar i { width: var(--p, 0%); }
.desk { position: sticky; top: 110px; background: var(--paper); border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line); padding: clamp(18px, 3vw, 40px); }
.paper {
  position: relative; background: var(--white); border-radius: 6px; padding: 30px 30px 26px; overflow: hidden;
  box-shadow: var(--shadow-lg); font-size: 12px;
  transition: transform .5s var(--ease);
}
.paper.swap { transform: translateY(6px) scale(.985); }
.paper__lh { display: flex; justify-content: space-between; align-items: center; }
.lh__mark { display: flex; align-items: center; gap: 10px; }
.lh__logo { width: 34px; height: 34px; border-radius: 8px; background: var(--indigo); color: var(--white); display: grid; place-items: center; font: 800 17px var(--display); }
.lh__mark b { display: block; font: 800 14px var(--display); letter-spacing: .06em; color: var(--indigo); }
.lh__mark small { font-size: 10.5px; color: var(--mut); }
.lh__ar { font: 600 16px "IBM Plex Sans Arabic", sans-serif; color: var(--indigo); }
.paper__rule { height: 2px; background: var(--cyan-ink); margin: 14px 0 18px; }
.paper__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.paper__top h3 { margin: 0; font: 400 28px var(--display); letter-spacing: -.02em; color: var(--indigo); }
.paper__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 10px; color: var(--mut); }
.paper__meta span:nth-child(2) { color: var(--tx); font-weight: 700; }
.paper__to { margin: 16px 0 14px; display: flex; flex-direction: column; }
.paper__to small { font-size: 10px; color: var(--cyan-ink); font-weight: 600; }
.paper__to b { font-size: 13px; }
.paper__to span { color: var(--mut); font-size: 11px; }
.pt__h, .pt__r { display: grid; grid-template-columns: 1fr 40px 74px 84px; gap: 8px; padding: 6px 10px; align-items: center; }
.pt__h { background: var(--cyan-ink); color: var(--white); font: 700 9.5px var(--display); letter-spacing: .06em; text-transform: uppercase; border-radius: 3px 3px 0 0; }
.pt__r { border-bottom: 1px solid var(--line); }
.pt__r span:not(:first-child) { font: 500 11px var(--mono); }
.pt__h span:nth-child(2), .pt__r span:nth-child(2) { text-align: center; }
.pr { text-align: right; }
.pt__s { padding: 6px 10px; font-weight: 700; color: var(--cyan-ink); background: var(--cyan-soft); }
.paper__tbl.nop .pt__h span:nth-child(n+3), .paper__tbl.nop .pt__r span:nth-child(n+3) { visibility: hidden; }
.paper__extra { margin-top: 12px; }
.pex { display: flex; justify-content: space-between; padding: 5px 10px; font-size: 11.5px; border-bottom: 1px dashed var(--line); }
.pex b { font: 600 11px var(--mono); }
.pex--h { font-weight: 700; color: var(--indigo); border-bottom: 1px solid var(--line); }
.pex--paid b { color: var(--green); }
.pex .tick { color: var(--green); margin-right: 6px; }
.sign { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 30px; font-size: 10.5px; color: var(--mut); }
.sign span { border-top: 1px solid var(--tx); padding-top: 6px; }
.band { display: flex; justify-content: space-between; align-items: center; background: var(--paper); border-left: 3px solid var(--indigo); padding: 12px 14px; }
.band small { font: 700 9.5px var(--mono); letter-spacing: .1em; color: var(--mut); display: block; }
.band b { font: 700 22px var(--mono); letter-spacing: -.02em; color: var(--indigo); }
.paper__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; padding: 9px 10px; border-top: 1.5px solid var(--tx); }
.paper__total span { font-weight: 700; }
.paper__total b { font-size: 15px; }
.paper__words { padding: 0 10px; font-size: 10.5px; color: var(--mut); }
.stamp {
  position: absolute; right: 30px; top: 168px; transform: rotate(-8deg);
  font: 800 15px var(--mono); letter-spacing: .14em; padding: 6px 12px; border-radius: 6px;
  color: var(--green); box-shadow: inset 0 0 0 2px var(--green); opacity: .85;
}

/* ==========================================================================
   CHAPTERS
   ========================================================================== */
.chap { padding: clamp(90px, 11vw, 150px) 0; }
.chap--alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.chap__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 7vw, 110px); align-items: center; }
.chap__grid--rev .chap__text { order: 2; }
.chap__text p { margin: 22px 0 0; font-size: 18.5px; color: var(--mut); }
.ticks { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-direction: column; gap: 14px; }
.ticks li { position: relative; padding-left: 30px; font-size: 16px; color: var(--mut); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 5px; background: var(--indigo); }
.ticks li::after { content: ""; position: absolute; left: 5px; top: 9px; width: 4px; height: 7px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ticks b { color: var(--tx); font-weight: 600; }

.viz { position: relative; }
.vcard { position: relative; background: var(--white); border-radius: 18px; box-shadow: var(--shadow), 0 0 0 1px var(--line); padding: 20px; font-size: 14px; }
.chap--alt .vcard { background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.chap--alt .vcard--float { background: var(--white); box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.vcard--float { margin: -18px -24px 0 auto; width: min(340px, 80%); }
.vcard__h { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; margin-bottom: 14px; }
.muted { color: var(--mut); font-weight: 500; font-size: 13px; }
.cy { color: var(--cyan-ink); }
.amber { color: var(--amber); }
.revs { display: flex; gap: 6px; }
.revs i { font: 700 11px var(--mono); font-style: normal; padding: 3px 9px; border-radius: 99px; background: var(--paper-2); color: var(--mut); }
.revs i.on { background: var(--indigo); color: var(--white); }
.revs i.ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--line); border: 0; color: var(--mut-d); }
.vrow { display: grid; grid-template-columns: 1fr 80px 90px; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); }
.vrow span:nth-child(n+2) { text-align: right; }
.vrow--muted { color: var(--mut); }
.qtyx s { color: var(--mut-d); margin-right: 4px; }
.roundbox { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.roundbox > div { border-radius: 12px; background: var(--paper); padding: 12px; }
.roundbox small { display: block; font-size: 11.5px; color: var(--mut); }
.roundbox b { font-size: 18px; letter-spacing: -.02em; }
.roundbox__in { background: var(--cyan-soft) !important; box-shadow: inset 0 0 0 1.5px var(--cyan); }
.caret { display: inline-block; width: 2px; height: 1em; background: var(--tx); margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.vnote { margin-top: 14px; font-size: 13px; color: var(--mut); }
.vnote b { font-family: var(--mono); color: var(--tx); }

.stage-row { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.stage-row i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 700 12px var(--mono); font-style: normal; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--mut); }
.stage-row.done i { background: var(--green); color: var(--white); box-shadow: none; }
.stage-row.next i { box-shadow: inset 0 0 0 1.5px var(--indigo); color: var(--indigo); }
.stage-row b { display: block; font-size: 14.5px; }
.stage-row small { font-size: 12px; color: var(--mut); }
.stage-row.done small { color: var(--green); }
.stage-row.next small { color: var(--amber); }
.meter { height: 8px; border-radius: 99px; background: var(--paper-2); margin-top: 8px; overflow: hidden; }
.chap--alt .meter { background: var(--line); }
.meter span { display: block; height: 100%; background: var(--green); border-radius: 99px; }
.vfoot { display: flex; justify-content: space-between; margin-top: 14px; font-weight: 600; }
.vfoot b { font-size: 18px; }
.age { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.age div { background: var(--paper); border-radius: 10px; padding: 10px; }
.age small { display: block; font-size: 11px; color: var(--mut); }
.age b { font-size: 14px; }
.age .warn { background: var(--amber-soft); box-shadow: inset 0 0 0 1.5px #f0d29f; }
.age .warn small, .age .warn b { color: var(--amber); }

.po { display: grid; grid-template-columns: 1fr 86px 60px 104px; gap: 10px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
.po span:nth-child(2), .po span:nth-child(3) { text-align: right; }
.po--h { font: 700 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mut); border-top: 0; padding-top: 0; }
.po--h span:last-child { text-align: right; }
.po small { display: block; color: var(--red); font-size: 11.5px; }
.po--bad { background: var(--red-soft); margin: 0 -20px; padding-left: 20px; padding-right: 20px; }
.mg { justify-self: end; font: 700 11px var(--mono); font-style: normal; padding: 3px 8px; border-radius: 99px; background: var(--green-soft); color: var(--green); white-space: nowrap; }
.mg--bad { background: var(--white); color: var(--red); box-shadow: inset 0 0 0 1px #f3c4c0; }
.approve { display: flex; gap: 12px; align-items: center; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--red-soft); box-shadow: inset 0 0 0 1px #f3c4c0; }
.approve i { width: 20px; height: 20px; border-radius: 6px; background: var(--indigo); color: var(--white); display: grid; place-items: center; font-style: normal; font-size: 12px; flex: none; }
.approve b { display: block; font-size: 14px; }
.approve small { color: var(--mut); font-size: 12px; }
.vcard--diff .vcard__h b { font-size: 16px; }
.diffrow { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.tag { font: 700 9.5px var(--mono); font-style: normal; letter-spacing: .06em; padding: 3px 7px; border-radius: 5px; }
.tag--a { background: var(--amber-soft); color: var(--amber); }
.tag--b { background: var(--cyan-soft); color: var(--cyan-ink); }

.vcard--ink { background: var(--ink) !important; color: var(--white); box-shadow: 0 30px 70px rgba(7, 8, 28, .25) !important; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kpis div { background: var(--ink-3); border-radius: 12px; padding: 14px; }
.kpis small { display: block; font-size: 12px; color: var(--mut-d); }
.kpis b { font-size: 22px; letter-spacing: -.02em; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 150px; margin: 16px 0; padding: 14px; border-radius: 12px; background: var(--ink-3); }
.bars i { flex: 1; height: var(--h); background: rgba(201, 189, 255, .42); border-radius: 4px 4px 2px 2px; transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--ease); }
.bars i:nth-child(n) { transition-delay: calc(var(--i, 0) * 50ms); }
.bars i.now { background: var(--cyan); }
.viz.in .bars i { transform: scaleY(1); }
.vat { display: flex; flex-direction: column; }
.vat div { display: flex; justify-content: space-between; padding: 9px 2px; border-top: 1px solid var(--line-d); font-size: 13.5px; color: #c4c7e6; }
.vat .net b { color: var(--cyan); }
.vcard--ask { display: flex; flex-direction: column; gap: 10px; }
.ask__q { align-self: flex-end; background: var(--cyan); color: var(--ink); font-weight: 600; font-size: 13.5px; padding: 8px 13px; border-radius: 14px 14px 4px 14px; }
.ask__a { background: var(--paper); border-radius: 12px; padding: 12px; font-size: 12.5px; line-height: 1.5; }

/* ==========================================================================
   UAE BAND
   ========================================================================== */
.uae { position: relative; overflow: hidden; background: var(--ink); color: var(--white); padding: clamp(100px, 12vw, 160px) 0; }
.uae__vortex { position: absolute; width: 900px; height: 900px; right: -430px; top: -430px; opacity: .22; }
.uae .wrap { position: relative; }
.uae__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-d); }
.uitem { padding: 32px 26px 0 0; }
.uitem + .uitem { padding-left: 26px; border-left: 1px solid var(--line-d); }
.uitem > span { font-size: 12px; color: var(--cyan); }
.uitem h3 { margin: 14px 0 10px; font: 700 22px var(--display); letter-spacing: -.025em; }
.uitem h3.bi span { font-family: "IBM Plex Sans Arabic", sans-serif; font-weight: 600; }
.uitem p { margin: 0; color: var(--mut-d); font-size: 15.5px; }

/* ==========================================================================
   SECURITY / START / FAQ
   ========================================================================== */
.sec { padding: clamp(90px, 11vw, 150px) 0 0; }
.sec__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.scard { background: var(--white); border-radius: 18px; box-shadow: 0 0 0 1px var(--line); padding: 26px; }
.scard svg { width: 40px; height: 40px; color: var(--indigo); }
.scard h3 { margin: 22px 0 8px; font: 700 19px var(--display); letter-spacing: -.02em; }
.scard p { margin: 0; color: var(--mut); font-size: 15px; }

.start { padding: clamp(90px, 11vw, 150px) 0; }
.start__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.start__row li { border-top: 2px solid var(--indigo); padding-top: 22px; }
.start__row span { font-size: 13px; color: var(--cyan-ink); }
.start__row h3 { margin: 10px 0 8px; font: 700 22px var(--display); letter-spacing: -.025em; }
.start__row p { margin: 0; color: var(--mut); font-size: 16px; max-width: 340px; }

.faq { background: var(--white); border-top: 1px solid var(--line); padding: clamp(90px, 11vw, 150px) 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.faq .head { margin-bottom: 0; }
.qa details { border-top: 1px solid var(--line); }
.qa details:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font: 600 19px var(--display); letter-spacing: -.02em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font: 400 26px var(--display); color: var(--mut); transition: transform .3s var(--ease); flex: none; }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa p { margin: -6px 0 22px; color: var(--mut); max-width: 620px; }

/* ==========================================================================
   DEMO CTA + FOOTER
   ========================================================================== */
.demo { position: relative; overflow: hidden; background: var(--ink); color: var(--white); padding: clamp(110px, 14vw, 190px) 0; text-align: center; }
.demo__vortex { position: absolute; width: 1000px; height: 1000px; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .16; }
.demo__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.demo .kicker { color: var(--cyan); }
.demo h2 { font-size: clamp(44px, 7vw, 96px); letter-spacing: -.05em; line-height: .98; }
.demo h2 em { color: var(--cyan); }
.demo p { margin: 24px 0 0; font-size: 19px; color: #c4c7e6; max-width: 520px; }
.demo .hero__ctas { justify-content: center; }
.demo__try { color: var(--cyan); border-bottom: 1px solid currentColor; }
.demo__phone { margin-top: 22px; font-size: 13px; color: var(--mut-d); }
.demo__phone a { color: var(--white); border-bottom: 1px solid var(--line-d); }

.foot { background: var(--ink); color: var(--mut-d); border-top: 1px solid var(--line-d); padding: 64px 0 28px; font-size: 14.5px; }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
.foot__grid > div { display: flex; flex-direction: column; gap: 9px; }
.foot__grid p { margin: 14px 0 0; line-height: 1.55; }
.foot__grid p a { color: var(--white); }
.foot h4 { margin: 0 0 6px; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--white); }
.foot__grid a:hover { color: var(--white); }
.foot__bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line-d); font-size: 13px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .nav__links, .nav__by { display: none; }
  .burger { display: block; }
  .sec__grid { grid-template-columns: repeat(2, 1fr); }
  .float { display: none; }
  .uae__grid { grid-template-columns: repeat(2, 1fr); }
  .uitem:nth-child(3) { padding-left: 0; border-left: 0; }
  .uitem { padding-bottom: 32px; }
}
@media (max-width: 900px) {
  .flow__grid, .chap__grid, .faq__grid { grid-template-columns: 1fr; }
  .chap__grid--rev .chap__text { order: 0; }
  .desk { position: relative; top: 0; }
  .strip__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat { padding-bottom: 28px; }
  .start__row { grid-template-columns: 1fr; gap: 32px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav .btn--sm { display: none; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .sec__grid, .uae__grid { grid-template-columns: 1fr; }
  .uitem, .uitem + .uitem { padding-left: 0; border-left: 0; }
  .stat, .stat + .stat { padding-left: 0; border-left: 0; }
  .strip__grid { grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .vcard { padding: 16px; font-size: 13px; }
  .vcard--float { width: 100%; margin: 12px 0 0; }
  .po { grid-template-columns: 1fr 64px 44px 86px; gap: 6px; }
  .po--bad { margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
  .vrow { grid-template-columns: 1fr 60px 76px; }
  .roundbox b { font-size: 15px; }
  .paper { padding: 20px 18px; font-size: 11px; }
  .pt__h, .pt__r { grid-template-columns: 1fr 28px 0 70px; gap: 6px; }
  .pt__h span:nth-child(3), .pt__r span:nth-child(3) { display: none; }
  .paper__top h3 { font-size: 22px; }
  .stamp { display: none; }
  .toast { display: none; }
  .shot__plinth { border-radius: 20px; top: 20%; }
  .foot__grid { grid-template-columns: 1fr; }
  .foot__bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .rv, .ln > span, .cas, .bars i, .float { transition: none !important; opacity: 1 !important; transform: none !important; }
  .caret { animation: none; }
}


/* ==========================================================================
   On your phone: the app's Home in a phone
   ========================================================================== */
.phone { width: 300px; margin: 0 auto; padding: 10px; border-radius: 44px; background: #0b0c22; box-shadow: var(--shadow-lg); }
.phone__screen { height: 600px; border-radius: 34px; overflow: hidden; display: flex; flex-direction: column; background: #f6f7f9; font-family: "Inter", var(--display); position: relative; }
.phone .mono { font-family: "Inter", var(--display); font-variant-numeric: tabular-nums; }
.phone__top { background: #121335; color: #fff; padding: 18px 16px 18px; }
.phone__bar { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.phone__bar img { border-radius: 6px; }
.phone__bar b { flex: 1; font-weight: 600; }
.phone__bar i { width: 26px; height: 26px; border-radius: 50%; background: #2a2c66; display: grid; place-items: center; font: 600 10px "Inter"; font-style: normal; }
.phone__hi { margin: 14px 0 12px; font: 600 19px var(--display); letter-spacing: -.02em; }
.phone__owe { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: #1c2040; border: 1px solid #2b3058; }
.phone__owe small { font-size: 11px; color: #b9bcd3; }
.phone__owe b { font: 600 24px var(--display); letter-spacing: -.02em; }
.phone__owe b span { font: 500 12px "Inter"; color: #b9bcd3; margin-right: 5px; }
.phone__owe em { font: 600 11px "Inter"; font-style: normal; color: #ffb4ac; }
.phone__body { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.phone__h { font-weight: 600; font-size: 13px; }
.pcard { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #e4e6ec; font-size: 12px; }
.pcard > span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pcard small { color: #646b80; font-size: 11px; }
.pcard__ic { width: 30px; height: 30px; flex: none; border-radius: 8px; display: grid; place-items: center; font-style: normal; font-size: 14px; }
.pcard__ic--red { background: #fdecea; color: #b42318; } .pcard__ic--amber { background: #fdf1dc; color: #8a5300; } .pcard__ic--blue { background: #edf0fd; color: #2e4bc6; }
.ptiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 2px; }
.ptiles div { padding: 9px 10px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px #e4e6ec; display: flex; flex-direction: column; }
.ptiles small { font-size: 10.5px; color: #646b80; }
.ptiles b { font: 600 14px var(--display); }
.phone__tabs { display: flex; justify-content: space-around; align-items: flex-end; padding: 8px 6px 14px; background: #fff; border-top: 1px solid #e4e6ec; font: 500 10.5px "Inter"; color: #646b80; }
.phone__tabs .on { color: #23245c; font-weight: 600; }
.phone__new { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.phone__new i { width: 40px; height: 40px; margin-top: -24px; border-radius: 50%; background: #23245c; color: #fff; display: grid; place-items: center; font: 400 22px "Inter"; font-style: normal; box-shadow: 0 6px 14px rgba(35, 36, 92, .35); }

/* ==========================================================================
   Clear for everyone: statuses with a plain line, the PDC explained
   ========================================================================== */
.opt { display: flex; gap: 12px; align-items: flex-start; margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.opt i { width: 16px; height: 16px; flex: none; margin-top: 3px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #b9bdcb; background: var(--white); }
.opt b { display: block; font-size: 14.5px; }
.opt small { display: block; font-size: 13px; line-height: 1.5; color: var(--mut); }
.opt.on { background: #f2f2fa; box-shadow: inset 0 0 0 2px #23245c; }
.opt.on i { box-shadow: inset 0 0 0 5px #23245c; }
.vcard--pdc { max-width: 300px; background: #fffbf2 !important; box-shadow: 0 0 0 1px #f0d9a8, var(--shadow) !important; color: #5c3a00; }
.vcard--pdc > b { font-size: 14.5px; }
.vcard--pdc p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.55; }
