/* ZAWAYA TECH — website v2.1.
   Colour, radius, spacing and easing tokens are the guest page's base palette
   (zawaya-room/frontend/css/rs-motion.css, zawaya-main.css); NOTES.md §6 maps each to file:line. */
:root {
  --zw-ground: #080F14;
  --zw-surface-sunken: #061018;
  --zw-surface-base: #0D1117;
  --zw-surface-raised: rgba(15, 35, 45, .4);
  --zw-slab: #0B171E;                       /* raised over ground, flattened: (15,35,45)@.4 on #080F14 */
  --zw-white-a4: rgba(255, 255, 255, .04);
  --zw-brand-emerald: #5EC9A0;
  --zw-brand-mint: #70EAC8;
  --zw-brand-soft: rgba(94, 201, 160, .12);
  --zw-brand-emerald-a22: rgba(94, 201, 160, .22);
  --zw-brand-emerald-a35: rgba(94, 201, 160, .35);
  --zw-on-brand-ink: #06231A;
  --zw-focus-ring: rgba(112, 234, 200, .8);
  --zw-selection: rgba(94, 201, 160, .3);
  --zw-ink-primary: hsl(165 30% 96%);
  --zw-ink-secondary: rgba(255, 255, 255, .7);
  --zw-ink-tertiary: rgba(255, 255, 255, .5);
  --zw-line-divider: rgba(255, 255, 255, .06);
  --zw-line-hairline: rgba(255, 255, 255, .1);
  --zw-line-strong: rgba(255, 255, 255, .2);
  --zw-settled: #8DF5D6;
  --zw-in-progress: rgba(251, 191, 36, .95);
  --zw-critical: #EF4444;
  --zw-critical-soft: #EF8A8A;
  --zw-shadow-lg: 0 8px 32px rgba(0, 0, 0, .35);
  --zw-shadow-xl: 0 16px 48px rgba(0, 0, 0, .45);

  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px; --radius-xl: 20px; --radius-2xl: 28px; --radius-3xl: 36px; --radius-full: 9999px;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px; --space-6: 24px;
  --space-8: 32px; --space-10: 40px; --space-12: 48px; --space-16: 64px; --space-24: 96px;
  --transition: .3s cubic-bezier(.4, 0, .2, 1);
  --ease-rise: cubic-bezier(.2, .8, .2, 1);
  --ease-sheet: cubic-bezier(.32, .72, .25, 1);

  --font-latin: 'DM Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-arabic: 'Cairo', 'Geeza Pro', 'Noto Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
  --font-voice-latin: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --font-num: var(--font-latin);            /* numerals follow the page language: no second family on the Arabic page */

  /* The lattice: an eight-point star tessellation (khatam), the corners — zawaya — of a mashrabiya. */
  --lattice-faint: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.075'%3E%3Cpath d='M80 40 68.28 51.72V68.28H51.72L40 80 28.28 68.28H11.72V51.72L0 40 11.72 28.28V11.72H28.28L40 0 51.72 11.72H68.28V28.28Z'/%3E%3Cpath d='M68.28 51.72 51.72 68.28H28.28L11.72 51.72V28.28L28.28 11.72H51.72L68.28 28.28Z'/%3E%3C/g%3E%3C/svg%3E");
  --lattice-lit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cg fill='none' stroke='%2370EAC8' stroke-opacity='.75' stroke-width='1.2'%3E%3Cpath d='M80 40 68.28 51.72V68.28H51.72L40 80 28.28 68.28H11.72V51.72L0 40 11.72 28.28V11.72H28.28L40 0 51.72 11.72H68.28V28.28Z'/%3E%3Cpath d='M68.28 51.72 51.72 68.28H28.28L11.72 51.72V28.28L28.28 11.72H51.72L68.28 28.28Z'/%3E%3C/g%3E%3C/svg%3E");
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--zw-ground); color: var(--zw-ink-primary);
  font-family: var(--font-arabic); font-size: 16px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; padding: 0 12px 12px;
}
html[lang="en"] body { font-family: var(--font-num); line-height: 1.6; }
html[lang="ar"] { --font-num: var(--font-arabic); }
a { color: inherit; text-decoration: none; }
button, input, summary { font: inherit; color: inherit; }
::selection { background: var(--zw-selection); color: var(--zw-ink-primary); }
:focus-visible { outline: 2px solid var(--zw-focus-ring); outline-offset: 3px; border-radius: 8px; }
svg { flex-shrink: 0; }
[hidden] { display: none !important; }

/* One document, two languages: the inactive one is not rendered, and not read aloud. */
html[lang="ar"] .en, html[lang="en"] .ar { display: none !important; }

/* The guest's own words: a second voice in the type, never decoration. */
.voice { font-family: var(--font-voice-latin); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
/* In Arabic the guest's words stay in Cairo, set light against the semibold headline. */
html[lang="ar"] .voice { font-family: var(--font-arabic); font-style: normal; font-weight: 300; letter-spacing: 0; }

.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--radius-full); background: var(--zw-brand-emerald); color: var(--zw-on-brand-ink); font-weight: 600; }
.skip:focus { top: 16px; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
html[dir="rtl"] .flip { transform: scaleX(-1); }

/* ---------- slabs: the page is a stack of rooms ---------- */
.slab { position: relative; max-width: 1400px; margin: 0 auto 12px; border-radius: var(--radius-3xl); background: var(--zw-slab); border: 1px solid var(--zw-line-divider); padding: clamp(40px, 6vw, 96px) clamp(20px, 5vw, 80px); overflow: hidden; }
.inner { max-width: 1180px; margin: 0 auto; }

h1, h2, h3 { color: var(--zw-ink-primary); font-weight: 400; }
h2 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -.035em; }
html[lang="ar"] h2 { font-size: clamp(30px, 3.9vw, 52px); font-weight: 600; line-height: 1.35; letter-spacing: 0; }
h2 .voice { font-size: 1.08em; }
.sub { font-size: 18px; color: var(--zw-ink-secondary); max-width: 60ch; }
html[lang="ar"] .sub { font-size: 17.5px; }
.center { text-align: center; }
.center .sub { margin-inline: auto; }
.head { margin-bottom: clamp(36px, 5vw, 64px); }
.head .sub { margin-top: 18px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: var(--radius-full); font-weight: 500; font-size: 15px; cursor: pointer; border: 1px solid transparent; white-space: nowrap; transition: background var(--transition), border-color var(--transition), transform var(--transition); }
html[lang="ar"] .btn { font-weight: 600; }
.btn-primary { background: var(--zw-brand-emerald); color: var(--zw-on-brand-ink); }
.btn-primary:hover { background: var(--zw-brand-mint); }
.btn-primary .arrow { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--zw-on-brand-ink); color: var(--zw-brand-emerald); margin-inline-end: -10px; transition: transform var(--transition); }
.btn-primary:hover .arrow { transform: translateX(3px); }
html[dir="rtl"] .btn-primary:hover .arrow { transform: translateX(-3px); }
.btn-ghost { border-color: var(--zw-line-strong); color: var(--zw-ink-primary); }
.btn-ghost:hover { background: var(--zw-white-a4); border-color: var(--zw-ink-tertiary); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 12px; z-index: 50; max-width: 1400px; margin: 12px auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 10px 10px 22px; border-radius: var(--radius-full); background: rgba(8, 15, 20, .86); border: 1px solid var(--zw-line-hairline); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); }
html[dir="rtl"] .nav { padding: 10px 22px 10px 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; }
.brand img { width: 26px; height: 26px; }
.navpill { display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: var(--radius-full); border: 1px solid var(--zw-line-hairline); }
.navpill a { padding: 7px 11px; border-radius: var(--radius-full); font-size: 14px; color: var(--zw-ink-secondary); transition: background var(--transition), color var(--transition); }
.navpill a:hover { color: var(--zw-ink-primary); }
.navpill a[aria-current="true"] { background: var(--zw-brand-emerald); color: var(--zw-on-brand-ink); font-weight: 500; }
.nav-end { display: flex; align-items: center; gap: 8px; }
.lang { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--zw-line-hairline); border-radius: var(--radius-full); }
/* Both labels use the page font: loading a second family for one word costs 30–60 KB. */
.lang button { font-family: inherit; border: 0; background: transparent; color: var(--zw-ink-secondary); font-size: 13px; font-weight: 600; line-height: 1; padding: 8px 12px; border-radius: var(--radius-full); cursor: pointer; min-height: 34px; }
.lang button[aria-pressed="true"] { background: var(--zw-ink-primary); color: var(--zw-ground); }
.nav .btn { min-height: 42px; padding: 9px 20px; font-size: 14px; }
.navtoggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--zw-line-hairline); background: transparent; align-items: center; justify-content: center; cursor: pointer; }
.menu { position: fixed; top: 80px; inset-inline: 12px; z-index: 60; display: none; flex-direction: column; gap: 2px; padding: 12px; background: var(--zw-surface-base); border: 1px solid var(--zw-line-hairline); border-radius: var(--radius-2xl); box-shadow: var(--zw-shadow-xl); }
.menu.open { display: flex; }
.menu a { padding: 13px 16px; border-radius: var(--radius-md); font-size: 16px; color: var(--zw-ink-secondary); }
.menu a:hover { background: var(--zw-white-a4); color: var(--zw-ink-primary); }
.menu .btn { margin-top: 8px; color: var(--zw-on-brand-ink); }

