/* Wdhoh marketing site — one stylesheet, RTL-first with logical properties.
   Brand: the logo's deep navy, a brighter action blue, and a mint used only
   for "approved / covered / sent" — the states the product is about. */

:root {
  --ink: #121838;
  --ink-2: #464f73;
  --ink-3: #7a83a6;
  --brand: #222d66;
  --action: #2d52e6;
  --action-hover: #2243c7;
  --action-soft: #ebf0ff;
  --mint: #0f9e7b;
  --mint-soft: #e5f6f0;
  --amber: #b86e00;
  --amber-soft: #fff3df;
  --rose: #cc3d55;
  --rose-soft: #fdebee;
  --bg: #f6f7fb;
  --surface: #ffffff;
  --line: #e3e6f1;
  --line-2: #d3d8ea;
  --night: #0c1230;
  --night-2: #151d45;
  --night-line: #263063;
  --wa: #1fa855;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-1: 0 1px 2px rgb(18 24 56 / 5%), 0 4px 14px rgb(18 24 56 / 6%);
  --shadow-2: 0 2px 4px rgb(18 24 56 / 6%), 0 18px 40px -12px rgb(18 24 56 / 18%);

  --font: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.375rem;
  --step-3: 1.75rem;
  --step-4: 2.25rem;
  --step-5: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
[dir="ltr"] body { line-height: 1.65; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
code, .mono { font-family: var(--mono); font-size: 0.92em; }
:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .icon.flip { transform: scaleX(-1); }

/* ───────── buttons ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0 1.4em; border-radius: 999px; border: 1px solid transparent;
  font: 600 var(--step-0)/1 var(--font); cursor: pointer; white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--action); color: #fff; box-shadow: 0 8px 20px -8px rgb(45 82 230 / 60%); }
.btn-primary:hover { background: var(--action-hover); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-light { background: #fff; color: var(--night); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgb(255 255 255 / 35%); }
.btn-outline-light:hover { border-color: #fff; }
.btn-sm { min-height: 40px; padding: 0 1.1em; font-size: var(--step--1); }

/* ───────── navigation: a floating pill, as in the reference ───────── */
.nav-shell { position: sticky; top: 0; z-index: 50; padding-top: 14px; }
.nav {
  display: flex; align-items: center; gap: 12px;
  background: rgb(255 255 255 / 86%); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 8px 8px 12px; box-shadow: var(--shadow-1);
}
[dir="rtl"] .nav { padding: 8px 12px 8px 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; padding-inline: 6px; flex: none; }
.brand img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav-links > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; color: var(--ink-2); background: none; border: 0; font-family: inherit; cursor: pointer;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--ink); background: var(--bg); }
.nav-link .icon { width: 16px; height: 16px; transition: transform .2s; }
.has-menu:hover .nav-link .icon, .has-menu:focus-within .nav-link .icon { transform: rotate(180deg); }
.menu {
  position: absolute; inset-inline-start: 50%; top: calc(100% + 10px); translate: 50% 0; width: 560px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-2);
  padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
[dir="ltr"] .menu { translate: -50% 0; }
.menu.narrow { width: 400px; grid-template-columns: 1fr; }
.has-menu:hover .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: none; }
.menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.menu a { display: flex; gap: 12px; padding: 12px; border-radius: var(--radius-sm); }
.menu a:hover { background: var(--bg); }
.menu .menu-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--action-soft); color: var(--action); flex: none; }
.menu .menu-icon .icon { width: 22px; height: 22px; }
.menu .menu-icon.wa { background: #e3f6ea; color: var(--wa); }
/* A national platform's own logo, on white so its colours read as theirs */
.menu .menu-icon.logo { background: #fff; border: 1px solid var(--line); padding: 5px; }
/* Only the emblem: both logos put it on the right, and the whole wordmark is unreadable at tile size */
.menu .menu-icon.logo { padding: 0; overflow: hidden; }
.menu .menu-icon.logo img { width: 34px; height: 34px; object-fit: cover; object-position: right center; }
.menu .menu-text { display: block; }
.menu strong { display: block; font-size: 0.95rem; }
.menu .menu-text > span { display: block; font-size: 0.85rem; color: var(--ink-3); line-height: 1.5; }
.mobile-panel .logo-icon { width: 24px; height: 24px; object-fit: cover; object-position: right center; }
.nav-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 0.9rem; color: var(--ink-2); }
.lang-switch:hover { background: var(--bg); color: var(--ink); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; place-items: center; }

@media (max-width: 1040px) {
  .nav-links, .nav-actions .login, .nav-actions .lang-switch { display: none; }
  .nav-toggle { display: grid; }
  .nav { gap: 8px; }
  .nav-actions { margin-inline-start: auto; }
}
.mobile-panel {
  display: none; margin-top: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-2); padding: 10px; max-height: calc(100vh - 110px); overflow-y: auto;
}
.mobile-panel.open { display: block; }
.mobile-panel a { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: var(--radius-sm); font-weight: 600; }
.mobile-panel a:hover { background: var(--bg); }
.mobile-panel .group-label { padding: 12px 12px 4px; font-size: 0.8rem; color: var(--ink-3); font-weight: 600; letter-spacing: .02em; }
.mobile-panel .row { display: flex; gap: 8px; padding: 10px 4px 4px; }
.mobile-panel .row .btn { flex: 1; }

