/*
  oxyflows.com — the stylesheet (authored here, copied to apps/site/site.css by
  scripts/site/build.mjs, which also inserts the @font-face rules).

  The 2026 brand: Oxy Orange accents on warm white, Flow Black type and dark
  sections, Montserrat (Latin) and Almarai (Arabic), the X and the flow lines
  as the only decoration. Layout uses logical properties so the Arabic page is
  this stylesheet mirrored, not a second one.
*/
@font-face{font-family:'Montserrat';font-style:normal;font-display:swap;font-weight:100 900;src:url(/fonts/montserrat-latin-wght-normal.woff2) format('woff2-variations');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Montserrat';font-style:normal;font-display:swap;font-weight:100 900;src:url(/fonts/montserrat-latin-ext-wght-normal.woff2) format('woff2-variations');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Michroma';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/michroma-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Almarai';font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/almarai-arabic-400-normal.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:'Almarai';font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/almarai-arabic-700-normal.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:'Almarai';font-style:normal;font-display:swap;font-weight:800;src:url(/fonts/almarai-arabic-800-normal.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}

:root {
  --brand-50: #fff4ed;
  --brand-100: #ffe7d8;
  --brand-200: #fdcaad;
  --brand-300: #f9a677;
  --brand-500: #f26222;
  --brand-600: #de5418;
  --brand-700: #b8430f;
  --brand-ink: #c0460f;
  --ink: #141414;
  --ink-2: #4b4743;
  --ink-3: #75706a;
  --line: #ebe6df;
  --line-2: #f3efe9;
  --surface: #ffffff;
  --surface-2: #faf8f5;
  --canvas: #f5f3ef;
  --dark: #0a0a0a;
  --dark-2: #161616;
  --dark-line: rgba(255, 255, 255, 0.1);
  --on-dark: #f5f3ef;
  --on-dark-2: #bdb7af;
  --ok: #1d7a4c;
  --ok-bg: #e9f6ef;
  --info: #2c5ea8;
  --info-bg: #ecf2fb;
  --warn: #8f5a07;
  --warn-bg: #fdf4e3;
  --danger: #b42318;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(24, 18, 12, 0.05);
  --shadow-md: 0 12px 32px rgba(24, 18, 12, 0.08), 0 1px 3px rgba(24, 18, 12, 0.05);
  --shadow-lg: 0 32px 80px rgba(24, 18, 12, 0.18), 0 2px 6px rgba(24, 18, 12, 0.06);
  --font-en: 'Montserrat', 'Almarai', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-ar: 'Almarai', 'Montserrat', system-ui, 'Segoe UI', sans-serif;
  --dir: 1;
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
html[dir='rtl'] { --dir: -1; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-en);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang='ar'] body { font-family: var(--font-ar); line-height: 1.85; }
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-ink); text-decoration: none; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
html[lang='ar'] :is(h1, h2, h3, h4, .eyebrow, .mq-item, .f-motto) { letter-spacing: 0; }
html[lang='ar'] :is(h1, h2, h3, h4) { line-height: 1.35; font-weight: 800; }
.num, .code-digits, .device-url { font-family: var(--font-en); font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--brand-300); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand-100); color: var(--ink); }

.wrap { max-width: 1200px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }
section { position: relative; padding-block: clamp(72px, 9vw, 128px); }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head .lead { margin-top: 18px; }

