@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("/assets/fonts/IBMPlexSansArabic-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("/assets/fonts/IBMPlexSansArabic-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/IBMPlexSans-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/IBMPlexSans-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Noto Naskh Arabic";
  src: url("/assets/fonts/NotoNaskhArabic-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --font-ui: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --font-latin: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --font-ar-heading: "Noto Naskh Arabic", "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
  --canvas: #050505;
  --canvas-deep: #000000;
  --surface: #0a0a0a;
  --surface-raised: #111111;
  --surface-soft: #080808;
  --surface-translucent: rgba(10, 10, 10, 0.86);
  --surface-panel: #0a0a0a;
  --surface-control: #080808;
  --surface-visual: #080808;
  --surface-node: #0d0d0d;
  --text: #ffffff;
  --text-soft: #f2f2f2;
  --muted: #a1a1a1;
  --muted-strong: #d1d1d1;
  --emerald: #2bb673;
  --emerald-bright: #34d399;
  --emerald-deep: #064e3b;
  --emerald-mist: rgba(43, 182, 115, 0.12);
  --emerald-edge: rgba(43, 182, 115, 0.42);
  --emerald-glow: rgba(43, 182, 115, 0.22);
  --frost-edge: rgba(237, 230, 242, 0.18);
  --sapphire: #3b7fe8;
  --amethyst: #9b6ae8;
  --amber: #e7b25f;
  --danger: #e06a74;
  --success: #34d399;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.16);
  --line-emphasis: rgba(255, 255, 255, 0.24);
  --line-control: rgba(255, 255, 255, 0.36);
  --focus-ring: rgba(255, 255, 255, 0.94);
  --focus-ring-soft: rgba(255, 255, 255, 0.10);
  --glass-fill: rgba(20, 20, 20, 0.58);
  --glass-fill-strong: rgba(18, 18, 18, 0.78);
  --glass-fill-soft: rgba(255, 255, 255, 0.035);
  --glass-edge: rgba(255, 255, 255, 0.16);
  --glass-edge-strong: rgba(255, 255, 255, 0.34);
  --glass-highlight: rgba(255, 255, 255, 0.09);
  --glass-shadow: 0 18px 52px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  --glass-control-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(255, 255, 255, 0.025), 0 8px 22px rgba(0, 0, 0, 0.2);
  --glass-blur: 18px;
  --glass-control-blur: 8px;
  --focus-ring-width: 2px;
  --focus-ring-offset: 3px;
  --focus-ring-offset-compact: 2px;
  --shadow-soft: 0 24px 64px rgba(0, 0, 0, 0.28);
  --shadow-tight: 0 16px 40px rgba(0, 0, 0, 0.24);
  --r-control: 10px;
  --r-medium: 14px;
  --r-card: 24px;
  --r-large: 28px;
  --r-full: 999px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --type-body: 16px;
  --type-label: 14px;
  --type-caption: 12px;
  --type-micro: 11px;
  --type-hero: clamp(38px, calc(29px + 2.8vw), 68px);
  --type-page-title: clamp(36px, calc(22px + 3vw), 64px);
  --type-section-title: clamp(30px, calc(24px + 1.7vw), 50px);
  --shell: 1240px;
  --narrow: 760px;
  --page-gutter: 24px;
  --section-space: clamp(70px, 9vw, 124px);
  --control-height: 54px;
  --header-h: 64px;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
  --fast: 150ms;
  --normal: 280ms;
  --slow: 480ms;
  --inline-arrow: 1;
}

html[dir="rtl"] {
  --inline-arrow: -1;
}

html[lang="ar"] {
  --font-ui: "Noto Naskh Arabic", "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  padding-block-start: var(--header-h);
  min-width: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: var(--type-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: none;
}

body::after {
  content: none;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

::selection {
  color: var(--text);
  background: rgba(255, 255, 255, 0.18);
}

:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring);
  outline-offset: var(--focus-ring-offset);
}

[hidden] {
  display: none !important;
}

.shell {
  width: min(var(--shell), calc(100% - (2 * var(--page-gutter))));
  margin-inline: auto;
}

.narrow {
  max-width: var(--narrow);
}

.narrow-left {
  max-width: 900px;
  margin-inline-start: max(0px, calc((100% - var(--shell)) / 2));
}

.skip-link {
  position: fixed;
  z-index: 1000;
  inset-block-start: 12px;
  inset-inline-start: 16px;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: var(--r-control);
  background: var(--text);
  color: var(--canvas);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */

.site-header {
  position: fixed;
  z-index: 100;
  inset-block-start: 0;
  inset-inline: 0;
  width: 100%;
  height: var(--header-h);
  background: transparent;
}

.site-header::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background var(--normal) ease;
}

.site-header[data-scrolled="true"]::before {
  background: #050505;
}

.nav-shell {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 24px;
  height: 28px;
  object-fit: contain;
}

.brand-word {
  font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.09em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links > a,
.nav-utilities > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 12px;
  border-radius: 6px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity var(--fast) ease, background var(--fast) ease;
}

.nav-links > a:hover,
.nav-links > a[aria-current="page"],
.nav-utilities > a:hover,
.nav-utilities > a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-utilities {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: 6px;
  padding-inline-start: 6px;
  border-inline-start: 0;
}

.language-link {
  gap: 7px;
}

.language-link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
  margin: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.menu-line {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 260ms var(--ease);
}

.menu-toggle[aria-expanded="true"] .menu-line-top {
  transform: translateY(4.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-line-bottom {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* Shared type and controls */

.eyebrow,
.section-kicker,
.panel-kicker {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

html[lang="ar"] .eyebrow,
html[lang="ar"] .section-kicker,
html[lang="ar"] .panel-kicker {
  letter-spacing: 0;
  text-transform: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.eyebrow i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
}

h1,
h2,
h3,
p {
  margin-block-start: 0;
}

h1,
h2,
h3 {
  font-weight: 500;
  color: var(--text);
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] .faq-button {
  font-family: var(--font-ar-heading);
  font-weight: 700;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2 {
  margin-block: 12px 14px;
  font-size: var(--type-section-title);
  line-height: 1.16;
  letter-spacing: -0.025em;
}

html[lang="ar"] .section-heading h2 {
  letter-spacing: 0;
  line-height: 1.34;
}

.section-heading p,
.page-hero p,
.hero-lede {
  color: #c7c7c7;
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.75;
}

.button {
  min-height: var(--control-height);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding-inline: 20px;
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-full);
  color: var(--text);
  background-color: var(--glass-fill);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018) 52%, rgba(255, 255, 255, 0.006));
  box-shadow: var(--glass-control-shadow);
  backdrop-filter: blur(var(--glass-control-blur)) saturate(122%);
  -webkit-backdrop-filter: blur(var(--glass-control-blur)) saturate(122%);
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition:
    transform 180ms var(--ease),
    border-color var(--fast) ease,
    background-color var(--fast) ease,
    box-shadow var(--fast) ease,
    color var(--fast) ease;
}

.button svg,
.text-link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transform: scaleX(var(--inline-arrow));
}

.button:hover {
  border-color: var(--glass-edge-strong);
  background-color: rgba(28, 28, 28, 0.68);
}

.button:active {
  transform: scale(0.985) translateY(1px);
  background-color: rgba(12, 12, 12, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 4px 14px rgba(0, 0, 0, 0.22);
}

.button:focus-visible {
  outline: none;
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.72),
    0 0 0 5px rgba(255, 255, 255, 0.10),
    var(--glass-control-shadow);
}

.button.primary {
  color: #050505;
  border-color: rgba(255, 255, 255, 0.92);
  background-color: rgba(255, 255, 255, 0.92);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 242, 242, 0.9));
  box-shadow: inset 0 1px 0 #ffffff, inset 0 -1px 0 rgba(0, 0, 0, 0.08), 0 10px 26px rgba(0, 0, 0, 0.22);
}

.button.primary:hover {
  border-color: #ffffff;
  background-color: #ffffff;
}

.button.primary:active {
  background-color: #e7e7e7;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.10), 0 4px 14px rgba(0, 0, 0, 0.18);
}

.button.quiet {
  background-color: rgba(18, 18, 18, 0.5);
}

.button.quiet:hover {
  border-color: var(--glass-edge-strong);
  background-color: rgba(255, 255, 255, 0.075);
}

.button.danger {
  border-radius: var(--r-full);
  border-color: rgba(224, 106, 116, 0.4);
  color: #ffabb2;
  background-color: rgba(91, 28, 37, 0.30);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.012));
}

.button.danger:hover {
  border-color: rgba(224, 106, 116, 0.52);
  background-color: rgba(91, 28, 37, 0.40);
}

.button.google {
  border-radius: var(--r-full);
  border-color: var(--glass-edge);
  background-color: rgba(18, 18, 18, 0.56);
  color: var(--text);
}

