/* ChequeEazy — design tokens
   Brand navy and charcoal come from the ChequeEazy logo; security-paper mint
   and guilloche teal come from the cheque itself. Standard system fonts only. */
:root {
  --ink: #1E2229;
  --ink-2: #4A5463;
  --ink-3: #6E7887;
  --paper: #F7F9FB;
  --card: #FFFFFF;
  --mint: #E3F1EF;
  --mint-2: #F1F7F7;
  --teal: #0F7F7A;
  --cobalt: #143059;
  --cobalt-d: #0C2142;
  --night: #0E2240;
  --night-2: #163056;
  --scan: #3CCFB8;
  --amber: #F2B53A;
  --line: #DDE3EA;
  --line-dark: rgba(255, 255, 255, .12);

  --f-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-display: var(--f-body);
  --f-mono: var(--f-body);
  --f-code: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --f-cheque: "Times New Roman", Times, Georgia, serif;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --shadow: 0 1px 2px rgba(11, 27, 43, .06), 0 8px 24px -8px rgba(11, 27, 43, .12);
  --shadow-lg: 0 2px 6px rgba(11, 27, 43, .06), 0 30px 60px -20px rgba(11, 27, 43, .28);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16.5px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; letter-spacing: -.015em; line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4vw, 3.3rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -.005em; line-height: 1.3; }