.display { font-size: clamp(2.5rem, 6.4vw, 5.3rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; }
.display-2 { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.08; letter-spacing: -0.03em; }
html[lang='ar'] .display { line-height: 1.22; letter-spacing: 0; }
html[lang='ar'] .display-2 { line-height: 1.3; letter-spacing: 0; }
.display em, .display-2 em, .story-title em { font-style: normal; color: var(--brand-500); }
.h2-plain { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 28px; }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.25rem); color: var(--ink-2); max-width: 44em; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brand-ink);
}
.eyebrow::before { content: ''; width: 28px; height: 2px; border-radius: 2px; background: var(--brand-500); }
html[lang='ar'] .eyebrow { font-size: 14px; font-weight: 700; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 12px;
  font: inherit;
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.25s, box-shadow 0.35s var(--ease), border-color 0.25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brand-500); color: #fff; box-shadow: 0 8px 22px rgba(242, 98, 34, 0.28); }
.btn-primary:hover { background: var(--brand-600); box-shadow: 0 14px 30px rgba(242, 98, 34, 0.34); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #d9d2c8; box-shadow: var(--shadow-md); }
.btn-light { background: rgba(255, 255, 255, 0.08); color: var(--on-dark); border-color: var(--dark-line); }
.btn-light:hover { background: rgba(255, 255, 255, 0.14); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; border-radius: 10px; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 16.5px; border-radius: 14px; }
.ic { width: 24px; height: 24px; flex: none; }
.ic-sm { width: 18px; height: 18px; }
.ic-end { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
html[dir='rtl'] .ic-end { transform: scaleX(-1); }
.btn:hover .ic-end { transform: translateX(calc(var(--dir) * 4px)); }
html[dir='rtl'] .btn:hover .ic-end { transform: scaleX(-1) translateX(4px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(245, 243, 239, 0.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.3s, background 0.3s; }
.nav.is-scrolled { border-color: var(--line); background: rgba(245, 243, 239, 0.92); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--nav-h); transition: height 0.3s var(--ease); }
.nav.is-scrolled .nav-in { height: 64px; }
.brand { color: var(--ink); }
.logo { width: 164px; height: auto; color: inherit; }
.logo .x { fill: var(--brand-500); }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 12px; border-radius: 999px; color: var(--ink-2); font-size: 14.5px; font-weight: 500; transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.7); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-link { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; color: var(--ink-2); font-size: 14px; font-weight: 600; transition: background 0.2s, color 0.2s; }
.lang-link:hover { color: var(--ink); background: rgba(255, 255, 255, 0.7); }
html[lang='ar'] .lang-link[lang='en'] { font-family: var(--font-en); }
html[lang='en'] .lang-link[lang='ar'] { font-family: var(--font-ar); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.burger .ic-close { display: none; }
.burger[aria-expanded='true'] .ic-open { display: none; }
.burger[aria-expanded='true'] .ic-close { display: block; }
.menu { border-top: 1px solid var(--line); background: var(--canvas); padding: 20px clamp(20px, 4vw, 40px) 28px; }
.menu-links { display: grid; gap: 4px; margin-bottom: 18px; }
.menu-links a { padding: 12px 8px; font-size: 20px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.menu-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* Hero */
.hero { padding-block: clamp(32px, 6vw, 72px) clamp(56px, 8vw, 96px); overflow: hidden; }
.hero-x { position: absolute; width: min(60vw, 760px); top: -16%; inset-inline-end: -14%; fill: var(--brand-500); opacity: 0.06; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: clamp(32px, 5vw, 72px); align-items: center; min-height: min(78vh, 760px); }
.hero-copy .display { margin-bottom: 22px; }
.rotline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; margin: 0 0 22px; font-size: clamp(1.15rem, 1.9vw, 1.6rem); font-weight: 600; color: var(--ink-2); min-height: 1.5em; }
.rot { position: relative; display: inline-block; vertical-align: baseline; color: var(--brand-ink); white-space: nowrap; }
.rot-ph { display: inline-block; width: 0; }
.rot-word { position: absolute; top: 0; inset-inline-start: 0; white-space: nowrap; opacity: 0; }
.rot-word.is-on { position: relative; opacity: 1; }
.hero .lead { margin-bottom: 34px; }

/* width: 100% and justify-self, not an auto margin: an auto margin makes a grid
   item fit its content, and a box of absolutely positioned children has none. */
.stage { position: relative; aspect-ratio: 1 / 0.92; width: 100%; max-width: 640px; justify-self: end; }
.stage-flow { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.stage-flow path { stroke: var(--brand-500); stroke-width: 2; stroke-linecap: round; }
.ui { position: absolute; will-change: transform; }
.ui-main { margin: 0; inset-inline-end: 0; bottom: 6%; width: 84%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: var(--surface); }
.ui-main img { width: 100%; height: auto; }
.ui-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-md); padding: 12px 14px; font-size: 13px; line-height: 1.45; }
.ui-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.ui-title { font-weight: 700; font-size: 13.5px; }
.ui-count { font-size: 12px; color: var(--brand-ink); font-weight: 600; }
.ui-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.ui-dot.info { background: var(--info); box-shadow: 0 0 0 4px var(--info-bg); }
.ui-rows li { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 8px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line-2); }
.ui-rows li:first-child { border-top: 0; }
.ui-rows .num { grid-column: 1; grid-row: 1; color: var(--ink-3); font-size: 12px; }
.ui-name { grid-column: 2; grid-row: 1; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ui-reason { grid-column: 2; grid-row: 2; color: var(--ink-3); font-size: 12px; margin-top: -3px; }
.badge { grid-column: 3; grid-row: 1 / span 2; align-self: center; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.info { background: var(--info-bg); color: var(--info); }
.badge.muted { background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.ui-schedule { top: 12%; inset-inline-start: 0; width: 60%; }
.ui-tooth { bottom: 9%; inset-inline-start: -4%; width: 52%; }
.toothrow { width: 100%; height: auto; margin: 2px 0 6px; }
.toothrow .t-out { fill: var(--surface); stroke: #cfc9c0; stroke-width: 1.2; }
.toothrow .t-in { fill: none; stroke: #cfc9c0; stroke-width: 1; }
.toothrow .t-d { stroke: #e2ddd5; stroke-width: 1; }
.toothrow text { font-family: var(--font-en); font-size: 7.5px; fill: var(--ink-3); }
.toothrow .t-rc .t-out { fill: var(--info-bg); stroke: var(--info); stroke-width: 1.6; }
.toothrow .t-rc .t-in { fill: var(--info); stroke: var(--info); }
.toothrow .t-rc text { fill: var(--info); font-weight: 700; }
.ui-note { color: var(--ink-3); font-size: 12px; }
.ui-pay { top: 46%; inset-inline-end: -4%; width: 46%; display: flex; gap: 12px; align-items: flex-start; }
.ui-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.ui-icon.ok { background: var(--ok-bg); color: var(--ok); }
.ui-icon .ic { width: 20px; height: 20px; }
.ui-amount { font-size: 20px; font-weight: 700; margin: 2px 0; }
.ui-pill { bottom: -3%; inset-inline-end: 8%; display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 600; box-shadow: var(--shadow-md); }
.ui-pill .ic { color: var(--brand-300); }
.ui-stat { top: 0; inset-inline-end: 2%; width: 40%; padding: 14px 16px; }
.ui-label { display: block; font-size: 11.5px; color: var(--ink-3); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
html[lang='ar'] .ui-label { letter-spacing: 0; text-transform: none; }
.ui-big { display: block; font-size: 24px; font-weight: 700; margin: 4px 0 6px; }
.spark { width: 100%; height: 34px; }
.spark-fill { fill: var(--brand-100); }
.spark-line { stroke: var(--brand-500); stroke-width: 2; stroke-linecap: round; }

/* Marquee */
.marquee { overflow: hidden; background: var(--surface); border-block: 1px solid var(--line); padding: 16px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.mq-track { display: flex; align-items: center; width: max-content; gap: 28px; animation: mq 56s linear infinite; }
html[dir='rtl'] .mq-track { animation-name: mq-rtl; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-item { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
html[lang='ar'] .mq-item { text-transform: none; font-size: 15px; }
.mq-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-500); flex: none; }
@keyframes mq { to { transform: translateX(-50%); } }
@keyframes mq-rtl { to { transform: translateX(50%); } }

/* Story (pinned) */
.story { padding: 0; background: var(--surface); }
.story-pin { min-height: 100vh; display: flex; align-items: center; padding-block: 64px; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; width: 100%; }
.story-title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 36px; }
.beats { position: relative; min-height: 300px; }
.beat { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.beat.is-on { opacity: 1; pointer-events: auto; }
.beat-n { display: inline-block; font-size: 13px; font-weight: 700; color: var(--brand-ink); margin-bottom: 14px; letter-spacing: 0.1em; }
.beat h3 { font-size: clamp(1.35rem, 2.1vw, 1.8rem); margin-bottom: 14px; }
.beat p { color: var(--ink-2); font-size: 1.1rem; max-width: 36em; }
.story-dots { display: flex; gap: 8px; margin-top: 12px; }
.story-dots i { width: 28px; height: 4px; border-radius: 2px; background: var(--line); transition: background 0.3s, width 0.3s; }
.story-dots i.is-on { background: var(--brand-500); width: 44px; }
.story-stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: end; }
.prop { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-md); padding: 12px 14px; font-size: 13px; width: 46%; display: flex; flex-direction: column; gap: 3px; }
.prop-k { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
html[lang='ar'] .prop-k { letter-spacing: 0; text-transform: none; }
.prop-v { font-weight: 600; color: var(--ink); }
.prop-notebook { top: 6%; inset-inline-start: 4%; transform: rotate(-6deg); background: #fffdf5; }
.prop-chat { top: 10%; inset-inline-end: 0; transform: rotate(5deg); background: #eefbf1; }
.prop-sheet { bottom: 22%; inset-inline-start: 0; transform: rotate(4deg); background: #f1f7ff; }
.prop-phone { bottom: 8%; inset-inline-end: 6%; transform: rotate(-5deg); }
.prop-foreign { top: 30%; inset-inline-start: 18%; width: 64%; opacity: 0; background: #ececec; border-color: #ddd; color: #666; }
.prop-foreign .prop-v { color: #555; }
.prop-bars { display: grid; gap: 6px; margin-top: 8px; }
.prop-bars i { display: block; height: 8px; border-radius: 4px; background: #d8d8d8; }
.prop-bars i:nth-child(2) { width: 70%; }
.prop-bars i:nth-child(3) { width: 45%; }
.prop-result { inset: 10% 6%; width: auto; opacity: 0; padding: 18px 20px; gap: 14px; overflow: hidden; }
.pr-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pr-logo { width: 110px; height: auto; color: var(--ink); }
.pr-logo .x { fill: var(--brand-500); }
.pr-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pr-tiles i { display: block; height: 58px; border-radius: 10px; background: var(--canvas); border: 1px solid var(--line); position: relative; }
.pr-tiles i::after { content: ''; position: absolute; inset-inline-start: 10px; top: 10px; width: 22px; height: 22px; border-radius: 7px; background: var(--brand-100); }
.pr-rows { display: grid; gap: 8px; }
.pr-rows i { display: block; height: 12px; border-radius: 6px; background: var(--line-2); }
.pr-rows i:nth-child(2) { width: 80%; }
.pr-rows i:nth-child(3) { width: 60%; }
.pr-line { position: absolute; inset-inline-end: -10%; bottom: -10%; width: 60%; height: 70%; fill: var(--brand-500); opacity: 0.9; }
html[dir='rtl'] .pr-line { transform: scaleX(-1); }

/* Connect */
.connect { background: var(--canvas); }
.flowmap { position: relative; aspect-ratio: 5 / 3; max-width: 1040px; margin: 0 auto; }
.flowmap-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flowmap-lines path { fill: none; stroke: var(--brand-500); stroke-width: 2.2; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: 0.9; }
.node { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; min-width: 190px; max-width: 240px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-md); }
.node-ic { grid-row: 1 / span 2; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-ink); }
.node-ic .ic { width: 20px; height: 20px; }
.node-t { font-weight: 700; font-size: 14px; line-height: 1.3; }
.node-s { font-size: 12px; color: var(--ink-3); line-height: 1.3; }
.node-center { background: var(--ink); color: #fff; border-color: var(--ink); min-width: 220px; z-index: 2; box-shadow: var(--shadow-lg); }
.node-center .node-ic { background: var(--brand-500); color: #fff; }
.node-center .node-s { color: var(--on-dark-2); }

/* Tour */
.tour { background: var(--surface); }
.tour .sec-head { margin-bottom: 20px; }
.tour-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.tour-sticky { position: sticky; top: calc(var(--nav-h) + 24px); }
.device { background: #111; border-radius: 20px; padding: 10px; box-shadow: var(--shadow-lg); }
.device-bar { display: flex; align-items: center; gap: 7px; padding: 4px 6px 12px; }
.device-bar span { width: 10px; height: 10px; border-radius: 50%; background: #3a3a3a; }
.device-bar span:nth-child(1) { background: #ff5f57; }
.device-bar span:nth-child(2) { background: #febc2e; }
.device-bar span:nth-child(3) { background: #28c840; }
.device-url { margin-inline-start: auto; margin-inline-end: auto; font-size: 12px; color: #9a9a9a; background: #1f1f1f; padding: 4px 14px; border-radius: 999px; direction: ltr; }
.device-screen { position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--canvas); }
.tour-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.03); transition: opacity 0.7s var(--ease), transform 1s var(--ease); }
.tour-img.is-active { opacity: 1; transform: none; }
.tour-steps { position: relative; padding-inline-start: 34px; padding-block: 8vh; }
.tour-rail { position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 2px; background: var(--line); }
.tour-rail i { display: block; width: 100%; height: 100%; background: var(--brand-500); transform-origin: top; transform: scaleY(0); }
.tour-step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; gap: 12px; opacity: 0.32; transition: opacity 0.4s; }
.tour-step.is-active { opacity: 1; }
.tour-step::before { content: ''; position: absolute; inset-inline-start: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--line); border: 2px solid var(--surface); margin-top: 0.2em; transition: background 0.3s; }
.tour-step.is-active::before { background: var(--brand-500); }
.step-k { font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; color: var(--brand-ink); }
html[lang='ar'] .step-k { letter-spacing: 0; font-size: 14px; }
.tour-step h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.tour-step p { color: var(--ink-2); font-size: 1.05rem; max-width: 34em; }
.tour-inline { display: none; }

/* More */
.more { background: var(--surface); padding-top: 0; }
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mini { background: var(--canvas); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.mini:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mini-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--surface); border: 1px solid var(--line); color: var(--brand-ink); margin-bottom: 14px; }
.mini-ic .ic { width: 20px; height: 20px; }
.mini h3 { font-size: 15.5px; margin-bottom: 6px; }
.mini p { font-size: 14px; color: var(--ink-2); }

/* Who */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; perspective: 1400px; }
.who-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 26px; transform-style: preserve-3d; will-change: transform; box-shadow: var(--shadow-sm); transition: box-shadow 0.4s var(--ease); }
.who-card:hover { box-shadow: var(--shadow-lg); }
.who-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--brand-50); color: var(--brand-ink); margin-bottom: 22px; transform: translateZ(30px); }
.who-ic .ic { width: 26px; height: 26px; }
.who-card h3 { font-size: 1.4rem; margin-bottom: 12px; transform: translateZ(24px); }
.who-card p { color: var(--ink-2); margin-bottom: 22px; transform: translateZ(16px); }
.who-fit { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 16px; }
.who-fit strong { color: var(--brand-ink); font-weight: 700; }

/* Plans */
.plans { background: var(--surface); }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--canvas); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 28px; }
.plan.is-featured { background: var(--surface); border-color: var(--brand-300); box-shadow: 0 24px 60px rgba(242, 98, 34, 0.12); }
.plan.is-featured::before { content: ''; position: absolute; inset-inline: 0; top: 0; height: 4px; border-radius: var(--radius) var(--radius) 0 0; background: var(--brand-500); }
.plan-badge { position: absolute; top: 18px; inset-inline-end: 18px; font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--brand-50); color: var(--brand-ink); border: 1px solid var(--brand-100); }
.plan h3 { font-size: 1.6rem; margin-bottom: 6px; }
.plan-tag { color: var(--ink-2); margin-bottom: 20px; }
.plan-plus { font-size: 13.5px; color: var(--ink-3); margin-bottom: 10px; }
.plan-plus strong { color: var(--ink); }
.plan-feats { display: grid; gap: 10px; margin-bottom: 22px; }
.plan-feats li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.plan-feats .ic { color: var(--brand-500); margin-top: 2px; }
.plan-limits-t { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; margin-bottom: 8px; }
html[lang='ar'] .plan-limits-t { letter-spacing: 0; text-transform: none; font-size: 13px; }
.plan-limits { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.plan-limits li { font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.plan.is-featured .plan-limits li { background: var(--canvas); }
.plan .btn { margin-top: auto; }
.plan-note { margin-top: 26px; color: var(--ink-3); font-size: 14.5px; text-align: center; }

/* Secure (dark) */
.secure { background: var(--dark); color: var(--on-dark); overflow: hidden; }
.secure .eyebrow { color: var(--brand-300); }
.secure .lead { color: var(--on-dark-2); }
.secure-flow { position: absolute; inset-inline-end: -6%; top: -10%; width: min(40vw, 520px); fill: var(--brand-500); opacity: 0.35; pointer-events: none; }
.secure-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.secure-copy .lead { margin: 18px 0 36px; }
.code-pill { display: inline-flex; flex-direction: column; gap: 8px; padding: 16px 20px; border-radius: 16px; background: var(--dark-2); border: 1px solid var(--dark-line); margin-bottom: 28px; }
.code-label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-2); font-weight: 600; }
html[lang='ar'] .code-label { letter-spacing: 0; text-transform: none; font-size: 13px; }
.code-digits { display: flex; gap: 8px; }
.code-digits b { display: grid; place-items: center; width: 40px; height: 50px; border-radius: 10px; background: #000; border: 1px solid var(--dark-line); font-size: 24px; font-weight: 700; color: var(--brand-300); overflow: hidden; }
.iso { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 18px; border-radius: 16px; background: var(--dark-2); border: 1px solid var(--dark-line); overflow: hidden; }
.iso-col { display: grid; gap: 7px; position: relative; z-index: 1; }
.iso-h { font-size: 11.5px; color: var(--on-dark-2); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; margin-bottom: 4px; }
html[lang='ar'] .iso-h { letter-spacing: 0; text-transform: none; }
.iso-col i { display: block; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, 0.1); transition: background 0.35s; }
.iso-col.is-lit i { background: var(--brand-500); }
.iso-col.is-lit .iso-h { color: var(--brand-300); }
.iso-beam { position: absolute; top: 0; bottom: 0; width: calc((100% - 36px - 28px) / 3); inset-inline-start: 18px; border-radius: 12px; background: rgba(242, 98, 34, 0.1); border: 1px solid rgba(242, 98, 34, 0.35); }
.iso-caption { margin-top: 12px; font-size: 13px; color: var(--on-dark-2); }
.secure-items { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sec-item { padding: 22px; border-radius: var(--radius-sm); background: var(--dark-2); border: 1px solid var(--dark-line); transition: border-color 0.3s, transform 0.4s var(--ease); }
.sec-item:hover { border-color: rgba(242, 98, 34, 0.5); transform: translateY(-3px); }
.sec-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: rgba(242, 98, 34, 0.12); color: var(--brand-300); margin-bottom: 14px; }
.sec-ic .ic { width: 20px; height: 20px; }
.sec-item h3 { font-size: 16px; margin-bottom: 8px; color: #fff; }
.sec-item p { font-size: 14px; color: var(--on-dark-2); }
.secure-items .btn { grid-column: 1 / -1; justify-self: start; margin-top: 6px; }

/* Compare */
.compare { background: var(--canvas); }
.cmp { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: var(--surface); --pos: 50%; }
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cmp-b { clip-path: inset(0 0 0 var(--pos)); }
.cmp-label { position: absolute; top: 14px; z-index: 2; font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(20, 20, 20, 0.78); color: #fff; backdrop-filter: blur(6px); }
.cmp-label-a { inset-inline-start: 14px; font-family: var(--font-ar); }
.cmp-label-b { inset-inline-end: 14px; font-family: var(--font-en); }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); z-index: 2; pointer-events: none; }
.cmp-handle i { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--ink); box-shadow: var(--shadow-md); }
.cmp input[type='range'] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; -webkit-appearance: none; appearance: none; }
.cmp-hint { margin-top: 14px; text-align: center; color: var(--ink-3); font-size: 14px; }

/* Roadmap */
.road { background: var(--surface); }
.road-list { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-top: 34px; }
.road-line { position: absolute; top: 24px; inset-inline: 0; height: 2px; background: var(--line); }
.road-line i { display: block; height: 100%; width: 100%; background: var(--brand-500); transform-origin: var(--origin, left); transform: scaleX(0); }
html[dir='rtl'] .road-line i { --origin: right; }
.road-item { position: relative; padding-top: 24px; }
.road-dot { position: absolute; top: -34px; inset-inline-start: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--line); color: var(--ink-3); z-index: 1; }
.road-dot .ic { width: 20px; height: 20px; }
.road-live .road-dot { border-color: var(--brand-500); color: var(--brand-ink); background: var(--brand-50); }
.road-building .road-dot { border-color: var(--brand-300); color: var(--brand-ink); }
.road-state { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; background: var(--canvas); color: var(--ink-3); border: 1px solid var(--line); }
html[lang='ar'] .road-state { letter-spacing: 0; text-transform: none; font-size: 13px; }
.road-live .road-state { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
.road-building .road-state { background: var(--brand-50); color: var(--brand-ink); border-color: transparent; }
.road-item h3 { font-size: 1.35rem; margin-bottom: 8px; }
.road-item p { color: var(--ink-2); }

/* Steps */
.steps { background: var(--canvas); }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 26px; overflow: hidden; }
.step-num { display: block; font-size: 44px; font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px var(--brand-300); margin-bottom: 14px; line-height: 1; }
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { color: var(--ink-2); }

/* FAQ */
.faq { background: var(--surface); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .sec-head { margin-bottom: 0; position: sticky; top: calc(var(--nav-h) + 24px); }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--canvas); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ic { width: 20px; height: 20px; color: var(--brand-ink); transition: transform 0.4s var(--ease); flex: none; }
.faq-item[open] .faq-ic { transform: rotate(45deg); }
.faq-body { overflow: hidden; }
.faq-body p { padding: 0 20px 20px; color: var(--ink-2); max-width: 44em; }

/* CTA */
.cta { background: var(--surface); padding-top: 0; }
.cta-panel { position: relative; overflow: hidden; background: var(--dark); color: var(--on-dark); border-radius: 28px; padding: clamp(48px, 7vw, 96px) clamp(28px, 6vw, 88px); }
.cta-panel > :not(svg) { position: relative; z-index: 1; }
.cta-panel .display-2 { max-width: 12em; margin-bottom: 20px; }
.cta-panel .lead { color: var(--on-dark-2); margin-bottom: 36px; max-width: 36em; }
.cta-x { position: absolute; width: 56%; inset-inline-end: -14%; top: -30%; fill: var(--brand-500); opacity: 0.22; pointer-events: none; }
.cta-line { position: absolute; inset-inline-end: 4%; bottom: -8%; width: 44%; height: 64%; fill: var(--brand-500); opacity: 0.9; pointer-events: none; }
html[dir='rtl'] .cta-line { transform: scaleX(-1); }
.cta-mail { margin-top: 26px; font-size: 14.5px; color: var(--on-dark-2); }
.cta-mail a { color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, 0.3); }

/* Footer */
.foot { background: var(--surface); border-top: 1px solid var(--line); padding: 56px 0 32px; color: var(--ink-2); font-size: 14.5px; }
.f-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; }
.f-brand .logo { width: 150px; color: var(--ink); margin-bottom: 18px; }
.f-tags { display: grid; gap: 4px; margin-bottom: 18px; color: var(--ink-3); font-size: 13.5px; }
.f-brand .lang-link { padding-inline: 0; }
.f-col h4 { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
html[lang='ar'] .f-col h4 { letter-spacing: 0; text-transform: none; font-size: 13.5px; }
.f-col a { display: block; color: var(--ink-2); padding: 5px 0; }
.f-col a:hover { color: var(--brand-ink); }
.f-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; color: var(--ink-3); font-size: 13.5px; }
.f-motto { letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; color: var(--ink-2); }

/* Not-found page */
.nf { display: grid; place-items: center; min-height: 100vh; }
.nf-main { text-align: center; padding: 24px; display: grid; gap: 14px; justify-items: center; }
.nf-main .logo { width: 160px; color: var(--ink); margin-bottom: 10px; }
.nf-main h1 { font-size: 1.6rem; }
.nf-main p { color: var(--ink-2); font-family: var(--font-ar); }
.nf-main .actions { justify-content: center; margin-top: 10px; }

/* Split headlines: each word in a mask so it can rise into view */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.w-in { display: inline-block; will-change: transform; }

/* Before the script runs, the hero waits for it; if it never comes, this
   fallback shows everything after a moment. */
html.pre :is([data-reveal], [data-split], .ui, .node, [data-reveal-group] > *) { opacity: 0; animation: oxy-unhide 0.5s ease 2.2s forwards; }
@keyframes oxy-unhide { to { opacity: 1; } }

/* Responsive */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .f-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --nav-h: 66px; }
  .nav-actions .btn-ghost, .nav-actions .lang-link { display: none; }
  .burger { display: inline-flex; }
  .logo { width: 138px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 40px; }
  .stage { max-width: 560px; justify-self: center; aspect-ratio: 1 / 0.98; }
  .ui-card { font-size: 12px; }
  .ui-schedule { width: 68%; }
  .ui-pay { width: 54%; }
  .story { padding-block: clamp(72px, 9vw, 128px); }
  .story-pin { min-height: 0; padding-block: 0; }
  .story-grid { grid-template-columns: minmax(0, 1fr); }
  .beats { min-height: 0; display: grid; gap: 28px; }
  .beat { position: static; opacity: 1; pointer-events: auto; }
  .story-dots { display: none; }
  .story-stage { max-width: 480px; justify-self: center; aspect-ratio: 4 / 3; }
  .prop-notebook, .prop-chat, .prop-sheet, .prop-phone, .prop-foreign { opacity: 0.35; }
  .prop-result { opacity: 1; }
  .flowmap { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .flowmap-lines { display: none; }
  .node { position: static; transform: none; min-width: 0; max-width: none; }
  .node-center { grid-column: 1 / -1; }
  .tour-grid { grid-template-columns: minmax(0, 1fr); }
  .tour-sticky { display: none; }
  .tour-steps { padding-inline-start: 0; padding-block: 0; display: grid; gap: 40px; }
  .tour-rail, .tour-step::before { display: none; }
  .tour-step { min-height: 0; opacity: 1; }
  .tour-inline { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow-md); margin-top: 8px; }
  .who-grid, .plan-grid, .step-grid, .road-list { grid-template-columns: 1fr; }
  .road-line { display: none; }
  .road-dot { position: static; margin-bottom: 14px; }
  .road-item { padding-top: 0; }
  .secure-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .secure-items { grid-template-columns: 1fr; }
  .faq .sec-head { position: static; }
  .cmp { aspect-ratio: 4 / 3; }
  .f-bottom { flex-direction: column; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .display { font-size: clamp(2.2rem, 11vw, 3rem); }
  .btn-lg { width: 100%; }
  .stage { aspect-ratio: 1 / 1.08; }
  .ui-card { font-size: 11.5px; padding: 10px 12px; }
  .ui-tooth { inset-inline-start: 0; width: 60%; bottom: 10%; }
  .ui-schedule { top: 4%; width: 74%; }
  .ui-rows li { grid-template-columns: 36px minmax(0, 1fr) auto; }
  .ui-pay { top: 40%; width: 50%; inset-inline-end: 0; }
  .ui-stat { display: none; }
  .mini-grid, .f-grid { grid-template-columns: 1fr; }
  .flowmap { grid-template-columns: 1fr; }
  .code-digits b { width: 34px; height: 44px; font-size: 20px; }
  .cta-panel { border-radius: 20px; }
}

/* =====================================================================
   The deck (2026-10-13): scenes, chapters and a header that knows where
   you are, after the owner's reference (oxy.cptart.co), on the light brand.
   ===================================================================== */
:root {
  --wide: 'Michroma', 'Montserrat', sans-serif;
  --paper: #f5f3ef;
  --white: #ffffff;
  --hud-h: 72px;
}
html { scroll-behavior: auto; scroll-padding-top: 0; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { background: var(--paper); }
.num { font-family: var(--wide); font-variant-numeric: normal; letter-spacing: 0.02em; }
html[lang='ar'] .num { font-family: var(--wide); }

/* Labels: a small wide-set line with a dash, as in the reference. */
.kick { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font-family: var(--wide); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brand-ink); }
.kick::before { content: ''; width: 26px; height: 1px; background: currentColor; }
html[lang='ar'] .kick { font-family: var(--font-ar); font-size: 14px; font-weight: 700; letter-spacing: 0; }

.title { font-size: clamp(2.3rem, 4.6vw, 4.4rem); line-height: 1.02; letter-spacing: -0.04em; font-weight: 700; color: var(--ink); max-width: 15em; }
.title em, .cover-title em, .close-title em { font-style: normal; color: var(--brand-500); }
html[lang='ar'] .title { line-height: 1.28; letter-spacing: 0; font-weight: 800; }
.sub-title { font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -0.03em; margin-bottom: 28px; }
.side { max-width: 30em; color: var(--ink-2); font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.6; }
.lead { margin-top: 22px; }
.hint-line { margin-top: 18px; color: var(--ink-3); font-size: 13.5px; }
.sec-row { display: flex; justify-content: space-between; align-items: flex-end; gap: clamp(24px, 5vw, 80px); margin-bottom: clamp(36px, 6vh, 64px); }
.split-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }

/* Scenes */
.scene { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: calc(var(--hud-h) + 4vh) calc(64px + 4vh); overflow: hidden; }
.scene[data-tone='white'] { background: var(--white); }
.scene[data-tone='paper'] { background: var(--paper); }
.scene > .wrap { width: 100%; position: relative; z-index: 1; }
.wrap { max-width: 1320px; }

/* ----------------------------------------------------------- HUD */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 90; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--brand-500); transform: scaleX(0); transform-origin: 0 50%; }
html[dir='rtl'] .progress i { transform-origin: 100% 50%; }
.hud { position: fixed; left: 0; right: 0; z-index: 80; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-inline: clamp(18px, 3vw, 40px); pointer-events: none; }
.hud > * { pointer-events: auto; }
.hud.top { top: 0; height: var(--hud-h); background: linear-gradient(rgba(245, 243, 239, 0.92), rgba(245, 243, 239, 0)); }
.hud.top.on-white { background: linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0)); }
.hud-brand { color: var(--ink); }
.hud-brand .logo { width: 136px; }
.hud-crumb { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; font-family: var(--wide); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; pointer-events: none; }
html[lang='ar'] .hud-crumb { font-family: var(--font-ar); font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 700; }
.hud-crumb .c-num { color: var(--brand-ink); }
.hud-actions { display: flex; align-items: center; gap: 8px; }
.idx-btn { gap: 8px; }
.hud.bottom { bottom: 0; height: 64px; }
.hud-foot { font-size: 12px; color: var(--ink-3); }
.hud-foot .num { font-size: 10px; letter-spacing: 0.2em; color: var(--ink-2); }
.hud-ctrl { display: flex; align-items: center; gap: 8px; }
.hud-ctrl button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.7); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: border-color 0.25s, background 0.25s; }
.hud-ctrl button:hover { border-color: var(--brand-300); background: #fff; }
.ic-flip { transform: scaleX(-1); }
html[dir='rtl'] .hud-ctrl .ic { transform: scaleX(-1); }
html[dir='rtl'] .hud-ctrl .ic-flip { transform: none; }
.page-chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.7); font-size: 11px; letter-spacing: 0.08em; color: var(--ink-2); }
.page-chip .roll, .roll { position: relative; display: inline-flex; overflow: hidden; height: 1.15em; line-height: 1.15em; vertical-align: bottom; }
.roll > span { display: block; }
.roll > span + span { position: absolute; inset: 0; }
.page-chip .roll { color: var(--ink); }