.button.google:hover {
  border-color: var(--glass-edge-strong);
  background-color: rgba(28, 28, 28, 0.68);
}

@media (hover: none) and (pointer: coarse) {
  .button:hover {
    border-color: var(--glass-edge);
    background-color: var(--glass-fill);
  }

  .button.primary:hover {
    border-color: rgba(255, 255, 255, 0.92);
    background-color: rgba(255, 255, 255, 0.92);
  }

  .button.quiet:hover {
    border-color: var(--glass-edge);
    background-color: rgba(18, 18, 18, 0.5);
  }

  .button.danger:hover {
    border-color: rgba(224, 106, 116, 0.4);
    background-color: rgba(91, 28, 37, 0.30);
  }

  .button.google:hover {
    border-color: var(--glass-edge);
    background-color: rgba(18, 18, 18, 0.56);
  }
}

.button.text-button {
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  color: var(--muted-strong);
}

.button.full {
  width: 100%;
}

.button[disabled],
.button[aria-disabled="true"],
.button.disabled {
  opacity: 0.48;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}

.button[data-loading="true"] {
  cursor: progress;
}

.button[data-loading="true"]::before {
  content: "";
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-inline-end-color: transparent;
  border-radius: 50%;
  opacity: 0.88;
  animation: button-busy-spin 0.8s linear infinite;
}

@keyframes button-busy-spin {
  to { transform: rotate(360deg); }
}

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--fast) ease;
}

.text-link:hover {
  color: var(--text);
}

/* Hero */

.hero-section {
  position: relative;
  padding-block: clamp(64px, 7vw, 96px) 96px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
  gap: clamp(46px, 6vw, 92px);
  align-items: center;
}

.hero-product {
  container-name: hero-product;
  container-type: inline-size;
}

.hero-copy-block h1 {
  max-width: 760px;
  margin-block: 20px 22px;
  font-size: var(--type-hero);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

html[lang="ar"] .hero-copy-block h1 {
  letter-spacing: 0;
  line-height: 1.28;
}

.hero-lede {
  max-width: 660px;
  margin-block-end: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block-start: 30px;
}

.hero-note {
  margin-block: 17px 0;
  color: #a9a9a9;
  font-size: 13px;
}

.product-window {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-large);
  background-color: var(--glass-fill-strong);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012) 28%, rgba(255, 255, 255, 0.004));
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(var(--glass-blur)) saturate(118%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(118%);
}

.product-window-head {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-inline: 17px;
  color: #a9a9a9;
  font-size: 12px;
}

.product-window-head > div {
  display: flex;
  gap: 6px;
}

.window-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}

.window-system {
  color: #c7c7c7;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.11em;
}

.window-head-tools {
  display: flex;
  align-items: center;
  gap: 9px;
}

.demo-playback {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.018);
  cursor: pointer;
  transition: color var(--fast) ease, border-color var(--fast) ease, background var(--fast) ease;
}

.demo-playback:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}

.demo-playback svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.demo-playback .playback-play {
  display: none;
  fill: currentColor;
  stroke: none;
}

.demo-playback[aria-pressed="true"] .playback-pause { display: none; }
.demo-playback[aria-pressed="true"] .playback-play { display: block; }

.knowledge-stage {
  padding: 16px 18px 12px;
}

.knowledge-window {
  --knowledge-flow: 1050ms;
  --knowledge-pulse: 1280ms;
  --knowledge-crossfade: 620ms;
}

.knowledge-sphere {
  position: relative;
  width: 100%;
  aspect-ratio: 520 / 310;
  isolation: isolate;
}

.sphere-mesh {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.mesh-field {
  transform-box: view-box;
  transform-origin: 50% 49.3548%;
  animation: sphere-drift 16s var(--ease) infinite alternate;
}

.mesh-orbit,
.mesh-route,
.conduit-shell,
.conduit-vein {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.mesh-orbit {
  stroke: rgba(143, 160, 186, 0.09);
  stroke-width: 0.85;
}

.mesh-orbit-2,
.mesh-orbit-3 {
  stroke: rgba(59, 127, 232, 0.12);
}

.mesh-arc {
  stroke: rgba(155, 106, 232, 0.085);
}

.neural-thread,
.neural-branch {
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.neural-thread {
  stroke: rgba(59, 127, 232, 0.16);
  stroke-width: 0.9;
}

.neural-thread-2 {
  stroke: rgba(155, 106, 232, 0.14);
}

.neural-thread-3 {
  stroke: rgba(43, 182, 115, 0.1);
}

.neural-branch {
  stroke: rgba(167, 180, 199, 0.12);
  stroke-width: 0.75;
}

.neural-terminal {
  fill: rgba(167, 180, 199, 0.42);
}

.mesh-route {
  stroke: rgba(143, 160, 186, 0.08);
  stroke-width: 1;
  stroke-dasharray: 2.5 5.5;
  stroke-dashoffset: 6;
  stroke-linecap: round;
  transition:
    stroke var(--knowledge-flow) cubic-bezier(0.22, 0.61, 0.36, 1),
    stroke-width var(--knowledge-flow) cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity var(--knowledge-flow) ease,
    stroke-dashoffset var(--knowledge-flow) cubic-bezier(0.22, 0.61, 0.36, 1);
}

.conduit-shell {
  stroke: rgba(12, 44, 35, 0.28);
  stroke-width: 4.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.08;
  transition:
    stroke var(--knowledge-flow) ease,
    stroke-width var(--knowledge-flow) var(--ease),
    opacity var(--knowledge-flow) ease;
}

.conduit-vein {
  stroke: rgba(43, 182, 115, 0.10);
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.14;
  transition:
    stroke var(--knowledge-flow) ease,
    stroke-width var(--knowledge-flow) var(--ease),
    opacity var(--knowledge-flow) ease;
}

.mesh-point {
  fill: rgba(167, 180, 199, 0.32);
}

.knowledge-window[data-active-field="technology"] .route-technology,
.knowledge-window[data-active-field="medicine"] .route-medicine,
.knowledge-window[data-active-field="engineering"] .route-engineering,
.knowledge-window[data-active-field="humanities"] .route-humanities,
.knowledge-window[data-active-field="business"] .route-business,
.knowledge-window[data-active-field="law"] .route-law {
  stroke: rgba(43, 182, 115, 0.42);
  stroke-width: 1.25;
  stroke-dasharray: 6 7;
  opacity: 0.94;
  stroke-dashoffset: 0;
}

.knowledge-window[data-active-field="technology"] .conduit-shell.conduit-technology,
.knowledge-window[data-active-field="medicine"] .conduit-shell.conduit-medicine,
.knowledge-window[data-active-field="engineering"] .conduit-shell.conduit-engineering,
.knowledge-window[data-active-field="humanities"] .conduit-shell.conduit-humanities,
.knowledge-window[data-active-field="business"] .conduit-shell.conduit-business,
.knowledge-window[data-active-field="law"] .conduit-shell.conduit-law {
  stroke: rgba(19, 96, 67, 0.34);
  stroke-width: 4.8;
  opacity: 0.62;
}

.knowledge-window[data-active-field="technology"] .conduit-technology,
.knowledge-window[data-active-field="medicine"] .conduit-medicine,
.knowledge-window[data-active-field="engineering"] .conduit-engineering,
.knowledge-window[data-active-field="humanities"] .conduit-humanities,
.knowledge-window[data-active-field="business"] .conduit-business,
.knowledge-window[data-active-field="law"] .conduit-law {
  stroke: rgba(52, 211, 153, 0.56);
  stroke-width: 1.7;
  opacity: 0.9;
}

.sphere-core {
  position: absolute;
  z-index: 3;
  inset-block-start: 49.3548%;
  left: 50%;
  width: 15.7692%;
  height: 26.4516%;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  overflow: hidden;
  isolation: isolate;
  color: rgba(231, 235, 242, 0.84);
  font-family: "IBM Plex Sans", sans-serif;
  pointer-events: none;
}

.core-glass,
.core-rim,
.core-pulse-ring,
.core-blob,
.core-emitter,
.core-port {
  position: absolute;
  border-radius: 50%;
}

.core-glass {
  inset: 6.0976%;
  z-index: 1;
  border: 1px solid rgba(188, 202, 225, 0.15);
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.055), transparent 34%),
    rgba(7, 14, 24, 0.58);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.018),
    inset 0 -10px 20px rgba(0, 0, 0, 0.18),
    0 0 24px rgba(7, 14, 24, 0.20);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
}

.core-rim {
  inset: 4.878%;
  z-index: 5;
  border: 1px solid rgba(31, 111, 235, 0.17);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 clamp(4px, 1.2vw, 7px) rgba(31, 111, 235, 0.015);
  animation: core-rim-breathe 4.1s ease-in-out infinite;
  transition: border-color var(--knowledge-flow) ease, box-shadow var(--knowledge-flow) ease;
}

