@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/plex-latin-400.woff2') format('woff2');
  unicode-range: U+0020-00FF,U+0131,U+0152-0153,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+FB01-FB02;
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/plex-latin-500.woff2') format('woff2');
  unicode-range: U+0020-00FF,U+0131,U+0152-0153,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+FB01-FB02;
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/plex-latin-600.woff2') format('woff2');
  unicode-range: U+0020-00FF,U+0131,U+0152-0153,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+FB01-FB02;
}

@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/plex-arabic-400.woff2') format('woff2');
  unicode-range: U+0020-007E,U+00A0,U+0600-06FF,U+0750-077F,U+08A0-08FF,U+2000-206F,U+FB50-FDFF,U+FE70-FEFF;
}

@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/plex-arabic-500.woff2') format('woff2');
  unicode-range: U+0020-007E,U+00A0,U+0600-06FF,U+0750-077F,U+08A0-08FF,U+2000-206F,U+FB50-FDFF,U+FE70-FEFF;
}

@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/plex-arabic-600.woff2') format('woff2');
  unicode-range: U+0020-007E,U+00A0,U+0600-06FF,U+0750-077F,U+08A0-08FF,U+2000-206F,U+FB50-FDFF,U+FE70-FEFF;
}
/* Exact language-label glyphs from the Arabic Medium face. */
@font-face {
  font-family: 'Rasdium Language Label';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/rasdium-language-label.woff2') format('woff2');
}

/* Match the English hero's Plex advances while its 600-weight webfont loads. */
@font-face {
  font-family: "Plex headline fallback";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("LiberationSans-Bold");
  font-style: normal;
  font-weight: 600;
  size-adjust: 96.2%;
}