/* Index */
.index { position: fixed; inset: 0; z-index: 95; background: var(--white); overflow: auto; padding: 0 clamp(18px, 4vw, 56px) 48px; }
.index-head { display: flex; justify-content: space-between; align-items: center; height: var(--hud-h); position: sticky; top: 0; background: var(--white); }
.index-head .logo { width: 136px; color: var(--ink); }
.index-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px clamp(24px, 4vw, 64px); max-width: 1320px; margin: 4vh auto 0; }
.index-group h3 { display: flex; flex-direction: column; gap: 8px; font-family: var(--wide); font-size: 40px; font-weight: 400; color: var(--brand-500); margin-bottom: 18px; }
.index-group h3 span { font-family: var(--font-en); font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
html[lang='ar'] .index-group h3 span { font-family: var(--font-ar); }
.index-item { display: flex; justify-content: space-between; width: 100%; padding: 10px 0; border: 0; border-top: 1px solid var(--line); background: none; font: inherit; font-size: 15px; color: var(--ink-2); cursor: pointer; text-align: start; }
.index-item .pg { font-family: var(--wide); font-size: 11px; color: var(--ink-3); }
.index-item:hover, .index-item.current { color: var(--brand-ink); }

/* Loader and curtain */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--paper); display: grid; place-items: center; }
.loader-in { display: grid; justify-items: center; gap: 18px; }
.loader-logo { width: 220px; color: var(--ink); }
.loader-label { font-family: var(--wide); font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-3); }
html[lang='ar'] .loader-label { font-family: var(--font-ar); letter-spacing: 0; font-size: 14px; }
.loader-n { position: absolute; inset-inline-end: clamp(24px, 5vw, 64px); bottom: clamp(40px, 8vh, 80px); font-size: clamp(56px, 9vw, 120px); font-weight: 400; color: rgba(20, 20, 20, 0.08); line-height: 1; }
.loader-rule { position: absolute; left: clamp(24px, 5vw, 64px); right: clamp(24px, 5vw, 64px); bottom: clamp(30px, 6vh, 60px); height: 1px; background: var(--brand-500); transform: scaleX(0); transform-origin: 0 50%; }