.core-pulse-ring {
  inset: 13.4146%;
  z-index: 4;
  border: 1px solid rgba(43, 182, 115, 0.0);
  opacity: 0;
  transform: scale(0.82);
}

.core-blob {
  z-index: 2;
  width: 65.8537%;
  height: 65.8537%;
  filter: blur(clamp(5px, 1.8vw, 10px)) saturate(115%);
  mix-blend-mode: screen;
  opacity: 0.18;
  will-change: transform, opacity;
  transition: opacity var(--knowledge-flow) ease;
}

.core-blob-sapphire {
  left: 2.439%;
  top: 2.439%;
  background: radial-gradient(circle, rgba(31, 111, 235, 0.82) 0%, rgba(31, 111, 235, 0.28) 48%, transparent 76%);
  animation: core-drift-sapphire 11.8s ease-in-out infinite alternate;
}

.core-blob-amethyst {
  right: 0;
  top: 13.4146%;
  background: radial-gradient(circle, rgba(191, 90, 242, 0.70) 0%, rgba(191, 90, 242, 0.22) 48%, transparent 76%);
  animation: core-drift-amethyst 13.4s ease-in-out infinite alternate;
}

.core-blob-emerald {
  left: 24.3902%;
  bottom: -1.2195%;
  background: radial-gradient(circle, rgba(43, 182, 115, 0.78) 0%, rgba(43, 182, 115, 0.24) 48%, transparent 76%);
  animation: core-drift-emerald 12.6s ease-in-out infinite alternate;
}

.core-emitter {
  z-index: 4;
  left: 50%;
  top: 50%;
  width: 48.7805%;
  height: 3.6585%;
  opacity: 0;
  border-radius: var(--r-full);
  transform-origin: 0 50%;
  background: linear-gradient(
    90deg,
    rgba(43, 182, 115, 0) 0%,
    rgba(43, 182, 115, 0.07) 42%,
    rgba(52, 211, 153, 0.46) 100%
  );
  box-shadow: 0 0 5px rgba(43, 182, 115, 0.045);
  transition: opacity var(--knowledge-flow) ease;
}

.core-emitter-technology { transform: translateY(-50%) rotate(-152.59deg); }
.core-emitter-medicine { transform: translateY(-50%) rotate(-35.34deg); }
.core-emitter-engineering { transform: translateY(-50%) rotate(170.85deg); }
.core-emitter-humanities { transform: translateY(-50%) rotate(9.15deg); }
.core-emitter-business { transform: translateY(-50%) rotate(122.19deg); }
.core-emitter-law { transform: translateY(-50%) rotate(50.65deg); }

.core-port {
  z-index: 7;
  width: 6.0976%;
  height: 6.0976%;
  opacity: 0;
  border: 1px solid rgba(158, 246, 206, 0.28);
  background:
    radial-gradient(circle at 34% 30%, rgba(223, 255, 239, 0.72) 0 12%, rgba(52, 211, 153, 0.78) 36%, rgba(20, 112, 78, 0.84) 100%);
  box-shadow:
    inset 0 -1px 2px rgba(3, 52, 37, 0.34),
    0 0 0 2px rgba(43, 182, 115, 0.045);
  transition: opacity var(--knowledge-flow) ease, transform var(--knowledge-flow) var(--ease), box-shadow var(--knowledge-flow) ease;
}

.core-port-technology { left: 6.8944%; top: 26.18%; }
.core-port-medicine { left: 83.7597%; top: 20.8529%; }
.core-port-engineering { left: 2.4033%; top: 54.126%; }
.core-port-humanities { left: 91.4991%; top: 54.126%; }
.core-port-business { left: 22.9121%; top: 85.1364%; }
.core-port-law { left: 75.5584%; top: 81.8457%; }

.knowledge-window[data-active-field="technology"] .core-emitter-technology,
.knowledge-window[data-active-field="medicine"] .core-emitter-medicine,
.knowledge-window[data-active-field="engineering"] .core-emitter-engineering,
.knowledge-window[data-active-field="humanities"] .core-emitter-humanities,
.knowledge-window[data-active-field="business"] .core-emitter-business,
.knowledge-window[data-active-field="law"] .core-emitter-law {
  opacity: 0.82;
}

.knowledge-window[data-active-field="technology"] .core-port-technology,
.knowledge-window[data-active-field="medicine"] .core-port-medicine,
.knowledge-window[data-active-field="engineering"] .core-port-engineering,
.knowledge-window[data-active-field="humanities"] .core-port-humanities,
.knowledge-window[data-active-field="business"] .core-port-business,
.knowledge-window[data-active-field="law"] .core-port-law {
  opacity: 0.96;
  transform: scale(1.08);
}

.core-label {
  position: relative;
  z-index: 6;
  font-size: clamp(8px, 1.73vw, 9px);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-shadow: 0 0 10px rgba(231, 235, 242, 0.06);
  animation: core-label-breathe 4.1s ease-in-out infinite;
}

.sphere-core.is-signaling .core-pulse-ring {
  animation: core-signal var(--knowledge-pulse) cubic-bezier(0.22, 0.61, 0.36, 1) 1;
}

.sphere-core.is-signaling .core-label {
  animation: core-label-signal var(--knowledge-pulse) cubic-bezier(0.22, 0.61, 0.36, 1) 1;
}

.sphere-core.is-signaling .core-rim {
  border-color: rgba(43, 182, 115, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 clamp(4px, 1.2vw, 7px) rgba(43, 182, 115, 0.025);
}

.knowledge-window[data-active-field="technology"] .core-blob-sapphire,
.knowledge-window[data-active-field="engineering"] .core-blob-sapphire {
  opacity: 0.30;
}

.knowledge-window[data-active-field="medicine"] .core-blob-emerald,
.knowledge-window[data-active-field="business"] .core-blob-emerald {
  opacity: 0.28;
}

.knowledge-window[data-active-field="humanities"] .core-blob-amethyst,
.knowledge-window[data-active-field="law"] .core-blob-amethyst {
  opacity: 0.28;
}

.knowledge-window[data-active-field="technology"] .core-blob-amethyst,
.knowledge-window[data-active-field="engineering"] .core-blob-emerald,
.knowledge-window[data-active-field="medicine"] .core-blob-sapphire,
.knowledge-window[data-active-field="business"] .core-blob-amethyst,
.knowledge-window[data-active-field="humanities"] .core-blob-emerald,
.knowledge-window[data-active-field="law"] .core-blob-sapphire {
  opacity: 0.13;
}

.knowledge-window[data-active-field="technology"] .core-blob-emerald,
.knowledge-window[data-active-field="engineering"] .core-blob-amethyst,
.knowledge-window[data-active-field="medicine"] .core-blob-amethyst,
.knowledge-window[data-active-field="business"] .core-blob-sapphire,
.knowledge-window[data-active-field="humanities"] .core-blob-sapphire,
.knowledge-window[data-active-field="law"] .core-blob-emerald {
  opacity: 0.17;
}

@keyframes core-drift-sapphire {
  0% { transform: translate3d(0, 0, 0) scale(0.96); }
  52% { transform: translate3d(18.52%, 12.96%, 0) scale(1.04); }
  100% { transform: translate3d(7.41%, 24.07%, 0) scale(1.01); }
}

@keyframes core-drift-amethyst {
  0% { transform: translate3d(0, 0, 0) scale(1.01); }
  48% { transform: translate3d(-16.67%, 14.81%, 0) scale(0.95); }
  100% { transform: translate3d(-7.41%, -7.41%, 0) scale(1.05); }
}

@keyframes core-drift-emerald {
  0% { transform: translate3d(0, 0, 0) scale(0.98); }
  46% { transform: translate3d(-11.11%, -18.52%, 0) scale(1.05); }
  100% { transform: translate3d(14.81%, -11.11%, 0) scale(0.96); }
}

@keyframes core-rim-breathe {
  0%, 100% { opacity: 0.58; transform: scale(0.985); }
  50% { opacity: 0.92; transform: scale(1.015); }
}

@keyframes core-label-breathe {
  0%, 100% { opacity: 0.78; letter-spacing: 0.18em; text-shadow: 0 0 8px rgba(231, 235, 242, 0.04); }
  50% { opacity: 0.98; letter-spacing: 0.205em; text-shadow: 0 0 10px rgba(231, 235, 242, 0.16); }
}

@keyframes core-signal {
  0% { opacity: 0; transform: scale(0.90); border-color: rgba(43, 182, 115, 0); }
  34% { opacity: 0.50; transform: scale(1.00); border-color: rgba(43, 182, 115, 0.30); }
  72% { opacity: 0.28; transform: scale(1.08); border-color: rgba(43, 182, 115, 0.16); }
  100% { opacity: 0; transform: scale(1.14); border-color: rgba(43, 182, 115, 0.03); }
}

@keyframes core-label-signal {
  0%, 100% { opacity: 0.82; transform: scale(1); text-shadow: 0 0 8px rgba(231, 235, 242, 0.06); }
  42% { opacity: 0.98; transform: scale(1.008); text-shadow: 0 0 11px rgba(231, 235, 242, 0.15); }
}

.knowledge-node {
  position: absolute;
  z-index: 5;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.knowledge-node-1 { left: 22%; inset-block-start: 25%; }
.knowledge-node-2 { left: 73%; inset-block-start: 22%; }
.knowledge-node-3 { left: 18%; inset-block-start: 58%; }
.knowledge-node-4 { left: 82%; inset-block-start: 58%; }
.knowledge-node-5 { left: 40%; inset-block-start: 76%; }
.knowledge-node-6 { left: 64%; inset-block-start: 78%; }

.node-hit {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.node-hit i {
  width: 7px;
  height: 7px;
  border: 1px solid rgba(167, 180, 199, 0.6);
  border-radius: 50%;
  background: #0d0d0d;
  transition:
    width var(--knowledge-flow) var(--ease),
    height var(--knowledge-flow) var(--ease),
    border-color var(--knowledge-flow) ease,
    background var(--knowledge-flow) ease,
    box-shadow var(--knowledge-flow) ease;
}

.knowledge-node::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid transparent;
  border-radius: 50%;
  transition: inset var(--knowledge-flow) var(--ease), border-color var(--knowledge-flow) ease, opacity var(--knowledge-flow) ease;
}

.knowledge-node[aria-pressed="true"] .node-hit i {
  width: 11px;
  height: 11px;
  border-color: rgba(137, 239, 193, 0.72);
  background:
    radial-gradient(circle at 34% 28%, rgba(229, 255, 243, 0.9) 0 10%, rgba(52, 211, 153, 0.94) 34%, rgba(20, 117, 80, 0.98) 100%);
  box-shadow:
    inset 0 -2px 3px rgba(3, 55, 39, 0.34),
    inset 0 1px 1px rgba(255, 255, 255, 0.38),
    0 0 0 5px rgba(43, 182, 115, 0.055);
}

.knowledge-node[aria-pressed="true"]::after {
  inset: 8px;
  border-color: rgba(43, 182, 115, 0.12);
  animation: node-breathe 3.4s ease-in-out infinite;
}

.knowledge-node:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring);
  outline-offset: var(--focus-ring-offset-compact);
}

