/* =====================================================================
   AQORIX — site styles
   Tokens → base → typography → layout → components → sections → RTL → motion
   Spacing scale: 4 8 12 16 24 32 48 64 96 128. Radii: 8 16 24 (buttons 12).
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy-900: #070F26;
  --navy-800: #0B1B3F;
  --navy-700: #122658;
  --cyan: #00C2FF;
  --cyan-deep: #0096C7;
  --violet: #6C4BFF;
  --violet-light: #8B6CFF;
  --ok: #16A34A;
  --warn: #F59E0B;
  --danger: #DC2626;

  --ink: #0B1220;
  --ink-2: #2E3748;
  --muted: #5B6478;
  --placeholder: #667085;
  --line: #E6EAF0;
  --line-strong: #CBD2DD;
  --white: #FFFFFF;
  --bg-alt: #F6F8FB;

  --font-latin: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-arabic: "IBM Plex Sans Arabic", "Noto Sans Arabic", "Geeza Pro", Tahoma, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font: var(--font-latin);
  --font-num: var(--font-mono);

  --r-sm: 8px;
  --r: 16px;
  --r-lg: 24px;
  --r-btn: 12px;
  --container: 1200px;
  --gutter: 24px;
  --section: 96px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* light theme defaults (page is light-first) */
  --bg: var(--white);
  --text: var(--ink);
  --text-2: var(--ink-2);
  --text-muted: var(--muted);
  --rule: var(--line);
  --card-bg: var(--white);
  --card-line: var(--line);
  --card-shadow: 0 12px 32px -12px rgba(11, 27, 63, .18);
  --btn-bg: var(--navy-800);
  --btn-fg: var(--white);
  --btn-bg-hover: var(--navy-900);
  --btn-2-fg: var(--navy-800);
  --btn-2-line: var(--line-strong);
  --btn-2-hover: rgba(11, 27, 63, .06);
  --eyebrow: var(--cyan-deep);
  --focus: 0 0 0 3px rgba(0, 194, 255, .45);
}