#curtain { position: fixed; inset: 0; z-index: 96; background: var(--paper); clip-path: inset(100% 0 0 0); display: grid; place-items: center; pointer-events: none; }
.curtain-x { width: 120px; fill: var(--brand-500); opacity: 0; }

/* ----------------------------------------------------------- cover */
.cover-x { position: absolute; width: min(64vw, 900px); top: -12%; inset-inline-end: -14%; fill: var(--brand-500); opacity: 0.07; pointer-events: none; }
.cover-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cover-title { font-size: clamp(2.8rem, 5vw, 5.8rem); line-height: 0.98; letter-spacing: -0.045em; font-weight: 700; margin-bottom: 26px; }
html[lang='ar'] .cover-title { line-height: 1.25; letter-spacing: 0; font-weight: 800; }
.cover-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.cover-title .line > span { display: block; }
.cover-lede { max-width: 34em; color: var(--ink-2); font-size: clamp(1rem, 1.25vw, 1.2rem); margin-bottom: 30px; }
.cover-foot { position: absolute; left: 0; right: 0; bottom: 70px; display: flex; align-items: center; gap: 20px; margin-inline: auto; }
.cover-foot .rule { flex: 1; height: 1px; background: var(--line); transform-origin: 0 50%; }
html[dir='rtl'] .cover-foot .rule { transform-origin: 100% 50%; }
.cover-hint { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-3); }
html[lang='ar'] .cover-hint { font-family: var(--font-ar); letter-spacing: 0; font-size: 13px; }
.s-cover .stage { justify-self: end; }