.node-leader {
  position: absolute;
  inset-block-start: 50%;
  width: 38px;
  height: 1px;
  background: linear-gradient(to right, rgba(236, 240, 248, 0.5), rgba(236, 240, 248, 0.08));
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity var(--knowledge-flow) ease, transform var(--knowledge-flow) cubic-bezier(0.22, 0.61, 0.36, 1);
}

.node-label-right .node-leader { left: 36px; transform-origin: center; }
.node-label-left .node-leader { right: 36px; transform-origin: center; background: linear-gradient(to left, rgba(236, 240, 248, 0.5), rgba(236, 240, 248, 0.08)); }

.node-name {
  position: absolute;
  inset-block-start: 50%;
  max-width: 150px;
  opacity: 0;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity var(--knowledge-flow) ease, transform var(--knowledge-flow) var(--ease);
}

.node-label-right .node-name { left: 82px; text-align: left; }
.node-label-left .node-name { right: 82px; text-align: right; }

@container hero-product (max-width: 500px) {
  .node-leader {
    display: none;
  }

  .node-name,
  .node-label-right .node-name,
  .node-label-left .node-name {
    left: 50%;
    right: auto;
    inset-block-start: 39px;
    width: 100px;
    max-width: 100px;
    white-space: normal;
    text-align: center;
    transform: translateX(-50%);
  }

  .knowledge-node-1 .node-name,
  .knowledge-node-2 .node-name {
    inset-block-start: auto;
    inset-block-end: 39px;
  }
}

.knowledge-node[aria-pressed="true"] .node-leader,
.knowledge-node:hover .node-leader,
.knowledge-node:focus-visible .node-leader {
  opacity: 1;
  transform: scaleX(1);
}

.knowledge-node[aria-pressed="true"] .node-name,
.knowledge-node:hover .node-name,
.knowledge-node:focus-visible .node-name {
  opacity: 1;
}

.ambient-node {
  position: absolute;
  z-index: 2;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(155, 106, 232, 0.4);
  box-shadow: 0 0 0 3px rgba(155, 106, 232, 0.025);
  animation: ambient-breathe 6.5s ease-in-out infinite alternate;
}

.ambient-node-1 { left: 31%; inset-block-start: 15%; animation-delay: -1s; }
.ambient-node-2 { left: 48%; inset-block-start: 18%; animation-delay: -3s; }
.ambient-node-3 { left: 86%; inset-block-start: 34%; animation-delay: -4.4s; }
.ambient-node-4 { left: 10%; inset-block-start: 40%; animation-delay: -2.2s; }
.ambient-node-5 { left: 28%; inset-block-start: 87%; animation-delay: -5s; }
.ambient-node-6 { left: 82%; inset-block-start: 82%; animation-delay: -0.5s; }

.sphere-caption {
  margin: -1px 4px 2px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.learning-lens {
  min-height: 276px;
  padding: 22px 26px 24px;
  background-color: rgba(8, 8, 8, 0.42);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 36%);
}

.lens-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--sapphire);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

[data-lens-code] {
  font-family: var(--font-latin);
}

.lens-active-field {
  max-width: 48%;
  overflow: hidden;
  color: var(--text-soft);
  font-family: inherit;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lens-term {
  display: block;
  margin-block: 12px 6px;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: clamp(27px, 3.2vw, 38px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.lens-context {
  min-height: 46px;
  margin-block-end: 14px;
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.65;
}

.lens-practice {
  min-height: 70px;
  padding: 11px 13px;
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-medium);
  background-color: rgba(255, 255, 255, 0.025);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.lens-practice > span {
  display: block;
  margin-block-end: 4px;
  color: var(--amethyst);
  font-size: 11px;
  font-weight: 600;
}

.lens-practice > strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
}

.lens-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(145px, 0.58fr);
  gap: 18px;
  align-items: end;
  margin-block-start: 17px;
}

.lens-stages {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 12px;
  color: var(--muted);
  font-size: var(--type-micro);
}

.lens-stage {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.lens-stage i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(143, 160, 186, 0.28);
}

.lens-stage.is-complete i {
  background: rgba(43, 182, 115, 0.62);
}

.lens-progress {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  color: var(--muted);
  font-size: var(--type-micro);
}

.lens-progress strong {
  color: var(--text-soft);
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 600;
}

.lens-progress .progress-track {
  grid-column: 1 / -1;
}

.knowledge-window.is-switching .learning-lens > * {
  opacity: 0.18;
  transform: translateY(4px);
}

.learning-lens > * {
  transition: opacity var(--knowledge-crossfade) ease, transform var(--knowledge-crossfade) var(--ease);
}

.knowledge-window.is-paused .sphere-mesh,
.knowledge-window.is-paused .mesh-field,
.knowledge-window.is-paused .sphere-core,
.knowledge-window.is-paused .core-rim,
.knowledge-window.is-paused .core-blob,
.knowledge-window.is-paused .core-emitter,
.knowledge-window.is-paused .core-port,
.knowledge-window.is-paused .core-label,
.knowledge-window.is-paused .core-pulse-ring,
.knowledge-window.is-paused .ambient-node,
.knowledge-window.is-paused .knowledge-node::after,
.knowledge-window.is-inactive .sphere-mesh,
.knowledge-window.is-inactive .mesh-field,
.knowledge-window.is-inactive .sphere-core,
.knowledge-window.is-inactive .core-rim,
.knowledge-window.is-inactive .core-blob,
.knowledge-window.is-inactive .core-emitter,
.knowledge-window.is-inactive .core-port,
.knowledge-window.is-inactive .core-label,
.knowledge-window.is-inactive .core-pulse-ring,
.knowledge-window.is-inactive .ambient-node,
.knowledge-window.is-inactive .knowledge-node::after {
  animation-play-state: paused;
}

.progress-track {
  height: 4px;
  overflow: hidden;
  border-radius: var(--r-full);
  background: rgba(236, 240, 248, 0.08);
}

.progress-track span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: var(--emerald);
}

@keyframes sphere-drift {
  0% { transform: translate3d(-1px, 1px, 0) rotate(-0.35deg); }
  100% { transform: translate3d(2px, -1px, 0) rotate(0.45deg); }
}

@keyframes node-breathe {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes ambient-breathe {
  0% { opacity: 0.25; transform: translateY(0); }
  100% { opacity: 0.68; transform: translateY(-3px); }
}

/* Product story */

.proof-section,
.learning-section,
.progress-section,
.community-section,
.specialties-section,
.final-cta-section,
.faq-section,
.page-section {
  padding-block: var(--section-space);
}

.proof-section {
  background: #070707;
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 0.8fr);
  gap: clamp(54px, 8vw, 130px);
  align-items: end;
}