/* ---------- hero: light through the lattice ---------- */
.hero { padding-top: clamp(48px, 7vw, 104px); padding-bottom: clamp(48px, 6vw, 88px); min-height: min(860px, calc(100svh - 92px)); display: flex; align-items: center; isolation: isolate; }
.slab > .bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); }
.hero .glow.a { width: 62%; height: 80%; inset-inline-start: -14%; bottom: -34%; background: radial-gradient(closest-side, rgba(94, 201, 160, .42), rgba(94, 201, 160, 0)); animation: drift 18s ease-in-out infinite; }
.hero .glow.b { width: 46%; height: 62%; inset-inline-end: -10%; top: -26%; background: radial-gradient(closest-side, rgba(112, 234, 200, .16), rgba(112, 234, 200, 0)); }
@keyframes drift { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(6%, -5%, 0) scale(1.08); } }
.lattice, .lattice-lit { position: absolute; inset: 0; background-size: 72px 72px; background-position: center; }
.lattice { background-image: var(--lattice-faint); -webkit-mask-image: radial-gradient(120% 100% at 30% 100%, #000 10%, transparent 75%); mask-image: radial-gradient(120% 100% at 30% 100%, #000 10%, transparent 75%); }
html[dir="rtl"] .hero .lattice { -webkit-mask-image: radial-gradient(120% 100% at 70% 100%, #000 10%, transparent 75%); mask-image: radial-gradient(120% 100% at 70% 100%, #000 10%, transparent 75%); }
/* The lit lattice shows only where the light falls: under the pointer, or drifting on its own on touch screens. */
.lattice-lit { --mx: 22%; --my: 78%; background-image: var(--lattice-lit); -webkit-mask-image: radial-gradient(220px circle at var(--mx) var(--my), #000, transparent 72%); mask-image: radial-gradient(220px circle at var(--mx) var(--my), #000, transparent 72%); opacity: .9; }
html[dir="rtl"] .lattice-lit { --mx: 78%; }
.hero .shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(11, 23, 30, 0) 60%, var(--zw-slab)); }

.hero-grid { width: 100%; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 4vw, 64px); align-items: center; }
.tag { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 10px; border-radius: var(--radius-full); border: 1px solid var(--zw-line-hairline); background: rgba(8, 15, 20, .5); font-size: 13px; color: var(--zw-ink-secondary); margin-bottom: 28px; }
html[dir="rtl"] .tag { padding: 6px 10px 6px 14px; }
.tag img { width: 16px; height: 16px; }
h1 { font-size: clamp(44px, 5.5vw, 80px); line-height: 1; letter-spacing: -.045em; font-weight: 400; }
html[lang="ar"] h1 { font-size: clamp(38px, 4.7vw, 68px); line-height: 1.28; letter-spacing: 0; font-weight: 600; }
h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
h1 .line > span { display: inline-block; }
h1 .voice { font-size: 1.06em; white-space: nowrap; }
html[lang="ar"] h1 .voice, html[lang="ar"] h2 .voice { font-size: 1em; }
.hero .lead { margin-top: 28px; font-size: clamp(16.5px, 1.4vw, 19px); color: var(--zw-ink-secondary); max-width: 52ch; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.hero .note { margin-top: 22px; font-size: 14px; color: var(--zw-ink-tertiary); max-width: 52ch; }

/* the product, layered: guest chat, team ticket, deadline, guest's answer */
.hv { position: relative; height: 560px; }
.hv-card { position: absolute; background: var(--zw-surface-base); border: 1px solid var(--zw-line-hairline); border-radius: var(--radius-2xl); box-shadow: var(--zw-shadow-xl); }
.hv-chat { width: 330px; inset-inline-end: 4%; top: 0; padding: 16px; }
.hv-ticket { width: 300px; inset-inline-start: 0; top: 304px; padding: 18px; }
.hv-said { inset-inline-end: 0; bottom: 18px; display: flex; align-items: center; gap: 12px; padding: 12px 20px 12px 12px; border-radius: var(--radius-full); }
html[dir="rtl"] .hv-said { padding: 12px 12px 12px 20px; }
.hv-caption { position: absolute; bottom: -38px; inset-inline: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12.5px; color: var(--zw-ink-tertiary); }
.hv-pause { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 5px 12px; border-radius: var(--radius-full); border: 1px solid var(--zw-line-hairline); background: transparent; color: var(--zw-ink-secondary); font-size: 12.5px; cursor: pointer; }
.hv-pause:hover { border-color: var(--zw-ink-tertiary); color: var(--zw-ink-primary); }
.hv-pause .i-play, .hv-pause[aria-pressed="true"] .i-pause { display: none; }
.hv-pause[aria-pressed="true"] .i-play { display: inline; }
@media (prefers-reduced-motion: reduce) { .hv-pause { display: none; } }

.chat-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--zw-line-divider); }
.who { display: flex; align-items: center; gap: 10px; }
.who b { display: block; font-size: 14px; font-weight: 600; line-height: 1.2; }
.who small { display: block; font-size: 12px; color: var(--zw-ink-tertiary); line-height: 1.3; }
.zawi-face { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--zw-on-brand-ink); border: 1px solid var(--zw-brand-emerald-a35); }
.online { width: 8px; height: 8px; border-radius: 50%; background: var(--zw-brand-emerald); box-shadow: 0 0 0 4px var(--zw-brand-soft); }
.msg { font-size: 13.5px; line-height: 1.6; padding: 10px 14px; border-radius: 18px; margin-bottom: 10px; max-width: 88%; width: fit-content; }
.msg.bot { background: var(--zw-white-a4); border: 1px solid var(--zw-line-divider); border-start-start-radius: 6px; color: var(--zw-ink-secondary); }
.msg.me { margin-inline-start: auto; background: var(--zw-brand-emerald); color: var(--zw-on-brand-ink); font-weight: 600; border-start-end-radius: 6px; }
.confirm { border: 1px solid var(--zw-line-hairline); background: var(--zw-ground); border-radius: 18px; padding: 14px; }
.confirm-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 11.5px; color: var(--zw-ink-tertiary); margin-bottom: 6px; }
.confirm b { display: block; font-size: 15.5px; font-weight: 600; margin-bottom: 12px; }
.row2 { display: flex; gap: 8px; }
.fake { flex: 1; text-align: center; padding: 9px 8px; border-radius: var(--radius-md); font-size: 12.5px; font-weight: 600; border: 1px solid var(--zw-line-hairline); color: var(--zw-ink-secondary); white-space: nowrap; }
.fake.go { flex: 1.5; background: var(--zw-brand-emerald); border-color: transparent; color: var(--zw-on-brand-ink); }

