/* ==========================================================================
   Nass website: styles
   Built from the approved homepage example (version 1793041870-ea25).
   Brand tokens: Nass Final Logo Kit v2. Typeface: Instrument Sans (approved).
   Logical properties keep a future right-to-left (Arabic) version straightforward.
   ========================================================================== */

@font-face { font-family: "Instrument Sans"; src: url("../fonts/InstrumentSans-var.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
/* Arabic glyphs only (used for the word ناس in Our story) */
@font-face { font-family: "Plex Arabic"; src: url("../fonts/IBMPlexSansArabic-SemiBold-arabic.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0600-06FF; }

:root {
  /* Approved brand */
  --cobalt: #245BFF;
  --navy: #10203D;
  --pale: #EAF1FF;
  --white: #FFFFFF;
  /* Supporting neutrals (navy-biased) */
  --ink: #10203D;
  --ink-2: #3A475E;          /* body */
  --ink-3: #5F6B82;          /* secondary (AA on white) */
  --ink-4: #808AA0;          /* headline continuation, large text only (3.4:1 on white) */
  --line: #E4E9F1;
  --line-2: #D3DBE7;
  --canvas: #FFFFFF;
  --surface: #F6F8FB;
  --cobalt-hover: #1A4AE0;
  --cobalt-soft: #8FB0FF;    /* cobalt-family text on navy */
  --navy-2: #182A4C;
  --navy-line: rgba(255,255,255,.10);
  --on-navy-2: #B6C1D6;
  --amber-bg: #FFF3DB; --amber: #7A4B00;
  --green-bg: #E3F5EC; --green: #17633F;

  --font: "Instrument Sans", "Plex Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --w-reg: 400; --w-med: 500; --w-semi: 600;
  --track-display: -0.04em;
  --track-head: -0.03em;

  --r-sm: 6px; --r: 10px; --r-lg: 14px;
  --container: 1200px;
  --gutter: 32px;
  --nav-h: 64px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink-2); background: var(--canvas); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: calc(var(--nav-h) + 8px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; border-radius: 4px; }
.on-navy :focus-visible { outline-color: var(--cobalt-soft); }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Type ---------- */
.display { font-size: clamp(40px, 6vw, 80px); line-height: 1; letter-spacing: var(--track-display); font-weight: var(--w-semi); color: var(--ink); text-wrap: balance; }
.h2 { font-size: clamp(28px, 3.3vw, 44px); line-height: 1.08; letter-spacing: var(--track-head); font-weight: var(--w-semi); color: var(--ink); text-wrap: balance; }
.nw { white-space: nowrap; }
.h2 .soft, .lede .soft { color: var(--ink-4); }
.lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--ink-3); letter-spacing: -0.005em; text-wrap: pretty; }
.lede strong { color: var(--ink); font-weight: var(--w-med); }
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: var(--w-med); color: var(--ink-2); border: 1px solid var(--line-2); background: var(--white); border-radius: 999px; padding: 5px 12px 5px 10px; }
.tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cobalt); }
.kicker { font-size: 13px; font-weight: var(--w-med); color: var(--cobalt); letter-spacing: 0; }
.label-xs { font-size: 11px; font-weight: var(--w-semi); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: var(--w-med); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.status--wait { background: var(--amber-bg); color: var(--amber); }
.status--ok { background: var(--green-bg); color: var(--green); }
.status--info { background: var(--pale); color: var(--cobalt); }
.status--draft { background: var(--surface); color: var(--ink-3); border: 1px solid var(--line); }
.status--future { color: var(--ink-3); border: 1px dashed var(--line-2); }
.status--building { background: var(--pale); color: #1D47C8; }
.illus-note { font-size: 12.5px; color: var(--ink-3); }
.on-navy .illus-note { color: var(--on-navy-2); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding-inline: 16px; border-radius: 8px; font-size: 15px; font-weight: var(--w-med); white-space: nowrap; border: 1px solid transparent; transition: background-color .15s, border-color .15s, color .15s; }
.btn-lg { height: 46px; padding-inline: 20px; font-size: 15.5px; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #1B2F55; }
.btn-cobalt { background: var(--cobalt); color: var(--white); }
.btn-cobalt:hover { background: var(--cobalt-hover); }
.btn-line { border-color: var(--line-2); background: var(--white); color: var(--ink); }
.btn-line:hover { border-color: var(--ink-4); }
.btn-ghost-navy { border-color: rgba(255,255,255,.22); color: var(--white); }
.btn-ghost-navy:hover { border-color: rgba(255,255,255,.5); }
.btn .icon { width: 16px; height: 16px; }

/* ---------- Demo dialog (preview) ---------- */
.demo { border: 0; padding: 0; border-radius: 16px; width: min(600px, calc(100% - 24px)); max-height: calc(100dvh - 24px); color: var(--ink-2); box-shadow: 0 40px 100px -20px rgba(16,32,61,.45); }
.demo::backdrop { background: rgba(16,32,61,.55); backdrop-filter: blur(2px); }
.demo[open] { animation: dlgIn .2s var(--ease); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(8px) scale(.99); } }
.demo__form { padding: 32px; }
.demo__head { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.demo__head h2 { font-size: 24px; letter-spacing: -0.02em; font-weight: var(--w-semi); color: var(--ink); line-height: 1.2; }
.demo__x { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; color: var(--ink-3); margin: -4px -6px 0 0; }
.demo__x:hover { background: var(--surface); color: var(--ink); }
.demo__note { margin: 14px 0 12px; font-size: 13.5px; background: var(--amber-bg); color: var(--amber); border-radius: 8px; padding: 9px 12px; }
.demo__note b { font-weight: var(--w-semi); }
.demo__intro { font-size: 15px; color: var(--ink-3); margin-bottom: 20px; }
.demo__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld { display: grid; gap: 6px; align-content: start; }
.fld--full { grid-column: 1 / -1; }
.fld label { font-size: 13.5px; font-weight: var(--w-med); color: var(--ink); }
.fld label span { font-weight: 400; color: var(--ink-3); font-size: 12.5px; margin-left: 4px; }
.fld input, .fld select, .fld textarea { font: inherit; font-size: 15px; color: var(--ink); width: 100%; border: 1px solid var(--line-2); border-radius: 8px; padding: 10px 12px; background: var(--white); }
.fld input:focus-visible, .fld select:focus-visible, .fld textarea:focus-visible { outline-offset: 0; border-color: var(--cobalt); }
.fld [aria-invalid="true"] { border-color: #C0362C; }
.fld__err { font-size: 12.5px; color: #B0301F; }
.demo__privacy { font-size: 13px; color: var(--ink-3); margin: 16px 0 20px; }
.demo__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.demo__result:not(:empty) { margin-top: 16px; font-size: 14px; color: var(--ink); background: var(--pale); border-radius: 8px; padding: 10px 12px; }


/* ---------- Skip link (keyboard users) ---------- */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: var(--white); padding: 10px 14px; border-radius: 8px; font-size: 14px; font-weight: var(--w-med); }
.skip-link:focus { top: 12px; }

/* ---------- 404 page ---------- */
.notfound { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center; padding: 48px var(--gutter); }
.notfound__brand img { width: 110px; margin-bottom: 24px; }

/* ---------- Demo form: live states ---------- */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.demo__result[data-tone="error"]:not(:empty) { background: #FDECEA; color: #8A2318; }
.demo__result[data-tone="info"]:not(:empty) { background: var(--pale); color: var(--ink); }
.btn[aria-disabled="true"], .btn:disabled { opacity: .55; cursor: not-allowed; }
.btn[aria-busy="true"] { cursor: progress; }
.demo__done { padding: 40px 32px 32px; display: grid; justify-items: start; gap: 12px; }
.demo__done h2 { font-size: 24px; letter-spacing: -0.02em; font-weight: var(--w-semi); color: var(--ink); }
.demo__done p { color: var(--ink-3); font-size: 15.5px; margin-bottom: 8px; }
.demo__done-ic { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--green-bg); color: var(--green); }
@media (max-width: 860px) { .demo__done { padding: 28px 18px 22px; } }

/* ---------- Utilities (no inline styles, so the strict security policy holds) ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.demo__captcha { margin-top: 18px; min-height: 78px; }
.demo__captcha-note { margin-top: 6px; font-size: 12.5px; color: var(--ink-3); }

/* ---------- Demo dialog: opened non-modally (see form.js) so hCaptcha's challenge can appear above it.
   These rules reproduce the modal look exactly: centred card, same backdrop. ---------- */
.demo { position: fixed; inset: 0; margin: auto; height: fit-content; z-index: 1000; max-width: calc(100% - 6px - 2em); /* same cap the browser applies to modal dialogs */ }
.demo-backdrop { position: fixed; inset: 0; z-index: 999; background: rgba(16,32,61,.55); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.demo-is-open, .demo-is-open body { overflow: hidden; }
.demo { overflow-y: auto; overscroll-behavior: contain; }
.demo__captcha-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================================
   Introduction site (Oct 2026): short company page whose only job is a meeting request.
   No product screens; the brand carries the page.
   ========================================================================== */
.kicker { margin-bottom: 12px; }
.h2--navy { color: var(--white); }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.9); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.is-scrolled { border-bottom-color: var(--line); }
.top__inner { display: flex; align-items: center; gap: 28px; height: var(--nav-h); }
.top__brand img { width: 100px; height: auto; }
.top__links { display: flex; gap: 4px; margin-left: 12px; }
.top__links a { display: inline-flex; align-items: center; height: 36px; padding-inline: 12px; border-radius: 8px; font-size: 15px; color: var(--ink-2); }
.top__links a:hover { background: var(--surface); color: var(--ink); }
.top__cta { margin-left: auto; }

/* ---------- Intro ---------- */
.intro { padding-block: clamp(64px, 9vw, 120px); background: linear-gradient(180deg, var(--white) 0%, #F7F9FD 100%); border-bottom: 1px solid var(--line); }
.intro__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.intro__copy .display { margin: 22px 0 20px; font-size: clamp(40px, 5.2vw, 68px); line-height: 1.02; max-width: 12em; }
.intro__copy .lede { max-width: 32em; color: var(--ink-3); }
.intro__copy .display .accent { color: var(--cobalt); }
.intro__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.intro__mark { aspect-ratio: 1; max-width: 400px; width: 100%; justify-self: end; border-radius: 28px; background: var(--navy); display: grid; place-content: center; justify-items: center; gap: 6px; position: relative; overflow: hidden; color: var(--on-navy-2); }
.intro__mark::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--navy-line) 1px, transparent 1px), linear-gradient(90deg, var(--navy-line) 1px, transparent 1px); background-size: 40px 40px; opacity: .6; }
.intro__mark > * { position: relative; }
.intro__ar { font-family: "Plex Arabic", var(--font); font-weight: 600; font-size: clamp(64px, 8vw, 104px); line-height: 1.1; color: var(--white); }

/* ---------- Content bands ---------- */
.band { padding-block: clamp(64px, 8vw, 104px); }
.band--soft { background: var(--surface); border-block: 1px solid var(--line); }
.band__head { max-width: 760px; margin-bottom: 40px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 8px; align-content: start; }
.card__ic { width: 40px; height: 40px; padding: 10px; border-radius: 10px; background: var(--pale); color: var(--cobalt); margin-bottom: 10px; }
.card h3, .steps h3 { font-size: 19px; font-weight: var(--w-semi); letter-spacing: -0.015em; color: var(--ink); }
.card p, .steps p { color: var(--ink-3); font-size: 15.5px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 8px; align-content: start; }
.steps__n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: var(--w-semi); color: var(--white); background: var(--cobalt); margin-bottom: 10px; }

.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 72px; align-items: center; }
.about__copy { display: grid; gap: 16px; }
.about__copy .kicker { margin-bottom: -4px; }
.about__copy > p:not(.kicker) { font-size: 17px; color: var(--ink-3); line-height: 1.6; max-width: 34em; }

/* ---------- Contact (navy) ---------- */
.contact { background: var(--navy); color: var(--on-navy-2); padding-block: clamp(72px, 9vw, 112px); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.contact__copy { display: grid; gap: 18px; justify-items: start; }
.contact__copy p { font-size: 17px; max-width: 30em; }
.contact__copy .btn { margin-top: 8px; }
.contact__list { display: grid; gap: 0; border-top: 1px solid var(--navy-line); }
.contact__list li { display: flex; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--navy-line); }
.contact__list .icon { width: 40px; height: 40px; padding: 10px; border-radius: 10px; background: rgba(143,176,255,.1); color: var(--cobalt-soft); }
.contact__list div { display: grid; gap: 2px; }
.contact__k { font-size: 12px; font-weight: var(--w-semi); letter-spacing: .06em; text-transform: uppercase; color: #8E9BB5; }
.contact__list a, .contact__list div > span:last-child { color: var(--white); font-size: 17px; font-weight: var(--w-med); }
.contact__list a:hover { color: var(--cobalt-soft); }
/* Placeholder until the real phone number and business email are confirmed */
.ph { display: inline-block; justify-self: start; border: 1px dashed rgba(255,255,255,.35); border-radius: 6px; padding: 1px 8px; font-style: italic; }

/* ---------- Footer ---------- */
.foot { padding-block: 36px; border-top: 1px solid var(--line); }
.foot__inner { display: flex; align-items: center; gap: 24px 40px; flex-wrap: wrap; }
.foot__brand { display: flex; align-items: center; gap: 20px; margin-right: auto; }
.foot__brand img { width: 92px; }
.foot__brand p { font-size: 14px; color: var(--ink-3); }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 14px; }
.foot nav a { color: var(--ink-2); padding-block: 6px; }
.foot nav a:hover { color: var(--cobalt); }
.foot__copy { font-size: 13px; color: var(--ink-3); }

/* ---------- Tablet and phone ---------- */
@media (max-width: 960px) {
  .top__links { display: none; }
  .intro__grid, .about, .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .intro__mark { justify-self: start; max-width: none; aspect-ratio: auto; padding: 32px 24px; grid-auto-flow: column; justify-content: start; align-items: center; gap: 18px; border-radius: 20px; }
  .intro__ar { font-size: 56px; }
  .cards, .steps { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  :root { --gutter: 20px; --nav-h: 60px; }
  .top__cta { height: 44px; padding-inline: 14px; font-size: 14.5px; }
  .top__brand { display: inline-flex; align-items: center; min-height: 44px; }
  .top__brand img { width: 86px; }
  .intro__actions .btn { flex: 1; }
  .card, .steps li { padding: 22px 20px; }
  .band__head { margin-bottom: 28px; }
  .foot__brand { flex-direction: column; align-items: flex-start; gap: 8px; }
  .foot nav a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; }
  .demo__form { padding: 22px 18px; }
  .demo__fields { grid-template-columns: 1fr; }
  .demo__actions .btn { flex: 1; }
}
@media (pointer: coarse) {
  .demo__x { width: 44px; height: 44px; margin: -8px -10px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Hero brand card: a living version of the Nass mark (same shapes as the logo kit) ---------- */
.intro__mark { gap: 18px; }
.mark { width: 128px; height: auto; overflow: visible; }
.mark__body { fill: var(--white); }
.mark__head { fill: var(--cobalt-soft); transform-box: fill-box; transform-origin: center; }
.intro__ar { margin-top: 4px; background: linear-gradient(90deg, var(--cobalt-soft), var(--white) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-inline: 8px; }
.morph__ar { color: var(--cobalt); font-family: "Plex Arabic", var(--font); }

/* ---------- Motion (only when the visitor hasn't asked for reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .mark__body { animation: markRise .8s var(--ease) both; }
  .mark__body--r { animation-delay: .12s; }
  /* the two heads drop in, then keep gently nodding, like two people in conversation */
  .mark__head--l { animation: headDrop .7s cubic-bezier(.3,1.5,.5,1) .45s both, nod 4.2s ease-in-out 1.6s infinite; }
  .mark__head--r { animation: headDrop .7s cubic-bezier(.3,1.5,.5,1) .6s both, nod 4.2s ease-in-out 2.3s infinite; }
  /* ناس appears the way Arabic is written: from right to left */
  .intro__ar { animation: writeRtl 1.1s var(--ease) .9s both; }
  /* Content is always visible. When a block first scrolls into view, site.js adds .is-in and it eases up
     into place. Nothing starts hidden, so slow phones, link previews and full-page captures see everything. */
  .js-motion [data-reveal].is-in { animation: rvIn .6s var(--ease) backwards; }
  .js-motion .cards[data-reveal].is-in, .js-motion .steps[data-reveal].is-in, .js-motion .tools[data-reveal].is-in { animation: none; }
  .js-motion .cards[data-reveal].is-in > li { animation: rvIn .5s var(--ease) backwards; }
  .js-motion .cards[data-reveal].is-in > li:nth-child(2) { animation-delay: .1s; }
  .js-motion .cards[data-reveal].is-in > li:nth-child(3) { animation-delay: .2s; }
  .card, .steps li { transition: border-color .2s, box-shadow .2s, transform .2s; }
  .card:hover, .steps li:hover { border-color: var(--line-2); box-shadow: 0 12px 28px -18px rgba(16,32,61,.25); }
}
@keyframes markRise { from { opacity: 0; transform: translateY(60px); } }
@keyframes rvIn { from { opacity: .35; transform: translateY(14px); } }
@keyframes headDrop { from { opacity: 0; transform: translateY(-140%); } }
@keyframes nod { 0%, 70%, 100% { transform: none; } 80% { transform: translateY(-12%); } 90% { transform: translateY(3%); } }
@keyframes writeRtl { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(10px, -16px); } }
@media (max-width: 960px) {
  .mark { width: 64px; }
  .intro__mark { gap: 20px; }
}

/* ===== Motion, round 2 ===== */
/* 6. Header: fixed, and slimmer once the page scrolls (fixed so the page doesn't jump when it shrinks) */
.top { position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px); }
body { padding-top: var(--nav-h); }
.top__inner { transition: height .3s var(--ease); }
.top__brand img { transition: width .3s var(--ease); }
.top.is-scrolled { box-shadow: 0 6px 20px -16px rgba(16,32,61,.35); }
.top.is-scrolled .top__inner { height: calc(var(--nav-h) - 10px); }
.top.is-scrolled .top__brand img { width: 86px; }
@media (max-width: 860px) { .top.is-scrolled .top__brand img { width: 74px; } }


/* 3. Logo card: a small network of people that links up and drifts */
.intro__mark > .intro__net { position: absolute; inset: 0; width: 100%; height: 100%; }
/* 8. Logo card leans toward the mouse (desktop); values set by site.js */
.intro__mark { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease); }

