/* =====================================================================
   Zero One — Homepage, round 2: Hiwar × Wasl
   Hiwar's shapes, type and motion; Wasl's track, matrix and tier table.
   Layout: asymmetric 12-column editorial grid. Type-led sections alternate a
   warm neutral ground with Evergreen actions and quiet inset fields.
   Module tints retain their meaning; the supplied mark stays unchanged.
   Single deliberate light theme: the brand page looks the same in any OS theme.
   ===================================================================== */
:root {
  color-scheme: light;
  /* Evergreen palette reference: zerone_theme v0.66.0, main371c6f6.
     Keep the website token contract and its independent light theme. */
  --paper: #FBFAFA;
  --paper-2: #F2F0EE;
  --sheet: #FFFFFF;
  --ink: #16181D;
  --ink-2: #4C505A;
  --ink-3: #696D74;
  --rule: #DFE5E4;
  --cobalt: #2E5B52;          /* Evergreen action; legacy token name retained */
  --cobalt-2: #284E47;
  --cobalt-deep: #22433D;
  --cobalt-night: #17362F;
  --on-cobalt: #FFFFFF;
  --on-cobalt-2: #CDD8D5;
  --sky: #D3E2FB;
  --sky-2: #EAF1FD;
  --lilac: #DCD4F6;
  --lilac-2: #EFEAFC;
  --stone: #DCD5C7;
  --mint: #A9DDC6;
  --mint-2: #DDF2E8;
  --blush: #F6C4B3;
  --blush-2: #FCE5DC;
  --pen: #DD5F47;             /* annotation strokes only */
  --pen-text: #B8432D;        /* handwritten notes: 5.2:1 on paper, 4.6:1 on mint-2 */
  --leaf: #18704A;            /* "answered" state */
  --leaf-2: #DDF2E6;
  --focus: #2E5B52;
  --brand-soft: #E8EDEC;      /* accepted Evergreen inset surface */
  --field-rule: #878A90;      /* visible control edge on sheet */
  --focus-ring: color-mix(in srgb, var(--focus) 20%, transparent);
  --shadow-1: 0 1px 2px rgba(22, 24, 29, .04), 0 6px 16px -10px rgba(22, 24, 29, .18);
  --shadow-2: 0 2px 4px -2px rgba(22, 24, 29, .04), 0 16px 32px -16px rgba(22, 24, 29, .18);

  /* type */
  --font-display: 'IBM Plex Sans Arabic', 'IBM Plex Sans', 'Geeza Pro', Tahoma, system-ui, sans-serif;
  --font-ui: 'IBM Plex Sans Arabic', 'IBM Plex Sans', 'Geeza Pro', Tahoma, system-ui, sans-serif;
  --font-note: 'Aref Ruqaa', 'IBM Plex Sans Arabic', 'Geeza Pro', serif;
  --t-hero: clamp(3.1rem, 1.55rem + 6.5vw, 8.4rem);
  --t-h2: clamp(2.35rem, 1.35rem + 3.5vw, 4.9rem);
  --t-h3: clamp(1.6rem, 1.3rem + .9vw, 2.15rem);
  --t-lead: clamp(1.35rem, 1.2rem + .55vw, 1.7rem);
  --t-body: 1.3125rem;
  --t-ui: 1rem;
  --t-small: .875rem;
  --lh-display: 1.16;
  --lh-body: 1.72;

  /* space & shape */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px;
  --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --section: clamp(72px, 4rem + 6vw, 160px);
  --container: 1320px;
  --col-gap: clamp(16px, 2vw, 32px);
  --r-pill: 999px;
  --r-bubble: 26px;
  --r-sheet: 28px;
  --r-card: 22px;

  /* motion */
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --dur-1: 160ms; --dur-2: 320ms; --dur-3: 700ms; --dur-4: 1200ms;
  --dir: 1;
}
html[dir="rtl"] { --dir: -1; }
html[lang="en"] {
  --t-hero: clamp(2.9rem, 1.4rem + 5.1vw, 6.6rem);
  --t-h2: clamp(2.2rem, 1.3rem + 3vw, 4.4rem);
  --lh-display: 1.0;
  --t-body: 1.25rem;
  --lh-body: 1.5;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
html { background: var(--paper); }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--t-ui);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
html.zo-modal-open, html.zo-modal-open body { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 10px; }
.on-dark :focus-visible { outline-color: var(--mint); }
.zo-num { font-variant-numeric: tabular-nums lining-nums; unicode-bidi: isolate; }
.zo-icon { flex: none; display: block; }
html[dir="rtl"] .zo-icon--flip { transform: scaleX(-1); }
.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; }

.wrap {
  max-width: calc(var(--container) + 2 * 32px);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }

.skip {
  position: absolute; inset-inline-start: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 12px; text-decoration: none;
}
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

/* type roles */
.display { font-family: var(--font-display); font-weight: 700; line-height: var(--lh-display); letter-spacing: 0; text-wrap: balance; }
html[lang="en"] .display { letter-spacing: -0.012em; }
.h2 { font-size: var(--t-h2); }
.h3 { font-family: var(--font-display); font-weight: 700; font-size: var(--t-h3); line-height: 1.2; text-wrap: balance; }
.lead { font-family: var(--font-display); font-size: var(--t-lead); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; max-width: 34ch; }
html[lang="en"] .lead { line-height: 1.4; max-width: 38ch; }
.body { font-family: var(--font-display); font-size: var(--t-body); line-height: var(--lh-body); color: var(--ink-2); text-wrap: pretty; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: var(--t-small); font-weight: 500; color: var(--ink-2); }
html[lang="en"] .eyebrow { text-transform: uppercase; letter-spacing: .09em; font-size: .78rem; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--dot, var(--pen)); flex: none; }
.note {
  font-family: var(--font-note); font-weight: 700; color: var(--pen-text); font-size: clamp(1.25rem, 1rem + .8vw, 1.75rem);
  line-height: 1.3; display: inline-flex; align-items: flex-end; gap: 6px; transform: rotate(-3deg);
}
html[lang="en"] .note { font-family: var(--font-display); font-weight: 600; transform: rotate(-2deg); }
.note > span { text-wrap: balance; }
.note svg { width: 56px; height: 40px; flex: none; }
html[dir="rtl"] .note svg { transform: scaleX(-1); }

/* ---------- buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: var(--h); padding-inline: 26px 8px; border-radius: var(--r-pill);
  border: 0; font-family: var(--font-ui); font-size: 1rem; font-weight: 500; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), transform var(--dur-1) var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn__icon {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none;
  transition: transform var(--dur-2) var(--ease-spring), background-color var(--dur-2) var(--ease-out);
}
.btn:hover .btn__icon, .btn:focus-visible .btn__icon { transform: translateX(calc(var(--dir) * 3px)) rotate(calc(var(--dir) * -12deg)); }
.btn--primary { background: var(--cobalt); color: #fff; box-shadow: var(--shadow-1); }
.btn--primary .btn__icon { background: rgba(255, 255, 255, .16); }
.btn--primary:hover { background: var(--cobalt-2); }
.btn--primary:hover .btn__icon { background: var(--mint); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink .btn__icon { background: rgba(255, 255, 255, .12); }
.btn--ink:hover .btn__icon { background: var(--mint); color: var(--ink); }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); padding-inline: 24px; }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--sm { --h: 44px; padding-inline: 18px 6px; gap: 10px; font-size: .9375rem; }
.btn--sm .btn__icon { width: 32px; height: 32px; }
.link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding-inline: 4px;
  font-weight: 500; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 7px;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  transition: text-decoration-color var(--dur-2) var(--ease-out), gap var(--dur-2) var(--ease-out);
}
.link:hover { text-decoration-color: currentColor; gap: 12px; }

/* ---------- header ---------- */
.hdr {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid transparent; transition: border-color var(--dur-2) var(--ease-out);
}
.hdr.is-scrolled { border-bottom-color: var(--rule); }
.hdr__in { display: flex; align-items: center; gap: 20px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); border-radius: 14px; flex: none; }
.brand .zo-mark { width: 42px; height: 42px; }
.brand__text { display: grid; gap: 1px; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; line-height: 1; }
html[lang="en"] .brand__name { font-size: 1.6rem; letter-spacing: -.01em; }
.brand__tag { font-size: .75rem; color: var(--ink-3); line-height: 1.2; }
.nav { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding-inline: 13px; border-radius: var(--r-pill);
  text-decoration: none; color: var(--ink-2); font-size: .9375rem; white-space: nowrap;
  transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out);
}
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.hdr__actions { display: flex; align-items: center; gap: 12px; }
.hdr__signin { background: none; border: 0; padding-inline: 8px; min-height: 44px; color: var(--ink-2); font-size: .9375rem; border-radius: 10px; }
.hdr__signin:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.menu-btn {
  display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--paper-2); color: var(--ink);
  place-items: center; flex: none;
}
.menu-btn:hover { background: var(--mint-2); }

.zo-lang { display: inline-flex; padding: 4px; border-radius: var(--r-pill); background: var(--paper-2); gap: 2px; flex: none; }
.zo-lang button {
  min-height: 44px; min-width: 44px; padding-inline: 12px; border: 0; border-radius: var(--r-pill); background: transparent;
  color: var(--ink-3); font-size: .875rem; font-weight: 500; transition: background-color var(--dur-2), color var(--dur-2), box-shadow var(--dur-2);
}
.zo-lang button[lang="ar"] { font-family: 'IBM Plex Sans Arabic', sans-serif; }
.zo-lang button[aria-pressed="true"] { background: var(--sheet); color: var(--cobalt); box-shadow: 0 1px 2px rgba(22, 31, 56, .12); }
.zo-lang button:hover:not([aria-pressed="true"]) { color: var(--ink); }