.t-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.room { font-size: 12px; color: var(--zw-ink-tertiary); }
.room b { font-size: 20px; color: var(--zw-ink-primary); font-weight: 600; margin-inline-start: 5px; letter-spacing: -.02em; }
.t-title { font-size: 16px; font-weight: 600; margin: 10px 0 2px; }
.t-meta { font-size: 12.5px; color: var(--zw-ink-tertiary); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--radius-full); border: 1px solid var(--zw-line-hairline); font-size: 12px; font-weight: 500; white-space: nowrap; color: var(--zw-ink-secondary); }
.chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tone-new { color: var(--zw-ink-secondary); }
.tone-amber { color: var(--zw-in-progress); border-color: rgba(251, 191, 36, .3); }
.tone-brand { color: var(--zw-brand-emerald); border-color: var(--zw-brand-emerald-a35); }
.tone-ok { color: var(--zw-settled); border-color: var(--zw-brand-emerald-a22); }
.tone-late { color: var(--zw-critical-soft); border-color: rgba(239, 68, 68, .4); }
.ministeps { display: flex; gap: 4px; margin-top: 14px; }
.ministeps i { flex: 1; height: 4px; border-radius: 2px; background: var(--zw-line-hairline); transition: background var(--transition); }
.ministeps i.done { background: var(--zw-brand-emerald); }
.owner { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 4px 12px 4px 4px; border-radius: var(--radius-full); background: var(--zw-white-a4); font-size: 12.5px; }
html[dir="rtl"] .owner { padding: 4px 4px 4px 12px; }
.owner i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--zw-brand-soft); color: var(--zw-brand-emerald); font-style: normal; font-size: 11px; font-weight: 700; }

.hv-said .tick { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--zw-brand-emerald); color: var(--zw-on-brand-ink); }
.hv-said b { display: block; font-size: 18px; line-height: 1.25; }
.hv-said small { display: block; font-size: 12px; color: var(--zw-ink-tertiary); }

/* ---------- departments strip ---------- */
.strip { padding-top: clamp(32px, 4vw, 48px); padding-bottom: clamp(32px, 4vw, 48px); }
.strip p { text-align: center; color: var(--zw-ink-tertiary); font-size: 15px; margin-bottom: 26px; }