/* ───────── sections ───────── */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section.tight { padding-block: clamp(48px, 6vw, 72px); }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: var(--action-soft); color: var(--action); font-weight: 600; font-size: 0.85rem;
}
.eyebrow.mint { background: var(--mint-soft); color: var(--mint); }
.eyebrow.on-dark { background: rgb(255 255 255 / 10%); color: #c9d4ff; }
.head { max-width: 760px; display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); }
.head.center { margin-inline: auto; text-align: center; justify-items: center; }
.head h2 { font-size: var(--step-4); font-weight: 700; }
.head p { color: var(--ink-2); font-size: var(--step-1); }
.lead { color: var(--ink-2); font-size: var(--step-1); max-width: 62ch; }

/* ───────── hero ───────── */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(56px, 8vw, 104px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto; height: 120%; z-index: -1;
  background:
    radial-gradient(42% 46% at 78% 30%, rgb(45 82 230 / 13%), transparent 70%),
    radial-gradient(36% 40% at 18% 60%, rgb(15 158 123 / 10%), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: var(--step-5); font-weight: 700; line-height: 1.22; }
.hero h1 em { font-style: normal; color: var(--action); }
.hero .lead { margin-top: 18px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 28px; color: var(--ink-2); font-size: 0.92rem; font-weight: 500; }
.proof li { display: inline-flex; align-items: center; gap: 8px; }
.proof .icon { color: var(--mint); }
.page-hero { padding-block: clamp(36px, 6vw, 72px) clamp(40px, 6vw, 72px); text-align: center; }
.page-hero .wrap { display: grid; justify-items: center; gap: 16px; }
.page-hero h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 700; max-width: 22ch; }
.page-hero .lead { margin-inline: auto; }
.crumbs { display: flex; gap: 8px; font-size: 0.85rem; color: var(--ink-3); }
.crumbs a:hover { color: var(--ink); }

