/* hero (home-assemble): hero/v2/style.css, the hero parts only, scoped under [data-section="hero"] by
   scratchpad/home-assemble/scope-hero-css.mjs. Header, buttons and base live in page.css. Edits for the
   home page are at the end ("HOME PAGE"). The three points are visible at first paint (message first):
   they are no longer hidden until the entrance. */
/* NEW TOKENS -------------------------------------------------------------------------------- */
[data-section="hero"] {
  /* Hero type (Reference Craft Sheet rules 1-3): 36 px at 390 (phone rule), 61 px at 1440, 71 px at 1920, 92 px at 2560. */
  --hf-fs-hero: clamp(2.5rem, 1.9rem + 2.1vw, 4.75rem);
  --hf-lh-hero: 1.04;
  --hf-tr-hero: -0.045em;
  --hf-wt-hero: 520;
  --hf-fs-hero-sub: clamp(1.0625rem, 0.98rem + 0.3vw, 1.375rem);
  --hf-fs-hero-ar: clamp(2.125rem, 1.65rem + 2.05vw, 4.5rem);
  --hf-lh-hero-ar: 1.24;
  --hf-wt-hero-ar: 500;
  /* The H1's second tone: silver-blue ink, 5.43:1 on pearl. */
  --hf-color-text-tone: #56677D;
  /* The pearl atmosphere, interpolated in oklab so no stop passes through violet. */
  --hf-atmos-shell: rgb(244 211 196);
  --hf-atmos-champagne: rgb(243 223 183);
  --hf-atmos-silver: rgb(200 216 242);
  --hf-atmos-sea: rgb(191 230 225);
  --hf-atmos-sea-mist: rgb(210 230 230);
  --hf-atmos-pearl: #FCFCFA;
  /* Solid light surfaces (no glass): white, a hairline and a two-layer tinted shadow. */
  --hf-surface-card: #FFFFFF;
  --hf-surface-inset: #F5F6F3;
  --hf-line-card: rgb(11 13 16 / 0.08);
  --hf-shadow-card: 0 1px 2px rgb(11 13 16 / 0.05), 0 18px 44px -18px rgb(30 42 54 / 0.22), 0 0 0 1px rgb(11 13 16 / 0.05);
  --hf-shadow-card-hi: 0 1px 2px rgb(11 13 16 / 0.05), 0 26px 60px -22px rgb(30 42 54 / 0.30), 0 0 0 1px rgb(0 103 118 / 0.16);
  --hf-shadow-nav: 0 1px 2px rgb(11 13 16 / 0.04), 0 10px 30px -16px rgb(30 42 54 / 0.20), 0 0 0 1px rgb(11 13 16 / 0.06);
  --hf-shadow-chip: 0 1px 2px rgb(11 13 16 / 0.06), 0 0 0 1px rgb(11 13 16 / 0.08);
  /* The sea tint behind a small icon (trust row, point icons, markers). */
  --hf-tint-sea: #E4F0EE;
  --hf-tint-sea-line: rgb(0 103 118 / 0.14);
  /* The map floor (map.js reads these). */
  --hf-map-dot: #34404C;
  --hf-map-edge: #0E6F7C;
  --hf-map-context: #A3AEB9;
  --hf-map-sea: #00879B;
  --hf-map-signal: #0097B1;
  /* Fallback figures (cast.js), used only when the real cast cannot load. */
  --hf-bot-body: #12161B;
  --hf-bot-lid: #2A323B;
  --hf-bot-eye: #F5F5F1;
  --hf-bot-led: #22A7BC;
  --hf-bot-shadow: rgb(11 13 16 / 0.16);
  /* Pills. */
  --hf-size-announce: 34px;
  --hf-size-announce-chip: 26px;
  /* The agent avatar inside a point. */
  --hf-size-avatar: 56px;
}
/* Hero ----------------------------------------------------------------------------------------- */
[data-section="hero"].hf-hero {
  --hf-bleed: 160px;
  position: relative; isolation: isolate;
  min-block-size: max(100svh, 700px);
  display: flex; flex-direction: column; align-items: center;
  padding: calc(var(--hf-nav-h) + clamp(18px, 3vh, 44px)) var(--hf-side) 0;
}
/* The pearl atmosphere (Reference Craft Sheet §5.6): shell into champagne top-left, silver-blue
   top-right, a sea-glass halo behind the agents' space, pearl into paper. It runs past the hero's
   bottom so the next section starts on the same light. */
