/* ==========================================================================
   ApixONN — marketing site design system
   One deliberate visual world: deep "ledger ink" with periwinkle light.
   Dalil (a separate product) renders in its own light brand band.
   ========================================================================== */

:root {
  /* ApixONN ERP world */
  --bg: #07061a;
  --bg-2: #0b0a25;
  --bg-3: #121038;
  --glass: rgba(255, 255, 255, 0.035);
  --glass-2: rgba(255, 255, 255, 0.065);
  --line: rgba(159, 171, 254, 0.14);
  --line-2: rgba(159, 171, 254, 0.26);
  --ink: #f2f3ff;
  --ink-2: #c4c7ee;
  --muted: #8d91c6;
  --faint: #5f6396;
  --navy: #1d194c;
  --indigo: #4f46e5;
  --indigo-2: #6b63ff;
  --peri: #9fabfe;
  --peri-2: #cdd3ff;
  --mint: #5eead4;
  --amber: #fbbf24;
  --rose: #fb7185;

  /* Dalil world (independent brand) */
  --dl-navy: #1a1942;
  --dl-indigo: #3433c4;
  --dl-peri: #93a3fb;
  --dl-mist: #e9edff;

  --r: 14px;
  --r-lg: 22px;
  --r-xl: 30px;
  --font: 'Readex Pro', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --maxw: 1200px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 350;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* film grain over the whole page — subtle, never on top of content interaction */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -0.03em; font-weight: 600; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font-family: inherit; }