@media (max-width: 1180px) {
  .nav, .hdr .hdr__signin, .hdr .zo-lang { display: none; }
  .menu-btn { display: grid; }
  .hdr__actions { margin-inline-start: auto; }
}
.lbl-short { display: none; }
@media (max-width: 600px) {
  .hdr__in { gap: 12px; min-height: 68px; }
  .hdr .brand .zo-mark { width: 36px; height: 36px; }
  .hdr .brand__tag { display: none; }
  .hdr .brand__name { font-size: 1.6rem; }
  .hdr__cta { padding-inline: 16px; }
  .hdr__cta .btn__icon, .hdr__cta .lbl-long { display: none; }
  .hdr__cta .lbl-short { display: inline; }
  .menu-btn { width: 44px; height: 44px; }
}
@media (max-width: 380px) {
  .hdr__cta { display: none !important; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(28px, 5vw, 72px) clamp(64px, 8vw, 128px); overflow: clip; }
.hero__grid { align-items: center; row-gap: var(--s-8); }
.hero__copy { grid-column: 1 / span 7; position: relative; z-index: 2; }
.hero__art { grid-column: 8 / span 5; }
html[lang="en"] .hero__copy { grid-column: 1 / span 7; }
.hero__title { font-size: var(--t-hero); margin-block: 20px 28px; }
.hero__title .line { display: block; }
.hero__title .w { display: inline-block; }
.emph { position: relative; color: var(--cobalt); display: inline-block; }
.emph__orbit { position: absolute; inset-inline: -2%; bottom: -.04em; width: 104%; height: .2em; overflow: visible; }
html[lang="en"] .emph__orbit { bottom: -.1em; }
html[dir="rtl"] .emph__orbit { transform: scaleX(-1); }
.emph__orbit path { fill: none; stroke: var(--pen); stroke-width: 4.5; stroke-linecap: round; }
.hero__body { font-family: var(--font-display); font-size: var(--t-lead); line-height: 1.55; color: var(--ink-2); max-width: 30ch; text-wrap: pretty; }
html[lang="en"] .hero__body { line-height: 1.4; max-width: 34ch; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 36px; }
.hero__team { display: flex; align-items: center; gap: 12px; margin-top: 36px; color: var(--ink-2); font-size: .9375rem; max-width: 46ch; }
.hero__team .zo-icon { color: var(--cobalt); }
.services { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; font-size: .875rem; color: var(--ink-2); }
.services li { display: inline-flex; align-items: center; gap: 8px; }
.services .zo-icon { color: var(--leaf); }

/* hero load sequence (motion on only) */
html[data-motion="on"] .hero .w { animation: rise var(--dur-3) var(--ease-out) backwards; animation-delay: calc(80ms + var(--i) * 70ms); }
html[data-motion="on"] .hero [data-enter] { animation: rise var(--dur-3) var(--ease-out) backwards; animation-delay: calc(420ms + var(--i, 0) * 90ms); }
html[data-motion="on"] .emph__orbit path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 900ms var(--ease-out) 650ms forwards; }
@keyframes rise { from { opacity: 0; transform: translateY(.45em); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { 0% { opacity: 0; transform: rotate(var(--r)) scale(.82) translateY(14px); } 100% { opacity: 1; transform: rotate(var(--r)) scale(1); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

/* collage: the everyday questions, threaded into the one place */
.collage { position: relative; width: 100%; max-width: 600px; margin-inline: auto; aspect-ratio: 1 / 1.04; container-type: inline-size; }
.collage__ring { position: absolute; inset: 21% 19% 23% 21%; border-radius: 50%; border: 8.5cqw solid var(--brand-soft); }
.collage__disc { position: absolute; width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--paper-2); inset-inline-end: 8%; top: 18%; }
.collage__threads { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
html[dir="rtl"] .collage__threads { transform: scaleX(-1); }
.collage__threads path { fill: none; stroke: var(--cobalt); stroke-width: .32; stroke-linecap: round; opacity: .6; }
html[data-motion="on"] .collage__threads path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s var(--ease-out) forwards; animation-delay: calc(600ms + var(--i) * 120ms); }
.collage__tile { position: absolute; left: 50%; top: 50%; width: 27cqw; height: 27cqw; transform: translate(-50%, -50%) rotate(-6deg); filter: drop-shadow(0 16px 22px rgba(13, 42, 104, .35)); z-index: 2; }
.collage__tile img { width: 100%; height: 100%; }
.bubble {
  --r: 0deg;
  position: absolute; z-index: 3; max-width: 52cqw;
  padding: 2.1cqw 3.3cqw 2.4cqw; border-radius: 4.4cqw;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(14px, 3.7cqw, 23px); line-height: 1.3;
  background: var(--sheet); color: var(--ink); box-shadow: var(--shadow-1);
  transform: rotate(var(--r));
}
html[lang="en"] .bubble { font-size: clamp(14px, 3.5cqw, 22px); line-height: 1.15; }
.bubble::after {
  content: ""; position: absolute; bottom: -1.3cqw; inset-inline-start: 4.5cqw; width: 3.2cqw; height: 3.2cqw;
  background: inherit; transform: rotate(45deg); border-radius: 0 0 .8cqw 0;
}
.bubble--cobalt { background: var(--cobalt); color: #fff; }
.bubble--sky { background: var(--sky); }
.bubble--blush { background: var(--blush); }
.bubble--mint { background: var(--mint); }
html[data-motion="on"] .bubble { animation: pop 700ms var(--ease-spring) backwards, bob 7s ease-in-out infinite; animation-delay: calc(260ms + var(--i) * 110ms), calc(1.4s + var(--i) * 900ms); }
.bubble__ans {
  position: absolute; top: calc(100% + 2.4cqw); inset-inline-start: 7cqw;
  display: inline-flex; align-items: center; gap: 1.2cqw; white-space: nowrap;
  padding: .9cqw 2cqw .9cqw 1.4cqw; border-radius: var(--r-pill); background: var(--sheet); color: var(--leaf);
  font-family: var(--font-ui); font-weight: 500; font-size: clamp(11px, 2.35cqw, 14px); line-height: 1.2;
  box-shadow: 0 6px 16px -10px rgba(22, 31, 56, .45);
  opacity: 0; transform: translateY(-4px) scale(.96); transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-spring);
}
html[dir="rtl"] .bubble__ans { padding: .9cqw 1.4cqw .9cqw 2cqw; }
.bubble__ans .zo-icon { width: 1.15em; height: 1.15em; }
.bubble.is-answered .bubble__ans { opacity: 1; transform: none; }
.collage__note { position: absolute; z-index: 4; inset-inline-start: 4%; top: 41%; }
.collage__note .note { font-size: clamp(16px, 4.1cqw, 26px); }
.collage__cap { position: absolute; inset-inline: 0; bottom: -6px; text-align: center; font-size: .75rem; color: var(--ink-3); }
.bubble--end .bubble__ans { inset-inline-start: auto; inset-inline-end: 4cqw; }
@container (max-width: 320px) {
  .bubble--2 .bubble__ans { display: none; }
}
@container (max-width: 380px) {
  .bubble--4, .bubble--5, .collage__threads path:nth-child(4), .collage__threads path:nth-child(5) { display: none; }
  .bubble { font-size: 13.5px; max-width: 58cqw; }
  .collage__note { display: none; }
}
@media (max-width: 960px) {
  .hero__copy, .hero__art, html[lang="en"] .hero__copy { grid-column: 1 / -1; }
  .collage { max-width: 520px; }
}

/* ---------- section scaffolding ---------- */
.sec { padding-block: var(--section); position: relative; }
.sec__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 20px; align-items: end; margin-bottom: clamp(40px, 5vw, 80px); }
.sec__title { grid-column: 1 / span 8; }
.sec__title .eyebrow { margin-bottom: 18px; }
.sec__aside { grid-column: 9 / span 4; }
@media (max-width: 960px) { .sec__title, .sec__aside { grid-column: 1 / -1; } }
.on-dark { color: var(--on-cobalt); }
.on-dark .lead, .on-dark .body { color: var(--on-cobalt-2); }
.on-dark .eyebrow { color: var(--on-cobalt-2); }

[data-reveal].is-revealed { animation: rise 800ms var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 80ms); }

/* ---------- problem (mint field) ---------- */
.problem { background: var(--brand-soft); --dot: var(--ink); }
.problem .lead { color: var(--ink); opacity: .86; }
.problem .note, .problem .frag__gap { color: #8F2B19; }  /* deeper pen: 5.5:1 on mint */
.frags { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 4vw, 64px); align-items: center; margin-bottom: clamp(56px, 7vw, 104px); position: relative; }
.frag { position: relative; display: grid; gap: 14px; justify-items: center; }
.frag__obj { width: 100%; max-width: 230px; aspect-ratio: 5 / 4; position: relative; transform: rotate(var(--r, 0deg)); filter: drop-shadow(0 18px 26px rgba(12, 70, 52, .22)); }
.frag__cap { font-size: .875rem; font-weight: 500; color: var(--ink); background: rgba(255, 255, 255, .55); padding: 5px 12px; border-radius: var(--r-pill); }
.frag__gap {
  position: absolute; top: 40%; inset-inline-end: calc(-1 * clamp(20px, 4vw, 64px)); width: clamp(20px, 4vw, 64px);
  display: grid; place-items: center; color: var(--pen); z-index: 2;
}
.frag__gap::before { content: ""; position: absolute; inset-inline: 2px; top: 50%; border-top: 2px dashed currentColor; opacity: .7; }
.frag__gap span { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; }
.frags__tag { position: absolute; inset-inline-start: 50%; top: -34px; transform: translateX(calc(var(--dir) * -50%)) rotate(-2deg); }
/* the four paper objects, drawn with CSS: abstract lines, no data */
.o-sheet { background: #fff; border-radius: 10px; padding: 10px; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 4px; }
.o-sheet i { background: var(--paper-2); border-radius: 3px; }
.o-sheet i:nth-child(-n+4) { background: #D8E3F8; }
.o-sheet i:nth-child(7), .o-sheet i:nth-child(10), .o-sheet i:nth-child(16) { background: var(--mint); }
.o-sheet i:nth-child(13) { background: var(--blush); }
.o-chat { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 9px; padding-block: 4px; }
.o-chat b { display: block; border-radius: 16px; background: #fff; width: 82%; position: relative; }
.o-chat b:nth-child(2) { justify-self: end; background: var(--mint); width: 70%; }
.o-chat b:nth-child(3) { width: 58%; }
.o-chat b::before { content: ""; position: absolute; inset: 38% 14% auto 14%; height: 5px; border-radius: 3px; background: rgba(22, 31, 56, .14); box-shadow: 0 11px 0 rgba(22, 31, 56, .1); }
.o-app { background: #fff; border-radius: 12px; overflow: hidden; display: grid; grid-template-rows: 22px 1fr; }
.o-app__bar { background: var(--paper-2); display: flex; align-items: center; gap: 5px; padding-inline: 9px; }
.o-app__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--rule); }
.o-app__body { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; padding: 10px; }
.o-app__body span { border-radius: 6px; background: var(--paper-2); }
.o-app__body span:last-child { background: repeating-linear-gradient(to bottom, var(--paper-2) 0 7px, transparent 7px 15px); }
.o-book { background: #fff; border-radius: 6px 12px 12px 6px; padding: 14px 14px 14px 26px; background-image: repeating-linear-gradient(to bottom, transparent 0 17px, #D8E3F8 17px 18.5px); background-origin: content-box; position: relative; }
html[dir="rtl"] .o-book { border-radius: 12px 6px 6px 12px; padding: 14px 26px 14px 14px; }
.o-book::before { content: ""; position: absolute; inset-block: 10px; inset-inline-start: 8px; width: 8px; background: radial-gradient(circle, var(--ink-3) 2.5px, transparent 3px) 0 0 / 8px 16px; opacity: .55; }
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.point { display: grid; gap: 14px; align-content: start; }
.point__icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, .7); display: grid; place-items: center; color: var(--ink); }
.point .h3 { margin-top: 6px; }
.point .body { color: var(--ink); opacity: .82; }
@media (max-width: 960px) {
  .frags { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .frag:nth-child(2) .frag__gap { display: none; }
  .points { grid-template-columns: 1fr; }
}
@supports (animation-timeline: view()) {
  html[data-motion="on"] .frag__obj { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  @keyframes drift { from { translate: 0 28px; rotate: calc(var(--spin, 4deg) * -1); } to { translate: 0 -28px; rotate: var(--spin, 4deg); } }
}

/* ---------- مسار (Wasl's track + matrix, Hiwar's curves) ---------- */
.masar { --dot: var(--cobalt); }
.msheet { background: var(--sheet); border-radius: var(--r-sheet); box-shadow: var(--shadow-2); padding: clamp(20px, 3vw, 44px); }
.msheet__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-bottom: clamp(28px, 3.5vw, 48px); }
.tabs { display: inline-flex; padding: 5px; border-radius: var(--r-pill); background: var(--paper-2); }
.tabs button {
  min-height: 44px; padding-inline: 20px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--ink-2);
  font-weight: 500; display: inline-flex; align-items: center; gap: 10px; transition: background-color var(--dur-2), color var(--dur-2);
}
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.tabs button:hover:not([aria-selected="true"]) { color: var(--ink); background: rgba(255, 255, 255, .7); }
.msheet__ctrl { display: inline-flex; align-items: center; gap: 14px; color: var(--ink-3); font-size: .875rem; }
.iconbtn { width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--paper-2); color: var(--ink); transition: background-color var(--dur-2); }
.iconbtn:hover { background: var(--mint-2); }

.track { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.track__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.track__base { fill: none; stroke: var(--ink-3); stroke-opacity: .45; stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; }
.track__prog { fill: none; stroke: var(--cobalt); stroke-width: 3; stroke-linecap: round; transition: stroke-dasharray 900ms var(--ease-out); }
html[data-motion="off"] .track__prog { transition: none; }
.node { position: relative; z-index: 1; display: grid; justify-items: center; align-content: start; gap: 8px; padding: 0 4px 6px; border: 0; background: none; text-align: center; color: var(--ink); border-radius: 18px; }
.node__dot {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sheet); color: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--rule);
  transition: transform var(--dur-3) var(--ease-spring), background-color var(--dur-2), color var(--dur-2), box-shadow var(--dur-2);
}
.node:hover .node__dot { transform: translateY(-3px) rotate(-6deg); box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.node.is-done .node__dot { background: var(--mod); color: var(--ink); box-shadow: none; }
.node[aria-current="step"] .node__dot { background: var(--cobalt); color: #fff; box-shadow: 0 0 0 7px var(--focus-ring), var(--shadow-1); transform: scale(1.08); }
.node__n { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1; color: var(--ink-3); }
.node__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, .95rem + .55vw, 1.45rem); line-height: 1.2; text-wrap: balance; }
.node__mods { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.node__mods .mod { font-size: .7rem; padding: 2px 8px; }
html[data-motion="on"] .msheet.is-revealed .node { animation: rise 600ms var(--ease-out) backwards; animation-delay: calc(200ms + var(--i) * 70ms); }

.mods { display: flex; flex-wrap: wrap; gap: 6px; }
.mod { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 500; padding: 4px 10px; border-radius: var(--r-pill); background: var(--mod, var(--paper-2)); color: var(--ink); }
/* --mod fills; --mod-deep outlines marks so they hold 3:1 on white and on the sky column */
.m-sales { --mod: var(--sky); --mod-deep: #4F7BD0; } .m-purchasing { --mod: var(--lilac); --mod-deep: #7C67C8; }
.m-inventory { --mod: var(--mint); --mod-deep: #2F8A63; } .m-accounting { --mod: var(--blush); --mod-deep: #C9674B; }
.m-customers, .m-suppliers { --mod: var(--stone); --mod-deep: #8A806D; }

.mgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); margin-top: clamp(28px, 3.5vw, 44px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px dashed var(--rule); }
.matrix { grid-column: 1 / span 7; }
.matrix table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.matrix caption { text-align: start; font-size: .8125rem; font-weight: 500; color: var(--ink-3); margin-bottom: 12px; }
html[lang="en"] .matrix caption { text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.matrix th, .matrix td { height: 46px; }
.matrix thead th { height: 48px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink-3); text-align: center; }
.matrix tbody th { text-align: start; font-size: .9rem; font-weight: 500; width: 30%; white-space: nowrap; color: var(--ink-3); transition: color var(--dur-2); }
.matrix tbody tr.is-hit th { color: var(--ink); font-weight: 600; }
.mcol {
  width: 34px; height: 34px; border-radius: 50%; border: 0; padding: 0; display: inline-grid; place-items: center;
  background: transparent; color: var(--ink-3); font: inherit; cursor: pointer;
  transition: background-color var(--dur-2), color var(--dur-2), transform var(--dur-2) var(--ease-spring);
}
.mcol:hover { background: var(--paper-2); color: var(--ink); }
.is-past .mcol { color: var(--ink-2); }
.is-col .mcol { background: var(--cobalt); color: #fff; transform: scale(1.06); }
.matrix tbody tr + tr th, .matrix tbody tr + tr td { border-top: 1px solid var(--paper-2); }
.matrix td { text-align: center; transition: background-color var(--dur-2); }
.matrix .is-col { background: var(--sky-2); }
.matrix thead th.is-col { border-radius: 14px 14px 0 0; color: var(--cobalt); }
.matrix tbody tr:last-child td.is-col { border-radius: 0 0 14px 14px; }
.mdot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--mod); margin-inline-end: 10px; vertical-align: middle; box-shadow: inset 0 0 0 1.5px var(--mod-deep); }
/* empty cell: a quiet ink dot that shows on white and on the sky column alike */
.cdot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: rgba(22, 31, 56, .22); vertical-align: middle;
  transition: width var(--dur-2), height var(--dur-2), background-color var(--dur-2), box-shadow var(--dur-2); }
/* the step touches this module: hollow while it is still ahead, filled once done, ringed on the current step */
.cdot.on { width: 12px; height: 12px; background: var(--sheet); box-shadow: inset 0 0 0 2px var(--mod-deep); }
.cdot.on.is-done { width: 16px; height: 16px; background: var(--mod); }
.cdot.on.is-now { width: 20px; height: 20px; background: var(--mod); box-shadow: inset 0 0 0 2px var(--mod-deep), 0 0 0 3px var(--sheet), 0 0 0 5px var(--ink); }
.mlegend { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: 16px 0 0; padding: 0; list-style: none; font-size: .8125rem; color: var(--ink-3); }
.mlegend li { display: inline-flex; align-items: center; gap: 10px; }
.mlegend .cdot { --mod: var(--stone); --mod-deep: #8A806D; }
.mlegend .cdot.on.is-now { margin-inline: 4px; }
.detail { grid-column: 9 / span 4; align-self: start; display: grid; gap: 12px; padding: 22px 24px; border-radius: var(--r-card); background: var(--paper-2); }
html[data-motion="on"] .detail { animation: rise 420ms var(--ease-out) backwards; }
.detail__step { font-size: .8125rem; color: var(--ink-3); font-weight: 500; }
.detail__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem); line-height: 1.15; }
.detail__body { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.6; color: var(--ink-2); }
html[lang="en"] .detail__body { line-height: 1.4; }
.detail dl { display: grid; gap: 0; margin: 4px 0 0; }
.detail dl div { display: grid; grid-template-columns: 7.5em 1fr; gap: 10px; align-items: center; padding-block: 10px; border-top: 1px dashed var(--rule); font-size: .875rem; }
.detail dt { color: var(--ink-3); }
.detail dd { margin: 0; font-weight: 600; }
.flow__foot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 12px; margin-top: 28px; font-size: .875rem; color: var(--ink-2); }
.flow__foot p { grid-column: span 6; display: flex; gap: 10px; align-items: flex-start; max-width: 62ch; }
.flow__foot .zo-icon { margin-top: 2px; color: var(--cobalt); }
.flow__head-note { display: flex; justify-content: flex-start; margin-top: 18px; }
.note--down svg { transform: rotate(70deg); }
html[dir="rtl"] .note--down svg { transform: scaleX(-1) rotate(70deg); }
@media (max-width: 960px) {
  .track { grid-template-columns: 1fr; gap: 6px; }
  .node { grid-template-columns: 64px 1fr; justify-items: start; text-align: start; column-gap: 16px; row-gap: 4px; padding: 6px 0; align-items: center; }
  .node__dot { grid-row: span 3; }
  .node__n { align-self: end; font-size: 1rem; }
  .node__mods { justify-content: flex-start; }
  .mgrid { display: block; }
  .matrix { display: none; }
  .flow__foot p { grid-column: 1 / -1; }
}