p { margin: 0 0 1em; text-wrap: pretty; }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 38em; }
.eyebrow {
  font: 600 .78rem/1.2 var(--f-body);
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-flex; align-items: center; gap: .6em;
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 18px; height: 1.5px; background: currentColor; }
.eyebrow svg { width: 15px; height: 15px; flex: none; }
.eyebrow:has(svg)::before { display: none; }
.ink-mark { color: var(--teal); }
.muted { color: var(--ink-2); }
.mono { font-family: var(--f-mono); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--mint { background: var(--mint-2); }
.section--white { background: var(--card); }
.section--night { background: var(--night); color: #E7F0EF; }
.section--night .lede, .section--night .muted { color: #9FB3BF; }
.section--night .eyebrow { color: var(--scan); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--wide-right { grid-template-columns: .9fr 1.1fr; }
@media (max-width: 960px) {
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-3 { grid-template-columns: 1fr; }
  .split, .split--wide-right { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .g-2, .g-4 { grid-template-columns: 1fr; }
}

/* ---------- buttons ---------- */
.btn {
  --bg: var(--cobalt); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.35em;
  border-radius: 10px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: .98rem; line-height: 1;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  white-space: nowrap;
}
.btn:hover { background: var(--cobalt-d); box-shadow: 0 6px 16px -8px rgba(20, 48, 89, .6); }
.btn svg { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--card); border-color: var(--ink); box-shadow: none; }
.btn--light { --bg: #fff; --fg: var(--night); }
.btn--light:hover { background: var(--mint); }
.btn--ghost-light { --bg: transparent; --fg: #fff; border-color: rgba(255, 255, 255, .3); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .08); border-color: #fff; box-shadow: none; }
.btn--sm { padding: .7em 1.05em; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { font-weight: 600; color: var(--cobalt); text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .97); box-shadow: 0 1px 12px rgba(20, 48, 89, .06); }
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 34px; width: auto; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand b { color: var(--cobalt); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav-links > li { position: relative; }
.nav-links a, .nav-links button.nav-drop {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 11px; border-radius: 10px;
  font-weight: 500; font-size: .96rem; color: var(--ink-2); text-decoration: none;
  background: none; border: 0; cursor: pointer;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links button.nav-drop:hover { color: var(--cobalt); }
.nav-links a[aria-current="page"] { color: var(--cobalt); font-weight: 600; box-shadow: inset 0 -2px 0 var(--cobalt); border-radius: 0; }
.nav-drop svg { width: 12px; transition: transform .25s; }
.has-menu:hover .nav-drop svg, .has-menu.open .nav-drop svg { transform: rotate(180deg); }
.menu {
  position: absolute; top: calc(100% + 8px); left: 50%;
  width: 560px; padding: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  display: grid; gap: 4px;
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
  transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-menu:hover .menu, .has-menu:focus-within .menu, .has-menu.open .menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.menu a { display: grid !important; grid-template-columns: 44px 1fr; gap: 14px !important; padding: 14px !important; align-items: start !important; }
.menu a:hover { background: var(--mint-2) !important; }
.menu-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--mint); color: var(--teal); }
.menu-ico svg { width: 22px; }
.menu strong { display: block; color: var(--ink); font-weight: 600; font-size: 1rem; }
.menu span { display: block; font-size: .88rem; color: var(--ink-3); line-height: 1.4; margin-top: 2px; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); cursor: pointer; place-items: center; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); margin: 4px auto; transition: transform .3s var(--ease), opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: grid; }
  .nav-panel {
    position: fixed; inset: 72px 0 0; background: var(--paper);
    padding: 16px var(--gutter) 32px; overflow-y: auto;
    display: flex; flex-direction: column; gap: 16px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .3s var(--ease), visibility .25s;
  }
  .nav-open .nav-panel { opacity: 1; visibility: visible; transform: none; }
  .nav-links { flex-direction: column; align-items: stretch; margin: 0; gap: 0; }
  .nav-links a, .nav-links button.nav-drop { width: 100%; padding: 14px 4px; font-size: 1.1rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .menu { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0; display: none; background: transparent; }
  .has-menu.open .menu { display: grid; transform: none; }
  .has-menu:hover .menu { transform: none; }
  .menu a { border-bottom: 0 !important; padding: 10px 4px !important; }
  .nav-cta { flex-direction: column; align-items: stretch; }
  .nav-cta .btn { padding: 1em; }
}
@media (min-width: 1081px) { .nav-panel { display: contents; } }

/* ---------- hero (home) ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(60% 60% at 85% 30%, rgba(60, 207, 184, .10), transparent 70%),
    radial-gradient(50% 50% at 10% 90%, rgba(20, 48, 89, .05), transparent 70%);
}
.hero-bg::after {
  content: ""; position: absolute; right: -180px; top: -140px; width: 820px; height: 820px;
  background: url("../img/guilloche.svg") center/contain no-repeat;
  opacity: .07; animation: spin 240s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy .lede { margin-bottom: 30px; }
.trust-line { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 32px; font-size: .9rem; color: var(--ink-2); }
.trust-line span { display: inline-flex; align-items: center; gap: 8px; }
.trust-line svg { width: 16px; color: var(--teal); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- live cheque (signature) ---------- */
.cheque-stage { position: relative; perspective: 1400px; }
.cheque {
  position: relative; aspect-ratio: 1100 / 460; border-radius: 6px;
  background: url("../img/product/hero-cheque-blank.webp") top center / 100% auto no-repeat, #E8F7F8;
  box-shadow: 0 1px 1px rgba(0,0,0,.05), 0 40px 70px -30px rgba(8, 21, 33, .45), 0 18px 30px -18px rgba(15, 127, 122, .4);
  transform: rotateX(4deg) rotateY(-6deg);
  transform-style: preserve-3d;
  transition: transform .8s var(--ease);
  container-type: inline-size;
  overflow: hidden;
}
.cheque-stage:hover .cheque { transform: none; }
.cheque-field {
  position: absolute; white-space: nowrap; overflow: hidden;
  font: italic 700 2.2cqi/1 var(--f-cheque); color: #0d1838;
  letter-spacing: .01em;
}
.cheque-field .caret { display: inline-block; width: 2px; height: 1em; background: var(--cobalt); vertical-align: -.12em; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
/* positions in cqi (cheque-width units) map 1:1 to the 1100px source scan */
.f-date { left: 74.5%; top: 10.4cqi; font-size: 2.3cqi; }
.f-payee { left: 17.3%; top: 18cqi; width: 64%; }
.f-words { left: 11%; top: 22.5cqi; width: 52%; white-space: normal; line-height: 5cqi; max-height: 10cqi; font-size: 2.1cqi; } /* line-height = gap between the two printed rules */
.f-amount { left: 76.4%; top: 28.2cqi; font-size: 2.3cqi; }
.f-sign { left: 76%; top: 33.5cqi; font: italic 400 3.6cqi/1 "Brush Script MT", "Segoe Script", "Lucida Handwriting", cursive; color: #1a2a6c; opacity: 0; transform: rotate(-6deg); transition: opacity .6s; }
.cheque.is-signed .f-sign { opacity: .85; }
.print-head {
  position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--teal) 20%, var(--scan) 80%, transparent);
  box-shadow: 0 0 18px 4px rgba(60, 207, 184, .45);
  opacity: 0;
}
.cheque.is-printing .print-head { animation: sweep 1.6s var(--ease) forwards; }
@keyframes sweep { 0% { top: 0; opacity: 1; } 100% { top: 100%; opacity: 0; } }
.cheque-tag {
  position: absolute; z-index: 3; top: -14px; left: 18px;
  font: 600 .7rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
  background: var(--ink); color: #fff; padding: 7px 10px; border-radius: 6px;
  display: inline-flex; gap: 8px; align-items: center;
}
.cheque-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--scan); box-shadow: 0 0 0 3px rgba(60, 207, 184, .25); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(60, 207, 184, 0); } }
.cheque-controls {
  margin: 34px auto 0; max-width: 560px;
  display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 8px;
  box-shadow: var(--shadow);
}
.cheque-controls label { display: grid; gap: 2px; padding: 6px 10px; border-radius: 10px; transition: background .2s; }
.cheque-controls label:focus-within { background: var(--mint-2); }
.cheque-controls label span { font: 500 .66rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.cheque-controls input { min-width: 0; border: 0; background: transparent; padding: 4px 0; font-size: .98rem; font-weight: 500; width: 100%; outline: none; }
.cheque-controls .btn { align-self: stretch; border-radius: 10px; }
.cheque-hint { text-align: center; font-size: .82rem; color: var(--ink-3); margin-top: 10px; }
@media (max-width: 560px) {
  .cheque-controls { grid-template-columns: 1fr 1fr; }
  .cheque-controls .btn { grid-column: 1 / -1; padding: .9em; }
  .cheque { transform: none; }
}

/* ---------- logos ---------- */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 56px; }
.logos img { height: 34px; width: auto; filter: grayscale(1); opacity: .6; transition: opacity .3s, filter .3s; }
.logos img:hover { filter: none; opacity: 1; }
.logos-cap { text-align: center; font-size: .9rem; color: var(--ink-3); margin-bottom: 26px; }

/* ---------- stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 28px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 700 clamp(1.9rem, 3vw, 2.5rem)/1.1 var(--f-display); letter-spacing: -.02em; color: var(--cobalt); }
.stat span { font-size: .92rem; color: var(--ink-2); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* ---------- editions ---------- */
.editions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.edition {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 28px 28px; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.edition:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.edition-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.edition-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--mint); color: var(--teal); }
.edition-ico svg { width: 26px; }
.edition-kind { font: 500 .7rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; }
.edition h3 { font-size: 1.6rem; margin-bottom: .35em; }
.edition > p { color: var(--ink-2); font-size: .98rem; }
.edition ul { list-style: none; padding: 0; margin: 4px 0 26px; display: grid; gap: 10px; font-size: .95rem; }
.edition li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.edition li svg { width: 18px; margin-top: 3px; color: var(--teal); }
.edition-price { margin-top: auto; padding-top: 22px; border-top: 1px dashed var(--line); display: flex; align-items: end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.edition-price b { font: 700 1.75rem/1 var(--f-display); letter-spacing: -.02em; }
.edition-price small { display: block; font-size: .8rem; color: var(--ink-3); margin-top: 4px; }
.edition--ai { background: var(--night); color: #E7F0EF; border-color: var(--night); }
.edition--ai > p, .edition--ai .edition-price small { color: #9FB3BF; }
.edition--ai .edition-ico { background: rgba(60, 207, 184, .12); color: var(--scan); }
.edition--ai .edition-kind { color: var(--scan); border-color: rgba(60, 207, 184, .35); }
.edition--ai li svg { color: var(--scan); }
.edition--ai .edition-price { border-top-color: var(--line-dark); }
.edition--ai::before {
  content: ""; position: absolute; right: -120px; bottom: -120px; width: 360px; height: 360px;
  background: url("../img/guilloche-light.svg") center/contain no-repeat; opacity: .12; pointer-events: none;
}
@media (max-width: 960px) { .editions { grid-template-columns: 1fr; } }

/* ---------- feature tour (sticky) ---------- */
.tour { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.tour-steps { display: grid; gap: 8px; }
.tour-step {
  padding: 22px 24px; border-radius: var(--r); border: 1px solid transparent; cursor: pointer;
  transition: background .3s, border-color .3s; text-align: left; background: none; width: 100%;
}
.tour-step h3 { font-size: 1.18rem; margin: 0 0 .3em; display: flex; align-items: center; gap: 12px; color: var(--ink-3); transition: color .3s; }
.tour-step h3 svg { width: 22px; color: var(--ink-3); transition: color .3s; flex: none; }
.tour-step p { margin: 0; color: var(--ink-2); font-size: .96rem; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.tour-step.is-active { background: var(--card); border-color: var(--line); box-shadow: var(--shadow); }
.tour-step.is-active h3, .tour-step.is-active h3 svg { color: var(--ink); }
.tour-step.is-active h3 svg { color: var(--teal); }
.tour-step.is-active p { max-height: 160px; opacity: 1; margin-top: 8px; }
.tour-view { position: sticky; top: 100px; }
.browser {
  border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden;
}
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #FBFCFC; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #E1E7E6; }
.browser-bar span { margin-left: 12px; flex: 1; font: 500 .74rem/1 var(--f-code); color: var(--ink-3); background: var(--paper); border-radius: 6px; padding: 7px 10px; }
.browser-screens { position: relative; aspect-ratio: 1200 / 750; background: #F6F5FD; }
.browser-screens img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.02); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.browser-screens img.is-active { opacity: 1; transform: none; }
@media (max-width: 960px) { .tour { grid-template-columns: 1fr; } .tour-view { position: relative; top: 0; order: -1; } }

/* ---------- bank marquee ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 22px; width: max-content; animation: marquee 60s linear infinite; padding-block: 16px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee figure { margin: 0; width: 340px; flex: none; }
.marquee img { width: 100%; aspect-ratio: 700/330; object-fit: cover; border-radius: 6px; box-shadow: var(--shadow); transition: transform .4s var(--ease); }
.marquee figure:hover img { transform: translateY(-6px) rotate(-1deg); }
.marquee figcaption { font-size: .86rem; color: var(--ink-2); margin-top: 10px; font-weight: 500; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- AI scan visual ---------- */
.scan-stage { position: relative; border-radius: 10px; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(60, 207, 184, .35); container-type: inline-size; }
.scan-stage img { width: 100%; filter: saturate(.85); }
.scan-line {
  position: absolute; left: 0; right: 0; height: 22%; top: -22%;
  background: linear-gradient(180deg, transparent, rgba(60, 207, 184, .22) 85%, rgba(60, 207, 184, .9));
  border-bottom: 2px solid var(--scan);
  animation: scan 4.5s var(--ease) infinite;
}
@keyframes scan { 0% { top: -22%; } 55%, 100% { top: 100%; } }
.bbox {
  position: absolute; border: 1.5px solid var(--scan); border-radius: 3px; background: rgba(60, 207, 184, .08);
  opacity: 0; transform: scale(.96); transition: opacity .4s, transform .4s var(--ease);
}
.bbox em {
  position: absolute; top: -1px; left: -1.5px; transform: translateY(-100%);
  font: 600 1.25cqi/1 var(--f-code); font-style: normal; letter-spacing: .04em;
  background: var(--scan); color: var(--night); padding: .5cqi .8cqi; border-radius: 3px 3px 0 0; white-space: nowrap;
}
.scan-stage.is-detected .bbox { opacity: 1; transform: none; }
.scan-stage.is-detected .bbox:nth-of-type(2) { transition-delay: .15s; }
.scan-stage.is-detected .bbox:nth-of-type(3) { transition-delay: .3s; }
.scan-stage.is-detected .bbox:nth-of-type(4) { transition-delay: .45s; }
.scan-stage.is-detected .bbox:nth-of-type(5) { transition-delay: .6s; }
@media (max-width: 560px) { .bbox em { font-size: 2.2cqi; } }

.ai-list { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 18px; }
.ai-list li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.ai-list .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(60, 207, 184, .1); color: var(--scan); }
.ai-list .ico svg { width: 20px; }
.ai-list strong { display: block; color: #fff; font-weight: 600; margin-bottom: 2px; }
.ai-list span { color: #9FB3BF; font-size: .95rem; }

/* ---------- steps (real sequence) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 1.5px; background: repeating-linear-gradient(90deg, var(--teal) 0 6px, transparent 6px 12px); opacity: .5; }
.step { position: relative; padding: 0 24px; text-align: center; }
.step-num { width: 56px; height: 56px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 1.5px solid var(--teal); color: var(--teal); font: 600 1rem/1 var(--f-mono); position: relative; }
.step p { color: var(--ink-2); font-size: .97rem; max-width: 30ch; margin-inline: auto; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 36px; } .steps::before { display: none; } }

/* ---------- cards ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--ink-2); font-size: .97rem; margin: 0; }
.card-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--mint); color: var(--teal); margin-bottom: 20px; }
.card-ico svg { width: 22px; }
.section--night .card { background: var(--night-2); border-color: var(--line-dark); }
.section--night .card p { color: #9FB3BF; }
.section--night .card-ico { background: rgba(60, 207, 184, .1); color: var(--scan); }

/* ---------- quotes ---------- */
figure.card { margin: 0; }
.quote { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.quote blockquote { margin: 0; font: 400 1.04rem/1.6 var(--f-body); color: var(--ink); }
.quote blockquote::before { content: "“"; display: block; font: 700 3.2rem/.6 Georgia, serif; color: var(--teal); margin-bottom: 12px; }
.quote figcaption { font-size: .88rem; color: var(--ink-3); display: flex; align-items: center; gap: 10px; }
.stars { color: var(--amber); letter-spacing: 2px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative;
  font: 600 1.12rem/1.4 var(--f-body);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(currentColor, currentColor) center/14px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center/1.5px 14px no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq .answer { padding: 0 48px 24px 0; color: var(--ink-2); }
.faq .answer p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--cobalt); color: #fff; border-radius: 20px;
  padding: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center;
}
.cta-band::after {
  content: ""; position: absolute; right: -160px; top: -200px; width: 560px; height: 560px;
  background: url("../img/guilloche-light.svg") center/contain no-repeat; opacity: .14; animation: spin 240s linear infinite reverse;
}
.cta-band h2 { margin: 0 0 .3em; }
.cta-band p { color: rgba(255, 255, 255, .78); margin: 0; font-size: 1.08rem; }
.cta-band .btn-row { position: relative; z-index: 1; }
.cta-band .btn--light:hover { background: var(--mint); }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); max-width: 20ch; }
.page-hero--center { text-align: center; }
.page-hero--center h1, .page-hero--center .lede { margin-inline: auto; }
.page-hero--center .eyebrow, .page-hero--center .btn-row { justify-content: center; }
.page-hero--night { background: var(--night); color: #fff; }
.page-hero--night .lede { color: #9FB3BF; }
.page-hero--night .eyebrow { color: var(--scan); }
.page-hero--night::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 80% 40%, rgba(60, 207, 184, .14), transparent 70%); }
.breadcrumbs { font: 500 .85rem/1 var(--f-body); color: var(--ink-3); margin-bottom: 26px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--cobalt); }
.page-hero--night .breadcrumbs { color: #7E95A3; }
.hero-media { position: relative; }
.hero-media .browser { transform: perspective(1600px) rotateY(-8deg) rotateX(4deg); transition: transform .8s var(--ease); }
.hero-media:hover .browser { transform: none; }
.float-chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px;
  box-shadow: var(--shadow-lg); font-size: .88rem; font-weight: 600;
  animation: bob 8s ease-in-out infinite;
}
.float-chip small { display: block; font-weight: 400; color: var(--ink-3); font-size: .78rem; }
.float-chip .dot { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--mint); color: var(--teal); }
.float-chip .dot svg { width: 18px; }
@keyframes bob { 50% { transform: translateY(-4px); } }

/* ---------- pricing ---------- */
.price-group { margin-bottom: 72px; }
.price-group-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.price-group-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 0; }
.price-group-head p { margin: 0; color: var(--ink-2); }
.plan { display: flex; flex-direction: column; position: relative; }
.plan .badge { position: absolute; top: 20px; right: 20px; }
.plan-price { font: 700 2.4rem/1 var(--f-display); letter-spacing: -.02em; margin: 14px 0 4px; }
.plan-price sup { font-size: .4em; vertical-align: 1.2em; margin-right: 4px; letter-spacing: 0; font-weight: 600; }
.plan-price small { font: 500 .95rem/1 var(--f-body); color: var(--ink-3); letter-spacing: 0; }
.plan .plan-note { font-size: .86rem; color: var(--ink-3); margin-bottom: 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; font-size: .95rem; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.plan li svg { width: 18px; margin-top: 3px; color: var(--teal); }
.plan .btn { margin-top: auto; }
.plan--featured { border: 2px solid var(--cobalt); box-shadow: 0 30px 60px -30px rgba(20, 48, 89, .4); }
.badge { display: inline-block; font: 600 .68rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; background: var(--mint); color: var(--teal); }
.badge--cobalt { background: var(--cobalt); color: #fff; }
.badge--scan { background: rgba(60, 207, 184, .15); color: var(--scan); }

.compare { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--card); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.compare th, .compare td { padding: 15px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font: 700 1rem/1.2 var(--f-display); background: var(--mint-2); position: sticky; top: 72px; }
.compare tbody tr:hover { background: var(--mint-2); }
.compare .grp td { background: var(--paper); font: 600 .72rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); text-align: left; }
.compare .y { color: var(--teal); font-weight: 700; }
.compare .n { color: #B5C0C8; }
.table-scroll { overflow-x: auto; border-radius: var(--r-lg); -webkit-overflow-scrolling: touch; }
.table-scroll .compare { min-width: 760px; }

/* ---------- banks page ---------- */
.bank-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.bank-card { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.bank-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.bank-card img { width: 100%; aspect-ratio: 700/330; object-fit: cover; border-radius: 4px; }
.bank-card figcaption { padding: 12px 4px 2px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.bank-list { columns: 3 220px; column-gap: 32px; list-style: none; padding: 0; margin: 0; }
.bank-list li { break-inside: avoid; padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; gap: 10px; align-items: center; }
.bank-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); flex: none; }

/* ---------- integration flow ---------- */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 12px; }
.flow-node { background: var(--night-2); border: 1px solid var(--line-dark); border-radius: var(--r); padding: 22px; text-align: center; }
.flow-node strong { display: block; color: #fff; font-family: var(--f-display); font-size: 1.15rem; margin-bottom: 6px; }
.flow-node span { color: #9FB3BF; font-size: .9rem; }
.flow-node .ico { width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 12px; display: grid; place-items: center; background: rgba(60, 207, 184, .1); color: var(--scan); }
.flow-node .ico svg { width: 24px; }
.flow-arrow { position: relative; width: 64px; height: 2px; background: rgba(60, 207, 184, .25); overflow: hidden; }
.flow-arrow::after { content: ""; position: absolute; top: 0; left: -30%; width: 30%; height: 100%; background: var(--scan); animation: flow 1.8s linear infinite; }
@keyframes flow { to { left: 100%; } }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr; } .flow-arrow { width: 2px; height: 40px; margin: 0 auto; } .flow-arrow::after { width: 100%; height: 30%; left: 0; top: -30%; animation-name: flowv; } }
@keyframes flowv { to { top: 100%; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 7px; }
.field label { font-size: .88rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper);
  transition: border-color .2s, background .2s, box-shadow .2s; font-size: 1rem;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); background: #fff; box-shadow: 0 0 0 4px rgba(20, 48, 89, .12); }
.field .err { font-size: .82rem; color: #C2352B; display: none; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #C2352B; }
.field.invalid .err { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label { padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 500; font-size: .92rem; transition: all .2s; background: var(--paper); }
.chips input:checked + label { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips input:focus-visible + label { outline: 2.5px solid var(--cobalt); outline-offset: 2px; }
.form-status { grid-column: 1 / -1; font-size: .95rem; padding: 14px 16px; border-radius: 12px; background: var(--mint); color: var(--teal); display: none; }
.form-status.show { display: block; }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; text-decoration: none; padding: 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; }
a.contact-item:hover { transform: translateX(4px); border-color: var(--cobalt); }
.contact-item .card-ico { margin: 0; }
.contact-item small { display: block; color: var(--ink-3); font-size: .8rem; font-family: var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.contact-item strong { font-weight: 600; word-break: break-word; }

/* ---------- misc ---------- */
.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.check-list svg { width: 20px; margin-top: 3px; color: var(--teal); }
.section--night .check-list svg { color: var(--scan); }
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 1.6em; }
.prose p, .prose li { color: var(--ink-2); }
.img-frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.spec { display: grid; grid-template-columns: auto 1fr; gap: 0; border-top: 1px solid var(--line); font-size: .95rem; }
.spec dt, .spec dd { padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.spec dt { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding-right: 28px; }
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: #C3CFDE; padding-top: 80px; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; position: relative; }
.site-footer .brand { margin-bottom: 18px; }
.site-footer h2 { font: 500 .74rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: #8EA0B8; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-blurb { max-width: 34ch; font-size: .95rem; }
.micr {
  margin-top: 64px; padding: 22px 0; border-top: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center;
  font: 500 .82rem/1.4 var(--f-body); color: #8EA0B8; position: relative;
}
.micr-line { letter-spacing: .18em; color: #8EA0B8; font-family: var(--f-code); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }
/* above the fold: paint hero media immediately so it can count as LCP (opacity:0 delays it until JS runs) */
.hero .reveal, .page-hero .reveal { opacity: 1; transform: none; transition: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* inner-page heroes: quieter guilloche than the home hero */
.page-hero .hero-bg::after { opacity: .045; width: 640px; height: 640px; right: -160px; top: -120px; }
.page-hero + .section[style*="padding-top:0"] { padding-top: clamp(40px, 5vw, 64px) !important; }
.form-status a { color: var(--cobalt); font-weight: 600; }

/* ---------- lease cheque schedule (enterprise) ---------- */
.lease { background: var(--night-2); border: 1px solid var(--line-dark); border-radius: var(--r-lg); padding: 22px; min-width: 0; }
.lease-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.lease-head strong { display: block; color: #fff; font-size: 1.05rem; }
.lease-head span:not(.badge) { color: #9FB3BF; font-size: .86rem; }
.lease table { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
.lease th { text-align: left; font-weight: 600; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: #8EA0B8; padding: 8px 6px; border-bottom: 1px solid var(--line-dark); }
.lease td { padding: 11px 6px; border-bottom: 1px solid var(--line-dark); color: #DCE5F0; }
.lease tr:last-child td { border-bottom: 0; }
.st { display: inline-block; font-size: .76rem; font-weight: 600; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.st--ok { background: rgba(60, 207, 184, .14); color: #6FE0CD; }
.st--bad { background: rgba(240, 98, 98, .16); color: #FF9A9A; }
.st--due { background: rgba(242, 181, 58, .16); color: #F5C766; }
@media (max-width: 520px) { .lease th:nth-child(3), .lease td:nth-child(3) { display: none; } }

/* ---------- client logos ---------- */
.clients-band { padding-block: clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); background: #fff; }
.logos-cap { font-size: .92rem; color: var(--ink-3); margin-bottom: 22px; }
.client-marquee { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.client-track { list-style: none; margin: 0; padding: 0 28px; display: flex; align-items: center; gap: 64px; flex: none; animation: clients 50s linear infinite; }
.client-marquee:hover .client-track { animation-play-state: paused; }
.client-track img, .client-grid img { height: 38px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1) brightness(.55); opacity: .85; }
@keyframes clients { to { transform: translateX(-100%); } }
.clients-band--night { background: var(--night); border-bottom-color: rgba(255, 255, 255, .08); }
.clients-band--night .logos-cap { color: #8EA0B8; }
.clients-band--night .client-track img { filter: brightness(0) invert(1); opacity: .7; }
.client-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.client-grid li { display: grid; place-items: center; gap: 10px; padding: 28px 14px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; background: #fff; }
.client-grid span { font-size: .8rem; color: var(--ink-3); line-height: 1.3; }
@media (max-width: 900px) { .client-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .client-track { gap: 40px; } }
@media (prefers-reduced-motion: reduce) { .client-track { animation: none; flex-wrap: wrap; justify-content: center; } .client-track[aria-hidden] { display: none; } .client-marquee { justify-content: center; mask-image: none; -webkit-mask-image: none; } }

/* ---------- enterprise: platforms, scan-to-print, integrations ---------- */
.platforms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.platforms span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 6px; font-size: .88rem; font-weight: 600; color: #fff; border: 1px solid rgba(255, 255, 255, .22); }
.platforms svg { width: 16px; height: 16px; }
.s2p { list-style: none; margin: 0; padding: 26px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; border-top: 1px solid rgba(255, 255, 255, .14); }
.s2p-step { position: relative; display: grid; align-content: start; gap: 6px; padding-bottom: 8px; }
.s2p-step + .s2p-step::before { content: ""; position: absolute; left: -24px; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, .14); }
.s2p-step h3 { color: #fff; margin: 4px 0 0; font-size: 1.12rem; }
.s2p-step p { color: #A9B6C9; font-size: .95rem; margin: 0; }
.s2p-media { position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 1100 / 460; background: #E8F7F8; container-type: inline-size; margin-bottom: 14px; }
.s2p-media img { width: 100%; height: auto; display: block; }
.s2p-media.scan-stage { box-shadow: none; }
.s2p-num { font-size: .82rem; font-weight: 700; color: #7FD3C9; }
@media (max-width: 860px) { .s2p { grid-template-columns: minmax(0, 1fr); gap: 0; } .s2p-step { padding: 22px 0 10px; } .s2p-step:first-child { padding-top: 0; } .s2p-step + .s2p-step { border-top: 1px solid rgba(255, 255, 255, .14); } .s2p-step + .s2p-step::before { display: none; } }
.integrations { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.int { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 6px; font-weight: 600; font-size: .9rem; color: #fff; border: 1px solid rgba(255, 255, 255, .22); }
.int svg { width: 17px; height: 17px; color: #7FD3C9; }

/* =====================================================================
   Final layer: brand navy header, heroes and enterprise sections over
   light, plain content. Flat colour, hairlines, no glows or gradients.
   ===================================================================== */
:root {
  --navy: #143059;
  --night: #0F2342;
  --night-2: #17305A;
  --accent: #0E8C86;          /* single accent, from the cheque's guilloche */
  --paper: #F4F6F8;
  --line: #E1E6EC;
  --cobalt: #143059;
  --cobalt-d: #0B1F3D;
  --teal: #0E8C86;
  --mint: #E4F2F0;
  --mint-2: #F4F6F8;
  --scan: #7FD3C9;
  --r: 8px;
  --r-lg: 10px;
  --shadow: 0 1px 2px rgba(15, 35, 66, .06), 0 4px 14px -6px rgba(15, 35, 66, .12);
  --shadow-lg: 0 2px 4px rgba(15, 35, 66, .06), 0 18px 40px -18px rgba(15, 35, 66, .3);
}
body { background: var(--paper); }

/* type: sentence-case labels, left-aligned heads */
.eyebrow { font: 600 .9rem/1.3 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--accent); margin-bottom: .7rem; }
.eyebrow::before { display: none; }
.eyebrow svg { width: 16px; height: 16px; }
.section-head--center { text-align: left; margin-inline: 0; }
.section-head--center .eyebrow { justify-content: flex-start; }
.section-head--center .lede { margin-inline: 0 !important; }
.ink-mark { color: inherit; }
h1 { letter-spacing: -.02em; }

/* buttons: flat, small radius */
.btn { border-radius: 6px; padding: .85em 1.25em; }
.btn:hover { transform: none; box-shadow: none; }
.btn:hover svg { transform: translateX(2px); }
.btn--ghost { border-color: #C9D1DB; }
.btn--ghost:hover { border-color: var(--navy); background: #fff; }

/* header: navy bar */
.site-header, .site-header.is-scrolled { background: var(--night); border-bottom: 1px solid rgba(255, 255, 255, .08); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; top: env(safe-area-inset-top, 0px); }
.nav-links a, .nav-links button.nav-drop { color: #C3CEDD; }
.nav-links a:hover, .nav-links button.nav-drop:hover { color: #fff; background: none; }
.nav-links a[aria-current="page"] { color: #fff; font-weight: 600; box-shadow: inset 0 -2px 0 var(--scan); }
.nav-cta .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .3); background: transparent; }
.nav-cta .btn--ghost:hover { border-color: #fff; background: transparent; }
.nav-cta .btn:not(.btn--ghost) { background: #fff; color: var(--night); }
.nav-cta .btn:not(.btn--ghost):hover { background: #E4ECF7; }
.nav-toggle { background: transparent; border-color: rgba(255, 255, 255, .3); }
.nav-toggle span { background: #fff; }
.menu { border-radius: 8px; box-shadow: var(--shadow-lg); }
.menu a { color: var(--ink) !important; }
.menu-ico { background: var(--paper); color: var(--navy); border-radius: 8px; }
@media (max-width: 1080px) {
  .nav-panel { background: var(--night); }
  .nav-links a, .nav-links button.nav-drop { border-bottom-color: rgba(255, 255, 255, .1); }
  .menu a { color: #fff !important; }
  .menu strong { color: #fff; }
  .menu span { color: #A9B6C9; }
  .menu-ico { background: rgba(255, 255, 255, .08); color: #fff; }
}

/* heroes: solid navy with a faint, static guilloche */
.hero, .page-hero { background: var(--night); color: #fff; }
.hero-bg { background: none !important; }
.hero-bg::after, .page-hero .hero-bg::after { background-image: url("../img/guilloche-light.svg"); opacity: .06; animation: none; }
.hero .lede, .page-hero .lede { color: #B7C3D4; }
.hero .eyebrow, .page-hero .eyebrow { color: var(--scan); }
.trust-line { color: #B7C3D4; }
.trust-line svg { color: var(--scan); }
.breadcrumbs, .breadcrumbs a { color: #8EA0B8; }
.breadcrumbs a:hover { color: #fff; }
.hero .btn:not(.btn--ghost):not(.btn--ghost-light), .page-hero .btn:not(.btn--ghost):not(.btn--ghost-light) { background: #fff; color: var(--night); }
.hero .btn:not(.btn--ghost):not(.btn--ghost-light):hover, .page-hero .btn:not(.btn--ghost):not(.btn--ghost-light):hover { background: #E4ECF7; }
.hero .btn--ghost, .page-hero .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .3); background: transparent; }
.hero .btn--ghost:hover, .page-hero .btn--ghost:hover { border-color: #fff; background: transparent; }
.page-hero--night::before { display: none; }
.cheque { box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .7); transform: none; border-radius: 3px; }
.cheque-stage:hover .cheque { transform: none; }
.cheque-tag { background: #fff; color: var(--night); border-radius: 4px; }
.cheque-tag i { background: var(--accent); box-shadow: none; animation: none; }
.cheque-controls { border-radius: 8px; border: 0; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .6); }
.cheque-controls .btn { background: var(--navy) !important; color: #fff !important; }
.cheque-hint { color: #8EA0B8; }
.print-head { background: var(--scan); box-shadow: none; }
.hero-media .browser { transform: none; }
.img-frame { border-radius: 6px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.float-chip { animation: none; border-radius: 8px; color: var(--ink); }
.float-chip .dot { background: var(--paper); color: var(--navy); border-radius: 6px; }

/* dark content sections */
.section--night { background: var(--night); }
.section--night .eyebrow { color: var(--scan); }
.section--night .card { background: var(--night-2); border-color: rgba(255, 255, 255, .08); }
.section--night .card-ico { background: none; color: var(--scan); }
.ai-list .ico { background: none; color: var(--scan); width: auto; justify-content: start; }
.flow-node { background: var(--night-2); border-color: rgba(255, 255, 255, .08); border-radius: 8px; }
.flow-node .ico { background: none; color: var(--scan); }
.flow-arrow { background: rgba(255, 255, 255, .2); }
.flow-arrow::after { background: var(--scan); }
.lease { background: var(--night-2); border-color: rgba(255, 255, 255, .08); border-radius: 8px; }
.scan-stage { border-radius: 4px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.bbox { border-color: var(--scan); background: rgba(127, 211, 201, .08); }
.bbox em { background: var(--scan); color: var(--night); }
.scan-line { background: linear-gradient(180deg, transparent, rgba(127, 211, 201, .18) 85%, rgba(127, 211, 201, .7)); border-bottom-color: var(--scan); }

/* cards: white, hairline, icon without a tinted tile */
.card { border-radius: 8px; padding: 26px; }
.card:hover { transform: none; box-shadow: var(--shadow); }
.card-ico { background: none; width: auto; height: auto; justify-content: start; color: var(--navy); margin-bottom: 14px; display: block; }
.card-ico svg { width: 26px; height: 26px; }
.contact-item .card-ico { width: 40px; height: 40px; display: grid; place-items: center; background: var(--paper); border-radius: 6px; margin: 0; }
.contact-item .card-ico svg { width: 20px; height: 20px; }
a.contact-item:hover { transform: none; border-color: var(--navy); }

/* editions */
.edition { border-radius: 8px; }
.edition:hover { transform: none; box-shadow: var(--shadow-lg); border-color: var(--line); }
.edition-ico { background: var(--paper); color: var(--navy); border-radius: 8px; }
.edition-kind { border-radius: 4px; }
.edition--ai { background: var(--night); }
.edition--ai::before { display: none; }
.edition--ai .edition-ico { background: rgba(255, 255, 255, .08); color: var(--scan); }
.edition--ai .edition-kind { color: var(--scan); border-color: rgba(127, 211, 201, .4); }

/* stats: one row, hairline dividers */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); gap: 0; }
.stat { background: none; border-right: 1px solid var(--line); border-radius: 0; }
.stat b { color: var(--navy); }

/* steps */
.step-num { background: #fff; border: 1.5px solid var(--navy); color: var(--navy); box-shadow: none; }
.steps::before { background: var(--line); height: 1px; }

/* tour */
.tour-step { border-radius: 8px; }
.tour-step.is-active { box-shadow: inset 3px 0 0 var(--navy), var(--shadow); border-color: var(--line); }
.tour-step.is-active h3 svg { color: var(--navy); }
.browser { border-radius: 8px; }

/* quotes: plain */
.quote { border-top: 0; }
.quote blockquote::before { color: var(--accent); font: 700 2.6rem/.6 Georgia, serif; }
.stars { display: none; }

/* bank strip */
.marquee img { border-radius: 3px; }
.marquee figure:hover img { transform: none; }
.bank-card { border-radius: 8px; }
.bank-card:hover { transform: none; }
.badge { border-radius: 4px; background: var(--mint); color: var(--accent); letter-spacing: .02em; }
.badge--cobalt { background: var(--navy); color: #fff; }
.badge--scan { background: rgba(127, 211, 201, .15); color: var(--scan); }

/* pricing */
.plan--featured { border: 2px solid var(--navy); box-shadow: var(--shadow-lg); }
.compare { border-radius: 8px; }
.compare thead th { background: #fff; border-bottom: 2px solid var(--navy); }

/* CTA band: solid navy panel */
.cta-band { background: var(--navy) !important; border-radius: 10px; box-shadow: none; }
.cta-band::after { opacity: .07; animation: none; }
.cta-band .btn--light:hover { background: #E4ECF7; }

/* misc */
.section--mint { background: #fff; }
.chips label { border-radius: 6px; }
.chips input:checked + label { background: var(--navy); border-color: var(--navy); }
.field input, .field select, .field textarea { border-radius: 6px; }
.faq summary { font-weight: 600; }
.site-footer { background: #0B1A33; }
.wa-float { width: 52px; height: 52px; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .35); }

/* no scroll-triggered fades: content is simply there */
.reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
.faq { margin-inline: 0; }

/* "Ai" is written in mixed case by brand choice, so labels that may contain it keep their case */
.edition-kind, .compare .grp td { text-transform: none; letter-spacing: .02em; }

/* =====================================================================
   Professional layer: bank-stationery palette and type.
   Navy and sky blue are the ChequeEazy logo's own colours (#143059 on
   light, #7FB0FF on dark). Headings and body share IBM Plex Sans;
   mono labels read like a cheque's fine print and MICR line.
   ===================================================================== */
:root {
  --night: #0B1C36;      /* intaglio navy: header, heroes, dark bands */
  --night-2: #132A4D;
  --navy: #143059;       /* logo navy: primary buttons, active states */
  --cobalt: #143059;
  --cobalt-d: #0B1C36;
  --accent: #2456C4;     /* signal blue: eyebrows, links, ticks on light */
  --teal: #2456C4;
  --scan: #8CB8FF;       /* logo sky: every accent on dark */
  --ink: #101828;
  --ink-2: #475467;
  --ink-3: #667085;
  --paper: #F5F7FA;
  --line: #E3E8EF;
  --mint: #EAF0FB;
  --mint-2: #F5F7FA;
  --on-night: #E6ECF5;
  --on-night-2: #A9B7CB;

  --f-display: var(--f-body);   /* headings share the body face (IBM Plex Sans) */
  --f-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --f-code: var(--f-mono);
}

/* type scale: serif for page and section titles only; UI stays sans */
body { font-size: 16px; line-height: 1.68; color: var(--ink); }
h1, h2 { font-family: var(--f-display); font-weight: 600; letter-spacing: -.022em; }
h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); line-height: 1.08; }
h2 { line-height: 1.12; }
h3, h4 { font-family: var(--f-body); font-weight: 600; letter-spacing: -.005em; }
.lede { line-height: 1.6; }
.eyebrow { font: 600 .84rem/1.3 var(--f-body); letter-spacing: .01em; color: var(--accent); }
.btn { font-weight: 600; letter-spacing: .005em; }
.stat b, .edition-price b { font-family: var(--f-display); font-weight: 600; letter-spacing: -.02em; }
.site-footer h2 { font: 500 .72rem/1 var(--f-mono); letter-spacing: .08em; }
.link-arrow { color: var(--accent); }

/* text on navy: neutral blue-greys instead of the old green-greys */
.section--night, .edition--ai { color: var(--on-night); }
.section--night .lede, .section--night .muted, .edition--ai > p, .edition--ai .edition-price small,
.ai-list span, .section--night .card p, .page-hero--night .lede, .flow-node span,
.lease-head span:not(.badge), .s2p-step p,
.hero .lede, .page-hero .lede, .trust-line { color: var(--on-night-2); }
.site-footer { background: #081529; }

/* Ai / scan visuals recoloured from mint to the logo sky */
.bbox { background: rgba(140, 184, 255, .08); }
.scan-line { background: linear-gradient(180deg, transparent, rgba(140, 184, 255, .16) 85%, rgba(140, 184, 255, .7)); }
.edition--ai .edition-kind { border-color: rgba(140, 184, 255, .4); }
.badge--scan { background: rgba(140, 184, 255, .14); }
.s2p-num, .int svg { color: var(--scan); }

/* footer gains a Regions column; regional pages cross-link with card links */
.footer-grid { grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
@media (max-width: 1080px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 620px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
a.region-link { text-decoration: none; color: inherit; transition: border-color .2s; }
a.region-link h3 { color: var(--navy); }
a.region-link:hover { border-color: var(--navy); }
a.region-link p { color: var(--ink-2); margin: 0; }
.card-ico { display: flex; justify-content: flex-start; }
.contact-item .card-ico { display: grid; justify-content: center; }
a.region-link { display: flex; flex-direction: column; }
a.region-link p { margin-bottom: 16px; }
a.region-link .link-arrow { margin-top: auto; font-size: .9rem; }
a.region-link:hover .link-arrow::after { transform: translateX(4px); }

/* section rhythm: one consistent gap between blocks. Base paddings are tighter, and when two
   neighbouring sections share a background the second drops its top padding, so they read as
   one area with a single gap instead of two stacked paddings. */
.section { padding-block: clamp(56px, 6.5vw, 88px); }
.section--tight { padding-block: clamp(32px, 3.5vw, 44px); }
.section-head { margin-bottom: clamp(28px, 3.5vw, 44px); }
main > :is(.section--white, .section--mint) + :is(.section--white, .section--mint),
main > section:not(.section--white):not(.section--mint):not(.section--night):not(.hero):not(.page-hero):not(.clients-band)
     + section:not(.section--white):not(.section--mint):not(.section--night):not(.hero):not(.page-hero):not(.clients-band) { padding-top: 0; }

/* stats band: compact, numbers in the brand navy */
.stats { margin: 0; }
.stat { padding: 24px 28px; }
.stat b { font-size: clamp(1.8rem, 2.6vw, 2.25rem); color: var(--navy); margin-bottom: 4px; }
.stat span, .stat p { font-size: .92rem; color: var(--ink-2); line-height: 1.45; }

/* consecutive dark sections are split by a hairline, so keep breathing room below the line */
main > .section--night + .section--night { padding-top: clamp(44px, 4.5vw, 60px); }

/* long-form guides */
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .7em; line-height: 1.65; }
.prose li strong { color: var(--ink); }
.prose h2:first-child { margin-top: 0; }

/* ---------- blog ---------- */
.byline { margin: 18px 0 0; font-size: .9rem; color: var(--on-night-2); }
a.post-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s; }
a.post-card:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.post-card img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: top; background: var(--paper); border-bottom: 1px solid var(--line); }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.post-card h2, .post-card h3 { font-size: 1.15rem; line-height: 1.35; letter-spacing: -.005em; margin: 0 0 .5em; color: var(--ink); }
.post-card p { color: var(--ink-2); font-size: .95rem; margin: 0 0 18px; }
.post-card .post-meta { font-size: .82rem; color: var(--ink-3); margin-bottom: 8px; }
.post-card .link-arrow { margin-top: auto; font-size: .9rem; }
.prose .ar-example { font-size: 1.35rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 14px 18px; text-align: right; }
.prose .note { font-size: .88rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 28px; }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; }
.amount-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.amount-table th { text-align: left; font: 600 .78rem/1.3 var(--f-body); color: var(--ink-3); padding: 10px 14px; border-bottom: 1px solid var(--line); }
.amount-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--ink); vertical-align: top; }
.amount-table td:first-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.amount-table td[dir="rtl"] { text-align: right; font-size: 1.08rem; }

/* Arabic text uses the matching Plex Arabic face, a touch larger so it reads at the same size as Latin */
:not(html)[lang="ar"] { font-family: "IBM Plex Sans Arabic", "Geeza Pro", "Noto Sans Arabic", Tahoma, sans-serif; font-size: 1.08em; }
html[lang="ar"] :not([lang="ar"])[lang="ar"] { font-size: inherit; }
.amount-table td[lang="ar"] { font-size: 1.12rem; }
.prose .ar-example { font-size: 1.4rem; }

/* main menu: never wrap a label; tighten spacing on mid-width screens before the mobile menu takes over */
.nav-links a, .nav-links button.nav-drop { white-space: nowrap; }
@media (max-width: 1280px) and (min-width: 1081px) {
  .nav { gap: 18px; }
  .nav-links a, .nav-links button.nav-drop { padding-inline: 9px; font-size: .92rem; }
  .nav-cta .btn--sm { padding-inline: .85em; }
}

/* article figures */
.prose figure { margin: 28px 0 32px; }
.prose figure img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.prose figcaption { font-size: .86rem; color: var(--ink-3); margin-top: 10px; }
.section--night .lede a { color: var(--scan); }

/* stacked (square) client logos get extra height so their wordmark stays readable */
.client-track img.logo-stacked, .client-grid img.logo-stacked { height: 64px; max-width: 80px; }


/* ---------- video ---------- */
.video-frame { border-radius: 10px; overflow: hidden; background: #000; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; }
.video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }

/* ---------- language switcher ---------- */
.lang-switch { color: #C3CEDD; text-decoration: none; font-weight: 500; font-size: .95rem; padding: 8px 10px; border-radius: 6px; white-space: nowrap; }
.lang-switch:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.lang-switch[lang="ar"] { font-family: "IBM Plex Sans Arabic", var(--f-body); font-size: 1rem; }

/* =====================================================================
   Arabic pages (html[dir=rtl]): Plex Sans Arabic, mirrored layout.
   Grid and flex mirror on their own; these rules handle what doesn't.
   Product mockups (cheques, scans, marquee, lease table) stay left-to-right.
   ===================================================================== */
html[lang="ar"] {
  --f-body: "IBM Plex Sans Arabic", "IBM Plex Sans", "Geeza Pro", Tahoma, sans-serif;
  --f-display: var(--f-body);
  --f-mono: var(--f-body);
}
[dir="rtl"] body, [dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] .eyebrow, [dir="rtl"] .btn,
[dir="rtl"] .badge, [dir="rtl"] .edition-kind, [dir="rtl"] .site-footer h2, [dir="rtl"] .stat b, [dir="rtl"] .edition-price b,
[dir="rtl"] .compare .grp td, [dir="rtl"] .spec dt, [dir="rtl"] .contact-item small, [dir="rtl"] .cheque-tag { letter-spacing: 0; text-transform: none; }
[dir="rtl"] h1 { line-height: 1.25; }
[dir="rtl"] h2, [dir="rtl"] h3 { line-height: 1.35; }
[dir="rtl"] body { line-height: 1.85; }
[dir="rtl"] .cheque-stage, [dir="rtl"] .cheque-controls, [dir="rtl"] .scan-stage, [dir="rtl"] .s2p-media, [dir="rtl"] .client-marquee,
[dir="rtl"] .lease, [dir="rtl"] .browser-screens, [dir="rtl"] .video-frame { direction: ltr; }
[dir="rtl"] .cheque-controls label span, [dir="rtl"] .cheque-controls input { direction: rtl; text-align: right; }
[dir="rtl"] .ico-arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .ico-arrow { transform: scaleX(-1) translateX(2px); }
[dir="rtl"] .link-arrow::after { content: "←"; }
[dir="rtl"] .link-arrow:hover::after, [dir="rtl"] a.region-link:hover .link-arrow::after { transform: translateX(-4px); }
[dir="rtl"] a.contact-item:hover { transform: translateX(-4px); }
[dir="rtl"] .section-head--center, [dir="rtl"] .tour-step, [dir="rtl"] .compare th:first-child, [dir="rtl"] .compare td:first-child,
[dir="rtl"] .compare .grp td, [dir="rtl"] .amount-table th { text-align: right; }
[dir="rtl"] .tour-step.is-active { box-shadow: inset -3px 0 0 var(--navy), var(--shadow); }
[dir="rtl"] .browser-bar span { margin-left: 0; margin-right: 12px; direction: rtl; }
[dir="rtl"] .nav-toggle { margin-left: 0; margin-right: auto; }
[dir="rtl"] .prose ul, [dir="rtl"] .prose ol { padding-left: 0; padding-right: 1.25em; }
[dir="rtl"] .spec dt { padding-right: 0; padding-left: 28px; }
[dir="rtl"] .plan .badge { right: auto; left: 20px; }
[dir="rtl"] .plan-price sup { margin-right: 0; margin-left: 4px; }
[dir="rtl"] .stat { border-right: 0; border-left: 1px solid var(--line); }
[dir="rtl"] .stat:last-child { border-left: 0; }
@media (max-width: 760px) { [dir="rtl"] .stat:nth-child(2) { border-left: 0; } }
[dir="rtl"] .client-grid { border-left: 0; border-right: 1px solid var(--line); }
[dir="rtl"] .client-grid li { border-right: 0; border-left: 1px solid var(--line); }
[dir="rtl"] .s2p-step + .s2p-step::before { left: auto; right: -24px; }
[dir="rtl"] .wa-float { right: auto; left: 20px; }
[dir="rtl"] .faq summary::after { right: auto; left: 6px; }
[dir="rtl"] .faq summary { padding: 24px 0 24px 48px; }
/* the off-screen skip link must not sit past the left edge on RTL pages (that edge scrolls in RTL) */
[dir="rtl"] .skip { left: auto; right: 8px; transform: translateY(-400%); }
[dir="rtl"] .skip:focus { transform: none; }
[dir="rtl"] .marquee { direction: ltr; }
/* hidden radio inputs behind the contact-form chips: 1px, so they can't widen the page */
.chips { position: relative; }
.field .chips input, .chips input { width: 1px; height: 1px; padding: 0; margin: 0; border: 0; }

/* contact form: honeypot field for bots (invisible to people and screen readers) and send states */
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
[dir="rtl"] .form .hp { left: auto; right: 0; }
.form-status.is-error { background: #FDECEC; color: #9B1C1C; }
.form-status.is-error a { color: #9B1C1C; text-decoration: underline; }
.form button[disabled] { opacity: .6; cursor: progress; }
[dir="rtl"] .field input[type="email"], [dir="rtl"] .field input[type="tel"] { direction: ltr; text-align: right; }

/* contact page: embedded Google map of the office */
.map-embed { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--card); aspect-ratio: 16 / 7; min-height: 320px; }
.map-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 600px) { .map-embed { aspect-ratio: 4 / 3; } }