.proof-step {
  min-height: 70px;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 18px;
}

.proof-step > span {
  color: var(--text);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.proof-step > strong {
  font-size: 15px;
  font-weight: 600;
}

.learning-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.08fr);
  gap: clamp(60px, 10vw, 150px);
  align-items: start;
}

.sticky-heading {
  position: sticky;
  inset-block-start: calc(var(--header-h) + 56px);
}

.chapter {
  min-height: 250px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding-block: 42px;
}

.chapter-index {
  color: var(--text);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 12px;
}

.chapter-meta {
  color: #b8b8b8;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.chapter h3 {
  margin-block: 12px 12px;
  font-size: clamp(25px, 2.5vw, 34px);
}

.chapter p {
  margin: 0;
  color: #c7c7c7;
  font-size: 16px;
}

.progress-section {
  background: #070707;
}

.feature-split {
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(0, 0.8fr);
  gap: clamp(54px, 8vw, 120px);
  align-items: center;
}

.progress-visual {
  min-height: 420px;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-large);
  background-color: var(--glass-fill-strong);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01) 34%, rgba(255, 255, 255, 0.003));
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(var(--glass-blur)) saturate(116%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(116%);
  overflow: hidden;
}

.knowledge-map {
  position: relative;
  width: min(86%, 440px);
  height: 275px;
}

.map-node {
  position: absolute;
  z-index: 2;
  min-width: 110px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-inline: 14px;
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-full);
  background-color: rgba(18, 18, 18, 0.62);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.008));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 8px 20px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px) saturate(115%);
  -webkit-backdrop-filter: blur(12px) saturate(115%);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.map-node.stable {
  inset-block-start: 20px;
  inset-inline-start: 5%;
  border-color: rgba(81, 206, 149, 0.38);
}

.map-node.review {
  inset-block-start: 112px;
  inset-inline-end: 5%;
  border-color: rgba(231, 178, 95, 0.4);
}

.map-node.new {
  inset-block-end: 10px;
  inset-inline-start: 28%;
  border-color: rgba(59, 127, 232, 0.4);
}

.knowledge-map > i {
  position: absolute;
  z-index: 1;
  height: 1px;
  transform-origin: center;
  background: var(--line-strong);
}

.knowledge-map > i:nth-of-type(1) {
  width: 48%;
  inset-block-start: 95px;
  inset-inline-start: 25%;
  transform: rotate(20deg);
}

.knowledge-map > i:nth-of-type(2) {
  width: 38%;
  inset-block-start: 182px;
  inset-inline-start: 31%;
  transform: rotate(-25deg);
}

.legend {
  position: absolute;
  inset-block-end: 22px;
  inset-inline: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  color: var(--muted);
  font-size: 11px;
}

.legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.map-status-marker {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  background: currentColor;
}

.map-status-marker.stable {
  border-radius: 50%;
  color: var(--success);
}

.map-status-marker.review {
  border-radius: 1px;
  color: var(--amber);
  transform: rotate(45deg);
}

.map-status-marker.new {
  border-radius: 2px;
  color: var(--sapphire);
  background: transparent;
}

.community-section {
  padding-block: clamp(58px, 7vw, 88px);
}

.community-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 50px;
  padding-block: 38px;
}

.community-band h2 {
  margin-block: 10px 10px;
  font-size: clamp(28px, 3.2vw, 44px);
}

.community-band p {
  max-width: 660px;
  margin: 0;
  color: #c7c7c7;
}

.community-signal {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #c7c7c7;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.specialties-section {
  padding-block-start: 80px;
}

.specialty-list {
  margin-block-start: 46px;
}

.specialty-row {
  min-height: 124px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) minmax(150px, 0.55fr);
  align-items: center;
  gap: 22px;
}

.specialty-index {
  color: var(--text);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 12px;
}

.specialty-row h3 {
  margin-block: 0 5px;
  font-size: 23px;
}

.specialty-row p {
  margin: 0;
  color: #b5b5b5;
}

.specialty-term {
  color: #d8d8d8;
  font-family: "IBM Plex Sans", sans-serif;
  text-align: start;
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 6vw, 72px);
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-large);
  background-color: var(--glass-fill-strong);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.014) 30%, rgba(255, 255, 255, 0.004));
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(var(--glass-blur)) saturate(118%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(118%);
}

.final-cta h2 {
  max-width: 860px;
  margin-block: 11px 14px;
  font-size: clamp(34px, 4.7vw, 62px);
  line-height: 1.12;
}

.final-cta p {
  max-width: 650px;
  margin: 0;
  color: #c7c7c7;
  font-size: 17px;
}

.faq-section {
  padding-block-start: 28px;
}

.faq {
  margin-block-start: 28px;
}

.faq-button {
  width: 100%;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border: 0;
  color: var(--text);
  background: transparent;
  font-weight: 600;
  text-align: start;
  cursor: pointer;
}

.faq-button svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: transform var(--normal) var(--ease);
}

.faq-item[data-open="true"] .faq-button svg {
  transform: rotate(45deg);
}

.faq-panel {
  max-width: 680px;
  padding-block: 0 22px;
  color: #c7c7c7;
}

/* Interior pages */

.page-hero {
  padding-block: clamp(70px, 8vw, 112px) 44px;
}

.page-hero h1 {
  max-width: 900px;
  margin-block: 14px 14px;
  font-size: var(--type-page-title);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

html[lang="ar"] .page-hero h1 {
  letter-spacing: 0;
  line-height: 1.3;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
}

.page-section.compact {
  padding-block-start: 30px;
}

.support-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.lina-support-section {
  padding-block-start: 20px;
}

.lina-support-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 16px;
  align-items: stretch;
}

.lina-support-intro,
.lina-console {
  min-width: 0;
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-card);
  background-color: var(--glass-fill);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.008) 42%, rgba(255, 255, 255, 0.002));
  box-shadow: var(--glass-control-shadow);
  backdrop-filter: blur(18px) saturate(116%);
  -webkit-backdrop-filter: blur(18px) saturate(116%);
}

.lina-support-intro {
  padding: clamp(28px, 4vw, 46px);
}

.lina-identity {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-block-end: 26px;
}

.lina-avatar {
  display: grid;
  flex: 0 0 66px;
  width: 66px;
  height: 66px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--glass-edge-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.lina-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lina-identity h2 {
  margin: 7px 0 0;
  font-size: clamp(26px, 3vw, 36px);
}

.lina-support-intro > p {
  max-width: 560px;
  color: var(--muted-strong);
}

.lina-disclosure {
  margin-block-start: 28px;
  padding-block-start: 22px;
  border-block-start: 1px solid var(--glass-edge);
  font-size: 14px;
}

.lina-console {
  overflow: hidden;
}

.lina-auth-panel,
.lina-chat-panel {
  min-height: 570px;
}

.lina-auth-panel {
  display: grid;
  place-items: center;
  padding: clamp(24px, 4vw, 44px);
}

.lina-auth-form {
  display: grid;
  width: min(100%, 460px);
  gap: 16px;
}

.lina-auth-form h3 {
  margin: 0;
  font-size: 25px;
}

.lina-auth-form > p {
  margin: -4px 0 4px;
  color: var(--muted-strong);
}

.lina-auth-form label,
.lina-message-form > label:not(.lina-human-toggle) {
  display: grid;
  gap: 8px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
}

.lina-chat-panel {
  display: grid;
  grid-template-rows: auto auto minmax(280px, 1fr) auto;
}

.lina-chat-header {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-block-end: 1px solid var(--glass-edge);
}

.lina-chat-header > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.lina-chat-header span {
  color: var(--muted);
  font-size: 12px;
}

.lina-chat-header strong {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-button {
  min-height: 38px;
  padding: 8px 13px;
}

.lina-case-state,
.lina-status {
  min-height: 22px;
  color: var(--muted-strong);
  font-size: 13px;
}

.lina-case-state {
  padding: 12px 20px 0;
}

.lina-messages {
  display: flex;
  min-height: 280px;
  max-height: 460px;
  flex-direction: column;
  gap: 12px;
  overflow: auto;
  padding: 18px 20px 24px;
  overscroll-behavior: contain;
}

.lina-empty-message {
  margin: auto;
  max-width: 420px;
  padding: 24px;
  color: var(--muted-strong);
  text-align: center;
}

.lina-message {
  width: fit-content;
  max-width: min(84%, 560px);
  padding: 13px 15px;
  border: 1px solid var(--glass-edge);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  overflow-wrap: anywhere;
}

.lina-message-user {
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.11);
}

html[dir="rtl"] .lina-message-user {
  align-self: flex-start;
}

html[dir="rtl"] .lina-message-support {
  align-self: flex-end;
}

.lina-message-author {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.lina-message-author-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-block-end: 6px;
}

.lina-message-avatar {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border: 1px solid var(--glass-edge-strong);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.lina-message p {
  margin: 0;
  color: var(--text-soft);
  white-space: pre-wrap;
}

.lina-message-form {
  display: grid;
  gap: 12px;
  padding: 18px 20px 20px;
  border-block-start: 1px solid var(--glass-edge);
  background: rgba(5, 5, 5, 0.22);
}

.lina-message-form .textarea {
  min-height: 92px;
  resize: vertical;
}

.lina-compose-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.lina-human-toggle {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  color: var(--muted-strong);
  font-size: 13px;
  cursor: pointer;
}

.lina-human-toggle input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--text);
}