/* ---------- bento: what the stay looks like ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.tile { position: relative; border-radius: var(--radius-2xl); border: 1px solid var(--zw-line-divider); background: var(--zw-ground); padding: clamp(22px, 2.6vw, 32px); overflow: hidden; display: flex; flex-direction: column; min-height: 320px; }
.tile h3 { font-size: 22px; letter-spacing: -.02em; line-height: 1.2; }
html[lang="ar"] .tile h3 { font-size: 20px; font-weight: 600; letter-spacing: 0; line-height: 1.45; }
.tile p { margin-top: 8px; font-size: 15px; color: var(--zw-ink-secondary); max-width: 46ch; }
.tile .vis { margin-top: auto; padding-top: 24px; position: relative; }
.t-voice, .t-a, .t-e, .t-f { grid-column: span 3; }
.t-guide { grid-column: span 6; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 56px); align-items: center; min-height: 0; }
.t-guide .vis { margin: 0; padding: 0; }
.gchips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.gchips li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: var(--radius-full); border: 1px solid var(--zw-brand-emerald-a35); background: var(--zw-brand-soft); color: var(--zw-ink-primary); font-size: 14px; }
.gchips li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--zw-brand-emerald); }
.guide { border-radius: var(--radius-xl); border: 1px solid var(--zw-line-hairline); background: var(--zw-surface-base); padding: 16px; }
.guide-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.guide-h b { font-size: 15px; }
.gplaces { list-style: none; display: grid; gap: 8px; }
.gp { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--radius-lg); background: var(--zw-ground); border: 1px solid var(--zw-line-divider); }
.gp-img { position: relative; display: grid; place-items: center; width: 52px; height: 52px; flex-shrink: 0; border-radius: var(--radius-md); background: var(--zw-brand-soft); color: var(--zw-brand-emerald); overflow: hidden; isolation: isolate; }
.gp-img::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: var(--lattice-lit); background-size: 26px 26px; opacity: .35; }
.gp-txt { flex: 1; min-width: 0; }
.gp-txt b { display: block; font-size: 14.5px; font-weight: 600; }
.gp-txt small { display: block; font-size: 12px; color: var(--zw-ink-tertiary); }


.mini-chat { display: grid; gap: 8px; max-width: 420px; }
.mini-chat .msg { margin: 0; }

.osteps { list-style: none; display: grid; }
.osteps li { position: relative; display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 14px; color: var(--zw-ink-tertiary); }
.osteps li::before { content: ''; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--zw-line-strong); flex-shrink: 0; background: var(--zw-ground); z-index: 1; }
.osteps li::after { content: ''; position: absolute; inset-inline-start: 5px; top: 50%; height: 100%; width: 2px; background: var(--zw-line-hairline); }
.osteps li:last-child::after { display: none; }
.osteps li.done { color: var(--zw-ink-secondary); }
.osteps li.done::before { background: var(--zw-brand-emerald); border-color: var(--zw-brand-emerald); }
.osteps li.done::after { background: var(--zw-brand-emerald); }
.osteps li.now { color: var(--zw-ink-primary); font-weight: 600; }
.osteps li.now::before { border-color: var(--zw-brand-emerald); box-shadow: 0 0 0 5px var(--zw-brand-soft); }

.only { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--radius-lg); border: 1px solid var(--zw-brand-emerald-a35); background: rgba(94, 201, 160, .06); }
.only .box { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--zw-brand-emerald); color: var(--zw-on-brand-ink); flex-shrink: 0; margin-top: 2px; }
.only b { display: block; font-size: 14px; }
.only small { display: block; font-size: 12.5px; color: var(--zw-ink-tertiary); margin-top: 2px; line-height: 1.55; }

/* ---------- journey ---------- */
.journey { border-radius: var(--radius-3xl); border: 1px solid var(--zw-line-hairline); background: var(--zw-ground); padding: clamp(20px, 4vw, 44px); }
.steps-wrap { position: relative; margin-bottom: clamp(28px, 4vw, 44px); }
.steps-wrap::before { content: ''; position: absolute; top: 21px; inset-inline: 8.33%; height: 2px; background: var(--zw-line-hairline); }
.steps-wrap .fill { position: absolute; top: 21px; inset-inline-start: 8.33%; height: 2px; width: 0; background: var(--zw-brand-emerald); transition: width .26s var(--ease-sheet); }
.steps-bar { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.steps-bar li { display: flex; justify-content: center; }
.stepbtn { display: flex; flex-direction: column; align-items: center; gap: 8px; border: 0; background: none; cursor: pointer; padding: 0 2px; color: var(--zw-ink-tertiary); min-width: 44px; }
.stepbtn .n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--zw-line-strong); background: var(--zw-ground); font-weight: 500; font-size: 15px; font-family: var(--font-num); transition: background var(--transition), border-color var(--transition), color var(--transition); }
.stepbtn .lbl { font-size: 13.5px; font-weight: 500; text-align: center; line-height: 1.3; }
.stepbtn.done .n { border-color: var(--zw-brand-emerald-a35); color: var(--zw-brand-emerald); }
.stepbtn[aria-current="step"] { color: var(--zw-ink-primary); }
.stepbtn[aria-current="step"] .n { background: var(--zw-brand-emerald); border-color: var(--zw-brand-emerald); color: var(--zw-on-brand-ink); box-shadow: 0 0 0 6px var(--zw-brand-soft); }
.stepbtn:hover .n { border-color: var(--zw-brand-emerald); }
.journey-body { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 16px; align-items: stretch; }
.story { list-style: none; padding: 8px 4px; }
.story li { padding-bottom: 20px; }
html.js .story li { display: none; padding: 0; }
html.js .story li.on { display: block; animation: zwIn .26s var(--ease-sheet); }
@keyframes zwIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.story .k { font-size: 13px; color: var(--zw-brand-emerald); font-weight: 500; }
.story h3 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.03em; line-height: 1.1; margin: 8px 0 12px; }
html[lang="ar"] .story h3 { font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.story p { font-size: 16px; color: var(--zw-ink-secondary); }
.story .seen { margin-top: 14px; font-size: 13.5px; color: var(--zw-ink-tertiary); }
.story .seen b { color: var(--zw-ink-primary); font-weight: 500; }
.pane { border-radius: var(--radius-2xl); border: 1px solid var(--zw-line-hairline); background: var(--zw-surface-base); padding: 18px; display: flex; flex-direction: column; }
.pane-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12.5px; color: var(--zw-ink-tertiary); padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--zw-line-divider); }
.pane-h b { font-size: 13.5px; color: var(--zw-ink-secondary); font-weight: 600; }
.pane-from { font-size: 12px; color: var(--zw-ink-tertiary); margin: -4px 0 10px; }
.pane-msg { font-size: 12.5px; padding: 7px 12px; margin-bottom: 14px; }
.g-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.g-item b { font-size: 15.5px; font-weight: 600; }
.g-ask { margin-top: 14px; display: none; gap: 8px; }
.g-ask.show { display: flex; }
.g-ask > span { flex: 1; text-align: center; padding: 9px; border-radius: var(--radius-md); font-size: 13px; font-weight: 600; border: 1px solid var(--zw-line-hairline); color: var(--zw-ink-secondary); }
.g-ask > span:first-child { background: var(--zw-brand-emerald); color: var(--zw-on-brand-ink); border-color: transparent; }
.sample { margin-top: auto; padding-top: 14px; font-size: 11.5px; color: var(--zw-ink-tertiary); }
.controls { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.controls button { min-height: 44px; min-width: 44px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--radius-full); border: 1px solid var(--zw-line-strong); background: transparent; cursor: pointer; font-size: 14px; }
.controls button:hover { background: var(--zw-white-a4); }
html:not(.js) .controls { display: none; }
.check { display: flex; align-items: flex-start; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--zw-line-divider); font-size: 15px; color: var(--zw-ink-secondary); }
.check a { color: var(--zw-brand-emerald); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- trust ---------- */
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.facts { list-style: none; display: grid; }
.facts li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--zw-line-hairline); }
.facts li:last-child { border-bottom: 1px solid var(--zw-line-hairline); }
.facts .ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--zw-brand-soft); color: var(--zw-brand-emerald); }
.facts h3 { font-size: 18px; letter-spacing: -.01em; }
html[lang="ar"] .facts h3 { font-weight: 600; }
.facts p { font-size: 15px; color: var(--zw-ink-secondary); margin-top: 4px; }
.iso { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 36px; }
.iso-h { position: relative; padding: 16px 14px; border-radius: var(--radius-xl); border: 1px solid var(--zw-line-hairline); background: var(--zw-ground); overflow: hidden; isolation: isolate; }
.iso-h::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: var(--lattice-faint); background-size: 40px 40px; opacity: .8; }
.iso-h b { display: block; font-size: 14.5px; margin-bottom: 10px; }
.iso-h ul { list-style: none; display: grid; gap: 7px; }
.iso-h li { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--zw-ink-secondary); }
.iso-h li svg { color: var(--zw-brand-emerald); }
.iso-slug { margin-top: 12px; padding: 3px 9px; border-radius: var(--radius-full); background: var(--zw-brand-soft); color: var(--zw-brand-emerald); font-size: 11.5px; font-family: var(--font-num); }
.iso-cap { margin-top: 12px; font-size: 13px; color: var(--zw-ink-tertiary); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq details { border-bottom: 1px solid var(--zw-line-hairline); }
.faq details:first-child { border-top: 1px solid var(--zw-line-hairline); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; cursor: pointer; font-size: 17px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--zw-line-strong); flex-shrink: 0; transition: background var(--transition); }
.faq summary .pm::before, .faq summary .pm::after { content: ''; position: absolute; inset: 50% auto auto 50%; width: 10px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform var(--transition); }
.faq details[open] .pm { background: var(--zw-brand-emerald); color: var(--zw-on-brand-ink); border-color: transparent; }
.faq details[open] .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq details p { padding: 0 0 22px; max-width: 62ch; color: var(--zw-ink-secondary); font-size: 15.5px; }
.inline-link { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--zw-line-strong); color: var(--zw-ink-primary); }