[data-section="hero"] .hf-hero__atmos {
  position: absolute; z-index: -2; inset: 0 0 calc(var(--hf-bleed) * -1);
  background:
    radial-gradient(52% 40% at 50% 80% in oklab, rgb(191 230 225 / 0.55) 0%, rgb(210 230 230 / 0.28) 52%, rgb(210 230 230 / 0) 100%),
    radial-gradient(60% 52% at 0% -6% in oklab, rgb(244 211 196 / 0.95) 0%, rgb(243 223 183 / 0.6) 42%, rgb(245 245 241 / 0) 78%),
    radial-gradient(58% 50% at 100% -6% in oklab, rgb(200 216 242 / 0.95) 0%, rgb(210 230 230 / 0.5) 46%, rgb(245 245 241 / 0) 80%),
    linear-gradient(180deg in oklab, var(--hf-atmos-pearl) 0%, #F7F7F4 64%, var(--hf-color-ground) 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - var(--hf-bleed) - 80px), transparent 100%);
  mask-image: linear-gradient(180deg, #000 calc(100% - var(--hf-bleed) - 80px), transparent 100%);
}
[data-section="hero"] .hf-hero__atmos::after {
  content: ""; position: absolute; inset: 0; opacity: 0.035;
  background-image: var(--hf-texture-noise); background-size: var(--hf-texture-noise-size);
  mix-blend-mode: multiply;
}
[data-section="hero"] .hf-hero__map {
  position: absolute; z-index: -1; inset-inline: 0; top: 0;
  inline-size: 100%; block-size: calc(100% + var(--hf-bleed));
  pointer-events: none;
}
[data-section="hero"] .hf-hero__marks {
  position: absolute; z-index: 1; inset-inline: 0; top: 0; inline-size: 100%; block-size: 100%;
  pointer-events: none; overflow: visible;
}
[data-section="hero"] .hf-hero__copy {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  inline-size: 100%; max-inline-size: min(1440px, 100%);
}
/* Status pill: who HAFR is, in the old site's eyebrow words ("Dubai HQ" as the chip). */
[data-section="hero"] .hf-announce {
  display: inline-flex; align-items: center; gap: 10px;
  block-size: var(--hf-size-announce); padding-inline: 4px 14px;
  border-radius: var(--hf-radius-pill);
  background: var(--hf-surface-card); box-shadow: 0 1px 2px rgb(11 13 16 / 0.05), 0 0 0 1px rgb(11 13 16 / 0.08);
  font-size: 14px; font-weight: 500; color: var(--hf-color-text-1); text-decoration: none; white-space: nowrap;
}
[data-section="hero"] .hf-announce__chip {
  display: inline-flex; align-items: center; gap: 6px;
  block-size: var(--hf-size-announce-chip); padding-inline: 8px 12px;
  border-radius: var(--hf-radius-pill); background: var(--hf-color-inverse); color: var(--hf-color-on-inverse);
  font-size: 13px;
}
[data-section="hero"] .hf-announce__chip .hf-icon { font-size: 15px; }
[data-section="hero"] .hf-announce__more { color: var(--hf-color-text-2); font-weight: 450; }
[data-section="hero"] .hf-announce__arrow { font-size: 16px; color: var(--hf-color-text-3); transition: translate var(--hf-dur-2) var(--hf-ease-out); }
[data-section="hero"] .hf-announce:hover .hf-announce__arrow { translate: 3px 0; }
[data-section="hero"] .hf-hero__title {
  margin: clamp(18px, 3vh, 28px) 0 0;
  font-size: var(--hf-fs-hero); font-weight: var(--hf-wt-hero);
  line-height: var(--hf-lh-hero); letter-spacing: var(--hf-tr-hero);
  text-wrap: balance;
}
[data-section="hero"] .hf-hero__line { display: block; }
[data-section="hero"] .hf-hero__line--2 { color: var(--hf-color-text-tone); }
/* The amber seal as the full stop: the character stays for every reader, the square is drawn over it. */
[data-section="hero"] .hf-stop {
  display: inline-block; vertical-align: baseline; overflow: hidden; color: transparent;
  inline-size: 0.15em; block-size: 0.15em; margin-inline-start: 0.05em;
  border-radius: 8%; background: var(--hf-color-seal); box-shadow: inset 0 0 0 1px var(--hf-color-seal-edge);
}
[data-section="hero"] .hf-hero__sub {
  margin-top: clamp(14px, 2.2vh, 22px);
  max-inline-size: 46em;
  font-size: var(--hf-fs-hero-sub); line-height: 1.5; letter-spacing: -0.012em;
  color: var(--hf-color-text-2); text-wrap: balance;
}
[data-section="hero"] .hf-hero__sub b { font-weight: 600; color: var(--hf-color-text-1); }
/* The call: a work-email field that books the call (the founder's email area), then "What we do".
   ?cta=buttons shows concept C's two pill buttons instead. */
[data-section="hero"] .hf-hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: clamp(20px, 3vh, 30px); }
[data-section="hero"] .hf-cta-call { display: none; }
.hf-cta-buttons [data-section="hero"] .hf-cta-call { display: inline-flex; }
.hf-cta-buttons [data-section="hero"] .hf-mail { display: none; }
[data-section="hero"] .hf-mail {
  display: inline-flex; align-items: center; gap: 6px;
  block-size: 52px; padding: 0 0 0 18px; border-radius: var(--hf-radius-pill);
  background: var(--hf-surface-card); box-shadow: 0 1px 2px rgb(11 13 16 / 0.05), 0 0 0 1px rgb(11 13 16 / 0.16), 0 14px 34px -20px rgb(30 42 54 / 0.35);
}
[dir="rtl"] [data-section="hero"] .hf-mail { padding: 0 18px 0 0; }
/* an address is typed left to right, even on the Arabic page */
[dir="rtl"] [data-section="hero"] .hf-mail input:not(:placeholder-shown) { direction: ltr; text-align: right; }
[data-section="hero"] .hf-mail:focus-within { box-shadow: 0 1px 2px rgb(11 13 16 / 0.05), 0 0 0 2px var(--hf-color-focus); }
[data-section="hero"] .hf-mail__field { display: inline-flex; align-items: center; gap: 10px; color: var(--hf-color-text-3); font-size: 19px; }
[data-section="hero"] .hf-mail input {
  inline-size: clamp(180px, 16vw, 250px); block-size: 40px; padding: 0; border: 0; background: none; outline: none;
  font: inherit; font-size: 16px; color: var(--hf-color-text-1);
}
[data-section="hero"] .hf-mail input::placeholder { color: var(--hf-color-text-3); opacity: 1; }
[data-section="hero"] .hf-mail .hf-btn { --h: 52px; margin: 0; box-shadow: none; }
[data-section="hero"] .hf-mail .hf-btn:focus-visible { outline-offset: -4px; }
/* Trust row: three old-site promises, legible: ink text at 16-17 px, each with its icon in a sea tile. */
[data-section="hero"] .hf-trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px;
  margin: clamp(16px, 2.4vh, 24px) 0 0; padding: 0; list-style: none;
  font-size: 16.5px; font-weight: 500; letter-spacing: -0.012em; color: var(--hf-color-text-1);
}
[data-section="hero"] .hf-trust li { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
[data-section="hero"] .hf-trust__icon {
  display: grid; place-items: center; inline-size: 30px; block-size: 30px; border-radius: 50%;
  background: var(--hf-tint-sea); color: var(--hf-color-sea-600); font-size: 18px;
  box-shadow: inset 0 0 0 1px var(--hf-tint-sea-line);
}
/* The agents' space: the band the floor fills, then the base (who, and the three points) --------- */
/* At 1440 x 900 the band is about 160 px, so the whole of the three points stays above the fold. */
[data-section="hero"] .hf-hero__space { flex: 1 1 auto; inline-size: 100%; min-block-size: clamp(140px, 18vh, 480px); }
[data-section="hero"] .hf-hero__base {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: clamp(12px, 1.8vh, 18px);
  inline-size: 100%; max-inline-size: clamp(1240px, 76vw, 1960px);
  margin: 0 0 clamp(18px, 3vh, 32px);
}
/* Markers: one per state, a dot on its city and its name beside it. */
[data-section="hero"] .hf-pin { position: absolute; left: 0; top: 0; inline-size: 0; block-size: 0; }
[data-section="hero"] .hf-pin__dot {
  position: absolute; left: 0; top: 0; inline-size: 12px; block-size: 12px; translate: -50% -50%;
  border-radius: 50%; background: var(--hf-surface-card);
  box-shadow: 0 0 0 1.5px var(--hf-color-sea-500), 0 1px 4px rgb(11 13 16 / 0.22);
}
[data-section="hero"] .hf-pin__dot::before {
  content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--hf-color-sea-500);
}
[data-section="hero"] .hf-pin__dot::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  box-shadow: 0 0 0 1.5px var(--hf-color-sea-500); opacity: 0;
}
[data-section="hero"] .hf-pin.is-ping .hf-pin__dot::after { animation: hf-ping 1.6s var(--hf-ease-out) both; }
@keyframes hf-ping { 0% { opacity: 0.9; scale: 1; } 100% { opacity: 0; scale: 3.2; } }
[data-section="hero"] .hf-pin__label {
  position: absolute; left: 0; top: 0;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--hf-radius-pill);
  background: var(--hf-surface-card); box-shadow: var(--hf-shadow-chip);
  font-size: 12.5px; font-weight: 550; line-height: 1.2; color: var(--hf-color-text-1); white-space: nowrap;
}
[data-section="hero"] .hf-pin--e .hf-pin__label { translate: 0 0; transform: translate(12px, -50%); }
[data-section="hero"] .hf-pin--w .hf-pin__label { transform: translate(calc(-100% - 12px), -50%); }
[data-section="hero"] .hf-pin--s .hf-pin__label { transform: translate(-50%, 11px); }
[data-section="hero"] .hf-pin--n .hf-pin__label { transform: translate(-50%, calc(-100% - 11px)); }
[data-section="hero"] .hf-pin__note { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--hf-color-text-3); }
[data-section="hero"] .hf-pin__note::before { content: ""; inline-size: 3px; block-size: 3px; border-radius: 50%; background: currentColor; }
/* Who we work with: four old-site sectors as quiet chips. */
[data-section="hero"] .hf-who { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; }
/* the label sits over the floor's dots: a halo of the ground colour keeps it legible */
[data-section="hero"] .hf-who__label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hf-color-text-2); text-shadow: 0 0 6px var(--hf-color-ground), 0 0 12px var(--hf-color-ground), 0 0 3px var(--hf-color-ground); }
[data-section="hero"] .hf-who__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
[data-section="hero"] .hf-who__list li {
  display: inline-flex; align-items: center; gap: 7px;
  block-size: 32px; padding-inline: 10px 13px; border-radius: var(--hf-radius-pill);
  background: var(--hf-surface-card); box-shadow: var(--hf-shadow-chip);
  font-size: 13.5px; font-weight: 500; color: var(--hf-color-text-1); white-space: nowrap;
}
[data-section="hero"] .hf-who__list .hf-icon { font-size: 17px; color: var(--hf-color-sea-600); }
/* The three points: Build, Secure, Run, each a running agent ------------------------------------- */
[data-section="hero"] .hf-points {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px);
  inline-size: 100%; margin: 0; padding: 0; list-style: none;
}
[data-section="hero"] .hf-point {
  position: relative;
  display: flex; flex-direction: column; gap: 12px;
  padding: 14px 14px 12px;
  border-radius: 24px;
  background: var(--hf-surface-card);
  box-shadow: var(--hf-shadow-card);
  transition: box-shadow var(--hf-dur-4) var(--hf-ease-out);
}
[data-section="hero"] .hf-point.is-hot { box-shadow: var(--hf-shadow-card-hi); }
[data-section="hero"] .hf-point__head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; column-gap: 12px; }
[data-section="hero"] .hf-point__icon {
  display: grid; place-items: center;
  inline-size: 44px; block-size: 44px; border-radius: 13px;
  background: var(--hf-tint-sea); color: var(--hf-color-sea-600); font-size: 24px;
  box-shadow: inset 0 0 0 1px var(--hf-tint-sea-line);
}
[data-section="hero"] .hf-point[data-point="secure"] .hf-point__icon { background: #F8ECEB; color: #973052; box-shadow: inset 0 0 0 1px rgb(151 48 82 / 0.14); }
[data-section="hero"] .hf-point__words { display: flex; flex-direction: column; gap: 5px; min-inline-size: 0; padding-top: 1px; }
[data-section="hero"] .hf-point__title {
  display: flex; align-items: baseline; gap: 8px;
  font-size: clamp(1.5rem, 1.15rem + 0.75vw, 2rem); font-weight: 600; letter-spacing: -0.035em; line-height: 0.95;
  color: var(--hf-color-text-1);
}
[data-section="hero"] .hf-point__num { font-family: var(--hf-font-mono); font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--hf-color-text-3); }
[data-section="hero"] .hf-point__line { font-size: 15px; line-height: 1.35; color: var(--hf-color-text-2); letter-spacing: -0.01em; }
[data-section="hero"] .hf-point__std { display: flex; align-items: center; gap: 6px; margin-top: 1px; font-size: 12.5px; font-weight: 500; line-height: 1.3; color: var(--hf-color-text-3); }
[data-section="hero"] .hf-point__std .hf-icon { font-size: 15px; color: #973052; }
/* The agent at work inside each point: its character, its old-site role as its name, a status (a
   dot and a word) and its task in plain words. Labelled Example data (the tag sits on the panel's
   top edge, like a legend). */
[data-section="hero"] .hf-agentcard {
  position: relative; margin-top: auto;
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 12px;
  padding: 8px 12px 8px 8px; border-radius: 16px;
  background: var(--hf-surface-inset); box-shadow: inset 0 0 0 1px rgb(11 13 16 / 0.06);
}
[dir="rtl"] [data-section="hero"] .hf-agentcard { padding: 8px 8px 8px 12px; }
[data-section="hero"] .hf-agentcard__tag {
  position: absolute; z-index: 1; top: 0; inset-inline-end: 12px; translate: 0 -55%;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 8px; border-radius: var(--hf-radius-pill);
  background: var(--hf-surface-card); box-shadow: inset 0 0 0 1px rgb(11 13 16 / 0.08);
  font-size: 11.5px; font-weight: 500; line-height: 1.25; color: var(--hf-color-text-3); white-space: nowrap;
}
[data-section="hero"] .hf-agentcard__tag::before { content: ""; inline-size: 5px; block-size: 5px; border-radius: 1px; background: currentColor; opacity: 0.8; }
[data-section="hero"] .hf-agentcard__avatar {
  position: relative; display: grid;
  inline-size: var(--hf-size-avatar); block-size: var(--hf-size-avatar); border-radius: 50%;
  background: var(--hf-surface-card); box-shadow: inset 0 0 0 1px rgb(11 13 16 / 0.07), 0 1px 2px rgb(11 13 16 / 0.05);
}
[data-section="hero"] .hf-avatar { grid-area: 1 / 1; display: grid; place-items: center; line-height: 0; opacity: 0; visibility: hidden; }
[data-section="hero"] .hf-avatar.is-on { opacity: 1; visibility: visible; }
[data-section="hero"] .hf-agentcard__rows { display: grid; min-inline-size: 0; margin: 0; padding: 0; list-style: none; }
[data-section="hero"] .hf-arow {
  grid-area: 1 / 1;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 8px; row-gap: 3px;
  min-inline-size: 0; opacity: 0; visibility: hidden;
}
[data-section="hero"] .hf-arow.is-on { opacity: 1; visibility: visible; }
[data-section="hero"] .hf-arow__name { font-size: 14.5px; font-weight: 600; letter-spacing: -0.012em; line-height: 1.25; color: var(--hf-color-text-1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-section="hero"] .hf-arow__task { grid-column: 1 / -1; font-size: 13.5px; line-height: 1.35; letter-spacing: -0.006em; color: var(--hf-color-text-2); }
/* Status: a dot and a word, never colour alone. */
[data-section="hero"] .hf-st {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px 3px 8px; border-radius: var(--hf-radius-pill);
  font-size: 12px; font-weight: 600; line-height: 1.2; white-space: nowrap;
}
[data-section="hero"] .hf-st i { inline-size: 6px; block-size: 6px; border-radius: 50%; background: currentColor; }
[data-section="hero"] .hf-st--ok { color: var(--hf-color-success); background: var(--hf-color-success-tint); box-shadow: inset 0 0 0 1px var(--hf-color-success-line); }
[data-section="hero"] .hf-st--info { color: var(--hf-color-info); background: var(--hf-color-info-tint); box-shadow: inset 0 0 0 1px var(--hf-color-info-line); }
[data-section="hero"] .hf-st--danger { color: var(--hf-color-danger); background: var(--hf-color-danger-tint); box-shadow: inset 0 0 0 1px var(--hf-color-danger-line); }
[data-section="hero"] .hf-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 8px; border-radius: var(--hf-radius-pill);
  font-size: 12px; font-weight: 500; line-height: 1.2; color: var(--hf-color-text-2);
  background: var(--hf-surface-inset); box-shadow: inset 0 0 0 1px rgb(11 13 16 / 0.08);
  white-space: nowrap;
}
[data-section="hero"] .hf-tag::before { content: ""; inline-size: 5px; block-size: 5px; border-radius: 1px; background: var(--hf-color-text-3); }
/* Fallback figures (cast.js), only when the real cast cannot load. */
[data-section="hero"] .hf-bot__in { position: absolute; inset: 0; display: block; transform-origin: 50% 92%; }
[data-section="hero"] .hf-bot__svg { inline-size: 100%; block-size: 100%; overflow: visible; }
[data-section="hero"] .hf-bot__shadow { fill: var(--hf-bot-shadow); }
[data-section="hero"] .hf-bot__shell { fill: var(--hf-bot-body); }
[data-section="hero"] .hf-bot__lid { fill: var(--hf-bot-lid); }
[data-section="hero"] .hf-bot__eyes rect { fill: var(--hf-bot-eye); }
[data-section="hero"] .hf-bot__eyes { transform-box: fill-box; transform-origin: 50% 50%; }
[data-section="hero"] .hf-bot__led { fill: var(--hf-bot-led); }
[data-section="hero"] .hf-bot__badge {
  position: absolute; inset-inline-end: -10%; bottom: 8%;
  display: grid; place-items: center;
  inline-size: 46%; block-size: 46%; border-radius: 30%;
  background: var(--hf-surface-card); color: var(--hf-color-sea-600);
  box-shadow: 0 1px 2px rgb(11 13 16 / 0.1), 0 0 0 1px rgb(0 103 118 / 0.22);
  font-size: calc(var(--hf-bot-size) * 0.27);
}
[data-section="hero"] .hf-bot__badge--rose { color: #973052; }
/* Pause control (WCAG 2.2.2): bottom end corner of the hero, out of the way of the map. */
[data-section="hero"] .hf-motion {
  position: absolute; z-index: 3; inset-inline-end: 20px; bottom: clamp(18px, 3vh, 32px);
  display: grid; place-items: center; inline-size: 36px; block-size: 36px; padding: 0;
  border: 0; border-radius: 50%; cursor: pointer;
  background: var(--hf-surface-card); color: var(--hf-color-text-2); box-shadow: var(--hf-shadow-chip);
  font-size: 16px;
}
[data-section="hero"] .hf-motion:hover { color: var(--hf-color-text-1); }
[data-section="hero"] .hf-motion__play { display: none; }
[data-section="hero"] .hf-motion[aria-pressed="true"] .hf-motion__play { display: block; }
[data-section="hero"] .hf-motion[aria-pressed="true"] .hf-motion__pause { display: none; }
.hf-static [data-section="hero"] .hf-motion { display: none; }
/* First frame: the copy is painted; the space arrives by script (GSAP), never hiding the headline. */
.hf-js:not(.hf-static) [data-section="hero"].hf-hero:not(.is-in) .hf-pin, .hf-js:not(.hf-static) [data-section="hero"].hf-hero:not(.is-in) .hf-who { opacity: 0; }
/* Tablets and phones: the points become a list, each row a running agent ------------------------- */
@media (max-width: 63.99rem) {
  [data-section="hero"] .hf-hero__base { max-inline-size: 720px; }
  [data-section="hero"] .hf-points { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  [data-section="hero"] .hf-point {
    display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center;
    column-gap: 14px; row-gap: 6px; padding: 12px 14px 12px 12px; border-radius: 20px;
  }
  [dir="rtl"] [data-section="hero"] .hf-point { padding: 12px 12px 12px 14px; }
  [data-section="hero"] .hf-point__head { grid-column: 2; grid-row: 1; grid-template-columns: minmax(0, 1fr); }
  [data-section="hero"] .hf-point__icon { display: none; }
  [data-section="hero"] .hf-point__words { gap: 4px; }
  [data-section="hero"] .hf-point__title { font-size: 22px; }
  [data-section="hero"] .hf-point__line { font-size: 14px; }
  [data-section="hero"] .hf-agentcard { display: contents; }
  [data-section="hero"] .hf-agentcard__avatar { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
  [data-section="hero"] .hf-agentcard__rows { grid-column: 2; grid-row: 2; }
  [data-section="hero"] .hf-agentcard__tag { position: absolute; top: 12px; inset-inline-end: 12px; translate: none; }
  [data-section="hero"] .hf-arow { justify-content: start; grid-template-columns: auto auto minmax(0, 1fr); }
  [data-section="hero"] .hf-arow__task { grid-column: 3; grid-row: 1; padding-inline-start: 2px; color: var(--hf-color-text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  [data-section="hero"] .hf-arow__name { font-size: 13.5px; }
  [data-section="hero"] .hf-motion { position: static; order: 4; align-self: flex-end; margin: 10px 0 16px; }
}
@media (max-width: 47.99rem) {
  [data-section="hero"] { --hf-size-avatar: 46px; }
  [data-section="hero"].hf-hero { padding-top: calc(var(--hf-nav-h) + 12px); }
  [data-section="hero"] .hf-announce { font-size: 13px; padding-inline-end: 12px; gap: 8px; }
  [data-section="hero"] .hf-announce__chip { font-size: 12px; padding-inline: 7px 10px; }
  [data-section="hero"] .hf-announce__more { display: none; }
  [data-section="hero"] .hf-hero__line { display: inline; }
  [data-section="hero"] .hf-hero__title { font-size: clamp(2.25rem, 1.9rem + 1.5vw, 2.625rem); }
  [data-section="hero"] .hf-hero__sub { max-inline-size: 32ch; }
  [data-section="hero"] .hf-hero__ctas { inline-size: 100%; gap: 10px; }
  [data-section="hero"] .hf-mail { inline-size: 100%; block-size: 50px; padding-inline-start: 16px; }
  [dir="rtl"] [data-section="hero"] .hf-mail { padding: 0 16px 0 0; }
  [data-section="hero"] .hf-mail__field { flex: 1 1 auto; min-inline-size: 0; font-size: 18px; }
  [data-section="hero"] .hf-mail input { inline-size: auto; flex: 1 1 auto; min-inline-size: 0; font-size: 16px; }
  [data-section="hero"] .hf-mail .hf-btn { --h: 50px; --orb: 38px; flex: none; font-size: 15px; padding-inline-start: 18px; gap: 10px; }
  [data-section="hero"] .hf-cta-more { display: none; }
  .hf-cta-buttons [data-section="hero"] .hf-hero__ctas { flex-wrap: nowrap; }
  .hf-cta-buttons [data-section="hero"] .hf-hero__ctas .hf-btn { --h: 48px; --orb: 36px; flex: 1 1 0; justify-content: space-between; padding-inline-start: 18px; font-size: 15px; }
  .hf-cta-buttons [data-section="hero"] .hf-cta-more { display: inline-flex; justify-content: center; padding-inline: 14px; }
  [data-section="hero"] .hf-trust { gap: 8px 16px; font-size: 14.5px; }
  [data-section="hero"] .hf-trust li { gap: 8px; }
  [data-section="hero"] .hf-trust__icon { inline-size: 26px; block-size: 26px; font-size: 16px; }
  /* the message first: on a phone the three points come straight after the trust row, the map
     follows them, and who we work with closes the hero */
  [data-section="hero"] .hf-hero__base { order: 2; margin: clamp(18px, 3vh, 26px) 0 0; gap: 12px; }
  [data-section="hero"] .hf-hero__space { order: 3; min-block-size: 230px; }
  [data-section="hero"] .hf-points { order: 1; gap: 8px; }
  [data-section="hero"] .hf-who { order: 2; gap: 8px; }
  [data-section="hero"] .hf-who__label { inline-size: 100%; text-align: center; }
  [data-section="hero"] .hf-who__list { gap: 6px; }
  [data-section="hero"] .hf-who__list li { block-size: 30px; font-size: 13px; padding-inline: 9px 11px; }
  [data-section="hero"] .hf-point { padding: 10px 12px 10px 10px; border-radius: 18px; column-gap: 12px; row-gap: 4px; }
  [dir="rtl"] [data-section="hero"] .hf-point { padding: 10px 10px 10px 12px; }
  [data-section="hero"] .hf-point__title { font-size: 19px; gap: 6px; }
  [data-section="hero"] .hf-point__num { font-size: 11.5px; }
  [data-section="hero"] .hf-point__line { font-size: 13.5px; }
  [data-section="hero"] .hf-point__std { display: none; }
  [data-section="hero"] .hf-agentcard__tag { top: 10px; font-size: 10.5px; padding: 1px 6px; }
  [data-section="hero"] .hf-arow__task { display: none; }
  [data-section="hero"] .hf-arow__name { font-size: 12.5px; font-weight: 500; color: var(--hf-color-text-2); }
  [data-section="hero"] .hf-st { font-size: 11px; padding: 2px 7px 2px 6px; gap: 5px; }
  [data-section="hero"] .hf-pin__dot { inline-size: 10px; block-size: 10px; }
  [data-section="hero"] .hf-pin__dot::before { inset: 2.5px; }
  [data-section="hero"] .hf-pin__label { font-size: 11.5px; padding: 3px 8px; }
  [data-section="hero"] .hf-pin--e .hf-pin__label { transform: translate(9px, -50%); }
  [data-section="hero"] .hf-pin--w .hf-pin__label { transform: translate(calc(-100% - 9px), -50%); }
  [data-section="hero"] .hf-pin--s .hf-pin__label { transform: translate(-50%, 8px); }
  [data-section="hero"] .hf-pin__note { display: none; }
  [data-section="hero"] .hf-next__head { grid-template-columns: 1fr; }
  [data-section="hero"] .hf-next__title, [data-section="hero"] .hf-next__lead { grid-column: 1 / -1; }
  [data-section="hero"] .hf-screen__body { grid-template-columns: 1fr; }
}
/* Reduced motion and the static still: nothing moves, everything is in place. */
@media (prefers-reduced-motion: reduce) {
  [data-section="hero"] .hf-btn, [data-section="hero"] .hf-btn__orb .hf-icon, [data-section="hero"] .hf-announce__arrow, [data-section="hero"] .hf-point { transition: none; }
  [data-section="hero"] .hf-pin.is-ping .hf-pin__dot::after { animation: none; }
}
/* Arabic: designed, not mirrored. Alexandria for text, no tracking anywhere, taller leading. The map
   never mirrors, so its markers and their sides are the same as in English. */
[data-section="hero"] :lang(ar) { letter-spacing: 0 !important; }
[lang="ar"] [data-section="hero"] .hf-hero__title { font-size: var(--hf-fs-hero-ar); font-weight: var(--hf-wt-hero-ar); line-height: var(--hf-lh-hero-ar); }
[lang="ar"] [data-section="hero"] .hf-hero__sub { line-height: 1.7; max-inline-size: 40em; }
[lang="ar"] [data-section="hero"] .hf-hero__sub b { font-weight: 600; }
[lang="ar"] [data-section="hero"] .hf-point__title { font-weight: 600; line-height: 1.15; }
[lang="ar"] [data-section="hero"] .hf-point__line { line-height: 1.55; }
[lang="ar"] [data-section="hero"] .hf-arow__name { font-weight: 600; line-height: 1.4; }
[lang="ar"] [data-section="hero"] .hf-arow__task { line-height: 1.55; }
[lang="ar"] [data-section="hero"] .hf-st { font-weight: 500; }
[lang="ar"] [data-section="hero"] .hf-who__label { letter-spacing: 0; text-transform: none; font-size: 14px; font-weight: 600; }
[lang="ar"] [data-section="hero"] .hf-pin__label { font-size: 13px; font-weight: 500; }
[lang="ar"] [data-section="hero"] .hf-next__title { line-height: 1.3; font-weight: 500; }
[lang="ar"] [data-section="hero"] .hf-next__lead { line-height: 1.75; }
[lang="ar"] [data-section="hero"] .hf-announce, [lang="ar"] [data-section="hero"] .hf-trust, [lang="ar"] [data-section="hero"] .hf-nav__pill a, [lang="ar"] [data-section="hero"] .hf-btn { font-weight: 500; }
[lang="ar"] [data-section="hero"] .hf-announce__more { font-weight: 400; }
[lang="ar"] [data-section="hero"] .hf-tag, [lang="ar"] [data-section="hero"] .hf-agentcard__tag { font-family: "HF Alexandria", var(--hf-font-arabic-system); }
[lang="ar"] [data-section="hero"] .hf-point__std span[lang="en"] { font-family: var(--hf-font-sans); }
[dir="rtl"] [data-section="hero"] .hf-announce:hover .hf-announce__arrow { translate: -3px 0; }
@media (max-width: 47.99rem) {
  [lang="ar"] [data-section="hero"] .hf-pin__label { font-size: 12px; }
  [lang="ar"] [data-section="hero"] .hf-arow__name { font-size: 12.5px; font-weight: 500; }
}
/* Short laptop screens (1280 x 800 and the like): the same composition, tighter, so the three points
   stay whole above the fold. */
@media (min-width: 64rem) and (max-height: 53.75rem) {
  [data-section="hero"].hf-hero { padding-top: calc(var(--hf-nav-h) + 10px); }
  [data-section="hero"] .hf-hero__title { margin-top: 14px; }
  [data-section="hero"] .hf-hero__sub { margin-top: 12px; }
  [data-section="hero"] .hf-hero__ctas { margin-top: 18px; }
  [data-section="hero"] .hf-trust { margin-top: 14px; }
  [data-section="hero"] .hf-hero__space { min-block-size: 118px; }
  [data-section="hero"] .hf-hero__base { gap: 10px; margin-bottom: 14px; }
  [data-section="hero"] .hf-point { gap: 10px; padding-block: 12px 10px; }
  [data-section="hero"] .hf-point__words { gap: 3px; }
}
/* Wide screens: the composition grows with the screen and stays on the centred axis. */
@media (min-width: 120rem) {
  [data-section="hero"] { --hf-size-avatar: 64px; }
  [data-section="hero"] .hf-point { padding: 20px 20px 16px; border-radius: 28px; }
  [data-section="hero"] .hf-point__icon { inline-size: 52px; block-size: 52px; border-radius: 15px; font-size: 28px; }
  [data-section="hero"] .hf-point__line { font-size: 16.5px; }
  [data-section="hero"] .hf-point__std { font-size: 13.5px; }
  [data-section="hero"] .hf-agentcard { padding: 12px 14px 12px 12px; border-radius: 18px; column-gap: 14px; }
  [data-section="hero"] .hf-arow__name { font-size: 16px; }
  [data-section="hero"] .hf-arow__task { font-size: 15px; }
  [data-section="hero"] .hf-st { font-size: 13px; }
  [data-section="hero"] .hf-agentcard__tag { font-size: 12.5px; }
  [data-section="hero"] .hf-trust { font-size: 18px; gap: 12px 36px; }
  [data-section="hero"] .hf-trust__icon { inline-size: 34px; block-size: 34px; font-size: 20px; }
  [data-section="hero"] .hf-who__list li { block-size: 36px; font-size: 14.5px; }
  [data-section="hero"] .hf-who__label { font-size: 13.5px; }
  [data-section="hero"] .hf-btn--lg { --h: 58px; --orb: 46px; font-size: 17px; }
  [data-section="hero"] .hf-mail { block-size: 58px; }
  [data-section="hero"] .hf-mail .hf-btn { --h: 58px; }
  [data-section="hero"] .hf-mail input { font-size: 17px; inline-size: 280px; }
  [data-section="hero"] .hf-announce { --hf-size-announce: 38px; font-size: 15px; }
  [data-section="hero"] .hf-nav__pill a { font-size: 16px; padding-inline: 18px; }
  [data-section="hero"] .hf-pin__label { font-size: 14px; padding: 5px 12px; }
  [data-section="hero"] .hf-motion { inline-size: 40px; block-size: 40px; font-size: 18px; }
}
@media (min-width: 150rem) {
  [data-section="hero"] { --hf-nav-h: 92px; --hf-fs-hero: 5.75rem; --hf-fs-hero-ar: 5.25rem; --hf-fs-hero-sub: 1.625rem; --hf-size-avatar: 76px; }
  [data-section="hero"] .hf-hero__copy { max-inline-size: min(1960px, 100%); }
  [data-section="hero"] .hf-point__icon { inline-size: 60px; block-size: 60px; border-radius: 17px; font-size: 32px; }
  [data-section="hero"] .hf-nav__pill ul { block-size: 60px; }
  [data-section="hero"] .hf-nav__pill a { block-size: 52px; font-size: 18px; padding-inline: 22px; }
  [data-section="hero"] .hf-nav__lang { font-size: 17px; }
  [data-section="hero"] .hf-point__title { font-size: 2.5rem; }
  [data-section="hero"] .hf-point__line { font-size: 19px; }
  [data-section="hero"] .hf-point__std { font-size: 15px; }
  [data-section="hero"] .hf-arow__name { font-size: 18px; }
  [data-section="hero"] .hf-arow__task { font-size: 16.5px; }
  [data-section="hero"] .hf-st, [data-section="hero"] .hf-agentcard__tag { font-size: 14px; }
  [data-section="hero"] .hf-trust { font-size: 21px; gap: 14px 44px; }
  [data-section="hero"] .hf-trust__icon { inline-size: 40px; block-size: 40px; font-size: 23px; }
  [data-section="hero"] .hf-who__list li { block-size: 42px; font-size: 16.5px; padding-inline: 13px 16px; }
  [data-section="hero"] .hf-who__list .hf-icon { font-size: 20px; }
  [data-section="hero"] .hf-who__label { font-size: 15px; }
  [data-section="hero"] .hf-btn--lg { --h: 66px; --orb: 54px; font-size: 19px; }
  [data-section="hero"] .hf-mail { block-size: 66px; padding-inline-start: 24px; }
  [data-section="hero"] .hf-mail .hf-btn { --h: 66px; }
  [data-section="hero"] .hf-mail__field { font-size: 22px; }
  [data-section="hero"] .hf-mail input { font-size: 19px; inline-size: 340px; }
  [data-section="hero"] .hf-announce { --hf-size-announce: 44px; --hf-size-announce-chip: 34px; font-size: 17px; }
  [data-section="hero"] .hf-announce__chip { font-size: 15px; }
  [data-section="hero"] .hf-pin__label { font-size: 16px; padding: 6px 14px; }
  [data-section="hero"] .hf-pin__dot { inline-size: 15px; block-size: 15px; }
  [data-section="hero"] .hf-pin__dot::before { inset: 4px; }
  [data-section="hero"] .hf-motion { inline-size: 46px; block-size: 46px; font-size: 20px; }
}

/* HOME PAGE (home-assemble) ---------------------------------------------------------------------- */
/* page.css draws the status dot as ::before; the hero draws it as <i>: keep one dot. */
[data-section="hero"] .hf-st::before { content: none; }
/* the hero's bottom hands over to the walk on the same pearl */
[data-section="hero"] { background: var(--hf-ground-pearl); }
/* the floor and its markers may run past the screen's sides on narrow screens: clip sideways only
   (no sideways scroll), the bottom bleed into the walk stays */
[data-section="hero"] { overflow-x: clip; }

/* HOME PAGE (home-refine-1) ----------------------------------------------------------------------
   The critic and the blind visitor: the hero was crowded (seven layers, the map mostly covered) and,
   on phones, the map came only after the cards. Now: the message, then the live map as the visual,
   then Build · Secure · Run as one slim row each (desktop) or three pills (phones). */
[data-section="hero"] .hf-hero__space { position: relative; }
/* the pause control: in the map band's lower inline-end corner */
[data-section="hero"] .hf-hero__space .hf-motion { position: absolute; inset-inline-end: 0; inset-block-end: 10px; margin: 0; order: 0; align-self: auto; }
/* the map's names: full ink */
[data-section="hero"] .hf-pin__label { font-size: 13.5px; color: var(--hf-color-text-1); }
@media (min-width: 64rem) {
  [data-section="hero"] { --hf-size-avatar: 40px; }
  [data-section="hero"].hf-hero { min-block-size: max(100svh, 720px); }
  [data-section="hero"] .hf-hero__space { min-block-size: clamp(220px, 30vh, 520px); }
  [data-section="hero"] .hf-hero__base { max-inline-size: min(1280px, 100%); margin-block-end: clamp(18px, 3vh, 30px); }
  [data-section="hero"] .hf-pin__label { font-size: 14px; }
  /* one slim card per point: icon, "01 Build" and the agent at work on one line, the old line under */
  [data-section="hero"] .hf-point {
    display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-rows: auto auto;
    column-gap: 12px; row-gap: 4px; align-items: center;
    padding: 14px 16px 14px 14px; border-radius: 22px;
  }
  [dir="rtl"] [data-section="hero"] .hf-point { padding: 14px 14px 14px 16px; }
  [data-section="hero"] .hf-point__head, [data-section="hero"] .hf-point__words { display: contents; }
  [data-section="hero"] .hf-point__icon { grid-column: 1; grid-row: 1 / span 2; align-self: start; inline-size: 40px; block-size: 40px; border-radius: 12px; font-size: 22px; }
  [data-section="hero"] .hf-point__title { grid-column: 2; grid-row: 1; font-size: clamp(1.375rem, 1.05rem + 0.55vw, 1.75rem); }
  [data-section="hero"] .hf-point__line { grid-column: 2 / -1; grid-row: 2; font-size: 15px; line-height: 1.35; color: var(--hf-color-text-2); }
  [data-section="hero"] .hf-agentcard {
    position: static; grid-column: 3; grid-row: 1; margin: 0; padding: 0;
    grid-template-columns: auto auto; column-gap: 8px; background: none; box-shadow: none;
  }
  [dir="rtl"] [data-section="hero"] .hf-agentcard { padding: 0; }
  [data-section="hero"] .hf-agentcard__avatar { background: var(--hf-surface-inset); box-shadow: inset 0 0 0 1px rgb(11 13 16 / 0.07); }
  [data-section="hero"] .hf-agentcard__tag { top: 0; inset-inline-end: 18px; }
  [data-section="hero"] .hf-arow { grid-template-columns: auto; justify-items: start; row-gap: 2px; }
  [data-section="hero"] .hf-arow__name { font-size: 13px; font-weight: 550; color: var(--hf-color-text-2); }
  [data-section="hero"] .hf-arow__task { display: none; }
  [data-section="hero"] .hf-st { font-size: 11.5px; padding: 2px 8px 2px 7px; }
}
/* polish 2026-11-28: the map never mirrors, so the legend and Pause sit on its west side (the Red Sea
   coast) in both languages, as the Arabic page already had them. On the east side, in English, the legend
   hid Oman's name at 1280-1920. */
@media (min-width: 48rem) {
  [dir="ltr"] [data-section="hero"] .hf-hero__legend { inset-inline-end: auto; inset-inline-start: 46px; }
  [dir="ltr"] [data-section="hero"] .hf-hero__space .hf-motion { inset-inline-end: auto; inset-inline-start: 0; }
}
/* polish 2026-11-28: from 1,024 px the three points, the map's legend and Pause sit on the story column
   (lib/story.css, 1,200 px), the same column as the header and every chapter under them. */
@media (min-width: 64rem) {
  [data-section="hero"].hf-hero { padding-inline: var(--hf-story-pad-x, 24px); }
  [data-section="hero"] .hf-hero__space,
  [data-section="hero"] .hf-hero__base { max-inline-size: var(--hf-story-max, 1200px) !important; }
}
@media (min-width: 120rem) {
  [data-section="hero"] { --hf-size-avatar: 48px; }
  [data-section="hero"] .hf-hero__base { max-inline-size: min(1560px, 100%); }
  [data-section="hero"] .hf-point__line { font-size: 17px; }
  [data-section="hero"] .hf-arow__name { font-size: 15px; }
}
@media (min-width: 150rem) {
  [data-section="hero"] { --hf-size-avatar: 56px; }
  [data-section="hero"] .hf-hero__base { max-inline-size: min(1960px, 100%); }
  [data-section="hero"] .hf-point__line { font-size: 19px; }
  [data-section="hero"] .hf-arow__name { font-size: 17px; }
}
/* Tablets: the map before the points, too. */
@media (min-width: 48rem) and (max-width: 63.99rem) {
  [data-section="hero"] .hf-hero__space { min-block-size: 300px; }
}
/* Phones: pill, H1, sub, the email field, the proof row, then the whole map (260 px), then
   Build · Secure · Run as three pills (icon, number, word). */
@media (max-width: 47.99rem) {
  [data-section="hero"] .hf-hero__space { order: 2; min-block-size: 248px; flex: 0 0 auto; margin-block-start: 4px; }
  [data-section="hero"] .hf-pin--n .hf-pin__label { transform: translate(-50%, calc(-100% - 8px)); }
  [data-section="hero"] .hf-hero__base { order: 3; margin: 4px 0 28px; }
  [data-section="hero"] .hf-points { display: flex; flex-wrap: nowrap; gap: 6px; inline-size: 100%; }
  [data-section="hero"] .hf-point {
    display: flex; flex: 1 1 0; min-inline-size: 0; align-items: center; justify-content: center;
    block-size: 46px; padding: 0 8px; border-radius: 999px; gap: 0;
  }
  [dir="rtl"] [data-section="hero"] .hf-point { padding: 0 8px; }
  [data-section="hero"] .hf-point__head { display: flex; align-items: center; gap: 6px; grid-column: auto; grid-row: auto; }
  [data-section="hero"] .hf-point__icon { display: grid; inline-size: 26px; block-size: 26px; border-radius: 8px; font-size: 16px; }
  [data-section="hero"] .hf-point__words { display: block; padding: 0; }
  [data-section="hero"] .hf-point__title { font-size: 15.5px; gap: 4px; line-height: 1; white-space: nowrap; }
  [data-section="hero"] .hf-point__num { font-size: 10.5px; }
  [data-section="hero"] .hf-point__line, [data-section="hero"] .hf-agentcard { display: none; }
  [data-section="hero"] .hf-pin__label { font-size: 13px; padding: 3px 8px; }
  [data-section="hero"] .hf-hero__space .hf-motion { inset-block-end: 2px; }
}
@media (max-width: 22.5rem) {
  [data-section="hero"] .hf-point__icon { display: none; }
}
[lang="ar"] [data-section="hero"] .hf-pin__label { font-size: 13.5px; }

/* HOME PAGE (home-refine-2) ----------------------------------------------------------------------
   The blind visitor (second reading): the hero cards' faces, "Example data" tags and status chips were
   noise at first glance ("Blocked" in red read as broken; the contract agent never came back). Each
   point is now its icon, its number and word, and its old-site line. The map says what it is: a quiet
   legend beside the pause control, "Inside your country, anywhere in the Gulf". */
[data-section="hero"] .hf-hero__legend {
  position: absolute; z-index: 3; inset-inline-end: 46px; inset-block-end: 10px; margin: 0;
  display: inline-flex; align-items: center; gap: 9px; block-size: 36px; padding-inline: 12px 14px;
  border-radius: var(--hf-radius-pill); background: var(--hf-surface-card); box-shadow: var(--hf-shadow-chip);
  font-size: 13.5px; font-weight: 500; line-height: 1.2; color: var(--hf-color-text-1); white-space: nowrap;
}
[data-section="hero"] .hf-hero__legend-dot {
  inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--hf-color-sea-500);
  box-shadow: 0 0 0 3px var(--hf-tint-sea), 0 0 0 4px var(--hf-tint-sea-line);
}
[lang="ar"] [data-section="hero"] .hf-hero__legend { font-size: 14px; }
@media (min-width: 64rem) {
  [data-section="hero"] .hf-point { grid-template-columns: 40px minmax(0, 1fr); }
}
@media (max-width: 47.99rem) {
  [data-section="hero"] .hf-hero__legend { inset-inline-end: auto; inset-inline-start: 0; inset-block-end: 2px; block-size: 32px; font-size: 12.5px; padding-inline: 10px 12px; }
  [lang="ar"] [data-section="hero"] .hf-hero__legend { font-size: 13px; }
}

/* HOME PAGE (home-bots-pricing, 2026-11-28) ------------------------------------------------------
   The founder: "Where are the bots? I think you removed them from the landing page." Each point's icon slot
   now holds its agent (section.js adds .has-bot once the character mounts; without it the icon tile stays):
   48 px from 1,024, 44 px on tablets, 40 px on phones. No tile, no tag, no status chip: the figure and the
   card's own words. The card in focus works, the others rest. */
[data-section="hero"] .hf-point.has-bot .hf-point__icon {
  inline-size: var(--hf-bot, 48px); block-size: var(--hf-bot, 48px); border-radius: 0;
  background: none; box-shadow: none; line-height: 0;
}
[data-section="hero"] .hf-point.has-bot .hf-point__icon > .hf-icon { display: none; }
@media (min-width: 64rem) {
  [data-section="hero"] .hf-point.has-bot { grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; }
  [data-section="hero"] .hf-point.has-bot .hf-point__icon { align-self: center; margin-block: -4px; }
}
/* tablets: the points are rows; the bot takes the row's first column */
@media (min-width: 48rem) and (max-width: 63.99rem) {
  [data-section="hero"] { --hf-bot: 44px; }
  [data-section="hero"] .hf-point.has-bot .hf-point__head { display: contents; }
  [data-section="hero"] .hf-point.has-bot .hf-point__icon { display: grid; grid-column: 1; grid-row: 1 / span 2; align-self: center; }
  [data-section="hero"] .hf-point.has-bot .hf-point__words { grid-column: 2; grid-row: 1 / span 2; }
}
/* phones: three small cards, the bot over "01 Build" */
@media (max-width: 47.99rem) {
  [data-section="hero"] { --hf-bot: 40px; }
  [data-section="hero"] .hf-point.has-bot { block-size: auto; padding: 8px 6px 10px; border-radius: 18px; }
  [data-section="hero"] .hf-point.has-bot .hf-point__head { flex-direction: column; gap: 4px; }
  [data-section="hero"] .hf-point.has-bot .hf-point__icon { display: grid; }
}