:root {
  --navy: #0b1730;
  --mint: #34d4b2;
  --slate: #15243b;
  --mist: #f4f8fa;
  --muted: #b8c9d7;
  --line: #31425a;
  --control-line: #6e8196;
  --latin: "IBM Plex Sans", sans-serif;
  --arabic: "IBM Plex Sans Arabic", "IBM Plex Sans", sans-serif;
  --text-family: var(--latin);
  --gutter: clamp(24px, 5.5vw, 80px);
  --section-space: clamp(56px, 6.4vw, 92px);
  --grid-gap: clamp(32px, 5vw, 72px);
  --body-size: 17px;
  --body-leading: 1.65;
  --lead-size: clamp(18px, 1.5vw, 21px);
  --lead-measure: 39ch;
  --ui-size: 15px;
  --small-size: 13px;
  --label-size: 12px;
  --label-spacing: .09em;
  --h1-size: clamp(48px, 4.65vw, 70px);
  --h2-size: clamp(32px, 3.1vw, 46px);
  --heading-leading: 1.13;
  --head-spacing: -.025em;
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-block-start: 28px;
}
:root[lang="ar"] {
  --text-family: var(--arabic);
  --body-size: 19px;
  --body-leading: 1.85;
  --lead-size: 20px;
  --lead-measure: 27em;
  --ui-size: 17px;
  --small-size: 15px;
  --label-size: 15px;
  --label-spacing: normal;
  --h1-size: clamp(50px, 4.9vw, 74px);
  --h2-size: clamp(34px, 3.2vw, 49px);
  --heading-leading: 1.42;
  --head-spacing: normal;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--mist);
  background: var(--navy);
  font-family: var(--text-family);
  font-size: var(--body-size);
  font-weight: 400;
  line-height: var(--body-leading);
  font-synthesis: none;
}
[lang="en"], bdi[dir="ltr"] { font-family: var(--latin); }
[lang="ar"] { font-family: var(--arabic); letter-spacing: normal; }
html[lang="en"] .language [lang="ar"] { font-family: "Rasdium Language Label", var(--arabic); }
bdi { unicode-bidi: isolate; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, nav a, .button, .inline-link, .language, .header-follow, summary {
  font-weight: 500;
}
h1, h2, h3, strong { font-weight: 600; }
p { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
::selection { color: var(--navy); background: var(--mint); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 4px;
}
main:focus { outline: none; }
.skip {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-start: var(--gutter);
  z-index: 20;
  padding: 10px 18px;
  color: var(--navy);
  background: var(--mint);
  transform: translateY(-180%);
}
.skip:focus { transform: none; }
.shell {
  width: min(100%, 1440px);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.topbar, .desktop-nav, .header-actions, .brand {
  display: flex;
  align-items: center;
}
.topbar {
  min-height: 96px;
  justify-content: space-between;
  gap: 20px;
  border-block-end: 1px solid var(--line);
}
.brand { flex: none; min-height: 48px; text-decoration: none; }
.logo { display: block; width: 174px; height: auto; transform: none; }
.desktop-nav { gap: clamp(18px, 2.3vw, 34px); }
.header-actions { gap: 18px; }
.desktop-nav a, .text-link, .language, .header-follow, .mobile-menu a,
.inline-link, .footer-social a {
  text-decoration: none;
  font-size: var(--ui-size);
}
.desktop-nav a, .language, .footer-social a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding-block: 6px;
}
.desktop-nav a, .text-link { color: var(--muted); }
.language { justify-content: center; min-width: 44px; }
.language[lang="en"] { font-size: 15px; }
.language[lang="ar"] { font-size: 17px; }
.desktop-nav a:hover, .text-link:hover, .language:hover,
.inline-link:hover, .footer-social a:hover, .mobile-menu a:hover { color: var(--mint); }
.header-follow, .menu-toggle, .motion-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 6px 15px;
  border: 1px solid var(--control-line);
  border-radius: 5px;
  background: transparent;
  color: var(--mist);
  line-height: 1.6;
}
.header-follow:hover, .menu-toggle:hover, .motion-control:hover { border-color: var(--mint); }
.menu-toggle { display: none; width: 44px; padding: 8px; cursor: pointer; }
.menu-toggle svg { width: 20px; height: 20px; }
.mobile-menu { padding-block: 8px 16px; border-block-end: 1px solid var(--line); }
.mobile-menu a { display: flex; align-items: center; gap: 10px; min-height: 46px; }
.mobile-menu svg, .button svg, .inline-link svg { width: 18px; height: 18px; flex: none; }

.hero, .vision, .approach {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--grid-gap);
}
.hero {
  align-items: center;
  padding-block: clamp(44px, 4.8vw, 70px) clamp(48px, 4.3vw, 64px);
}
.hero-copy, .art-wrap, .approach-copy, .vision-body { min-width: 0; }
.eyebrow, .section-label {
  margin: 0 0 16px;
  color: var(--mint);
  font-size: var(--label-size);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: var(--label-spacing);
  text-transform: uppercase;
}
.status-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-block-end: 19px; }
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 4px 11px;
  border-radius: 4px;
  background: var(--slate);
  font-size: var(--small-size);
  font-weight: 500;
  line-height: 1.65;
}
.status::before { content: ""; width: 5px; height: 5px; flex: none; border-radius: 50%; background: var(--mint); }
.coming, .availability, .art-caption, .motion-message, .section-index,
.footer-tagline, .footer-bottom, .noscript { color: var(--muted); font-size: var(--small-size); }
h1, h2 {
  margin: 0;
  font-weight: 600;
  line-height: var(--heading-leading);
  letter-spacing: var(--head-spacing);
  text-wrap: balance;
}
h1 { font-size: var(--h1-size); }
h2 { font-size: var(--h2-size); }
h1 span { display: block; }
h1 .accent { color: var(--mint); }
.hero-description {
  margin-block: 22px 24px;
  max-inline-size: var(--lead-measure);
  color: var(--muted);
  font-size: var(--lead-size);
  line-height: var(--body-leading);
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.button, .inline-link { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.button {
  min-height: 48px;
  padding: 9px 18px;
  gap: 12px;
  border: 1px solid var(--mint);
  border-radius: 5px;
  background: var(--mint);
  color: var(--navy);
  font-size: var(--ui-size);
  line-height: 1.6;
  transition: background-color .18s, transform .18s;
}
.button:hover { background: #60e0c5; transform: translateY(-2px); }
.button:focus-visible { outline-color: var(--mist); }
.inline-link { min-height: 44px; gap: 8px; line-height: 1.6; }
html[dir="rtl"] .directional { transform: scaleX(-1); }
.availability { margin-block-start: 14px; }
.art-wrap { position: relative; }
.art {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1 / 1;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: #08172b;
}
.art picture, .art img { display: block; width: 100%; height: 100%; }
.art img, .art video { object-fit: cover; object-position: 100% 50%; }
.art video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}
.art.playing video { opacity: 1; }
.art.playing picture { visibility: hidden; }
.art::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 44px 16px var(--navy); }
.art-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-block-start: 8px;
  line-height: 1.6;
}
.motion-control { font-size: var(--small-size); cursor: pointer; flex-shrink: 0; }
.motion-message:not(:empty) { margin-block-start: 8px; }