/* ---------- demo ---------- */
.cta { isolation: isolate; }
.cta .glow { width: 70%; height: 90%; inset-inline-end: -20%; top: -40%; background: radial-gradient(closest-side, rgba(94, 201, 160, .28), rgba(94, 201, 160, 0)); }
.cta .lattice { -webkit-mask-image: radial-gradient(90% 90% at 80% 0%, #000 0%, transparent 70%); mask-image: radial-gradient(90% 90% at 80% 0%, #000 0%, transparent 70%); }
html[dir="rtl"] .cta .lattice { -webkit-mask-image: radial-gradient(90% 90% at 20% 0%, #000 0%, transparent 70%); mask-image: radial-gradient(90% 90% at 20% 0%, #000 0%, transparent 70%); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.cta h2 { font-size: clamp(36px, 4.8vw, 66px); }
html[lang="ar"] .cta h2 { font-size: clamp(32px, 4.2vw, 56px); }
.next { list-style: none; display: grid; gap: 12px; margin-top: 18px; }
.next li { display: flex; align-items: center; gap: 14px; font-size: 16px; color: var(--zw-ink-primary); }
.nn { display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--zw-brand-emerald-a35); background: var(--zw-brand-soft); color: var(--zw-brand-emerald); font-size: 14px; font-weight: 600; font-family: var(--font-num); }
.form-card { border-radius: var(--radius-2xl); border: 1px solid var(--zw-line-hairline); background: var(--zw-ground); padding: clamp(22px, 3vw, 36px); box-shadow: var(--zw-shadow-xl); }
form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; }
.field label .opt { font-weight: 400; color: var(--zw-ink-tertiary); }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--radius-md); border: 1px solid var(--zw-line-strong); background: var(--zw-surface-base); color: var(--zw-ink-primary); font-size: 16px; transition: border-color var(--transition), box-shadow var(--transition); }
.field input:hover, .field textarea:hover { border-color: var(--zw-ink-tertiary); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--zw-brand-emerald); box-shadow: 0 0 0 3px var(--zw-brand-emerald-a22); }
.field input[aria-invalid="true"] { border-color: var(--zw-critical); }
.field input[type="tel"], .field input[type="email"] { direction: ltr; }
html[dir="rtl"] .field input[type="tel"], html[dir="rtl"] .field input[type="email"] { text-align: right; }
.err { font-size: 13.5px; color: var(--zw-critical-soft); }
.err:empty { display: none; }
.form-msg { border-radius: var(--radius-md); padding: 14px 16px; font-size: 15px; border: 1px solid var(--zw-line-hairline); }
.form-msg:empty { display: none; }
.form-msg.bad { border-color: rgba(239, 68, 68, .45); color: var(--zw-critical-soft); }
.form-msg.good { border-color: var(--zw-brand-emerald-a35); color: var(--zw-ink-primary); }
.form-msg small { display: block; margin-top: 6px; font-size: 13.5px; color: var(--zw-ink-secondary); }
.form-msg a { text-decoration: underline; text-underline-offset: 3px; }
.privacy-line { font-size: 13px; color: var(--zw-ink-tertiary); }
.hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
form .btn { width: 100%; min-height: 54px; font-size: 16px; }

/* ---------- footer ---------- */
footer.slab { padding-bottom: 0; }
.site-foot { padding-top: clamp(48px, 6vw, 80px); }
.ft-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); padding-bottom: clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--zw-line-hairline); }
.ft-brand .brand { font-size: 19px; }
.ft-brand .brand img { width: 30px; height: 30px; }
.ft-about { margin-top: 16px; max-width: 38ch; font-size: 15px; color: var(--zw-ink-secondary); }
.ft-cta { margin-top: 24px; min-height: 46px; padding: 10px 22px; font-size: 14.5px; }
/* html-prefixed so the Arabic h2 rule (html[lang="ar"] h2) cannot enlarge these */
html .site-foot .ft-h { font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--zw-ink-primary); letter-spacing: 0; margin: 0 0 18px; }
.ft-col ul { list-style: none; display: grid; gap: 12px; }
.ft-col a, .ft-col li > span { font-size: 14.5px; color: var(--zw-ink-secondary); transition: color var(--transition); }
.ft-col a:hover { color: var(--zw-brand-emerald); }
.ft-contact li { display: flex; align-items: center; gap: 10px; }
.ft-contact svg { color: var(--zw-brand-emerald); flex-shrink: 0; }
.ft-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px 0 0; font-size: 13px; color: var(--zw-ink-tertiary); }
.ft-made { display: inline-flex; align-items: center; gap: 8px; }
.ft-made .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--zw-brand-emerald); }
.ft-top { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 14px; border-radius: var(--radius-full); border: 1px solid var(--zw-line-hairline); color: var(--zw-ink-secondary); transition: border-color var(--transition), color var(--transition); }
.ft-top:hover { border-color: var(--zw-brand-emerald-a35); color: var(--zw-ink-primary); }
@media (max-width: 1000px) { .ft-grid { grid-template-columns: 1fr 1fr; } .ft-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .ft-bar { flex-direction: column; align-items: flex-start; } }
.wordmark-xl { display: block; margin-top: 8px; text-align: center; line-height: .8; font-weight: 700; letter-spacing: -.05em; user-select: none; pointer-events: none;
  font-size: clamp(120px, 24vw, 340px); background: linear-gradient(to bottom, rgba(94, 201, 160, .55) 0%, rgba(94, 201, 160, .22) 45%, rgba(94, 201, 160, 0) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; transform: translateY(14%); }
html[lang="ar"] .wordmark-xl { letter-spacing: 0; line-height: .9; font-size: clamp(120px, 26vw, 360px); margin-top: clamp(-40px, -3vw, -12px); transform: translateY(16%); }


/* ---------- team ---------- */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.member { position: relative; display: grid; grid-template-columns: minmax(170px, 34%) 1fr; border-radius: var(--radius-2xl); border: 1px solid var(--zw-line-divider); background: var(--zw-ground); overflow: hidden; }
.portrait { position: relative; min-height: 250px; display: grid; place-items: center; background: var(--zw-surface-base); border-inline-end: 1px solid var(--zw-line-divider); overflow: hidden; isolation: isolate; }
.portrait::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: var(--lattice-lit); background-size: 56px 56px; background-position: center; opacity: .5; -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent 100%); mask-image: radial-gradient(closest-side, #000 20%, transparent 100%); }
.portrait i { position: absolute; z-index: -1; width: 120%; height: 80%; bottom: -45%; left: -10%; border-radius: 50%; filter: blur(40px); background: radial-gradient(closest-side, rgba(94, 201, 160, .45), rgba(94, 201, 160, 0)); }
.portrait b { font-family: var(--font-num); font-size: 84px; font-weight: 300; letter-spacing: -.05em; line-height: 1; }
html[lang="ar"] .portrait b { font-size: 92px; letter-spacing: 0; line-height: 1.5; }
.member .info { padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; justify-content: center; }
.member h3 { font-size: 27px; letter-spacing: -.025em; line-height: 1.2; }
html[lang="ar"] .member h3 { font-size: 25px; font-weight: 600; letter-spacing: 0; line-height: 1.4; }
.role { display: inline-flex; width: fit-content; margin-top: 10px; padding: 4px 13px; border-radius: var(--radius-full); background: var(--zw-brand-soft); color: var(--zw-brand-emerald); font-size: 13.5px; font-weight: 500; }
.member p { margin-top: 16px; font-size: 15px; color: var(--zw-ink-secondary); }

/* ---------- cursor spotlight on cards ---------- */
.tile::after, .member::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity var(--transition); background: radial-gradient(460px circle at var(--px, 50%) var(--py, 50%), rgba(94, 201, 160, .11), rgba(94, 201, 160, 0) 62%); }
.tile:hover::after, .member:hover::after { opacity: 1; }
.tile, .member { transition: border-color var(--transition); }
.tile:hover, .member:hover { border-color: var(--zw-brand-emerald-a22); }

@media (max-width: 1000px) { .team-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .member { grid-template-columns: 1fr; }
  .portrait { min-height: 170px; border-inline-end: 0; border-bottom: 1px solid var(--zw-line-divider); }
}


/* ---------- grain on the lit slabs ---------- */
.slab > .bg::after { content: ''; position: absolute; inset: 0; opacity: .07; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- reading progress on the nav ---------- */
.nav::after { content: ''; position: absolute; inset-inline: 28px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--zw-brand-emerald); transform: scaleX(var(--sp, 0)); transform-origin: left; }
html[dir="rtl"] .nav::after { transform-origin: right; }

