/* ============================================================
   bilArabi — Home page styles
   Design artboard: 1920 x 5678  |  --u = 1 design px (scales)
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Cairo';
  src: url('../fonts/Cairo-Regular.woff2') format('woff2'), url('../fonts/Cairo-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cairo';
  src: url('../fonts/Cairo-Medium.woff2') format('woff2'), url('../fonts/Cairo-Medium.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cairo';
  src: url('../fonts/Cairo-SemiBold.woff2') format('woff2'), url('../fonts/Cairo-SemiBold.ttf') format('truetype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cairo';
  src: url('../fonts/Cairo-Bold.woff2') format('woff2'), url('../fonts/Cairo-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cairo';
  src: url('../fonts/Cairo-Black.woff2') format('woff2'), url('../fonts/Cairo-Black.ttf') format('truetype');
  font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'InterV';
  src: url('../fonts/InterVariable.woff2') format('woff2'), url('../fonts/InterVariable.ttf') format('truetype');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'NotoNaskh';
  src: url('../fonts/NotoNaskhArabic-Regular.woff2') format('woff2'), url('../fonts/NotoNaskhArabic-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
/* the real bold face — the hero intro is set in it, so never synthesise it */
@font-face {
  font-family: 'NotoNaskh';
  src: url('../fonts/NotoNaskhArabic-Bold.woff2') format('woff2'), url('../fonts/NotoNaskhArabic-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Vars ---------- */
:root {
  /* site rendered at 80% of the 1920 artboard (client: reduce size by 20%) */
  --u: calc(100vw / 2400);
  --teal: #005d69;
  --teal2: #1b7982;
  --lime: #d2da25;
  --cyan: #42bfc5;
  --strip: #d9e7e9;
  --gray: #ccd5d6;
  --txt: #414141;
  --gradH: linear-gradient(90deg, #36959a 0%, #015e69 100%);
  --gradBtn: linear-gradient(125deg, #2f8e94 0%, #10646e 100%);
  --fA: 'Cairo', sans-serif;
  --fN: 'InterV', 'Montserrat', sans-serif;
  --fE: 'Montserrat', sans-serif;
  --fB: 'NotoNaskh', 'Noto Naskh Arabic', serif;
  --shadowC: rgba(10, 55, 60, 0.22);
}
@media (max-width: 1024.9px) {
  :root { --u: 0.75px; }
}

body {
  font-family: var(--fA);
  background: #fff;
}
#wrapper { overflow-x: clip; }

.pageframe {
  max-width: calc(var(--u) * 1920);
  margin: 0 auto;
  position: relative;
  width: 100%;
}

/* ============================================================
   HEADER
   ============================================================ */
header {
  position: fixed;
  z-index: 30;
  top: 0; left: 0;
  width: 100%;
  direction: rtl;
  background: #fff;
}
header .wrap {
  position: relative;
  height: calc(var(--u) * 170);
}
header .logo {
  position: absolute;
  top: calc(var(--u) * 74);
  right: calc(var(--u) * 95);
  height: calc(var(--u) * 84);
  bottom: auto; margin: 0; left: auto;
}
header .logo img { height: 100%; width: auto; object-fit: contain; display: block; }
header .menu {
  position: absolute;
  display: block;
  top: calc(var(--u) * 84);
  right: calc(var(--u) * 347);
  left: auto;
  bottom: auto;
  width: calc(var(--u) * 1422);
}
header .menu .subcontainer { max-width: 100%; }
header .inside {
  position: relative;
  height: calc(var(--u) * 53);
  background: var(--gradH);
  display: flex;
  align-items: center;
  padding: 0 calc(var(--u) * 18) 0 calc(var(--u) * 26);
  /* gray offset bar behind, shifted up+right */
  box-shadow: calc(var(--u) * 10) calc(var(--u) * -10) 0 var(--gray);
}
header .list {
  box-shadow: none;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
}
header .list > li { display: flex; align-items: center; }
header .list > li:after {
  border-left: 1.5px solid rgba(255, 255, 255, 0.85);
  height: calc(var(--u) * 17);
  margin: 0 calc(var(--u) * 21);
  bottom: 0;
}
header .link {
  font-family: var(--fA);
  font-weight: 400;
  font-size: calc(var(--u) * 21);
  color: #fff;
  border-bottom: 0;
  white-space: nowrap;
  line-height: 1;
  padding-bottom: calc(var(--u) * 4);
}
header .link.selected {
  color: #fff;
  font-weight: 900;
  border-bottom: 0;
}
.desktop header .link:hover { color: var(--lime); }

/* AR / EN switch */
header .langswitch {
  order: -1;
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-left: calc(var(--u) * 36);
  flex-shrink: 0;
}
header .langswitch .lang {
  font-family: var(--fE);
  font-weight: 600;
  font-size: calc(var(--u) * 18.4);
  color: #fff;
  letter-spacing: 0.02em;
}
header .langswitch .lang.en { color: rgba(255, 255, 255, 0.8); }
header .langswitch .pill {
  position: relative;
  width: calc(var(--u) * 64);
  height: calc(var(--u) * 34);
  background: #fff;
  border-radius: calc(var(--u) * 17);
  margin: 0 calc(var(--u) * 10);
  display: block;
}
header .langswitch .knob {
  position: absolute;
  top: calc(var(--u) * 4);
  left: calc(var(--u) * 4);
  width: calc(var(--u) * 26);
  height: calc(var(--u) * 26);
  border-radius: 100%;
  background: var(--lime);
  transition: left 0.3s;
  display: block;
}
header .langswitch.en .knob { left: calc(var(--u) * 34); }

#content:before { height: calc(var(--u) * 170); }

/* ============================================================
   HERO
   ============================================================ */
.Hero {
  direction: rtl;
  position: relative;
}
.Hero .inner {
  position: relative;
  height: calc(var(--u) * 1009);
}
.Hero .videobox {
  position: absolute;
  top: calc(var(--u) * 69);
  right: calc(var(--u) * 640);
  width: calc(var(--u) * 1016);
  height: calc(var(--u) * 573);
  border-radius: calc(var(--u) * 22);
  overflow: hidden;
  cursor: pointer;
}
.Hero .videobox .poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.Hero .videobox iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  display: block;
  z-index: 2;
}
.Hero .videobox.playing .play { display: none; }
.Hero .videobox .play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: calc(var(--u) * 96);
  height: calc(var(--u) * 106);
  transition: transform 0.3s;
}
.Hero .videobox .play svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 calc(var(--u) * 4) calc(var(--u) * 14) rgba(0,0,0,0.25)); }
.desktop .Hero .videobox:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.Hero .caption {
  position: absolute;
  top: calc(var(--u) * 158);
  right: calc(var(--u) * 140);
  width: calc(var(--u) * 520);
  text-align: right;
  font-weight: 700;
  font-size: calc(var(--u) * 61.3);
  line-height: calc(var(--u) * 78);
  color: var(--teal);
}
.Hero .caption .ln {
  display: table;
  margin-right: 0;
  padding: 0 calc(var(--u) * 6);
  background-image: linear-gradient(var(--lime), var(--lime));
  background-repeat: no-repeat;
  background-size: 100% calc(var(--u) * 14);
  background-position: center calc(100% - var(--u) * 12);
  white-space: nowrap;
}
.Hero .mascot { position: absolute; z-index: 2; }
.Hero .mascot img { width: 100%; height: auto; display: block; }
.Hero .mascot.haya {
  /* round 5: six-line caption — the source moves Haya down and a touch smaller (ink x1535-1734, y778-1121) */
  top: calc(var(--u) * 608);
  right: calc(var(--u) * 185);
  width: calc(var(--u) * 200);
}
.Hero .parag,
.Support .parag {
  position: relative;
  font-family: var(--fB);
  font-weight: 400;
  font-size: calc(var(--u) * 30);
  line-height: calc(var(--u) * 40);
  color: #000;
  text-align: right;
}
/* client round 4 (slide 1): the designer reset this paragraph in the updated
   Illustrator — NotoNaskhArabic Bold 35, dark teal, 55 baseline step, measured
   straight off p1.ai (span tops 846.1 / 901.1 / 956.1, x 298.78..1498.79).
   Only the hero intro changes; .Support .parag keeps its own type. */