/* ----------------------------------------------------------- contents */
.toc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); border-top: 1px solid var(--line); padding-top: 34px; }
.toc-n { display: block; font-size: clamp(44px, 5vw, 72px); font-weight: 400; color: var(--brand-500); line-height: 1; margin-bottom: 18px; }
.toc-col h3 { font-size: 17px; margin-bottom: 16px; }
.toc-col ul { display: grid; }
.toc-col button { display: flex; justify-content: space-between; gap: 12px; width: 100%; padding: 9px 0; border: 0; border-top: 1px solid var(--line-2); background: none; font: inherit; font-size: 14px; color: var(--ink-2); cursor: pointer; text-align: start; transition: color 0.2s, padding 0.3s var(--ease); }
.toc-col button:hover { color: var(--brand-ink); padding-inline-start: 6px; }
.toc-col .pg { font-size: 10px; color: var(--ink-3); }

/* ----------------------------------------------------------- pinned builds */
.pin-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 110px); align-items: center; }
.pin-side .title { font-size: clamp(2.1rem, 3.8vw, 3.6rem); }
.big-count { display: flex; align-items: baseline; gap: 10px; margin: 26px 0 28px; }
.big-count .roll { font-size: clamp(56px, 6.5vw, 96px); height: 1.1em; line-height: 1.1em; color: var(--ink); font-weight: 400; }
.big-count .of { font-size: 13px; color: var(--ink-3); }
.numlist { display: grid; border-bottom: 1px solid var(--line); }
.numrow { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.numrow .n { font-size: 12px; color: var(--ink-3); padding-top: 6px; }
.numrow h3 { font-size: clamp(1.15rem, 1.7vw, 1.55rem); letter-spacing: -0.02em; line-height: 1.25; }
.numrow p { color: var(--ink-2); font-size: 15px; margin-top: 8px; max-width: 36em; }
.numlist.static .numrow .n { color: var(--brand-ink); }
.pin-main { position: relative; }
.pin-progress { display: block; height: 2px; margin-top: 18px; background: var(--line); }
.pin-progress i { display: block; height: 100%; background: var(--brand-500); transform-origin: 0 50%; transform: scaleX(0.33); }
html[dir='rtl'] .pin-progress i { transform-origin: 100% 50%; }

/* why: the scattered pieces and the calm result */
.why-stage { position: relative; height: clamp(220px, 30vh, 300px); }
.why-stage .prop { position: absolute; }
.why-stage .prop-notebook { top: 4%; inset-inline-start: 0; }
.why-stage .prop-chat { top: 0; inset-inline-end: 6%; }
.why-stage .prop-sheet { bottom: 6%; inset-inline-start: 8%; }
.why-stage .prop-phone { bottom: 0; inset-inline-end: 0; }
.why-stage .prop-foreign { top: 24%; inset-inline-start: 14%; width: 70%; opacity: 0; }
.why-stage .prop-result { top: 6%; inset-inline-start: 6%; width: 86%; opacity: 0; }

/* plans: three cards, stacked */
.plan-stack { position: relative; min-height: 560px; }
.plan-stack .plan { position: absolute; inset: 0 0 auto 0; }
.plan-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.plan-n { font-size: 12px; color: var(--ink-3); }
.plan-dots { display: flex; gap: 6px; margin: 26px 0 0; }
.plan-dots b { width: 34px; height: 3px; border-radius: 2px; background: var(--line); position: relative; overflow: hidden; }
.plan-dots b::after { content: ''; position: absolute; inset: 0; background: var(--brand-500); transform: scaleX(var(--on, 0)); transform-origin: 0 50%; transition: transform 0.5s var(--ease); }
.plan-dots b.on { --on: 1; }
.plan .plan-badge { position: static; }

/* security */
.s-security .code-pill { background: var(--white); border-color: var(--line); margin-bottom: 26px; }
.s-security .code-label { color: var(--ink-3); }
.s-security .code-digits b { background: var(--paper); border-color: var(--line); color: var(--ink); }

/* ----------------------------------------------------------- the platform track */
.track-wrap { width: 100%; }
.s-platform { justify-content: center; }
.track { display: flex; gap: clamp(20px, 2.4vw, 36px); padding-inline: max(clamp(20px, 4vw, 40px), calc((100vw - 1320px) / 2 + clamp(20px, 4vw, 40px))); will-change: transform; }
.track-card { flex: none; width: min(62vw, 860px); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 26px; align-items: end; }
.track-shot { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #fff; }
.track-shot img { width: 100%; height: auto; display: block; }
.track-copy { padding-bottom: 8px; }
.track-n { display: block; font-size: 38px; color: var(--brand-500); line-height: 1; margin-bottom: 14px; }
.track-k { display: block; font-family: var(--wide); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
html[lang='ar'] .track-k { font-family: var(--font-ar); font-size: 13px; letter-spacing: 0; }
.track-copy h3 { font-size: clamp(1.25rem, 1.8vw, 1.7rem); letter-spacing: -0.02em; margin-bottom: 10px; }
.track-copy p { color: var(--ink-2); font-size: 15px; }
.track-bar { display: flex; align-items: center; gap: 18px; margin-top: 34px; }
.track-progress { flex: 1; height: 2px; background: var(--line); }
.track-progress i { display: block; height: 100%; background: var(--brand-500); transform-origin: 0 50%; transform: scaleX(0.14); }
html[dir='rtl'] .track-progress i { transform-origin: 100% 50%; }
.track-count { font-size: 11px; color: var(--ink-3); display: inline-flex; gap: 6px; }

/* ----------------------------------------------------------- others */
.flowmap { margin-top: 10px; }
.s-more .mini-grid { margin-top: 40px; }
.cmp { margin-top: 6px; }
.sync { padding: clamp(20px, 3vw, 30px); border-radius: 22px; border: 1px solid var(--line); background: var(--paper); margin-bottom: 26px; }
.sync-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(60px, 0.7fr) minmax(0, 1fr); align-items: center; gap: 10px; }
.sync-node { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 18px 10px; border-radius: 16px; border: 1px solid var(--line); background: var(--white); }
.sync-node strong { font-size: 14px; }
.sync-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand-600); }
.sync-state { font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); transition: background 0.3s, color 0.3s; }
.sync.is-offline .sync-pc .sync-state { background: #fdecea; color: var(--danger); }
.sync-wire { position: relative; height: 2px; background: var(--brand-200); }
.sync-wire::before { content: ''; position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-500); animation: wire 1.8s linear infinite; }
@keyframes wire { to { left: calc(100% - 8px); } }
html[dir='rtl'] .sync-wire::before { animation-name: wire-rtl; left: auto; right: 0; }
@keyframes wire-rtl { to { right: calc(100% - 8px); } }
.sync.is-offline .sync-wire { background: repeating-linear-gradient(90deg, rgba(180, 35, 24, 0.5) 0 6px, transparent 6px 12px); }
.sync.is-offline .sync-wire::before { display: none; }
.sync-cut { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(0); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 1px solid var(--danger); color: var(--danger); transition: transform 0.35s var(--ease); }
.sync.is-offline .sync-cut { transform: translate(-50%, -50%) scale(1); }
.sync-meter { display: flex; justify-content: space-between; margin: 18px 0 10px; font-size: 13px; color: var(--ink-3); }
.sync-meter b { color: var(--brand-ink); font-size: 16px; margin-inline-end: 4px; }
.sync-ok { color: var(--ok); opacity: 0; transition: opacity 0.4s; }
.sync.is-synced .sync-ok { opacity: 1; }
.sync-log { display: grid; gap: 6px; min-height: 150px; font-size: 13px; }
.sync-log li { display: flex; gap: 10px; padding: 7px 12px; border-radius: 9px; background: var(--white); border: 1px solid var(--line-2); color: var(--ink-2); }
.sync-log li b { color: var(--brand-ink); }
.sync-log li.is-sent b { color: var(--ok); }