/* Lina direct chat — public guest support + optional account sign-in. */
.lina-support-shell-chat {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, 920px);
  margin-inline: auto;
}

.lina-chat-console {
  width: 100%;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(10, 10, 10, 0.82);
}

.lina-chat-panel {
  min-height: min(680px, calc(100svh - 170px));
  grid-template-rows: auto auto minmax(330px, 1fr) auto auto;
}

.lina-chat-header {
  direction: ltr;
  min-height: 76px;
  padding: 13px 18px;
  background: rgba(5, 5, 5, 0.58);
}

.lina-chat-header > .lina-chat-profile {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.lina-chat-profile > img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 1px solid var(--glass-edge-strong);
  border-radius: 50%;
  object-fit: cover;
}

.lina-chat-profile > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

html[dir="rtl"] .lina-chat-profile > div {
  direction: rtl;
  text-align: right;
}

.lina-chat-profile strong {
  font-size: 18px;
  line-height: 1.2;
}

.lina-chat-profile span {
  color: var(--muted);
  font-size: 12px;
}

.lina-chat-header-actions {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.lina-end-conversation {
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid var(--glass-edge-strong);
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted-strong);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.lina-end-conversation:hover,
.lina-end-conversation:focus-visible {
  border-color: rgba(255, 255, 255, 0.38);
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.lina-end-conversation[hidden] {
  display: none;
}

.lina-session-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: min(44vw, 280px);
  overflow: hidden;
  padding: 7px 10px;
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-full);
  color: var(--muted-strong);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lina-session-label > img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  object-fit: cover;
}

.lina-session-label > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lina-session-label.is-authenticated {
  color: var(--text-soft);
}

.lina-case-state {
  min-height: 0;
  padding: 9px 18px 0;
  text-align: center;
}

.lina-messages {
  min-height: 330px;
  max-height: none;
  gap: 9px;
  padding: 18px 16px 22px;
  background:
    radial-gradient(circle at 22% 14%, rgba(255, 255, 255, 0.025), transparent 28%),
    rgba(0, 0, 0, 0.16);
}

.lina-message-row {
  display: flex;
  width: 100%;
  align-items: flex-end;
  gap: 7px;
  direction: ltr;
}

.lina-message-row-support {
  justify-content: flex-start;
}

.lina-message-row-user {
  justify-content: flex-end;
}

.lina-message {
  width: auto;
  max-width: min(78%, 560px);
  padding: 10px 13px;
  border-radius: 18px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.13);
}

html[dir="rtl"] .lina-message {
  direction: rtl;
  text-align: right;
}

html[dir="ltr"] .lina-message {
  direction: ltr;
  text-align: left;
}

.lina-message-user,
html[dir="rtl"] .lina-message-user {
  align-self: auto;
  border-end-end-radius: 6px;
  background: rgba(255, 255, 255, 0.14);
}

.lina-message-support,
html[dir="rtl"] .lina-message-support {
  align-self: auto;
  border-end-start-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
}

.lina-message-system {
  border-style: dashed;
}

.lina-message-avatar {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  margin-block-end: 1px;
}

.lina-message-user-avatar {
  border-color: rgba(255, 255, 255, 0.18);
}

.lina-message-image {
  display: block;
  width: min(100%, 420px);
  max-height: 360px;
  margin-block-start: 7px;
  border-radius: 12px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.22);
}

.lina-message-pending {
  opacity: 0.86;
}

.lina-message-author {
  margin-block-end: 3px;
}

.lina-direct-composer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 9px;
  padding: 12px 14px 14px;
  border-block-start: 1px solid var(--glass-edge);
  background: rgba(5, 5, 5, 0.72);
}

.lina-image-preview {
  position: relative;
  width: 100%;
  padding-inline: 2px;
}

.lina-image-preview[hidden] {
  display: none;
}

.lina-image-preview > img {
  display: block;
  width: 82px;
  height: 82px;
  border: 1px solid var(--glass-edge);
  border-radius: 14px;
  object-fit: cover;
}

.lina-image-preview > button {
  position: absolute;
  inset-block-start: -7px;
  inset-inline-start: 72px;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid var(--glass-edge-strong);
  border-radius: 50%;
  background: #111;
  color: #fff;
  font: inherit;
  line-height: 1;
  cursor: pointer;
}

.lina-attach-button {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--glass-edge-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text-soft);
  cursor: pointer;
}

.lina-attach-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lina-attach-button:hover,
.lina-attach-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.09);
}

.lina-chat-input {
  width: auto;
  flex: 1 1 180px;
  min-height: 48px;
  max-height: 132px;
  padding: 12px 16px;
  border: 1px solid var(--glass-edge-strong);
  border-radius: 24px;
  outline: 0;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  line-height: 1.45;
  resize: none;
  overflow-y: hidden;
}

.lina-chat-input::placeholder {
  color: var(--muted);
}

.lina-chat-input:focus-visible {
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.lina-send-button {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #050505;
  cursor: pointer;
}

.lina-send-button span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.lina-send-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[dir="rtl"] .lina-send-button svg {
  transform: scaleX(-1);
}

.lina-send-button[disabled] {
  opacity: 0.48;
  cursor: wait;
}

.lina-chat-status {
  min-height: 0;
  padding: 0 18px 12px;
  text-align: center;
}

.lina-chat-disclosure {
  max-width: 760px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.lina-end-dialog {
  width: min(92vw, 520px);
  max-width: 520px;
  padding: 0;
  border: 1px solid var(--glass-edge-strong);
  border-radius: 24px;
  background: #0b0b0b;
  color: var(--text);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.72);
}

.lina-end-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lina-end-dialog-card {
  padding: 28px;
}

.lina-end-dialog-card h3 {
  margin: 0 0 8px;
}

.lina-end-dialog-card > p {
  margin: 0 0 20px;
  color: var(--muted-strong);
  line-height: 1.65;
}

.lina-end-dialog-actions {
  display: grid;
  gap: 9px;
}

.lina-auth-dialog {
  width: min(92vw, 520px);
  max-width: 520px;
  padding: 0;
  border: 1px solid var(--glass-edge-strong);
  border-radius: 24px;
  background: #0b0b0b;
  color: var(--text);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.72);
}

.lina-auth-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lina-auth-dialog-card {
  position: relative;
  padding: 30px;
}

.lina-auth-close {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-end: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.lina-auth-dialog .lina-auth-form {
  width: 100%;
  padding-block-start: 12px;
}

.nav-auth-link {
  color: var(--text-soft);
}

.support-block {
  min-width: 0;
  min-height: 270px;
  padding: 30px;
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-card);
  background-color: var(--glass-fill);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01) 34%, rgba(255, 255, 255, 0.003));
  box-shadow: var(--glass-control-shadow);
  backdrop-filter: blur(18px) saturate(116%);
  -webkit-backdrop-filter: blur(18px) saturate(116%);
}

.support-block:last-child {
  border-inline-end: 1px solid var(--glass-edge);
}

.support-block.accent {
  background-color: rgba(18, 18, 18, 0.68);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(43, 182, 115, 0.025) 62%, rgba(255, 255, 255, 0.004));
}

.support-block > span {
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 600;
}

.support-block h2 {
  margin-block: 12px 10px;
  font-size: 24px;
}

.support-block p {
  min-height: 76px;
  color: var(--muted-strong);
  overflow-wrap: break-word;
}

.support-block .text-link {
  max-width: 100%;
  flex-wrap: wrap;
  overflow-wrap: anywhere;
}

.support-block > * {
  min-width: 0;
  max-width: 100%;
}

.legal-wrap {
  padding-block-start: 38px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: clamp(46px, 8vw, 110px);
  align-items: start;
}

.legal-meta {
  position: sticky;
  inset-block-start: calc(var(--header-h) + 36px);
  padding-block-start: 12px;
  color: var(--muted);
  font-size: 13px;
}

.legal-section {
  padding-block: 34px;
}

.legal-section h2 {
  margin-block: 0 14px;
  font-size: 24px;
}

.legal-section p {
  color: var(--muted-strong);
}

.legal-section p:last-child {
  margin-block-end: 0;
}

/* Deletion and restoration portal */

.account-section {
  padding-block-start: 36px;
}