/* ---------- implementation ---------- */
.impl .sec__aside { display: grid; justify-items: start; gap: 8px; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.steps__line { position: absolute; inset-inline: 0; top: 16px; height: 60px; width: 100%; overflow: visible; pointer-events: none; }
html[dir="rtl"] .steps__line { transform: scaleX(-1); }
.steps__line path { fill: none; stroke: var(--pen); stroke-width: 2.5; stroke-linecap: round; opacity: .7; }
.steps-wrap.is-revealed .steps__line path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s var(--ease-out) 200ms forwards; }
.step { position: relative; display: grid; gap: 14px; align-content: start; }
.step__n {
  width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1;
  font-family: var(--font-display); font-weight: 700; font-size: 3.4rem; line-height: 1; padding-top: .08em;
  background: var(--c, var(--sky)); color: var(--ink);
}
html[lang="en"] .step__n { padding-top: 0; }
.step:nth-child(2) .step__n { --c: var(--mint); }
.step:nth-child(3) .step__n { --c: var(--blush); }
.step:nth-child(4) .step__n { --c: var(--cobalt); color: #fff; }
.step .h3 { margin-top: 10px; }
.step__out { margin-top: 6px; padding: 14px 16px; border-radius: 16px; background: var(--paper-2); display: grid; gap: 4px; }
.step__out small { font-size: .78rem; color: var(--ink-3); font-weight: 500; }
html[lang="en"] .step__out small { text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; }
.step__out span { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; line-height: 1.35; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps__line { display: none; }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
  .step { grid-template-columns: 72px 1fr; column-gap: 18px; }
  .step__n { width: 72px; height: 72px; font-size: 2.6rem; grid-row: span 4; }
  .step .h3 { margin-top: 4px; }
}

/* ---------- pricing: Wasl's tier table, Hiwar's sheet ---------- */
.pricing { background: var(--paper-2); }
.sheet { background: var(--sheet); border-radius: var(--r-sheet); box-shadow: var(--shadow-2); padding: clamp(20px, 3vw, 44px); }
.sheet__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: clamp(18px, 2.2vw, 28px); }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--r-pill); background: var(--blush-2); color: #8A3B2B; font-size: .8125rem; font-weight: 500; }
.zo-billing { display: inline-flex; padding: 4px; gap: 2px; border-radius: var(--r-pill); background: var(--paper-2); }
.zo-billing button { min-height: 44px; padding-inline: 18px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--ink-2); font-weight: 500; font-size: .9375rem; transition: background-color var(--dur-2), color var(--dur-2); }
.zo-billing button[aria-checked="true"] { background: var(--ink); color: var(--paper); }
.zo-billing button:hover:not([aria-checked="true"]) { color: var(--ink); }