/* 2. "How it works": numbers sit on a line that draws from 1 to 3 */
.steps { position: relative; }
.steps li { position: relative; }
.steps::before { content: ""; position: absolute; z-index: 1; top: 44px; left: 44px; right: calc((100% - 32px) / 3 - 44px); height: 2px; background: var(--cobalt); transform-origin: left center; }
.steps__n { position: relative; z-index: 2; box-shadow: 0 0 0 6px var(--white); }
@media (max-width: 960px) { .steps::before { display: none; } }

/* 7. About: "Nass" turns into "ناس" (without motion both simply show side by side) */
.morph__en { color: var(--ink); }

@media (prefers-reduced-motion: no-preference) {

  .js-motion .steps::before { transform: scaleX(0); transition: transform 1.4s var(--ease) .3s; }
  .js-motion .steps.is-in::before { transform: scaleX(1); }
  .js-motion .steps .steps__n { background: var(--pale); color: var(--cobalt); transition: background-color .3s, color .3s, transform .3s; }
  .js-motion .steps.is-in li:nth-child(1) .steps__n { transition-delay: .3s; }
  .js-motion .steps.is-in li:nth-child(2) .steps__n { transition-delay: 1s; }
  .js-motion .steps.is-in li:nth-child(3) .steps__n { transition-delay: 1.7s; }
  .js-motion .steps.is-in .steps__n { background: var(--cobalt); color: var(--white); animation: pop .5s var(--ease) both; }
  .js-motion .steps.is-in li:nth-child(1) .steps__n { animation-delay: .3s; }
  .js-motion .steps.is-in li:nth-child(2) .steps__n { animation-delay: 1s; }
  .js-motion .steps.is-in li:nth-child(3) .steps__n { animation-delay: 1.7s; }

  /* 4. Card icons: play once as the cards appear, again on hover */
  .card__ic { transform-box: fill-box; transform-origin: center; }
}
@media (prefers-reduced-motion: no-preference) and (hover: none) {
  .js-motion .cards.is-in .card__ic--print { animation: icPrint .9s var(--ease) .5s; }
  .js-motion .cards.is-in .card__ic--flip { animation: icFlip .9s var(--ease) .65s; }
  .js-motion .cards.is-in .card__ic--nod { animation: icNod .9s var(--ease) .8s; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .card:hover .card__ic--print { animation: icPrint .9s var(--ease); }
  .card:hover .card__ic--flip { animation: icFlip .9s var(--ease); }
  .card:hover .card__ic--nod { animation: icNod .9s var(--ease); }
}
@media (prefers-reduced-motion: no-preference) {

  .js-motion .morph { display: inline-grid; vertical-align: bottom; }
  .js-motion .morph > span { grid-area: 1 / 1; justify-self: end; transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .js-motion .morph__ar { opacity: 0; transform: translateY(45%); }
  .js-motion .is-in .morph__en { opacity: 0; transform: translateY(-45%); transition-delay: 1s; }
  .js-motion .is-in .morph__ar { opacity: 1; transform: none; transition-delay: 1.15s; }
}
@keyframes pop { 0% { transform: scale(1); } 50% { transform: scale(1.18); } 100% { transform: scale(1); } }
@keyframes icPrint { 0%, 100% { transform: none; } 30% { transform: translateY(-3px); } 60% { transform: translateY(2px); } }
@keyframes icFlip { 0% { transform: perspective(80px) rotateX(0); } 50% { transform: perspective(80px) rotateX(180deg); } 100% { transform: perspective(80px) rotateX(360deg); } }
@keyframes icNod { 0%, 100% { transform: none; } 35% { transform: translateY(2px) rotate(-6deg); } 70% { transform: translateY(-1px) rotate(4deg); } }

/* ===== Round 3: calmer rhythm + Tools section (names and one-line teasers only) ===== */
.band { padding-block: clamp(72px, 9vw, 120px); }
.band__head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.band__note { font-size: 16.5px; color: var(--ink-3); max-width: 26em; justify-self: end; padding-bottom: 6px; }

.tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tool { display: grid; gap: 6px; align-content: start; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color .2s; }
.tool__ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--pale); color: var(--cobalt); margin-bottom: 10px; transition: background-color .25s, color .25s; }
.tool__ic .icon { width: 20px; height: 20px; }
.tool h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 16.5px; font-weight: var(--w-semi); letter-spacing: -0.01em; color: var(--ink); }
.tool p { font-size: 14.5px; color: var(--ink-3); }
.tool:hover { border-color: #C9D6F5; }
.tool:hover .tool__ic { background: var(--cobalt); color: var(--white); }
.soon { font-size: 11.5px; font-weight: var(--w-med); letter-spacing: 0; padding: 2px 8px; border-radius: 999px; background: var(--pale); color: #1D47C8; }
.tools__more { margin-top: 28px; text-align: center; color: var(--ink-3); font-size: 15.5px; }
.tools__more a { color: var(--cobalt); font-weight: var(--w-med); margin-inline-start: 6px; }
.tools__more a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* "Who it's for" as plain columns, so the tool tiles are the only cards near the top */
.cards--plain { gap: 40px; }
.cards--plain .card { background: transparent; border: 0; border-top: 1px solid var(--line-2); border-radius: 0; padding: 24px 0 0; }
.cards--plain .card:hover { box-shadow: none; }

@media (prefers-reduced-motion: no-preference) {
  .js-motion .tools[data-reveal].is-in > li { animation: rvIn .45s var(--ease) backwards; }
  .js-motion .tools.is-in > li:nth-child(2) { animation-delay: .05s; }
  .js-motion .tools.is-in > li:nth-child(3) { animation-delay: .1s; }
  .js-motion .tools.is-in > li:nth-child(4) { animation-delay: .15s; }
  .js-motion .tools.is-in > li:nth-child(5) { animation-delay: .2s; }
  .js-motion .tools.is-in > li:nth-child(6) { animation-delay: .25s; }
  .js-motion .tools.is-in > li:nth-child(7) { animation-delay: .3s; }
  .js-motion .tools.is-in > li:nth-child(8) { animation-delay: .35s; }
}
@media (max-width: 960px) {
  .band__head--split { grid-template-columns: 1fr; gap: 14px; }
  .band__note { justify-self: start; }
  .tools { grid-template-columns: repeat(2, 1fr); }
  .cards--plain { gap: 28px; }
}
@media (max-width: 520px) {
  .tool { padding: 16px; }
  .tool__ic { width: 36px; height: 36px; margin-bottom: 6px; }
  .tool h3 { font-size: 15.5px; }
  .tool p { font-size: 14px; }
}
@media (max-width: 860px) { .tools__more a { display: inline-flex; align-items: center; min-height: 44px; } }

/* ===== Round 4: "Solutions" menu (by role, by industry, getting started) ===== */
.drop { position: relative; }
.drop__btn { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding-inline: 12px; border-radius: 8px; font-size: 15px; color: var(--ink-2); }
.drop__btn:hover, .drop__btn[aria-expanded="true"] { background: var(--surface); color: var(--ink); }
.drop__chev { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.drop__btn[aria-expanded="true"] .drop__chev { transform: rotate(180deg); }
.drop__panel { position: absolute; top: calc(100% + 12px); left: -16px; width: min(840px, calc(100vw - 48px)); display: grid; grid-template-columns: repeat(3, 1fr); padding: 26px 8px 22px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px -24px rgba(16,32,61,.28), 0 2px 6px rgba(16,32,61,.05); }
.drop__panel::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; } /* hover bridge */
.drop__col { display: grid; align-content: start; gap: 2px; padding-inline: 20px; }
.drop__col + .drop__col { border-left: 1px solid var(--line); }
.drop__h { font-size: 16px; font-weight: var(--w-semi); color: var(--ink); }
.drop__sub { font-size: 13.5px; color: var(--ink-3); padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.top__links .drop__panel a { display: grid; gap: 1px; height: auto; padding: 8px 10px; margin-inline: -10px; border-radius: 8px; color: var(--ink); }
.top__links .drop__panel a:hover { background: var(--surface); }
.drop__panel b { font-size: 15px; font-weight: var(--w-med); }
.drop__panel span { font-size: 13.5px; color: var(--ink-3); }
@media (prefers-reduced-motion: no-preference) { .drop__panel:not([hidden]) { animation: dropIn .18s var(--ease); } }
@keyframes dropIn { from { opacity: 0; transform: translateY(6px); } }

/* "Who it's for": a role row above the industry row */
.who__label { font-size: 12px; font-weight: var(--w-semi); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; scroll-margin-top: calc(var(--nav-h) + 24px); }
.cards + .who__label { margin-top: 56px; }

/* ===== Hero, round 3: centred headline with an email start box; brighter logo card below ===== */
.intro__center { display: grid; justify-items: center; text-align: center; gap: clamp(48px, 6vw, 72px); }
.intro__center .intro__copy { display: grid; justify-items: center; }
.intro__center .intro__copy .display { margin: 22px auto 22px; font-size: clamp(42px, 6.4vw, 88px); line-height: 1.02; max-width: 13em; }
.intro__center .intro__copy .lede { max-width: 34em; margin-inline: auto; }
.start { display: flex; align-items: center; gap: 6px; width: 100%; max-width: 540px; margin-top: 34px; padding: 6px; background: var(--white); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 18px 40px -22px rgba(36,91,255,.55), 0 0 0 5px rgba(36,91,255,.06); transition: border-color .15s, box-shadow .15s; }
.start:focus-within { border-color: var(--cobalt); box-shadow: 0 18px 40px -22px rgba(36,91,255,.55), 0 0 0 5px rgba(36,91,255,.14); }
.start__input { flex: 1; min-width: 0; height: 46px; border: 0; background: transparent; padding-inline: 14px; font: inherit; font-size: 16px; color: var(--ink); outline: none; }
.start__input::placeholder { color: var(--ink-4); }
.start__input[aria-invalid="true"] { color: #B42318; }
.start__err { margin-top: 10px; font-size: 14px; color: #B42318; }
.start__btn { border-radius: 10px; }
.intro__for { margin-top: 18px; font-size: 14px; color: var(--ink-3); }

/* Brighter logo card: cobalt instead of navy, same mark, network and tilt */
.intro__mark { justify-self: center; width: 100%; max-width: 880px; aspect-ratio: 16 / 6; grid-auto-flow: column; justify-content: center; align-items: center; gap: 40px; border-radius: 28px;
  background: radial-gradient(120% 140% at 15% 0%, #7FA4FF 0%, rgba(127,164,255,0) 55%), linear-gradient(135deg, #3A6CFF 0%, #245BFF 50%, #4C80FF 100%);
  box-shadow: 0 30px 60px -36px rgba(36,91,255,.7); }
.intro__mark::before { background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); opacity: .7; }
.mark__body { fill: var(--white); }
.mark__head { fill: var(--navy); }
.intro__ar { background: linear-gradient(90deg, var(--white), var(--pale) 70%); -webkit-background-clip: text; background-clip: text; }
@media (max-width: 960px) {
  .intro__mark { aspect-ratio: auto; padding: 32px 24px; gap: 20px; border-radius: 20px; justify-self: stretch; }
}
@media (max-width: 560px) {
  .start { flex-direction: column; align-items: stretch; padding: 8px; }
  .start__input { text-align: center; }
  .start__btn { width: 100%; }
}
.intro__center .display .accent { display: block; }

/* Logo card, confirmed option 1: light pale-blue card with the logo in its normal colours */
.intro__mark { background: linear-gradient(135deg, #F4F8FF 0%, #E6EEFF 60%, #DCE7FF 100%); box-shadow: 0 30px 60px -40px rgba(36,91,255,.45); border: 1px solid #D6E2FF; }
.intro__mark::before { background-image: linear-gradient(rgba(36,91,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(36,91,255,.08) 1px, transparent 1px); }
.mark__body { fill: var(--navy); }
.mark__head { fill: var(--cobalt); }
.intro__ar { background: linear-gradient(90deg, var(--cobalt), var(--navy) 70%); -webkit-background-clip: text; background-clip: text; }

/* Page 2 (Tools): the "same employee file" line is the section's main message, so it reads large */
.tools__head .tools__lead { margin-top: 18px; max-width: 44em; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.4; letter-spacing: -0.01em; color: var(--ink-2); text-wrap: pretty; }
.tools__lead strong { color: var(--cobalt); font-weight: var(--w-semi); }

/* Page 2: heading on the left, a small illustrated peek of Nass on the right */
.tools__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; margin-bottom: 48px; }
.tools__top .band__head { margin-bottom: 0; }
.tools__top .tools__lead { max-width: 24em; }
.peek { margin: 0; }
.peek__screen { border: 1px solid var(--line-2); border-radius: 16px; background: var(--white); overflow: hidden; box-shadow: 0 30px 60px -40px rgba(16,32,61,.45); font-size: 12px; color: var(--ink); pointer-events: none; user-select: none; }
.peek__bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.peek__search { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink-3); min-width: 46%; }
.peek .icon { width: 13px; height: 13px; flex: none; }
.peek__me { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 9px; font-weight: 600; }
.peek__body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.peek__main { padding: 16px; display: grid; gap: 10px; align-content: start; }
.peek__hi { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.peek__ask { border: 1px solid #C9D7FF; border-radius: 10px; padding: 10px; box-shadow: 0 0 0 3px rgba(36,91,255,.06); }
.peek__q { min-height: 1.5em; font-size: 13px; }
.peek__caret { display: inline-block; width: 1.5px; height: 1em; margin-left: 1px; vertical-align: -2px; background: var(--cobalt); opacity: 0; }
.peek.is-typing .peek__caret { opacity: 1; animation: peekBlink 1s steps(1) infinite; }
.peek__askbar { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; color: var(--ink-3); font-size: 10.5px; }
.peek__askbar span:first-child { display: inline-flex; align-items: center; gap: 4px; }
.peek__send { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--cobalt); color: var(--white); }
.peek__answer { display: grid; gap: 8px; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.peek.is-asking .peek__answer { opacity: 0; transform: translateY(6px); }
.peek__answer > p { font-size: 12.5px; }
.peek__row { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; }
.peek__av { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 9px; font-weight: 600; flex: none; }
.peek__meta { color: var(--ink-3); }
.peek__pill { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 10.5px; color: var(--ink-2); white-space: nowrap; }
.peek__side { padding: 12px; background: var(--surface); border-left: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.peek__k { font-size: 10.5px; color: var(--ink-3); font-weight: 500; }
.peek__tile { display: grid; gap: 4px; padding: 9px 10px; background: var(--white); border: 1px solid var(--line); border-radius: 9px; }
.peek__tile > span { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-3); font-size: 10.5px; }
.peek__tile b { font-size: 18px; letter-spacing: -0.02em; line-height: 1.1; } .peek__tile small { font-size: 11px; font-weight: 400; color: var(--ink-3); }
.peek__tile .peek__word { font-size: 14px; }
.peek__tile i { display: block; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--cobalt) 86%, var(--pale) 86%); }
.peek__tile em { justify-self: start; font-style: normal; font-size: 10px; padding: 1px 7px; border-radius: 999px; background: var(--amber-bg); color: var(--amber); }
@keyframes peekBlink { 50% { opacity: 0; } }
@media (max-width: 960px) { .tools__top { grid-template-columns: 1fr; gap: 32px; } .tools__top .tools__lead { max-width: none; } }
@media (max-width: 560px) { .peek__body { grid-template-columns: 1fr; } .peek__side { display: none; } }

/* About: ناس turns over to show Nass, on hover (mouse) or on tap */
.flip { display: inline-grid; padding: 0; border: 0; background: none; font: inherit; color: inherit; letter-spacing: inherit; cursor: pointer; perspective: 600px; vertical-align: bottom; }
.flip__in { display: grid; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.3,1.3,.5,1); }
.flip__ar, .flip__en { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; justify-self: center; }
/* Front: the Nass wordmark itself (same artwork as the header logo); back: ناس */
.flip__en { display: grid; align-items: center; }
.flip__en img { height: 1.24em; width: auto; margin: -0.17em -0.06em -0.1em; } /* the artwork has padding around the letters */
.flip__ar { transform: rotateX(180deg); font-family: "Plex Arabic", var(--font); color: var(--cobalt); }
.flip.is-flipped .flip__in { transform: rotateX(180deg); }
@media (hover: hover) { .flip:hover .flip__in { transform: rotateX(180deg); } }
.flip:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 4px; border-radius: 6px; }

/* How it works on narrow screens: the steps stack, so the line runs down from 1 to 2 to 3 */
@media (max-width: 960px) {
  /* number on the left, text on the right, so the line never crosses the text */
  .steps li { grid-template-columns: 32px minmax(0, 1fr); column-gap: 16px; row-gap: 6px; }
  .steps__n { grid-row: 1 / span 2; margin-bottom: 0; }
  .steps li > h3, .steps li > p { grid-column: 2; }
  .steps li > h3 { padding-top: 4px; }
  .steps li:not(:last-child)::after { content: ""; position: absolute; z-index: 1; left: 35px; top: 38px; width: 2px; height: calc(100% + 16px); background: var(--cobalt); transform-origin: top center; }
}
@media (max-width: 960px) and (prefers-reduced-motion: no-preference) {
  .js-motion .steps li:not(:last-child)::after { transform: scaleY(0); transition: transform .7s var(--ease); }
  .js-motion .steps.is-in li:nth-child(1)::after { transform: scaleY(1); transition-delay: .4s; }
  .js-motion .steps.is-in li:nth-child(2)::after { transform: scaleY(1); transition-delay: 1.1s; }
}
/* The step cards don't fade or move (a fading card is drawn as its own layer, so the line would pass over
   its number); the line drawing from 1 to 3 and the numbers lighting up are the animation. */
@media (prefers-reduced-motion: no-preference) { .js-motion .steps[data-reveal] > li { opacity: 1; transform: none; } }

/* Logo card: room below ناس so the tail of the س isn't cut off (the gradient text and the writing-in
   animation both clip to the text's box), and the moving dots stay behind the logo and the word */
.intro__mark .intro__ar { padding: 0.04em 0.12em 0.26em; margin-bottom: -0.22em; line-height: 1.15; }
.intro__mark > .intro__net { z-index: 0; }
.intro__mark > .mark, .intro__mark > .intro__ar { z-index: 1; }

/* Privacy policy page */
.legal__top { border-bottom: 1px solid var(--line); background: var(--white); }
.legal__bar { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h, 68px); }
.legal { max-width: 760px; padding-block: clamp(48px, 7vw, 88px); }
.legal .h2 { margin-top: 8px; }
.legal__date { margin-top: 10px; font-size: 14px; color: var(--ink-3); }
.legal__draft { margin-bottom: 32px; padding: 12px 16px; border-radius: 10px; background: var(--amber-bg); color: var(--amber); font-size: 14.5px; font-weight: 500; }
.legal h2 { margin-top: 40px; font-size: 21px; letter-spacing: -0.015em; color: var(--ink); }
.legal p, .legal li { margin-top: 12px; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); }
.legal ul { padding-left: 1.2em; list-style: disc; }
.legal li { margin-top: 8px; }
.legal a { color: var(--cobalt); text-decoration: underline; text-underline-offset: 3px; }
.legal-page { padding-top: 0; }
.legal p.kicker { margin-top: 0; font-size: 13px; line-height: 1.4; color: var(--cobalt); }

/* ===== Phase A: phone and tablet menu ===== */
.nav-a__burger, .mnav { display: none; }
@media (max-width: 960px) {
  .top__inner { gap: 10px; }
  .nav-a__burger { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--white); color: var(--ink); }
  .nav-a__bars { display: grid; gap: 4px; width: 18px; }
  .nav-a__bars span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s var(--ease), opacity .2s; }
  .nav-a__burger[aria-expanded="true"] .nav-a__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-a__burger[aria-expanded="true"] .nav-a__bars span:nth-child(2) { opacity: 0; }
  .nav-a__burger[aria-expanded="true"] .nav-a__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  /* The panel fills the screen below the header (site.js sets its top edge), so it never half-covers content */
  .mnav:not([hidden]) { display: block; position: fixed; left: 0; right: 0; bottom: 0; top: var(--nav-h); overflow-y: auto; overscroll-behavior: contain; background: var(--white); border-top: 1px solid var(--line); }
  .mnav__inner { display: grid; padding-block: 8px 32px; }
  .mnav__link { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 56px; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: none; font: inherit; font-size: 18px; font-weight: var(--w-med); color: var(--ink); text-align: left; }
  .mnav__chev { width: 18px; height: 18px; transition: transform .2s var(--ease); }
  .mnav__toggle[aria-expanded="true"] .mnav__chev { transform: rotate(180deg); }
  .mnav__sub:not([hidden]) { display: grid; padding: 6px 0 14px 14px; border-bottom: 1px solid var(--line); }
  .mnav__sub a { display: flex; align-items: center; min-height: 44px; font-size: 16px; color: var(--ink-2); }
  .mnav__h { margin-top: 10px; font-size: 12px; font-weight: var(--w-semi); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
  .mnav__cta { margin-top: 24px; width: 100%; }
  html.menu-is-open { overflow: hidden; }
  /* The header's blur effect would make the fixed panel size itself to the header, so it's off while open */
  html.menu-is-open .top { background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (max-width: 380px) {
  .top__inner { gap: 8px; }
  .top__brand img, .top.is-scrolled .top__brand img { width: 72px; }
  .top__cta { padding-inline: 12px; font-size: 14px; }
}
@media (max-width: 960px) and (prefers-reduced-motion: no-preference) {
  .mnav:not([hidden]) { animation: mnavIn .28s var(--ease); }
  .mnav:not([hidden]) .mnav__inner > * { animation: mnavItem .36s var(--ease) backwards; }
  .mnav:not([hidden]) .mnav__inner > :nth-child(2) { animation-delay: .04s; }
  .mnav:not([hidden]) .mnav__inner > :nth-child(3) { animation-delay: .08s; }
  .mnav:not([hidden]) .mnav__inner > :nth-child(4) { animation-delay: .12s; }
  .mnav:not([hidden]) .mnav__inner > :nth-child(5) { animation-delay: .16s; }
  .mnav:not([hidden]) .mnav__inner > :nth-child(6) { animation-delay: .2s; }
  .mnav:not([hidden]) .mnav__inner > :nth-child(7) { animation-delay: .24s; }
  .mnav:not([hidden]) .mnav__inner > :nth-child(8) { animation-delay: .28s; }
  .mnav__link { transition: background-color .15s, color .15s; }
  .mnav__link:active { background: var(--surface); }
  /* Solutions list grows open instead of jumping */
  .mnav__sub { display: grid; grid-template-rows: 0fr; overflow: hidden; padding-block: 0; border-bottom-width: 0; transition: grid-template-rows .3s var(--ease), padding .3s var(--ease); }
  .mnav__sub > div { min-height: 0; }
  .mnav__sub.is-open { grid-template-rows: 1fr; padding: 6px 0 14px 14px; border-bottom-width: 1px; }
  .mnav__sub[hidden] { display: grid; }
}
.mnav.is-leaving { animation: mnavOut .18s var(--ease) forwards !important; }
.mnav.is-leaving .mnav__inner > * { animation: none !important; }
@keyframes mnavOut { to { opacity: 0; transform: translateY(-6px); } }
@keyframes mnavIn { from { opacity: 0; transform: translateY(-8px); } }
@keyframes mnavItem { from { opacity: 0; transform: translateY(8px); } }

/* ===== Phase A: forms and touch targets ===== */
/* Phones: 16px text in form fields, so iPhones don't zoom in when a field is tapped */
@media (max-width: 860px) { .fld input, .fld select, .fld textarea { font-size: 16px; } }
/* Hero email box on phones: the field itself was squeezed to 22px tall by the column layout */
@media (max-width: 560px) { .start__input { flex: none; height: 48px; } }
/* The form's privacy-policy link looks like a link */
.demo__privacy a { color: var(--cobalt); text-decoration: underline; text-underline-offset: 2px; }
.demo__privacy a:hover { color: var(--cobalt-hover); }
/* Contact phone and email: comfortable tap height */
.contact__list a { display: inline-flex; align-items: center; min-height: 44px; }

/* ===== Phase B: premium upgrade (same brand tokens; new sections only) ===== */
/* Hero: slightly calmer headline; trust line; product-style preview */
.intro__center .intro__copy .display { font-size: clamp(40px, 5.6vw, 76px); }
.intro__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.intro__trust li { display: inline-flex; align-items: center; gap: 7px; }
.intro__trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cobalt); }
.shot { margin: 0; width: 100%; max-width: 1040px; justify-self: center; display: grid; gap: 12px; }
.shot figcaption { font-size: 12.5px; color: var(--ink-3); text-align: center; }
.shot__frame { position: relative; border: 1px solid var(--line-2); border-radius: 18px; background: var(--white); overflow: hidden; box-shadow: 0 40px 80px -48px rgba(16,32,61,.5), 0 0 0 1px rgba(36,91,255,.04); font-size: 13px; color: var(--ink); pointer-events: none; user-select: none; }
.shot__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--surface); }
.shot__bar span { width: 10px; height: 10px; border-radius: 50%; background: #D3DBE7; }
.shot__bar em { margin-left: 10px; font-style: normal; font-size: 12px; color: var(--ink-3); }
.shot__body { display: grid; grid-template-columns: 168px minmax(0, 1fr); min-height: 380px; }
.shot__side { display: grid; align-content: start; gap: 2px; padding: 16px 12px; background: var(--navy); color: var(--on-navy-2); }
.shot__side b { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--cobalt-soft); padding: 4px 10px 10px; }
.shot__side i { font-style: normal; padding: 8px 10px; border-radius: 8px; font-size: 13px; }
.shot__side i.is-on { background: rgba(255,255,255,.1); color: var(--white); }
.shot__main { padding: 20px 22px; display: grid; gap: 16px; align-content: start; }
.shot__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.shot__hi { font-size: 19px; font-weight: var(--w-semi); letter-spacing: -0.02em; }
.shot__sub { font-size: 12px; color: var(--ink-3); }
.shot__pill { font-size: 11.5px; font-weight: var(--w-med); padding: 4px 10px; border-radius: 999px; background: var(--amber-bg); color: var(--amber); white-space: nowrap; }
.shot__kpis { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.shot__kpis > div { display: grid; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.shot__kpis small { font-size: 11px; color: var(--ink-3); }
.shot__kpis b { font-size: 24px; letter-spacing: -0.03em; line-height: 1; } .shot__kpis b span { font-size: 13px; font-weight: 400; color: var(--ink-3); }
.shot__kpis i { display: block; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--cobalt) var(--w, 0%), var(--pale) var(--w, 0%)); }
.shot__kpis i.w90 { --w: 90%; }
.shot__kpis em { font-style: normal; font-size: 11px; color: var(--amber); } .shot__kpis em.ok { color: var(--green); }
.shot__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.shot__card { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; display: grid; gap: 10px; align-content: start; }
.shot__t { font-size: 12.5px; font-weight: var(--w-semi); }
.shot__card ul { display: grid; gap: 6px; }
.shot__card li { display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.shot__card li > span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shot__card li b { font-size: 11.5px; padding: 4px 10px; border-radius: 6px; background: var(--cobalt); color: var(--white); font-weight: var(--w-med); }
.shot__card .av { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 9px; font-weight: 600; flex: none; }
.shot__bars { display: flex; align-items: flex-end; gap: 6px; height: 76px; }
.shot__bars i { flex: 1; height: var(--h, 50%); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--cobalt), #7FA4FF); }
.shot__bars .h70 { --h: 70%; } .shot__bars .h85 { --h: 85%; } .shot__bars .h60 { --h: 60%; } .shot__bars .h95 { --h: 95%; } .shot__bars .h80 { --h: 80%; } .shot__bars .h40 { --h: 40%; } .shot__bars .h30 { --h: 30%; } 
@media (max-width: 960px) { .shot__body { grid-template-columns: 1fr; } .shot__side { display: none; } .shot__kpis { grid-template-columns: repeat(2, minmax(0,1fr)); } .shot__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .shot__frame { border-radius: 14px; } .shot__main { padding: 14px; } .shot__card li b { display: none; } }

/* Why NASS: before / with */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ba__col { border-radius: 20px; padding: 30px; border: 1px solid var(--line); background: var(--white); }
.ba__col--after { background: linear-gradient(135deg, #F4F8FF, #E6EEFF); border-color: #D6E2FF; }
.ba__h { font-size: 13px; font-weight: var(--w-semi); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.ba__col--after .ba__h { color: var(--cobalt); }
.ba li { display: flex; gap: 14px; align-items: flex-start; padding: 13px 0; border-top: 1px solid var(--line); font-size: 16px; color: var(--ink-2); }
.ba li:first-child { border-top: 0; }
.ba__x, .ba__ok { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 12px; font-weight: 700; }
.ba__x { background: #FDE8E8; color: #B42318; } .ba__ok { background: var(--cobalt); color: var(--white); }
@media (max-width: 860px) { .ba { grid-template-columns: 1fr; } .ba__col { padding: 22px; } }

/* Tools: bento with two large tiles (still eight tools) */
.tools--bento { grid-template-columns: repeat(4, 1fr); }
.tool--big { grid-column: span 2; padding: 28px; background: linear-gradient(135deg, #F4F8FF, #E3ECFF); border-color: #D6E2FF; }
.tool--big h3 { font-size: 22px; letter-spacing: -0.02em; margin-top: 8px; }
.tool--big p { font-size: 15.5px; max-width: 32em; }
.tool--big .tool__ic { width: 48px; height: 48px; background: var(--cobalt); color: var(--white); }
.tool--big .tool__ic .icon { width: 24px; height: 24px; }
.tool__tag { display: inline-block; margin-top: 10px; font-size: 12.5px; font-weight: var(--w-med); color: var(--cobalt); }
@media (max-width: 960px) { .tools--bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tool--big { grid-column: span 2; } }

/* Built for Lebanon: one deep-navy section for contrast */
.band--navy { background: var(--navy); color: var(--on-navy-2); border-block: 0; }
.kicker--light { color: var(--cobalt-soft); }
.leb { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.leb li { padding: 24px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid var(--navy-line); display: grid; gap: 8px; align-content: start; }
.leb__ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(143,176,255,.14); color: var(--cobalt-soft); margin-bottom: 6px; }
.leb__ic .icon { width: 21px; height: 21px; }
.leb h3 { font-size: 17px; color: var(--white); }
.leb p { font-size: 14.5px; color: var(--on-navy-2); }
@media (max-width: 960px) { .leb { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .leb { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; }
.faq__list { display: grid; gap: 8px; }
.faq__item { border: 1px solid var(--line); border-radius: 14px; background: var(--white); padding: 0 20px; }
.faq__item summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; padding: 6px 0; font-size: 17px; font-weight: var(--w-med); color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 22px; color: var(--cobalt); flex: none; width: 28px; text-align: center; transition: transform .2s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 0 18px; font-size: 15.5px; color: var(--ink-3); max-width: 60ch; }
.faq__item summary:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 4px; border-radius: 8px; }

/* About: the brand card sits beside the text again */
.about .intro__mark { justify-self: end; }
@media (max-width: 960px) { .about .intro__mark { justify-self: stretch; } }

/* Phones: sticky "Book a meeting" after the first screen; hidden while the form or menu is open */
.dock { display: none; }
@media (max-width: 860px) {
  .dock:not([hidden]) { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .dock .btn { width: 100%; }
  .demo-is-open .dock, .menu-is-open .dock { display: none; }
  body { padding-bottom: 72px; }
}
/* FAQ: centred like its heading; bento: the last row of small tiles stretches to fill the width */
.faq { margin-inline: auto; }
.faq .band__head { max-width: none; text-align: center; }
@media (min-width: 961px) { .tools--bento > .tool:nth-last-child(2), .tools--bento > .tool:last-child { grid-column: span 2; } }

/* Who it's for: role cards with small NASS screens, industry cards with icons */
.roles { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-bottom: 44px; }
.role { padding: 20px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.role:hover { border-color: var(--line-2); box-shadow: 0 16px 36px -24px rgba(16,32,61,.3); }
.role h3, .ind h3 { font-size: 19px; letter-spacing: -0.015em; color: var(--ink); }
.role h3 { margin-top: 18px; } .role > p, .ind p { margin-top: 6px; color: var(--ink-3); font-size: 15px; }
.mini { padding: 16px; border-radius: 14px; background: linear-gradient(135deg, #F4F8FF, #E6EEFF); border: 1px solid #D6E2FF; display: grid; gap: 10px; font-size: 13px; color: var(--ink); min-height: 150px; align-content: start; pointer-events: none; user-select: none; }
.mini__k { font-size: 11.5px; color: var(--ink-3); font-weight: var(--w-med); }
.mini__big { font-size: 28px; font-weight: var(--w-semi); letter-spacing: -0.03em; line-height: 1; } .mini__big small { font-size: 13px; font-weight: 400; color: var(--ink-3); } .mini__big--s { font-size: 20px; }
.mini__bar { display: block; height: 5px; border-radius: 5px; background: linear-gradient(90deg, var(--cobalt) 90%, var(--white) 90%); }
.mini__row { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; background: var(--white); border-radius: 9px; border: 1px solid var(--line); }
.mini__pill { font-size: 11px; font-weight: var(--w-med); padding: 2px 8px; border-radius: 999px; background: var(--amber-bg); color: var(--amber); }
.mini__person { display: flex; gap: 10px; align-items: center; padding: 8px 10px; background: var(--white); border-radius: 9px; border: 1px solid var(--line); } .mini__person small { display: block; color: var(--ink-3); font-size: 11.5px; }
.mini__av { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 10px; font-weight: 600; flex: none; }
.mini__btns { display: flex; gap: 8px; } .mini__btns span { flex: 1; text-align: center; padding: 7px; border-radius: 8px; font-weight: var(--w-med); font-size: 12.5px; }
.mini__ok { background: var(--cobalt); color: var(--white); } .mini__no { background: var(--white); border: 1px solid var(--line-2); color: var(--ink-2); }
.inds { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.ind { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.ind h3 { margin-top: 2px; }
.ind__ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--cobalt); color: var(--white); } .ind__ic .icon { width: 24px; height: 24px; }
@media (max-width: 960px) { .roles, .inds { grid-template-columns: 1fr; } .roles { margin-bottom: 36px; } }
.mini__num { font-size: 30px; font-weight: var(--w-semi); letter-spacing: -0.03em; line-height: 1; color: var(--ink); } .mini__num small { font-size: 13px; font-weight: 400; color: var(--ink-3); margin-left: 2px; } .mini__num--s { font-size: 20px; }

/* Availability labels on tools */
.now { display: inline-block; vertical-align: middle; margin-left: 6px; font-size: 11px; font-weight: var(--w-med); padding: 2px 8px; border-radius: 999px; background: var(--green-bg); color: var(--green); }
.tool__note { display: block; margin-top: 6px; font-size: 12.5px; color: var(--ink-3); }

/* A day with NASS */
.day { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; position: relative; }
.day::before { content: ""; position: absolute; left: 26px; right: 26px; top: 60px; height: 2px; background: linear-gradient(90deg, var(--cobalt), #BFD0FF); }
.day li { position: relative; }
.day__t { font-size: 14px; font-weight: var(--w-semi); color: var(--cobalt); height: 28px; }
.day__dot { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--white); border: 2px solid var(--cobalt); color: var(--cobalt); margin: 6px 0 18px; }
.day__dot .icon { width: 22px; height: 22px; }
.day h3 { font-size: 19px; color: var(--ink); } .day li > p:last-child { margin-top: 6px; font-size: 15px; color: var(--ink-3); }
@media (max-width: 960px) { .day { grid-template-columns: 1fr; gap: 0; } .day::before { left: 25px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--cobalt), #BFD0FF); } .day li { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; padding-bottom: 28px; } .day__t { grid-column: 2; height: auto; } .day__dot { grid-column: 1; grid-row: 1 / span 3; margin: 0; } .day h3, .day li > p:last-child { grid-column: 2; } }

/* Industry tabs */
.itabs__list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.itabs__list [role="tab"] { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); font: inherit; font-size: 15px; font-weight: var(--w-med); color: var(--ink-2); cursor: pointer; }
.itabs__list [role="tab"] .icon { width: 18px; height: 18px; }
.itabs__list [role="tab"][aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.itabs__list [role="tab"]:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }
.itabs__panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: 28px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); }
.itabs__panel[hidden] { display: none; }
.itabs__copy h3 { font-size: 22px; letter-spacing: -0.02em; color: var(--ink); } .itabs__copy > p { margin-top: 10px; color: var(--ink-3); font-size: 15.5px; }
.itabs__pts { margin-top: 16px; display: grid; gap: 8px; } .itabs__pts li { position: relative; padding-left: 26px; font-size: 15px; color: var(--ink-2); }
.itabs__pts li::before { content: "✓"; position: absolute; left: 0; color: var(--cobalt); font-weight: 700; }
.mini--wide { min-height: 0; }
.mini__rows { display: grid; gap: 6px; } .mini__row b { font-weight: var(--w-med); } .mini__row--warn b { color: var(--amber); }
@media (prefers-reduced-motion: no-preference) { .itabs__panel:not([hidden]) { animation: rvIn .35s var(--ease); } }
@media (max-width: 860px) { .itabs__panel { grid-template-columns: 1fr; padding: 20px; } .itabs__list [role="tab"] { font-size: 14px; padding: 0 12px; } }
@media (max-width: 960px) { .day li:last-child { padding-bottom: 0; } .day li:last-child::after { content: ""; position: absolute; left: 24px; top: 52px; bottom: 0; width: 4px; background: var(--surface); } }

/* WhatsApp */
.contact__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.contact__actions .btn { margin-top: 0; }
.contact__actions .icon { width: 18px; height: 18px; }
@media (max-width: 860px) {
  .dock:not([hidden]) { display: flex; gap: 10px; }
  .dock .btn { flex: 1; }
  .dock .dock__wa { flex: none; width: 48px; padding: 0; border-color: var(--line-2); }
  .dock .dock__wa .icon { width: 22px; height: 22px; color: var(--ink); }
}

/* "Modules" menu: the eight tools with icons, plus a short Getting started column */
.drop__panel--mods { grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); width: min(880px, calc(100vw - 48px)); }
.drop__mods { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; }
.top__links .drop__panel--mods .drop__mods a { display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 12px; padding: 8px 10px; }
.drop__ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--pale); color: var(--cobalt); }
.drop__ic .icon { width: 18px; height: 18px; }
.drop__mods b .soon { margin-left: 6px; vertical-align: middle; }
.drop__mods b + span { display: block; }
/* Phone menu: module rows with icons */
.mnav__sub a .icon { width: 18px; height: 18px; margin-right: 10px; color: var(--cobalt); flex: none; }
.mnav__sub a .soon { margin-left: 8px; }
.drop__mods b { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.drop__mods b .soon { margin-left: 0; white-space: nowrap; }
.mnav__sub > div { padding-top: 4px; }