/* ---------- the dashboard ---------- */
.dash { border-radius: var(--radius-2xl); border: 1px solid var(--zw-line-hairline); background: var(--zw-ground); box-shadow: var(--zw-shadow-xl); overflow: hidden; }
.dash-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 18px; border-bottom: 1px solid var(--zw-line-divider); }
.dash-title { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.dash-title small { font-size: 12.5px; font-weight: 400; color: var(--zw-ink-tertiary); }
.tabs { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--zw-line-hairline); border-radius: var(--radius-full); font-size: 13px; }
.tabs span { padding: 5px 13px; border-radius: var(--radius-full); color: var(--zw-ink-tertiary); white-space: nowrap; }
.tabs span.on { background: var(--zw-brand-soft); color: var(--zw-brand-emerald); font-weight: 500; }
.dash-body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 14px; background: var(--zw-surface-sunken); }
.tk { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: var(--radius-xl); border: 1px solid var(--zw-line-hairline); border-inline-start: 3px solid var(--zw-brand-emerald-a35); background: var(--zw-surface-base); }
.tk.late { border-inline-start-color: var(--zw-critical); }
.tk.wait { border-inline-start-color: var(--zw-brand-emerald); }
.tk-head { display: flex; align-items: center; gap: 10px; }
.tk-head .av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--zw-brand-soft); color: var(--zw-brand-emerald); font-weight: 600; font-size: 14px; }
.tk-head .room { flex: 1; }
.tk h3 { font-size: 16px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tk-note { padding: 9px 12px; border-radius: var(--radius-md); background: rgba(15, 35, 45, .6); border: 1px solid var(--zw-line-divider); font-size: 13px; color: var(--zw-ink-secondary); }
.tk-steps { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 2px; }
.tk-steps li { position: relative; padding-top: 16px; text-align: center; font-size: 10.5px; line-height: 1.3; color: var(--zw-ink-tertiary); }
.tk-steps li::before { content: ''; position: absolute; top: 0; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--zw-surface-base); border: 2px solid var(--zw-line-strong); box-sizing: border-box; z-index: 1; }
.tk-steps li::after { content: ''; position: absolute; top: 3px; inset-inline-start: 50%; width: 100%; height: 2px; background: var(--zw-line-hairline); }
.tk-steps li:last-child::after { display: none; }
.tk-steps li.done::before, .tk-steps li.now::before { background: var(--zw-brand-emerald); border-color: var(--zw-brand-emerald); }
.tk-steps li.done::after { background: var(--zw-brand-emerald); }
.tk-steps li.now { color: var(--zw-ink-primary); font-weight: 600; }
.tk-steps li.now::before { box-shadow: 0 0 0 4px var(--zw-brand-soft); }
.tk.late .tk-steps li.now::before { background: var(--zw-in-progress); border-color: var(--zw-in-progress); box-shadow: 0 0 0 4px rgba(251, 191, 36, .16); }
.tk-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--zw-line-divider); font-size: 12.5px; color: var(--zw-ink-tertiary); }
.tk-foot .owner { margin-top: 0; color: var(--zw-ink-primary); }
.tk-foot .fake { flex: none; padding: 7px 18px; }
.surfaces { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.surfaces li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: var(--radius-full); border: 1px solid var(--zw-line-hairline); font-size: 14px; color: var(--zw-ink-secondary); }
.surfaces li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--zw-brand-emerald); }
.dash-caption { margin-top: 14px; text-align: center; font-size: 12.5px; color: var(--zw-ink-tertiary); }

/* ---------- mobile: the demo button follows the reader ---------- */
@media (max-width: 1000px) { .dash-body { grid-template-columns: 1fr; } .tabs { display: none; } }
@media (max-width: 640px) {
  .tk-steps li { white-space: nowrap; height: 34px; }
  .tk-steps li > span { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); }
  .tk-steps li:not(.now) > span { visibility: hidden; }
}


/* ---------- platform: three audiences ---------- */
.auds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.aud { position: relative; display: flex; flex-direction: column; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--radius-2xl); border: 1px solid var(--zw-line-divider); background: var(--zw-ground); overflow: hidden; transition: border-color var(--transition), transform var(--transition); }
.aud:hover { border-color: var(--zw-brand-emerald-a35); transform: translateY(-3px); }
.aud::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity var(--transition); background: radial-gradient(460px circle at var(--px, 50%) var(--py, 50%), rgba(94, 201, 160, .11), rgba(94, 201, 160, 0) 62%); }
.aud:hover::after { opacity: 1; }
.aud-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.aud .ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--radius-md); background: var(--zw-brand-soft); color: var(--zw-brand-emerald); }
.aud-n { font-family: var(--font-num); font-size: 44px; font-weight: 300; line-height: 1; color: var(--zw-line-strong); }
.aud h3 { font-size: 26px; letter-spacing: -.02em; }
html[lang="ar"] .aud h3 { font-weight: 600; letter-spacing: 0; font-size: 24px; }
.aud p { margin-top: 10px; font-size: 15.5px; color: var(--zw-ink-secondary); }
.aud ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; }
.aud li { padding: 5px 12px; border-radius: var(--radius-full); border: 1px solid var(--zw-line-hairline); font-size: 13px; color: var(--zw-ink-secondary); }
.aud-go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--zw-brand-emerald); font-size: 14.5px; font-weight: 600; }
.aud-tag { display: inline-block; margin-bottom: 14px; padding: 5px 14px; border-radius: var(--radius-full); border: 1px solid var(--zw-brand-emerald-a35); background: var(--zw-brand-soft); color: var(--zw-brand-emerald); font-size: 13.5px; font-weight: 500; }

/* ---------- voice ---------- */
.mic { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: var(--radius-full); border: 1px solid var(--zw-line-hairline); background: var(--zw-surface-base); margin-bottom: 14px; }
.mic-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--zw-brand-emerald); color: var(--zw-on-brand-ink); box-shadow: 0 0 0 8px var(--zw-brand-soft); flex-shrink: 0; }
.wave { flex: 1; display: flex; align-items: center; justify-content: space-between; height: 34px; }
.wave i { width: 3px; height: 40%; border-radius: 2px; background: var(--zw-brand-emerald); }
.wave i:nth-child(3n) { height: 85%; } .wave i:nth-child(4n+1) { height: 60%; } .wave i:nth-child(5n) { height: 100%; } .wave i:nth-child(7n) { height: 25%; }
.t-voice .msg { margin: 0 0 10px; }
.t-voice .msg.me { margin-inline-start: auto; }