.tiers { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.tiers col.tiers__lab { width: 16%; }
.tiers th, .tiers td { padding: 18px 20px; vertical-align: top; text-align: start; border-top: 1px solid var(--paper-2); }
.tiers td + td, .tiers th + th, .tiers thead td + th, .tiers tbody th + td { border-inline-start: 1px solid var(--paper-2); }
.tiers thead th, .tiers thead td { border-top: 0; padding-top: 6px; padding-bottom: 22px; }
.tiers thead th { border-bottom: 2px solid var(--ink); }
.tiers tbody tr:first-child th, .tiers tbody tr:first-child td { border-top: 0; }
.tiers tbody th { font-weight: 500; font-size: .875rem; color: var(--ink-3); padding-inline-start: 0; }
html[lang="en"] .tiers tbody th { text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.tname { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.1rem, 1.7rem + 1.2vw, 2.9rem); line-height: 1; }
.taud { display: block; margin-top: 10px; font-weight: 400; font-size: .9rem; color: var(--ink-2); line-height: 1.55; }
.tiers__setup td { background: var(--mint-2); }
.tiers__setup td:nth-child(2) { border-radius: 18px 0 0 18px; }
.tiers__setup td:last-child { border-radius: 0 18px 18px 0; }
html[dir="rtl"] .tiers__setup td:nth-child(2) { border-radius: 0 18px 18px 0; }
html[dir="rtl"] .tiers__setup td:last-child { border-radius: 18px 0 0 18px; }
.tiers__setup td, .tiers__setup th, .tiers__setup + tr td, .tiers__setup + tr th { border-top-color: transparent; }
.tiers__setup td + td { border-inline-start-color: rgba(255, 255, 255, .9); }
.tiers__cta td { border-top: 0; padding-top: 24px; }
.tiers__cta .btn { width: 100%; }

.price { display: grid; align-content: start; gap: 6px; }
.price__lead { font-size: .875rem; color: var(--ink-2); font-weight: 500; }
.price__row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.price__amt { font-family: var(--font-ui); font-weight: 600; font-size: clamp(2.4rem, 1.9rem + 1.5vw, 3.3rem); line-height: 1; letter-spacing: -0.02em; }
.price__cur { font-weight: 500; font-size: 1.05rem; }
.price__unit { color: var(--ink-2); font-size: .9375rem; }
html[lang="en"] .price__cur, html[lang="en"] .setup__cur { order: -1; }
.price__sub { font-size: .875rem; color: var(--ink-2); }
.price__detail { font-size: .8125rem; color: var(--ink-3); line-height: 1.5; }
.price.is-swap .price__row { animation: swap 420ms var(--ease-out) backwards; }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.setup { display: grid; gap: 2px; align-content: start; }
.setup__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.setup__label { font-size: .8125rem; font-weight: 500; color: var(--ink-2); }
.setup__amt { font-weight: 600; font-size: 1.2rem; }
.setup__first { font-size: .8125rem; color: var(--ink-2); margin-top: 4px; }

.units { display: flex; flex-wrap: wrap; gap: 4px; max-width: 168px; margin-bottom: 10px; }
.units i { display: block; }
.units--u i { width: 11px; height: 11px; border-radius: 50%; background: var(--cobalt); }
.units--b i { width: 16px; height: 16px; border-radius: 5px; background: var(--ink); }
.units.is-ref i { background: transparent; box-shadow: inset 0 0 0 1.5px var(--cobalt); }
.units--b.is-ref i { box-shadow: inset 0 0 0 1.5px var(--ink); }
.meter { display: block; height: 10px; width: 100%; max-width: 170px; border-radius: var(--r-pill); background: var(--mint-2); margin-bottom: 10px; overflow: hidden; }
.meter span { display: block; height: 100%; border-radius: var(--r-pill); background: #3A9A6E; }
.lim { display: block; font-size: 1rem; font-weight: 600; }
.lim__note { display: block; margin-top: 3px; font-size: .78rem; color: var(--ink-3); }
.feats { display: grid; gap: 10px; font-size: .9375rem; line-height: 1.5; }
.feats li { display: flex; gap: 10px; align-items: flex-start; }
.feats .zo-icon { color: var(--leaf); margin-top: 2px; }
.dim { position: relative; margin-inline-start: 16%; margin-top: 20px; height: 34px; display: grid; place-items: center; color: var(--ink-2); }
.dim::before { content: ""; position: absolute; inset-inline: 6px; top: 50%; border-top: 1.5px dashed var(--ink-3); }
.dim::after { content: ""; position: absolute; inset-inline: 0; top: calc(50% - 5px); height: 10px; background: radial-gradient(circle, var(--ink-3) 4px, transparent 4.5px) left / 10px 10px no-repeat, radial-gradient(circle, var(--ink-3) 4px, transparent 4.5px) right / 10px 10px no-repeat; }
.dim span { position: relative; z-index: 1; background: var(--sheet); padding-inline: 14px; font-size: .875rem; font-weight: 500; }
.tcards { display: none; }
.tcard { border-radius: var(--r-card); box-shadow: inset 0 0 0 1px var(--rule); overflow: hidden; }
.tcard > * { padding: 18px; }
.tcard > * + * { border-top: 1px solid var(--paper-2); }
.tcard__row { display: grid; gap: 8px; }
.tcard__row--setup { background: var(--mint-2); }
.tcard__lab { font-size: .8125rem; color: var(--ink-3); font-weight: 500; }
html[lang="en"] .tcard__lab { text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; }
.tcard__lims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tcard__lims > div { display: grid; gap: 6px; align-content: start; }
.tcard__lims .units { max-width: none; margin-bottom: 0; }
.tcard__lims .units--u i { width: 8px; height: 8px; }
.tcard__lims .units--b i { width: 11px; height: 11px; border-radius: 4px; }
.tcard__lims .meter { margin-bottom: 0; height: 8px; }
.tcard__lims .lim { font-size: .875rem; }
.tcard__cta .btn { width: 100%; }
.fine { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 20px; margin-top: clamp(24px, 3vw, 36px); padding-top: clamp(20px, 2.5vw, 28px); border-top: 1px solid var(--rule); font-size: .875rem; color: var(--ink-2); line-height: 1.6; }
.fine ul { grid-column: span 6; display: grid; gap: 8px; }
.fine li { display: flex; gap: 10px; align-items: flex-start; }
.fine li .zo-icon { color: var(--ink-3); margin-top: 3px; }
.fine__ex { grid-column: span 6; }
.fine__ex strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
@media (max-width: 1020px) {
  .tiers, .dim { display: none; }
  .tcards { display: grid; gap: 16px; }
  .fine ul, .fine__ex { grid-column: 1 / -1; }
}

/* ---------- resources ---------- */
.topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.topic { display: grid; gap: 14px; align-content: start; padding-top: 22px; border-top: 2px solid var(--ink); }
.topic__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topic__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--c, var(--sky)); }
.topic:nth-child(2) .topic__icon { --c: var(--mint); }
.topic:nth-child(3) .topic__icon { --c: var(--blush); }
.topic__tag { font-size: .78rem; color: var(--ink-3); border: 1px solid var(--rule); border-radius: var(--r-pill); padding: 4px 10px; }
.topic .h3 { font-size: clamp(1.55rem, 1.3rem + .7vw, 2rem); }
@media (max-width: 860px) { .topics { grid-template-columns: 1fr; } }

/* ---------- final invitation (blush field) ---------- */
.final { background: var(--blush); --dot: var(--cobalt); overflow: clip; }
.final__grid { align-items: center; row-gap: 48px; }
.final__copy { grid-column: 1 / span 7; }
.final__copy .h2 { font-size: clamp(2.6rem, 1.4rem + 4.4vw, 6rem); margin-block: 18px 22px; }
.final__copy .lead { color: var(--ink); opacity: .86; max-width: 36ch; }
.final__pts { display: grid; gap: 10px; margin-top: 28px; font-size: 1rem; }
.final__pts li { display: flex; align-items: center; gap: 12px; }
.final__pts .zo-icon { color: var(--ink); background: rgba(255, 255, 255, .6); border-radius: 50%; padding: 5px; width: 28px; height: 28px; }
.final__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 36px; }
.final__art { grid-column: 9 / span 4; display: grid; gap: 26px; justify-items: start; }
.answered { display: grid; gap: 12px; width: 100%; }
.answered li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; padding: 12px 16px; border-radius: 18px; background: rgba(255, 255, 255, .72); }
.answered q { quotes: none; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.3; }
.answered span { display: inline-flex; align-items: center; gap: 6px; color: var(--leaf); font-size: .8125rem; font-weight: 500; }
.final__tile { width: 88px; height: 88px; transform: rotate(-6deg); filter: drop-shadow(0 14px 18px rgba(13, 42, 104, .35)); }
@media (max-width: 960px) { .final__copy, .final__art { grid-column: 1 / -1; } }

/* ---------- footer ---------- */
.ftr { background: var(--ink); color: var(--paper); padding-block: clamp(56px, 6vw, 96px) 32px; }
.ftr a { color: var(--paper); }
.ftr__grid { row-gap: 40px; }
.ftr__brand { grid-column: 1 / span 5; display: grid; gap: 18px; align-content: start; }
.ftr__brand .brand { color: var(--paper); }
.ftr__brand .brand__tag { color: var(--on-cobalt-2); }
.ftr__blurb { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.6; color: var(--on-cobalt-2); max-width: 40ch; }
html[lang="en"] .ftr__blurb { line-height: 1.45; }
.ftr__col { grid-column: span 2; display: grid; gap: 14px; align-content: start; }
.ftr__col:first-of-type { grid-column: 7 / span 2; }
.ftr__col h3 { font-size: .8125rem; font-weight: 500; color: var(--on-cobalt-2); }
html[lang="en"] .ftr__col h3 { text-transform: uppercase; letter-spacing: .09em; font-size: .72rem; }
.ftr__col a, .ftr__col button { text-decoration: none; font-size: .9375rem; background: none; border: 0; padding: 0; text-align: start; min-height: 44px; display: inline-flex; align-items: center; }
.ftr__col a:hover, .ftr__col button:hover { text-decoration: underline; text-underline-offset: 6px; }
.ftr__tools { grid-column: 11 / span 2; display: grid; gap: 14px; align-content: start; justify-items: start; }
.ftr .zo-lang { background: rgba(255, 255, 255, .08); }
.ftr .zo-lang button { color: var(--on-cobalt-2); }
.ftr .zo-lang button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.zo-motion { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding-inline: 14px; border-radius: var(--r-pill); border: 1px solid rgba(255, 255, 255, .22); background: transparent; color: var(--on-cobalt-2); font-size: .8125rem; }
.zo-motion:hover:not(:disabled) { border-color: rgba(255, 255, 255, .5); color: #fff; }
.zo-motion:disabled { opacity: .7; cursor: default; }
.ftr__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .8125rem; color: var(--on-cobalt-2); }
.ftr__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.ftr__legal span { display: inline-flex; gap: 6px; align-items: center; }
.ftr__legal em { font-style: normal; font-size: .72rem; border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--r-pill); padding: 1px 8px; }
@media (max-width: 960px) {
  .ftr__brand { grid-column: 1 / -1; }
  .ftr__col, .ftr__col:first-of-type { grid-column: span 6; }
  .ftr__tools { grid-column: 1 / -1; display: flex; flex-wrap: wrap; }
}

/* ---------- mobile menu & demo dialog ---------- */
.zo-dialog { border: 0; padding: 0; margin: auto; max-width: none; max-height: none; background: transparent; color: var(--ink); }
.zo-dialog::backdrop { background: rgba(14, 20, 40, .48); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
html[data-motion="on"] .zo-dialog[open] > * { animation: sheetIn 420ms var(--ease-out) both; }
html[data-motion="on"] .zo-dialog[open]::backdrop { animation: fade 300ms ease both; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } }

.mmenu { width: 100vw; height: 100dvh; margin: 0; }
.mmenu__in {
  height: 100%; overflow: auto; background: var(--paper); display: grid; grid-template-rows: auto 1fr auto; gap: 24px;
  padding-block: calc(14px + env(safe-area-inset-top, 0px)) calc(24px + env(safe-area-inset-bottom, 0px));
  padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.mmenu__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; }
.mmenu__nav { display: grid; align-content: start; }
.mmenu__nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 1.4rem + 2.5vw, 2.6rem); line-height: 1.1;
  border-bottom: 1px solid var(--rule);
}
.mmenu__nav a .zo-icon { color: var(--cobalt); }
.mmenu__foot { display: grid; gap: 16px; }
.mmenu__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.mmenu__foot .btn { width: 100%; }