.section { padding-block: var(--section-space); border-block-start: 1px solid var(--line); }
.vision { align-items: start; }
.vision-body > p, .approach-copy > p:not(.section-label), .section-note, .product-description,
.pillar p, .updates > p:not(.section-label) { color: var(--muted); }
.vision-body > p { max-inline-size: 58ch; }
.principles { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-block-start: 20px; font-size: var(--small-size); }
.principles span { display: inline-flex; align-items: center; gap: 8px; }
.principles span::before { content: ""; background: var(--mint); width: 4px; height: 4px; }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-block-end: clamp(24px, 3vw, 42px);
}
.section-note { max-inline-size: 32ch; font-size: var(--ui-size); }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.1vw, 30px); }
.product {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: linear-gradient(160deg, #15243b99, transparent 85%);
}
.product-art { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; border-block-end: 1px solid var(--line); }
.product-copy { display: flex; flex: 1; flex-direction: column; padding: clamp(20px, 2.3vw, 34px); }
.product-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product h3 {
  margin: 0 0 10px;
  font-size: clamp(20px, 1.75vw, 26px);
  line-height: 1.4;
  letter-spacing: -.015em;
}
.product-top + h3 { margin-block-start: 16px; }
.product .benefit {
  margin: 0 0 10px;
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 500;
  line-height: 1.5;
}
.product-description { max-inline-size: 54ch; }
.product-foot {
  margin-block: auto 0;
  padding-block-start: 20px;
  color: var(--mint);
  font-size: var(--small-size);
}
.product-foot::before { content: ""; display: block; height: 1px; margin-block-end: 14px; background: var(--line); }
.approach { align-items: center; }
.approach-copy > p:not(.section-label) { max-inline-size: 54ch; margin-block-start: 18px; }
.approach-copy .aside { padding-inline-start: 16px; border-inline-start: 2px solid var(--mint); font-size: var(--ui-size); }
.relationship { min-width: 0; margin: 0; padding: clamp(18px, 2.5vw, 36px); background: var(--slate); border: 1px solid var(--line); border-radius: 7px; }
.relationship > p, .diagram-caption { font-size: var(--small-size); color: var(--muted); }
.relationship > p { margin-block-end: 18px; }
.inputs { --branch-gap: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--branch-gap); }
.node { min-width: 0; padding: 14px 8px; border: 1px solid #51617a; border-radius: 4px; background: var(--navy); text-align: center; }
.node strong { display: block; font-size: var(--ui-size); line-height: 1.55; }
.node small { display: block; font-size: var(--small-size); line-height: 1.65; color: var(--muted); margin-block-start: 4px; }
.branches { position: relative; width: calc(50% + 6px); height: 32px; margin-inline: auto; border-inline: 1px solid #6b9e99; border-block-end: 1px solid #6b9e99; }
.branches::after { content: ""; position: absolute; inset-block-start: 100%; inset-inline-start: 50%; height: 20px; border-inline-start: 1px solid var(--mint); }
.node-output { margin-block-start: 20px; border-color: var(--mint); }
.node-output strong { color: var(--mint); }
.diagram-caption { margin-block-start: 16px; text-align: center; }
.approach-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-block-start: clamp(32px, 4vw, 58px); }
.pillar { min-width: 0; border-block-start: 1px solid var(--line); padding-block-start: 16px; }
.pillar h3 { margin: 6px 0 8px; font-size: max(18px, 1em); line-height: 1.5; }
.pillar p { font-size: var(--body-size); }

.updates {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(40px, 5.5vw, 76px) var(--gutter);
  margin-block-end: var(--section-space);
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--slate);
  text-align: center;
}
.updates-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.updates::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #0b1730e6; }
.updates h2 { max-inline-size: 25ch; margin-inline: auto; }
.updates > p:not(.section-label) { max-inline-size: 46ch; margin: 18px auto 24px; }
.updates > .small { font-size: var(--small-size); margin: 14px auto 0; }
.footer { border-block-start: 1px solid var(--line); padding-block: 30px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px 28px; }
.footer .logo { width: 152px; }
.footer-tagline { margin-block-start: 7px; }
.footer-social { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.footer-social [lang="en"] { font-size: 15px; }
.back-top svg { transform: rotate(180deg); }
.footer-bottom {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0 24px;
  border-block-start: 1px solid var(--line);
  margin-block-start: 14px;
}
.page-info { max-inline-size: 58ch; }
.page-info summary { width: fit-content; min-height: 44px; padding-block: 8px; cursor: pointer; }
.noscript { margin-block-start: 12px; }

/* Latin names and numbers remain isolated and keep their native type metrics. */
html[lang="ar"] .product h3 { letter-spacing: normal; }
html[lang="ar"] .benefit { line-height: 1.65; }
html[lang="ar"] .node strong bdi { font-size: .9em; }
html[lang="ar"] .section-note { max-inline-size: 26em; }
html[lang="ar"] .vision-body > p, html[lang="ar"] .approach-copy > p:not(.section-label) { max-inline-size: 33em; }
html[lang="ar"] .updates h2 { max-inline-size: 18em; }
html[lang="ar"] .updates > p:not(.section-label) { max-inline-size: 31em; }

.page-enter { animation: entrance .65s both; }
.hero-copy.page-enter { animation-delay: .05s; }
.art-wrap.page-enter { animation-delay: .14s; }
@keyframes entrance {
  from { opacity: .25; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.reveal.is-entering { animation: entrance .6s both; }

@media (max-width: 1100px) {
  .header-follow { display: none; }
}
@media (max-width: 1023px) {
  :root { --gutter: 32px; --grid-gap: 30px; }
  .topbar { min-height: 82px; }
  .logo { width: 155px; }
  .motion-control { display: none; }
  .art-caption { justify-content: center; }
  /* The same bottom-aligned crop serves both tablet columns and mobile. */
  .art { aspect-ratio: 780 / 746; }
  .art picture { position: absolute; inset: 0; }
  .art img {
    position: absolute;
    inset-block-end: 0;
    inset-inline-start: 0;
    width: 100%;
    height: calc(100% * 1386 / 746);
    max-width: none;
    object-fit: contain;
    object-position: center;
  }
  .art::after { box-shadow: inset 0 0 20px 4px var(--navy); }
  .section-heading { align-items: start; }
  .approach { grid-template-columns: 1fr; }
  .relationship { max-inline-size: 640px; width: 100%; margin-inline: auto; }
}
@media (max-width: 767px) {
  :root {
    --gutter: clamp(18px, 5.6vw, 26px);
    --grid-gap: 22px;
    --section-space: 48px;
    --body-size: 16px;
    --lead-size: 17px;
    --h1-size: clamp(37px, 9vw, 54px);
    --h2-size: clamp(29px, 6.6vw, 38px);
  }
  :root[lang="ar"] {
    --body-size: 18px;
    --lead-size: 19px;
    --h1-size: clamp(39px, 9.8vw, 54px);
    --h2-size: clamp(30px, 7vw, 39px);
  }
  html[lang="en"] .hero h1 { font-family: "IBM Plex Sans", "Plex headline fallback", sans-serif; }
  .topbar { min-height: 78px; gap: 10px; }
  .desktop-nav { display: none; }
  /* Keep the switch in place while the menu button is being enabled. */
  .header-actions { display: grid; grid-template-columns: auto 44px; gap: 10px; }
  .menu-toggle { display: inline-flex; }
  .logo { width: clamp(121px, 37vw, 155px); }
  .hero, .vision, .approach, .product-grid, .approach-pillars { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-block: 30px 36px; gap: 20px; }
  .eyebrow, .section-label { margin-block-end: 12px; }
  .status-line { margin-block-end: 14px; }
  .hero-description { margin-block: 15px 18px; }
  .actions { gap: 4px 16px; }
  .availability { margin-block-start: 10px; }
  .art-wrap { width: min(100%, 430px); margin-inline: auto; }
  .section-heading { display: block; margin-block-end: 22px; }
  .section-note { margin-block-start: 12px; }
  .product-grid { gap: 20px; }
  .relationship { padding: 18px 14px; }
  .node { padding: 12px 5px; }
  .node strong, .node small { font-size: 13px; }
  html[lang="ar"] .node strong, html[lang="ar"] .node small { font-size: 15px; }
  .approach-pillars { gap: 18px; }
  .updates { padding: 34px 18px; }
  .footer-top { align-items: start; flex-direction: column; gap: 8px; }
  .footer-bottom { display: block; padding-block-start: 12px; }
}
/* The control track and each artwork have the same geometry in both themes. */
:root {
  --page: #0b1730;
  --text: #f4f8fa;
  --section-surface: #101e35;
  --accent-text: #34d4b2;
  --active-ink: #0b1730;
  --wordmark: url("assets/rasdium-logo.svg");
  --hero-desktop: url("assets/clarity-desktop.webp");
  --hero-mobile: url("assets/clarity-mobile.webp");
}
:root[data-theme="light"] {
  color-scheme: light;
  --page: #fff;
  --text: #0b1730;
  --muted: #15243b;
  --section-surface: #f4f8fa;
  --line: #d5e2e6;
  --control-line: #8296a2;
  --accent-text: #096656;
  --wordmark: url("assets/rasdium-logo-light.svg");
  --hero-desktop: url("assets/clarity-light-desktop.webp");
  --hero-mobile: url("assets/clarity-light-mobile.webp");
}
html, body, header { background-color: var(--page); color: var(--text); }
.logo { aspect-ratio: 361.681 / 100; background: var(--wordmark) center / contain no-repeat; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.theme-toggle {
  display: inline-flex; min-height: 44px; padding: 0; align-items: center; justify-content: center;
  color: var(--text); border: 0; border-radius: 30px; background: transparent; cursor: pointer; visibility: hidden;
}
html[data-js="on"] .theme-toggle { visibility: visible; }
.theme-track { direction: ltr; display: inline-flex; gap: 1px; padding: 3px; border: 1px solid var(--control-line); border-radius: 30px; }
.theme-track > span { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 100%; }
.theme-track svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.theme-track .moon svg { fill: currentColor; stroke-width: .8; }
:root[data-theme="dark"] .moon, :root[data-theme="light"] .sun { background: var(--mint); color: var(--active-ink); }
.theme-toggle:hover .theme-track { border-color: var(--accent-text); }
.hero-poster { display: block; position: absolute; inset: 0; background: var(--hero-desktop) right center / cover no-repeat; }
.hero-poster[data-prepared] { background-image: none; }
.hero-poster .prepared-lens { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
@media (max-width: 1023px) {
  .hero-poster .prepared-lens { inset: auto 0 0; height: auto; object-fit: contain; }
}
.art.playing .hero-poster { visibility: hidden; }
.art { background: var(--page); }
.art::after { box-shadow: inset 0 0 38px 9px var(--page); }
.art-caption { justify-content: flex-start; }
.motion-control, .header-follow, .menu-toggle { color: var(--text); }
.section-label, .vision-body > .section-label, .node-output strong { color: var(--accent-text); }
.status { background: var(--section-surface); }
:root[data-theme="light"] .accent { position: relative; width: fit-content; color: var(--text); }
:root[data-theme="light"] .accent::after { content: ""; position: absolute; width: 36%; max-width: 66px; height: 3px; inset-inline-start: 0; inset-block-end: -.06em; border-radius: 4px; background: var(--mint); }
:root[data-theme="light"] :is(a,button,summary):focus-visible { outline-color: var(--navy); }
:root[data-theme="light"] :is(.desktop-nav,.mobile-menu,.footer-social) a:hover,
:root[data-theme="light"] :is(.language,.inline-link):hover { color: var(--accent-text); }
header .desktop-nav a { color: var(--text); }
.vision, .approach { align-items: center; }
.vision-body > p:not(.section-label), .approach-copy > p:not(.section-label) { margin-block-start: 18px; max-inline-size: 51ch; }
.scene-frame { position: relative; width: 100%; aspect-ratio: 8/5; margin: 0; overflow: hidden; border-radius: 6px; background: var(--art-back); isolation: isolate; }
.scene-surface, .scene-frame > noscript img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.scene-midpoint { position: absolute; inset-block-start: 50%; inset-inline-start: 50%; width: 1px; height: 1px; pointer-events: none; }
.scene-surface > :is(img,svg) { display: block; width: 100%; height: 100%; object-fit: contain; }
.vision .scene-frame, .platform-wrap .scene-frame { border: 1px solid var(--line); }
.product { background: var(--section-surface); }
.product .scene-frame { border-radius: 0; border-block-end: 1px solid var(--line); }
.pillar .scene-frame { margin-block-end: 14px; }
.pillar h3 { margin-block-start: 0; }
.platform-wrap, .updates-copy { min-width: 0; }
.platform-wrap .art-caption { min-height: 44px; }
.connections { margin-block-start: 14px; }
.connections summary { width: fit-content; min-height: 44px; padding-block: 8px; color: var(--accent-text); cursor: pointer; font-size: var(--ui-size); }
.connections .relationship { margin: 8px 0 0; background: var(--section-surface); }
.connections .node { background: var(--page); border-color: var(--control-line); }
.updates { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--grid-gap); align-items: center; padding: clamp(24px, 4vw, 58px); text-align: start; background: var(--section-surface); }
.updates::before { content: none; }
.updates h2 { margin: 0; }
.updates-copy p { margin-block: 16px 22px; max-width: 45ch; color: var(--muted); }
.updates .scene-frame { border: 1px solid var(--line); }
[data-paused="true"] .motion-art * { animation-play-state: paused !important; }
@media (min-width: 1024px) {
  .art-caption { min-height: 44px; }
}
@media (max-width: 1023px) {
  .hero-poster { background-image: var(--hero-mobile); background-position: center bottom; background-size: 100% auto; }
  .art::after { box-shadow: inset 0 0 20px 4px var(--page); }
  .platform-wrap .art-caption { display: none; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .topbar { gap: 12px; }
  .desktop-nav { gap: 14px; }
  .header-actions { gap: 10px; }
  .approach { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .approach-pillars { gap: 16px; }
}
@media (max-width: 767px) {
  .topbar { gap: 8px; }
  .logo { width: clamp(105px, calc(63vw - 95px), 152px); }
  /* Fixed language and menu tracks preserve RC4's pre-font and pre-script header positions. */
  .header-actions { grid-template-columns: 51px 57px 44px; column-gap: 5px; }
  html[lang="ar"] .header-actions { grid-template-columns: 59px 57px 44px; }
  .header-actions .language { grid-column: 1; }
  .theme-toggle { grid-column: 2; }
  .menu-toggle { grid-column: 3; }
  .theme-track > span { width: 24px; height: 24px; }
  .theme-track { gap: 1px; padding: 2px; }
  .vision .scene-frame { margin: 0; }
  .updates { grid-template-columns: minmax(0,1fr); gap: 18px; padding: 22px 18px; }
  .updates-copy p { margin-block: 12px 18px; }
  .pillar { padding-block-start: 0; border-block: 0; }
}
/* Keep navigation and theme selection reachable while reading. */
header.shell { position: sticky; inset-block-start: 0; z-index: 12; background: var(--page); }
:root { scroll-padding-block-start: 108px; }
html:not([data-motion="on"]) { scroll-behavior: auto; }
html[data-motion="off"] *,
html[data-page-hidden] *,
.scene-frame:not(.scene-visible) * { animation-play-state: paused !important; }
html:not([data-motion="on"]) :is(.button,.menu-toggle,.theme-toggle) { transition: none; }
html:not([data-motion="on"]) .button:hover { transform: none; }
.section { position: relative; }
.section > .signal-margin { position: absolute; inset-inline: 0; inset-block-start: 2px; height: min(34px,calc(var(--section-space)*.55)); }
@media (min-width: 1024px) {
  .hero .art-wrap { padding-block-end: 52px; }
  .header-actions { gap: clamp(8px,1vw,16px); }
}
@media (min-width: 768px) and (max-width: 960px) {
  .topbar .logo { width: 128px; }
  .desktop-nav { gap: 12px; }
  .header-actions { gap: 8px; }
}
@media (max-width: 1023px) { :root { scroll-padding-block-start: 90px; } }
@media (max-width: 767px) { :root { scroll-padding-block-start: 84px; } }

:root {
  --art-ink: #c8e1ea;
  --art-edge: #83abb9;
  --art-hi: #efffff;
  --art-mint: #34d4b2;
  --art-deep: #0c6763;
  --art-glass: #183443;
  --art-muted: #54808d;
  --art-back: #0b1730;
  --art-floor: #0c2433;
  --art-shadow: #030c18;
  --art-paper: #e6f2ef;
  --art-on-paper: #23444b;
}
:root[data-theme="light"] {
  --art-ink: #0b1730;
  --art-edge: #466774;
  --art-hi: #ffffff;
  --art-mint: #34d4b2;
  --art-deep: #087262;
  --art-glass: #d6e7eb;
  --art-muted: #637f8b;
  --art-back: #ffffff;
  --art-floor: #f4f8fa;
  --art-shadow: #729098;
  --art-paper: #ffffff;
  --art-on-paper: #15243b;
}
:root {
  --field-trace: #4fbfa9;
  --field-trace-alpha: .48;
  --field-tail: #5adcb8;
  --field-tip: #b0fff0;
  --field-core: #74f6d5;
  --field-halo-alpha: .13;
  --margin-ink: #34d4b2;
  --margin-guide-alpha: .13;
}
html[data-theme="light"] {
  --field-trace: #2b9e8a;
  --field-trace-alpha: .55;
  --field-tail: #11856e;
  --field-tip: #006f60;
  --field-core: #12b790;
  --field-halo-alpha: .13;
  --margin-ink: #197e70;
  --margin-guide-alpha: .20;
}
.hero-field {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  direction: ltr;
  visibility: hidden;
}
.art.field-active .hero-field, .signal-margin.field-active .margin-field { visibility: visible; }
html:not([data-motion="on"]) .hero-field,
html:not([data-motion="on"]) .margin-field { visibility: hidden; }
.art:not(.field-active) .hero-field *,
.signal-margin:not(.field-active) .margin-field * { animation-play-state: paused !important; }

/* Scale the optical coordinates onto the actual beam in each RC5 poster crop. */
.field-register {
  transform-box: view-box;
  transform-origin: 0 0;
  transform: translate(51px, 528.4px) scale(.965, 1);
}
html[data-theme="light"] .field-register { transform: translate(-71px, 519.8px) scale(1.06, 1); }
.field-guides { opacity: var(--field-trace-alpha); }
.field-specks { stroke: var(--field-tail); stroke-width: 7.7; stroke-dasharray: .09 2.15 .13 2.55 .18 130; opacity: 0; }
.field-lead { stroke: var(--field-tip); stroke-width: 10.2; stroke-dasharray: .19 140; opacity: 0; }
.field-aura-point { stroke-width: 20; stroke: var(--field-core); }
.field-beam-halo { opacity: var(--field-halo-alpha); }
.field-beam-run { stroke: var(--field-tip); stroke-width: 5.2; stroke-dasharray: 8.5 150; opacity: 0; }
.field-wave-first { --field-phase: -1.05s; }
.field-wave-next { --field-phase: -.07s; }
.field-wave-last { --field-phase: -2.03s; }

/* First group reaches the focus after 0.664 s. Each output packet starts at
   the same position and phase as its incoming group and runs down one axis. */
html[data-motion="on"] .hero-field .field-specks,
html[data-motion="on"] .hero-field .field-lead,
html[data-motion="on"] .hero-field .field-beam-run {
  animation-duration: 3.15s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-delay: var(--field-phase);
}
html[data-motion="on"] .hero-field .field-specks { animation-name: rc6-packet; }
html[data-motion="on"] .hero-field .field-lead { animation-name: rc6-packet-head; }
html[data-motion="on"] .hero-field .field-beam-run { animation-name: rc6-emission; }
@keyframes rc6-packet {
  0% { stroke-dashoffset: 4; opacity: 0; }
  9% { opacity: .88; }
  48% { opacity: .90; }
  56% { stroke-dashoffset: -102; opacity: 0; }
  100% { stroke-dashoffset: -102; opacity: 0; }
}
@keyframes rc6-packet-head {
  0% { stroke-dashoffset: -.4; opacity: 0; }
  8% { opacity: 1; }
  53% { opacity: 1; }
  55% { stroke-dashoffset: -101.5; opacity: 0; }
  100% { stroke-dashoffset: -101.5; opacity: 0; }
}
@keyframes rc6-emission {
  0%, 53% { stroke-dashoffset: 8.5; opacity: 0; }
  56% { opacity: .96; }
  80% { opacity: 1; }
  92%, 100% { stroke-dashoffset: -101; opacity: 0; }
}
.signal-margin {
  position: relative;
  isolation: isolate;
  height: 30px;
  margin-block: 0;
  pointer-events: none;
  overflow: hidden;
}
.margin-field {
  display: block;
  position: absolute;
  top: 50%;
  inset-inline-end: 4%;
  transform: translateY(-50%);
  width: min(62%, 600px);
  height: auto;
  visibility: hidden;
  overflow: visible;
  pointer-events: none;
}
.margin-guide { stroke: var(--margin-ink); stroke-width: 1; opacity: var(--margin-guide-alpha); }
.margin-packet { stroke: var(--margin-ink); stroke-width: 3.3; stroke-dasharray: .05 1.15 .07 1.45 .12 120; }
.margin-point { stroke: var(--field-tip); stroke-width: 4.4; stroke-dasharray: .12 130; }
html[data-motion="on"] .margin-field .margin-packet,
html[data-motion="on"] .margin-field .margin-point {
  animation: rc6-margin-packet 5.6s linear infinite;
  animation-delay: -2s;
}
html[data-motion="on"] .margin-field .margin-point { animation-name: rc6-margin-point; }
@keyframes rc6-margin-packet {
  0% { stroke-dashoffset: 4; opacity: 0; }
  12%, 75% { opacity: .72; }
  100% { stroke-dashoffset: -102; opacity: 0; }
}
@keyframes rc6-margin-point {
  0% { stroke-dashoffset: 1; opacity: 0; }
  12%, 75% { opacity: .75; }
  100% { stroke-dashoffset: -105; opacity: 0; }
}
@media (max-width: 1023px) {
  .field-register { transform: translate(3px, 501.3px) scale(1.015, 1); }
  html[data-theme="light"] .field-register { transform: translate(-71px, 520.1px) scale(1.06, 1); }
}
@media (max-width: 767px) {
  .hero-field .field-third { display: none; }
  .field-specks { stroke-width: 8.3; }
  .field-lead { stroke-width: 11; }
  .field-aura-point { stroke-width: 20; }
  .field-beam-run { stroke-width: 5.6; }
  .signal-margin { height: 20px; }
  .margin-field { width: 79%; inset-inline-end: 0; }
  .margin-packet { stroke-width: 4; stroke-dasharray: .1 2 .14 125; }
  .margin-point { stroke-width: 6.1; }
}