.theme-dark {
  --bg: var(--navy-900);
  --text: var(--white);
  --text-2: #D5DCEA;
  --text-muted: #A9B4D0;
  --rule: rgba(255, 255, 255, .1);
  --card-bg: rgba(255, 255, 255, .04);
  --card-line: rgba(255, 255, 255, .08);
  --card-shadow: none;
  --btn-bg: var(--white);
  --btn-fg: var(--navy-800);
  --btn-bg-hover: #E6F7FF;
  --btn-2-fg: var(--white);
  --btn-2-line: rgba(255, 255, 255, .28);
  --btn-2-hover: rgba(255, 255, 255, .08);
  --eyebrow: var(--cyan);
  color-scheme: dark;
}
.theme-light { --bg: var(--bg-alt); }
.theme-white { --bg: var(--white); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; color: var(--text); overflow-wrap: break-word; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
dl, dt, dd { margin: 0; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
::placeholder { color: var(--placeholder); opacity: 1; }
::selection { background: rgba(0, 194, 255, .3); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 100; padding: 12px 16px; background: var(--navy-800); color: #fff; border-radius: var(--r-sm); }
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; background: var(--bg); color: var(--text); }
.section + .section { border-top: 1px solid var(--rule); }
.theme-dark + .theme-dark, .theme-dark + .theme-light, .theme-light + .theme-dark, .theme-white + .theme-dark, .theme-dark + .theme-white { border-top: 0; }

/* ---------- Typography ---------- */
.display { font-size: clamp(40px, 5vw, 64px); line-height: 1.05; letter-spacing: -.025em; font-weight: 600; text-wrap: balance; }
.h2 { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
.h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.25; letter-spacing: -.01em; }
.h4 { font-size: 19px; line-height: 1.35; letter-spacing: -.005em; }
.lead { font-size: 20px; line-height: 1.5; color: var(--text-2); max-width: 62ch; }
.eyebrow { font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--eyebrow); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.num { font-family: var(--font-num); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head .h2 + .lead { margin-top: 20px; }
.section-head-tight { margin-bottom: 32px; }
.disclaimer { font-size: 14px; line-height: 1.6; color: var(--text-muted); }

.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-sm { width: 16px; height: 16px; }
.icon-check { color: var(--cyan-deep); }
.theme-dark .icon-check { color: var(--cyan); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: var(--r-btn);
  font-weight: 600; font-size: 16px; line-height: 1; white-space: nowrap;
  border: 1px solid transparent; transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-primary:hover { background: var(--btn-bg-hover); }
.btn-secondary { background: transparent; color: var(--btn-2-fg); border-color: var(--btn-2-line); }
.btn-secondary:hover { background: var(--btn-2-hover); }
.btn-text { height: auto; padding: 0; border-radius: 4px; color: var(--btn-2-fg); gap: 8px; }
.btn-text:hover .icon-arrow { transform: translateX(4px); }
.btn-text-light { color: var(--white); }
.btn-lg { height: 56px; padding: 0 28px; font-size: 17px; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-hero { box-shadow: 0 8px 24px -8px rgba(0, 194, 255, .45); }
.btn[aria-disabled="true"] { cursor: default; opacity: .8; }
.icon-arrow { transition: transform .2s var(--ease); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-btn); color: var(--text); }
.icon-btn:hover { background: var(--btn-2-hover); }

/* ---------- Cards / chips / states ---------- */
.card { background: var(--card-bg); border: 1px solid var(--card-line); border-radius: var(--r); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.theme-light .card, .theme-white .card { background: var(--white); }
a.card:hover, .card:has(> a:hover) { box-shadow: var(--card-shadow); }
.state { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; line-height: 1; padding: 6px 10px; border-radius: 999px; }
.state-ok { color: #0F7A3A; background: rgba(22, 163, 74, .12); }
.theme-dark .state-ok, .live-panel .state-ok { color: #6EE7A0; background: rgba(22, 163, 74, .18); }
.status-badge { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 10px; border-radius: 999px; border: 1px solid var(--card-line); background: var(--card-bg); font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 16px; }
.theme-white .status-badge, .theme-light .status-badge { background: var(--white); }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.status-soon .badge-dot { background: var(--violet-light); }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--ink-2); }
.chip .icon { color: var(--cyan-deep); }
.chip-row-sm .chip { height: 34px; font-size: 14px; padding: 0 12px; }
.check-list { display: grid; gap: 20px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list .icon { margin-top: 4px; }
.check-list p { color: var(--text-muted); margin-top: 4px; font-size: 16px; }
.check-list-sm { gap: 10px; }
.check-list-sm li { font-size: 15px; color: var(--text-2); }
.check-list-sm .icon { margin-top: 3px; width: 18px; height: 18px; }

.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); flex: none; position: relative; }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--cyan); opacity: 0; animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: .9; } 70%, 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; border-radius: 6px; }
.brand-mark { width: 28px; height: 28px; flex: none; }
.brand-dot { fill: var(--violet); }
.theme-dark .brand-dot, .site-header.is-dark .brand-dot, .mobile-menu .brand-dot { fill: var(--violet-light); }
.brand-word { font-family: var(--font-latin); font-weight: 700; font-size: 18px; letter-spacing: .14em; line-height: 1; }
.brand-mark-xs { width: 18px; height: 18px; }
.brand-mark-lg { width: 96px; height: 96px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease); color: var(--ink); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-dark { background: rgba(7, 15, 38, .72); color: #fff; border-bottom-color: rgba(255, 255, 255, .08); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 100%; }
.primary-nav { display: none; flex: 1; }
.primary-nav > ul { display: flex; gap: 4px; align-items: center; }
.nav-item { position: relative; }
.nav-item > a, .nav-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: var(--r-sm); font-weight: 600; font-size: 15px; color: inherit; opacity: .85; transition: opacity .15s, background-color .15s; }
.nav-item > a:hover, .nav-btn:hover, .nav-btn[aria-expanded="true"] { opacity: 1; background: rgba(11, 27, 63, .06); }
.is-dark .nav-item > a:hover, .is-dark .nav-btn:hover, .is-dark .nav-btn[aria-expanded="true"] { background: rgba(255, 255, 255, .1); }
.nav-btn .icon-sm { transition: transform .2s var(--ease); }
.nav-btn[aria-expanded="true"] .icon-sm { transform: rotate(180deg); }
.nav-menu { position: absolute; top: calc(100% + 8px); inset-inline-start: 0; min-width: 200px; padding: 8px; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 20px 40px -16px rgba(11, 27, 63, .3); z-index: 5; }
.nav-menu[hidden] { display: none; }
.has-menu:hover > .nav-menu, .has-menu:focus-within > .nav-menu { display: block; }
.nav-menu a { display: flex; align-items: center; height: 40px; padding: 0 12px; border-radius: var(--r-sm); font-weight: 600; font-size: 15px; }
.nav-menu a:hover, .nav-menu a:focus-visible { background: var(--bg-alt); }
.nav-menu a[aria-current="page"] { color: var(--cyan-deep); }
.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.lang-link { display: inline-flex; align-items: center; height: 40px; padding: 0 12px; border-radius: var(--r-sm); font-weight: 600; font-size: 15px; opacity: .85; }
.lang-link:hover { opacity: 1; background: rgba(11, 27, 63, .06); }
.is-dark .lang-link:hover { background: rgba(255, 255, 255, .1); }
.lang-link[lang="ar"] { font-family: var(--font-arabic); }
.lang-link[lang="en"] { font-family: var(--font-latin); }
.header-cta { display: none; }
.menu-toggle { margin-inline-end: -8px; }
@media (min-width: 1024px) {
  .primary-nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* ---------- Mobile menu (dialog) ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 60; background: var(--navy-900); color: #fff; display: flex; flex-direction: column; overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mm-head { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); flex: none; }
.mm-head .icon-btn { margin-inline-end: -8px; }
.mm-nav { flex: 1; padding-top: 16px; }
.mm-nav a { display: flex; align-items: center; min-height: 52px; font-size: 22px; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mm-nav a[aria-current="page"] { color: var(--cyan); }
.mm-group { padding-bottom: 8px; }
.mm-label { display: block; font-size: 13px; font-weight: 600; color: var(--cyan); padding: 12px 0 4px; }
.mm-group ul a { font-size: 20px; min-height: 48px; padding-inline-start: 16px; }
.mm-foot { display: grid; gap: 12px; padding-top: 24px; padding-bottom: 32px; }
.lang-link-lg { justify-self: center; font-size: 17px; }
.mobile-menu .brand { color: #fff; }
.mobile-menu .icon-btn { color: #fff; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; background: var(--navy-900); color: #fff; overflow: hidden; margin-top: calc(-1 * var(--header-h)); padding-top: var(--header-h); min-height: min(860px, 100vh); display: flex; align-items: center; }
.hero-media, .hero-media picture, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 100% 50%; }
.hero-scrim { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(90deg, rgba(7, 15, 38, .9) 0%, rgba(7, 15, 38, .8) 38%, rgba(7, 15, 38, .4) 58%, rgba(7, 15, 38, .06) 100%),
  linear-gradient(180deg, rgba(7, 15, 38, .55) 0%, rgba(7, 15, 38, 0) 30%, rgba(7, 15, 38, 0) 60%, rgba(7, 15, 38, .75) 100%); }
.hero-inner { position: relative; z-index: 2; padding-top: 64px; padding-bottom: 64px; display: grid; gap: 40px; width: 100%; }
.hero-copy { max-width: 620px; }
.hero .eyebrow { color: var(--cyan); }
.hero .lead { color: #D5DCEA; margin-top: 24px; max-width: 56ch; }
.hero-note { margin-top: 24px; font-size: 14px; color: #A9B4D0; }
.hero-sub { min-height: min(720px, 90vh); }
.hero-scrim-sub { background:
  linear-gradient(90deg, rgba(7, 15, 38, .9) 0%, rgba(7, 15, 38, .78) 40%, rgba(7, 15, 38, .35) 70%, rgba(7, 15, 38, .2) 100%),
  linear-gradient(180deg, rgba(7, 15, 38, .5) 0%, rgba(7, 15, 38, 0) 40%, rgba(7, 15, 38, .6) 100%); }
.hero-sub .hero-media img { object-position: 50% 0%; transform: scale(1.3); transform-origin: 0% 8%; }
.hero-inner-sub .hero-copy { max-width: 680px; }
.hero-sub .hero-note { max-width: 60ch; }

/* Live container panel */
.live-panel { width: 100%; max-width: 720px; background: rgba(7, 15, 38, .62); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: #fff; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .6); }
.lp-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 13px; font-weight: 600; }
.lp-title { display: inline-flex; align-items: center; gap: 10px; }
.lp-id { color: #A9B4D0; font-weight: 500; }
.lp-sep { margin: 0 8px; opacity: .5; }
.lp-body { display: grid; grid-template-columns: 1fr; gap: 0; }
.lp-main { padding: 20px 20px 12px; display: grid; gap: 12px; }
.lp-temp { display: grid; gap: 2px; }
.lp-label { font-size: 12px; font-weight: 600; color: #A9B4D0; }
.lp-value { font-size: 40px; line-height: 1; display: inline-flex; align-items: baseline; gap: 4px; }
.lp-unit { font-size: 18px; color: #A9B4D0; font-family: var(--font); font-weight: 600; }
.lp-range { font-size: 12px; color: #A9B4D0; }
.lp-chart { width: 100%; height: 72px; overflow: visible; }
.lpc-band { fill: rgba(0, 194, 255, .08); }
.lpc-grid { stroke: rgba(255, 255, 255, .08); stroke-width: 1; vector-effect: non-scaling-stroke; }
.lpc-line { fill: none; stroke: var(--cyan); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.lpc-dot { fill: #fff; stroke: var(--cyan); stroke-width: 2; vector-effect: non-scaling-stroke; }
.js .lpc-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s var(--ease) .3s forwards; }
.js .lpc-dot { opacity: 0; animation: fade-in .4s ease 2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }
.lp-side { padding: 16px 20px 20px; display: grid; gap: 16px; border-top: 1px solid rgba(255, 255, 255, .08); }
.lp-probes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.lp-probes .lp-label { width: 100%; }
.lp-probe { display: inline-flex; align-items: baseline; gap: 6px; font-size: 13px; color: #A9B4D0; }
.lp-probe b { font-size: 15px; color: #fff; }
.lp-status { display: grid; grid-template-columns: repeat(3, auto); gap: 16px; justify-content: start; }
.lp-status dt { font-size: 12px; font-weight: 600; color: #A9B4D0; margin-bottom: 6px; }
.lp-status dd { font-size: 15px; }
.lp-foot { display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }
.lp-route { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.lp-bar { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.lp-bar span { display: block; height: 100%; background: var(--cyan); border-radius: 2px; }
.lp-eta { white-space: nowrap; color: #A9B4D0; }
.lp-eta b { color: #fff; font-weight: 500; }
@media (min-width: 640px) {
  .lp-body { grid-template-columns: 1.4fr 1fr; }
  .lp-side { border-top: 0; border-inline-start: 1px solid rgba(255, 255, 255, .08); }
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: minmax(0, 1.1fr) minmax(360px, 460px); align-items: center; gap: 48px; padding-top: 80px; padding-bottom: 80px; }
  .live-panel { max-width: 460px; justify-self: end; }
  .lp-body { grid-template-columns: 1fr; }
  .lp-side { border-inline-start: 0; border-top: 1px solid rgba(255, 255, 255, .08); }
  .hero-media img { object-position: 100% 50%; }
}
@media (min-width: 1280px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) 440px; gap: 64px; }
}

/* ---------- Fleet product tour ---------- */
.tour { display: grid; gap: 48px; }
.tour-sticky { position: relative; }
.tour-list { display: grid; gap: 8px; counter-reset: feat; }
.tour-item { display: flex; gap: 16px; padding: 20px 20px 20px 24px; border-radius: var(--r); border: 1px solid transparent; position: relative; transition: background-color .25s var(--ease), border-color .25s var(--ease); }
.tour-item::before { content: ""; position: absolute; inset-inline-start: 0; top: 24px; bottom: 24px; width: 3px; border-radius: 2px; background: var(--cyan); opacity: 0; transition: opacity .25s; }
.tour-item.is-active { background: var(--bg-alt); border-color: var(--line); }
.tour-item.is-active::before { opacity: 1; }
.tour-icon { width: 40px; height: 40px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; color: var(--navy-800); background: var(--white); border: 1px solid var(--line); }
.tour-item.is-active .tour-icon { color: var(--cyan-deep); }
.tour-item p { color: var(--text-muted); margin-top: 4px; font-size: 16px; }
.tour-cta { margin-top: 24px; padding-inline-start: 24px; }
@media (min-width: 1024px) {
  .tour { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
  .tour-sticky { position: sticky; top: calc(var(--header-h) + 32px); }
  .tour-list { padding-top: 8px; }
  .tour-cta { grid-column: 2; margin-top: 8px; }
}
@media (min-width: 1200px) { .tour { grid-template-columns: 1.1fr .9fr; gap: 80px; } }

/* Product UI panel (all HTML/CSS) */
.tour-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 32px 64px -32px rgba(11, 27, 63, .3), 0 1px 0 rgba(11, 27, 63, .02); overflow: hidden; font-size: 13px; color: var(--ink); }
.tp-bar { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.tp-app { font-weight: 700; font-size: 13px; }
.tp-tabs { display: flex; gap: 2px; margin-inline-start: 8px; }
.tp-tabs span { padding: 6px 10px; border-radius: 6px; color: var(--muted); font-weight: 600; font-size: 12px; }
.tp-tabs .is-on { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(11, 27, 63, .08); }
.tp-avatar { margin-inline-start: auto; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--violet)); }
.tp-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; padding: 12px; background: var(--bg-alt); }
.tp-region { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px; transition: box-shadow .3s var(--ease), opacity .3s var(--ease), border-color .3s var(--ease); min-width: 0; }
.tp-region.is-active { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 194, 255, .22); z-index: 1; }
.tour-panel.has-active .tp-region:not(.is-active) { opacity: .62; }
.tp-title { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 12px; color: var(--ink-2); margin-bottom: 8px; min-width: 0; }
.tp-title > span:nth-child(2) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-title .icon { color: var(--muted); width: 16px; height: 16px; }
.tp-meta { margin-inline-start: auto; color: var(--muted); font-weight: 500; white-space: nowrap; }
.tp-meta .state { padding: 4px 8px; font-size: 11px; }
.tp-sub { color: var(--muted); font-size: 12px; margin-top: 6px; }
.tp-big { font-size: 24px; line-height: 1; color: var(--ink); }
.tp-map { grid-column: span 6; padding: 0; overflow: hidden; height: 190px; background: #EEF3F8; }
.tp-map svg { width: 100%; height: 100%; }
.m-road { fill: none; stroke: #fff; stroke-width: 7; }
.m-road-thin { stroke-width: 4; }
.m-route { fill: none; stroke: var(--navy-800); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.m-stop { fill: #fff; stroke: var(--navy-800); stroke-width: 2.5; }
.m-truck circle { fill: var(--cyan); }
.m-truck-halo { fill: rgba(0, 194, 255, .18) !important; }
.m-other { fill: var(--muted); opacity: .6; }
.tp-pin { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; background: var(--white); border-radius: 8px; box-shadow: 0 4px 12px -4px rgba(11, 27, 63, .3); font-size: 12px; }
.tp-pin span { color: var(--muted); }
.tp-temp { grid-column: span 3; }
.tp-probes { display: flex; gap: 10px; align-items: flex-end; height: 92px; }
.tp-probe { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; font-size: 11px; color: var(--muted); }
.tp-probe i { display: block; width: 100%; max-width: 28px; border-radius: 4px 4px 2px 2px; background: var(--cyan); opacity: .9; }
.tp-probe .num { color: var(--ink); font-size: 12px; }
.tp-probe-hum i { background: var(--violet-light); }
.tp-door { grid-column: span 3; }
.tp-snap { height: 64px; border-radius: 8px; background: linear-gradient(135deg, #1D2B4F, #0B1B3F); color: #A9B4D0; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; }
.tp-comp { grid-column: span 3; }
.tp-cycles { width: 100%; height: 36px; margin-top: 4px; }
.tp-cycles path { fill: none; stroke: var(--cyan-deep); stroke-width: 2; vector-effect: non-scaling-stroke; }
.tp-fuel { grid-column: span 3; }
.tp-gauge { height: 8px; border-radius: 4px; background: var(--bg-alt); border: 1px solid var(--line); overflow: hidden; margin-top: 6px; }
.tp-gauge i { display: block; height: 100%; background: var(--cyan-deep); border-radius: 4px; }
.tp-weight { grid-column: span 2; }
.tp-power { grid-column: span 2; }
.tp-report { grid-column: span 2; }
.tp-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; color: var(--cyan-deep); font-weight: 600; font-size: 12px; }
@media (max-width: 479px) {
  .tp-tabs { display: none; }
  .tp-weight, .tp-power, .tp-report { grid-column: span 3; }
  .tp-report { grid-column: span 6; }
}

/* ---------- AI alerts ---------- */
.ai-grid { display: grid; gap: 48px; }
.alert-list { display: grid; }
.alert-list li { display: flex; gap: 16px; padding: 22px 0; border-top: 1px solid var(--rule); }
.alert-list li:last-child { border-bottom: 1px solid var(--rule); }
.alert-list .icon { color: var(--cyan); margin-top: 3px; }
.alert-list p { color: var(--text-muted); margin-top: 4px; font-size: 16px; }
.alert-mock { padding: 24px; display: grid; gap: 20px; align-self: start; }
.am-head { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.am-chip { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--cyan); }
.am-time { color: var(--text-muted); }
.notif { display: flex; gap: 14px; padding: 16px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid var(--card-line); }
.notif-icon { width: 40px; height: 40px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: rgba(0, 194, 255, .12); color: var(--cyan); }
.notif-title { font-weight: 600; font-size: 15px; }
.notif-msg { color: var(--text-muted); font-size: 14px; margin-top: 2px; line-height: 1.5; }
.am-chart { position: relative; }
.am-chart svg { width: 100%; height: auto; overflow: visible; }
.am-limit { position: absolute; top: 0; inset-inline-end: 0; transform: translateY(-120%); font-size: 11px; font-weight: 600; color: #F59E0B; }
.c-grid { stroke: rgba(255, 255, 255, .08); stroke-width: 1; }
.c-limit { stroke: #F59E0B; stroke-width: 1; stroke-dasharray: 4 4; opacity: .8; }
.c-seg { fill: none; stroke-width: 2.5; stroke-linecap: round; }
.c-seg-1 { stroke: var(--cyan); }
.c-seg-2 { stroke: #F59E0B; }
.c-pred circle { fill: #F59E0B; }
.c-breach-ring { fill: none; stroke: var(--danger); stroke-width: 1.5; }
.c-breach-dot { fill: var(--danger); }
.am-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; font-size: 12px; font-weight: 600; color: var(--text-muted); }
.am-timeline li { display: flex; flex-direction: column; gap: 8px; }
.tl-dot { height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .12); }
.am-timeline li.is-on { color: #fff; }
.am-timeline li.is-on .tl-dot { background: var(--cyan); }
.am-action { justify-self: start; }
/* play sequence (JS adds .is-play; without JS the final state is shown) */
.js .alert-mock:not(.is-play) .c-seg, .js .alert-mock:not(.is-play) .c-pred, .js .alert-mock:not(.is-play) .c-breach, .js .alert-mock:not(.is-play) .notif { opacity: 0; }
.alert-mock.is-play .c-seg { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .9s var(--ease) forwards; }
.alert-mock.is-play .c-seg-2 { animation-delay: .9s; }
.alert-mock.is-play .c-pred { opacity: 0; animation: fade-in .4s ease 1.8s forwards; }
.alert-mock.is-play .c-breach { opacity: 0; animation: fade-in .3s ease 2.3s forwards; }
.alert-mock.is-play .c-breach-ring { transform-origin: 296px 26px; animation: ring 2s var(--ease) 2.4s infinite; }
.alert-mock.is-play .notif { opacity: 0; animation: slide-up .5s var(--ease) 2.6s forwards; }
.alert-mock:not(.js) .am-timeline li, html:not(.js) .am-timeline li { color: #fff; }
@keyframes ring { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes slide-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (min-width: 1024px) { .ai-grid { grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: start; } }

/* ---------- Compliance + industries ---------- */
.compliance-grid { display: grid; gap: 48px; }
.compliance-copy .check-list { margin-bottom: 24px; }
.report { padding: 24px; display: grid; gap: 16px; align-self: start; font-size: 14px; color: var(--ink); }
.rp-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rp-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.rp-title .icon { color: var(--cyan-deep); }
.rp-id { color: var(--muted); font-size: 12px; }
.rp-rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.rp-rows dt { color: var(--muted); font-weight: 600; font-size: 13px; }
.rp-rows dd { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; text-align: end; font-weight: 600; }
.rp-dim { color: var(--muted); font-weight: 500; font-size: 12px; }
.rp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.rp-stats div { padding: 12px; border-radius: 10px; background: var(--bg-alt); }
.rp-stats dt { font-size: 11px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.rp-stats dd { font-size: 18px; }
.rp-chart { width: 100%; height: 60px; }
.rp-band { fill: rgba(0, 194, 255, .1); }
.rp-bar { fill: var(--cyan-deep); opacity: .85; }
.rp-foot .btn { width: 100%; }
.js .report [data-step] { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .report [data-step].is-in { opacity: 1; transform: none; }
.industries { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--rule); }
.industries .h3 { margin-bottom: 24px; max-width: 640px; }
@media (min-width: 1024px) { .compliance-grid { grid-template-columns: 1fr minmax(380px, 460px); gap: 96px; align-items: start; } }

/* ---------- Steps (how it works / pilot process) ---------- */
.steps { display: grid; gap: 32px; position: relative; }
.step { position: relative; padding-top: 24px; }
.step::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 100%; height: 2px; background: var(--rule); }
.step::after { content: ""; position: absolute; top: -3px; inset-inline-start: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-deep); }
.step-num { display: block; font-size: 13px; color: var(--cyan-deep); margin-bottom: 12px; }
.step p { color: var(--text-muted); margin-top: 8px; font-size: 16px; }
.steps-cta { margin-top: 48px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; } }

/* ---------- Drive ---------- */
.drive-head { display: grid; gap: 24px; margin-bottom: 48px; }
.drive-media { margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--card-line); position: relative; }
.drive-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.drive-caption { display: flex; gap: 10px; align-items: flex-start; padding: 16px 20px; font-size: 14px; color: var(--text-muted); border-top: 1px solid var(--card-line); background: rgba(255, 255, 255, .03); }
.drive-caption .icon { margin-top: 2px; color: var(--cyan); }
.drive-features { display: grid; gap: 24px; margin-top: 48px; }
.drive-features li { padding-top: 20px; border-top: 1px solid var(--rule); }
.drive-features .icon { color: var(--cyan); margin-bottom: 12px; }
.drive-features p { color: var(--text-muted); margin-top: 6px; font-size: 16px; }
.drive-foot { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--rule); }
.roadmap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.roadmap-label { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.roadmap-stage { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.roadmap-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--text-muted); }
.roadmap-stage.is-now .roadmap-dot { border-color: var(--cyan); background: var(--cyan); }
.roadmap-stage-name { font-weight: 600; }
.roadmap-stage-title { color: var(--text-muted); }
.roadmap-stage + .roadmap-stage::before { content: ""; width: 32px; height: 2px; background: var(--rule); margin-inline-end: 8px; }
@media (min-width: 720px) { .drive-features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .drive-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 64px; } .drive-head .section-head { margin-bottom: 0; } .drive-features { grid-template-columns: repeat(4, 1fr); gap: 32px; } }

/* ---------- Robotics teaser ---------- */
.teaser-grid { display: grid; gap: 24px; }
.teaser { overflow: hidden; }
.teaser:has(.teaser-link:hover) { box-shadow: var(--card-shadow); transform: translateY(-2px); }
.teaser-link { display: block; height: 100%; }
.teaser-img img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.teaser-body { padding: 20px 24px 24px; }
.teaser-body p { color: var(--text-muted); margin-top: 6px; font-size: 16px; }
.teaser-cta { margin-top: 32px; }
@media (min-width: 720px) { .teaser-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- CEO message ---------- */
.ceo-grid { display: grid; gap: 40px; }
.ceo-mark { position: relative; width: 96px; height: 96px; margin-top: 8px; }
.ceo-mark .brand-mark-lg { position: absolute; inset: 0; opacity: .9; }
.ceo-initials { position: absolute; left: 50%; top: 50%; transform: translate(-46%, -42%); font-weight: 700; font-size: 22px; letter-spacing: .06em; color: var(--navy-800); font-family: var(--font-latin); }
.ceo-quote { max-width: 18ch; }
.ceo-p { max-width: 64ch; margin-top: 24px; color: var(--text-2); }
.ceo-p:first-of-type { margin-top: 32px; font-size: 19px; }
.ceo-sign { margin-top: 40px; display: grid; gap: 4px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 64ch; }
.ceo-name { font-weight: 700; font-size: 18px; }
.ceo-role { color: var(--text-muted); font-size: 15px; }
@media (min-width: 1024px) { .ceo-grid { grid-template-columns: 280px 1fr; gap: 96px; } .ceo-aside { position: sticky; top: calc(var(--header-h) + 48px); } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 48px; }
.contact-details { display: grid; gap: 20px; margin: 8px 0 48px; }
.contact-details li { display: flex; gap: 14px; align-items: flex-start; }
.contact-details .icon { color: var(--cyan-deep); margin-top: 2px; }
.contact-details div { display: grid; gap: 2px; }
.cd-label { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.contact-details a { font-weight: 600; text-decoration: underline; text-decoration-color: rgba(11, 27, 63, .2); text-underline-offset: 3px; }
.contact-details a:hover { text-decoration-color: currentColor; }
.contact-form { padding: 32px; display: grid; gap: 24px; align-self: start; }
.field-grid { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.req { color: var(--cyan-deep); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan-deep); box-shadow: 0 0 0 3px rgba(0, 194, 255, .25); outline: none; }
.field.is-invalid input, .field.is-invalid select { border-color: var(--danger); }
.field-error { font-size: 13px; color: var(--danger); min-height: 0; }
.field-error:empty { display: none; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-inline-end: 40px; }
.select-wrap .icon { position: absolute; top: 50%; inset-inline-end: 14px; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.select-wrap select.is-placeholder { color: var(--placeholder); }
.field-hp { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.field-check { grid-template-columns: auto 1fr; align-items: start; column-gap: 12px; }
.field-check input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; padding: 0; accent-color: var(--navy-800); }
.field-check label { font-weight: 500; font-size: 15px; }
.field-check .field-error { grid-column: 2; }
.form-foot { display: grid; gap: 16px; }
.form-status { font-size: 15px; }
.form-status:empty { display: none; }
.form-status.is-ok { color: #0F7A3A; font-weight: 600; }
.form-status.is-err { color: var(--danger); }
.form-status a { text-decoration: underline; font-weight: 600; }
@media (min-width: 640px) { .field-grid { grid-template-columns: 1fr 1fr; } .field-full, .field-check { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 96px; align-items: start; } }

/* ---------- FAQ (native details) ---------- */
.faq { display: grid; }
.faq .h4 { margin-bottom: 8px; }
.faq-item { border-top: 1px solid var(--rule); }
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; font-weight: 600; font-size: 16px; color: var(--text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--muted); transition: transform .25s var(--ease); }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-a { padding: 0 0 20px; color: var(--text-muted); font-size: 16px; max-width: 64ch; }
.faq-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 96px; align-items: start; } .faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 48px); margin-bottom: 0; } }

/* ---------- Generic grids (robotics page) ---------- */
.grid-3, .grid-4 { display: grid; gap: 24px; }
.point-grid li, .platform-grid li, .principle-grid li { display: grid; gap: 12px; align-content: start; }
.point-grid .icon, .platform-grid .icon, .principle-grid .icon { color: var(--cyan-deep); }
.theme-dark .platform-grid .icon { color: var(--cyan); }
.point-grid p, .platform-grid p, .principle-grid p { color: var(--text-muted); font-size: 16px; }
.point-grid li { padding-top: 20px; border-top: 1px solid var(--rule); }
.platform-grid li, .principle-grid li { padding: 24px; }
.principle-grid { counter-reset: p; }
.principle-num { font-size: 13px; color: var(--muted); }
.principle-grid + .disclaimer { margin-top: 24px; }
@media (min-width: 720px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Robotics tracks ---------- */
.track { display: grid; gap: 32px; padding: 48px 0; border-top: 1px solid var(--rule); scroll-margin-top: calc(var(--header-h) + 16px); }
.track:last-of-type { padding-bottom: 0; }
.track-img { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.track-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.track-tagline { font-size: 20px; font-weight: 600; color: var(--cyan-deep); margin-top: 8px; }
.track-overview { margin-top: 16px; color: var(--text-2); }
.track-label { font-size: 13px; font-weight: 600; color: var(--muted); margin: 32px 0 12px; }
.track-cases { display: grid; gap: 10px; }
.track-cases li { display: grid; gap: 2px; padding: 12px 16px; border-radius: 10px; background: var(--bg-alt); font-size: 15px; }
.track-cases b { font-weight: 600; }
.track-cases span { color: var(--text-muted); }
.track-cols { display: grid; gap: 8px 32px; }
.track-body > .btn { margin-top: 32px; }
.track { grid-template-columns: minmax(0, 1fr); }
.track-body > .btn { white-space: normal; text-align: start; height: auto; min-height: 48px; padding-block: 12px; }
@media (min-width: 720px) { .track-cases { grid-template-columns: 1fr 1fr; } .track-cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .track { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; padding: 64px 0; align-items: start; }
  .track-media { position: sticky; top: calc(var(--header-h) + 32px); }
  .track-flip .track-media { order: 2; }
  .track-cases { grid-template-columns: 1fr; }
  .track-cols { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1200px) { .track-cases { grid-template-columns: 1fr 1fr; } }
.safety-grid { display: grid; gap: 32px; }
.safety-list .icon { color: var(--cyan-deep); }
.safety-list + .disclaimer { margin-top: 32px; }
@media (min-width: 1024px) { .safety-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 96px; align-items: start; } .safety-grid .section-head { position: sticky; top: calc(var(--header-h) + 48px); margin-bottom: 0; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #fff; padding: 64px 0 32px; }
.footer-top { display: grid; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand { max-width: 360px; display: grid; gap: 12px; justify-items: start; }
.footer-brand .brand { color: #fff; }
.footer-tagline { font-weight: 600; margin-top: 8px; }
.footer-about { color: #A9B4D0; font-size: 15px; }
.footer-contact { display: grid; gap: 8px; margin: 8px 0; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.footer-contact a:hover { color: var(--cyan); }
.footer-meta { color: #7F8BAA; font-size: 13px; }
.footer-cols { display: grid; gap: 32px; grid-template-columns: repeat(2, 1fr); }
.footer-title { font-size: 14px; font-weight: 600; margin-bottom: 14px; color: #fff; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a, .footer-soon { font-size: 15px; color: #A9B4D0; }
.footer-col a:hover { color: #fff; }
.footer-soon { opacity: .6; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; padding-top: 24px; font-size: 13px; color: #7F8BAA; }
.footer-bottom .lang-link { margin-inline-start: auto; color: #fff; }
.footer-bottom .lang-link:hover { background: rgba(255, 255, 255, .1); }
@media (min-width: 720px) { .footer-cols { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .footer-top { grid-template-columns: 1fr 2fr; gap: 96px; } .footer-cols { grid-template-columns: repeat(5, 1fr); gap: 24px; } }

/* ---------- Reveal motion (section heads only) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Arabic / RTL ---------- */
[dir="rtl"] { --font: var(--font-arabic); --font-num: var(--font-arabic); }
[dir="rtl"] body { line-height: 1.8; }
[dir="rtl"] .display { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.25; letter-spacing: 0; }
[dir="rtl"] .h2 { font-size: clamp(30px, 3.1vw, 40px); line-height: 1.3; letter-spacing: 0; }
[dir="rtl"] .h3, [dir="rtl"] .h4 { letter-spacing: 0; line-height: 1.45; }
[dir="rtl"] .lead { line-height: 1.7; }
[dir="rtl"] .num { letter-spacing: 0; font-weight: 600; }
[dir="rtl"] [lang="en"] { font-family: var(--font-latin); }
[dir="rtl"] .brand-word, [dir="rtl"] .ceo-initials { font-family: var(--font-latin); }
[dir="rtl"] .icon-arrow { transform: scaleX(-1); }
[dir="rtl"] .btn-text:hover .icon-arrow { transform: scaleX(-1) translateX(4px); }
/* Main hero: mirror the photo in RTL so the truck sits opposite the Arabic text
   (unbranded truck, no text in frame — safe to flip). Sub-page heroes keep their own transform. */
[dir="rtl"] .hero-media img { object-position: 100% 50%; transform: scaleX(-1); }
[dir="rtl"] .hero-sub .hero-media img { object-position: 50% 0%; transform: scale(1.3); }
[dir="rtl"] .hero-scrim { background:
  linear-gradient(270deg, rgba(7, 15, 38, .9) 0%, rgba(7, 15, 38, .78) 36%, rgba(7, 15, 38, .36) 62%, rgba(7, 15, 38, .08) 100%),
  linear-gradient(180deg, rgba(7, 15, 38, .55) 0%, rgba(7, 15, 38, 0) 30%, rgba(7, 15, 38, 0) 60%, rgba(7, 15, 38, .75) 100%); }
[dir="rtl"] .hero-sub .hero-media img { transform-origin: 100% 8%; }
[dir="rtl"] .hero-scrim-sub { background:
  linear-gradient(270deg, rgba(7, 15, 38, .9) 0%, rgba(7, 15, 38, .78) 40%, rgba(7, 15, 38, .35) 70%, rgba(7, 15, 38, .2) 100%),
  linear-gradient(180deg, rgba(7, 15, 38, .5) 0%, rgba(7, 15, 38, 0) 40%, rgba(7, 15, 38, .6) 100%); }
[dir="rtl"] .ceo-quote { max-width: 22ch; }
[dir="rtl"] .field input[dir="ltr"] { text-align: left; }
[dir="rtl"] .status-badge { padding: 0 10px 0 12px; }
@media (min-width: 1024px) { [dir="rtl"] .hero:not(.hero-sub) .hero-media img { object-position: 100% 50%; } }

/* ---------- Robotics-first homepage (hero panel, 100% Saudi, humanoid spotlight) ---------- */
:root { --ksa: #006C35; --ksa-light: #2BD47D; }
.ksa-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ksa); flex: none; box-shadow: 0 0 0 3px rgba(0, 108, 53, .18); }
.theme-dark .ksa-dot, .hero .ksa-dot { background: var(--ksa-light); box-shadow: 0 0 0 3px rgba(43, 212, 125, .22); }
.saudi-eyebrow { color: #fff; }
.robot-panel .rb-stats { padding: 16px 20px; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.robot-panel .rb-stats dd { font-size: 22px; line-height: 1.1; }
.rb-units { display: grid; }
.rb-units li { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 4px 12px; padding: 12px 20px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.rb-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(0, 194, 255, .12); color: var(--cyan); grid-row: span 2; }
.rb-icon .icon { width: 20px; height: 20px; }
.rb-meta { display: grid; gap: 2px; min-width: 0; }
.rb-meta b { font-size: 14px; font-weight: 600; text-align: start; }
.rb-meta span { font-size: 12px; color: #A9B4D0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rb-units .state { font-size: 12px; }
.rb-bar { grid-column: 2 / -1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.rb-bar span { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--cyan), var(--violet-light)); border-radius: 2px; animation: rbFill 1.6s var(--ease) both; }
[dir="rtl"] .rb-bar span { background: linear-gradient(270deg, var(--cyan), var(--violet-light)); margin-inline-start: 0; }
@keyframes rbFill { from { width: 0; } }
.robot-panel .lp-foot { justify-content: space-between; }
.robot-panel .lp-route .icon, .rb-support .icon { color: var(--cyan); }
.rb-support { display: inline-flex; align-items: center; gap: 6px; color: #A9B4D0; white-space: nowrap; }

.saudi-grid { display: grid; gap: 48px; }
.saudi-media { position: relative; }
.saudi-img { display: block; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.saudi-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.saudi-stat { position: absolute; inset-inline-start: 20px; bottom: -28px; display: grid; gap: 2px; padding: 18px 22px; border-radius: var(--r); background: var(--navy-800); color: #fff; box-shadow: 0 24px 48px -20px rgba(7, 15, 38, .55); border-top: 3px solid var(--ksa-light); }
.saudi-stat-num { font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -.02em; color: #fff; }
.saudi-stat-label { font-size: 13px; font-weight: 600; color: #A9B4D0; }
.saudi .eyebrow { color: var(--ksa); }
.saudi-points { display: grid; gap: 24px; margin-bottom: 28px; }
.saudi-points li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; padding-top: 20px; border-top: 1px solid var(--rule); }
.saudi-points .icon { color: var(--ksa); margin-top: 2px; }
.saudi-points p { color: var(--text-muted); font-size: 15px; margin-top: 4px; }
@media (min-width: 720px) { .saudi-points { grid-template-columns: 1fr 1fr; gap: 28px 32px; } }
@media (min-width: 1024px) {
  .saudi-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 80px; align-items: center; }
  .saudi-img img { aspect-ratio: 4 / 5; }
}

.teaser-grid-4 { gap: 20px; }
@media (min-width: 720px) { .teaser-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .teaser-grid-4 { grid-template-columns: repeat(4, 1fr); } }

.spot-grid { display: grid; gap: 48px; }
.spot-points { display: grid; gap: 20px; margin: 8px 0 32px; }
.spot-points li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; }
.spot-points .icon { color: var(--cyan); margin-top: 2px; }
.spot-points p { color: var(--text-muted); font-size: 15px; margin-top: 4px; }
.spot-media { position: relative; }
@media (min-width: 720px) { .spot-media { padding-bottom: 64px; padding-inline-end: 72px; } }
.spot-img { display: block; border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); }
.spot-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.spot-media .robot-panel { position: relative; margin: -48px 12px 0; max-width: none; width: auto; }
.robot-panel .lp-head, .robot-panel .lp-foot { font-size: 12px; }
@media (min-width: 720px) { .spot-media .robot-panel { position: absolute; inset-inline-end: -24px; bottom: 0; margin: 0; width: 360px; } }
@media (min-width: 720px) { .spot-points { grid-template-columns: 1fr 1fr; gap: 24px 32px; } }
@media (min-width: 1024px) { .spot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; } .spot-img img { aspect-ratio: 4 / 5; } .spot-media .robot-panel { inset-inline-end: 0; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .js [data-reveal], .js .report [data-step] { opacity: 1; transform: none; }
  .js .lpc-line { stroke-dashoffset: 0; }
  .js .lpc-dot, .js .alert-mock .c-seg, .js .alert-mock .c-pred, .js .alert-mock .c-breach, .js .alert-mock .notif { opacity: 1; }
  .live-dot::after { display: none; }
  .rb-bar span { animation: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-menu, .skip-link, .btn, .lang-link { display: none !important; }
  .js [data-reveal], .js .report [data-step], .js .alert-mock .c-seg, .js .alert-mock .c-pred, .js .alert-mock .c-breach, .js .alert-mock .notif, .js .lpc-dot { opacity: 1 !important; transform: none !important; }
  .section, .hero { background: #fff !important; color: #000 !important; min-height: 0; padding: 32px 0; }
  .hero-media, .hero-scrim { display: none; }
  .faq-item { open: true; }
  .faq-a { display: block; }
}

/* ---------- AQORIX Lab (homepage) ---------- */
.lab-announce { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; padding: 8px 14px; border-radius: 999px; background: rgba(0, 194, 255, .14); border: 1px solid rgba(0, 194, 255, .45); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; transition: background .2s; }
.lab-announce:hover { background: rgba(0, 194, 255, .26); }
.lab-announce-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(0, 194, 255, .25); flex: none; }
.lab-announce .icon-arrow { width: 16px; height: 16px; }
[dir="rtl"] .lab-announce .icon-arrow { transform: scaleX(-1); }
.lab-home-points { list-style: none; padding: 0; margin: 24px 0 8px; display: grid; gap: 18px; }
.lab-home-points li { display: flex; gap: 14px; align-items: flex-start; }
.lab-home-points h3 { margin: 0 0 4px; }
.lab-home-points p { margin: 0; color: var(--text-muted); }
.lab-home-num { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #0B1B3F; color: var(--cyan); font-size: 13px; font-weight: 700; }
.lab-home .hero-note { color: var(--text-muted); margin-top: 14px; }
.lab-home .disclaimer { font-size: 12px; }

/* ---------- privacy policy ---------- */
.privacy { padding-top: calc(var(--header-h) + 56px); }
.privacy-inner { max-width: 820px; }
.privacy-updated { color: var(--text-muted); font-size: 14px; margin: 8px 0 20px; }
.privacy-intro { margin-bottom: 36px; }
.privacy-sec { padding: 24px 0; border-top: 1px solid var(--rule); }
.privacy-sec h2 { margin: 0 0 12px; }
.privacy-sec p { margin: 0 0 10px; color: var(--text); line-height: 1.75; }

/* ---------- AI platform (Vision AI) ---------- */
.sol-grid { gap: 20px; }
@media (min-width: 720px) { .sol-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .sol-grid { grid-template-columns: repeat(4, 1fr); } }
.sol-card-title { display: flex; align-items: center; gap: 8px; }
.sol-card-title .icon { color: var(--cyan-deep); flex: none; }
.sol-grid .teaser-body p { font-size: 15px; }
.sol-jump { margin: -8px 0 16px; }
.sol-jump a.chip { text-decoration: none; }
.sol-jump a.chip:hover { border-color: var(--cyan-deep); color: var(--cyan-deep); }
.sol-track .track-img img { aspect-ratio: 3 / 2; }
@media (min-width: 720px) { .sol-track .track-cols { grid-template-columns: 1fr 1fr; } }
.sol-trust { gap: 20px; }
@media (min-width: 720px) { .sol-trust { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .sol-trust { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Computer vision page ---------- */
.cv-caps { gap: 32px; }
@media (min-width: 720px) { .cv-caps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cv-caps { grid-template-columns: repeat(3, 1fr); } }
.cv-also { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--rule); }
.cv-also .track-label { margin-top: 0; }
.cv-trust-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .cv-trust-grid { grid-template-columns: 1fr 1fr; } }
.cv-card { padding: 32px; }
.cv-card .check-list { margin-top: 16px; }
.cv-card p { margin-top: 12px; color: var(--text-2); }
.cv-card .btn { margin-top: 24px; }
.cv-note { grid-column: 1 / -1; }

/* ---------- Partners page ---------- */
.pt-tracks { display: grid; gap: 24px; }
@media (min-width: 900px) { .pt-tracks { grid-template-columns: 1fr 1fr; } }
.pt-card { padding: 32px; display: flex; flex-direction: column; scroll-margin-top: calc(var(--header-h) + 16px); }
.pt-card .h3 { margin-top: 4px; }
.pt-for { margin: 12px 0 20px; color: var(--text-2); }
.pt-card .btn { margin-top: auto; align-self: flex-start; }
.pt-card .check-list { margin-bottom: 28px; }
.pt-featured { border: 2px solid #6C4BFF; }

/* ---------- careers / project request forms ---------- */
.careers-intro { display: grid; gap: 16px; margin: 4px 0 32px; }
.careers-intro p { color: var(--text-muted); font-size: 17px; line-height: 1.7; }
.careers-note { margin-top: 32px; max-width: 72ch; }
.field-hint { font-size: 13px; color: var(--text-muted); }
.field-file input[type="file"] { min-height: 0; padding: 10px; background: var(--white); cursor: pointer; font-size: 15px; }
.field-file input[type="file"]::file-selector-button { margin-inline-end: 12px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--paper, #F3F6FA); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.field.is-invalid textarea, .field.is-invalid input[type="file"] { border-color: var(--danger); }
.aq-form .form-foot .btn { justify-self: start; }
.nav-menu .menu-cta { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.nav-menu .menu-cta a { color: var(--cyan-deep); }
.mm-group .menu-cta a { color: var(--cyan-deep); }