.demo { width: min(680px, calc(100vw - 32px)); }
.zo-demo { background: var(--paper); border-radius: var(--r-sheet); padding: clamp(20px, 3.4vw, 40px); box-shadow: var(--shadow-2); max-height: calc(100dvh - 32px); overflow: auto; }
.zo-demo__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.zo-demo__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); line-height: 1.1; }
.zo-demo__close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--paper-2); display: grid; place-items: center; flex: none; }
.zo-demo__close:hover { background: var(--mint-2); }
.zo-demo__intro { margin-top: 8px; color: var(--ink-2); font-family: var(--font-display); font-size: 1.25rem; line-height: 1.5; }
.zo-demo__proto { margin-top: 16px; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--blush-2); color: #7A3324; font-size: .875rem; font-weight: 500; }
.zo-demo__proto .zo-icon { margin-top: 1px; }
.zo-demo__form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 22px; }
.zo-demo__form .is-wide { grid-column: 1 / -1; }
.zo-field { display: grid; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.zo-field label, .zo-field legend { font-size: .875rem; font-weight: 500; color: var(--ink); padding: 0; }
.zo-field__opt { color: var(--ink-3); font-weight: 400; }
.zo-field input, .zo-field select {
  width: 100%; min-height: 50px; padding-inline: 14px; border-radius: 14px; border: 1.5px solid var(--field-rule); background: var(--sheet);
  font-size: 1rem; transition: border-color var(--dur-2), box-shadow var(--dur-2);
}
html[dir="rtl"] .zo-field input[dir="ltr"] { text-align: right; }
.zo-field input::placeholder { color: var(--ink-3); }
.zo-field input:hover, .zo-field select:hover { border-color: var(--cobalt); }
.zo-field input:focus-visible, .zo-field select:focus-visible { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 4px var(--focus-ring); }
.zo-field.has-error input { border-color: #C2412D; }
.zo-field__error { display: flex; align-items: center; gap: 6px; color: #A8341F; font-size: .8125rem; }
.zo-chips__row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.zo-chip { position: relative; }
.zo-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.zo-chip span { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding-inline: 14px; border-radius: var(--r-pill); border: 1.5px solid var(--field-rule); background: var(--sheet); font-size: .875rem; transition: background-color var(--dur-2), border-color var(--dur-2); }
.zo-chip span .zo-icon { display: none; }
.zo-chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.zo-chip input:checked + span .zo-icon { display: block; }
.zo-chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.zo-demo__actions { display: flex; justify-content: flex-start; margin-top: 4px; }
.zo-demo__submit { min-height: 52px; padding-inline: 28px; border-radius: var(--r-pill); border: 0; background: var(--cobalt); color: #fff; font-weight: 500; }
.zo-demo__submit:hover { background: var(--cobalt-2); }
.zo-demo__notice { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--paper-2); color: var(--ink); font-size: .9375rem; line-height: 1.55; border: 1.5px dashed var(--ink-3); }
@media (max-width: 600px) {
  .demo { width: 100vw; height: 100dvh; margin: 0; }
  .zo-demo { border-radius: 0; height: 100%; max-height: none; padding-top: calc(20px + env(safe-area-inset-top, 0px)); padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
  .zo-demo__form { grid-template-columns: 1fr; }
}

.zo-toast { position: fixed; z-index: 60; inset-inline: 0; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: grid; justify-items: center; pointer-events: none; padding-inline: 16px; }
.zo-toast__msg { pointer-events: auto; display: flex; gap: 10px; align-items: flex-start; max-width: 520px; padding: 14px 18px; border-radius: 16px; background: var(--ink); color: var(--paper); font-size: .9375rem; line-height: 1.5; box-shadow: var(--shadow-2); }
html[data-motion="on"] .zo-toast__msg { animation: rise 380ms var(--ease-out) both; }

/* ---------- reduced motion: everything at rest ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation: none !important; transition-duration: .001ms !important; }

/* =====================================================================
   Type: IBM Plex Sans Arabic + IBM Plex Sans for headlines, text and UI
   (replaces Markazi Text and Readex Pro, so the page uses one family).
   Plex sets larger than Markazi, so display sizes run at about 0.8× and
   Arabic line-heights are taller. Aref Ruqaa stays for handwritten notes.
   ===================================================================== */
:root {
  --font-display: 'IBM Plex Sans Arabic', 'IBM Plex Sans', 'Geeza Pro', Tahoma, system-ui, sans-serif;
  --font-ui: 'IBM Plex Sans Arabic', 'IBM Plex Sans', 'Geeza Pro', Tahoma, system-ui, sans-serif;
  --t-hero: clamp(2.6rem, 1.3rem + 5.2vw, 6.6rem);
  --t-h2: clamp(1.95rem, 1.1rem + 2.85vw, 3.9rem);
  --t-h3: clamp(1.3rem, 1.05rem + .7vw, 1.75rem);
  --t-lead: clamp(1.1rem, 1rem + .4vw, 1.35rem);
  --t-body: 1.0625rem;
  --lh-display: 1.4;
  --lh-body: 1.85;
}
html[lang="en"] {
  --font-display: 'IBM Plex Sans', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --font-ui: 'IBM Plex Sans', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --t-hero: clamp(2.5rem, 1.25rem + 4.2vw, 5.4rem);
  --t-h2: clamp(1.9rem, 1.15rem + 2.4vw, 3.6rem);
  --t-h3: clamp(1.25rem, 1.05rem + .6vw, 1.65rem);
  --t-lead: clamp(1.1rem, 1rem + .35vw, 1.3rem);
  --t-body: 1.0625rem;
  --lh-display: 1.08;
  --lh-body: 1.6;
}
html[lang="en"] .display { letter-spacing: -0.022em; }
html[lang="en"] .h3, html[lang="en"] .tname, html[lang="en"] .detail__name, html[lang="en"] .node__name { letter-spacing: -0.012em; }
.zo-lang button[lang="ar"] { font-family: 'IBM Plex Sans Arabic', sans-serif; }
html[lang="ar"] .h3 { line-height: 1.5; }
html[lang="ar"] .lead, html[lang="ar"] .hero__body { line-height: 1.85; }
.brand__name { font-size: 1.35rem; }
html[lang="en"] .brand__name { font-size: 1.25rem; letter-spacing: -.015em; }
.bubble { font-size: clamp(12.5px, 3cqw, 18.5px); }
html[lang="ar"] .bubble { line-height: 1.55; padding-block: 1.7cqw 1.9cqw; }
html[lang="en"] .bubble { font-size: clamp(12px, 2.85cqw, 17.5px); line-height: 1.25; }
.node__n { font-size: .95rem; }
.node__name { font-size: clamp(.98rem, .85rem + .4vw, 1.2rem); }
html[lang="ar"] .node__name { line-height: 1.5; }
.matrix thead th { font-size: .9rem; }
.detail__name { font-size: clamp(1.45rem, 1.15rem + .9vw, 1.9rem); }
html[lang="ar"] .detail__name { line-height: 1.45; }
.detail__body { font-size: 1rem; }
html[lang="ar"] .detail__body { line-height: 1.85; }
.step__n { font-size: 2.6rem; padding-top: 0; }
.step__out span { font-size: 1rem; }
html[lang="ar"] .step__out span { line-height: 1.65; }
.tname { font-size: clamp(1.7rem, 1.35rem + .9vw, 2.25rem); }
html[lang="ar"] .tname { line-height: 1.3; }
.answered q { font-size: 1rem; }
html[lang="ar"] .answered q { line-height: 1.6; }
.ftr__blurb { font-size: 1rem; }
html[lang="ar"] .ftr__blurb { line-height: 1.9; }
.mmenu__nav a { font-size: clamp(1.5rem, 1.15rem + 1.9vw, 2rem); }
html[lang="ar"] .mmenu__nav a { line-height: 1.45; }
.zo-demo__title { font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.15rem); }
html[lang="ar"] .zo-demo__title { line-height: 1.4; }
.zo-demo__intro { font-size: 1rem; }
html[lang="ar"] .zo-demo__intro { line-height: 1.8; }
.final__copy .h2 { font-size: clamp(2.1rem, 1.15rem + 3.5vw, 4.8rem); }
.topic .h3 { font-size: clamp(1.25rem, 1.05rem + .55vw, 1.6rem); }
html[lang="ar"] .emph__orbit { bottom: -.03em; }
html[lang="en"] .emph__orbit { bottom: -.1em; }
html[lang="en"] .note { font-weight: 600; }

/* =====================================================================
   Zero One site — styles for inner templates and shared kit.
   Loaded after the approved homepage stylesheet (c-homepage/src/styles.css)
   and uses its tokens only: paper, ink, cobalt, mint, sky, lilac, blush, stone.
   ===================================================================== */

/* ---------- shell ---------- */
main:focus { outline: none; }
.nav a.is-on { color: var(--cobalt); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--rule); font-weight: 600; }
.mmenu__nav a.is-on { color: var(--cobalt); }
.hdr__signin { text-decoration: none; display: inline-flex; align-items: center; }
.hdr__signin[aria-current="page"] { color: var(--cobalt); }
/* "Sign up" (launch build, only while the client console has sign-up open): cobalt beside "Client login";
   left to the footer and the menu where the header row gets tight. */
.hdr__signup { color: var(--cobalt); font-weight: 500; }
@media (max-width: 1280px) { .hdr .hdr__signup { display: none; } }
.ftr__brand .ftr__tools { grid-column: auto; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.ftr__col:first-of-type { grid-column: 7 / span 2; }
.ftr__h { font-size: .8125rem; font-weight: 500; color: var(--on-cobalt-2); margin: 0; }
html[lang="en"] .ftr__h { text-transform: uppercase; letter-spacing: .09em; font-size: .72rem; }
.ftr__col ul { display: grid; gap: 6px; }
.ftr__legal a { text-decoration: none; }
.ftr__legal a:hover { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 960px) { .ftr__col, .ftr__col:first-of-type { grid-column: span 4; } }
@media (max-width: 600px) { .ftr__col, .ftr__col:first-of-type { grid-column: span 6; } }

.stretch { text-decoration: none; color: inherit; }
.stretch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.stretch:focus-visible { outline: none; }
.stretch:focus-visible::after { outline: 3px solid var(--focus); outline-offset: 3px; }
.sec__aside .link { margin-top: 10px; }

/* module tints for people / projects / approvals */
.m-people { --mod: var(--sky); } .m-projects { --mod: var(--lilac); } .m-approvals { --mod: var(--blush); }
.track { grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); }
@media (max-width: 960px) { .track { grid-template-columns: 1fr; } }

/* ---------- inner page hero ---------- */
.phero { position: relative; padding-block: clamp(28px, 4vw, 64px) clamp(56px, 6vw, 104px); overflow: clip; }
.phero__grid { align-items: center; row-gap: 48px; }
.phero__copy { grid-column: 1 / span 7; position: relative; z-index: 2; }
.phero__art { grid-column: 8 / span 5; }
.phero--solo .phero__copy { grid-column: 1 / span 9; }
.phero__title { font-size: clamp(2.3rem, 1.2rem + 3.9vw, 5.2rem); margin-block: 18px 22px; }
html[lang="en"] .phero__title { font-size: clamp(2.3rem, 1.2rem + 3.4vw, 4.6rem); }
.phero__title--article { font-size: clamp(2.1rem, 1.2rem + 3vw, 4rem); max-width: 22ch; }
.phero__lead { font-family: var(--font-display); font-size: var(--t-lead); line-height: 1.85; color: var(--ink-2); max-width: 46ch; text-wrap: pretty; }
html[lang="en"] .phero__lead { line-height: 1.5; }
.phero .hero__ctas { margin-top: 30px; }
.phero .collage { max-width: 460px; }
html[data-motion="on"] .phero .w { animation: rise var(--dur-3) var(--ease-out) backwards; animation-delay: calc(80ms + var(--i) * 60ms); }
html[data-motion="on"] .phero [data-enter] { animation: rise var(--dur-3) var(--ease-out) backwards; animation-delay: calc(240ms + var(--i, 0) * 80ms); }
html[data-motion="on"] .phero .emph__orbit path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 900ms var(--ease-out) 600ms forwards; }
.phero--legal .phero__title, .phero--article .phero__title { margin-block: 14px 16px; }
@media (max-width: 960px) {
  .phero__copy, .phero__art, .phero--solo .phero__copy { grid-column: 1 / -1; }
  .phero .collage { max-width: 420px; }
}

.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: .875rem; color: var(--ink-3); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs a { color: var(--ink-2); text-decoration: none; padding-block: 6px; border-radius: 6px; }
.crumbs a:hover { color: var(--cobalt); text-decoration: underline; text-underline-offset: 5px; }
.crumbs [aria-current="page"] { color: var(--ink); font-weight: 500; }
.crumbs .zo-icon { color: var(--ink-3); opacity: .7; }

/* ---------- review aids ---------- */
.banner { display: inline-flex; align-items: flex-start; gap: 10px; margin: 14px 0 6px; padding: 10px 14px; border-radius: 14px; font-size: .875rem; font-weight: 500; line-height: 1.6; max-width: 62ch; }
.banner .zo-icon { margin-top: 3px; }
.banner--draft, .banner--proposed { background: var(--blush-2); color: #7A3324; }
.banner--conditional { background: var(--lilac-2); color: #3E2F7A; }
.banner--legal { background: var(--sky-2); color: #173B7E; }
.annot { display: none; align-items: flex-start; gap: 6px; margin-top: 10px; padding: 5px 10px; border-radius: 10px; border: 1.5px dashed var(--pen); color: #8F2B19; background: #FFF5F2; font-size: .78rem; font-weight: 500; line-height: 1.5; }
.annot .zo-icon { margin-top: 2px; }
html[data-annot="on"] .annot { display: inline-flex; }
.rtoggle { position: fixed; z-index: 45; inset-inline-start: calc(16px + env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
.rtoggle button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding-inline: 14px; border-radius: var(--r-pill); border: 0; background: var(--ink); color: var(--paper); font-size: .8125rem; font-weight: 500; box-shadow: 0 10px 24px -12px rgba(22, 31, 56, .6); }
.rtoggle button[aria-pressed="true"] { background: var(--pen); }

.aslot { margin: 0; display: grid; gap: 12px; }
.aslot__frame { position: relative; display: grid; place-content: center; justify-items: center; gap: 10px; min-height: clamp(220px, 28vw, 420px); padding: 28px; text-align: center; border-radius: var(--r-sheet); border: 2px dashed #C9C0AE; background: repeating-linear-gradient(135deg, var(--paper-2) 0 14px, transparent 14px 28px), var(--paper); }
.aslot__frame strong { font-family: var(--font-display); font-weight: 700; font-size: var(--t-h3); line-height: 1.35; }
.aslot__frame > span:last-child { color: var(--ink-2); max-width: 52ch; line-height: 1.7; }
.aslot__tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: var(--r-pill); background: var(--sheet); color: #8F2B19; font-size: .8125rem; font-weight: 500; box-shadow: 0 1px 2px rgba(22, 31, 56, .1); }
.aslot figcaption { font-size: .875rem; color: var(--ink-3); }
.media-sec { padding-block: 0 var(--section); }

.fslot { display: grid; gap: 6px; padding: 16px 18px; border-radius: 18px; border: 2px dashed #C9C0AE; background: var(--paper); }
.fslot--compact { padding: 10px 14px; gap: 2px; }
.fslot__tag { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 500; color: #8F2B19; }
.fslot__label { font-weight: 600; font-size: .9375rem; }
.fslot__body { color: var(--ink-2); line-height: 1.7; font-size: .9375rem; }
.islot { background: #FFF1EC; color: #8F2B19; border: 1px dashed #E8A898; border-radius: 6px; padding: 0 6px; font-weight: 500; }

/* ---------- FAQ ---------- */
.faq { background: var(--paper-2); }
.faq__grid { row-gap: 32px; align-items: start; }
.faq__head { grid-column: 1 / span 4; position: sticky; top: 110px; }
.faq__head .h2 { margin-top: 14px; font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem); }
.faq__list { grid-column: 6 / span 7; display: grid; gap: 10px; }
.qa { background: var(--sheet); border-radius: 20px; box-shadow: var(--shadow-1); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; min-height: 64px; border-radius: 20px; }
.qa summary::-webkit-details-marker { display: none; }
.qa__q { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; line-height: 1.55; }
.qa__icon { width: 36px; height: 36px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; flex: none; transition: transform var(--dur-2) var(--ease-spring), background-color var(--dur-2); }
.qa[open] .qa__icon { transform: rotate(45deg); background: var(--mint); }
.qa summary:hover .qa__icon { background: var(--mint-2); }
.qa__a { padding: 0 22px 20px; color: var(--ink-2); line-height: 1.85; max-width: 64ch; }
html[lang="en"] .qa__a { line-height: 1.6; }
html[data-motion="on"] .qa[open] .qa__a { animation: rise 360ms var(--ease-out) backwards; }
@media (max-width: 960px) { .faq__head, .faq__list { grid-column: 1 / -1; position: static; } }

/* ---------- capabilities, notes, solutions ---------- */
.capgroup + .capgroup { margin-top: clamp(32px, 4vw, 56px); }
.capgroup__title { font-size: .9375rem; font-weight: 500; color: var(--ink-3); margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.capgroup__title::after { content: ""; flex: 1; border-top: 1px dashed var(--rule); }
.caps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.caps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cap { position: relative; display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: var(--r-card); background: var(--sheet); box-shadow: var(--shadow-1); }
.cap__icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--sky); color: var(--ink); }
.cap:nth-child(4n+2) .cap__icon { background: var(--mint); }
.cap:nth-child(4n+3) .cap__icon { background: var(--blush); }
.cap:nth-child(4n+4) .cap__icon { background: var(--lilac); }
.cap__title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; line-height: 1.4; }
.cap__body { color: var(--ink-2); font-size: .9375rem; line-height: 1.7; }
.cap__plans { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; font-size: .78rem; color: var(--ink-3); }
.cap__plans em { font-style: normal; font-weight: 500; color: var(--ink); background: var(--paper-2); border-radius: var(--r-pill); padding: 2px 10px; }
.caps-sec { background: var(--paper); }
@media (max-width: 1100px) { .caps, .caps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .caps, .caps--4 { grid-template-columns: 1fr; } }

.nlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }
.nlist li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px dashed var(--rule); }
.nlist p { line-height: 1.75; color: var(--ink); }
.nlist__icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--mint-2); color: var(--leaf); flex: none; }
.notes { background: var(--paper); }
@media (max-width: 760px) { .nlist { grid-template-columns: 1fr; } }

.solcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.solcard { position: relative; display: grid; gap: 14px; align-content: start; padding: 26px; border-radius: var(--r-sheet); background: var(--tone, var(--mint-2)); transition: transform var(--dur-3) var(--ease-spring), box-shadow var(--dur-2); }
.solcard--blush { --tone: var(--blush-2); } .solcard--mint { --tone: var(--mint-2); } .solcard--lilac { --tone: var(--lilac-2); }
.solcard:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: var(--shadow-2); }
.solcard__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.solcard__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--sheet); }
.solcard__tag { font-size: .75rem; font-weight: 500; padding: 4px 10px; border-radius: var(--r-pill); background: var(--sheet); color: #3E2F7A; }
.solcard__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 1.2rem + .8vw, 2rem); line-height: 1.3; }
.solcard__problem { font-family: var(--font-display); font-size: 1.1rem; line-height: 1.7; color: var(--ink-2); }
.solcard__steps { display: flex; flex-wrap: wrap; gap: 6px; }
.solcard__steps li { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 500; }
.solcard__steps li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cobalt); opacity: .6; }
.solcard__steps .zo-icon { color: var(--ink-3); }
.solcard__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--cobalt); margin-top: 6px; }
.sector { display: flex; gap: 18px; align-items: flex-start; margin-top: 24px; padding: 22px 26px; border-radius: var(--r-card); border: 1.5px dashed var(--rule); }
.sector__icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); flex: none; }
.sector__title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin-bottom: 4px; }
.sector p { color: var(--ink-2); line-height: 1.75; max-width: 70ch; }
.sols { padding-top: 0; }
@media (max-width: 960px) { .solcards { grid-template-columns: 1fr; } }