/* The hero's "product, at a glance": real states the product has, drawn as UI. */
.stage { position: relative; min-height: 540px; }
.card-ui {
  position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-2); padding: 16px 18px; font-size: 0.9rem;
}
.card-ui .t { font-weight: 700; font-size: 0.95rem; }
.card-ui .s { color: var(--ink-3); font-size: 0.8rem; }
.ui-schedule { inset-inline-start: 0; top: 0; width: 350px; padding: 18px; }
.ui-schedule header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.slots { display: grid; gap: 8px; }
.slot { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--bg); }
.slot time { font-family: var(--mono); font-size: 0.8rem; color: var(--ink-3); }
.slot b { font-weight: 600; font-size: 0.9rem; display: block; }
.slot small { color: var(--ink-3); font-size: 0.78rem; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.pill.mint { background: var(--mint-soft); color: var(--mint); }
.pill.blue { background: var(--action-soft); color: var(--action); }
.pill.amber { background: var(--amber-soft); color: var(--amber); }
.pill.rose { background: var(--rose-soft); color: var(--rose); }
.ui-cover { inset-inline-end: 0; top: 46px; width: 215px; }
.ui-cover .row { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.ui-cover .ring { width: 44px; height: 44px; border-radius: 50%; background: conic-gradient(var(--mint) 0 80%, var(--line) 0); display: grid; place-items: center; }
.ui-cover .ring::after { content: "80%"; width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; font: 600 0.7rem var(--mono); color: var(--ink); }
.ui-wa { inset-inline-end: 3%; top: 300px; width: 265px; background: #f1fbf4; border-color: #cfeedd; }
.ui-wa .bubble { background: #fff; border-radius: 12px 12px 12px 4px; padding: 10px 12px; margin-top: 8px; box-shadow: 0 1px 1px rgb(0 0 0 / 6%); line-height: 1.6; }
[dir="rtl"] .ui-wa .bubble { border-radius: 12px 12px 4px 12px; }
.ui-wa .meta { display: flex; justify-content: flex-end; gap: 4px; margin-top: 4px; color: var(--ink-3); font-size: 0.72rem; }
.ui-wa .head-row { display: flex; align-items: center; gap: 8px; color: var(--wa); font-weight: 700; font-size: 0.85rem; }
.ui-invoice { inset-inline-start: 4%; bottom: 0; width: 290px; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.ui-invoice .qr { width: 64px; height: 64px; border-radius: 8px; color: var(--ink); background: var(--bg); display: grid; place-items: center; }
.ui-invoice .qr .icon { width: 40px; height: 40px; stroke-width: 1.4; }
.ui-invoice .amt { font: 600 1.15rem var(--mono); margin-top: 4px; }
.float { animation: float 7s ease-in-out infinite; }
.float.d2 { animation-delay: -2.4s; } .float.d3 { animation-delay: -4.6s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stage { min-height: 0; display: grid; gap: 14px; }
  .card-ui { position: static; width: 100% !important; }
  .float { animation: none; }
}

/* ───────── cards & grids ───────── */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; gap: 12px;
}
.card h3 { font-size: var(--step-1); font-weight: 700; }
.card p { color: var(--ink-2); font-size: 0.95rem; }
a.card { transition: border-color .2s, box-shadow .2s, transform .2s; }
a.card:hover { border-color: var(--line-2); box-shadow: var(--shadow-2); transform: translateY(-3px); }
.card .more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; color: var(--action); font-weight: 600; font-size: 0.92rem; }
.tile { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--action-soft); color: var(--action); }
.tile.mint { background: var(--mint-soft); color: var(--mint); }
.tile.wa { background: #e3f6ea; color: var(--wa); }
.tile.amber { background: var(--amber-soft); color: var(--amber); }
.tile .icon { width: 24px; height: 24px; }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 0.95rem; }
.ticks .icon { color: var(--mint); margin-top: 0.3em; width: 18px; height: 18px; stroke-width: 2.4; }

/* disciplines strip */
.disciplines { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.discipline { display: flex; align-items: center; gap: 14px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.discipline b { display: block; }
.discipline small { color: var(--ink-3); font-size: 0.85rem; }
@media (max-width: 960px) { .disciplines { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .disciplines { grid-template-columns: 1fr; } }

/* integration spotlight */
.spot { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.spot-card { border-radius: calc(var(--radius) + 6px); padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; align-content: start; border: 1px solid var(--line); background: var(--surface); }
.spot-card.nph { background: linear-gradient(160deg, #eef2ff, #fff 60%); }
.spot-card.wa { background: linear-gradient(160deg, #e9f8ef, #fff 60%); }
.spot-card h3 { font-size: var(--step-3); }
.spot-card .ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
@media (max-width: 860px) { .spot { grid-template-columns: 1fr; } }

/* journey */
.journey { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; counter-reset: step; position: relative; }
.journey li { position: relative; padding: 0 10px; text-align: center; display: grid; justify-items: center; gap: 10px; }
.journey li::before {
  counter-increment: step; content: counter(step); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 2px solid var(--action); color: var(--action); font: 700 1rem var(--mono); position: relative; z-index: 1;
}
.journey li::after { content: ""; position: absolute; top: 22px; inset-inline-start: 50%; width: 100%; height: 2px; background: var(--line-2); }
.journey li:last-child::after { display: none; }
.journey b { font-size: 0.98rem; }
.journey small { color: var(--ink-3); font-size: 0.85rem; line-height: 1.6; }
@media (max-width: 900px) {
  .journey { grid-template-columns: 1fr; gap: 18px; }
  .journey li { grid-template-columns: 44px 1fr; text-align: start; justify-items: start; column-gap: 14px; align-items: start; }
  .journey li::before { grid-row: span 2; }
  .journey li::after { top: 46px; inset-inline-start: 21px; width: 2px; height: calc(100% - 26px); }
}

/* numbered steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 10px; }
.steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font: 600 0.95rem var(--mono); color: var(--action); }
.steps b { font-size: var(--step-1); }
.steps p { color: var(--ink-2); font-size: 0.95rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* split feature row with screenshot */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.shot { border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); padding: 10px; box-shadow: var(--shadow-2); }
.shot img { border-radius: 10px; }
.shot figcaption { font-size: 0.82rem; color: var(--ink-3); padding: 10px 6px 2px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* dark band */
.band-dark { background: var(--night); color: #e8ecff; position: relative; overflow: hidden; }
.band-dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 85% 0%, rgb(45 82 230 / 28%), transparent 70%), radial-gradient(40% 50% at 10% 100%, rgb(15 158 123 / 18%), transparent 70%); pointer-events: none; }
.band-dark .wrap { position: relative; }
.band-dark .head p, .band-dark p { color: #aab4dc; }
.band-dark .card { background: var(--night-2); border-color: var(--night-line); }
.band-dark .card h3 { color: #fff; }
.band-dark .card p { color: #aab4dc; }
.band-dark .tile { background: rgb(255 255 255 / 8%); color: #9fb4ff; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 36px; }
.badges span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--night-line); background: rgb(255 255 255 / 4%); font-weight: 500; font-size: 0.9rem; color: #dfe5ff; }
.badges .icon { color: #6fe0bd; width: 16px; height: 16px; }

/* national-platform logos — "compatible with", never "certified by" */
.partners { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: stretch; }
.partner { display: flex; align-items: center; gap: 18px; padding: 18px 28px; box-shadow: var(--shadow-1); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.partner img { height: 60px; width: auto; }
.partner span { display: grid; line-height: 1.4; }
.partner small { color: var(--ink-3); font-size: 0.8rem; }
.partner b { font-size: 1rem; }
.trust-strip { padding-block: 0 clamp(40px, 6vw, 64px); }
.trust-strip p { text-align: center; color: var(--ink-2); font-size: 1rem; font-weight: 600; margin-bottom: 18px; }
.hero-logo { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: 0.85rem; color: var(--ink-2); font-weight: 500; }
.hero-logo img { height: 38px; width: auto; }
.footer-partners { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-block: 22px; border-bottom: 1px solid var(--night-line); }
.footer-partners > span { color: #8f9ac6; font-size: 0.85rem; }
.footer-partners img { height: 36px; width: auto; background: #fff; padding: 6px 12px; border-radius: 10px; box-sizing: content-box; }

/* faq */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: var(--step-1); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; color: var(--ink-3); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details > div { padding: 0 24px 22px; color: var(--ink-2); }
.faq details > div p + p { margin-top: 10px; }
.faq-group { margin-bottom: 40px; }
.faq-group h2 { font-size: var(--step-2); margin: 0 auto 16px; max-width: 860px; }

/* cta band */
.cta-band { padding-block: clamp(56px, 8vw, 96px); }
.cta-box {
  border-radius: calc(var(--radius) + 10px); padding: clamp(32px, 6vw, 64px); text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--brand), #2d3f9e 55%, var(--action)); position: relative; overflow: hidden;
  display: grid; justify-items: center; gap: 16px;
}
.cta-box::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 14%); inset-inline-end: -120px; top: -180px; }
.cta-box h2 { font-size: var(--step-4); max-width: 22ch; }
.cta-box p { color: #d7defc; font-size: var(--step-1); max-width: 56ch; }
.cta-box .row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.cta-box .fine { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; font-size: 0.9rem; color: #c5cff8; }
.cta-box .fine span { display: inline-flex; align-items: center; gap: 6px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: 30px; display: flex; flex-direction: column; gap: 18px; position: relative; }
.plan.featured { background: var(--night); color: #fff; border-color: var(--night); box-shadow: var(--shadow-2); }
.plan.featured p, .plan.featured .per, .plan.featured .ticks li { color: #b9c3ea; }
.plan.featured .ticks .icon { color: #6fe0bd; }
.plan .tag { position: absolute; top: -13px; inset-inline-start: 26px; background: var(--action); color: #fff; padding: 4px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; }
.plan h3 { font-size: var(--step-2); }
.price { display: flex; align-items: baseline; gap: 8px; }
.price b { font: 600 2.6rem/1 var(--font); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price .cur { font-weight: 600; }
.per { color: var(--ink-3); font-size: 0.9rem; }
.limits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-block: 14px; border-block: 1px solid var(--line); }
.plan.featured .limits { border-color: var(--night-line); }
.limits div { text-align: center; }
.limits b { display: block; font: 600 1.1rem var(--mono); font-variant-numeric: tabular-nums; }
.limits small { color: var(--ink-3); font-size: 0.78rem; }
.plan.featured .limits small { color: #93a0d3; }
.plan .btn { margin-top: auto; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.addon { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.addon small { color: var(--ink-3); display: block; }
.addon .amount, .wa-pack .amount { white-space: nowrap; font-size: 0.9rem; color: var(--ink-3); }
.addon .amount b, .wa-pack .amount b { font-size: 1.15rem; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .addons { grid-template-columns: 1fr; } }
.wa-pricing { align-items: start; }
.wa-sub { font-size: 0.95rem; margin-bottom: 10px; }
.wa-packs { display: grid; gap: 8px; }
.wa-pack { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.wa-pack small { color: var(--ink-3); display: block; font-size: 0.8rem; }
@media (max-width: 420px) { .wa-pack { grid-template-columns: 1fr auto; } .wa-pack .pill { grid-row: 2; justify-self: start; } }
.note { color: var(--ink-3); font-size: 0.9rem; text-align: center; margin-top: 22px; }

/* compare table */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.95rem; }
.compare th, .compare td { padding: 14px 18px; text-align: start; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--bg); font-weight: 700; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.compare tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--mint); }
.compare .no { color: var(--line-2); }

/* demo form */
.demo-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; } }
.intent { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.intent label { cursor: pointer; }
.intent input { position: absolute; opacity: 0; pointer-events: none; }
.intent span { display: grid; gap: 4px; padding: 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); font-weight: 600; font-size: 0.92rem; height: 100%; }
.intent span small { font-weight: 400; color: var(--ink-3); font-size: 0.8rem; }
.intent input:checked + span { border-color: var(--action); background: var(--action-soft); }
.intent input:focus-visible + span { outline: 3px solid var(--action); outline-offset: 2px; }
@media (max-width: 520px) { .intent { grid-template-columns: 1fr; } }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(22px, 4vw, 34px); box-shadow: var(--shadow-1); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field label .req { color: var(--rose); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff;
  font: inherit; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--action); box-shadow: 0 0 0 4px rgb(45 82 230 / 14%); }
.field input[dir="ltr"] { text-align: end; }
[dir="ltr"] .field input[dir="ltr"] { text-align: start; }
.form .btn { width: 100%; margin-top: 20px; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-weight: 500; display: none; }
.form-status.ok { display: block; background: var(--mint-soft); color: #08694f; }
.form-status.err { display: block; background: var(--rose-soft); color: #9c2338; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-list { display: grid; gap: 14px; margin-top: 26px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list small { display: block; color: var(--ink-3); }

/* code / message log look */
.log { background: var(--night); color: #cfd8ff; border-radius: var(--radius); padding: 20px 22px; font: 500 0.85rem/1.8 var(--mono); overflow-x: auto; direction: ltr; text-align: left; }
.log .ar { font-family: var(--font); }
.log .ok { color: #6fe0bd; } .log .warn { color: #ffcf7a; } .log .dim { color: #7e89b8; }

/* scope / honesty callout */
.callout { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); border-inline-start: 4px solid var(--action); }
.callout .icon { color: var(--action); margin-top: 0.2em; }
.callout p { color: var(--ink-2); font-size: 0.95rem; }
.callout b { color: var(--ink); }

/* footer */
.footer { background: var(--night); color: #aeb8de; padding-top: 72px; font-size: 0.95rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding-bottom: 48px; border-bottom: 1px solid var(--night-line); }
.footer .brand-block { display: grid; gap: 14px; align-content: start; }
.footer .brand-block img { height: 52px; width: auto; background: #fff; padding: 8px 14px; border-radius: 12px; justify-self: start; }
.footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.footer ul { display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px 28px; font-size: 0.85rem; color: #7e89b8; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer .brand-block { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } .footer-bottom { padding-bottom: 96px; } }

/* floating WhatsApp — shown only when the platform has a support number */
.wa-float {
  position: fixed; inset-inline-start: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; display: none; place-items: center; box-shadow: 0 10px 24px -6px rgb(31 168 85 / 60%);
}
.wa-float.on { display: grid; }
.wa-float .icon { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.05); }

/* reveal: visible at rest; motion only enhances */
.reveal { transition: opacity .6s ease, transform .6s ease; }
.js .reveal.pending { opacity: 0; transform: translateY(14px); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--action); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }

/* ── Coming soon (NPHIES until its accreditation is complete) ──────────────
   The thing is shown, greyed and dimmed; the badge stays in full colour. */
.soon-badge { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; line-height: 1.6; white-space: nowrap; background: var(--amber-soft); color: var(--amber); border: 1px solid color-mix(in srgb, var(--amber) 30%, transparent); }
.is-soon { position: relative; }
.is-soon > :not(.soon-badge) { filter: grayscale(1); opacity: 0.5; }
.is-soon:hover > :not(.soon-badge) { opacity: 0.7; }
.soon-badge.corner { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 1; }
a.card.is-soon:hover { transform: none; }
.menu a.is-soon { align-items: center; }
.menu a.is-soon > .soon-badge { margin-inline-start: auto; }
.mobile-panel a.is-soon > .soon-badge { margin-inline-start: auto; }
.partner.is-soon { gap: 14px; }
.hero-logo.is-soon > .soon-badge { margin-inline-start: 4px; }
.footer .soon-text { opacity: 0.55; }
.footer-soon { display: inline-flex; align-items: center; gap: 8px; }
.footer-soon .soon-img { filter: grayscale(1); opacity: 0.5; }
/* On the small hero cards the badge sits on the top edge, clear of the text. */
.card-ui .soon-badge.corner, .spot-card .soon-badge.corner { top: -11px; }

/* ── Legal pages (privacy policy) ─────────────────────────────────────────── */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.legal-side { position: sticky; top: 104px; display: grid; gap: 18px; }
.legal-date { display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 0.85rem; }
.legal-date .icon { width: 16px; height: 16px; }
.legal-toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.legal-toc b { display: block; font-size: 0.85rem; color: var(--ink-3); margin-bottom: 10px; }
.legal-toc ol { list-style: none; display: grid; gap: 6px; counter-reset: toc; padding: 0; margin: 0; }
.legal-toc li { counter-increment: toc; display: flex; gap: 8px; font-size: 0.9rem; }
.legal-toc li::before { content: counter(toc, arabic-indic) "."; color: var(--ink-3); font-variant-numeric: tabular-nums; min-width: 1.4em; }
html[lang="en"] .legal-toc li::before { content: counter(toc) "."; }
.legal-toc a { color: var(--ink-2); }
.legal-toc a:hover { color: var(--action); }
.legal-body { display: grid; gap: 34px; max-width: 72ch; }
.legal-section { display: grid; gap: 14px; scroll-margin-top: 110px; }
.legal-section h2 { display: flex; align-items: center; gap: 12px; font-size: var(--step-2); }
.legal-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--action-soft); color: var(--action); font-size: 0.95rem; flex: none; }
.legal-section p { color: var(--ink-2); line-height: 1.9; }
.legal-section a, .legal-contact a { color: var(--action); font-weight: 600; }
.legal-contact { list-style: none; display: grid; gap: 10px; padding: 18px 20px; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.legal-contact li { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.legal-contact .icon { color: var(--action); width: 18px; height: 18px; }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; gap: 24px; } .legal-side { position: static; } }
/* `.is-soon` sets position: relative for its corner badge; on the hero the card
   is positioned absolutely, and losing that dropped it onto the schedule. It
   keeps its place, narrowed to sit beside the schedule rather than over it. */
.card-ui.is-soon { position: absolute; }
.ui-cover { width: 172px; }
.ui-cover .row { gap: 8px; }
@media (max-width: 960px) { .card-ui.is-soon { position: relative; } }
/* Medium screens: the stage narrows to ~460px, so the schedule narrows with it
   and the coverage card still sits beside it, not on top of it. */
@media (min-width: 1081px) and (max-width: 1280px) { .ui-schedule { width: max(290px, min(350px, calc(100% - 184px))); } }
/* Below that the stage is too narrow for four cards side by side; the
   coverage card is decorative (and coming soon), so it steps aside. */
@media (min-width: 961px) and (max-width: 1080px) { .ui-cover { display: none; } }