.demo-x, .close-x { position: absolute; fill: var(--brand-500); opacity: 0.07; pointer-events: none; }
.demo-x { width: min(46vw, 640px); bottom: -14%; inset-inline-start: -10%; }
.cred { display: grid; gap: 14px; padding: 0 0 26px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-lg); color: var(--ink); overflow: hidden; }
.s-demo .cred { background: var(--paper); }
.cred-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.cred-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d8d2c9; }
.cred-bar i:nth-child(1) { background: #ff5f57; } .cred-bar i:nth-child(2) { background: #febc2e; } .cred-bar i:nth-child(3) { background: #28c840; }
.cred-bar b { margin-inline: auto; font-size: 10.5px; font-weight: 400; color: var(--ink-3); letter-spacing: 0.06em; }
.cred-row { display: grid; grid-template-columns: 9em 1fr; gap: 12px; align-items: baseline; margin-inline: 22px; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--brand-200); background: var(--white); }
.cred-row .k { font-size: 13px; color: var(--ink-3); }
.cred-row code { font-family: var(--wide); font-size: clamp(15px, 1.6vw, 20px); color: var(--ink); }
html[dir='rtl'] .cred-row code { text-align: end; }
.cred-note { margin-inline: 24px; color: var(--ok); font-size: 14px; font-weight: 600; }