/* ---------- services ---------- */
.svc { background: var(--paper-2); }
.sblocks { display: grid; gap: 14px; }
.sblock { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; padding: 24px; border-radius: var(--r-card); background: var(--sheet); box-shadow: var(--shadow-1); }
.sblock__main { display: flex; gap: 18px; align-items: flex-start; }
.sblock__n { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; flex: none; }
.sblock:nth-child(2) .sblock__n { background: var(--sky); } .sblock:nth-child(3) .sblock__n { background: var(--lilac); } .sblock:nth-child(4) .sblock__n { background: var(--blush); } .sblock:nth-child(5) .sblock__n { background: var(--cobalt); color: #fff; }
.sblock .h3 { display: flex; align-items: center; gap: 10px; }
.sblock .h3 .zo-icon { color: var(--cobalt); }
.sblock .body { margin-top: 6px; font-size: 1rem; }
.sblock__ex { display: inline-flex; gap: 8px; align-items: center; margin-top: 10px; font-size: .875rem; color: #8F2B19; background: var(--blush-2); padding: 4px 12px; border-radius: var(--r-pill); }
.sblock__split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.sblock__split div { padding: 14px; border-radius: 16px; background: var(--paper-2); }
.sblock__split div:last-child { background: var(--mint-2); }
.sblock__split dt { font-size: .78rem; font-weight: 500; color: var(--ink-3); margin-bottom: 4px; }
.sblock__split dd { margin: 0; font-size: .9375rem; line-height: 1.65; }
.svc .annot { margin-top: 16px; }
@media (max-width: 960px) { .sblock { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .sblock__split { grid-template-columns: 1fr; } .sblock__main { flex-direction: column; gap: 12px; } }

.excl { background: var(--blush); }
.excl__grid { row-gap: 28px; align-items: start; }
.excl__head { grid-column: 1 / span 5; }
.excl__head .h2 { margin-block: 14px; font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3.2rem); }
.excl__head .lead { color: var(--ink); opacity: .85; }
.excl__list { grid-column: 7 / span 6; display: grid; gap: 10px; }
.excl__list li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .72); font-weight: 500; line-height: 1.6; }
.excl__list .zo-icon { color: #8F2B19; flex: none; }
@media (max-width: 960px) { .excl__head, .excl__list { grid-column: 1 / -1; } }

.checks { display: grid; gap: 12px; counter-reset: c; }
.checks li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; background: var(--sheet); box-shadow: var(--shadow-1); }
.checks p { line-height: 1.75; padding-top: 6px; }
.checks__n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); font-family: var(--font-display); font-weight: 700; flex: none; }
.checks--compact li { box-shadow: none; background: var(--paper-2); padding: 12px 14px; }
.accept { background: var(--paper); }

/* ---------- tables (setup, compare, routes) ---------- */
.ptable-wrap { overflow-x: auto; border-radius: var(--r-sheet); background: var(--sheet); box-shadow: var(--shadow-2); padding: clamp(10px, 2vw, 24px); }
.ptable { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 620px; }
.ptable th, .ptable td { padding: 14px 16px; text-align: start; vertical-align: middle; border-top: 1px solid var(--paper-2); }
.ptable thead th { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; border-top: 0; border-bottom: 2px solid var(--ink); }
.ptable thead td { border-top: 0; border-bottom: 2px solid transparent; }
.ptable tbody th { font-weight: 500; color: var(--ink-2); font-size: .9375rem; }
.ptable tbody th .zo-icon { display: inline-block; vertical-align: -3px; margin-inline-end: 8px; color: var(--cobalt); }
.ptable .amt { font-weight: 600; font-size: 1.15rem; }
html[lang="en"] .ptable .amt { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 6px; }
.ptable .muted { color: var(--ink-3); font-size: .875rem; }
.ptable__group th { background: var(--paper-2); font-size: .78rem; font-weight: 500; color: var(--ink-3); padding-block: 8px; }
.ptable__group:first-child th { border-radius: 12px; }
.ck { width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; }
.ck--yes { background: var(--mint-2); color: var(--leaf); }
.ck--no { background: var(--paper-2); color: var(--ink-3); }
.compare { background: var(--paper-2); }
.compare .annot { margin-top: 14px; }
.ptable--routes { min-width: 760px; }
.ptable--routes td, .ptable--routes th { font-size: .875rem; }
.ptable--routes code { font-size: .8125rem; }