/* ---------- management ---------- */
#management .glow { width: 60%; height: 80%; inset-inline-start: -15%; top: -35%; background: radial-gradient(closest-side, rgba(94, 201, 160, .22), rgba(94, 201, 160, 0)); }
#management .lattice { -webkit-mask-image: radial-gradient(70% 70% at 15% 0%, #000 0%, transparent 70%); mask-image: radial-gradient(70% 70% at 15% 0%, #000 0%, transparent 70%); }
html[dir="rtl"] #management .lattice { -webkit-mask-image: radial-gradient(70% 70% at 85% 0%, #000 0%, transparent 70%); mask-image: radial-gradient(70% 70% at 85% 0%, #000 0%, transparent 70%); }
.mgmt-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.report { border-radius: var(--radius-2xl); border: 1px solid var(--zw-line-hairline); background: var(--zw-ground); padding: 18px; box-shadow: var(--zw-shadow-xl); }
.report-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.report-h b { font-size: 17px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { padding: 14px; border-radius: var(--radius-lg); border: 1px solid var(--zw-line-divider); background: var(--zw-surface-base); }
.kpi span { display: block; font-size: 12px; color: var(--zw-ink-tertiary); line-height: 1.4; min-height: 2.8em; }
.kpi b { display: block; margin-top: 8px; font-family: var(--font-num); font-size: 34px; font-weight: 300; letter-spacing: -.04em; line-height: 1; }
.kpi small { font-size: 12px; color: var(--zw-brand-emerald); }
.copilot { margin-top: 12px; padding: 16px; border-radius: var(--radius-xl); border: 1px solid var(--zw-brand-emerald-a22); background: var(--zw-surface-base); }
.cp-h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14px; }
.cp-h .zawi-face { width: 30px; height: 30px; border-radius: 9px; }
.cp-a { padding: 14px; border-radius: var(--radius-lg); background: var(--zw-ground); border: 1px solid var(--zw-line-divider); }
.cp-a p { font-size: 14.5px; }
.cp-a small { display: block; margin: 8px 0 12px; font-size: 12px; color: var(--zw-ink-tertiary); }
.mgmt-points { list-style: none; display: grid; }
.mgmt-points li { padding: 20px 0; border-top: 1px solid var(--zw-line-hairline); }
.mgmt-points li:last-child { border-bottom: 1px solid var(--zw-line-hairline); }
.mgmt-points h3 { font-size: 19px; letter-spacing: -.01em; }
html[lang="ar"] .mgmt-points h3 { font-weight: 600; }
.mgmt-points p { margin-top: 4px; font-size: 15px; color: var(--zw-ink-secondary); }
@media (max-width: 1000px) { .auds, .mgmt-grid, .t-guide { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .kpis { grid-template-columns: 1fr 1fr; } }

/* ---------- the stay, start to end ---------- */
.flow { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; }
.fstep { position: relative; display: flex; flex-direction: column; padding: 18px 18px 24px; border-radius: var(--radius-2xl); border: 1px solid var(--zw-line-divider); background: var(--zw-ground); }
.fa { height: 150px; border-radius: var(--radius-xl); background: var(--zw-surface-base); border: 1px solid var(--zw-line-divider); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 14px; margin-bottom: 20px; position: relative; overflow: hidden; isolation: isolate; }
.fa::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: var(--lattice-faint); background-size: 44px 44px; -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); }
.fa-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 10px 12px; border-radius: var(--radius-md); background: var(--zw-ground); border: 1px solid var(--zw-line-divider); font-size: 13.5px; font-weight: 600; }
.fa-btn { flex: none; width: 100%; padding: 9px; font-size: 13px; }
.fa-qr { width: 96px; height: 96px; padding: 9px; border-radius: var(--radius-lg); background: var(--zw-ink-primary); box-shadow: 0 0 0 6px var(--zw-brand-soft); }
.fa-qr svg { display: block; width: 100%; height: 100%; }
.fa .msg { margin: 0; font-size: 13px; }
.fn { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--zw-brand-emerald); color: var(--zw-on-brand-ink); font-family: var(--font-num); font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.fstep h3 { font-size: 18px; letter-spacing: -.01em; line-height: 1.3; }
html[lang="ar"] .fstep h3 { font-weight: 600; letter-spacing: 0; }
.fstep p { margin-top: 6px; font-size: 14.5px; color: var(--zw-ink-secondary); }
@media (max-width: 1000px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .flow { grid-template-columns: 1fr; } }