.road { position: relative; margin: 46px 0 0; }
.road-line { position: absolute; top: 9px; left: 0; width: 100%; height: 4px; overflow: visible; }
.road-line path { stroke: var(--brand-500); stroke-width: 2; fill: none; vector-effect: non-scaling-stroke; }
.road-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 60px); position: relative; }
.road-item { padding-top: 40px; position: relative; }
.road-dot { position: absolute; top: 2px; inset-inline-start: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 2px solid var(--brand-500); }
.road-live .road-dot { background: var(--brand-500); box-shadow: 0 0 0 6px var(--brand-100); }
.road-item .road-state { display: inline-block; font-family: var(--wide); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 10px; }
html[lang='ar'] .road-item .road-state { font-family: var(--font-ar); letter-spacing: 0; font-size: 13px; }
.road-item h3 { font-size: 20px; margin-bottom: 8px; }
.road-item p { color: var(--ink-2); font-size: 15px; }
.steps-block { margin-top: clamp(40px, 8vh, 80px); }
.step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step-n { display: block; font-size: 30px; color: var(--brand-500); line-height: 1; margin-bottom: 16px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 14.5px; }
.s-faq .faq-grid { align-items: start; }

/* ----------------------------------------------------------- closing */
.s-closing { justify-content: flex-start; padding-bottom: 40px; }
.close-main { position: relative; padding: clamp(24px, 8vh, 90px) 0 clamp(30px, 6vh, 60px); }
.close-x { width: min(54vw, 760px); top: -30%; inset-inline-end: -12%; }
.close-title { font-size: clamp(3rem, 8vw, 8.4rem); line-height: 0.96; letter-spacing: -0.05em; font-weight: 700; max-width: 11em; }
html[lang='ar'] .close-title { line-height: 1.25; letter-spacing: 0; font-weight: 800; }
.close-lead { max-width: 40em; color: var(--ink-2); }
.close-actions { margin-top: 30px; }
.close-mark { border-top: 1px solid var(--line); padding-top: 34px; overflow: hidden; }
.close-logo { width: 100%; height: auto; color: var(--ink); }
.s-closing .foot { background: transparent; border: 0; padding: 40px 0 0; }
.s-closing .f-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.s-closing .f-col { display: grid; gap: 8px; align-content: start; }
.s-closing .f-col h4 { font-family: var(--wide); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; font-weight: 400; }
html[lang='ar'] .s-closing .f-col h4 { font-family: var(--font-ar); letter-spacing: 0; font-size: 13px; font-weight: 700; }
.s-closing .f-col a, .s-closing .f-col button { color: var(--ink-2); font: inherit; font-size: 14.5px; background: none; border: 0; padding: 0; text-align: start; cursor: pointer; }
.s-closing .f-col a:hover, .s-closing .f-col button:hover { color: var(--brand-ink); }
.s-closing .f-bottom { display: flex; justify-content: space-between; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.s-closing .f-bottom .num { font-size: 10px; letter-spacing: 0.2em; }

/* Before the motion takes over, nothing is hidden (no-JS and reduced motion read the page). */
[data-split], [data-reveal], [data-stagger] > * { will-change: auto; }

/* ----------------------------------------------------------- small screens */
@media (max-width: 1023px), (max-height: 619px) {
  .hud.bottom, .hud-crumb { display: none; }
  .scene { min-height: 0; padding-block: calc(var(--hud-h) + 40px) 64px; }
  .s-cover { min-height: 100svh; }
  .cover-grid, .pin-grid, .split-2 { grid-template-columns: 1fr; }
  .sec-row { flex-direction: column; align-items: flex-start; }
  .toc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .track { flex-direction: column; padding-inline: clamp(20px, 4vw, 40px); }
  .track-card { width: 100%; grid-template-columns: 1fr; }
  .plan-stack { min-height: 0; display: grid; gap: 16px; }
  .plan-stack .plan { position: relative; inset: auto; }
  .plan-dots { display: none; }
  .why-stage { display: none; }
  .road-list, .step-grid, .s-closing .f-grid { grid-template-columns: 1fr; }
  .road-line { display: none; }
  .cover-foot { display: none; }
  .hide-sm { display: none; }
}
@media (max-width: 560px) {
  .toc { grid-template-columns: 1fr; }
  .cred-row { grid-template-columns: 1fr; gap: 2px; }
  .hud-brand .logo { width: 112px; }
}
@media (prefers-reduced-motion: reduce) {
  .sync-wire::before { animation: none; }
}

/* The loader shows only while the motion starts; without the script it steps aside on its own. */
.loader { animation: loader-away 0.01s 3.5s forwards; }
html.motion .loader { animation: none; }
@keyframes loader-away { to { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .loader { display: none; } }
.s-cover .stage { max-width: 760px; width: 100%; }
.roll { clip-path: inset(0); }
.plan-stack .plan-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.plan-stack .plan { padding: 26px 28px; }
.track-card { width: min(70vw, 1040px); grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
@media (max-width: 1023px), (max-height: 619px) { .plan-stack .plan-feats { grid-template-columns: 1fr; } .track-card { width: 100%; grid-template-columns: 1fr; } }
.page-chip, .big-count, .track-count, .toc-n, .index-group h3 { direction: ltr; unicode-bidi: isolate; }
html[dir='rtl'] .big-count { justify-content: flex-end; }
.ui .num, .ui-rows .num, .code-digits b { font-family: var(--font-en); letter-spacing: 0; }
.s-closing { padding-bottom: 96px; }
.s-cover { padding-bottom: 150px; } .cover-foot { bottom: 64px; }
.cover-foot { position: relative; bottom: auto; margin-top: clamp(28px, 6vh, 64px); } .s-cover { padding-bottom: 90px; }
@media (max-height: 820px) { .cover-foot { display: none; } }
