  /* One left-aligned column of text on a bare page; the logo, four short paragraphs, one link. */
  :root {
    --bg: #ffffff;
    --fg: #1f2322;
    --muted: #585254;
    --rule: #1f232233;
    --brush: #c9d1df;
    --brush-hover: #aebbd0;
    --select: #f4efec;
    --serif: "Newsreader", Georgia, serif;
    --arabic: "Noto Naskh Arabic", "Geeza Pro", serif;
    --sans: "Inter", ui-sans-serif, system-ui, sans-serif;
    --text: 24px;
  }
  @media (prefers-color-scheme: dark) {
    :root {
      --bg: #141615; --fg: #ecebe8; --muted: #a29d9f; --rule: #ecebe833;
      --brush: #2b3d5c; --brush-hover: #364b70; --select: #2a2624; color-scheme: dark;
    }
  }

  *, *::before, *::after { box-sizing: border-box; }
  html, body { height: 100%; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  ::selection { background: var(--select); color: var(--fg); }
  a { color: inherit; text-decoration: none; }
  a:focus-visible, button:focus-visible { outline: 2px solid var(--fg); outline-offset: 6px; border-radius: 2px; }

  .page {
    display: flex; flex-direction: column; justify-content: space-between; gap: 64px;
    min-height: 100%;
    padding-block: 38px 36px;
    padding-left: max(36px, env(safe-area-inset-left, 0px));
    padding-right: max(36px, env(safe-area-inset-right, 0px));
  }

  .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
  .logo { width: 56px; height: 56px; color: var(--fg); }

  .langs { display: flex; gap: 14px; font-size: 13px; letter-spacing: -.01em; }
  .langs button {
    font: inherit; color: var(--muted); background: none; border: 0; padding: 4px 0; cursor: pointer;
  }
  .langs button[aria-pressed="true"] { color: var(--fg); text-decoration: underline; text-underline-offset: calc(.1em + 2px); text-decoration-thickness: 1px; }
  .langs button:hover { color: var(--fg); }
  .langs [data-lang="ar"] { font-family: var(--arabic); font-size: 14px; }

  .intro {
    display: flex; flex-direction: column; align-items: flex-start;
    gap: calc(var(--text) * 1.3);
    max-width: 41rem; margin-top: 60px; margin-bottom: 14vh;
  }
  .intro > * {
    margin: 0;
    font-family: var(--serif); font-weight: 400;
    font-size: var(--text); line-height: 130%; letter-spacing: -.01em;
    text-wrap: pretty;
  }
  .intro strong, .cta { font-weight: 600; }

  .task {
    text-decoration: underline;
    text-decoration-color: var(--rule);
    text-decoration-thickness: 1px;
    text-underline-offset: calc(.1em + 1px);
  }

  .ctas { display: flex; flex-wrap: wrap; gap: 12px 36px; }
  .cta { display: inline-flex; align-items: center; gap: 6px; }
  .cta__label { position: relative; z-index: 0; }
  .cta__label::before {
    content: ""; position: absolute; z-index: -1;
    inset: auto 0 .13em; height: .42em;
    background: var(--brush);
    -webkit-mask: var(--stroke) center / 100% 100% no-repeat;
    mask: var(--stroke) center / 100% 100% no-repeat;
    scale: 1.05; transition: background-color .15s;
    --stroke: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M2 11c18-6 40-7 62-5s44 4 70 1 46-5 64-2c3 1 2 6-1 7-20 3-40 1-64 3s-50 4-74 2S10 15 3 16c-3 0-4-4-1-5z'/%3E%3C/svg%3E");
  }
  .cta:hover .cta__label::before { background: var(--brush-hover); }
  .cta svg { width: 14px; height: 14px; flex-shrink: 0; }

  .foot { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; letter-spacing: -.01em; }
  .foot a:hover { text-decoration: underline; text-underline-offset: calc(.1em + 1px); }

  [dir="rtl"] .intro > * { font-family: var(--arabic); line-height: 165%; letter-spacing: 0; }
  [dir="rtl"] .cta svg { transform: scaleX(-1); }
  .brand { font-family: var(--serif); }

  @media (max-width: 40rem) {
    :root { --text: 20px; }
    .page { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-block: 22px 20px; }
    .intro { margin-top: 44px; }
  }
  @media (prefers-reduced-motion: reduce) { .cta__label::before { transition: none; } }

  /* Legal and demo pages (pages.js): the same frame, with a reading column or the booking card in place of the intro. */
  .home { display: inline-flex; color: var(--fg); }
  .doc {
    max-width: 41rem; margin-top: 60px; margin-bottom: 10vh;
    font-family: var(--serif); font-size: 18px; line-height: 150%; letter-spacing: -.01em;
  }
  .doc h1, .book-card h1 { margin: 0 0 8px; font-family: var(--serif); font-size: var(--text); font-weight: 600; line-height: 130%; letter-spacing: -.01em; }
  .doc h2 { margin: 36px 0 8px; font-size: 19px; font-weight: 600; }
  .doc p { margin: 0 0 12px; text-wrap: pretty; }
  .doc a, .consent a, .form-status a, .book-done a.back-home { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: calc(.1em + 1px); }
  .doc .doc__date { margin-bottom: 40px; font-family: var(--sans); font-size: 13px; color: var(--muted); }
  .field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 24px; padding: 0; border: 0; font-family: var(--sans); font-size: 13px; color: var(--muted); }
  .field input:not([type=radio]):not([type=checkbox]) {
    font: inherit; font-family: var(--serif); font-size: 19px; color: var(--fg);
    background: none; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; padding: 6px 0;
  }
  .field input:focus { outline: none; border-bottom-color: var(--fg); }
  .field.invalid > span, label.invalid > span { color: #b3261e; }
  .field.invalid input:not([type=radio]):not([type=checkbox]), label.invalid input { border-bottom-color: #b3261e; }
  .consent { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 4px; font-family: var(--sans); font-size: 13px; color: var(--muted); }
  .consent input { margin: 2px 0 0; accent-color: var(--fg); }
  .consent.invalid { color: #b3261e; }
  .form-status { min-height: 1.5em; margin: 16px 0 0; font-family: var(--sans); font-size: 14px; }
  .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  [dir="rtl"] .book-card, [dir="rtl"] .field input { font-family: var(--arabic); letter-spacing: 0; }

  /* Demo booking (demo.js): the home page's grey studio light behind a card, three steps. */
  .book [hidden] { display: none !important; }
  body.stage { background: #d6d6d6; }
  body.stage::before {
    content: ""; position: fixed; inset: 0; z-index: -1;
    background: radial-gradient(55% 55% at 28% 22%, color-mix(in srgb, #fff 70%, #d6d6d6), transparent),
      radial-gradient(50% 50% at 78% 82%, color-mix(in srgb, #d6d6d6 82%, #1a1a1a), transparent), #d6d6d6;
  }
  @media (prefers-color-scheme: dark) {
    body.stage { background: #1d1f1e; }
    body.stage::before { background: radial-gradient(55% 55% at 28% 22%, #3a3d3c, transparent), radial-gradient(50% 50% at 78% 82%, #050606, transparent), #1d1f1e; }
  }
  .book { max-width: 40rem; margin: 40px auto 8vh; }
  .steps { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; font-family: var(--sans); font-size: 12px; color: var(--muted); }
  .steps li { display: flex; align-items: center; gap: 7px; }
  .steps li + li::before { content: ""; width: 28px; height: 1px; background: var(--rule); margin-inline-end: 3px; }
  .steps i { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--rule); font-style: normal; }
  .steps .on, .steps .done { color: var(--fg); }
  .steps .on i { background: var(--fg); color: var(--bg); border-color: var(--fg); }
  .book-card { background: var(--bg); border-radius: 22px; padding: 34px 34px 26px; box-shadow: 0 24px 70px #0000002e; }
  @media (prefers-color-scheme: dark) { .book-card { border: 1px solid var(--rule); box-shadow: 0 24px 70px #00000080; } }
  .book-card fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
  .book-lede { margin: 0 0 30px; font-family: var(--serif); font-size: 18px; color: var(--muted); text-wrap: pretty; }
  .pills { display: flex; flex-wrap: wrap; gap: 8px; }
  .pill { position: relative; display: inline-flex; }
  .pill input { position: absolute; opacity: 0; pointer-events: none; }
  .pill span { padding: 8px 14px; border: 1px solid var(--rule); border-radius: 999px; font-size: 14px; color: var(--fg); cursor: pointer; transition: background-color .15s, color .15s; }
  .pill span:hover { border-color: var(--fg); }
  .pill input:checked + span { background: var(--fg); border-color: var(--fg); color: var(--bg); }
  .pill input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 3px; }
  .cal { margin: 0 0 22px; font-family: var(--sans); font-size: 14px; color: var(--muted); }
  .cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; color: var(--fg); }
  .cal-head b { font-family: var(--serif); font-size: 19px; font-weight: 600; text-transform: capitalize; }
  .cal-nav { font: inherit; font-size: 20px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--rule); background: none; color: var(--fg); cursor: pointer; }
  .cal-nav:disabled { opacity: .3; cursor: default; }
  .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px 4px; justify-items: center; text-align: center; }
  .cal-wd { font-size: 11px; padding: 4px 0; text-transform: uppercase; }
  .cal-day { font: inherit; width: 40px; height: 40px; border: 1px solid transparent; border-radius: 50%; background: none; color: var(--fg); cursor: pointer; }
  .cal-day:not(:disabled) { border-color: var(--rule); }
  .cal-day:not(:disabled):hover { border-color: var(--fg); }
  .cal-day:disabled { color: var(--muted); opacity: .45; cursor: default; }
  .cal-day.on { background: var(--fg); border-color: var(--fg); color: var(--bg); }
  .slots-field > span { display: block; color: var(--fg); font-size: 14px; }
  .slots-field > span::first-letter, .done-when::first-letter { text-transform: uppercase; }
  .slots-field small { font-size: 12px; }
  .book-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; }
  .book-nav .cta { margin-inline-start: auto; }
  .book button.cta { font: inherit; font-family: var(--serif); font-size: var(--text); font-weight: 600; color: var(--fg); background: none; border: 0; padding: 0; cursor: pointer; }
  .book button.cta:disabled { opacity: .5; cursor: default; }
  .back { font: inherit; font-family: var(--sans); font-size: 14px; color: var(--muted); background: none; border: 0; padding: 4px 0; cursor: pointer; }
  .back:hover { color: var(--fg); }
  .book-done p { font-family: var(--serif); font-size: 18px; line-height: 150%; }
  .done-when { font-size: 22px !important; color: var(--fg); }
  .book-done .cta { font-family: var(--serif); font-size: 20px; font-weight: 600; }
  @media (max-width: 40rem) {
    .doc { margin-top: 44px; font-size: 17px; }
    .book { margin-top: 28px; }
    .book-card { padding: 24px 18px 20px; border-radius: 18px; }
    .steps span { display: none; }
    .steps li.on span { display: inline; }
  }

  /* Intro film: a chat that builds on a scaled stage, tall on phones and wide on laptops. One look in both themes. */
  .page { transition: opacity .9s ease; }
  .page.iv-hide { opacity: 0; }
  #film {
    --ig: #D6D6D6; --im: #FFFFFF; --ii: #1A1A1A; --ia: #D4EC3C;
    position: fixed; inset: 0; z-index: 50; overflow: hidden; cursor: pointer;
    /* iOS 26 Safari clips a fully opaque fixed layer at its status and toolbar and paints those strips one flat
       sampled color; a background just short of opaque reaches behind the bars, and the edges fade to that flat grey. */
    --ig-edge: color-mix(in srgb, var(--ig) 99%, transparent);
    background: linear-gradient(var(--ig-edge), transparent 14%, transparent 86%, var(--ig-edge)), radial-gradient(55% 55% at 28% 22%, color-mix(in srgb, var(--im) 70%, var(--ig)), transparent), radial-gradient(50% 50% at 78% 82%, color-mix(in srgb, var(--ig) 82%, var(--ii)), transparent), var(--ig-edge); color: var(--ii);
    font-family: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif;
    transition: opacity .8s ease; -webkit-tap-highlight-color: transparent;
  }
  #film.iv-out { opacity: 0; pointer-events: none; }
  .iv-stage {
    position: absolute; left: 50%; top: 50%; overflow: hidden;
  }
  .iv-tile { position: absolute; width: 88px; height: 88px; border-radius: 24px; display: grid; place-items: center; background: color-mix(in srgb, var(--im) 72%, transparent); box-shadow: 0 12px 30px rgba(0,0,0,.08); color: color-mix(in srgb, var(--ii) 60%, var(--ig)); }
  .iv-tile svg { width: 40px; height: 40px; }
  .iv-view { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%); mask-image: linear-gradient(to bottom, transparent 0, #000 12%); }
  .iv-col { position: absolute; left: 50%; display: flex; flex-direction: column; gap: 26px; }
  .iv-col > * { opacity: 0; }
  .iv-bar { align-self: center; display: flex; align-items: center; gap: 16px; padding: 16px 28px; border-radius: 999px; font-size: calc(var(--fs) * .58); background: color-mix(in srgb, var(--im) 85%, var(--ig)); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
  .iv-bar svg { width: 1.2em; height: 1.2em; }
  .iv-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ia); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ia) 35%, transparent); }
  .iv-bub { width: 88%; box-sizing: border-box; padding: 26px 34px 30px; border-radius: 32px; display: flex; flex-direction: column; gap: 10px; background: var(--im); box-shadow: 0 24px 60px rgba(0,0,0,.11), 0 2px 6px rgba(0,0,0,.05); }
  .iv-bub.iv-caller { align-self: flex-end; }
  .iv-bub.iv-agent { align-self: flex-start; }
  .iv-who { display: flex; align-items: center; gap: 12px; font-size: calc(var(--fs) * .55); color: color-mix(in srgb, var(--ii) 55%, var(--ig)); }
  .iv-who svg { width: 1.2em; height: 1.2em; }
  .iv-tag { margin-left: auto; }
  .iv-ar { text-align: start; font-size: var(--fs); line-height: 1.5; font-weight: 600; }
  .iv-en { text-align: left; font-size: calc(var(--fs) * .6); line-height: 1.35; color: color-mix(in srgb, var(--ii) 55%, var(--ig)); }
  .iv-step { align-self: center; display: flex; align-items: center; gap: 16px; padding: 16px 26px; border-radius: 18px; font-size: calc(var(--fs) * .62); background: color-mix(in srgb, var(--im) 80%, var(--ig)); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
  .iv-step svg { width: 1.3em; height: 1.3em; flex-shrink: 0; }
  .iv-ico { display: inline-flex; width: 1.3em; height: 1.3em; flex-shrink: 0; }
  .iv-cards { align-self: center; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
  .iv-card { display: flex; align-items: center; gap: 20px; padding: 22px 30px 22px 22px; border-radius: 24px; background: var(--im); box-shadow: 0 18px 44px rgba(0,0,0,.11); }
  .iv-card b { display: block; font-size: calc(var(--fs) * .68); font-weight: 600; }
  .iv-card small { display: block; font-size: calc(var(--fs) * .54); color: color-mix(in srgb, var(--ii) 55%, var(--ig)); }
  .iv-ic { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--ig) 45%, var(--im)); }
  .iv-ic svg { width: 32px; height: 32px; }
  .iv-pill { align-self: center; padding: 14px 32px; border-radius: 999px; background: var(--ia); font-size: calc(var(--fs) * .62); font-weight: 600; }
  .iv-end { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; text-align: center; }
  .iv-end > * { opacity: 0; margin: 0; }
  .iv-end svg { width: 150px; height: 150px; }
  .iv-end h2 { font-family: var(--serif); font-size: 140px; line-height: 1; font-weight: 600; }
  .iv-end p { font-size: 44px; padding: 0 60px; }
  .iv-hint {
    position: absolute; z-index: 2; left: 50%; transform: translateX(-50%);
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    font: 13px "Inter", system-ui, sans-serif; color: var(--ii); white-space: nowrap;
    background: color-mix(in srgb, var(--im) 70%, transparent); border: 0; border-radius: 999px; padding: 8px 16px; cursor: pointer;
  }