::selection { background: var(--peri); color: #07061a; }
:focus-visible { outline: 2px solid var(--peri); outline-offset: 3px; border-radius: 8px; }

.container { max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
@media (max-width: 640px) { .container { padding-inline: 16px; } }

/* Arabic is a connected script: never track it, and give it room vertically. */
html[dir='rtl'] h1, html[dir='rtl'] h2, html[dir='rtl'] h3, html[dir='rtl'] h4,
html[dir='rtl'] .btn, html[dir='rtl'] .lead, html[dir='rtl'] .stat .n, html[dir='rtl'] .price .amt { letter-spacing: 0; }
html[dir='rtl'] h1, html[dir='rtl'] h2 { line-height: 1.22; }
html[dir='rtl'] .hero h1 { font-size: clamp(40px, 7vw, 88px); line-height: 1.2; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
html[dir='rtl'] .serif { font-family: var(--font); font-style: normal; font-weight: 600; }
.mono { font-family: var(--mono); }
.grad-text {
  background: linear-gradient(100deg, var(--peri-2) 0%, var(--peri) 45%, #8b83ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--peri);
}
.eyebrow::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--peri); box-shadow: 0 0 12px var(--peri);
}
html[dir='rtl'] .eyebrow { letter-spacing: 0.02em; font-family: var(--font); font-size: 13px; }

.h2 { font-size: clamp(34px, 5vw, 58px); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); font-weight: 300; max-width: 40em; }
.sec { padding-block: clamp(80px, 11vw, 140px); position: relative; }
.sec-head { max-width: 760px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head .h2 { margin-top: 18px; }
.sec-head .lead { margin-top: 18px; }
.sec-head.center .lead { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding-inline: 22px; border-radius: 999px;
  font-size: 15.5px; font-weight: 500; letter-spacing: -0.005em; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
}
.btn svg { width: 16px; height: 16px; flex: none; }
html[dir='rtl'] .btn .arr { transform: scaleX(-1); }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #7a73ff 0%, var(--indigo) 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 10px 30px -10px rgba(107, 99, 255, 0.9), 0 0 60px -18px rgba(159, 171, 254, 0.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18) inset, 0 16px 40px -12px rgba(107, 99, 255, 1), 0 0 80px -16px rgba(159, 171, 254, 0.85); }
.btn-ghost { color: var(--ink); background: var(--glass); border-color: var(--line-2); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--glass-2); border-color: rgba(159, 171, 254, 0.45); }
.btn-lg { --h: 56px; padding-inline: 28px; font-size: 16.5px; }
.btn-sm { --h: 38px; padding-inline: 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- top bar & nav ---------- */
.topbar {
  position: relative; z-index: 60;
  background: linear-gradient(90deg, rgba(79, 70, 229, 0.25), rgba(159, 171, 254, 0.14), rgba(79, 70, 229, 0.25));
  border-bottom: 1px solid var(--line);
  font-size: 13.5px; color: var(--ink-2); text-align: center; padding: 9px 16px;
}
.topbar a { color: var(--peri-2); font-weight: 500; margin-inline-start: 8px; white-space: nowrap; }
.topbar a:hover { color: #fff; }
.topbar .pill { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #07061a; background: var(--mint); padding: 2px 8px; border-radius: 99px; margin-inline-end: 10px; font-weight: 500; }

.nav {
  position: sticky; top: 0; z-index: 50;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(7, 6, 26, 0.72); backdrop-filter: saturate(160%) blur(16px); border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 18px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; flex: none; }
.brand img, .brand svg { width: 34px; height: 34px; border-radius: 9px; }
.brand .onn { color: var(--peri); }
.brand small { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.12em; color: var(--muted); border: 1px solid var(--line-2); border-radius: 6px; padding: 2px 6px; margin-inline-start: 2px; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-inline-start: 14px; }
.nav-links a { padding: 8px 12px; border-radius: 10px; font-size: 14.5px; color: var(--ink-2); transition: color 0.2s, background 0.2s; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
@media (max-width: 1240px) { .nav-links a[href='#gulf'] { display: none; } }
.nav-links a:hover { color: #fff; background: var(--glass); }
.nav-links a .ext { width: 11px; height: 11px; opacity: 0.6; }
.nav-end { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 99px; padding: 6px 15px; background: var(--glass);
  color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1; cursor: pointer; transition: border-color .15s ease, background .15s ease;
}
.lang-switch:hover { border-color: var(--muted); background: rgba(159, 171, 254, 0.10); }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--glass); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.burger svg { width: 20px; height: 20px; }
@media (max-width: 1060px) {
  .nav-links, .nav-end .btn-ghost { display: none; }
  .burger { display: inline-flex; }
}
@media (max-width: 520px) { .nav-end .btn-primary { display: none; } }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: rgba(7, 6, 26, 0.97); backdrop-filter: blur(10px);
  display: flex; flex-direction: column; padding: 20px 20px 32px; transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity 0.25s, transform 0.25s var(--ease);
}
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu .mm-top { display: flex; align-items: center; justify-content: space-between; height: 52px; }
.mobile-menu nav { display: flex; flex-direction: column; margin-top: 18px; }
.mobile-menu nav a { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.mobile-menu .mm-cta { margin-top: auto; display: grid; gap: 12px; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: clamp(48px, 7vw, 92px); overflow: hidden; }
.aurora { position: absolute; inset: -20% -10% auto; height: 900px; pointer-events: none; z-index: 0; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; }
.aurora i:nth-child(1) { width: 620px; height: 620px; left: 8%; top: 0; background: radial-gradient(circle, rgba(79, 70, 229, 0.75), transparent 65%); animation: drift1 22s ease-in-out infinite; }
.aurora i:nth-child(2) { width: 560px; height: 560px; right: 2%; top: 60px; background: radial-gradient(circle, rgba(159, 171, 254, 0.5), transparent 65%); animation: drift2 26s ease-in-out infinite; }
.aurora i:nth-child(3) { width: 480px; height: 480px; left: 42%; top: 280px; background: radial-gradient(circle, rgba(94, 234, 212, 0.16), transparent 65%); animation: drift1 30s ease-in-out infinite reverse; }
@keyframes drift1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(60px, 40px) scale(1.08); } }
@keyframes drift2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-70px, 50px) scale(0.94); } }
.hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.55;
  background-image: linear-gradient(rgba(159, 171, 254, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(159, 171, 254, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 30%, transparent 75%);
}
.hero-copy { position: relative; z-index: 2; text-align: center; max-width: 980px; margin-inline: auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 99px;
  background: var(--glass); border: 1px solid var(--line-2); font-size: 13.5px; color: var(--ink-2); backdrop-filter: blur(6px);
}
html[dir='rtl'] .hero-badge { padding: 6px 6px 6px 14px; }
.hero-badge b { white-space: nowrap; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; font-weight: 500; color: #07061a; background: var(--peri); border-radius: 99px; padding: 4px 9px; }
.hero h1 { margin-top: 26px; font-size: clamp(44px, 8.4vw, 104px); font-weight: 600; letter-spacing: -0.045em; line-height: 0.98; }
.hero h1 .serif { font-size: 1.06em; }
.hero .lead { margin: 26px auto 0; text-align: center; }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-note { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; font-size: 14px; color: var(--muted); }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note svg { width: 15px; height: 15px; color: var(--mint); }

/* staggered load-in (enhancement only) */
.js .load { animation: rise 0.9s var(--ease) both; }
.js .load.d1 { animation-delay: 0.08s; } .js .load.d2 { animation-delay: 0.18s; } .js .load.d3 { animation-delay: 0.3s; } .js .load.d4 { animation-delay: 0.42s; } .js .load.d5 { animation-delay: 0.6s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- product window (hero) ---------- */
.stage { position: relative; z-index: 2; margin-top: clamp(48px, 6vw, 76px); perspective: 1800px; }
.stage::before {
  content: ''; position: absolute; inset: 8% 6% -6%; border-radius: 40px; z-index: -1;
  background: radial-gradient(ellipse at 50% 0%, rgba(107, 99, 255, 0.55), transparent 70%); filter: blur(40px);
}
.app {
  position: relative; border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, rgba(22, 20, 62, 0.92), rgba(11, 10, 37, 0.96));
  border: 1px solid var(--line-2);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset, 0 60px 120px -40px rgba(0, 0, 0, 0.85), 0 30px 80px -30px rgba(79, 70, 229, 0.45);
}
.js .app { transform: rotateX(8deg) scale(0.985); transform-origin: 50% 0; transition: transform 1.2s var(--ease); }
.js .app.flat { transform: none; }
.app-bar { display: flex; align-items: center; gap: 14px; height: 44px; padding-inline: 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(159, 171, 254, 0.25); }
.dots i:nth-child(1) { background: #ff6b81; opacity: 0.75; } .dots i:nth-child(2) { background: #fbbf24; opacity: 0.75; } .dots i:nth-child(3) { background: #34d399; opacity: 0.75; }
.url {
  flex: 1; max-width: 420px; margin-inline: auto; height: 28px; border-radius: 8px; background: rgba(0, 0, 0, 0.28); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; gap: 7px; font-family: var(--mono); font-size: 12px; color: var(--muted); overflow: hidden; white-space: nowrap;
}
.url svg { width: 12px; height: 12px; color: var(--mint); }
.url b { color: var(--ink); font-weight: 500; }
.live-pill { font-family: var(--mono); font-size: 11px; color: var(--mint); display: inline-flex; align-items: center; gap: 6px; }
.live-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.app-body { display: grid; grid-template-columns: 58px 1fr 300px; min-height: 440px; }
.app-side { border-inline-end: 1px solid var(--line); padding: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 8px; background: rgba(0, 0, 0, 0.15); }
.app-side .logo { width: 30px; height: 30px; border-radius: 8px; margin-bottom: 8px; }
.app-side span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--faint); }
.app-side span.on { background: rgba(159, 171, 254, 0.14); color: var(--peri); }
.app-side svg { width: 17px; height: 17px; }
.app-main { padding: 16px 18px 18px; min-width: 0; }
.app-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(0, 0, 0, 0.25); border: 1px solid var(--line); width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.app-tabs::-webkit-scrollbar { display: none; }
.app-tabs button {
  border: 0; background: none; color: var(--muted); font-size: 13px; font-weight: 500; padding: 7px 13px; border-radius: 9px; cursor: pointer; white-space: nowrap; position: relative;
  transition: color 0.2s, background 0.2s;
}
.app-tabs button[aria-selected='true'] { color: #fff; background: linear-gradient(180deg, rgba(107, 99, 255, 0.55), rgba(79, 70, 229, 0.45)); box-shadow: 0 0 0 1px rgba(159, 171, 254, 0.3) inset; }
.app-tabs button .bar { position: absolute; inset-inline: 10px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--peri-2); transform-origin: left; transform: scaleX(0); opacity: 0; }
html[dir='rtl'] .app-tabs button .bar { transform-origin: right; }
.app-tabs button[aria-selected='true'] .bar { opacity: 0.8; animation: tabprog var(--cycle, 5s) linear forwards; }
.app.paused .app-tabs button .bar { animation-play-state: paused; }
@keyframes tabprog { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.panel { margin-top: 16px; animation: fadein 0.5s var(--ease); }
.panel[hidden] { display: none; }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.p-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.p-head h4 { font-size: 16px; letter-spacing: -0.015em; font-weight: 600; }
.p-head span { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { border-radius: 12px; padding: 11px 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.kpi .l { font-size: 11px; color: var(--muted); }
.kpi .v { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; margin-top: 3px; font-variant-numeric: tabular-nums; }
.kpi .v small { font-size: 11px; color: var(--muted); font-weight: 400; margin-inline-end: 3px; }
.kpi .d { font-family: var(--mono); font-size: 10.5px; color: var(--mint); margin-top: 2px; }
.kpi .d.neg { color: var(--rose); }
.chart { margin-top: 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line); padding: 12px 14px 8px; }
.chart svg { width: 100%; height: 130px; }
.chart .legend { display: flex; gap: 14px; font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.chart .legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-inline-end: 6px; vertical-align: middle; }
.rows { margin-top: 12px; display: grid; gap: 6px; }
.row { display: grid; grid-template-columns: 26px 1fr auto auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line); font-size: 12.5px; }
.row .av { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 10px; font-weight: 600; color: #07061a; }
.row .nm { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .nm small { display: block; color: var(--muted); font-size: 10.5px; }
.row .amt { font-family: var(--mono); font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; padding: 3px 7px; border-radius: 6px; white-space: nowrap; }
.tag.ok { color: var(--mint); background: rgba(94, 234, 212, 0.1); }
.tag.wait { color: var(--amber); background: rgba(251, 191, 36, 0.1); }
.tag.info { color: var(--peri); background: rgba(159, 171, 254, 0.12); }
.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stepc { border-radius: 12px; padding: 10px 11px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.stepc .l { font-size: 10.5px; font-family: var(--mono); color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.stepc .v { font-size: 14px; font-weight: 600; margin-top: 4px; display: flex; align-items: center; gap: 6px; }
.stepc.done { border-color: rgba(94, 234, 212, 0.35); }
.stepc.done .v { color: var(--mint); }
.stepc.cur { border-color: rgba(159, 171, 254, 0.55); background: rgba(159, 171, 254, 0.08); box-shadow: 0 0 24px -8px rgba(159, 171, 254, 0.6); }
.gantt { display: grid; gap: 9px; margin-top: 4px; }
.g-row { display: grid; grid-template-columns: 120px 1fr 54px; align-items: center; gap: 10px; font-size: 12px; }
.g-row .n { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-track { position: relative; height: 18px; border-radius: 6px; background: rgba(255, 255, 255, 0.03); }
.g-bar { position: absolute; top: 0; bottom: 0; border-radius: 6px; background: linear-gradient(90deg, rgba(107, 99, 255, 0.9), rgba(159, 171, 254, 0.8)); }
.g-bar.b2 { background: linear-gradient(90deg, rgba(94, 234, 212, 0.75), rgba(94, 234, 212, 0.45)); }
.g-bar.b3 { background: linear-gradient(90deg, rgba(251, 191, 36, 0.75), rgba(251, 191, 36, 0.4)); }
.g-row .m { font-family: var(--mono); font-size: 11px; text-align: end; color: var(--mint); }
.g-row .m.low { color: var(--amber); }
.tb { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.tb th { text-align: start; font-weight: 500; color: var(--muted); font-size: 11px; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.tb td { padding: 8px; border-bottom: 1px solid rgba(159, 171, 254, 0.07); font-variant-numeric: tabular-nums; }
.tb td.n { text-align: end; font-family: var(--mono); font-size: 12px; }
.tb tr.tot td { color: #fff; font-weight: 600; border-bottom: 0; }
.fx { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(94, 234, 212, 0.06); border: 1px solid rgba(94, 234, 212, 0.22); font-size: 12.5px; color: var(--ink-2); }
.fx svg { width: 16px; height: 16px; color: var(--mint); flex: none; }
.fx b { color: #fff; font-weight: 600; }
.units { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; }
.units i { aspect-ratio: 1; border-radius: 5px; background: rgba(159, 171, 254, 0.5); }
.units i.v { background: rgba(255, 255, 255, 0.06); border: 1px dashed rgba(159, 171, 254, 0.3); }
.units i.l { background: rgba(251, 191, 36, 0.6); }
.units-legend { display: flex; gap: 14px; font-size: 11px; color: var(--muted); margin-top: 10px; }
.units-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-inline-end: 5px; vertical-align: -1px; }

/* the ledger tape — every module lands here */
.tape { border-inline-start: 1px solid var(--line); background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.3)); padding: 14px 14px 16px; display: flex; flex-direction: column; min-width: 0; }
.tape-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.tape-h b { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.tape-h b svg { width: 15px; height: 15px; color: var(--peri); }
.tape-h span { font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.tape-list { display: grid; gap: 8px; position: relative; }
.je {
  border-radius: 12px; padding: 10px 11px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); font-size: 11.5px;
  transition: border-color 0.4s, background 0.4s;
}
.je.new { animation: jein 0.7s var(--ease); border-color: rgba(159, 171, 254, 0.55); background: rgba(159, 171, 254, 0.08); box-shadow: 0 0 30px -12px rgba(159, 171, 254, 0.8); }
@keyframes jein { from { opacity: 0; transform: translateY(-14px) scale(0.98); } to { opacity: 1; transform: none; } }
.je-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.je-top code { font-family: var(--mono); font-size: 10.5px; color: var(--peri); }
.je-top em { font-style: normal; font-family: var(--mono); font-size: 10px; color: var(--muted); }
.je-t { color: var(--ink); margin: 5px 0 6px; font-weight: 500; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.je-l { display: flex; justify-content: space-between; gap: 8px; font-family: var(--mono); font-size: 10.5px; color: var(--ink-2); }
.je-l span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.je-l.cr { color: var(--muted); padding-inline-start: 12px; }
.je-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 7px; }
.je-foot .tag { font-size: 9.5px; }
.tape-sum { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line-2); display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.tape-sum b { color: var(--mint); font-weight: 500; }

@media (max-width: 1060px) { .app-body { grid-template-columns: 52px 1fr; } .tape { display: none; } }
@media (max-width: 700px) {
  .app-body { grid-template-columns: 1fr; min-height: 0; }
  .app-side { display: none; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .pipeline { grid-template-columns: 1fr 1fr; }
  .g-row { grid-template-columns: 84px 1fr 44px; }
  .url { font-size: 11px; }
  .live-pill { display: none; }
}

/* ---------- marquee ---------- */
.marquee-wrap { position: relative; border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); padding-block: 22px; overflow: hidden; margin-top: clamp(64px, 8vw, 110px); }
.marquee-wrap::before, .marquee-wrap::after { content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.marquee-wrap::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee-wrap::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.marquee-label { text-align: center; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
html[dir='rtl'] .marquee-label { letter-spacing: 0.02em; font-family: var(--font); }
.marquee { display: flex; gap: 14px; width: max-content; animation: scroll 48s linear infinite; }
html[dir='rtl'] .marquee { animation-name: scroll-rtl; }
.marquee:hover { animation-play-state: paused; }
.marquee > span { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 99px; border: 1px solid var(--line); background: var(--glass); color: var(--ink-2); font-size: 15px; white-space: nowrap; }
.marquee > span svg { width: 16px; height: 16px; color: var(--peri); }
@keyframes scroll { to { transform: translateX(-50%); } }
@keyframes scroll-rtl { to { transform: translateX(50%); } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-top: 56px; }
.stat { background: var(--bg-2); padding: 30px 26px; }
.stat .n { font-size: clamp(38px, 4.4vw, 56px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat .n .u { font-size: 0.5em; color: var(--peri); margin-inline-start: 4px; letter-spacing: -0.02em; }
.stat .l { margin-top: 10px; color: var(--muted); font-size: 14.5px; }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- ten tools -> one ---------- */
.versus { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center; margin-top: 60px; }
.v-card { border-radius: var(--r-xl); padding: 30px; border: 1px solid var(--line); background: var(--glass); min-height: 360px; position: relative; overflow: hidden; }
.v-card h3 { font-size: 20px; letter-spacing: -0.02em; }
.v-card .sub { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.chaos { position: relative; height: 250px; margin-top: 18px; }
.chaos span {
  position: absolute; padding: 9px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(251, 113, 133, 0.22);
  color: var(--ink-2); font-size: 13.5px; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px;
}
.chaos span::after { content: ''; position: absolute; inset-inline: 10px; top: 50%; height: 1.5px; background: rgba(251, 113, 133, 0.75); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.versus.in .chaos span::after { transform: scaleX(1); }
.versus.in .chaos span { color: var(--faint); }
.chaos span:nth-child(1) { top: 2%; left: 4%; transform: rotate(-4deg); } .chaos span:nth-child(2) { top: 6%; right: 6%; transform: rotate(3deg); }
.chaos span:nth-child(3) { top: 28%; left: 18%; transform: rotate(2deg); } .chaos span:nth-child(4) { top: 32%; right: 2%; transform: rotate(-3deg); }
.chaos span:nth-child(5) { top: 54%; left: 2%; transform: rotate(-2deg); } .chaos span:nth-child(6) { top: 58%; right: 14%; transform: rotate(4deg); }
.chaos span:nth-child(7) { top: 80%; left: 12%; transform: rotate(3deg); } .chaos span:nth-child(8) { top: 82%; right: 4%; transform: rotate(-4deg); }
.versus.in .chaos span:nth-child(2)::after { transition-delay: 0.1s; } .versus.in .chaos span:nth-child(3)::after { transition-delay: 0.2s; } .versus.in .chaos span:nth-child(4)::after { transition-delay: 0.3s; }
.versus.in .chaos span:nth-child(5)::after { transition-delay: 0.4s; } .versus.in .chaos span:nth-child(6)::after { transition-delay: 0.5s; } .versus.in .chaos span:nth-child(7)::after { transition-delay: 0.6s; } .versus.in .chaos span:nth-child(8)::after { transition-delay: 0.7s; }
.v-arrow { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: var(--bg-3); color: var(--peri); box-shadow: 0 0 40px -10px rgba(159, 171, 254, 0.6); }
.v-arrow svg { width: 24px; height: 24px; }
html[dir='rtl'] .v-arrow svg { transform: scaleX(-1); }
.v-card.one { border-color: rgba(159, 171, 254, 0.4); background: radial-gradient(ellipse at 50% 0%, rgba(107, 99, 255, 0.28), transparent 70%), var(--bg-2); box-shadow: 0 30px 80px -40px rgba(107, 99, 255, 0.7); }
.one-core { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.one-core img { width: 58px; height: 58px; border-radius: 15px; box-shadow: 0 0 40px -8px rgba(159, 171, 254, 0.8); }
.one-core b { font-size: 22px; letter-spacing: -0.02em; }
.one-core small { display: block; color: var(--muted); font-size: 13.5px; font-weight: 400; }
.one-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.one-list > span { padding: 8px 12px; border-radius: 10px; font-size: 13.5px; background: rgba(159, 171, 254, 0.1); border: 1px solid rgba(159, 171, 254, 0.22); color: var(--ink); display: inline-flex; align-items: center; gap: 7px; }
.one-list > span svg { width: 14px; height: 14px; color: var(--mint); }
.one-facts { display: flex; gap: 22px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.one-facts b { color: var(--ink); font-weight: 500; font-size: 15px; display: block; font-family: var(--font); }
@media (max-width: 900px) { .versus { grid-template-columns: 1fr; } .v-arrow { margin-inline: auto; transform: rotate(90deg); } html[dir='rtl'] .v-arrow { transform: rotate(90deg); } }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(240px, auto); gap: 16px; margin-top: 60px; }
.tile {
  position: relative; border-radius: var(--r-xl); padding: 26px; overflow: hidden; display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)); border: 1px solid var(--line);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.tile::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(159, 171, 254, 0.16), transparent 45%); }
.tile:hover { border-color: rgba(159, 171, 254, 0.4); }
.tile:hover::before { opacity: 1; }
.tile.w2 { grid-column: span 2; } .tile.h2 { grid-row: span 2; }
.tile-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(159, 171, 254, 0.12); border: 1px solid rgba(159, 171, 254, 0.25); color: var(--peri); }
.tile-ic svg { width: 21px; height: 21px; }
.tile h3 { font-size: 21px; letter-spacing: -0.025em; margin-top: 16px; }
.tile p { color: var(--ink-2); font-size: 14.5px; margin-top: 8px; font-weight: 300; max-width: 34em; }
.tile .more { margin-top: auto; padding-top: 18px; font-size: 13.5px; color: var(--peri); display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.tile .more svg { width: 13px; height: 13px; transition: transform 0.2s; }
.tile:hover .more svg { transform: translateX(3px); }
html[dir='rtl'] .tile .more svg { transform: scaleX(-1); }
html[dir='rtl'] .tile:hover .more svg { transform: scaleX(-1) translateX(3px); }
.tile .vis { margin-top: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chips span { font-size: 12px; padding: 5px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); color: var(--ink-2); }
/* mini visuals */
.mini-pl { display: grid; gap: 7px; }
.mini-pl div { display: grid; grid-template-columns: 1fr auto; font-size: 13px; padding: 9px 12px; border-radius: 10px; background: rgba(0, 0, 0, 0.2); border: 1px solid var(--line); }
.mini-pl div span:last-child { font-family: var(--mono); font-size: 12.5px; }
.mini-pl div.tot { border-color: rgba(94, 234, 212, 0.35); background: rgba(94, 234, 212, 0.06); }
.mini-pl div.tot span:last-child { color: var(--mint); }
.spark { width: 100%; height: 90px; }
.slip { border-radius: 14px; background: rgba(0, 0, 0, 0.25); border: 1px solid var(--line); padding: 14px; font-size: 12.5px; }
.slip .sl { display: flex; justify-content: space-between; padding: 4px 0; color: var(--ink-2); }
.slip .sl span:last-child { font-family: var(--mono); }
.slip .sl.ded span:last-child { color: var(--rose); }
.slip .sl.net { border-top: 1px dashed var(--line-2); margin-top: 6px; padding-top: 9px; color: #fff; font-weight: 600; }
.slip .sl.net span:last-child { color: var(--mint); }
.chain { display: flex; align-items: center; gap: 0; }
.chain .nd { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 600; border: 1.5px solid var(--line-2); background: var(--bg-3); color: var(--muted); position: relative; z-index: 1; }
.chain .nd.ok { border-color: var(--mint); color: var(--mint); background: rgba(94, 234, 212, 0.08); }
.chain .nd.cur { border-color: var(--peri); color: #fff; background: rgba(159, 171, 254, 0.2); box-shadow: 0 0 20px -2px rgba(159, 171, 254, 0.7); }
.chain .ln { flex: 1; height: 2px; background: var(--line-2); min-width: 16px; }
.chain .ln.ok { background: var(--mint); }
.chain-lbl { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 8px; font-family: var(--mono); }
.funnel { display: grid; gap: 6px; }
.funnel div { height: 26px; border-radius: 8px; display: flex; align-items: center; justify-content: space-between; padding-inline: 10px; font-size: 11.5px; color: #07061a; font-weight: 600; margin-inline: auto; }
.stock { display: grid; gap: 8px; }
.stock div { display: grid; grid-template-columns: 70px 1fr 38px; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); }
.stock .bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.stock .bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--indigo-2), var(--peri)); }
.stock .bar i.low { background: linear-gradient(90deg, var(--amber), #fcd34d); }
.stock span:last-child { font-family: var(--mono); font-size: 11px; text-align: end; }
@media (max-width: 1000px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .tile.w2 { grid-column: auto; } .tile.h2 { grid-row: auto; } }

/* ---------- one ledger flow ---------- */
.flow { margin-top: 64px; position: relative; }
.flow-track { position: absolute; top: 44px; inset-inline: 10%; height: 2px; background: linear-gradient(90deg, transparent, var(--line-2) 8%, var(--line-2) 92%, transparent); }
.flow-pulse { position: absolute; top: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--peri-2); box-shadow: 0 0 18px 4px rgba(159, 171, 254, 0.8); animation: travel 6s var(--ease) infinite; }
html[dir='rtl'] .flow-pulse { animation-name: travel-rtl; }
@keyframes travel { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: calc(100% - 12px); opacity: 0; } }
@keyframes travel-rtl { 0% { right: 0; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { right: calc(100% - 12px); opacity: 0; } }
.flow-nodes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.fnode { text-align: center; }
.fnode .ring { width: 88px; height: 88px; margin-inline: auto; border-radius: 26px; display: grid; place-items: center; background: var(--bg-3); border: 1px solid var(--line-2); color: var(--peri); position: relative; animation: glow 6s var(--ease) infinite; }
.fnode:nth-child(2) .ring { animation-delay: 1.2s; } .fnode:nth-child(3) .ring { animation-delay: 2.4s; } .fnode:nth-child(4) .ring { animation-delay: 3.6s; } .fnode:nth-child(5) .ring { animation-delay: 4.8s; }
@keyframes glow { 0%, 12%, 100% { box-shadow: none; border-color: var(--line-2); } 4%, 8% { box-shadow: 0 0 40px -6px rgba(159, 171, 254, 0.9); border-color: var(--peri); } }
.fnode .ring svg { width: 30px; height: 30px; }
.fnode .ring small { position: absolute; top: -10px; inset-inline-end: -10px; font-family: var(--mono); font-size: 10.5px; background: var(--bg); border: 1px solid var(--line-2); color: var(--muted); border-radius: 99px; padding: 2px 7px; }
.fnode h4 { font-size: 16.5px; margin-top: 18px; letter-spacing: -0.015em; }
.fnode p { color: var(--muted); font-size: 13.5px; margin-top: 6px; max-width: 16em; margin-inline: auto; }
.fnode .val { margin-top: 10px; display: inline-block; font-family: var(--mono); font-size: 12px; color: var(--ink-2); padding: 5px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.story { margin: 56px auto 0; max-width: 860px; border-radius: var(--r-lg); padding: 22px 26px; border: 1px solid var(--line); background: var(--glass); display: flex; gap: 16px; align-items: flex-start; font-size: 16px; color: var(--ink-2); }
.story svg { width: 22px; height: 22px; color: var(--peri); flex: none; margin-top: 3px; }
.story b { color: #fff; font-weight: 500; }
@media (max-width: 860px) {
  .flow-track { display: none; }
  .flow-nodes { grid-template-columns: 1fr; gap: 26px; }
  .fnode { display: grid; grid-template-columns: 72px 1fr; text-align: start; gap: 16px; align-items: center; }
  .fnode .ring { width: 72px; height: 72px; margin: 0; }
  .fnode h4 { margin-top: 0; }
  .fnode p { margin-inline: 0; }
}

/* ---------- gulf grid ---------- */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.sticky-head { position: sticky; top: 120px; }
.gulf { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.g-card { border-radius: var(--r-lg); padding: 22px; border: 1px solid var(--line); background: var(--glass); }
.g-card h4 { font-size: 17px; letter-spacing: -0.015em; display: flex; align-items: center; gap: 10px; }
.g-card h4 svg { width: 19px; height: 19px; color: var(--peri); }
.g-card p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.g-card .vis { margin-top: 14px; }
.g-card.wide { grid-column: span 2; }
.rtl-demo { direction: rtl; font-family: var(--font); border-radius: 12px; background: rgba(0, 0, 0, 0.25); border: 1px solid var(--line); padding: 12px 14px; font-size: 13px; }
.rtl-demo .r { display: flex; justify-content: space-between; padding: 5px 0; color: var(--ink-2); }
.rtl-demo .r b { color: #fff; font-weight: 500; }
.rates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.rates div { border-radius: 10px; padding: 9px 10px; background: rgba(0, 0, 0, 0.22); border: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--muted); }
.rates b { display: block; font-family: var(--font); font-size: 15px; color: #fff; font-weight: 600; margin-top: 2px; font-variant-numeric: tabular-nums; }
.rates .up { color: var(--mint); }
.si { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 12.5px; }
.si div { border-radius: 10px; padding: 10px 12px; background: rgba(0, 0, 0, 0.22); border: 1px solid var(--line); }
.si b { display: block; font-size: 18px; letter-spacing: -0.02em; color: #fff; font-weight: 600; }
.si small { color: var(--muted); font-size: 11.5px; }
@media (max-width: 560px) { .gulf { grid-template-columns: 1fr; } .g-card.wide { grid-column: auto; } .rates { grid-template-columns: 1fr 1fr; } }

/* ---------- control & audit ---------- */
.control { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.c-card { border-radius: var(--r-lg); padding: 24px; border: 1px solid var(--line); background: var(--glass); }
.c-card .tile-ic { margin-bottom: 16px; }
.c-card h4 { font-size: 18px; letter-spacing: -0.02em; }
.c-card p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.audit { margin-top: 16px; border-radius: var(--r-lg); border: 1px solid var(--line); background: rgba(0, 0, 0, 0.25); padding: 6px; font-family: var(--mono); font-size: 12.5px; overflow: hidden; }
.audit div { display: grid; grid-template-columns: 70px 150px 1fr auto; gap: 14px; padding: 10px 14px; border-radius: 10px; color: var(--ink-2); align-items: center; }
.audit div:nth-child(odd) { background: rgba(255, 255, 255, 0.025); }
.audit time { color: var(--faint); }
.audit .who { color: var(--peri); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.audit .what { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font); font-size: 13.5px; }
@media (max-width: 900px) { .control { grid-template-columns: 1fr; } .audit div { grid-template-columns: 56px 1fr auto; } .audit .who { display: none; } }

/* ---------- employee portal ---------- */
.ewp { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
@media (max-width: 960px) { .ewp { grid-template-columns: 1fr; } }
.ewp-list { margin-top: 30px; display: grid; gap: 14px; }
.ewp-list > div { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.ewp-list .tile-ic { width: 40px; height: 40px; }
.ewp-list h4 { font-size: 16.5px; letter-spacing: -0.015em; }
.ewp-list p { color: var(--muted); font-size: 14.5px; margin-top: 3px; }
.phones { position: relative; display: flex; justify-content: center; gap: 22px; padding-block: 20px; }
.phone {
  width: 250px; border-radius: 38px; padding: 10px; background: linear-gradient(180deg, #1c1a48, #0d0c2b); border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 60px -20px rgba(107, 99, 255, 0.5);
}
.phone:nth-child(2) { transform: translateY(46px); }
.screen { border-radius: 30px; background: #f6f7ff; color: #1a1942; overflow: hidden; min-height: 470px; font-size: 12px; }
.scr-top { background: #1d194c; color: #fff; padding: 14px 16px 18px; }
.scr-top .t { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; opacity: 0.7; }
.scr-top h5 { margin: 14px 0 0; font-size: 16px; letter-spacing: -0.02em; font-weight: 600; }
.scr-top p { font-size: 11px; opacity: 0.7; margin-top: 2px; }
.scr-body { padding: 12px; display: grid; gap: 9px; }
.card-w { background: #fff; border-radius: 14px; padding: 12px; box-shadow: 0 1px 2px rgba(29, 25, 76, 0.06), 0 8px 18px -12px rgba(29, 25, 76, 0.25); }
.card-w .h { font-size: 10.5px; color: #6b6a9a; font-weight: 500; }
.card-w .big { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; margin-top: 3px; }
.week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 8px; }
.week div { text-align: center; border-radius: 8px; padding: 6px 0; background: #eef0ff; font-weight: 600; font-size: 11px; }
.week div small { display: block; font-weight: 400; color: #6b6a9a; font-size: 9px; }
.week div.f { background: #4f46e5; color: #fff; }
.week div.f small { color: #cdd3ff; }
.leave { display: flex; justify-content: space-between; align-items: center; }
.leave .ring { width: 54px; height: 54px; }
.pslip { display: flex; justify-content: space-between; font-size: 11px; padding: 4px 0; color: #4b4a7a; }
.pslip b { color: #1a1942; }
.pbtn { margin-top: 6px; text-align: center; border-radius: 10px; background: #4f46e5; color: #fff; padding: 9px; font-weight: 600; font-size: 11.5px; }
.req { display: flex; align-items: center; gap: 8px; font-size: 11px; padding: 6px 0; border-bottom: 1px solid #eef0ff; }
.req:last-child { border-bottom: 0; }
.req i { width: 7px; height: 7px; border-radius: 50%; }
.req span { flex: 1; }
.req em { font-style: normal; font-size: 9.5px; padding: 2px 7px; border-radius: 99px; font-weight: 600; }
@media (max-width: 600px) { .phone { width: 210px; } .phone:nth-child(2) { display: none; } }

/* ---------- pricing ---------- */
.bill-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 5px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--glass); margin-top: 30px; }
.bill-toggle button { border: 0; background: none; color: var(--muted); font-size: 14px; font-weight: 500; padding: 9px 18px; border-radius: 99px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.bill-toggle button[aria-pressed='true'] { background: var(--ink); color: #07061a; }
.bill-toggle .save { font-family: var(--mono); font-size: 10.5px; color: #07061a; background: var(--mint); border-radius: 99px; padding: 2px 7px; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; align-items: stretch; }
.plan { border-radius: var(--r-xl); padding: 26px 22px; border: 1px solid var(--line); background: var(--glass); display: flex; flex-direction: column; position: relative; }
.plan.pop { border-color: rgba(159, 171, 254, 0.55); background: radial-gradient(ellipse at 50% 0%, rgba(107, 99, 255, 0.3), transparent 65%), var(--bg-2); box-shadow: 0 30px 80px -40px rgba(107, 99, 255, 0.9); }
.plan .badge { position: absolute; top: -12px; inset-inline-start: 22px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; background: var(--peri); color: #07061a; border-radius: 99px; padding: 4px 10px; font-weight: 500; }
.plan .pn { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.plan .pt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--peri); margin-top: 2px; }
.plan .pd { color: var(--muted); font-size: 14px; margin-top: 10px; min-height: 42px; }
.price { margin-top: 20px; display: flex; align-items: baseline; gap: 4px; }
.price .cur { font-size: 20px; color: var(--ink-2); align-self: flex-start; margin-top: 8px; }
.price .amt { font-size: 50px; font-weight: 600; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.price .per { color: var(--muted); font-size: 14px; }
.price.custom .amt { font-size: 36px; letter-spacing: -0.03em; }
.plan .seat { font-size: 13px; color: var(--muted); margin-top: 8px; min-height: 40px; }
.plan .seat b { color: var(--ink-2); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; font-size: 14px; color: var(--ink-2); }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 9px; align-items: start; }
.plan li svg { width: 16px; height: 16px; color: var(--mint); margin-top: 3px; }
.plan .btn { margin-top: auto; }
.price-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 30px; color: var(--muted); font-size: 14px; }
.price-foot span { display: inline-flex; align-items: center; gap: 8px; }
.price-foot svg { width: 15px; height: 15px; color: var(--mint); }
.price-foot a { color: var(--peri); font-weight: 500; }
@media (max-width: 1080px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } }

/* ---------- docs ---------- */
.docs { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; margin-top: 56px; }
.doc { border-radius: var(--r-xl); padding: 26px; border: 1px solid var(--line); background: var(--glass); display: flex; flex-direction: column; min-height: 230px; transition: border-color 0.3s, transform 0.3s var(--ease); }
.doc:hover { border-color: rgba(159, 171, 254, 0.45); transform: translateY(-3px); }
.doc.feature { background: radial-gradient(ellipse at 0% 0%, rgba(107, 99, 255, 0.25), transparent 60%), var(--bg-2); }
.doc h4 { font-size: 20px; letter-spacing: -0.02em; margin-top: 16px; }
.doc p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.doc .toc { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.doc .toc span { font-size: 12px; padding: 4px 9px; border-radius: 7px; border: 1px solid var(--line); color: var(--ink-2); }
.doc .go { margin-top: auto; padding-top: 18px; color: var(--peri); font-size: 14px; font-weight: 500; display: inline-flex; gap: 6px; align-items: center; }
.doc .go svg { width: 13px; height: 13px; }
@media (max-width: 900px) { .docs { grid-template-columns: 1fr; } }

/* ---------- Dalil band (separate product, its own brand) ---------- */
.dalil-band { background: var(--dl-mist); color: var(--dl-navy); position: relative; overflow: hidden; }
.dalil-band::before { content: ''; position: absolute; width: 900px; height: 900px; border-radius: 50%; inset-inline-end: -300px; top: -380px; background: radial-gradient(circle, rgba(147, 163, 251, 0.55), transparent 65%); }
.dalil-band ::selection { background: var(--dl-indigo); color: #fff; }
.dl-sep { display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #6b6ea6; }
html[dir='rtl'] .dl-sep { letter-spacing: 0.02em; font-family: var(--font); }
.dl-sep::after { content: ''; flex: 1; height: 1px; background: rgba(26, 25, 66, 0.14); }
.dl-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 40px; }
@media (max-width: 960px) { .dl-grid { grid-template-columns: 1fr; gap: 44px; } }
.dl-lockup { display: flex; align-items: center; gap: 14px; }
.dl-lockup img { width: 44px; height: auto; }
.dl-lockup .wm { font-size: 40px; font-weight: 600; letter-spacing: -0.04em; color: var(--dl-navy); line-height: 1; }
.dl-lockup .wm-ar { font-size: 30px; font-weight: 600; color: var(--dl-indigo); line-height: 1; }
.dalil-band h2 { font-size: clamp(34px, 4.6vw, 54px); margin-top: 26px; color: var(--dl-navy); letter-spacing: -0.035em; }
.dalil-band h2 .hl { background: linear-gradient(transparent 58%, rgba(147, 163, 251, 0.75) 0); padding-inline: 0.05em; }
.dalil-band .lead { color: #45477a; margin-top: 18px; }
.dl-note { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: #55588c; background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(26, 25, 66, 0.1); border-radius: 99px; padding: 6px 13px; }
.dl-note svg { width: 15px; height: 15px; color: var(--dl-indigo); }
.dl-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.dl-feats > div { display: grid; grid-template-columns: 38px 1fr; gap: 12px; }
.dl-feats .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #fff; color: var(--dl-indigo); box-shadow: 0 6px 16px -10px rgba(52, 51, 196, 0.5); }
.dl-feats .ic svg { width: 19px; height: 19px; }
.dl-feats h4 { font-size: 15.5px; letter-spacing: -0.01em; color: var(--dl-navy); }
.dl-feats p { font-size: 13.5px; color: #5a5d91; margin-top: 3px; }
@media (max-width: 520px) { .dl-feats { grid-template-columns: 1fr; } }
.btn-dalil { color: #fff; background: var(--dl-indigo); box-shadow: 0 12px 26px -12px rgba(52, 51, 196, 0.9); }
.btn-dalil:hover { transform: translateY(-2px); background: #2b2ab0; }
.btn-dalil-ghost { color: var(--dl-navy); background: #fff; border-color: rgba(26, 25, 66, 0.14); }
.btn-dalil-ghost:hover { border-color: rgba(52, 51, 196, 0.45); }
.dl-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.dl-chat { position: relative; border-radius: 28px; background: #fff; box-shadow: 0 40px 90px -40px rgba(26, 25, 66, 0.55), 0 0 0 1px rgba(26, 25, 66, 0.06); overflow: hidden; }
.dl-chat-h { display: flex; align-items: center; gap: 11px; padding: 16px 18px; border-bottom: 1px solid #eceefd; }
.dl-chat-h img { width: 28px; }
.dl-chat-h b { font-size: 15px; }
.dl-chat-h b span { color: #8a8cc0; font-weight: 400; margin-inline-start: 6px; }
.dl-lang { margin-inline-start: auto; display: inline-flex; background: var(--dl-mist); border-radius: 99px; padding: 3px; }
.dl-lang button { border: 0; background: none; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 99px; color: #6b6ea6; cursor: pointer; }
.dl-lang button[aria-pressed='true'] { background: var(--dl-indigo); color: #fff; }
.dl-msgs { padding: 20px 18px 8px; display: grid; gap: 12px; min-height: 330px; align-content: start; }
.bub { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.55; }
.bub.q { justify-self: end; background: var(--dl-mist); color: var(--dl-navy); border-end-end-radius: 5px; }
.bub.a { justify-self: start; background: #fff; border: 1px solid #e4e7fb; color: var(--dl-navy); border-end-start-radius: 5px; box-shadow: 0 10px 24px -18px rgba(26, 25, 66, 0.5); }
.bub.a .lit { background: linear-gradient(transparent 55%, rgba(147, 163, 251, 0.7) 0); }
.cite { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--dl-indigo); background: var(--dl-mist); border-radius: 8px; padding: 6px 10px; }
.cite svg { width: 12px; height: 14px; }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #a3a8e0; animation: dot 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; } .typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 60%, 100% { transform: none; opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
.dl-chat-f { display: flex; align-items: center; gap: 10px; padding: 12px 14px 14px; border-top: 1px solid #eceefd; }
.dl-chat-f .inp { flex: 1; height: 40px; border-radius: 12px; background: #f5f6ff; border: 1px solid #e6e8fb; display: flex; align-items: center; padding-inline: 12px; color: #9a9cc9; font-size: 13.5px; }
.dl-chat-f .wa { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #128c4a; background: #e7f8ee; border-radius: 99px; padding: 6px 11px; }
.dl-chat-f .wa svg { width: 14px; height: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 50px auto 0; display: grid; gap: 10px; }
.qa { border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--glass); overflow: hidden; transition: border-color 0.25s; }
.qa.open { border-color: rgba(159, 171, 254, 0.4); }
.qa button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; background: none; border: 0; color: var(--ink); font-size: 16.5px; font-weight: 500; text-align: start; cursor: pointer; letter-spacing: -0.01em; }
.qa button .pm { width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: transform 0.3s var(--ease), background 0.2s; }
.qa button .pm::before, .qa button .pm::after { content: ''; position: absolute; inset: 0; margin: auto; width: 11px; height: 1.5px; background: var(--peri); border-radius: 2px; }
.qa button .pm::after { transform: rotate(90deg); transition: transform 0.3s var(--ease); }
.qa.open button .pm { background: rgba(159, 171, 254, 0.15); }
.qa.open button .pm::after { transform: rotate(0); }
.qa .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.qa.open .ans { grid-template-rows: 1fr; }
.qa .ans > div { overflow: hidden; }
.qa .ans p { padding: 0 22px 22px; color: var(--ink-2); font-size: 15.5px; font-weight: 300; max-width: 62em; }
.qa .ans a { color: var(--peri); }

/* ---------- final CTA with inline workspace claim ---------- */
.final { position: relative; border-radius: 40px; overflow: hidden; padding: clamp(48px, 7vw, 90px) clamp(22px, 5vw, 70px); text-align: center; border: 1px solid rgba(159, 171, 254, 0.3);
  background: radial-gradient(ellipse 70% 90% at 50% 0%, rgba(107, 99, 255, 0.5), transparent 70%), radial-gradient(ellipse 60% 60% at 50% 120%, rgba(94, 234, 212, 0.14), transparent 70%), var(--bg-2); }
.final h2 { font-size: clamp(38px, 6vw, 76px); letter-spacing: -0.045em; }
.final .lead { margin: 20px auto 0; text-align: center; }
.claim { margin: 36px auto 0; max-width: 620px; display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 20px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.8); }
.claim-field { flex: 1; display: flex; align-items: center; min-width: 0; padding-inline: 14px; font-family: var(--mono); font-size: 16px; direction: ltr; }
.claim-field span { color: var(--muted); white-space: nowrap; }
.claim-field input { flex: 1; min-width: 60px; background: none; border: 0; outline: none; color: #fff; font: inherit; font-weight: 500; text-align: end; padding: 0; }
.claim-field input::placeholder { color: var(--faint); }
.claim .btn { flex: none; }
.claim-hint { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 560px) { .claim { flex-direction: column; align-items: stretch; } .claim-field { justify-content: center; padding-block: 12px; font-size: 15px; } .claim-field input { text-align: center; } }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 64px 36px; margin-top: clamp(80px, 10vw, 130px); }
.f-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.1fr; gap: 32px; }
.f-brand p { color: var(--muted); font-size: 14.5px; margin-top: 16px; max-width: 24em; }
.f-col h5 { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); font-weight: 500; margin: 0 0 16px; }
html[dir='rtl'] .f-col h5 { letter-spacing: 0.02em; font-family: var(--font); }
.f-col > a, .f-col > span { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 14.5px; padding: 5px 0; transition: color 0.2s; }
.f-col a:hover { color: #fff; }
.f-col svg { width: 14px; height: 14px; opacity: 0.7; }
.f-col img { width: 18px; height: 18px; border-radius: 5px; }
.f-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13.5px; }
.f-bar a:hover { color: var(--ink); }
.f-giant { margin-top: 40px; font-size: clamp(64px, 17vw, 240px); font-weight: 700; letter-spacing: -0.06em; line-height: 0.8; text-align: center; user-select: none;
  background: linear-gradient(180deg, rgba(159, 171, 254, 0.18), rgba(159, 171, 254, 0)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 960px) { .f-grid { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: span 2; } }

/* ---------- modal & forms (shared with start page) ---------- */
.modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 16px; background: rgba(4, 3, 16, 0.72); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-card { width: 100%; max-width: 640px; max-height: calc(100vh - 32px); overflow: auto; border-radius: 28px; background: linear-gradient(180deg, #14123c, #0b0a25); border: 1px solid var(--line-2); box-shadow: 0 60px 140px -40px rgba(0, 0, 0, 0.9), 0 0 80px -30px rgba(107, 99, 255, 0.6); transform: translateY(14px) scale(0.98); transition: transform 0.35s var(--ease); }
.modal.open .modal-card { transform: none; }
.modal-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 26px 28px 8px; }
.modal-h h3 { font-size: 26px; letter-spacing: -0.03em; }
.modal-h p { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.x { width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--glass); color: var(--ink); display: grid; place-items: center; cursor: pointer; flex: none; }
.x svg { width: 16px; height: 16px; }
.modal-b { padding: 16px 28px 28px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fgrid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fgrid { grid-template-columns: 1fr; } .modal-h, .modal-b { padding-inline: 20px; } }
.field label, .field .lbl { display: block; font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 7px; }
.field label .opt { color: var(--faint); font-weight: 400; }
.input, .select, .textarea {
  width: 100%; height: 48px; border-radius: 13px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line-2); color: var(--ink);
  padding-inline: 14px; font: inherit; font-size: 15px; font-weight: 400; outline: none; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.textarea { height: auto; min-height: 96px; padding-block: 12px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239fabfe' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-inline-end: 38px; }
html[dir='rtl'] .select { background-position: left 14px center; }
.select option { background: #14123c; color: var(--ink); }
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--peri); box-shadow: 0 0 0 4px rgba(159, 171, 254, 0.14); background: rgba(0, 0, 0, 0.4); }
.field.err .input, .field.err .select { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.12); }
.field .msg { font-size: 12.5px; margin-top: 6px; color: var(--muted); min-height: 0; }
.field.err .msg { color: var(--rose); }
.field .msg.ok { color: var(--mint); }
.chipset { display: flex; flex-wrap: wrap; gap: 8px; }
.chipset label { margin: 0; cursor: pointer; }
.chipset input { position: absolute; opacity: 0; pointer-events: none; }
.chipset span { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 11px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.22); font-size: 14px; color: var(--ink-2); transition: all 0.2s; }
.chipset input:checked + span { border-color: var(--peri); background: rgba(159, 171, 254, 0.16); color: #fff; box-shadow: 0 0 0 1px rgba(159, 171, 254, 0.35) inset; }
.chipset input:focus-visible + span { outline: 2px solid var(--peri); outline-offset: 2px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-err { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(251, 113, 133, 0.1); border: 1px solid rgba(251, 113, 133, 0.35); color: #fecdd3; font-size: 14px; }
.form-err.show { display: block; }
.success { text-align: center; padding: 30px 10px 10px; }
.success .ok-ic { width: 76px; height: 76px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: rgba(94, 234, 212, 0.12); border: 1px solid rgba(94, 234, 212, 0.45); color: var(--mint); box-shadow: 0 0 50px -10px rgba(94, 234, 212, 0.6); }
.success .ok-ic svg { width: 34px; height: 34px; }
.success h3 { font-size: 26px; margin-top: 22px; letter-spacing: -0.03em; }
.success p { color: var(--ink-2); margin-top: 10px; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- reveal (enhancement; content is visible without JS) ---------- */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv.d1 { transition-delay: 0.08s; } .js .rv.d2 { transition-delay: 0.16s; } .js .rv.d3 { transition-delay: 0.24s; } .js .rv.d4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
  .js .app { transform: none; }
  .marquee { animation: none; }
}