.Hero .parag {
  position: absolute;
  top: calc(var(--u) * 691);
  right: calc(var(--u) * 421);
  width: calc(var(--u) * 1234);
  font-weight: 700;
  font-size: calc(var(--u) * 35);
  line-height: calc(var(--u) * 55);
  color: var(--teal);
  /* the source reserves 69.615u at the RTL start of the first line (nine space
     glyphs). Reproducing that reservation — without reinstating the removed
     decoration — is what makes the three source lines break where they do. */
  text-indent: calc(var(--u) * 69.6);
}
.Hero .parag .deco { top: calc(var(--u) * 12); right: 0; }
.deco {
  position: absolute;
  top: calc(var(--u) * 17);
  right: calc(var(--u) * -8);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
}
.deco .sq { display: block; }
.deco .sq.lime { width: calc(var(--u) * 26); height: calc(var(--u) * 30); background: var(--lime); }
.deco .sq.cyan { width: calc(var(--u) * 38); height: calc(var(--u) * 23); background: var(--cyan); }
.Hero .btns {
  position: absolute;
  /* the taller round-4 intro pushes this row down; source ink top y1058 */
  top: calc(var(--u) * 892);
  /* client: the third button was renamed and grew — the row follows the new design */
  right: calc(var(--u) * 415.2);
  width: calc(var(--u) * 1230.1);
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.Hero .btns .pillbtn:nth-child(1) { width: calc(var(--u) * 246.2); }
.Hero .btns .pillbtn:nth-child(2) { width: calc(var(--u) * 336.2); margin-right: calc(var(--u) * 49.5); }
.Hero .btns .pillbtn:nth-child(3) { width: calc(var(--u) * 538.2); margin-right: calc(var(--u) * 60); }

/* pill buttons (hero / books / support) */
.pillbtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: calc(var(--u) * 60);
  padding: 0 calc(var(--u) * 34) calc(var(--u) * 3);
  background: var(--gradBtn);
  border-radius: calc(var(--u) * 34);
  color: #fff;
  font-family: var(--fA);
  font-weight: 400;
  font-size: calc(var(--u) * 24);
  white-space: nowrap;
  cursor: pointer;
  transition: filter 0.3s;
}
.pillbtn { box-shadow: calc(var(--u) * 8) calc(var(--u) * -8) 0 var(--gray); }

/* client: "we changed the button name and added the NEW tag" — a lime bookmark
   hanging off the start of the pill, pointing down */
