/* ==========================================================================
   Orijin — site stylesheet
   One hand-written stylesheet, no framework. Tokens are documented in
   docs/WEBSITE_DESIGN_SYSTEM.md. Mobile-first: base styles target phones,
   min-width queries add layout for tablets (48rem) and desktops (64rem+).
   ========================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Colour */
  --ink-900: #0a1a30;
  --ink-700: #2c3b55;
  --ink-500: #56657d;
  --ink-300: #9aa6b8;
  --line: #e2e8f0;
  --line-strong: #cdd6e3;
  --surface: #ffffff;
  --surface-2: #f5f8fc;
  --tint: #ebf3fe;
  --blue-800: #0f4590;
  --blue-700: #1557b0;
  --blue-600: #1e6fd9;
  --blue-500: #4a90e2;
  --blue-100: #dceafd;
  --teal-700: #08756f;
  --teal-500: #19b3a8;
  --teal-100: #d9f4f1;
  --sun-500: #f2a91d;
  --sun-100: #fff3d6;
  --navy-950: #06142a;
  --navy-900: #0b2042;
  --danger: #b42318;
  --success: #067647;

  /* Type */
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-h4: 1.125rem;
  --fs-h3: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.7vw, 2.75rem);
  --fs-h1: clamp(2.25rem, 1.55rem + 3vw, 4rem);
  --fs-stat: clamp(2rem, 1.6rem + 1.6vw, 3rem);

  /* Space (4px base) */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem;
  --section-y: clamp(3.5rem, 2.5rem + 5vw, 7rem);
  --gutter: clamp(1rem, 0.6rem + 1.8vw, 2rem);
  --container: 75rem;

  /* Shape */
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-xl: 32px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(10, 26, 48, .06), 0 1px 3px rgba(10, 26, 48, .05);
  --shadow-md: 0 6px 24px -8px rgba(10, 26, 48, .14), 0 2px 6px rgba(10, 26, 48, .05);
  --shadow-lg: 0 24px 60px -20px rgba(10, 26, 48, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink-700);
  background: var(--surface);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