/* ---------- motion hooks (only once GSAP has loaded in time) ---------- */

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .hv { transform: scale(.88); transform-origin: top center; margin-bottom: -60px; }
  .journey-body { grid-template-columns: 1fr 1fr; }
  .story { grid-column: 1 / -1; }
}
@media (max-width: 1000px) {
  .hero { min-height: 0; }
  .hero-grid, .trust-grid, .faq-grid, .cta-grid { grid-template-columns: 1fr; }
  .hv { max-width: 560px; margin: 8px auto 0; width: 100%; transform: none; }
  .complaint { margin-inline-start: 0; }
}
@media (max-width: 880px) {
  .navpill, .nav-cta { display: none !important; }
  .navtoggle { display: inline-flex; }
}
@media (max-width: 640px) {
  body { padding: 0 8px 8px; }
  .nav { margin: 8px auto; top: 8px; }
  .slab { border-radius: var(--radius-2xl); margin-bottom: 8px; }
  .actions { flex-direction: column; }
  .actions .btn { width: 100%; }
  .hv { height: 470px; }
  .hv-chat { width: auto; inset-inline: 10px 22px; }
  .hv-ticket { width: auto; inset-inline: 0 46px; top: 290px; }
  .hv-said { display: none; }
  .hv-caption { bottom: -40px; }
  .t-voice, .t-a, .t-e, .t-f { grid-column: span 6; }
  .gp .chip { display: none; }
  .tile { min-height: 0; }
  .steps-bar .lbl { display: none; }
  .steps-bar .n { width: 40px; height: 40px; }
  .steps-wrap::before, .steps-wrap .fill { top: 19px; }
  .journey-body { grid-template-columns: 1fr; }
  .faq summary { font-size: 16px; }
}
@media (max-width: 380px) {
  .brand > span { display: none; }
  .lang button { padding: 8px 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* ---------- utilities that replaced inline style attributes (CSP: style-src without 'unsafe-inline') ---------- */
.mt-18 { margin-top: 18px; }
.mt-20 { margin-top: 20px; }
.ico-nudge { margin-top: 3px; }


/* ---------- 404 and /contact.html ---------- */
.notfound { min-height: calc(100svh - 24px); margin-top: 12px; text-align: center; }
.notfound-in { width: 100%; max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.notfound-code { font-family: var(--font-num); font-size: clamp(96px, 18vw, 180px); font-weight: 300; line-height: 1; letter-spacing: -.05em; color: var(--zw-brand-emerald); }

/* ---------- what guests ask for: two rows drifting in opposite directions ---------- */
.mq { direction: ltr; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.mq + .mq { margin-top: 12px; }
.mq-track { display: flex; width: max-content; animation: mq 52s linear infinite; }
.mq.rev .mq-track { animation-direction: reverse; }
.mq:hover .mq-track { animation-play-state: paused; }
.mq-group { display: flex; gap: 12px; padding-right: 12px; list-style: none; }
@keyframes mq { to { transform: translateX(-50%); } }
.mq-pill { display: inline-flex; align-items: center; gap: 14px; padding: 9px 10px 9px 22px; border-radius: var(--radius-full); border: 1px solid var(--zw-line-hairline); background: var(--zw-ground); white-space: nowrap; font-size: 19px; }
html[dir="rtl"] .mq-pill { direction: rtl; padding: 9px 22px 9px 10px; font-size: 17px; }
.mq-pill .to { display: inline-flex; align-items: center; gap: 7px; padding: 5px 13px; border-radius: var(--radius-full); background: var(--zw-brand-soft); color: var(--zw-brand-emerald); font-size: 13px; font-weight: 500; }
.mq-pill .to svg { opacity: .8; }

@media (max-width: 640px) {
  .mq-pill { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .mq { -webkit-mask-image: none; mask-image: none; }
  .mq-track { width: auto; justify-content: center; }
  .mq-group { flex-wrap: wrap; justify-content: center; padding: 0; }
  .mq-group[aria-hidden="true"] { display: none; }
}

/* ---------- hotels running on Zawaya ---------- */
.clients { padding-top: clamp(36px, 4.5vw, 56px); padding-bottom: clamp(36px, 4.5vw, 56px); }
/* html-prefixed so the general h2 rules cannot enlarge this caption */
html .clients .clients-h { text-align: center; font-size: 15px; font-weight: 500; line-height: 1.5; letter-spacing: 0; color: var(--zw-ink-tertiary); margin: 0 0 28px; }
.client-row { list-style: none; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; }
.client { display: grid; place-items: center; min-width: 200px; height: 104px; padding: 0 36px; border-radius: var(--radius-xl); border: 1px solid var(--zw-line-divider); background: var(--zw-ground); transition: border-color var(--transition); }
.client:hover { border-color: var(--zw-brand-emerald-a22); }
/* One white tone for every brand, so no logo disappears on the dark page; the files keep their own colours. */
.client img { height: 56px; width: auto; filter: brightness(0) invert(1); opacity: .72; transition: opacity var(--transition); }
.client:hover img { opacity: 1; }
@media (max-width: 640px) { .client-row { flex-wrap: nowrap; gap: 8px; } .client { min-width: 0; flex: 1 1 0; height: 76px; padding: 0 8px; } .client img { height: 34px; max-width: 100%; object-fit: contain; } }

/* testimonial cards, for when quotes are supplied (NOTES.md §25) */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(28px, 4vw, 44px); }
.quote { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: clamp(22px, 2.6vw, 30px); border-radius: var(--radius-2xl); border: 1px solid var(--zw-line-divider); background: var(--zw-ground); }
.quote blockquote p { font-size: 17px; line-height: 1.7; color: var(--zw-ink-primary); }
.quote blockquote p::before { content: '“'; display: block; font-family: var(--font-voice-latin); font-size: 56px; line-height: .6; color: var(--zw-brand-emerald); margin-bottom: 10px; }
html[lang="ar"] .quote blockquote p::before { content: '”'; }
.quote figcaption b { display: block; font-size: 15px; }
.quote figcaption span { font-size: 13.5px; color: var(--zw-ink-tertiary); }
@media (max-width: 1000px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- direct contact: two quiet icon buttons in the demo section ---------- */
.reach { display: flex; align-items: center; gap: 10px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--zw-line-hairline); }
.reach > span { font-size: 14.5px; color: var(--zw-ink-tertiary); margin-inline-end: 4px; }
.reach-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--zw-line-strong); transition: border-color var(--transition), background var(--transition); }
.reach-call { color: var(--zw-brand-emerald); }
.reach-wa { color: #25D366; }
.reach-btn:hover { background: var(--zw-white-a4); border-color: currentColor; }
.social { list-style: none; display: flex; gap: 10px; margin-top: 22px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--zw-line-hairline); color: var(--zw-ink-secondary); transition: color var(--transition), border-color var(--transition), background var(--transition); }
.social a:hover { color: var(--zw-ink-primary); border-color: var(--zw-brand-emerald-a35); background: var(--zw-brand-soft); }
.ft-handle { color: var(--zw-ink-secondary); }

.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- phones: swipe rows, a compact timeline, compact founders ---------- */
.tiles4 { display: contents; }
.swipe-hint { display: none; }
@media (max-width: 640px) {
  .swipe { display: flex !important; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: -20px; padding: 2px 20px 6px; scroll-padding-inline: 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .swipe::-webkit-scrollbar { display: none; }
  .swipe > * { flex: 0 0 84%; scroll-snap-align: start; min-width: 0; }
  .swipe:focus-visible { outline-offset: -2px; }
  .bento { gap: 10px; }
  .tiles4 { grid-column: 1 / -1; }
  .tiles4 > .tile { grid-column: auto; }
  .dash-body.swipe { margin: 0; padding: 12px; scroll-padding-inline: 12px; }
  .dash-body.swipe > .tk { flex-basis: 88%; }
  .aud-top { margin-bottom: 18px; }

  /* check-in to check-out: a numbered timeline instead of four picture cards */
  .flow { gap: 0; }
  .fstep { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; padding: 0 0 22px; border: 0; background: none; border-radius: 0; position: relative; }
  .fstep .fa { display: none; }
  .fstep .fn { grid-row: 1 / span 3; margin: 0; width: 34px; height: 34px; position: relative; z-index: 1; }
  .fstep:not(:last-child)::before { content: ''; position: absolute; top: 36px; bottom: 0; inset-inline-start: 16px; width: 2px; background: var(--zw-brand-emerald-a35); }
  .fstep h3 { margin-top: 4px; }

  /* founders: a small monogram beside the name */
  .member { grid-template-columns: 92px 1fr; }
  .portrait { min-height: 0; border-bottom: 0; border-inline-end: 1px solid var(--zw-line-divider); }
  .portrait b { font-size: 34px; }
  html[lang="ar"] .portrait b { font-size: 40px; }
  .member .info { padding: 18px 16px; }
  .member h3 { font-size: 20px; }
  html[lang="ar"] .member h3 { font-size: 19px; }
  .member p { font-size: 14px; margin-top: 10px; }
}

/* ---- content pass 2026-11-17: services grid, menu, dept bars, team points, message field ---- */
.field textarea { min-height: 110px; resize: vertical; line-height: 1.6; font-family: inherit; }
.svc { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.svc li { display: grid; justify-items: center; gap: 8px; padding: 14px 8px; border-radius: var(--radius-lg); border: 1px solid var(--zw-line-hairline); background: var(--zw-surface-base); font-size: 13px; text-align: center; color: var(--zw-ink-secondary); }
.svc-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--zw-brand-soft); color: var(--zw-brand-emerald); }
.menu-mini { list-style: none; display: grid; gap: 8px; }
.menu-mini li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: var(--radius-md); border: 1px solid var(--zw-line-hairline); background: var(--zw-surface-base); }
.menu-mini b { display: block; font-size: 14px; }
.menu-mini small { display: block; font-size: 12px; color: var(--zw-ink-tertiary); }
.depts { margin-top: 12px; padding: 16px; border-radius: var(--radius-xl); border: 1px solid var(--zw-line-hairline); background: var(--zw-surface-base); }
.depts-h { font-size: 13px; color: var(--zw-ink-tertiary); margin-bottom: 10px; }
.depts ul { list-style: none; display: grid; gap: 10px; }
.depts li { display: grid; grid-template-columns: 110px 1fr 28px; align-items: center; gap: 10px; font-size: 13px; color: var(--zw-ink-secondary); }
.depts li b { font-family: var(--font-num); text-align: end; color: var(--zw-ink-primary); }
.depts .bar { height: 8px; border-radius: var(--radius-full); background: var(--zw-brand-soft); overflow: hidden; }
.depts .bar i { display: block; height: 100%; border-radius: inherit; background: var(--zw-brand-emerald); }
.depts .w100 { width: 100%; } .depts .w74 { width: 74%; } .depts .w63 { width: 63%; } .depts .w41 { width: 41%; }
.team-points { grid-template-columns: repeat(3, 1fr); gap: 0 clamp(20px, 3vw, 40px); margin-top: clamp(28px, 4vw, 44px); }
.team-points li:last-child { border-bottom: 0; }
@media (max-width: 760px) {
  .team-points { grid-template-columns: 1fr; }
  .team-points li:last-child { border-bottom: 1px solid var(--zw-line-hairline); }
}
@media (max-width: 420px) { .depts li { grid-template-columns: 92px 1fr 24px; } }
.t-guide.t-text { grid-template-columns: 1fr; }
.team-points { margin-top: 0; }