/* round 5: the source strokes the early-childhood pill with a 4u lime ring (centred on the edge) */
.pillbtn.hasnew { padding: 0 calc(var(--u) * 79) calc(var(--u) * 3) calc(var(--u) * 21); box-shadow: 0 0 0 calc(var(--u) * 2) var(--lime), inset 0 0 0 calc(var(--u) * 2) var(--lime), calc(var(--u) * 8) calc(var(--u) * -8) 0 var(--gray); }
.pillbtn .newtag {
  position: absolute;
  top: calc(var(--u) * -4);
  right: calc(var(--u) * 5);
  width: calc(var(--u) * 45);
  height: calc(var(--u) * 78);
  background: linear-gradient(180deg, #cfd227 0%, #c4c522 55%, #a1a81c 100%);
  border-radius: calc(var(--u) * 4) calc(var(--u) * 4) 0 0;
  clip-path: polygon(0 0, 100% 0, 100% 67%, 50% 100%, 0 67%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: calc(var(--u) * 15);
  pointer-events: none;
}
.pillbtn .newtag b {
  /* reads bottom-to-top, like the illustrator */
  writing-mode: vertical-rl;
  /* scaleY squeezes the advance so the word matches the condensed illustrator type */
  transform: rotate(180deg);
  color: var(--teal);
  font-family: var(--fA);
  font-weight: 900;
  font-size: calc(var(--u) * 24);
  letter-spacing: 0;
  line-height: 1;
}
.pillbtn.newbook { padding: 0 calc(var(--u) * 10) calc(var(--u) * 3); box-shadow: 0 0 0 calc(var(--u) * 1.5) var(--lime), inset 0 0 0 calc(var(--u) * 1.5) var(--lime), calc(var(--u) * 10) calc(var(--u) * -10) 0 var(--gray); }
.pillbtn.newbook b { color: var(--lime); font-weight: 900; margin-left: 0.3em; }
footer .caption a.privlink { color: inherit; text-decoration: none; }
.desktop footer .caption a.privlink:hover { text-decoration: underline; }
.desktop .pillbtn:hover { filter: brightness(1.1); }

/* ============================================================
   STATS
   ============================================================ */
.Stats {
  direction: rtl;
  background: var(--strip);
  height: calc(var(--u) * 296);
}
.Stats .statsrow {
  position: absolute;
  top: calc(var(--u) * 72);
  right: calc(var(--u) * 348);
  display: flex;
  color: inherit;
}
.Stats .stat {
  position: relative;
  width: calc(var(--u) * 252);
  height: calc(var(--u) * 159);
  background: linear-gradient(205deg, #ffffff 30%, #eef4fb 100%);
  border-radius: calc(var(--u) * 16);
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  box-shadow: calc(var(--u) * 13) calc(var(--u) * -11) 0 #aec1c4;
}
.Stats .stat:nth-child(1) { margin-left: calc(var(--u) * 78); }
.Stats .stat:nth-child(2) { margin-left: calc(var(--u) * 72); width: calc(var(--u) * 273); }
.Stats .stat:nth-child(3) { margin-left: calc(var(--u) * 105); width: calc(var(--u) * 246); }
.Stats .stat:nth-child(4) { width: calc(var(--u) * 246); }
.Stats .num {
  position: absolute;
  top: calc(var(--u) * 10);
  right: calc(var(--u) * 3);
  bottom: calc(var(--u) * 9);
  width: calc(var(--u) * 92);
  background: var(--lime);
  border-radius: calc(var(--u) * 14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fN);
  font-weight: 900;
  font-size: calc(var(--u) * 45);
  color: #000;
  direction: ltr;
  letter-spacing: -0.02em;
}
.Stats .stat.wide .num { width: calc(var(--u) * 144); }
.Stats .lbl {
  position: absolute;
  right: calc(var(--u) * 108);
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  font-size: calc(var(--u) * 35);
  line-height: calc(var(--u) * 42);
  color: var(--teal);
  text-align: right;
}
.Stats .stat.wide .lbl { right: calc(var(--u) * 160); }

/* ============================================================
   SECTION TITLES
   ============================================================ */
.sectitle {
  direction: rtl;
  text-align: right;
  font-weight: 700;
  font-size: calc(var(--u) * 50);
  line-height: 1.25;
  color: var(--teal);
}
.sectitle span {
  position: relative;
  display: inline-block;
  background-image: linear-gradient(var(--lime), var(--lime));
  background-repeat: no-repeat;
  background-size: calc(100% + var(--u) * 16) calc(var(--u) * 13);
  background-position: right calc(var(--u) * -16) bottom calc(var(--u) * 6);
  padding-left: calc(var(--u) * 16);
}

/* ============================================================
   FEATURES
   ============================================================ */
.Features {
  direction: rtl;
  position: relative;
}
.Features .sectitle {
  padding-top: calc(var(--u) * 96);
  margin-left: calc(var(--u) * 396);
  margin-right: calc(var(--u) * 396);
}
.Features .grid {
  margin: calc(var(--u) * 78) calc(var(--u) * 396) 0;
  display: grid;
  grid-template-columns: repeat(3, calc(var(--u) * 348));
  grid-template-rows: calc(var(--u) * 216) calc(var(--u) * 212) calc(var(--u) * 216);
  column-gap: calc(var(--u) * 32);
  row-gap: calc(var(--u) * 28);
}
.Features .card {
  padding: calc(var(--u) * 24) calc(var(--u) * 30);
  display: flex;
  align-items: center;
  font-family: var(--fB);
  font-weight: 400;
  font-size: calc(var(--u) * 25);
  line-height: calc(var(--u) * 35);
  color: #fff;
  text-align: right;
}
.Features .card.dark { background: var(--teal); }
.Features .card.lime { background: var(--lime); color: #000; }
.Features .card.cyan { background: var(--cyan); color: #000; }
.Features .card:nth-child(7) { grid-column: 1; grid-row: 3; }
.Features .card:nth-child(8) { grid-column: 2; grid-row: 3; }
.Features .booklap {
  position: absolute;
  bottom: calc(var(--u) * -317);
  right: calc(var(--u) * 953);
  width: calc(var(--u) * 620);
  z-index: 2;
  pointer-events: none;
}
.Features .booklap img { width: 100%; display: block; }

/* ============================================================
   FLOATING ISLAND
   ============================================================ */
/* client: the island and the contact bubble show together, stacked, the
   bubble directly under the island — kept in the outer gutter so neither
   one ever overlaps the content */
.floatstack {
  position: fixed;
  z-index: 20;
  right: calc(var(--u) * 40);
  top: 50%;
  transform: translateY(-50%) translateX(calc(var(--u) * 40));
  direction: rtl;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--u) * 10);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s, transform 0.4s;
}
.floatstack.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}
.island {
  position: relative;
  direction: rtl;
}
.island .box {
  width: calc(var(--u) * 248);
  height: calc(var(--u) * 413);
  /* never let the island + contact bubble stack outgrow the screen */
  max-height: calc(100vh - var(--u) * 400);
  border: calc(var(--u) * 5) solid var(--lime);
  background: linear-gradient(135deg, #339297 0%, #04616d 100%);
  display: flex;
  flex-direction: column;
}
.island .itm {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #fff;
  font-weight: 700;
  font-size: calc(var(--u) * 18);
  text-align: center;
  padding: 0 calc(var(--u) * 2);
  white-space: nowrap;
  transition: color 0.3s;
  line-height: 1.4;
}
.island .itm + .itm:before {
  display: block; content: '';
  position: absolute;
  top: calc(var(--u) * -1);
  right: 50%;
  transform: translateX(50%);
  width: calc(var(--u) * 197);
  border-top: calc(var(--u) * 2) solid #fff;
}
.desktop .island .itm:hover, .island .itm.active { color: var(--lime); }
.island .arrow {
  width: calc(var(--u) * 44);
  height: calc(var(--u) * 44);
  margin: 0 auto;
  border-radius: 100%;
  border: calc(var(--u) * 4) solid var(--lime);
  background: #10666f;
  color: #013a41;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: calc(var(--u) * 16);
  cursor: pointer;
  transition: background 0.3s;
}
.island .arrow.up { margin-bottom: calc(var(--u) * 20); }
.island .arrow.down { margin-top: calc(var(--u) * 20); }
.desktop .island .arrow:hover { background: var(--teal); }

/* ============================================================
   PATHS
   ============================================================ */
.Paths { direction: rtl; position: relative; }
.Paths .sectitle {
  padding-top: calc(var(--u) * 271);
  margin: 0 calc(var(--u) * 396);
}
.Paths .row {
  margin: calc(var(--u) * 69) 0 0 0;
  padding-right: calc(var(--u) * 369);
  display: flex;
}
.Paths .path {
  position: relative;
  width: calc(var(--u) * 336);
  margin-top: calc(var(--u) * 78);
}
.Paths .path:nth-child(1) { margin-left: calc(var(--u) * 117); }
.Paths .path:nth-child(2) { margin-left: calc(var(--u) * 90); }
/* lime outline offset behind the body (left + diagonal + bottom) */
.Paths .path:before {
  display: block; content: '';
  position: absolute;
  left: calc(var(--u) * -22);
  top: calc(var(--u) * -3);
  width: calc(var(--u) * 365);
  height: calc(var(--u) * 310);
  background: var(--lime);
  clip-path: polygon(
    0 0,
    calc(var(--u) * 3) 0,
    calc(var(--u) * 3) calc(var(--u) * 242),
    calc(var(--u) * 67) calc(var(--u) * 306),
    calc(var(--u) * 365) calc(var(--u) * 306),
    calc(var(--u) * 365) calc(var(--u) * 310),
    calc(var(--u) * 64) calc(var(--u) * 310),
    0 calc(var(--u) * 245)
  );
  z-index: 0;
}
.Paths .phead {
  position: absolute;
  bottom: 100%;
  right: calc(var(--u) * -8);
  left: auto;
  width: calc(var(--u) * 208);
  height: calc(var(--u) * 87);
  /* client: lift the title so it isn't crowded by the subtitle tag */
  padding: 0 0 calc(var(--u) * 24);
  background: linear-gradient(105deg, #3a979c 0%, #0c6873 100%);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 500;
  font-size: calc(var(--u) * 27);
  white-space: nowrap;
  z-index: 2;
}
.Paths .ptag {
  position: absolute;
  top: calc(var(--u) * -32);
  left: calc(var(--u) * -21);
  right: auto;
  width: calc(var(--u) * 231);
  height: calc(var(--u) * 63);
  padding: 0 0 calc(var(--u) * 4);
  background: #94c2c2;
  border-radius: calc(var(--u) * 20) calc(var(--u) * 20) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-weight: 600;
  font-size: calc(var(--u) * 22);
  white-space: nowrap;
  z-index: 3;
}
.Paths .pbody {
  position: relative;
  z-index: 1;
  font-family: var(--fB);
  height: calc(var(--u) * 299);
  background: linear-gradient(250deg, #e9f0fb 0%, #fdfeff 90%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, calc(var(--u) * 48) 100%, 0 calc(100% - var(--u) * 48));
  /* client: the body text was cramped under the tag — dropped to the illustrator position */
  padding: calc(var(--u) * 43) calc(var(--u) * 27) 0 calc(var(--u) * 24);
  font-weight: 400;
  font-size: calc(var(--u) * 22);
  line-height: calc(var(--u) * 35.5);
  color: #000;
  text-align: right;
  filter: drop-shadow(calc(var(--u) * 6) calc(var(--u) * 7) calc(var(--u) * 5) rgba(10, 55, 60, 0.15));
}
.Paths .path:nth-child(2) .pbody, .Paths .path:nth-child(3) .pbody { font-size: calc(var(--u) * 23); }

/* ============================================================
   SAMPLES (BOOKS)
   ============================================================ */
.Samples { direction: rtl; position: relative; }
.Samples .sectitle {
  padding-top: calc(var(--u) * 113);
  margin: 0 calc(var(--u) * 396);
}
.Samples .shelf {
  position: relative;
  margin-top: calc(var(--u) * 63);
  padding-right: calc(var(--u) * 313);
  display: flex;
  gap: calc(var(--u) * 51);
  z-index: 1;
}
.Samples .shelf:before {
  /* strip behind books */
  display: block; content: '';
  position: absolute;
  top: calc(var(--u) * 266);
  height: calc(var(--u) * 323);
  left: calc(50% - 50vw);
  width: 100vw;
  background: var(--strip);
  z-index: -1;
}
.Samples .bookcol {
  width: calc(var(--u) * 380);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.Samples .bookpic { position: relative; height: calc(var(--u) * 456); width: 100%; }
.Samples .bookpic img {
  position: absolute;
  top: calc(var(--u) * -77);
  left: calc(var(--u) * -152);
  width: calc(var(--u) * 498);
  max-width: none;
  display: block;
}
.Samples .bookcol:nth-child(2) .bookpic img { left: calc(var(--u) * -155); }
.Samples .bookcol:nth-child(3) .bookpic img { left: calc(var(--u) * -158); }
.Samples .booklbl {
  margin-top: 0;
  text-align: center;
  font-weight: 400;
  font-size: calc(var(--u) * 23);
  line-height: calc(var(--u) * 39);
  color: #000;
}
.Samples .booklbl b {
  font-weight: 700;
  color: #000;
  font-size: calc(var(--u) * 23);
}
.Samples .pillbtn {
  margin-top: calc(var(--u) * 27);
  height: calc(var(--u) * 69);
  border-radius: calc(var(--u) * 39);
  min-width: calc(var(--u) * 183);
  font-size: calc(var(--u) * 26);
  padding: 0 calc(var(--u) * 26) calc(var(--u) * 3);
}

/* ============================================================
   SUPPORT
   ============================================================ */
.Support { direction: rtl; position: relative; }
.Support .sectitle {
  padding-top: calc(var(--u) * 153);
  margin: 0 calc(var(--u) * 390);
}
.Support .parag {
  margin: calc(var(--u) * 27) auto 0;
  width: calc(var(--u) * 1010);
  margin-right: calc(var(--u) * 392);
}
.Support .bubbles {
  position: relative;
  margin-top: calc(var(--u) * 90);
  height: calc(var(--u) * 305);
}
.Support .bubbles:before {
  /* strip behind bubbles */
  display: block; content: '';
  position: absolute;
  top: calc(var(--u) * 74);
  height: calc(var(--u) * 190);
  left: calc(50% - 50vw);
  width: 100vw;
  background: var(--strip);
}
.Support .bcol { position: absolute; top: 0; }
.Support .bcol:nth-child(1) { right: calc(var(--u) * 374); width: calc(var(--u) * 328); }
.Support .bcol:nth-child(2) { right: calc(var(--u) * 796); width: calc(var(--u) * 330); }
.Support .bcol:nth-child(3) { right: calc(var(--u) * 1220); width: calc(var(--u) * 330); }
.Support .bubble {
  position: relative;
  height: calc(var(--u) * 155);
  background: linear-gradient(250deg, #eef4fd 0%, #ffffff 85%);
  border: calc(var(--u) * 3) solid var(--lime);
  border-radius: calc(var(--u) * 26);
  filter: drop-shadow(calc(var(--u) * 6) calc(var(--u) * 8) calc(var(--u) * 6) rgba(10, 55, 60, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--teal);
  font-weight: 700;
  font-size: calc(var(--u) * 30);
  line-height: calc(var(--u) * 40);
}
.Support .bubble:after {
  /* tail down */
  display: block; content: '';
  position: absolute;
  bottom: calc(var(--u) * -18);
  right: 46%;
  width: calc(var(--u) * 32);
  height: calc(var(--u) * 32);
  background: #f4f8fe;
  border-left: calc(var(--u) * 3) solid var(--lime);
  border-bottom: calc(var(--u) * 3) solid var(--lime);
  border-bottom-left-radius: calc(var(--u) * 8);
  transform: rotate(-45deg);
}
.Support .bcol .pillbtn {
  position: absolute;
  top: calc(var(--u) * 230);
  height: calc(var(--u) * 75);
  border-radius: calc(var(--u) * 40);
  min-width: calc(var(--u) * 183);
  font-size: calc(var(--u) * 26);
}
.Support .bcol:nth-child(1) .pillbtn { right: calc(var(--u) * 40); min-width: calc(var(--u) * 240); }
.Support .bcol:nth-child(2) .pillbtn { right: calc(var(--u) * 42); min-width: calc(var(--u) * 230); }
.Support .bcol:nth-child(3) .pillbtn { right: calc(var(--u) * 42); min-width: calc(var(--u) * 246); }

/* dropdown panels */
.Support .dpanels { padding: calc(var(--u) * 55) 0 0; }
.Support .dpanel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s, margin 0.5s;
  margin: 0 calc(var(--u) * 417) 0 calc(var(--u) * 409);
}
.Support .dpanel.open {
  max-height: calc(var(--u) * 600);
  opacity: 1;
  margin-bottom: calc(var(--u) * 30);
}
.Support .dpanel.p1 .dinner, .Support .dpanel.p2 .dinner { margin: 0; }
.Support .dpanel.p3 { margin-right: calc(var(--u) * 417); margin-left: calc(var(--u) * 409); }
.Support .dinner {
  position: relative;
  background: linear-gradient(270deg, #eaf2fd 0%, #fdfeff 100%);
  border: calc(var(--u) * 3) solid var(--lime);
  border-radius: calc(var(--u) * 22);
  padding: calc(var(--u) * 20) calc(var(--u) * 46);
  font-family: var(--fB);
  font-weight: 400;
  font-size: calc(var(--u) * 22);
  line-height: calc(var(--u) * 34);
  color: #000;
  text-align: right;
  margin-top: 0;
}
.Support .dinner:before {
  /* tail up */
  display: block; content: '';
  position: absolute;
  top: calc(var(--u) * -15);
  width: calc(var(--u) * 30);
  height: calc(var(--u) * 30);
  background: #fbfdff;
  border-top: calc(var(--u) * 3) solid var(--lime);
  border-right: calc(var(--u) * 3) solid var(--lime);
  border-top-right-radius: calc(var(--u) * 8);
  transform: rotate(-45deg);
}
.Support .dpanel.p1 .dinner:before { right: calc(var(--u) * 88); }
.Support .dpanel.p2 .dinner:before { right: calc(var(--u) * 495); }
.Support .dpanel.p3 .dinner:before { right: calc(var(--u) * 890); }
.Support .dpanel.p2 .dinner { min-height: calc(var(--u) * 200); display: flex; align-items: center; }
.Support .dpanel.p3 .dinner { min-height: calc(var(--u) * 138); display: flex; align-items: center; justify-content: center; }
.Support .dpanel.eng .dinner {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: calc(var(--u) * 23);
  line-height: calc(var(--u) * 35);
  text-align: center;
  color: #1c1c1c;
  font-weight: 400;
}

/* ============================================================
   CTA
   ============================================================ */
.Cta { direction: rtl; position: relative; }
.Cta .banner {
  position: relative;
  margin: calc(var(--u) * 63) calc(var(--u) * 430) 0 calc(var(--u) * 389);
  height: calc(var(--u) * 202);
  border-radius: calc(var(--u) * 50);
  background: linear-gradient(90deg, #349298 0%, #025f6b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: calc(var(--u) * 13) calc(var(--u) * -13) 0 var(--gray);
}
.Cta .caption {
  color: #fff;
  font-weight: 700;
  font-size: calc(var(--u) * 57);
  padding-bottom: calc(var(--u) * 8);
}
.Cta .limebtn {
  position: absolute;
  bottom: calc(var(--u) * -38);
  right: 50%;
  transform: translateX(50%);
  height: calc(var(--u) * 82);
  min-width: calc(var(--u) * 281);
  padding: 0 calc(var(--u) * 40) calc(var(--u) * 6);
  border-radius: calc(var(--u) * 50);
  background: var(--lime);
  box-shadow: calc(var(--u) * -10) calc(var(--u) * 8) 0 var(--shadowC);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 700;
  font-size: calc(var(--u) * 35.2);
  transition: filter 0.3s;
}
.desktop .Cta .limebtn:hover { filter: brightness(1.06); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: none;
  margin-top: calc(var(--u) * 74);
}
footer .graycap {
  height: calc(var(--u) * 12);
  background: var(--gray);
  border-radius: calc(var(--u) * 12) calc(var(--u) * 12) 0 0;
  margin: 0 calc(var(--u) * 14);
}
footer .bar {
  background: var(--gradH);
  position: relative;
}
footer .wrap {
  padding: 0;
  height: calc(var(--u) * 102);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  direction: ltr;
  gap: calc(var(--u) * 13);
  transform: translateX(calc(var(--u) * 17));
}
footer .caption {
  position: relative;
  right: auto;
  direction: rtl;
  font-family: var(--fA);
  font-weight: 400;
  font-size: calc(var(--u) * 26);
  color: #fff;
}
footer .caption .line { padding: 0 calc(var(--u) * 8); }
footer .caption .engwrap {
  display: inline-block;
  unicode-bidi: isolate;
}
footer .caption .eng {
  font-family: var(--fE);
  font-weight: 500;
  font-size: calc(var(--u) * 21.7);
}
footer .caption .cp {
  font-size: 0.62em;
  vertical-align: super;
  line-height: 1;
}
/* v2: social icons pinned to the left end of the bar */
footer .media {
  position: relative;
  top: auto;
  transform: none;
  left: auto;
  right: auto;
  height: auto;
  margin: 0;
  display: flex;
  flex-direction: row-reverse;
}
footer .media > li { margin-left: calc(var(--u) * 22); }
footer .media > li:last-child { margin-left: 0; }
footer .item {
  color: #fff;
  font-size: calc(var(--u) * 30);
  line-height: 1;
}

/* ============================================================
   LIGHTBOXES
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox .lbback {
  position: absolute; inset: 0;
  background: rgba(0, 30, 34, 0.82);
}
.lightbox .lbinner {
  position: relative;
  z-index: 1;
  width: min(1100px, 86vw);
}
.lightbox .lbinner.video .frame {
  position: relative;
  padding-top: 56.25%;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
}
.lightbox .lbinner.pdf .frame {
  position: relative;
  height: 84vh;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
}
.lightbox iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.lightbox .lbclose {
  position: absolute;
  top: -46px;
  left: 0;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  transition: color 0.3s;
}
.lightbox .lbclose:hover { color: var(--lime); }

/* QA mode: island + contact fab pinned at design positions for pixel diff */
html.qa .floatstack {
  position: absolute;
  top: calc(var(--u) * 1759);
  right: calc(var(--u) * 307);
  transform: none !important;
  transition: none !important;
  opacity: 1;
  pointer-events: auto;
  display: block;
}
html.qa .rv { transition: none; }
html.qa .island .itm.active { color: #fff; }
html.qa .contactfab {
  position: absolute;
  top: calc(var(--u) * 674);
  right: calc(var(--u) * -7);
  opacity: 1;
}
html.qa .videobox iframe { display: none; }
html.qa .videobox .poster { display: block; }
/* design spec view shows the panels open */
html.qa .Support .dpanel {
  max-height: none !important;
  opacity: 1 !important;
  box-sizing: border-box;
}
html.qa .Support .dpanel.p1 { height: calc(var(--u) * 257); margin-bottom: calc(var(--u) * 56) !important; }
html.qa .Support .dpanel.p2 { height: calc(var(--u) * 163); margin-bottom: calc(var(--u) * 54) !important; }
html.qa .Support .dpanel.p3 { height: calc(var(--u) * 121); margin-bottom: 0 !important; }
html.qa .Support .dpanel .dinner {
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
html.qa .Support .dpanel.qaonly { display: block; }
.Support .dpanel.qaonly { display: none; }

/* ============================================================
   FLOATING CONTACT BUBBLE (v2)
   ============================================================ */
.contactfab {
  position: relative;
  z-index: 21;
  width: calc(var(--u) * 252);
  height: calc(var(--u) * 244);
  display: block;
  flex: none;
  transition: filter 0.3s, transform 0.3s;
}
.contactfab svg { width: 100%; height: 100%; display: block; }
.contactfab .txt {
  position: absolute;
  /* client design: the bubble now reads "طلب عرض توضيحي" on every page.
     Round 4 (slide 3): it must centre on the CIRCLE, not on the whole SVG box.
     The inner circle is cx118 cy120 in a 252x244 viewBox, so the label box is
     inset 16 on the left-hand side and lifted to sit on cy. */
  top: calc(var(--u) * 75);
  left: 0; right: calc(var(--u) * 16);
  text-align: center;
  color: #fff;
  pointer-events: none;
}
.contactfab .txt b {
  display: block;
  font-weight: 700;
  font-size: calc(var(--u) * 25);
  line-height: 1.2;
}
.desktop .contactfab:hover { filter: brightness(1.07); transform: translateY(calc(var(--u) * -4)); }
.contactfab.nearend { opacity: 0; pointer-events: none; transition: opacity 0.3s; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.rv {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.rv.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE  (≤1024 switches to stacked layout)
   ============================================================ */
@media (max-width: 1024.9px) {
  :root { --u: 1px; }

  html, body { overflow-x: clip; }

  /* client: the boilerplate's grey glow (styles.css, mobile only) smudged a
     band across the top of every banner — no shadow anywhere in the design */
  header { box-shadow: none; }
  header .wrap { height: 70px; }
  header .logo { top: 14px; right: 20px; left: auto; height: 42px; }
  header .menu {
    position: fixed;
    top: 0; right: 0; left: auto; bottom: unset;
    width: 100%; height: 100%;
  }
  header .inside {
    height: auto;
    background: none;
    flex-direction: column;
    padding: 22px;
    box-shadow: none;
  }
  header .list { flex-wrap: wrap; }
  header .list > li:after { display: none; }
  header .link { font-size: 24px; padding-bottom: 0; }
  header .langswitch { order: 10; margin: 28px 0 0; }
  header .openmenu { left: 20px; right: auto; color: var(--teal); }
  #content:before { height: 70px; }

  .Hero .inner { height: auto; padding: 30px 20px 40px; display: flex; flex-direction: column; }
  .Hero .caption {
    position: relative;
    top: auto; left: auto; right: auto;
    width: 100%;
    text-align: center;
    font-size: 34px;
    line-height: 52px;
    margin-bottom: 26px;
    order: -1;
  }
  .Hero .caption .ln {
    display: inline;
    white-space: normal;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    background-size: 100% 8px;
    background-position: center calc(100% - 6px);
    padding: 0 4px;
  }
  .Hero .videobox {
    position: relative;
    top: auto; right: auto;
    width: 100%; height: auto;
    aspect-ratio: 16/9;
    border-radius: 14px;
  }
  .Hero .videobox .play { width: 64px; height: 70px; }
  .Hero .mascot { display: none; }
  .Hero .parag {
    position: relative;
    top: auto; right: auto;
    width: 100%;
    text-indent: 0;
    margin-top: 26px;
    font-size: 17px;
    line-height: 30px;
    padding-top: 0;
    text-indent: 42px;
  }
  .deco { right: 0; top: 0; }
  .Hero .parag .deco { top: 8px; right: 0; }
  .Hero .parag .deco .sq.lime { width: 15px; height: 17px; }
  .Hero .parag .deco .sq.cyan { width: 20px; height: 13px; }
  .Hero .btns {
    position: relative;
    top: auto; right: auto;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 30px;
  }
  .pillbtn { height: 52px; border-radius: 28px; font-size: 17px; padding: 0 26px 3px; }
  .pillbtn:before { top: 6px; right: 7px; }
  .Hero .btns .pillbtn:nth-child(1), .Hero .btns .pillbtn:nth-child(2), .Hero .btns .pillbtn:nth-child(3) { width: auto; margin-right: 0; max-width: 100%; }
  .pillbtn.newbook b { white-space: nowrap; }
  .pillbtn.newbook b { white-space: nowrap; }
  .pillbtn.newbook { height: auto; min-height: 52px; padding: 6px 16px 8px; white-space: normal; text-align: center; line-height: 1.35; font-size: 16px; }

  .Stats { height: auto; padding: 40px 20px; }
  .Stats .statsrow {
    position: relative;
    top: auto; right: auto;
    flex-wrap: wrap;
    gap: 24px 20px;
    justify-content: center;
  }
  .Stats .stat,
  .Stats .stat:nth-child(1), .Stats .stat:nth-child(2),
  .Stats .stat:nth-child(3), .Stats .stat:nth-child(4) {
    margin: 0;
    width: calc(50% - 10px);
    min-width: 260px;
    height: 140px;
  }
  .Stats .num { width: 88px; font-size: 40px; }
  .Stats .stat.wide .num { width: 110px; }
  .Stats .lbl { right: 104px; font-size: 20px; line-height: 28px; }
  .Stats .stat.wide .lbl { right: 126px; }

  .sectitle { font-size: 28px; text-align: center; }
  .sectitle span { background-size: calc(100% + 10px) 8px; background-position: right -10px bottom 4px; padding-left: 10px; }

  .Features .sectitle { padding-top: 56px; margin: 0 20px; }
  .Features .grid {
    margin: 30px 20px 0;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    row-gap: 16px;
  }
  .Features .card { min-height: 0; padding: 22px 24px; font-size: 17px; line-height: 30px; }
  .Features .card:nth-child(7), .Features .card:nth-child(8) { grid-column: auto; grid-row: auto; }
  .Features .booklap {
    position: relative;
    bottom: auto; right: auto;
    width: min(420px, 80%);
    margin: 26px auto 0;
  }
  .island { display: none; }

  .Paths .sectitle { padding-top: 60px; margin: 0 20px; }
  .Paths .row {
    padding: 0 20px;
    flex-direction: column;
    margin-top: 40px;
  }
  .Paths .path,
  .Paths .path:nth-child(1), .Paths .path:nth-child(2) {
    width: 100%;
    max-width: 480px;
    margin: 60px auto 0;
  }
  .Paths .phead { height: 62px; font-size: 20px; border-radius: 12px 12px 0 0; right: 24px; }
  .Paths .ptag { height: 48px; font-size: 17px; top: -46px; left: 0; border-radius: 10px 10px 0 0; z-index: 0; padding-top: 8px; }
  .Paths .pbody { height: auto; font-size: 16px; line-height: 28px; padding: 32px 24px 40px 28px; min-height: 0; }

  .Samples .sectitle { padding-top: 60px; margin: 0 20px; }
  .Samples .shelf {
    padding: 0 20px;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
  }
  .Samples .shelf:before { top: 30%; height: 40%; }
  .Samples .bookcol { width: 100%; max-width: 420px; }
  .Samples .bookpic { height: auto; width: min(340px, 80vw); margin: 0 auto; }
  .Samples .bookpic img, .Samples .bookcol:nth-child(1) .bookpic img,
  .Samples .bookcol:nth-child(2) .bookpic img, .Samples .bookcol:nth-child(3) .bookpic img {
    position: relative;
    top: 0; left: 0;
    width: 100%;
    margin-top: 0;
  }
  .Samples .booklbl { font-size: 18px; line-height: 30px; margin-top: 10px; }
  .Samples .booklbl b { font-size: 20px; }
  .Samples .pillbtn { margin-top: 20px; height: 56px; }

  .Support .sectitle { padding-top: 60px; margin: 0 20px; }
  .Support .parag {
    width: auto;
    margin: 24px 20px 0;
    font-size: 17px;
    line-height: 30px;
    padding-top: 40px;
  }
  .Support .bubbles { height: auto; margin-top: 40px; padding: 0 20px; }
  .Support .bubbles:before { display: none; }
  .Support .bcol,
  .Support .bcol:nth-child(1), .Support .bcol:nth-child(2), .Support .bcol:nth-child(3) {
    position: relative;
    right: auto; top: auto;
    width: 100%;
    max-width: 340px;
    margin: 0 auto 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .Support .bubble { width: 100%; height: 130px; font-size: 21px; line-height: 30px; border-radius: 20px; }
  .Support .bcol .pillbtn,
  .Support .bcol:nth-child(1) .pillbtn, .Support .bcol:nth-child(2) .pillbtn, .Support .bcol:nth-child(3) .pillbtn {
    position: relative;
    top: auto; right: auto;
    margin-top: 30px;
    height: 56px;
  }
  .Support .dpanels { padding: 10px 20px 0; }
  .Support .dpanel, .Support .dpanel.p3 { margin: 0; }
  .Support .dpanel.open { margin-bottom: 20px; }
  .Support .dinner { font-size: 16px; line-height: 28px; padding: 20px 22px; }
  .Support .dpanel.p1 .dinner:before,
  .Support .dpanel.p2 .dinner:before,
  .Support .dpanel.p3 .dinner:before { right: 40px; }
  .Support .dpanel.eng .dinner { font-size: 17px; line-height: 26px; }

  .Cta .banner {
    margin: 60px 20px 0;
    height: auto;
    padding: 40px 24px 60px;
    border-radius: 26px;
  }
  .Cta .caption { font-size: 26px; text-align: center; padding-bottom: 0; }
  .Cta .limebtn { height: 64px; min-width: 220px; font-size: 20px; bottom: -30px; }

  footer { margin-top: 90px; }
  footer .graycap { margin: 0 8px; height: 8px; }
  footer .wrap { height: auto; padding: 18px 16px; flex-wrap: wrap; gap: 12px; }
  footer .caption { font-size: 15px; width: auto; right: auto; }
  footer .media { position: relative; top: auto; left: auto; transform: none; margin: 0 18px 0 0; }
  footer .item { font-size: 20px; }

  /* mobile: no island — the contact bubble alone sits in the corner. There is
     no outer gutter to park it in here, so it is kept small and it steps out of
     the way whenever it would sit on top of something the reader is using. */
  .floatstack {
    top: auto;
    bottom: 10px;
    right: 10px;
    transform: none !important;
    gap: 0;
  }
  .contactfab {
    width: 100px;
    height: 97px;
  }
  /* same circle-centred label, scaled to the 100x97 mobile bubble */
  .contactfab .txt { top: 28px; left: 0; right: 6px; }
  .contactfab .txt b { font-size: 11px; }
  /* while a field is focused the bubble would cover the keyboard-adjacent rows */
  body.typing .floatstack { opacity: 0; pointer-events: none; transition: opacity 0.2s; }
  footer .item img { height: auto; }

  .lightbox .lbinner { width: 92vw; }
  .lightbox .lbclose { top: -40px; }
}

@media (max-width: 560px) {
  .Stats .stat,
  .Stats .stat:nth-child(1), .Stats .stat:nth-child(2),
  .Stats .stat:nth-child(3), .Stats .stat:nth-child(4) {
    width: 100%;
    max-width: 320px;
  }
  .Hero .caption { font-size: 27px; line-height: 44px; }
  .Cta .caption { font-size: 21px; }
}

/* ============================================================
   CLIENT ROUND 5 — foundations (pg4) and contact (pg7)
   ============================================================ */
/* "(Science of Reading)": 28u against the 30u body (0.9333em), bold, same face as the sentence */
body.pg4 .F4Res .rstxt .num { font-family: inherit; font-weight: inherit; font-size: 0.9333em; }
/* the second contact box now holds two separate mailto links */
body.pg7 .Reach .reachbox.r2 .mail a { color: inherit; text-decoration: none; cursor: pointer; }
body.pg7 .Reach .reachbox.r2 .mail a:hover { text-decoration: underline; }

/* section menu (island) + contact bubble: centred in the space UNDER the header, and never taller than that space,
   so the top arrow is never hidden behind the logo (same rule as the English version, css/en.css) */
@media (min-width: 1025px) {
  .floatstack { top: calc(50% + var(--u) * 85); }
  .island .box { max-height: calc(100vh - var(--u) * 590); }
}