img { border-style: none; }
a { color: var(--blue-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-800); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink-900); line-height: 1.15; margin: 0 0 var(--s-4); letter-spacing: -0.02em; font-weight: 750; }
h1 { font-size: var(--fs-h1); letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.03em; line-height: 1.1; }
h3 { font-size: var(--fs-h3); font-weight: 700; }
h4 { font-size: var(--fs-h4); font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 var(--s-4); }
ul, ol { margin: 0 0 var(--s-4); padding-left: 1.2em; }
li + li { margin-top: .35em; }
strong { color: var(--ink-900); font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s-6) 0; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--blue-100); color: var(--ink-900); }

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 200;
  background: var(--ink-900); color: #fff; padding: var(--s-3) var(--s-4); border-radius: var(--r-sm);
}
.skip-link:focus { top: var(--s-3); color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(52rem + var(--gutter) * 2); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.section--soft { background: var(--surface-2); }
.section--tint { background: var(--tint); }
.section--dark { background: var(--navy-950); color: #c9d4e5; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4, .section--dark strong { color: #fff; }
.section--dark a:not(.btn) { color: #9cc6ff; }
.section--line { border-top: 1px solid var(--line); }

.grid { display: grid; gap: var(--s-5); }
.grid-2, .grid-3, .grid-4 { display: grid; gap: var(--s-5); grid-template-columns: 1fr; }
@media (min-width: 40rem) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 48rem) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.split { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 60rem) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--s-8); }
  .split--60 { grid-template-columns: 1.15fr .85fr; }
  .split--40 { grid-template-columns: .85fr 1.15fr; }
  .split--top { align-items: start; }
}
.stack > * + * { margin-top: var(--s-4); }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); } .mb-6 { margin-bottom: var(--s-6); }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue-700); margin-bottom: var(--s-4);
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; transform: rotate(-30deg); flex: none; }
.section--dark .eyebrow { color: #8fc0ff; }
.eyebrow--teal { color: var(--teal-700); }
.lead { font-size: var(--fs-lg); color: var(--ink-500); line-height: 1.55; max-width: 44rem; }
.section--dark .lead { color: #aebcd2; }
.muted { color: var(--ink-500); }
.small { font-size: var(--fs-sm); }
.xsmall { font-size: var(--fs-xs); }
.section-head { max-width: 46rem; margin-bottom: var(--s-7); }
.section-head.center { margin-inline: auto; }
.section-head p:last-child { margin-bottom: 0; }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; gap: var(--s-5); align-items: end; justify-content: space-between; }
.section-head--row > div { max-width: 46rem; }
.bm {
  display: flex; gap: var(--s-3); align-items: flex-start;
  font-size: var(--fs-sm); color: var(--ink-700); background: var(--teal-100);
  border-radius: var(--r-md); padding: var(--s-3) var(--s-4); max-width: 40rem;
}
.bm::before { content: "BM"; flex: none; font-size: 11px; font-weight: 800; letter-spacing: .06em; color: #fff; background: var(--teal-700); border-radius: 6px; padding: 2px 6px; margin-top: 2px; }
.bm strong { color: var(--teal-700); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--blue-600); --btn-fg: #fff; --btn-bd: var(--blue-600);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7rem 1.35rem; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  font-weight: 700; font-size: var(--fs-sm); line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { --btn-bg: var(--blue-700); --btn-bd: var(--blue-700); color: var(--btn-fg); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(1px); }
.btn .i { width: 18px; height: 18px; }
.btn--secondary { --btn-bg: transparent; --btn-fg: var(--ink-900); --btn-bd: var(--line-strong); }
.btn--secondary:hover { --btn-bg: var(--surface); --btn-fg: var(--blue-700); --btn-bd: var(--blue-600); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink-900); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: var(--blue-100); --btn-bd: var(--blue-100); --btn-fg: var(--ink-900); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.4); }
.btn--outline-light:hover { --btn-bg: rgba(255,255,255,.08); --btn-bd: #fff; --btn-fg: #fff; }
.btn--wa { --btn-bg: #128c4b; --btn-bd: #128c4b; }
.btn--wa:hover { --btn-bg: #0e7a41; --btn-bd: #0e7a41; }
.btn--sm { min-height: 40px; padding: .5rem 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; color: var(--blue-700); font-size: var(--fs-sm); }
.link-arrow .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover .i, .card--link:hover .link-arrow .i { transform: translateX(3px); }
.section--dark .link-arrow { color: #9cc6ff; }

/* ---------- Icons ---------- */
.i { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i--fill { fill: currentColor; stroke: none; }
.icon-tile {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--tint); color: var(--blue-700); flex: none;
}
.icon-tile--teal { background: var(--teal-100); color: var(--teal-700); }
.icon-tile--sun { background: var(--sun-100); color: #8a5a00; }
.icon-tile--dark { background: rgba(255,255,255,.08); color: #9cc6ff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px -12px rgba(10,26,48,.18); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: var(--s-5); }
.brand { display: inline-flex; align-items: center; gap: var(--s-3); color: var(--blue-600); text-decoration: none; flex: none; }
.brand svg { width: 104px; height: auto; }
.brand__by { font-size: 11px; line-height: 1.15; color: var(--ink-500); font-weight: 600; border-left: 1px solid var(--line-strong); padding-left: var(--s-3); display: none; }
@media (min-width: 30rem) { .brand__by { display: block; } }
.nav { display: none; }
.nav-toggle {
  margin-left: auto; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink-900); cursor: pointer;
}
.header-cta { display: none; }
@media (min-width: 68rem) {
  .nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
  .nav-toggle { display: none; }
  .header-cta { display: inline-flex; }
}
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px; padding: .55rem .8rem; border-radius: 10px;
  color: var(--ink-900); font-weight: 600; font-size: var(--fs-sm); text-decoration: none; background: none; border: 0; cursor: pointer; min-height: 44px;
}
.nav__link:hover, .nav__item:focus-within > .nav__link, .nav__link[aria-current="page"] { background: var(--surface-2); color: var(--blue-700); }
.nav__link .i { width: 16px; height: 16px; transition: transform .2s; }
.nav__item.is-open > .nav__link .i { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 6px);
  width: min(680px, 90vw); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: var(--s-4); display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.mega::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.nav__item.is-open > .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) { .nav__item:hover > .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); } }
.mega__link { display: flex; gap: var(--s-3); padding: var(--s-3); border-radius: 12px; text-decoration: none; color: var(--ink-700); }
.mega__link:hover { background: var(--surface-2); color: var(--ink-700); }
.mega__link strong { display: block; font-size: var(--fs-sm); line-height: 1.3; }
.mega__link > span:not(.icon-tile) span { display: block; font-size: var(--fs-xs); color: var(--ink-500); line-height: 1.45; margin-top: 2px; }
.mega__col { display: grid; gap: 2px; align-content: start; }
.mega__link .icon-tile { width: 40px; height: 40px; border-radius: 11px; }
.mega__link .icon-tile .i { width: 20px; height: 20px; }
.mega__group { grid-column: 1 / -1; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-300); padding: var(--s-2) var(--s-3) 0; }
.mega__foot { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: var(--s-2); padding: var(--s-3) var(--s-3) 0; display: flex; justify-content: space-between; gap: var(--s-4); font-size: var(--fs-sm); }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 150; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(6,20,42,.45); opacity: 0; transition: opacity .25s; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; inset: 0 0 0 auto; width: min(420px, 100%); background: #fff; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto; overscroll-behavior: contain;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding: 0 var(--gutter); border-bottom: 1px solid var(--line); flex: none; }
.drawer__body { padding: var(--s-4) var(--gutter) var(--s-6); flex: 1; }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary, .drawer__link { display: flex; align-items: center; justify-content: space-between; min-height: 56px; font-weight: 700; color: var(--ink-900); text-decoration: none; cursor: pointer; list-style: none; border-bottom: 1px solid var(--line); }
.drawer details summary { border-bottom: 0; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer details[open] summary .i { transform: rotate(180deg); }
.drawer summary .i { transition: transform .2s; width: 18px; height: 18px; }
.drawer__sub { padding: 0 0 var(--s-3) var(--s-3); display: grid; }
.drawer__sub a { display: block; padding: .6rem 0; color: var(--ink-700); text-decoration: none; font-size: var(--fs-sm); min-height: 44px; }
.drawer__sub a:hover { color: var(--blue-700); }
.drawer__cta { display: grid; gap: var(--s-3); padding: var(--s-5) 0 0; }
body.no-scroll { overflow: hidden; }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: var(--fs-xs); color: var(--ink-500); margin-bottom: var(--s-5); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li { margin: 0; display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; color: var(--ink-300); }
.crumbs a { color: var(--ink-500); text-decoration: none; }
.crumbs a:hover { color: var(--blue-700); text-decoration: underline; }
.section--dark .crumbs, .section--dark .crumbs a { color: #9fb0c9; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) clamp(3rem, 2rem + 4vw, 6rem); background: linear-gradient(180deg, var(--surface-2), #fff); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { margin-bottom: var(--s-6); }
.page-hero__visual { position: relative; }
.page-hero__visual img { margin-inline: auto; }
.page-hero--dark { background: var(--navy-950); color: #c9d4e5; border-bottom: 0; }
.page-hero--dark h1 { color: #fff; }
.page-hero--dark .lead { color: #aebcd2; }
.ring-deco { position: absolute; pointer-events: none; color: var(--blue-100); }
.page-hero .ring-deco { width: 520px; right: -160px; top: -140px; opacity: .7; }
.page-hero--dark .ring-deco { color: rgba(74,144,226,.14); }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 1rem + 5vw, 5.5rem) clamp(3rem, 2rem + 4vw, 6rem); background:
  radial-gradient(60rem 30rem at 85% -10%, rgba(74,144,226,.13), transparent 60%),
  radial-gradient(40rem 24rem at -10% 110%, rgba(25,179,168,.10), transparent 60%), #fff; }
.hero__grid { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 62rem) { .hero__grid { grid-template-columns: 1.02fr .98fr; gap: var(--s-6); } }
.hero h1 { max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--blue-600); }
.hero .lead { margin-bottom: var(--s-6); }
.hero__proof { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); margin-top: var(--s-6); font-size: var(--fs-xs); color: var(--ink-500); }
.hero__proof img { height: 30px; width: auto; }
.hero__visual { position: relative; min-height: 420px; max-width: 560px; width: 100%; margin-inline: auto; }
@media (min-width: 62rem) { .hero__visual { min-height: 560px; } }
.hero__visual .phone { position: absolute; left: 6%; top: 2%; width: 46%; z-index: 2; }
.hero__visual .scard { position: absolute; right: 2%; top: 8%; width: 34%; z-index: 3; transform: rotate(7deg); }
.hero__visual .hero__edc { position: absolute; right: 4%; bottom: -2%; width: 44%; z-index: 1; filter: drop-shadow(0 30px 40px rgba(10,26,48,.25)); }
.hero__ring { position: absolute; inset: 8% 4% 4% 4%; color: var(--blue-100); z-index: 0; }
.toast {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: var(--s-3);
  background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-md);
  padding: .6rem .85rem; font-size: 12.5px; line-height: 1.35; color: var(--ink-700); max-width: 250px;
}
.toast strong { display: block; font-size: 13px; }
.toast .icon-tile { width: 34px; height: 34px; border-radius: 10px; }
.toast .icon-tile .i { width: 18px; height: 18px; }
.toast--b { left: 0; top: 30%; }
.toast--a { left: 2%; top: 64%; }
@media (min-width: 40rem) { .toast--b { left: -4%; } }
@media (max-width: 30rem) { .toast { font-size: 11.5px; max-width: 210px; } }
.hero__note { position: absolute; bottom: -1.75rem; left: 0; font-size: 11px; color: var(--ink-300); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 64rem) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: #fff; padding: var(--s-5) var(--s-5) var(--s-5); }
.stat__value { display: block; font-size: var(--fs-stat); font-weight: 800; color: var(--ink-900); letter-spacing: -0.04em; line-height: 1; margin-bottom: var(--s-3); }
.stat__label { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-700); line-height: 1.35; }
.stat__detail { display: block; font-size: var(--fs-xs); color: var(--ink-500); margin-top: var(--s-2); line-height: 1.45; }
.section--dark .stats { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.1); }
.section--dark .stat { background: var(--navy-950); }
.section--dark .stat__value { color: #fff; }
.section--dark .stat__label { color: #d6e0ee; }
.section--dark .stat__detail { color: #8ea0bb; }
.stats-note { font-size: var(--fs-xs); color: var(--ink-500); margin-top: var(--s-3); }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); position: relative; display: flex; flex-direction: column; gap: var(--s-3); height: 100%; }
@media (min-width: 48rem) { .card { padding: var(--s-6); } }
.card h3, .card h4 { margin: 0; }
.card p { margin: 0; color: var(--ink-500); font-size: var(--fs-sm); }
.card ul { margin: 0; font-size: var(--fs-sm); color: var(--ink-700); }
.card__foot { margin-top: auto; padding-top: var(--s-3); }
.card--link { text-decoration: none; color: inherit; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.card--link:hover { border-color: var(--blue-500); box-shadow: var(--shadow-md); transform: translateY(-2px); color: inherit; }
.card--soft { background: var(--surface-2); border-color: transparent; }
.card--dark { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.card--dark p { color: #aebcd2; }
.card__kicker { font-size: var(--fs-xs); font-weight: 700; color: var(--ink-500); text-transform: uppercase; letter-spacing: .07em; }

/* Product card with media */
.pcard { overflow: hidden; padding: 0; }
.pcard__media { background: var(--surface-2); aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); position: relative; }
.pcard__media img { max-height: 86%; width: auto; object-fit: contain; transition: transform .4s var(--ease); }
.pcard__media--cover img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.card--link:hover .pcard__media img { transform: scale(1.03); }
.pcard__body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); flex: 1; }
@media (min-width: 48rem) { .pcard__body { padding: var(--s-5) var(--s-6) var(--s-6); } }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: var(--r-pill); background: var(--tint); color: var(--blue-700); width: fit-content; }
.tag--school { background: var(--teal-100); color: var(--teal-700); }
.tag--enterprise { background: #eee9fb; color: #5a3fb0; }
.tag--payments { background: var(--tint); color: var(--blue-700); }

/* Feature list */
.features { display: grid; gap: var(--s-5) var(--s-6); grid-template-columns: 1fr; }
@media (min-width: 40rem) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .features--3 { grid-template-columns: repeat(3, 1fr); } }
.feature { display: flex; gap: var(--s-4); align-items: flex-start; }
.feature h3, .feature h4 { font-size: 1.0625rem; margin: 0 0 var(--s-1); }
.feature p { margin: 0; font-size: var(--fs-sm); color: var(--ink-500); }
.section--dark .feature p { color: #aebcd2; }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
.checks li { display: flex; gap: var(--s-3); align-items: flex-start; margin: 0; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--teal-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2308756f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.checks--x li::before { background: #fdecea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b42318' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 12px no-repeat; }
.section--dark .checks li::before { background-color: rgba(25,179,168,.2); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-4); counter-reset: step; }
.steps > li { margin: 0; counter-increment: step; position: relative; padding-left: 56px; min-height: 40px; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--blue-700); background: var(--tint); font-size: var(--fs-sm); }
.steps > li::after { content: ""; position: absolute; left: 19px; top: 46px; bottom: -14px; width: 2px; background: repeating-linear-gradient(to bottom, var(--line-strong) 0 4px, transparent 4px 9px); }
.steps > li:last-child::after { display: none; }
.steps h3, .steps h4 { font-size: 1.0625rem; margin: 6px 0 4px; }
.steps p { margin: 0; color: var(--ink-500); font-size: var(--fs-sm); }
@media (min-width: 64rem) {
  .steps--row { grid-template-columns: repeat(var(--n, 4), 1fr); gap: var(--s-5); }
  .steps--row > li { padding-left: 0; padding-top: 56px; }
  .steps--row > li::after { left: 50px; right: -14px; top: 19px; bottom: auto; width: auto; height: 2px; background: repeating-linear-gradient(to right, var(--line-strong) 0 4px, transparent 4px 9px); }
}
.section--dark .steps > li::before { background: rgba(255,255,255,.08); color: #9cc6ff; }
.section--dark .steps p { color: #aebcd2; }

/* ---------- Phone frame & device ---------- */
.phone { position: relative; border-radius: 13% / 6.2%; background: #0c1424; padding: 3.2%; box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #2a3550; }
.phone img { border-radius: 10.5% / 5%; width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; background: #fff; }
.phone::before { content: ""; position: absolute; top: 4.6%; left: 50%; width: 30%; height: 2.6%; transform: translateX(-50%); background: #0c1424; border-radius: 0 0 12px 12px; z-index: 1; display: none; }
.screens { display: grid; gap: var(--s-6); grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); align-items: start; }
.screens figure { margin: 0; }
.screens figcaption, .figure figcaption { font-size: var(--fs-xs); color: var(--ink-500); margin-top: var(--s-3); text-align: center; }
.screens .phone { max-width: 260px; margin-inline: auto; }
.figure { margin: 0; }
.figure img { margin-inline: auto; }
.figure--framed { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); }
.figure--framed img { border-radius: var(--r-md); }
.media-photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.media-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Student card (CSS mock — no real student data) ---------- */
.scard {
  --c1: #0d1117; --c2: #18a8cc;
  position: relative; aspect-ratio: 54 / 85.6; border-radius: 7% / 4.5%; overflow: hidden; color: #fff;
  background: var(--c1);
  box-shadow: 0 30px 50px -18px rgba(10,26,48,.45), inset 0 0 0 1px rgba(255,255,255,.08);
  font-family: var(--font); container-type: inline-size;
}
.scard__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.scard__top { position: absolute; top: 4.5%; left: 7%; right: 7%; text-shadow: 0 1px 2px rgba(0,0,0,.5); display: flex; align-items: center; gap: 4cqi; font-weight: 800; font-size: 8cqi; letter-spacing: .02em; }
.scard__logo { width: 16cqi; height: 16cqi; border-radius: 4cqi; background: #4a90e2; display: grid; place-items: center; flex: none; }
.scard__logo svg { width: 70%; }
.scard__photo { position: absolute; top: 21%; left: 50%; transform: translateX(-50%); width: 48%; aspect-ratio: 3/4; background: linear-gradient(180deg, #2c8fe0, #1a6fc8); border-radius: 2cqi; overflow: hidden; }
.scard__photo svg { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 92%; color: rgba(255,255,255,.88); }
.scard__name { position: absolute; top: 62%; left: 6%; right: 6%; text-align: center; font-weight: 800; font-size: 6.4cqi; line-height: 1.25; letter-spacing: .03em; text-transform: uppercase; }
.scard__qr { position: absolute; left: 8%; bottom: 6%; width: 30%; aspect-ratio: 1; background: #fff; border-radius: 1.5cqi; padding: 2.4cqi; }
.scard__qr svg { width: 100%; height: 100%; color: #0d1117; }
.scard__brand { position: absolute; right: 8%; bottom: 7%; display: flex; flex-direction: column; align-items: flex-end; gap: 2cqi; font-size: 5cqi; font-weight: 800; }
.scard__brand span { background: #0f9aa0; padding: .4cqi 1.6cqi; border-radius: 1cqi; }
.scard__nfc { position: absolute; right: 8%; top: 54%; width: 10cqi; opacity: .9; }
.scard-wrap { max-width: 300px; margin-inline: auto; }

/* ---------- Ecosystem diagram ---------- */
.eco { position: relative; }
.eco__canvas { position: relative; display: none; }
.eco__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
.eco__list .eco-node > span:last-child { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 23rem) { .eco__list .eco-node { padding: .5rem; gap: var(--s-2); font-size: 13.5px; } .eco__list .eco-node .icon-tile { width: 34px; height: 34px; } }
.eco__hub-m { grid-column: 1 / -1; align-self: start; background: var(--navy-950); color: #fff; border-radius: var(--r-lg); padding: var(--s-5); text-align: center; }
.eco__hub-m strong { color: #fff; display: block; font-size: 1.125rem; }
.eco__hub-m span { font-size: var(--fs-xs); color: #aebcd2; }
@media (min-width: 75rem) {
  .eco__list { display: none; }
  .eco__canvas { display: block; aspect-ratio: 1 / .74; max-width: 820px; margin-inline: auto; }
}
.eco__lines { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--line-strong); overflow: visible; }
.eco__lines line { stroke: currentColor; stroke-width: 1.5; stroke-dasharray: 3 6; vector-effect: non-scaling-stroke; transition: stroke .2s; }
.eco__lines line.is-active { stroke: var(--blue-600); stroke-dasharray: none; stroke-width: 2.5; }
.eco__lines .pulse { fill: var(--blue-600); }
.eco__boundary { position: absolute; inset: 0; border: 2px dashed var(--line-strong); border-radius: 50%; }
.eco__boundary-label { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); }
.eco__hub {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 30%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #183a6e, var(--navy-950) 70%); color: #fff; display: grid; place-items: center; text-align: center;
  box-shadow: 0 0 0 10px rgba(74,144,226,.10), 0 0 0 22px rgba(74,144,226,.06), var(--shadow-lg); padding: 6%; z-index: 2;
}
.eco__hub svg { width: 62%; margin: 0 auto 8px; color: #fff; }
.eco__hub span { font-size: 12px; color: #aebcd2; line-height: 1.35; display: block; }
.eco-node {
  display: flex; align-items: center; gap: var(--s-3); padding: .6rem .9rem .6rem .6rem; min-height: 56px;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-pill); cursor: pointer; text-align: left;
  font-weight: 700; color: var(--ink-900); font-size: var(--fs-sm); line-height: 1.2; box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.eco-node small { display: block; font-weight: 600; color: var(--ink-500); font-size: 11.5px; margin-top: 2px; }
.eco-node .icon-tile { width: 40px; height: 40px; border-radius: 50%; }
.eco-node .icon-tile .i { width: 20px; height: 20px; }
.eco-node:hover { border-color: var(--blue-500); }
.eco-node[aria-selected="true"] { border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(30,111,217,.15), var(--shadow-md); }
.eco-node[aria-selected="true"] .icon-tile { background: var(--blue-600); color: #fff; }
.eco__canvas .eco-node { position: absolute; transform: translate(-50%, -50%); z-index: 3; white-space: nowrap; }
.eco-node--gov { border-style: dashed; background: var(--surface-2); }
.eco__list .eco-node { border-radius: var(--r-md); width: 100%; }
.eco-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); box-shadow: var(--shadow-md); }
@media (min-width: 48rem) { .eco-panel { padding: var(--s-6); } }
.eco-panel[hidden] { display: none; }
.eco-panel h3 { margin-bottom: 2px; }
.eco-panel__uses { display: inline-flex; gap: 6px; align-items: center; font-size: var(--fs-xs); font-weight: 700; color: var(--teal-700); background: var(--teal-100); padding: 4px 10px; border-radius: var(--r-pill); margin: var(--s-2) 0 var(--s-4); }
.eco-panel .checks { font-size: var(--fs-sm); }
.eco-panel__flow { font-size: var(--fs-sm); color: var(--ink-500); border-top: 1px solid var(--line); margin-top: var(--s-4); padding-top: var(--s-4); }
.eco-layout { display: grid; gap: var(--s-6); }
@media (min-width: 64rem) { .eco-layout { grid-template-columns: 1.55fr 1fr; align-items: center; } }
.js .eco-panels .eco-panel:not(.is-active) { display: none; }
.no-js .eco-panels { display: grid; gap: var(--s-4); }

/* Linear loop */
.loop { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); counter-reset: loop; }
.loop li { margin: 0; counter-increment: loop; display: grid; grid-template-columns: auto 1fr; gap: 2px var(--s-4); align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-4); position: relative; }
.loop li::before { content: counter(loop, decimal-leading-zero); grid-row: span 3; font-weight: 800; font-size: var(--fs-sm); color: var(--blue-700); background: var(--tint); border-radius: 10px; width: 40px; height: 40px; display: grid; place-items: center; }
.loop__who { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; font-weight: 800; color: var(--teal-700); }
.loop h4 { margin: 0; font-size: 1rem; }
.loop p { margin: 0; font-size: var(--fs-sm); color: var(--ink-500); }
@media (min-width: 64rem) {
  .loop { grid-template-columns: repeat(var(--n, 6), 1fr); gap: var(--s-3); }
  .loop li { grid-template-columns: 1fr; padding: var(--s-4); }
  .loop li::before { grid-row: auto; margin-bottom: var(--s-2); }
  .loop li:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 34px; width: 16px; height: 16px; z-index: 1; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e6fd9' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
}

/* Day timeline */
.day { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 40rem) { .day { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .day { grid-template-columns: repeat(3, 1fr); } }
.day__item { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-lg); padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); }
.day__time { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--sun-500); }
.day__item h3 { margin: 0; font-size: 1.125rem; }
.day__item p { margin: 0; font-size: var(--fs-sm); color: #aebcd2; }

/* ---------- Roles grid ---------- */
.role { display: flex; flex-direction: column; gap: var(--s-3); }
.role__bm { font-size: 12px; font-weight: 700; color: var(--teal-700); }

/* ---------- Tables ---------- */
.table-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.table th, .table td { padding: var(--s-4); text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { background: var(--surface-2); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-500); font-weight: 800; }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.table tbody th { color: var(--ink-900); font-weight: 700; width: 30%; }
.table ul { margin: 0; padding-left: 1.1em; }
@media (max-width: 47.99rem) {
  .table--stack thead { display: none; }
  .table--stack tr { display: block; padding: var(--s-4); border-bottom: 1px solid var(--line); }
  .table--stack tbody tr:last-child { border-bottom: 0; }
  .table--stack th, .table--stack td { display: block; padding: 0; border: 0; width: auto !important; }
  .table--stack td::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-500); margin: var(--s-3) 0 2px; }
  .table--stack th { font-size: 1rem; }
}
.specs { display: grid; grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin: 0; background: #fff; }
@media (min-width: 48rem) { .specs { grid-template-columns: 1fr 1fr; } }
.specs div { padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
@media (min-width: 48rem) { .specs div:nth-child(odd) { border-right: 1px solid var(--line); } }
.specs dt { font-size: var(--fs-xs); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-500); }
.specs dd { margin: 0; font-size: var(--fs-sm); color: var(--ink-900); }

/* ---------- Compare (traditional vs Orijin) ---------- */
.compare { display: grid; gap: var(--s-4); }
@media (min-width: 64rem) { .compare { grid-template-columns: 1fr 1fr; } }
.compare__col { border-radius: var(--r-lg); padding: var(--s-5); border: 1px solid var(--line); }
.compare__col--orijin { background: var(--navy-950); color: #c9d4e5; border-color: var(--navy-950); }
.compare__col h3 { font-size: 1.0625rem; }
.compare__col--orijin h3 { color: #fff; }
.chain { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; list-style: none; padding: 0; margin: 0; }
.chain li { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-xs); font-weight: 700; }
.chain li span { padding: 6px 10px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-700); }
.compare__col--orijin .chain li span { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #fff; }
.compare__col--orijin .chain li.is-core span { background: var(--blue-600); border-color: var(--blue-600); }
.chain li:not(:last-child)::after { content: "→"; color: var(--ink-300); }

/* ---------- Case studies ---------- */
.case-card .pcard__media { aspect-ratio: 16 / 9; background: var(--surface-2); }
.case-card .pcard__media img { max-height: 70%; }
.case-meta { display: flex; flex-wrap: wrap; gap: 6px var(--s-3); font-size: var(--fs-xs); color: var(--ink-500); font-weight: 600; }
.case-layout { display: grid; gap: var(--s-7); }
@media (min-width: 64rem) { .case-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s-8); align-items: start; } }
.facts { background: var(--surface-2); border-radius: var(--r-lg); padding: var(--s-5); border: 1px solid var(--line); }
@media (min-width: 64rem) { .facts { position: sticky; top: calc(var(--header-h) + 24px); } }
.facts dl { margin: 0; display: grid; gap: var(--s-4); }
.facts dt { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-500); }
.facts dd { margin: 2px 0 0; font-weight: 700; color: var(--ink-900); font-size: var(--fs-sm); }
.chapter { display: grid; gap: var(--s-3); padding-block: var(--s-6); border-top: 1px solid var(--line); }
.chapter:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 48rem) { .chapter { grid-template-columns: 180px 1fr; gap: var(--s-6); } }
.chapter__label { align-self: start; margin: 0; display: flex; align-items: center; gap: var(--s-3); font-size: var(--fs-xs); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--blue-700); }
.chapter__label span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--tint); font-size: 12px; }
.chapter p:last-child, .chapter ul:last-child { margin-bottom: 0; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { margin: 0; display: grid; grid-template-columns: 96px 1fr; gap: var(--s-4); padding: 0 0 var(--s-5); position: relative; }
.timeline li::before { content: ""; position: absolute; left: 103px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2.5px solid var(--blue-600); }
.timeline li::after { content: ""; position: absolute; left: 108px; top: 22px; bottom: 0; width: 1.5px; background: var(--line-strong); }
.timeline li:last-child::after { display: none; }
.timeline time, .timeline .t { font-weight: 800; color: var(--ink-900); font-size: var(--fs-sm); }
.timeline p { margin: 0; padding-left: var(--s-5); font-size: var(--fs-sm); color: var(--ink-700); }
.section--dark .timeline time, .section--dark .timeline .t { color: #fff; }
.section--dark .timeline p { color: #c9d4e5; }
.section--dark .timeline li::before { background: var(--navy-950); border-color: #6aa9f0; }
.section--dark .timeline li::after { background: rgba(255,255,255,.18); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pills li { margin: 0; font-size: var(--fs-xs); font-weight: 700; padding: 6px 12px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); color: var(--ink-700); }
.section--soft .pills li { background: #fff; }
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s-4); }
.result { border-left: 3px solid var(--teal-500); padding-left: var(--s-4); }
.result strong { display: block; font-size: var(--fs-stat); line-height: 1; letter-spacing: -.04em; margin-bottom: 6px; }
.result span { font-size: var(--fs-sm); color: var(--ink-500); }
.pending { background: var(--sun-100); border-radius: var(--r-md); padding: var(--s-4); font-size: var(--fs-sm); color: #6b4a00; }

/* ---------- Clients ---------- */
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 var(--s-6); padding: 0; list-style: none; }
.legend li { margin: 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: var(--r-pill); white-space: nowrap; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip--client { background: var(--tint); color: var(--blue-700); }
.chip--programme { background: var(--teal-100); color: var(--teal-700); }
.chip--deployment { background: #e8f6ee; color: var(--success); }
.chip--banking { background: #eee9fb; color: #5a3fb0; }
.chip--emoney { background: #fdebf3; color: #a2205a; }
.chip--network { background: #eef1f5; color: var(--ink-700); }
.chip--approver { background: var(--sun-100); color: #7a5200; }
.client-group { padding-block: var(--s-6); border-top: 1px solid var(--line); }
.client-group:first-of-type { border-top: 0; padding-top: 0; }
.client-group__head { display: grid; gap: var(--s-2); margin-bottom: var(--s-5); }
@media (min-width: 64rem) { .client-group { display: grid; grid-template-columns: 300px 1fr; gap: var(--s-7); } .client-group__head { margin: 0; align-content: start; } }
.client-list { display: grid; gap: var(--s-3); grid-template-columns: 1fr; }
@media (min-width: 40rem) { .client-list { grid-template-columns: repeat(2, 1fr); } }
.client { display: grid; grid-template-columns: auto 1fr; gap: var(--s-2) var(--s-4); align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-4); }
.client__mark { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); font-weight: 800; color: var(--ink-700); font-size: 15px; grid-row: span 3; overflow: hidden; }
.client__mark img { max-width: 86%; max-height: 80%; object-fit: contain; }
.client__name { font-weight: 700; color: var(--ink-900); font-size: var(--fs-sm); line-height: 1.3; }
.client__what { font-size: var(--fs-xs); color: var(--ink-500); line-height: 1.45; }
.client__meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.client__since { font-size: 12px; font-weight: 700; color: var(--ink-500); }
.client a { font-size: 12px; font-weight: 700; }
.namewall { display: flex; flex-wrap: wrap; gap: var(--s-3); list-style: none; padding: 0; margin: 0; }
.namewall li { margin: 0; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff; font-weight: 700; color: var(--ink-900); font-size: var(--fs-sm); }
.namewall small { color: var(--ink-500); font-weight: 600; font-size: 12px; }
.logowall { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: var(--s-3); }
.logowall div { aspect-ratio: 16/9; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); display: grid; place-items: center; padding: var(--s-4); }
.logowall img { max-height: 56px; width: auto; object-fit: contain; }

/* ---------- People ---------- */
.people { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 40rem) { .people { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .people--3 { grid-template-columns: repeat(3, 1fr); } }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); display: grid; gap: var(--s-2); align-content: start; }
.person__avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--blue-700); font-weight: 800; font-size: 16px; margin-bottom: var(--s-2); }
.person h3 { font-size: 1.0625rem; margin: 0; }
.person__title { font-size: var(--fs-xs); font-weight: 700; color: var(--teal-700); }
.person p { margin: 0; font-size: var(--fs-sm); color: var(--ink-500); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: var(--s-3); }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.faq summary { list-style: none; cursor: pointer; padding: var(--s-4) var(--s-5); min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); font-weight: 700; color: var(--ink-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 20px; height: 20px; transition: transform .2s; color: var(--blue-700); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details > div { padding: 0 var(--s-5) var(--s-5); color: var(--ink-700); font-size: var(--fs-sm); }
.faq details > div p:last-child { margin: 0; }
.faq-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s-6); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy-950); color: #c9d4e5; border-radius: var(--r-xl); padding: clamp(2rem, 1.2rem + 3vw, 4rem); position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; max-width: 22ch; }
.cta-band .lead { color: #aebcd2; }
.cta-band .ring-deco { width: 560px; right: -200px; top: -220px; color: rgba(74,144,226,.12); }
.paths { display: grid; gap: var(--s-3); margin-top: var(--s-6); position: relative; z-index: 1; }
@media (min-width: 48rem) { .paths { grid-template-columns: repeat(3, 1fr); } }
.path { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-5); border-radius: var(--r-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); color: #c9d4e5; text-decoration: none; transition: background .2s, border-color .2s; }
.path:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.3); color: #fff; }
.path strong { color: #fff; font-size: 1.0625rem; }
.path span { font-size: var(--fs-sm); }
.path .link-arrow { color: #9cc6ff; margin-top: auto; padding-top: var(--s-2); }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--s-4); }
.form__row { display: grid; gap: var(--s-4); }
@media (min-width: 40rem) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-size: var(--fs-sm); font-weight: 700; color: var(--ink-900); }
.field .opt { font-weight: 500; color: var(--ink-500); }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: .75rem 1rem; border: 1.5px solid var(--line-strong); border-radius: 12px; background: #fff;
  font-size: 16px; color: var(--ink-900); transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356657d' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 44px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(30,111,217,.15); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: var(--fs-xs); font-weight: 600; }
.field__hint { color: var(--ink-500); font-size: var(--fs-xs); }
.check { display: flex; gap: var(--s-3); align-items: flex-start; font-size: var(--fs-sm); min-height: 44px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--blue-600); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: var(--r-md); padding: var(--s-4) var(--s-5); font-size: var(--fs-sm); display: flex; gap: var(--s-3); align-items: flex-start; }
.alert--success { background: #e8f6ee; color: #05603a; border: 1px solid #a6e2c1; }
.alert--error { background: #fdecea; color: #912018; border: 1px solid #f5b5ae; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.25rem, .8rem + 2vw, 2.5rem); box-shadow: var(--shadow-md); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-4); }
.contact-list li { margin: 0; display: flex; gap: var(--s-4); align-items: flex-start; }
.contact-list strong { display: block; font-size: var(--fs-sm); }
.contact-list span, .contact-list a { font-size: var(--fs-sm); }

/* ---------- Callout / notice ---------- */
.moved-note { background: var(--tint); border-bottom: 1px solid var(--blue-100); color: var(--ink-700); }
.moved-note__inner { display: flex; gap: var(--s-4); align-items: flex-start; justify-content: space-between; padding-block: var(--s-3); }
.moved-note p { margin: 0; font-size: var(--fs-sm); }
.moved-note strong { color: var(--ink-900); }
.moved-note__close { flex: none; width: 36px; height: 36px; margin: -6px -8px -6px 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink-500); font-size: 22px; line-height: 1; cursor: pointer; }
.moved-note__close:hover { background: var(--blue-100); color: var(--ink-900); }
.moved-note[hidden] { display: none; }
.callout { display: flex; gap: var(--s-4); align-items: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); }
.callout p { margin: 0; font-size: var(--fs-sm); }
.callout--tint { background: var(--tint); border-color: var(--blue-100); }

/* App badges */
.store-badges { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.store-badge { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 16px 8px 12px; border-radius: 12px; background: var(--ink-900); color: #fff; text-decoration: none; line-height: 1.1; }
.store-badge:hover { background: #000; color: #fff; }
.store-badge small { display: block; font-size: 10.5px; opacity: .8; }
.store-badge strong { display: block; color: #fff; font-size: 15px; }
.store-badge .i { width: 24px; height: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #9fb0c9; padding-block: var(--s-8) var(--s-6); font-size: var(--fs-sm); }
.site-footer a { color: #c9d4e5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; gap: var(--s-6); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 64rem) { .footer__grid { grid-template-columns: 1.6fr repeat(4, 1fr); } }
.footer__brand { grid-column: 1 / -1; display: grid; gap: var(--s-4); align-content: start; }
@media (min-width: 64rem) { .footer__brand { grid-column: auto; } }
.footer__brand svg { width: 120px; color: #fff; }
.footer__brand p { margin: 0; max-width: 32ch; }
.footer__col h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin: 0 0 var(--s-4); }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.footer__col li { margin: 0; }
.footer__col a { display: inline-block; padding: 6px 0; }
.footer__md { display: flex; align-items: center; gap: var(--s-3); font-size: var(--fs-xs); }
.footer__md img { height: 30px; width: auto; background: #fff; border-radius: 6px; padding: 3px 6px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: var(--s-7); padding-top: var(--s-5); display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); justify-content: space-between; font-size: var(--fs-xs); }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); }
.footer__bottom nav a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Misc ---------- */
.badge-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.kv { display: grid; gap: var(--s-2); }
.divider-dots { height: 2px; background: repeating-linear-gradient(to right, var(--line-strong) 0 4px, transparent 4px 10px); border: 0; margin: var(--s-7) 0; }
.prose { max-width: 46rem; }
.prose h2 { font-size: var(--fs-h3); margin-top: var(--s-7); }
.prose h3 { font-size: 1.125rem; margin-top: var(--s-6); }
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.error-page .code { font-size: clamp(4rem, 3rem + 6vw, 8rem); font-weight: 800; letter-spacing: -.05em; color: var(--blue-100); line-height: 1; }

/* Reveal on scroll — progressive; disabled for reduced motion */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .drawer, .cta-band, .btn { display: none !important; }
  body { color: #000; }
  .section { padding-block: 1.5rem; }
}

/* Compact role cards on small screens */
@media (max-width: 39.99rem) {
  .role { flex-direction: row; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4); padding: var(--s-4); }
  .role h3 { flex: 1; min-width: 0; }
  .role p { flex-basis: 100%; }
}

/* Ecosystem chain grid */
.chain-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); grid-template-columns: 1fr; counter-reset: chain; }
@media (min-width: 40rem) { .chain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .chain-grid { grid-template-columns: repeat(4, 1fr); } }
.chain-grid li { margin: 0; counter-increment: chain; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-4); display: grid; grid-template-columns: auto 1fr; gap: var(--s-2) var(--s-3); align-content: start; position: relative; }
.chain-grid li::after { content: counter(chain, decimal-leading-zero); position: absolute; top: var(--s-4); right: var(--s-4); font-size: 12px; font-weight: 800; color: var(--ink-300); }
.chain-grid .icon-tile { width: 40px; height: 40px; border-radius: 12px; }
.chain-grid .icon-tile .i { width: 20px; height: 20px; }
.chain-grid h3 { font-size: 1rem; margin: 0; align-self: center; padding-right: 24px; }
.chain-grid p { grid-column: 1 / -1; margin: 0; font-size: var(--fs-sm); color: var(--ink-500); }
.chain-grid a { grid-column: 1 / -1; font-size: var(--fs-xs); font-weight: 700; text-decoration: none; }
.chain-grid li.is-gov { border-style: dashed; background: var(--surface-2); }

/* Partner wall — unified clients/partners grid (logo + one-line) */
.partnerwall { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--s-3); list-style: none; padding: 0; margin: 0; }
.partnerwall .partner { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-4); display: flex; flex-direction: column; gap: 10px; text-align: center; align-items: center; }
.partnerwall .partner__logo { height: 56px; display: flex; align-items: center; justify-content: center; }
.partnerwall .partner__logo img { max-height: 56px; max-width: 160px; width: auto; object-fit: contain; }
.partnerwall .partner__initials { font-weight: 700; font-size: 1.25rem; color: var(--blue-600, #1d4ed8); letter-spacing: .02em; }
.partnerwall .partner__name { font-weight: 600; line-height: 1.25; }
.partnerwall .partner__what { color: var(--muted); font-size: .8125rem; line-height: 1.35; }