.account-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(440px, 0.85fr);
  gap: clamp(44px, 8vw, 120px);
  align-items: start;
  max-width: 1040px;
}

.account-context {
  padding-block-start: 18px;
  color: var(--muted-strong);
}

.account-context p {
  margin-block-end: 18px;
}

.danger-context strong {
  display: block;
  margin-block-end: 12px;
  color: #ffadb4;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
}

.account-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-large);
  background-color: var(--glass-fill-strong);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.014) 30%, rgba(255, 255, 255, 0.004));
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(var(--glass-blur)) saturate(118%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(118%);
}

.account-panel h2 {
  margin-block: 8px 9px;
  font-size: 30px;
}

.account-panel p {
  color: #c7c7c7;
}

.auth-form {
  display: grid;
  gap: 15px;
}

.auth-form label,
.field {
  display: grid;
  gap: 7px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
}

.input,
.textarea {
  width: 100%;
  min-height: 56px;
  padding: 13px 18px;
  border: 1px solid var(--glass-edge-strong);
  border-radius: var(--r-full);
  outline: none;
  color: var(--text);
  background-color: rgba(12, 12, 12, 0.56);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.008));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), inset 0 -1px 0 rgba(255, 255, 255, 0.018), 0 8px 22px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(var(--glass-control-blur)) saturate(116%);
  -webkit-backdrop-filter: blur(var(--glass-control-blur)) saturate(116%);
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  caret-color: var(--emerald-bright);
  -webkit-tap-highlight-color: transparent;
  transition:
    border-color var(--fast) ease,
    background-color var(--fast) ease,
    box-shadow var(--fast) ease;
}

.textarea {
  min-height: 106px;
  border-radius: 18px;
  resize: vertical;
}

.input:focus,
.textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.44);
  background-color: rgba(16, 16, 16, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.085),
    inset 0 0 0 1px rgba(255, 255, 255, 0.055),
    0 10px 28px rgba(0, 0, 0, 0.20);
}

.input:focus-visible,
.textarea:focus-visible {
  outline: none;
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.085),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 10px 28px rgba(0, 0, 0, 0.20);
}

.input:-webkit-autofill,
.input:-webkit-autofill:hover,
.input:-webkit-autofill:focus,
.textarea:-webkit-autofill,
.textarea:-webkit-autofill:hover,
.textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  caret-color: var(--emerald-bright);
  -webkit-box-shadow:
    inset 0 0 0 1000px rgba(12, 12, 12, 0.94),
    inset 0 1px 0 rgba(255, 255, 255, 0.065);
  transition: background-color 9999s ease-out 0s;
}

.input::placeholder,
.textarea::placeholder {
  color: #777777;
}

.auth-divider {
  position: relative;
  display: grid;
  place-items: center;
  height: 22px;
  color: var(--muted);
  font-size: 11px;
}

.auth-divider::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-start: 50%;
  height: 1px;
  background: var(--line);
}

.auth-divider span {
  position: relative;
  padding-inline: 10px;
  background: var(--surface-panel);
}

.microcopy {
  margin: 0;
  color: var(--muted) !important;
  font-size: 13px;
}

.account-identity {
  display: grid;
  gap: 6px;
  margin-block: 22px;
  padding: 15px 17px;
  border: 0;
  border-radius: 18px;
  background-color: rgba(255, 255, 255, 0.025);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.006));
  box-shadow: none;
}

.account-identity span {
  color: var(--muted);
  font-size: 12px;
}

.account-identity strong {
  overflow-wrap: anywhere;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 600;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 30px;
  padding-inline: 10px;
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 600;
}

.status-badge.success {
  color: var(--text-soft);
  border-color: rgba(43, 182, 115, 0.32);
  background: rgba(43, 182, 115, 0.07);
}

.status-badge.warning {
  color: #f2cf98;
  border-color: rgba(231, 178, 95, 0.3);
  background: rgba(231, 178, 95, 0.055);
}

.status-badge.danger {
  color: #ffadb4;
  border-color: rgba(224, 106, 116, 0.3);
  background: rgba(224, 106, 116, 0.055);
}

.form-status {
  min-height: 22px;
  margin-block-start: 14px;
  color: var(--amber);
  font-size: 12px;
}

.deletion-layout {
  max-width: 1120px;
}

.reason-fieldset {
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.reason-fieldset legend {
  margin-block-end: 8px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
}

.reason-fieldset legend span {
  color: var(--muted);
  font-weight: 400;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.reason {
  position: relative;
}

.reason input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.reason label {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-full);
  color: #d0d0d0;
  background-color: rgba(255, 255, 255, 0.022);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.006));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
}

.reason label::before {
  content: "";
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  border: 1px solid var(--muted);
  border-radius: 50%;
}

.reason input:focus-visible + label {
  outline: none;
  border-color: rgba(255, 255, 255, 0.44);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.075), inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.reason input:checked + label {
  border-color: rgba(43, 182, 115, 0.36);
  color: var(--text);
  background-color: rgba(43, 182, 115, 0.075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 0 0 1px rgba(43, 182, 115, 0.04);
}

.reason input:checked + label::before {
  border: 4px solid var(--emerald);
}

.notice {
  padding: 14px 15px;
  border: 1px solid var(--glass-edge);
  border-radius: 18px;
  color: #d0d0d0;
  background-color: rgba(255, 255, 255, 0.024);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.006));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-size: 13px;
}

.warning-notice {
  border-color: rgba(231, 178, 95, 0.25);
  color: #e8c993;
  background-color: rgba(82, 58, 20, 0.20);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(231, 178, 95, 0.018));
}

.confirmation-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid var(--glass-edge);
  border-radius: 18px;
  color: #d0d0d0;
  background-color: rgba(255, 255, 255, 0.022);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.005));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-size: 13px;
  cursor: pointer;
}

.confirmation-check input {
  margin-block-start: 4px;
  accent-color: var(--emerald);
}

.confirmation-check:has(input:focus-visible) {
  outline: none;
  border-color: rgba(255, 255, 255, 0.44);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.075), inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

/* Deep links and errors */

.link-shell {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  padding: 48px 24px;
}

.link-card {
  width: min(580px, 100%);
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-large);
  background-color: var(--glass-fill-strong);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.014) 30%, rgba(255, 255, 255, 0.004));
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(var(--glass-blur)) saturate(118%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(118%);
}

.link-mark {
  width: 38px;
  height: 42px;
  margin-block-end: 20px;
}

.link-card h1 {
  margin-block: 11px 12px;
  font-size: clamp(32px, 5vw, 46px);
}

.link-card p {
  color: #c7c7c7;
}

.link-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-block-start: 24px;
}

.tech-line {
  min-height: 20px;
  margin-block-start: 14px;
  color: var(--muted);
  font-size: 12px;
}

.error-page {
  min-height: 68vh;
  display: grid;
  place-items: center;
  padding: 60px 24px;
  text-align: center;
}

.error-document main {
  min-height: 100vh;
}

.error-document .error-locale {
  min-height: 100vh;
}

html[data-error-locale] .error-locale {
  display: none;
}

html[data-error-locale="ar"] .error-locale[data-error-locale="ar"],
html[data-error-locale="en"] .error-locale[data-error-locale="en"] {
  display: grid;
}

.error-locale[lang="ar"] {
  font-family: "Noto Naskh Arabic", "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
}

.error-brand {
  width: fit-content;
  margin-inline: auto;
  margin-block-end: var(--space-8);
}

.error-page > div {
  max-width: 650px;
}

.error-page > div > strong {
  color: var(--sapphire);
  font-family: "IBM Plex Sans", sans-serif;
}

.error-page h1 {
  margin-block: 8px 10px;
  font-size: clamp(48px, 8vw, 84px);
}

.error-page p {
  color: var(--muted-strong);
}

.center {
  justify-content: center;
}

/* Footer */

.site-footer {
  margin-block-start: 58px;
  padding-block: 52px 28px;
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) repeat(3, minmax(120px, 0.55fr));
  gap: 42px;
}

.footer-intro p {
  max-width: 410px;
  margin-block: 13px 0;
  color: #a9a9a9;
}

.footer-group {
  display: grid;
  align-content: start;
  gap: 5px;
}

.footer-group strong {
  margin-block-end: 6px;
  font-size: 13px;
  font-weight: 600;
}

.footer-group a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: #b5b5b5;
  font-size: 14px;
  text-decoration: none;
}

.footer-group a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-block-start: 34px;
  padding-block-start: 20px;
  color: #8f8f8f;
  font-size: 12px;
}

/* Progressive motion */

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 360ms var(--ease), transform 360ms var(--ease);
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */

@media (max-width: 1040px) {
  .proof-layout,
  .learning-layout,
  .feature-split {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    gap: clamp(30px, 4vw, 52px);
  }

  .hero-copy-block {
    max-width: 820px;
  }

  .hero-product {
    width: 100%;
  }

  .proof-layout {
    gap: 42px;
  }

  .proof-steps {
    max-width: 720px;
  }

  .sticky-heading {
    position: static;
  }

  .learning-layout {
    gap: 36px;
  }

  .chapter-list {
    max-width: 820px;
  }

  .feature-split {
    gap: 46px;
  }

  .progress-visual {
    width: min(720px, 100%);
  }

  .support-layout {
    grid-template-columns: 1fr 1fr;
  }

  .support-block:nth-child(2) {
    border-inline-end: 1px solid var(--glass-edge);
  }

  .support-block:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero-product {
    width: min(720px, 100%);
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 64px;
    --page-gutter: 16px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    position: relative;
    z-index: 102;
  }

  .brand {
    position: relative;
    z-index: 102;
  }

  html[lang="ar"] .menu-toggle {
    order: -1;
  }

  .nav-links {
    position: fixed;
    z-index: 101;
    inset: 0;
    display: flex;
    align-items: stretch;
    gap: 2px;
    padding:
      calc(var(--header-h) + 28px)
      var(--page-gutter)
      calc(28px + env(safe-area-inset-bottom));
    border: 0;
    border-radius: 0;
    background: var(--canvas);
    box-shadow: none;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition:
      transform 260ms var(--ease),
      visibility 0s linear 260ms;
  }

  .nav-links[data-open="true"] {
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .nav-links > a,
  .nav-utilities > a {
    min-height: 56px;
    justify-content: flex-start;
    padding-inline: 2px;
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    font-size: 19px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(-4px);
    transition:
      color var(--fast) ease,
      opacity 180ms var(--ease),
      transform 220ms var(--ease);
  }

  .nav-links[data-open="true"] > a,
  .nav-links[data-open="true"] .nav-utilities > a {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links[data-open="true"] > a:nth-child(1) { transition-delay: 20ms; }
  .nav-links[data-open="true"] > a:nth-child(2) { transition-delay: 40ms; }
  .nav-links[data-open="true"] > a:nth-child(3) { transition-delay: 60ms; }
  .nav-links[data-open="true"] > a:nth-child(4) { transition-delay: 80ms; }
  .nav-links[data-open="true"] .nav-utilities > a { transition-delay: 100ms; }

  .nav-utilities {
    display: grid;
    grid-template-columns: 1fr;
    margin-inline-start: 0;
    margin-block-start: auto;
    padding-inline-start: 0;
    padding-block-start: 24px;
    border-inline-start: 0;
    border-block-start: 0;
  }

  .nav-utilities .language-link {
    justify-content: flex-start;
  }

  .nav-links > a:hover,
  .nav-links > a[aria-current="page"],
  .nav-utilities > a:hover,
  .nav-utilities > a[aria-current="page"] {
    background: transparent;
  }

  .hero-section {
    padding-block-start: 66px;
  }

  .community-band {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .community-signal {
    justify-content: flex-start;
  }

  .specialty-row {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .specialty-term {
    display: none;
  }

  .legal-layout,
  .account-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .legal-meta {
    position: static;
  }

  .account-context {
    max-width: 680px;
  }

  .footer-shell {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .footer-intro {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  :root {
    --page-gutter: 14px;
  }

  .hero-section {
    padding-block: 54px 64px;
  }

  .hero-copy-block h1 {
    margin-block-start: 18px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .product-window {
    border-radius: var(--r-card);
  }

  .product-window-head {
    padding-inline: 13px;
  }

  .window-system {
    display: none;
  }

  .knowledge-stage {
    padding: 10px 8px 9px;
  }

  .node-leader {
    width: 26px;
  }

  .node-label-right .node-leader { left: 34px; }
  .node-label-left .node-leader { right: 34px; }

  .node-label-right .node-name { left: 66px; }
  .node-label-left .node-name { right: 66px; }

  .node-name {
    max-width: 112px;
    font-size: var(--type-caption);
  }

  .sphere-caption {
    max-width: 290px;
    margin-inline: auto;
    font-size: var(--type-caption);
  }

  .learning-lens {
    min-height: 0;
    padding: 19px 18px 20px;
  }

  .lens-topline {
    align-items: flex-start;
    font-size: var(--type-caption);
  }

  .lens-active-field {
    max-width: 43%;
  }

  .lens-term {
    font-size: clamp(25px, 8vw, 33px);
  }

  .lens-context {
    min-height: 0;
    font-size: 12px;
  }

  .lens-practice {
    min-height: 0;
  }

  .lens-footer {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .lens-progress {
    max-width: 230px;
  }

  .proof-section,
  .learning-section,
  .progress-section,
  .specialties-section,
  .final-cta-section,
  .faq-section,
  .page-section {
    padding-block: 66px;
  }

  .chapter {
    min-height: 0;
    grid-template-columns: 34px 1fr;
    gap: 13px;
    padding-block: 32px;
  }

  .progress-visual {
    min-height: 360px;
  }

  .knowledge-map {
    width: 94%;
    transform: scale(0.9);
  }

  .community-signal i {
    width: 22px;
  }

  .specialty-row {
    min-height: 116px;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
  }

  .specialty-row h3 {
    font-size: 20px;
  }

  .specialty-row p {
    font-size: 14px;
  }

  .final-cta {
    padding: 30px 24px;
    border-radius: var(--r-card);
  }

  .page-hero {
    padding-block: 58px 22px;
  }

  .support-layout {
    grid-template-columns: 1fr;
  }

  .lina-support-shell {
    grid-template-columns: 1fr;
  }

  .lina-auth-panel,
  .lina-chat-panel {
    min-height: 0;
  }

  .lina-chat-panel {
    grid-template-rows: auto auto minmax(360px, 58svh) auto auto;
  }

  .lina-chat-header {
    min-height: 70px;
    padding: 11px 13px;
  }

  .lina-chat-profile > img {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .lina-session-label {
    max-width: 38vw;
  }

  .lina-messages {
    padding-inline: 12px;
  }

  .lina-message {
    max-width: 82%;
  }

  .lina-direct-composer {
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  }

  .lina-auth-dialog-card {
    padding: 26px 20px 22px;
  }

  .support-block,
  .support-block:nth-child(2),
  .support-block:last-child {
    grid-column: auto;
    border-inline-end: 1px solid var(--glass-edge);
  }

  .support-block {
    min-height: auto;
    padding: 28px 30px 30px;
  }

  html[dir="rtl"] .support-block {
    padding-inline-start: calc(30px + env(safe-area-inset-right));
    padding-inline-end: calc(30px + env(safe-area-inset-left));
  }

  .lina-support-intro,
  .lina-auth-panel {
    padding: 28px 24px;
  }

  .lina-compose-row {
    align-items: stretch;
    flex-direction: column;
  }

  .lina-compose-row .button {
    width: 100%;
  }

  .account-panel {
    padding: 23px 18px;
    border-radius: var(--r-card);
  }

  .reason-grid {
    grid-template-columns: 1fr;
  }

  .link-shell {
    padding-inline: 14px;
  }

  .link-card {
    padding: 25px 20px;
  }

  .link-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .link-actions .button {
    width: 100%;
  }

  .footer-shell {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-intro {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  :root {
    --page-gutter: 12px;
  }

  .brand-word {
    font-size: 16px;
  }

  .node-leader {
    display: none;
  }

  .node-name,
  .node-label-right .node-name,
  .node-label-left .node-name {
    left: 50%;
    right: auto;
    inset-block-start: 39px;
    width: 92px;
    max-width: 92px;
    white-space: normal;
    text-align: center;
    transform: translateX(-50%);
  }

  .knowledge-node-1 { left: 19%; }
  .knowledge-node-2 { left: 77%; }
  .knowledge-node-3 { left: 16%; }
  .knowledge-node-4 { left: 82%; }

  .core-emitter-technology { transform: translateY(-50%) rotate(-154.9deg); }
  .core-emitter-medicine { transform: translateY(-50%) rotate(-31.13deg); }
  .core-emitter-engineering { transform: translateY(-50%) rotate(171.38deg); }
  .core-emitter-humanities { transform: translateY(-50%) rotate(8.62deg); }

  .core-port-technology { left: 6.0891%; top: 27.8129%; }
  .core-port-medicine { left: 85.5748%; top: 23.623%; }
  .core-port-engineering { left: 2.3389%; top: 53.7137%; }
  .core-port-humanities { left: 91.5635%; top: 53.7137%; }

  .sphere-caption {
    max-width: 250px;
  }

  .learning-lens {
    padding-inline: 15px;
  }

  .account-panel {
    padding-inline: 15px;
  }

  .support-block {
    padding-inline: 26px;
  }

  html[dir="rtl"] .support-block {
    padding-inline-start: calc(26px + env(safe-area-inset-right));
    padding-inline-end: calc(26px + env(safe-area-inset-left));
  }

  .footer-shell {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }

  .button:active {
    transform: none;
  }
}