/* ---------- pricing page ---------- */
.pricing--page { padding-top: 0; }
.addons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.addon { display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: var(--r-card); background: var(--sheet); box-shadow: var(--shadow-1); }
.addon__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--lilac); }
.addon__name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.addon__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
html[lang="en"] .addon__row > span:nth-child(2) { order: -1; }
.addon__amt { font-weight: 600; font-size: 1.6rem; letter-spacing: -.01em; }
.addon__amt--q { font-size: 1.25rem; }
.addon__unit { color: var(--ink-2); font-size: .875rem; }
.addon__alt { display: block; font-size: .8125rem; color: var(--ink-3); margin-top: 2px; }
.addon__note { font-size: .875rem; color: var(--ink-2); line-height: 1.65; padding-top: 10px; border-top: 1px dashed var(--rule); }
@media (max-width: 1100px) { .addons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .addons { grid-template-columns: 1fr; } }

/* ---------- blog ---------- */
.blog { padding-top: 0; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 28px; }
.filters button { min-height: 42px; padding-inline: 16px; border-radius: var(--r-pill); border: 1.5px solid var(--field-rule); background: var(--sheet); color: var(--ink-2); font-size: .9rem; font-weight: 500; transition: background-color var(--dur-2), color var(--dur-2), border-color var(--dur-2); }
.filters button:hover { border-color: var(--ink-3); color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filters__count { margin-inline-start: auto; font-size: .875rem; color: var(--ink-3); }
.feat { position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 28px; align-items: center; padding: 22px; border-radius: var(--r-sheet); background: var(--sheet); box-shadow: var(--shadow-2); margin-bottom: 20px; transition: transform var(--dur-3) var(--ease-spring); }
.feat:hover { transform: translateY(-3px); }
.feat__art { aspect-ratio: 4 / 3; border-radius: 20px; display: grid; place-items: center; background: radial-gradient(circle at 70% 30%, var(--lilac) 0 22%, transparent 23%), radial-gradient(circle at 30% 70%, var(--mint) 0 28%, transparent 29%), var(--paper-2); color: var(--ink); }
.feat__meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: .875rem; color: var(--ink-3); }
.feat__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1.3; margin-block: 12px 10px; }
.feat__sum { color: var(--ink-2); line-height: 1.75; max-width: 54ch; }
.feat .link { margin-top: 12px; color: var(--cobalt); }
.acards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.acard { position: relative; display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: var(--r-card); background: var(--sheet); box-shadow: var(--shadow-1); }
.acard__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.acard__icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--paper-2); }
.acard__cat { font-size: .78rem; color: var(--ink-3); font-weight: 500; }
.acard__title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; line-height: 1.45; }
.acard__sum { color: var(--ink-2); font-size: .9375rem; line-height: 1.7; }
.acard--sol { background: var(--mint-2); box-shadow: none; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 500; padding: 3px 10px; border-radius: var(--r-pill); border: 1px solid var(--rule); color: var(--ink-3); background: var(--sheet); }
.pill--draft { border-color: transparent; background: var(--blush-2); color: #7A3324; }
.pill--sol { border-color: transparent; background: var(--sheet); color: var(--leaf); }
.empty { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 40px 24px; border-radius: var(--r-sheet); border: 2px dashed var(--rule); }
.empty__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); }
.empty__title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.empty__body { color: var(--ink-2); max-width: 44ch; line-height: 1.7; }
@media (max-width: 960px) { .acards { grid-template-columns: 1fr 1fr; } .feat { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .acards { grid-template-columns: 1fr; } }

/* ---------- article & legal prose ---------- */
.ameta, .lmeta { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--rule); font-size: .875rem; }
.ameta dt, .lmeta dt { color: var(--ink-3); font-size: .78rem; margin-bottom: 2px; }
.ameta dd, .lmeta dd { margin: 0; font-weight: 500; }
.legal__grid { row-gap: 32px; align-items: start; }
.legal__aside { grid-column: 1 / span 3; position: sticky; top: 110px; }
.legal__body { grid-column: 4 / span 8; }
.toc__title { font-size: .8125rem; font-weight: 500; color: var(--ink-3); margin-bottom: 10px; }
.toc ol { display: grid; gap: 2px; border-inline-start: 2px solid var(--rule); }
.toc a { display: block; padding: 8px 14px; margin-inline-start: -2px; border-inline-start: 2px solid transparent; color: var(--ink-2); text-decoration: none; font-size: .9rem; line-height: 1.5; }
.toc a:hover { color: var(--cobalt); border-inline-start-color: var(--cobalt); }
.prose { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.95; color: var(--ink); max-width: 68ch; }
html[lang="en"] .prose { line-height: 1.7; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-weight: 700; font-size: clamp(1.4rem, 1.15rem + .8vw, 1.85rem); line-height: 1.45; margin-top: 1.8em; scroll-margin-top: 110px; }
.prose section > h2 { margin-top: 1.6em; }
.prose section { scroll-margin-top: 110px; }
.prose__ol { display: grid; gap: 14px; counter-reset: n; padding: 0; }
.prose__ol li { counter-increment: n; position: relative; padding-inline-start: 48px; }
.prose__ol li::before { content: counter(n); position: absolute; inset-inline-start: 0; top: .1em; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--sky); font-weight: 700; font-size: .95rem; font-family: var(--font-ui); }
.prose__callout { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; background: var(--mint-2); font-weight: 500; }
.prose__callout .zo-icon { color: var(--leaf); margin-top: .35em; flex: none; }
.prose__check { padding: 20px 22px; border-radius: 20px; background: var(--sheet); box-shadow: var(--shadow-1); }
.prose__check ul { display: grid; gap: 10px; }
.prose__check li { display: flex; gap: 12px; align-items: flex-start; }
.prose__box { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: var(--leaf); color: #fff; flex: none; margin-top: .35em; }
.sources { margin-top: 2em; padding: 16px 18px; border-radius: 16px; border: 1.5px dashed var(--rule); font-family: var(--font-ui); font-size: .9rem; color: var(--ink-2); line-height: 1.7; }
.sources__title { font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.lsum { padding: 20px 22px; border-radius: 20px; background: var(--sky-2); font-family: var(--font-ui); font-size: 1rem; }
.lsum__title { font-weight: 600; margin-bottom: 8px; }
.lsum ul { display: grid; gap: 8px; }
.lsum li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.7; }
.lsum .zo-icon { color: var(--cobalt); margin-top: .4em; flex: none; }
.related { background: var(--paper-2); }
.related__title { margin-bottom: 20px; }
@media (max-width: 960px) {
  .legal__aside { grid-column: 1 / -1; position: static; }
  .legal__body { grid-column: 1 / -1; }
  .toc ol { display: flex; flex-wrap: wrap; border: 0; gap: 6px; }
  .toc a { border: 1px solid var(--rule); border-radius: var(--r-pill); padding: 6px 12px; margin: 0; }
}

/* ---------- demo page & form ---------- */
.demo-sec { padding-top: 0; }
.demo__grid { row-gap: 24px; align-items: start; }
.demo__form { grid-column: 1 / span 8; }
.demo__aside { grid-column: 9 / span 4; display: grid; gap: 16px; position: sticky; top: 100px; }
@media (max-width: 1020px) { .demo__form, .demo__aside { grid-column: 1 / -1; position: static; } }
.dform { background: var(--sheet); border-radius: var(--r-sheet); box-shadow: var(--shadow-2); padding: clamp(18px, 3vw, 36px); }
.dform__states { display: grid; gap: 8px; padding: 12px; margin-bottom: 18px; border-radius: 18px; border: 1.5px dashed var(--pen); background: #FFF8F5; }
.dform__states-label { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 500; color: #8F2B19; }
.dform__states-row { display: flex; flex-wrap: wrap; gap: 6px; }
.dform__states-row button { min-height: 36px; padding-inline: 12px; border-radius: var(--r-pill); border: 1px solid #F0C7BB; background: var(--sheet); color: var(--ink-2); font-size: .8125rem; font-weight: 500; }
.dform__states-row button[aria-checked="true"] { background: #8F2B19; border-color: #8F2B19; color: #fff; }
.dform__form { display: grid; gap: 14px; }
.dform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; border: 0; padding: 0; margin: 0; min-width: 0; }
.dform__grid .is-wide { grid-column: 1 / -1; }
.dform__grid:disabled { opacity: .7; }
.zo-field textarea { width: 100%; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--field-rule); background: var(--sheet); font-size: 1rem; line-height: 1.6; resize: vertical; min-height: 110px; transition: border-color var(--dur-2), box-shadow var(--dur-2); }
.zo-field textarea:focus-visible { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 4px var(--focus-ring); }
.zo-field__hint { font-size: .8125rem; color: var(--ink-3); }
.zo-field.has-error select, .zo-chips.has-error .zo-chip span { border-color: #C2412D; }
.zo-check { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; }
.zo-check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--cobalt); }
.zo-check label { font-size: .9375rem; line-height: 1.65; }
.zo-check a { color: var(--cobalt); }
.zo-check .zo-field__error { grid-column: 2; }
.zo-check.has-error input { outline: 2px solid #C2412D; outline-offset: 2px; border-radius: 4px; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dform__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 4px; }
.dform__hint { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: .875rem; }
.spin { display: inline-grid; place-items: center; }
html[data-motion="on"] .spin { animation: spin 900ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.falert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; font-size: .9375rem; line-height: 1.6; }
.falert div { display: grid; gap: 2px; }
.falert .zo-icon { flex: none; margin-top: 2px; }
.falert--error { background: #FDECEA; color: #8A2617; }
.falert--warn { background: #FFF4DE; color: #7A4B00; }
.fstate { display: grid; justify-items: center; gap: 10px; text-align: center; padding: clamp(28px, 5vw, 56px) 20px; }
.fstate__icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--leaf); }
.fstate--duplicate .fstate__icon { background: var(--sky); color: var(--cobalt); }
.fstate__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.35; }
.fstate p { color: var(--ink-2); line-height: 1.7; max-width: 48ch; }
.fstate__ref { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 8px 14px; border-radius: var(--r-pill); background: var(--paper-2); font-size: .875rem; }
.fstate__ref code { font-weight: 600; color: var(--ink); }
.fstate__note { display: inline-flex; align-items: flex-start; gap: 8px; font-size: .8125rem; color: #8F2B19; }
.fstate__note .zo-icon { margin-top: 2px; flex: none; }
.aside-card { padding: 22px; border-radius: var(--r-card); background: var(--sheet); box-shadow: var(--shadow-1); display: grid; gap: 12px; }
.aside-card--soft { background: var(--mint-2); box-shadow: none; }
.aside-card__title { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.aside-card__title .zo-icon { color: var(--leaf); }
.aside-card__meta { font-size: .8125rem; color: var(--ink-3); }
.ticks { display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; line-height: 1.65; }
.ticks .zo-icon { color: var(--leaf); margin-top: 4px; flex: none; }
@media (max-width: 600px) { .dform__grid { grid-template-columns: 1fr; } }

/* ---------- contact, sign-in, about, security ---------- */
.ccards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ccards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ccard { position: relative; display: grid; gap: 12px; align-content: start; justify-items: start; padding: 24px; border-radius: var(--r-card); background: var(--sheet); box-shadow: var(--shadow-1); }
.ccard__title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; line-height: 1.4; }
.ccard p { color: var(--ink-2); line-height: 1.7; }
.ccard .fslot { justify-self: stretch; }
.verified { margin-top: 28px; padding: 24px; border-radius: var(--r-card); border: 1.5px dashed var(--rule); display: grid; gap: 14px; }
.verified__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 960px) { .ccards, .ccards--4, .verified__row { grid-template-columns: 1fr; } }
.split { row-gap: 28px; align-items: start; }
.split__head { grid-column: 1 / span 6; }
.split__body { grid-column: 8 / span 5; display: grid; gap: 14px; }
.split__head .h2 { margin-top: 14px; }
@media (max-width: 960px) { .split__head, .split__body { grid-column: 1 / -1; } }
.factlist { display: grid; gap: 8px; }
.factlist__title { font-weight: 600; font-size: .9375rem; margin-top: 8px; }
.privnote { display: flex; gap: 10px; align-items: center; margin-top: 16px; color: var(--ink-2); font-size: .9375rem; }
.privnote .zo-icon { color: var(--cobalt); flex: none; }
.principles { background: var(--paper-2); }
.secs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.secs__item { display: grid; gap: 12px; align-content: start; padding: 24px; border-radius: var(--r-card); background: var(--sheet); box-shadow: var(--shadow-1); }
.secs__title { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.4; }
.secs .body { font-size: 1rem; }
@media (max-width: 760px) { .secs { grid-template-columns: 1fr; } }

/* ---------- component gallery ---------- */
.gal__h { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); margin: clamp(40px, 5vw, 72px) 0 18px; padding-top: 18px; border-top: 2px solid var(--ink); }
.gal__h:first-child { margin-top: 0; }
.gal__meta { font-size: .8125rem; color: var(--ink-3); margin-bottom: 12px; }
.swatches { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.swatches li { display: grid; gap: 4px; font-size: .8125rem; }
.swatches span { height: 72px; border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(22, 31, 56, .1); }
.swatches code { color: var(--ink-3); font-size: .75rem; }
.typespec { display: grid; gap: 14px; }
.typespec .display { line-height: var(--lh-display); }
.spacing { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; }
.spacing span { background: var(--sky); border-radius: 4px; position: relative; }
.spacing em { position: absolute; top: calc(100% + 4px); inset-inline-start: 0; font-style: normal; font-size: .72rem; color: var(--ink-3); }
.radii { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.radii span { width: 140px; height: 80px; background: var(--mint-2); display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(22, 31, 56, .1); }
.radii em { font-style: normal; font-size: .75rem; }
.gal__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.gal__fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.zo-field input:disabled { background: var(--paper-2); color: var(--ink-3); cursor: not-allowed; }
.gal__demo { max-width: 860px; }
.gal__blocks { display: grid; gap: 16px; }
.gal__blocks p { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.gal .annot { display: inline-flex; margin: 0; }
@media (max-width: 1100px) { .swatches { grid-template-columns: repeat(4, minmax(0, 1fr)); } .gal__fields { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gal__fields { grid-template-columns: 1fr; } }

/* ---------- rhythm fixes ---------- */
.phero__title .line { display: block; }
.media-sec { padding-block: 0 clamp(40px, 4vw, 72px); }
.media-sec + .sec, .masar + .caps-sec, .sols + .notes, .caps-sec + .notes { padding-top: clamp(24px, 3vw, 56px); }
.caps-sec + .media-sec { padding-top: 0; }
.caps { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
@media (max-width: 1100px) { .caps { grid-template-columns: repeat(min(var(--cols, 4), 2), minmax(0, 1fr)); } }
@media (max-width: 600px) { .caps { grid-template-columns: 1fr; } }
.phero + .sec.article { padding-top: clamp(20px, 2.5vw, 40px); }
.phero + .sec[class="sec"], .phero + .svc, .phero + .sols { padding-top: clamp(16px, 2.5vw, 40px); }

/* plan tables: stacked rows on phones, plan names stay pinned under the header */
@media (max-width: 680px) {
  .ptable-wrap:has(.ptable--stack) { overflow: visible; padding: 8px 12px 14px; }
  .ptable--stack { min-width: 0; display: block; }
  .ptable--stack thead, .ptable--stack tbody { display: block; }
  .ptable--stack tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ptable--stack th, .ptable--stack td { padding: 10px 6px; text-align: center; }
  .ptable--stack thead tr { position: sticky; top: calc(68px + env(safe-area-inset-top, 0px)); z-index: 3; background: var(--sheet); }
  .ptable--stack thead td { display: none; }
  .ptable--stack thead th { font-size: 1rem; border-bottom-width: 2px; }
  .ptable--stack tbody th[scope="row"] { grid-column: 1 / -1; text-align: start; padding: 12px 4px 2px; color: var(--ink); font-weight: 600; }
  .ptable--stack tbody th[scope="row"] + td, .ptable--stack tbody td { border-top: 0; font-size: .875rem; }
  .ptable--stack .ptable__group th { grid-column: 1 / -1; text-align: start; border-radius: 10px; margin-top: 10px; }
  .ptable--stack .ck { margin-inline: auto; }
  .ptable--stack .amt, html[lang="en"] .ptable--stack .amt { display: inline-flex; justify-content: center; gap: 4px; font-size: 1rem; }
}
html[lang="en"] .mmenu__nav a { font-size: clamp(1.35rem, 1.05rem + 1.6vw, 2rem); }

/* launch build: book a demo by email */
.demail { display: grid; gap: 14px; justify-items: start; }
.demail__icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--sky-2); color: var(--cobalt); }
.demail__title { margin: 4px 0 0; }
.demail__lead { margin: 0; color: var(--ink-2); max-width: 46ch; }
.demail__h { margin: 6px 0 0; font-weight: 600; }
.demail .ticks { margin: 0; }
.demail__cta { margin-top: 6px; }
.demail__alt { margin: 0; color: var(--ink-3); font-size: .9375rem; }
.demail__alt a { color: var(--cobalt); }

/* =====================================================================
   Brand: "One orbit" with the approved Evergreen palette. The original
   mark, orbit device, editorial layout and licensed typography are retained.
   Historical cobalt/midnight token names now hold semantic action/chrome roles.
   ===================================================================== */
:root {
  --midnight: #17362F;    /* approved Evergreen chrome; white text 13.1:1 */
  --midnight-2: #17362F;  /* footer shares the accepted chrome tone */
  --orbit: #96ADA8;       /* accepted Evergreen accent on chrome */
  --orbit-mid: #62847D;   /* orbit strokes and dots on light grounds */
  --orbit-deep: #2E5B52;  /* Evergreen ink on light grounds */
  --mark-sky: #3F8CED;    /* the mark's highlight blue */
}

/* wordmark: regular "Zero", bold "One", as on the sign-in screen */
.brand__name .wm__a { font-weight: 400; }
.brand__name .wm__b { font-weight: 700; }

/* the orbit underline: one arc in orbit green, ending in a dot */
.emph__orbit svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.emph__orbit path { fill: none; stroke: var(--orbit-mid); stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.emph__dot { position: absolute; right: -.16em; top: -.02em; width: .2em; height: .2em; min-width: 9px; min-height: 9px; border-radius: 50%;
  background: var(--orbit); box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--orbit-mid); }
html[data-motion="on"] .emph__dot { animation: orbit-pop 420ms var(--ease-spring) 1300ms backwards; }
html[data-motion="on"] .phero .emph__dot { animation-delay: 1250ms; }
@keyframes orbit-pop { from { transform: scale(0); } to { transform: scale(1); } }

/* eyebrows carry a small orbit dot, the same in every section */
.eyebrow::before { width: 8px; height: 8px; background: var(--orbit-mid); box-shadow: 0 0 0 3px var(--focus-ring); }

/* hero: the ring around the tile gets its orbit, an arc with a dot, slowly turning */
.collage__orbit { position: absolute; inset: 14% 12% 16% 14%; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--orbit-mid); transform: rotate(10deg); pointer-events: none; }
.collage__orbit-dot { position: absolute; left: 85.4%; top: 14.6%; width: 3.2cqw; height: 3.2cqw; min-width: 10px; min-height: 10px; margin: -1.6cqw 0 0 -1.6cqw;
  border-radius: 50%; background: var(--orbit); box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--orbit-mid); }
html[data-motion="on"] .collage__orbit { animation: orbit-turn 40s linear infinite; }
@keyframes orbit-turn { from { transform: rotate(10deg); } to { transform: rotate(370deg); } }

/* dark actions are midnight; the orbit button is the brand's one green action, used on midnight */
.btn--ink { background: var(--midnight); }
.btn--orbit { background: var(--orbit); color: var(--midnight); box-shadow: var(--shadow-1); }
.btn--orbit .btn__icon { background: color-mix(in srgb, var(--midnight) 12%, transparent); }
.btn--orbit:hover { background: var(--on-cobalt-2); }

/* closing invitation: a midnight band with the orbit drawn large behind it */
.final { background: var(--midnight); color: #fff; position: relative; isolation: isolate; }
.final__orbit { position: absolute; z-index: -1; width: min(880px, 92vw); aspect-ratio: 1; inset-inline-end: -16%; top: 50%; translate: 0 -50%; pointer-events: none; overflow: visible; }
.final__orbit .track { fill: none; stroke: color-mix(in srgb, var(--orbit) 20%, transparent); stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
.final__orbit .arc { fill: none; stroke: var(--orbit); stroke-width: 2.5px; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.final__orbit .dot { fill: var(--orbit); stroke: color-mix(in srgb, var(--orbit) 25%, transparent); stroke-width: 10px; vector-effect: non-scaling-stroke; paint-order: stroke; }
html[dir="rtl"] .final__orbit { transform: scaleX(-1); }
.final .eyebrow { color: var(--on-cobalt-2); }
.final .eyebrow::before { background: var(--orbit); box-shadow: 0 0 0 3px color-mix(in srgb, var(--orbit) 25%, transparent); }
.final__copy .lead { color: var(--on-cobalt-2); opacity: 1; }
.final__pts .zo-icon { color: var(--midnight); background: var(--orbit); }
.final .link { color: #fff; }
.answered li { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); color: #fff; }
.answered span { color: var(--orbit); }

/* footer sits one step deeper than the band above it */
.ftr { background: var(--midnight-2); border-top: 1px solid rgba(255, 255, 255, .08); }

/* green text on light grounds uses the deep orbit green */
.answered span, .services .zo-icon { --leaf: var(--orbit-deep); }

/* Dark surfaces use the light Evergreen accent for a visible focus ring. */
.final :focus-visible, .ftr :focus-visible, .on-dark :focus-visible { outline-color: var(--orbit); }

/* the pricing sheet's VAT note: the same pill, in the answered green rather than the review coral */
.tag--ok { background: var(--leaf-2); color: var(--leaf); }

/* prices: the VAT label beside every price, and the setup fee's billing rule (owner, 2026-10-20) */
.price__vat, .setup__vat, .addon__vat { display: block; font-size: .8125rem; color: var(--ink-2); font-weight: 500; }
.addon__vat { margin-top: 2px; }
.setup__rule { font-size: .8125rem; color: var(--ink-2); }
.setup__vat { margin-top: 2px; }
.ptable .amt-line { display: block; }
.ptable .amt-line + .amt-line { margin-top: 4px; }
.ptable .amt-vat { display: block; margin-top: 6px; }
.demail__plan { margin: 0; color: var(--ink-2); }
.demail__plan .demail__h { margin: 0; }
/* the VAT-inclusive figure beside an excl.-VAT price: secondary, never louder than the price */
.incl { color: var(--ink-3); font-weight: 400; }

/* launch build: the no-JavaScript note (a class, not a style attribute, which the site's CSP blocks) */
.noscript { padding: 24px; font: 16px/1.6 system-ui, sans-serif; }

/* Quiet card edges preserve grouping when the shadow is reduced. */
.sheet, .dform, .aside-card, .cap, .addon, .qa { border: 1px solid var(--rule); }
.zo-billing button[aria-checked="true"] { background: var(--cobalt); color: var(--on-cobalt); }
.matrix .is-col { background: var(--brand-soft); }
.demail__icon, .qa[open] .qa__icon { background: var(--brand-soft); color: var(--cobalt); }
.mmenu__nav a.is-on { background: var(--brand-soft); border-radius: 12px; padding-inline: 12px; }
.tcard__row--setup .tcard__lab { color: var(--ink-2); }
.tiers__setup .incl, .tcard__row--setup .incl, .sblock__split dt { color: var(--ink-2); }
