/* TIMO website v2 (timohr.app). Tokens from the TIMO brand kit; layout and motion are the site's own.
   Logical properties throughout so Arabic and Kurdish (RTL) work without overrides. */

@font-face { font-family: 'Readex Pro'; src: url('/assets/fonts/ReadexPro-Variable.woff2') format('woff2'); font-weight: 160 700; font-display: swap; }
@font-face { font-family: 'Readex Pro Eastern'; src: url('/assets/fonts/ReadexPro-EasternDigits.woff2') format('woff2'); font-weight: 160 700; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('/assets/fonts/Vazirmatn-NL.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Vazirmatn Eastern'; src: url('/assets/fonts/Vazirmatn-NL-EasternDigits.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Azeret Mono'; src: url('/assets/fonts/AzeretMono-Variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

@property --angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
  --font-sans: 'Readex Pro', 'Segoe UI', system-ui, sans-serif;
  --font-num: 'Azeret Mono', ui-monospace, monospace;
  --dir: 1;

  --bg: #FCFAF6; --surface: #FFFFFF; --surface-2: #F4F1EA; --border: #E7E3DB; --border-strong: #D9D3C7;
  --text: #0B1026; --text-2: #5B5E6B; --text-3: #8A8C97;
  --primary: #5164E9; --primary-pressed: #3F4EC5; --on-primary: #FFFFFF;
  --dot: #DE6506; --tint: #E6ECFF; --focus: #5164E9;

  --space: #0B1026; --space-2: #141A33; --space-3: #1C2342; --space-line: rgba(173,191,255,.14);
  --space-text: #F3F1EC; --space-text-2: #B0B7CB; --space-primary: #8AA1FE; --space-dot: #F38649; --moon: #CDB3FE;

  --present-fg: #027059; --present-bg: #DBF3EB; --late-fg: #7E5600; --late-bg: #FAEBD3;
  --absent-fg: #AC1F2E; --absent-bg: #FEE7E5; --leave-fg: #703EB1; --leave-bg: #F0E9FE;
  --holiday-fg: #05688C; --holiday-bg: #DBF1FD; --pending-fg: #5B5E6B; --pending-bg: #ECEDF0;
  --overtime-fg: #3F4EC5; --overtime-bg: #E6ECFF;

  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px; --r-pill: 999px;
  --ease-drift: cubic-bezier(.2,.7,.1,1); --ease-standard: cubic-bezier(.3,0,.2,1); --ease-orbit: cubic-bezier(.45,0,.55,1);
  --wrap: 1200px; --gutter: clamp(16px, 4vw, 40px);
  --lh-body: 1.6; --track-display: -0.035em; --track-h: -0.025em;
  --shadow-1: 0 1px 2px rgba(11,16,38,.06), 0 8px 24px -12px rgba(11,16,38,.12);
  --shadow-float: 0 40px 80px -32px rgba(11,16,38,.35), 0 12px 24px -12px rgba(11,16,38,.12);
  --glass: rgba(255,255,255,.72); --glass-line: rgba(255,255,255,.6);
  color-scheme: light;
}
html[dir="rtl"] { --dir: -1; }

:root[data-theme="dark"] {
  --bg: #0B1026; --surface: #141A33; --surface-2: #0F1430; --border: #252C48; --border-strong: #333B5C;
  --text: #F3F1EC; --text-2: #B0B7CB; --text-3: #7D84A0; --primary: #8AA1FE; --primary-pressed: #ADBFFF; --on-primary: #0B1026;
  --dot: #F38649; --tint: #202875; --focus: #ADBFFF; --space: #070A1C; --space-2: #10152C; --space-3: #1A2040;
  --present-fg: #88D5BC; --present-bg: #013E30; --late-fg: #E8BA72; --late-bg: #472F00; --absent-fg: #FFA8A4; --absent-bg: #650714;
  --leave-fg: #CDB3FE; --leave-bg: #3F1E68; --holiday-fg: #89CDF0; --holiday-bg: #003950; --pending-fg: #BFC2CC; --pending-bg: #32343C;
  --overtime-fg: #ADBFFF; --overtime-bg: #202875;
  --shadow-1: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -12px rgba(0,0,0,.5); --shadow-float: 0 40px 80px -30px rgba(0,0,0,.7);
  --glass: rgba(20,26,51,.72); --glass-line: rgba(173,191,255,.14);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1026; --surface: #141A33; --surface-2: #0F1430; --border: #252C48; --border-strong: #333B5C;
    --text: #F3F1EC; --text-2: #B0B7CB; --text-3: #7D84A0; --primary: #8AA1FE; --primary-pressed: #ADBFFF; --on-primary: #0B1026;
    --dot: #F38649; --tint: #202875; --focus: #ADBFFF; --space: #070A1C; --space-2: #10152C; --space-3: #1A2040;
    --present-fg: #88D5BC; --present-bg: #013E30; --late-fg: #E8BA72; --late-bg: #472F00; --absent-fg: #FFA8A4; --absent-bg: #650714;
    --leave-fg: #CDB3FE; --leave-bg: #3F1E68; --holiday-fg: #89CDF0; --holiday-bg: #003950; --pending-fg: #BFC2CC; --pending-bg: #32343C;
    --overtime-fg: #ADBFFF; --overtime-bg: #202875;
    --shadow-1: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -12px rgba(0,0,0,.5); --shadow-float: 0 40px 80px -30px rgba(0,0,0,.7);
    --glass: rgba(20,26,51,.72); --glass-line: rgba(173,191,255,.14);
    color-scheme: dark;
  }
}

/* Arabic: the Eastern-digit cut; Kurdish: Vazirmatn. Never letter-space Arabic script. */
html[lang="ar"] { --font-sans: 'Readex Pro Eastern', 'Readex Pro', 'Noto Sans Arabic', 'Segoe UI', system-ui, sans-serif; }
html[lang="ckb"] { --font-sans: 'Vazirmatn Eastern', 'Vazirmatn', 'Readex Pro Eastern', 'Noto Sans Arabic', 'Segoe UI', system-ui, sans-serif; }
html[dir="rtl"] { --font-num: var(--font-sans); --lh-body: 1.85; --track-display: 0; --track-h: 0; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-sans); font-size: 16px; line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
body::after { content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .045; mix-blend-mode: overlay;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.08; letter-spacing: var(--track-h); }
html[dir="rtl"] :is(h1, h2, h3, h4) { line-height: 1.4; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.num { font-family: var(--font-num); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--primary); color: var(--on-primary); padding: 8px 14px; border-radius: var(--r-pill); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(80px, 11vw, 150px); }
.section.tight { padding-block: clamp(56px, 7vw, 96px); }
.muted { color: var(--text-2); }

/* ---------- type ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-block-end: 20px; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
html[dir="rtl"] .kicker { letter-spacing: 0; text-transform: none; font-size: 15px; }
.kicker i { width: 7px; height: 7px; border-radius: 50%; background: var(--dot); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dot) 18%, transparent); }
.mega { font-size: clamp(44px, 8.2vw, 112px); line-height: .98; letter-spacing: var(--track-display); font-weight: 500; }
html[dir="rtl"] .mega { font-size: clamp(38px, 6.6vw, 88px); line-height: 1.3; }
.display { font-size: clamp(38px, 5.6vw, 76px); line-height: 1.02; letter-spacing: var(--track-display); font-weight: 500; }
html[dir="rtl"] .display { font-size: clamp(34px, 4.8vw, 64px); line-height: 1.35; }
.h2 { font-size: clamp(30px, 4.2vw, 56px); line-height: 1.05; letter-spacing: var(--track-display); }
html[dir="rtl"] .h2 { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.4; }
.h3 { font-size: clamp(20px, 2vw, 26px); }
.lead { font-size: clamp(17px, 1.5vw, 21px); color: var(--text-2); max-width: 640px; line-height: 1.55; }
html[dir="rtl"] .lead { line-height: 1.85; }
.glow-text { background: linear-gradient(100deg, #F3F1EC 10%, #ADBFFF 45%, #CDB3FE 70%, #F38649 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ink-text { background: linear-gradient(100deg, var(--text) 30%, var(--primary) 70%, var(--dot)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.head { max-width: 820px; margin-block-end: clamp(40px, 6vw, 72px); }
.head.center { margin-inline: auto; }
.head .lead { margin-block-start: 20px; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-block-end: clamp(36px, 5vw, 64px); }
.head-row .lead { max-width: 440px; margin: 0; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px;
  border-radius: var(--r-pill); border: 1px solid transparent; font-size: 15px; font-weight: 500; white-space: nowrap; cursor: pointer;
  transition: background .2s var(--ease-standard), border-color .2s, transform .1s, box-shadow .3s; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn .arrow { width: 18px; height: 18px; transition: transform .3s var(--ease-drift); }
.btn:hover .arrow { transform: translateX(calc(4px * var(--dir))); }
html[dir="rtl"] .arrow, html[dir="rtl"] .flip-rtl { scale: -1 1; }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 8px 24px -8px color-mix(in srgb, var(--primary) 60%, transparent), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { background: var(--primary-pressed); }
.btn-light { background: #F3F1EC; color: #0B1026; box-shadow: 0 10px 30px -10px rgba(138,161,254,.6), inset 0 -2px 0 rgba(11,16,38,.08); }
.btn-light:hover { background: #fff; box-shadow: 0 14px 40px -10px rgba(138,161,254,.8); }
.btn-glass { background: rgba(243,241,236,.06); color: #F3F1EC; border-color: rgba(243,241,236,.18); backdrop-filter: blur(10px); }
.btn-glass:hover { border-color: rgba(243,241,236,.5); background: rgba(243,241,236,.1); }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--text-3); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center .actions { justify-content: center; }
.text-link { color: var(--primary); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.text-link .arrow { width: 16px; height: 16px; transition: transform .3s var(--ease-drift); }
.text-link:hover .arrow { transform: translateX(calc(4px * var(--dir))); }

/* ---------- header: floating island ---------- */
.site-header { position: sticky; top: 0; z-index: 60; padding: calc(12px + env(safe-area-inset-top, 0px)) var(--gutter) 0; pointer-events: none; }
.island { pointer-events: auto; max-width: var(--wrap); margin-inline: auto; height: 62px; display: flex; align-items: center; gap: 18px;
  padding-inline: 18px 8px; border-radius: var(--r-pill); background: var(--glass); border: 1px solid var(--glass-line);
  backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 10px 40px -16px rgba(11,16,38,.25), inset 0 1px 0 rgba(255,255,255,.5); }
.on-space .island { background: rgba(16,21,44,.62); border-color: rgba(173,191,255,.16); color: #F3F1EC; box-shadow: 0 10px 40px -10px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.06);
  --text: #F3F1EC; --text-2: #B0B7CB; --surface-2: rgba(243,241,236,.08); --surface: #141A33; --border: rgba(173,191,255,.16); --primary: #8AA1FE; --on-primary: #0B1026; --dot: #F38649; }
.brand { display: inline-flex; align-items: center; flex: none; color: var(--text); }
.brand svg { height: 28px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav > a, .nav-menu > summary { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--r-pill); font-size: 14.5px; color: var(--text-2); cursor: pointer; list-style: none; transition: color .2s, background .2s; }
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav > a:hover, .nav-menu > summary:hover, .nav > a[aria-current="page"], .nav-menu[open] > summary { color: var(--text); background: var(--surface-2); }
.nav-menu { position: relative; }
.nav-menu .chev { width: 14px; height: 14px; transition: transform .2s; }
.nav-menu[open] .chev { transform: rotate(180deg); }
.megamenu { position: absolute; top: calc(100% + 16px); inset-inline-start: -140px; width: min(760px, 92vw); padding: 10px; border-radius: 28px;
  background: #fff; color: #0B1026; border: 1px solid #E7E3DB; box-shadow: var(--shadow-float); display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  animation: pop .28s var(--ease-drift); --text-2: #5B5E6B; --surface-2: #F4F1EA; --primary: #5164E9; --tint: #E6ECFF; --border: #E7E3DB; }
.on-space .megamenu, :root[data-theme="dark"] .megamenu { background: #141A33; color: #F3F1EC; border-color: rgba(173,191,255,.16); --text-2: #B0B7CB; --surface-2: rgba(243,241,236,.06); --primary: #8AA1FE; --tint: #202875; --border: rgba(173,191,255,.16); }
.megamenu a { display: flex; gap: 14px; padding: 14px; border-radius: 18px; align-items: flex-start; transition: background .2s; }
.megamenu a:hover { background: var(--surface-2); }
.megamenu .ico { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--tint); color: var(--primary); display: grid; place-items: center; }
.megamenu .ico svg { width: 20px; height: 20px; }
.megamenu strong { display: block; font-weight: 500; font-size: 15px; }
.megamenu span span { display: block; font-size: 13px; color: var(--text-2); line-height: 1.45; margin-top: 2px; }
.megamenu .mega-foot { grid-column: 1 / -1; padding: 14px; border-top: 1px solid var(--border); margin-top: 6px; }
.header-end { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; }
.lang-switch { position: relative; }
.lang-switch > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--r-pill); color: var(--text-2); font-size: 14px; }
.lang-switch > summary::-webkit-details-marker { display: none; }
.lang-switch > summary:hover, .lang-switch[open] > summary { background: var(--surface-2); color: var(--text); }
.lang-switch svg { width: 18px; height: 18px; }
.lang-list { position: absolute; top: calc(100% + 14px); inset-inline-end: 0; min-width: 180px; padding: 6px; border-radius: 18px; background: #fff; color: #0B1026;
  border: 1px solid #E7E3DB; box-shadow: var(--shadow-float); animation: pop .25s var(--ease-drift); }
.on-space .lang-list, :root[data-theme="dark"] .lang-list { background: #141A33; color: #F3F1EC; border-color: rgba(173,191,255,.16); }
.lang-list a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: 15px; }
.lang-list a:hover { background: rgba(127,127,127,.1); }
.lang-list a[aria-current="true"] { color: var(--primary); font-weight: 500; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%; border: 0; background: transparent; color: var(--text-2); cursor: pointer; }
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn svg { width: 19px; height: 19px; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-toggle .sun { display: none; } :root:not([data-theme="light"]) .theme-toggle .moon { display: block; } }
.signin { color: var(--text); padding: 8px 14px; font-size: 14.5px; border-radius: var(--r-pill); }
.signin:hover { background: var(--surface-2); }
.menu-btn { display: none; }
.drawer { display: none; }
@media (max-width: 1020px) {
  .nav, .header-end .signin, .header-end .lang-switch, .header-end .theme-toggle { display: none; }
  .menu-btn { display: inline-grid; }
  .drawer[data-open="true"] { display: block; pointer-events: auto; position: fixed; inset: calc(86px + env(safe-area-inset-top, 0px)) 12px auto; max-height: calc(100dvh - 100px); overflow-y: auto; z-index: 59;
    background: #fff; color: #0B1026; border: 1px solid #E7E3DB; border-radius: 28px; box-shadow: var(--shadow-float); padding: 12px 16px 20px;
    animation: pop .28s var(--ease-drift); --text-2: #5B5E6B; --border: #E7E3DB; --primary: #5164E9; }
  :root[data-theme="dark"] .drawer[data-open="true"], .on-space .drawer[data-open="true"] { background: #141A33; color: #F3F1EC; --text-2: #B0B7CB; --border: rgba(173,191,255,.16); --primary: #8AA1FE; border-color: rgba(173,191,255,.16); }
  .drawer h4 { font-size: 12px; color: var(--text-2); font-weight: 500; margin: 16px 6px 6px; letter-spacing: .08em; text-transform: uppercase; }
  html[dir="rtl"] .drawer h4 { letter-spacing: 0; text-transform: none; font-size: 13px; }
  .drawer a.d-link { display: flex; align-items: center; gap: 12px; padding: 11px 6px; font-size: 16px; border-radius: 12px; }
  .drawer a.d-link svg { width: 20px; height: 20px; color: var(--primary); }
  .drawer .d-grid { display: grid; grid-template-columns: 1fr 1fr; }
  .drawer .d-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 6px 0; align-items: center; }
  .drawer .d-row a { padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--r-pill); font-size: 15px; }
  .drawer .d-row a[aria-current="true"] { border-color: var(--primary); color: var(--primary); }
  .drawer .actions { margin-top: 18px; }
  .drawer .actions .btn { flex: 1; }
}
@media (max-width: 440px) { .header-end > .btn-primary { display: none; } .island { padding-inline: 14px 6px; } }

/* ---------- Deep Space surfaces ---------- */
.space { position: relative; isolation: isolate; overflow: hidden; background: var(--space); color: var(--space-text);
  --text: var(--space-text); --text-2: var(--space-text-2); --text-3: #7D84A0; --primary: var(--space-primary); --on-primary: #0B1026; --dot: var(--space-dot);
  --border: var(--space-line); --surface: rgba(20,26,51,.7); --surface-2: rgba(28,35,66,.7); --tint: #202875; }
.first { margin-top: calc(-74px - env(safe-area-inset-top, 0px)); padding-top: calc(74px + env(safe-area-inset-top, 0px)); }
.aurora { position: absolute; inset: -20% -10% auto; height: 120%; z-index: -2; pointer-events: none; filter: blur(70px) saturate(1.2); opacity: .9; }
.aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: drift 22s var(--ease-orbit) infinite alternate; }
.aurora span:nth-child(1) { width: 52vw; height: 40vw; left: 8%; top: 4%; background: radial-gradient(closest-side, rgba(81,100,233,.55), transparent); }
.aurora span:nth-child(2) { width: 40vw; height: 34vw; right: 4%; top: 12%; background: radial-gradient(closest-side, rgba(205,179,254,.38), transparent); animation-duration: 28s; animation-delay: -6s; }
.aurora span:nth-child(3) { width: 30vw; height: 24vw; left: 40%; top: 36%; background: radial-gradient(closest-side, rgba(243,134,73,.28), transparent); animation-duration: 34s; animation-delay: -12s; }
@keyframes drift { 0% { transform: translate3d(0,0,0) scale(1); } 100% { transform: translate3d(6vw, 4vw, 0) scale(1.15); } }
.gridlines { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(173,191,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(173,191,255,.07) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); }
.stars { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .8;
  background-image: radial-gradient(1px 1px at 12% 22%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 28% 68%, rgba(255,255,255,.6) 50%, transparent 51%),
  radial-gradient(1.5px 1.5px at 44% 14%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 63% 38%, rgba(255,255,255,.5) 50%, transparent 51%),
  radial-gradient(1px 1px at 78% 18%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 88% 54%, rgba(255,255,255,.6) 50%, transparent 51%),
  radial-gradient(1px 1px at 6% 84%, rgba(255,255,255,.6) 50%, transparent 51%), radial-gradient(1px 1px at 94% 86%, rgba(255,255,255,.6) 50%, transparent 51%); }
.horizon { position: absolute; z-index: -1; left: 50%; bottom: -1px; width: 180%; height: 40%; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse 45% 100% at 50% 100%, rgba(81,100,233,.45), transparent 70%); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(64px, 9vw, 120px) 0; text-align: center; }
.hero .lead { margin: 26px auto 36px; color: var(--space-text-2); }
.hero .mega { max-width: 1050px; margin-inline: auto; }
.pill-note { display: inline-flex; align-items: center; gap: 10px; padding: 6px 8px 6px 14px; border-radius: var(--r-pill); border: 1px solid rgba(173,191,255,.2);
  background: rgba(20,26,51,.5); backdrop-filter: blur(8px); font-size: 13.5px; color: var(--space-text-2); margin-bottom: 28px; }
html[dir="rtl"] .pill-note { padding: 6px 14px 6px 8px; }
.pill-note b { font-weight: 500; color: #0B1026; background: #F3F1EC; border-radius: var(--r-pill); padding: 2px 10px; font-size: 12px; }
.hero-notes { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 14px; color: var(--space-text-2); }
.hero-notes span { display: inline-flex; gap: 8px; align-items: center; }
.hero-notes svg { width: 16px; height: 16px; color: #88D5BC; }
.page-hero { padding-block: clamp(56px, 8vw, 110px) clamp(64px, 9vw, 120px); }
.page-hero .lead { margin-block: 22px 32px; color: var(--space-text-2); }
.split-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.split-hero.wide-visual { grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); }
@media (max-width: 980px) { .split-hero, .split-hero.wide-visual { grid-template-columns: minmax(0, 1fr); } }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--space-text-2); margin-bottom: 24px; }
.crumbs a:hover { color: var(--space-text); }

/* ---------- 3D scenes ---------- */
.scene { position: relative; perspective: 2400px; perspective-origin: 50% 40%; }
.stage { position: relative; transform-style: preserve-3d; transition: transform .9s var(--ease-drift);
  transform: rotateX(calc(var(--rx, 14deg) + var(--px, 0deg))) rotateY(calc((var(--ry, -16deg) + var(--py, 0deg)) * var(--dir))) rotateZ(calc(var(--rz, 0deg) * var(--dir))); }
.layer { position: absolute; transform-style: preserve-3d; transform: translateZ(var(--z, 0px)); }
.fit { position: relative; width: 100%; }
.fit > .fit-inner { width: var(--w); height: var(--h); zoom: var(--s, 1); margin-inline: auto; }

.phone3d { position: relative; width: 300px; height: 620px; border-radius: 50px; padding: 11px; transform-style: preserve-3d;
  background: linear-gradient(150deg, #3a405a, #11152a 40%, #2a3050); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.12), inset 0 0 0 5px #070912; }
.phone3d::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #05060d; transform: translateZ(-14px); box-shadow: 0 60px 100px -30px rgba(0,0,0,.75); }
.phone3d .notch { position: absolute; top: 22px; left: 50%; width: 96px; height: 28px; margin-left: -48px; border-radius: 20px; background: #000; z-index: 5; transform: translateZ(2px); }
.phone3d .scr { position: relative; height: 100%; border-radius: 40px; overflow: hidden; transform: translateZ(1px); }
.phone3d .scr::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 9; background: linear-gradient(115deg, rgba(255,255,255,.16), transparent 32%, transparent 70%, rgba(255,255,255,.04)); }
.laptop { position: relative; width: 980px; transform-style: preserve-3d; }
.laptop .lid { position: relative; border-radius: 22px 22px 8px 8px; padding: 16px 16px 28px; background: linear-gradient(#1f2440, #0d1124); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.1); transform-style: preserve-3d; }
.laptop .lid::before { content: ""; position: absolute; top: 7px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #2c3354; }
.laptop .lid .scr { position: relative; height: 600px; border-radius: 6px; overflow: hidden; background: #FCFAF6; transform: translateZ(1px); }
.laptop .lid .scr::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, rgba(255,255,255,.18), transparent 30%); }
.laptop .base { position: relative; height: 22px; margin-inline: -7%; border-radius: 4px 4px 26px 26px; background: linear-gradient(#d9dce6, #9ba0b2 70%, #6d7287); box-shadow: 0 50px 90px -30px rgba(0,0,0,.7); }
.laptop .base::before { content: ""; position: absolute; top: 0; left: 50%; width: 16%; height: 8px; margin-left: -8%; border-radius: 0 0 10px 10px; background: #8a8fa2; }
.browser { position: relative; width: 980px; border-radius: 18px; overflow: hidden; background: #FCFAF6; box-shadow: 0 0 0 1px rgba(11,16,38,.08), var(--shadow-float); }
.browser .bar { height: 42px; display: flex; align-items: center; gap: 8px; padding-inline: 16px; background: #EFEBE3; border-bottom: 1px solid #E2DDD2; direction: ltr; }
.browser .bar i { width: 11px; height: 11px; border-radius: 50%; background: #E0DACF; }
.browser .bar i:nth-child(1) { background: #FF5F57; } .browser .bar i:nth-child(2) { background: #FEBC2E; } .browser .bar i:nth-child(3) { background: #28C840; }
.browser .url { margin-inline: auto; min-width: 260px; padding: 5px 14px; border-radius: 10px; background: #FCFAF6; color: #5B5E6B; font-size: 12.5px; text-align: center; font-family: 'Azeret Mono', monospace; }
.glass { display: flex; align-items: center; gap: 12px; padding: 13px 16px; min-width: 230px; border-radius: 18px; font-size: 13px; line-height: 1.35; text-align: start;
  background: rgba(255,255,255,.84); color: #0B1026; border: 1px solid rgba(255,255,255,.7); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 30px 60px -20px rgba(11,16,38,.45), inset 0 1px 0 #fff; }
.glass.dark { background: rgba(20,26,51,.8); color: #F3F1EC; border-color: rgba(173,191,255,.18); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08); }
.glass small { display: block; color: #5B5E6B; font-size: 12px; }
.glass.dark small { color: #B0B7CB; }
.glass b { font-weight: 500; }
.glass .g-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.glass .g-ico svg { width: 19px; height: 19px; }
.float-y { animation: bob 7s var(--ease-orbit) infinite alternate; }
.float-y.d2 { animation-duration: 9s; animation-delay: -3s; }
.float-y.d3 { animation-duration: 8s; animation-delay: -5s; }
@keyframes bob { from { translate: 0 -6px; } to { translate: 0 8px; } }

/* ---------- app screens (inside devices) ---------- */
.app { --a-bg: #FCFAF6; --a-surface: #fff; --a-surface-2: #F6F3ED; --a-line: #E7E3DB; --a-text: #0B1026; --a-text-2: #5B5E6B; --a-primary: #5164E9; --a-dot: #DE6506;
  background: var(--a-bg); color: var(--a-text); font-size: 12px; line-height: 1.4; height: 100%; display: flex; flex-direction: column; text-align: start; position: relative;
  --text: var(--a-text); --text-2: var(--a-text-2); --surface: var(--a-surface); --surface-2: var(--a-surface-2); --border: var(--a-line); --primary: var(--a-primary); --dot: var(--a-dot); --tint: #E6ECFF; --bg: var(--a-bg);
  --present-fg: #027059; --present-bg: #DBF3EB; --late-fg: #7E5600; --late-bg: #FAEBD3; --absent-fg: #AC1F2E; --absent-bg: #FEE7E5; --leave-fg: #703EB1; --leave-bg: #F0E9FE;
  --holiday-fg: #05688C; --holiday-bg: #DBF1FD; --pending-fg: #5B5E6B; --pending-bg: #ECEDF0; --overtime-fg: #3F4EC5; --overtime-bg: #E6ECFF; }
:root[data-theme="dark"] .app.auto { --a-bg: #0B1026; --a-surface: #141A33; --a-surface-2: #1C2342; --a-line: #2A314C; --a-text: #F3F1EC; --a-text-2: #B0B7CB; --a-primary: #8AA1FE; --a-dot: #F38649; --tint: #202875;
  --present-fg: #88D5BC; --present-bg: #013E30; --late-fg: #E8BA72; --late-bg: #472F00; --absent-fg: #FFA8A4; --absent-bg: #650714; --leave-fg: #CDB3FE; --leave-bg: #3F1E68;
  --holiday-fg: #89CDF0; --holiday-bg: #003950; --pending-fg: #BFC2CC; --pending-bg: #32343C; --overtime-fg: #ADBFFF; --overtime-bg: #202875; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .app.auto { --a-bg: #0B1026; --a-surface: #141A33; --a-surface-2: #1C2342; --a-line: #2A314C; --a-text: #F3F1EC; --a-text-2: #B0B7CB; --a-primary: #8AA1FE; --a-dot: #F38649; --tint: #202875;
  --present-fg: #88D5BC; --present-bg: #013E30; --late-fg: #E8BA72; --late-bg: #472F00; --absent-fg: #FFA8A4; --absent-bg: #650714; --leave-fg: #CDB3FE; --leave-bg: #3F1E68;
  --holiday-fg: #89CDF0; --holiday-bg: #003950; --pending-fg: #BFC2CC; --pending-bg: #32343C; --overtime-fg: #ADBFFF; --overtime-bg: #202875; } }
.app.dark { --a-bg: #0B1026; --a-surface: #141A33; --a-surface-2: #1C2342; --a-line: #2A314C; --a-text: #F3F1EC; --a-text-2: #B0B7CB; --a-primary: #8AA1FE; --a-dot: #F38649; --tint: #202875;
  --present-fg: #88D5BC; --present-bg: #013E30; --late-fg: #E8BA72; --late-bg: #472F00; --absent-fg: #FFA8A4; --absent-bg: #650714; --leave-fg: #CDB3FE; --leave-bg: #3F1E68;
  --holiday-fg: #89CDF0; --holiday-bg: #003950; --pending-fg: #BFC2CC; --pending-bg: #32343C; --overtime-fg: #ADBFFF; --overtime-bg: #202875; }
.app .m-status { display: flex; justify-content: space-between; padding: 17px 28px 0; font-size: 12px; font-weight: 600; height: 46px; }
.app .m-body { flex: 1; padding: 10px 16px 92px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.app .m-title { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
html[dir="rtl"] .app .m-title { letter-spacing: 0; }
.app .m-sub { color: var(--a-text-2); font-size: 11px; margin-top: -6px; }
.app .m-head { display: flex; align-items: center; justify-content: space-between; }
.app .m-hello small { display: block; color: var(--a-text-2); font-size: 11px; }
.app .m-hello strong { font-weight: 500; font-size: 16px; }
.app .m-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--a-surface-2); display: grid; place-items: center; font-size: 11.5px; font-weight: 600; color: var(--a-primary); }
.app .m-card { background: var(--a-surface); border: 1px solid var(--a-line); border-radius: 18px; padding: 12px; }
.arc { --arc-track: #ECEDF0; --arc-fill: #5164E9; --arc-dot: #DE6506; --arc-ring: var(--a-surface, #FFFFFF); overflow: visible; }
.arc .arc-track { stroke: var(--arc-track); }
.arc .arc-fill { stroke: var(--arc-fill); transition: stroke-dasharray 1s var(--ease-drift); }
.arc .arc-ring { fill: var(--arc-ring); }
.arc .arc-sun { fill: var(--arc-dot); }
.arc .arc-dot { transition: transform 1s var(--ease-drift); }
.app.dark .arc, .space .arc, .widget:not(.light) .arc, .tile.dark .arc { --arc-track: #1C2342; --arc-fill: #8AA1FE; --arc-dot: #F38649; --arc-ring: var(--a-surface, #0B1026); }
:root[data-theme="dark"] .app.auto .arc { --arc-track: #1C2342; --arc-fill: #8AA1FE; --arc-dot: #F38649; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .app.auto .arc { --arc-track: #1C2342; --arc-fill: #8AA1FE; --arc-dot: #F38649; } }
.space .arc { --arc-ring: var(--space); }
.widget:not(.light) .arc { --arc-ring: #141A33; }
.app .m-arc { position: relative; padding: 4px 4px 0; }
.app .m-arc-center { position: absolute; inset: 34% 0 auto; text-align: center; }
.app .m-arc-center .t { font-size: 26px; font-weight: 500; }
.app .m-arc-center small { display: block; color: var(--a-text-2); font-size: 11px; }
.app .m-arc-ends { display: flex; justify-content: space-between; color: var(--a-text-2); font-size: 10.5px; margin-top: -6px; padding-inline: 6px; }
.app .m-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 999px; background: var(--a-primary); color: var(--a-bg); font-weight: 500; font-size: 13px; }
.app .m-btn svg { width: 18px; height: 18px; }
.app .m-row { display: flex; align-items: center; gap: 10px; }
.app .m-row + .m-row { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--a-line); }
.app .m-row .grow { flex: 1; min-width: 0; }
.app .m-row b { font-weight: 500; }
.app .m-row small { display: block; color: var(--a-text-2); font-size: 10.5px; }
.app .m-ico { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--a-surface-2); color: var(--a-primary); flex: none; }
.app .m-ico svg { width: 16px; height: 16px; }
.app .m-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.app .m-tile { background: var(--a-surface); border: 1px solid var(--a-line); border-radius: 14px; padding: 9px 10px; }
.app .m-tile small { display: block; color: var(--a-text-2); font-size: 10px; }
.app .m-tile b { font-size: 17px; font-weight: 500; }
.app .m-tile i { display: block; height: 3px; border-radius: 3px; margin-top: 6px; background: var(--a-primary); }
.app .m-done { display: grid; place-items: center; text-align: center; gap: 8px; padding: 18px 10px; }
.app .m-done .ok { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--present-bg); color: var(--present-fg); }
.app .m-done .ok svg { width: 30px; height: 30px; }
.app .m-done b { font-size: 16px; font-weight: 500; }
/* the app's floating glass pill tab bar (66 px, radius 30, white 78 %, blur); Profile last */
.app .pillbar { position: absolute; inset-inline: 14px; bottom: 16px; height: 62px; border-radius: 30px; display: flex; justify-content: space-around; align-items: center;
  background: rgba(255,255,255,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(231,227,219,.9); box-shadow: 0 10px 30px -12px rgba(11,16,38,.25); color: var(--a-text-2); z-index: 3; }
.app.dark .pillbar, :root[data-theme="dark"] .app.auto .pillbar { background: rgba(20,26,51,.8); border-color: rgba(42,49,76,.9); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .app.auto .pillbar { background: rgba(20,26,51,.8); border-color: rgba(42,49,76,.9); } }
.app .pillbar span { display: grid; justify-items: center; gap: 3px; font-size: 9px; }
.app .pillbar span.on { color: var(--a-primary); }
.app .pillbar svg { width: 19px; height: 19px; }
.app .home-ind { position: absolute; bottom: 6px; left: 50%; width: 110px; height: 4px; margin-left: -55px; border-radius: 4px; background: var(--a-text); opacity: .7; z-index: 4; }
.web { display: grid; grid-template-columns: 196px 1fr; height: 100%; font-size: 11.5px; }
.web .side { background: #F2EEE6; border-inline-end: 1px solid #E7E3DB; padding: 16px 12px; display: flex; flex-direction: column; gap: 3px; }
.app.dark .web .side, :root[data-theme="dark"] .app.auto .web .side { background: #10152C; border-color: #2A314C; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .app.auto .web .side { background: #10152C; border-color: #2A314C; } }
.web .side .brandrow { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; color: var(--a-text); }
.web .side .brandrow svg { height: 20px; width: auto; }
.web .side .co { display: flex; gap: 8px; align-items: center; padding: 8px; border-radius: 12px; background: var(--a-surface); border: 1px solid var(--a-line); margin-bottom: 12px; }
.web .side .co b { display: block; font-weight: 500; font-size: 11px; }
.web .side .co small { font-size: 9.5px; color: var(--a-text-2); }
.web .side .co i { width: 24px; height: 24px; border-radius: 8px; background: #0B1026; color: #fff; display: grid; place-items: center; font-style: normal; font-size: 9px; font-weight: 600; flex: none; }
.web .side .grp { font-size: 9px; letter-spacing: .1em; color: var(--a-text-2); margin: 8px 8px 4px; text-transform: uppercase; }
html[dir="rtl"] .web .side .grp { letter-spacing: 0; }
.web .side a { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 10px; color: var(--a-text-2); }
.web .side a.on { background: var(--a-surface); color: var(--a-primary); font-weight: 500; box-shadow: 0 1px 2px rgba(11,16,38,.06); }
.web .side a svg { width: 15px; height: 15px; }
.web .side a em { margin-inline-start: auto; font-style: normal; font-size: 9.5px; }
.web .side a em.badge { background: var(--a-dot); color: #fff; border-radius: 99px; padding: 0 6px; }
.web .main { padding: 14px 18px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; min-width: 0; }
.web .top { display: flex; align-items: center; gap: 10px; }
.web .search { flex: 1; max-width: 300px; display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 10px; background: var(--a-surface); border: 1px solid var(--a-line); color: var(--a-text-2); }
.web .search svg { width: 14px; height: 14px; }
.web .top .newreq { margin-inline-start: auto; background: var(--a-primary); color: #fff; padding: 7px 12px; border-radius: 10px; font-weight: 500; }
.web .greet { border-radius: 16px; padding: 16px 18px; background: linear-gradient(100deg, #EEF0FF, #F7EEFF 55%, #FFEFE6); border: 1px solid var(--a-line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.app.dark .web .greet, :root[data-theme="dark"] .app.auto .web .greet { background: linear-gradient(100deg, #1C2342, #241F45 55%, #2E2030); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .app.auto .web .greet { background: linear-gradient(100deg, #1C2342, #241F45 55%, #2E2030); } }
.web .greet b { display: block; font-size: 19px; font-weight: 500; }
.web .greet small { color: var(--a-text-2); font-size: 11px; }
.web .greet .btns { display: flex; gap: 6px; }
.web .greet .btns span { padding: 6px 10px; border-radius: 9px; background: #0B1026; color: #fff; font-weight: 500; white-space: nowrap; }
.web .greet .btns span + span { background: var(--a-surface); color: var(--a-text); border: 1px solid var(--a-line); }
.web .kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.web .kpi { background: var(--a-surface); border: 1px solid var(--a-line); border-radius: 14px; padding: 11px 12px; }
.web .kpi b { display: block; font-size: 26px; font-weight: 500; margin-top: 6px; line-height: 1.1; }
.web .kpi small { color: var(--a-text-2); font-size: 10px; }
.web .row2 { display: grid; grid-template-columns: 1.15fr 1fr; gap: 10px; flex: 1; min-height: 0; }
.web .box { background: var(--a-surface); border: 1px solid var(--a-line); border-radius: 14px; padding: 12px 14px; overflow: hidden; }
.web .box h6 { margin: 0 0 8px; font-size: 12px; font-weight: 500; }
.web .bars { display: flex; align-items: flex-end; gap: 14px; height: 150px; padding-top: 6px; border-bottom: 1px solid var(--a-line); }
.web .bars div { flex: 1; display: flex; flex-direction: column-reverse; gap: 2px; height: 100%; }
.web .bars i { display: block; border-radius: 4px; }
.web .bars .p { background: #0BA37F; } .web .bars .l { background: #E0A43A; } .web .bars .v { background: #B48CF5; } .web .bars .a { border: 1.5px solid #E5484D; }
.web .bars .future { opacity: .25; }
.web .bars-x { display: flex; gap: 14px; margin-top: 4px; color: var(--a-text-2); font-size: 9.5px; }
.web .bars-x span { flex: 1; text-align: center; }
.web .att { display: flex; align-items: center; gap: 9px; padding: 7px 0; border-top: 1px solid var(--a-line); }
.web .att:first-of-type { border-top: 0; }
.web .att .ai { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.web .att .ai svg { width: 14px; height: 14px; }
.web .att b { font-weight: 500; display: block; }
.web .att small { color: var(--a-text-2); font-size: 9.5px; }
.web .att em { margin-inline-start: auto; font-style: normal; font-weight: 600; }

/* ---------- chips (status system: glyph + label + colour) ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: var(--r-pill); font-size: 12px; font-weight: 500; white-space: nowrap; line-height: 1.2; }
.chip svg { width: 12px; height: 12px; flex: none; }
.chip.present, .chip.approved { color: var(--present-fg); background: var(--present-bg); }
.chip.late { color: var(--late-fg); background: var(--late-bg); }
.chip.absent, .chip.rejected { color: var(--absent-fg); background: var(--absent-bg); }
.chip.leave { color: var(--leave-fg); background: var(--leave-bg); }
.chip.holiday { color: var(--holiday-fg); background: var(--holiday-bg); }
.chip.pending { color: var(--pending-fg); background: var(--pending-bg); }
.chip.overtime { color: var(--overtime-fg); background: var(--overtime-bg); }
.app .chip { font-size: 10px; padding: 3px 8px; }
.app .chip svg { width: 10px; height: 10px; }

/* ---------- panels (product UI cards; always light, like the app) ---------- */
.panel { width: 100%; max-width: 520px; padding: 20px; border-radius: var(--r-lg); font-size: 14px; text-align: start; line-height: 1.5;
  background: #FFFFFF; color: #0B1026; border: 1px solid #E7E3DB; box-shadow: var(--shadow-float);
  --text: #0B1026; --text-2: #5B5E6B; --surface: #fff; --surface-2: #F6F3ED; --border: #E7E3DB; --primary: #5164E9; --on-primary: #fff; --dot: #DE6506; --tint: #E6ECFF;
  --present-fg: #027059; --present-bg: #DBF3EB; --late-fg: #7E5600; --late-bg: #FAEBD3; --absent-fg: #AC1F2E; --absent-bg: #FEE7E5; --leave-fg: #703EB1; --leave-bg: #F0E9FE;
  --holiday-fg: #05688C; --holiday-bg: #DBF1FD; --pending-fg: #5B5E6B; --pending-bg: #ECEDF0; --overtime-fg: #3F4EC5; --overtime-bg: #E6ECFF; }
:root[data-theme="dark"] .panel { background: #141A33; color: #F3F1EC; border-color: #2A314C;
  --text: #F3F1EC; --text-2: #B0B7CB; --surface: #141A33; --surface-2: #1C2342; --border: #2A314C; --primary: #8AA1FE; --on-primary: #0B1026; --dot: #F38649; --tint: #202875;
  --present-fg: #88D5BC; --present-bg: #013E30; --late-fg: #E8BA72; --late-bg: #472F00; --absent-fg: #FFA8A4; --absent-bg: #650714; --leave-fg: #CDB3FE; --leave-bg: #3F1E68;
  --holiday-fg: #89CDF0; --holiday-bg: #003950; --pending-fg: #BFC2CC; --pending-bg: #32343C; --overtime-fg: #ADBFFF; --overtime-bg: #202875; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .panel { background: #141A33; color: #F3F1EC; border-color: #2A314C;
  --text: #F3F1EC; --text-2: #B0B7CB; --surface: #141A33; --surface-2: #1C2342; --border: #2A314C; --primary: #8AA1FE; --on-primary: #0B1026; --dot: #F38649; --tint: #202875;
  --present-fg: #88D5BC; --present-bg: #013E30; --late-fg: #E8BA72; --late-bg: #472F00; --absent-fg: #FFA8A4; --absent-bg: #650714; --leave-fg: #CDB3FE; --leave-bg: #3F1E68;
  --holiday-fg: #89CDF0; --holiday-bg: #003950; --pending-fg: #BFC2CC; --pending-bg: #32343C; --overtime-fg: #ADBFFF; --overtime-bg: #202875; } }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.panel-head strong { font-weight: 500; font-size: 15px; }
.panel-head small { color: var(--text-2); font-size: 12.5px; }
.panel-head > svg { width: 22px; height: 22px; flex: none; color: var(--text-2); }
.av svg { width: 18px; height: 18px; }
.p-row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--border); }
.p-row:first-of-type { border-top: 0; }
.p-row .who { min-width: 0; }
.p-row .who b { display: block; font-weight: 500; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-row .who small { display: block; color: var(--text-2); font-size: 12.5px; }
.p-row b.done { text-decoration: line-through; opacity: .55; }
.av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 500; background: var(--tint); color: var(--primary); flex: none; }
.av.o { background: #FBE6D6; color: #9A4304; } .av.g { background: var(--present-bg); color: var(--present-fg); } .av.v { background: var(--leave-bg); color: var(--leave-fg); }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.stat { background: var(--surface-2); border-radius: 14px; padding: 12px; }
.stat small { display: block; color: var(--text-2); font-size: 12px; }
.stat b { font-size: 22px; font-weight: 500; }
.bar { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: var(--primary); }
.money { font-family: var(--font-num); font-variant-numeric: tabular-nums; }
.slip-line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px dashed var(--border); font-size: 14px; }
.slip-line:first-of-type { border-top: 0; }
.slip-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--border); }
.slip-total b { font-size: 24px; font-weight: 500; }
.kanban { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kcol { background: var(--surface-2); border-radius: 14px; padding: 10px; min-width: 0; }
.kcol h5 { margin: 0 0 8px; font-size: 12px; font-weight: 500; color: var(--text-2); display: flex; justify-content: space-between; }
.kcard { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 9px; font-size: 12.5px; margin-top: 8px; }
.kcard b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kcard small { color: var(--text-2); }
.mini-chart { display: flex; align-items: flex-end; gap: 6px; height: 110px; padding-top: 8px; }
.mini-chart i { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--tint); }
.mini-chart i.hi { background: var(--primary); }
.map { position: relative; height: 150px; border-radius: 14px; margin-bottom: 8px; overflow: hidden; background-color: var(--surface-2);
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px), linear-gradient(115deg, transparent 46%, rgba(81,100,233,.18) 46.5%, rgba(81,100,233,.18) 49%, transparent 49.5%);
  background-size: 28px 28px, 28px 28px, 100% 100%; }
.map .geo { position: absolute; left: var(--x); top: var(--y); width: calc(var(--r) * 2); height: calc(var(--r) * 2); transform: translate(-50%, -50%); border-radius: 50%; border: 2px dashed var(--primary); background: rgba(81,100,233,.12); }
.map .pin { position: absolute; left: var(--x); top: var(--y); width: 12px; height: 12px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--dot); box-shadow: 0 0 0 3px var(--surface); }
.check { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--border); display: grid; place-items: center; flex: none; }
.check.on { background: var(--present-bg); border-color: transparent; color: var(--present-fg); }
.check svg { width: 15px; height: 15px; }
.careers-top { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 4px; border-bottom: 1px solid var(--border); }
.careers-top strong { font-weight: 500; font-size: 17px; }
.logo-tile { width: 44px; height: 44px; border-radius: 12px; background: #0B1026; display: grid; place-items: center; padding: 8px; --primary: #8AA1FE; --dot: #F38649; }
.mini-btn { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 14px; border-radius: var(--r-pill); background: var(--primary); color: #fff; font-size: 13px; font-weight: 500; white-space: nowrap; }
.mini-btn.ghost { background: transparent; color: var(--primary); border: 1px solid var(--border); }
.fmt { font-family: 'Azeret Mono', monospace; font-size: 11px; font-weight: 500; letter-spacing: .04em; padding: 4px 8px; border-radius: 8px; background: var(--surface-2); color: var(--text-2); }

.widget { width: 160px; height: 160px; border-radius: 30px; padding: 14px; background: #141A33; color: #F3F1EC; display: flex; flex-direction: column; justify-content: space-between; font-size: 12px; text-align: start;
  box-shadow: 0 30px 60px -24px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.06); }
.widget.light { background: #FFFFFF; color: #0B1026; box-shadow: 0 30px 60px -24px rgba(11,16,38,.4); }
.widget.wide { width: 334px; }
.widget small { color: #B0B7CB; font-size: 11px; }
.widget.light small { color: #5B5E6B; }
.widget b { font-size: 26px; font-weight: 500; line-height: 1; }

/* ---------- marquee ---------- */
.marquee { position: relative; overflow: hidden; padding-block: 6px; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee + .marquee { margin-top: 12px; }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 70s linear infinite; }
.marquee.rev .marquee-track { animation-direction: reverse; animation-duration: 80s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% * var(--dir))); } }
.mq-item { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--border); white-space: nowrap; font-size: 15px; }
.mq-item svg { width: 18px; height: 18px; color: var(--primary); }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: 16px; }
.tile { position: relative; grid-column: span var(--c, 4); grid-row: span var(--r, 1); border-radius: var(--r-xl); padding: clamp(22px, 2.4vw, 32px);
  background: var(--surface); border: 1px solid var(--border); overflow: hidden; isolation: isolate; display: flex; flex-direction: column; box-shadow: var(--shadow-1); }
.tile h3 { font-size: clamp(20px, 1.8vw, 24px); margin-bottom: 10px; }
.tile p { color: var(--text-2); font-size: 15px; margin: 0; max-width: 46ch; }
html[dir="rtl"] .tile p { max-width: none; }
.tile .t-visual { margin-top: auto; padding-top: 24px; position: relative; }
.tile.dark { background: var(--space); color: var(--space-text); border-color: rgba(173,191,255,.12);
  --text: var(--space-text); --text-2: var(--space-text-2); --primary: var(--space-primary); --on-primary: #0B1026; --dot: var(--space-dot); --surface: #141A33; --surface-2: #1C2342; --border: rgba(173,191,255,.14); --tint: #202875; }
.tile.dark::before { content: ""; position: absolute; inset: auto -20% -40% -20%; height: 80%; z-index: -1; background: radial-gradient(closest-side, rgba(81,100,233,.4), transparent); filter: blur(20px); }
.tile.tinted { background: linear-gradient(160deg, #EEF0FF, #F7EEFF 60%, #FFF1E8); }
:root[data-theme="dark"] .tile.tinted { background: linear-gradient(160deg, #1C2342, #241F45 60%, #2E2030); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tile.tinted { background: linear-gradient(160deg, #1C2342, #241F45 60%, #2E2030); } }
.tile .big { font-size: clamp(56px, 7vw, 96px); font-weight: 500; line-height: 1; letter-spacing: -0.04em; }
html[dir="rtl"] .tile .big { letter-spacing: 0; }
@media (max-width: 1020px) { .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); } .tile { grid-column: span 6; } .tile.half { grid-column: span 3; } }
@media (max-width: 640px) { .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; } .tile, .tile.half { grid-column: 1 / -1; grid-row: auto; min-height: 220px; } }
.spot { --mx: 50%; --my: 50%; }
.spot::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--primary) 14%, transparent), transparent 45%); }
.spot:hover::after { opacity: 1; }

.langs { display: grid; gap: 10px; }
.langs span { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 16px; background: var(--surface-2); font-size: 19px; transition: background .4s, color .4s; }
.langs span small { font-size: 13px; color: var(--text-2); }
.langs span.on { background: var(--primary); color: var(--on-primary); }
.langs span.on small { color: inherit; opacity: .9; font-weight: 500; }
.radar { position: relative; height: 210px; display: grid; place-items: center; }
.radar i { position: absolute; width: 60px; height: 60px; border-radius: 50%; border: 1.5px solid var(--primary); opacity: 0; animation: ping 3.6s var(--ease-orbit) infinite; }
.radar i:nth-child(2) { animation-delay: 1.2s; } .radar i:nth-child(3) { animation-delay: 2.4s; }
@keyframes ping { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(3.4); opacity: 0; } }
.radar b { position: relative; width: 22px; height: 22px; border-radius: 50%; background: var(--dot); box-shadow: 0 0 0 6px color-mix(in srgb, var(--dot) 25%, transparent), 0 0 40px var(--dot); }
.radar .zone-ring { position: absolute; width: 190px; height: 190px; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--primary) 60%, transparent); }
.sync { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sync .dotq { display: flex; gap: 6px; }
.sync .dotq i { width: 10px; height: 10px; border-radius: 50%; background: var(--dot); animation: q 2.4s var(--ease-orbit) infinite; }
.sync .dotq i:nth-child(2) { animation-delay: .3s; } .sync .dotq i:nth-child(3) { animation-delay: .6s; }
@keyframes q { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-6px); } }
.weekend { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; text-align: center; font-size: 12px; }
.weekend span { padding: 12px 0; border-radius: 12px; background: var(--surface-2); color: var(--text-2); }
.weekend span.off { background: var(--leave-bg); color: var(--leave-fg); font-weight: 500; }
.ticker { font-family: var(--font-num); font-size: clamp(30px, 3.4vw, 46px); font-weight: 500; line-height: 1.1; }
.ticker small { font-size: .45em; color: var(--text-2); margin-inline-start: 6px; }
.clock { font-family: var(--font-num); font-size: clamp(30px, 3vw, 44px); font-weight: 500; line-height: 1; white-space: nowrap; }

/* ---------- sticky story ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); }
.story-visual { position: sticky; top: max(100px, 12vh); height: min(76vh, 760px); display: grid; place-items: center; }
.story-steps .step { min-height: min(72vh, 700px); display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .5s var(--ease-standard); }
.story-steps .step.active { opacity: 1; }
.step .when { font-family: var(--font-num); font-size: 15px; color: var(--primary); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.step .when::before { content: ""; width: 40px; height: 1.5px; background: currentColor; }
.step h3 { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: var(--track-display); margin-bottom: 14px; }
.step p { font-size: 18px; color: var(--text-2); max-width: 460px; }
.screens { position: absolute; inset: 0; }
.screens .scrn { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease-drift); }
.screens .scrn.on { opacity: 1; }
.step-media { display: none; }
@media (max-width: 900px) {
  .story { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .story-visual { order: -1; position: relative; top: auto; height: auto; }
  .story-visual > div { width: min(100%, 250px) !important; }
  .story.has-media .story-visual { display: none; }
  .story.has-media .step-media { display: grid; place-items: center; margin-top: 22px; }
  .story-steps { display: grid; gap: 16px; }
  .story-steps .step { min-height: 0; opacity: 1; }
  .story-steps .step .card-ish { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 22px; box-shadow: var(--shadow-1); }
}

/* ---------- product explorer ---------- */
.explorer { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.ex-list { display: grid; gap: 4px; }
.ex-list button { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; border-radius: 18px; border: 1px solid transparent; background: transparent; cursor: pointer; text-align: start; transition: background .25s, border-color .25s; }
.ex-list button .ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); flex: none; transition: background .25s, color .25s; }
.ex-list button .ico svg { width: 19px; height: 19px; }
.ex-list button strong { display: block; font-weight: 500; font-size: 16px; }
.ex-list button span span { display: block; font-size: 13.5px; color: var(--text-2); line-height: 1.45; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s var(--ease-drift), opacity .3s; }
.ex-list button[aria-selected="true"] { background: var(--surface); border-color: var(--border); box-shadow: var(--shadow-1); }
.ex-list button[aria-selected="true"] .ico { background: var(--primary); color: var(--on-primary); }
.ex-list button[aria-selected="true"] span span { max-height: 80px; opacity: 1; margin-top: 4px; }
.ex-panels { position: relative; min-height: 560px; perspective: 1600px; }
.ex-panels .tabpanel { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: translateY(18px) rotateX(8deg); transition: opacity .5s var(--ease-drift), transform .7s var(--ease-drift); pointer-events: none; }
.ex-panels .tabpanel.on { opacity: 1; transform: none; pointer-events: auto; }
.ex-panels .tabpanel[hidden] { display: grid !important; }
.ex-panels .tabpanel .panel { box-shadow: 0 60px 100px -40px rgba(11,16,38,.45); }
.ex-glow { position: absolute; inset: 10%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--primary) 28%, transparent), transparent); filter: blur(30px); }
@media (max-width: 980px) {
  .explorer { grid-template-columns: minmax(0, 1fr); }
  .ex-list { display: flex; overflow-x: auto; gap: 8px; scrollbar-width: none; padding-bottom: 4px; }
  .ex-list::-webkit-scrollbar { display: none; }
  .ex-list button { flex: none; align-items: center; padding: 10px 14px; border-color: var(--border); }
  .ex-list button .ico { width: 30px; height: 30px; }
  .ex-list button span span { display: none; }
  .ex-panels { min-height: 500px; }
}

/* ---------- feature rows / annotated / steps / rail / spec ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.feature.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature.flip .f-text { order: 2; }
.feature + .feature { margin-top: clamp(80px, 10vw, 140px); }
.f-text h3 { font-size: clamp(26px, 3vw, 40px); letter-spacing: var(--track-display); margin-bottom: 16px; }
.f-text p { color: var(--text-2); font-size: 17px; }
.f-media { display: grid; place-items: center; position: relative; }
.f-media .halo { position: absolute; inset: 8%; z-index: -1; border-radius: 40px; background: radial-gradient(closest-side, color-mix(in srgb, var(--primary) 18%, transparent), transparent); filter: blur(24px); }
@media (max-width: 900px) { .feature, .feature.flip { grid-template-columns: minmax(0, 1fr); } .feature.flip .f-text { order: 0; } }
ul.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
ul.ticks li { position: relative; padding-inline-start: 30px; color: var(--text-2); font-size: 15.5px; }
ul.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .38em; width: 18px; height: 18px; border-radius: 50%;
  background: #DBF3EB url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.2 8.4l2.4 2.4 5.2-5.4' fill='none' stroke='%23027059' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
ul.ticks li strong { color: var(--text); font-weight: 500; }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 31px; inset-inline: 40px; height: 1.5px; background: linear-gradient(90deg, var(--primary), var(--moon), var(--dot)); opacity: .5; }
html[dir="rtl"] .steps::before { background: linear-gradient(-90deg, var(--primary), var(--moon), var(--dot)); }
.steps .st { position: relative; counter-increment: s; display: flex; flex-direction: column; }
.steps .st .n { width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); font-family: 'Azeret Mono', monospace; font-size: 18px; box-shadow: var(--shadow-1); margin-bottom: 26px; position: relative; }
.steps .st .n::after { content: counter(s, decimal-leading-zero); }
html[dir="rtl"] .steps .st .n::after { content: counter(s, arabic-indic); font-family: var(--font-sans); }
.steps .st h3 { font-size: 22px; margin-bottom: 10px; }
.steps .st p { color: var(--text-2); font-size: 15.5px; }
.steps .st .s-media { margin-top: auto; padding-top: 26px; }
@media (max-width: 900px) { .steps { grid-template-columns: minmax(0, 1fr); } .steps::before { display: none; } }
.rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px var(--gutter) 24px; margin-inline: calc(-1 * var(--gutter)); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; flex: none; width: min(540px, 84vw); }
.rail-card { border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); padding: 30px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-1); position: relative; overflow: hidden; }
.rail-card h3 { font-size: 26px; }
.rail-card p { color: var(--text-2); margin: 0; }
.rail-card .r-media { margin-top: auto; display: grid; place-items: center; padding-top: 18px; }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); cursor: pointer; display: grid; place-items: center; color: var(--text); }
.rail-nav button svg { width: 18px; height: 18px; }
.rail-nav button.prev svg { rotate: 180deg; }
.spec { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: 1px solid var(--border); }
.spec > div { display: grid; grid-template-columns: 52px 1fr; gap: 4px 18px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.spec .ico { width: 44px; height: 44px; border-radius: 14px; background: var(--tint); color: var(--primary); display: grid; place-items: center; grid-row: span 2; }
.spec .ico svg { width: 22px; height: 22px; }
.spec h3 { font-size: 19px; }
.spec p { color: var(--text-2); margin: 0; font-size: 15px; }
@media (max-width: 760px) { .spec { grid-template-columns: minmax(0, 1fr); } }
.annot { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 480px) 1fr; gap: 32px; align-items: center; }
.annot .notes { display: grid; gap: 24px; }
.annot .note { padding: 16px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-1); position: relative; font-size: 15px; color: var(--text-2); }
.annot .note strong { color: var(--text); font-weight: 500; }
.annot .note::after { content: ""; position: absolute; top: 50%; width: 30px; height: 1.5px; background: var(--primary); }
.annot .note::before { content: ""; position: absolute; top: calc(50% - 4px); width: 9px; height: 9px; border-radius: 50%; background: var(--dot); }
.annot .notes.a .note::after { inset-inline-end: -31px; } .annot .notes.a .note::before { inset-inline-end: -36px; }
.annot .notes.b .note::after { inset-inline-start: -31px; } .annot .notes.b .note::before { inset-inline-start: -36px; }
@media (max-width: 1020px) { .annot { grid-template-columns: minmax(0, 1fr); } .annot .note::after, .annot .note::before { display: none; } }

.caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cap { position: relative; border-radius: var(--r-lg); padding: 26px; background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.cap .ico { width: 44px; height: 44px; border-radius: 14px; background: var(--tint); color: var(--primary); display: grid; place-items: center; margin-bottom: 20px; }
.cap .ico svg { width: 22px; height: 22px; }
.cap h3 { font-size: 18px; margin-bottom: 8px; }
.cap p { color: var(--text-2); font-size: 15px; margin: 0; }
@media (max-width: 980px) { .caps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .caps { grid-template-columns: minmax(0, 1fr); } }
a.cap { transition: border-color .25s, transform .35s var(--ease-drift); display: flex; flex-direction: column; }
a.cap:hover { border-color: var(--primary); transform: translateY(-3px); }
a.cap .more { margin-top: auto; padding-top: 20px; color: var(--primary); font-weight: 500; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }
a.cap .more svg { width: 16px; height: 16px; }

.statband { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border-radius: var(--r-xl); overflow: hidden; background: var(--border); border: 1px solid var(--border); }
.statband > div { background: var(--surface); padding: clamp(24px, 3vw, 40px); }
.statband b { display: block; font-size: clamp(36px, 4.4vw, 64px); font-weight: 500; line-height: 1; letter-spacing: -0.04em; margin-bottom: 12px; }
html[dir="rtl"] .statband b { letter-spacing: 0; }
.statband span { color: var(--text-2); font-size: 15px; }
@media (max-width: 820px) { .statband { grid-template-columns: 1fr 1fr; } }

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; border-radius: var(--r-xl); padding: 32px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-1); }
.plan.featured { background: var(--space); color: var(--space-text); border-color: transparent; --text: var(--space-text); --text-2: var(--space-text-2); --border: rgba(173,191,255,.16); --primary: var(--space-primary); --on-primary: #0B1026; isolation: isolate; overflow: hidden; transform: translateY(-12px); }
.plan.featured::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--angle), #5164E9, #CDB3FE, #F38649, #5164E9);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 6s linear infinite; }
.plan.featured::after { content: ""; position: absolute; inset: auto -30% -50%; height: 70%; z-index: -2; background: radial-gradient(closest-side, rgba(81,100,233,.45), transparent); filter: blur(20px); }
@keyframes spin { to { --angle: 360deg; } }
.plan .tag { align-self: flex-start; background: rgba(243,241,236,.12); color: #F3F1EC; font-size: 12px; font-weight: 500; padding: 5px 12px; border-radius: var(--r-pill); margin-bottom: 14px; border: 1px solid rgba(243,241,236,.2); }
.plan h3 { font-size: 26px; }
.plan .for { color: var(--text-2); margin: 10px 0 22px; font-size: 15px; min-height: 3em; }
.plan .quote { font-size: 15px; font-weight: 500; padding: 14px 0; border-block: 1px solid var(--border); margin-bottom: 22px; }
.plan ul.ticks { margin: 0 0 30px; }
.plan .btn { margin-top: auto; }
@media (max-width: 980px) { .plans { grid-template-columns: minmax(0, 1fr); } .plan.featured { transform: none; } }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.compare th, .compare td { padding: 15px 14px; border-bottom: 1px solid var(--border); text-align: start; }
.compare th { font-weight: 500; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.compare td:first-child { width: 46%; }
.compare .yes { color: var(--present-fg); display: inline-flex; }
.compare .yes svg { width: 20px; height: 20px; }
.compare .no { color: var(--text-3); }
.compare .grp td { background: var(--surface-2); font-weight: 500; font-size: 13px; color: var(--text-2); }
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }

.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:first-child { border-top: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; font-size: 18px; font-weight: 500; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border);
  background: linear-gradient(var(--text), var(--text)) center / 10px 1.5px no-repeat, linear-gradient(var(--text), var(--text)) center / 1.5px 10px no-repeat; transition: transform .3s var(--ease-drift); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-2); padding-bottom: 24px; margin: 0; font-size: 16px; max-width: 640px; }

.form-shell { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .form-shell { grid-template-columns: minmax(0, 1fr); } }
.form { position: relative; border-radius: var(--r-xl); padding: clamp(22px, 4vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-float); }
.form .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form { grid-template-columns: minmax(0, 1fr); } }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.field label .opt { color: var(--text-2); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--bg); color: var(--text); font: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 16%, transparent); }
.field input[type="tel"], .field input[type="email"] { direction: ltr; text-align: start; }
html[dir="rtl"] .field input[type="tel"], html[dir="rtl"] .field input[type="email"] { text-align: end; }
.form .hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .consent { font-size: 13px; color: var(--text-2); }
.form-status { grid-column: 1 / -1; border-radius: 14px; padding: 14px 16px; font-size: 15px; }
.form-status.ok { background: var(--present-bg); color: var(--present-fg); }
.form-status.err { background: var(--absent-bg); color: var(--absent-fg); }
.contact-list { display: grid; gap: 4px; margin-top: 28px; }
.contact-list > div { display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: 18px; transition: background .2s; }
.contact-list > div:hover { background: var(--surface); }
.contact-list .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--tint); color: var(--primary); display: grid; place-items: center; flex: none; }
.contact-list .ico svg { width: 21px; height: 21px; }
.contact-list b { display: block; font-weight: 500; }
.contact-list span { color: var(--text-2); font-size: 15px; }
.contact-list .ltr { direction: ltr; unicode-bidi: isolate; }

.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin: 44px 0 12px; }
.prose p, .prose li { color: var(--text-2); font-size: 16px; }
.prose ul { padding-inline-start: 22px; }
.prose li { margin-bottom: 6px; }
.notice { border: 1px dashed var(--late-fg); background: var(--late-bg); color: var(--late-fg); border-radius: 16px; padding: 14px 16px; font-size: 14px; margin-bottom: 28px; }
.toc { position: sticky; top: 110px; align-self: start; align-content: start; display: grid; gap: 4px; font-size: 14px; }
.toc a { color: var(--text-2); padding: 6px 12px; border-inline-start: 2px solid var(--border); }
.toc a:hover { color: var(--primary); border-color: var(--primary); }
.legal-grid { display: grid; grid-template-columns: 240px 1fr; gap: 64px; }
@media (max-width: 900px) { .legal-grid { grid-template-columns: minmax(0, 1fr); } .toc { position: static; } }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 20px; border-radius: 16px; background: #0B1026; color: #F3F1EC; border: 1px solid rgba(173,191,255,.22); transition: border-color .2s, transform .2s; }
.store:hover { border-color: rgba(173,191,255,.6); transform: translateY(-1px); }
.store svg { width: 24px; height: 24px; }
.store small { display: block; font-size: 10.5px; opacity: .7; line-height: 1.1; }
.store b { display: block; font-size: 16px; font-weight: 500; line-height: 1.25; }
.store.soon { opacity: .6; cursor: default; }

.final { text-align: center; padding-block: clamp(110px, 14vw, 210px); }
.final .mega { max-width: 1000px; margin-inline: auto; }
.final .lead { margin: 26px auto 38px; color: var(--space-text-2); }
.orbit-ring { position: absolute; left: 50%; top: 50%; width: min(1100px, 150vw); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: 1px solid rgba(173,191,255,.1); z-index: -1; pointer-events: none; animation: turn 60s linear infinite; }
.orbit-ring.r2 { width: min(760px, 115vw); animation-duration: 42s; animation-direction: reverse; }
.orbit-ring.r3 { width: min(440px, 80vw); border-color: rgba(173,191,255,.18); animation-duration: 30s; }
.orbit-ring i { position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--space-dot); box-shadow: 0 0 24px var(--space-dot); }
.orbit-ring.r2 i { background: var(--moon); box-shadow: 0 0 20px var(--moon); width: 8px; height: 8px; top: -4px; }
@keyframes turn { to { rotate: 360deg; } }

.site-footer { position: relative; overflow: hidden; padding-block: 80px calc(24px + env(safe-area-inset-bottom, 0px)); background: var(--space); color: var(--space-text);
  --text: var(--space-text); --text-2: var(--space-text-2); --border: rgba(173,191,255,.14); --primary: var(--space-primary); --dot: var(--space-dot); }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot-grid h4 { font-size: 13px; font-weight: 500; margin-bottom: 16px; color: var(--text-2); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { color: var(--space-text); font-size: 15px; opacity: .85; }
.foot-grid a:hover { opacity: 1; color: var(--space-primary); }
.foot-brand p { color: var(--text-2); font-size: 15px; max-width: 300px; margin-top: 18px; }
.foot-brand .brand svg { height: 30px; }
.foot-brand p.foot-credit { margin-top: 10px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--text-3, var(--text-2)); }
.foot-wordmark { margin-top: 72px; color: rgba(243,241,236,.07); --primary: rgba(138,161,254,.25); --dot: rgba(243,134,73,.35); line-height: 0; }
.foot-wordmark svg { width: 100%; height: auto; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 14px; color: var(--text-2); }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- module hero visuals ---------- */
.mapplane { position: relative; width: 640px; height: 540px; transform-style: preserve-3d; }
.mapplane .plane { position: absolute; inset: 70px 30px 50px; border-radius: 40px; transform: rotateX(56deg) rotateZ(calc(-30deg * var(--dir))); transform-style: preserve-3d;
  background-color: #10152C; background-image: linear-gradient(rgba(173,191,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(173,191,255,.09) 1px, transparent 1px),
  linear-gradient(120deg, transparent 44%, rgba(138,161,254,.22) 44.5%, rgba(138,161,254,.22) 47%, transparent 47.5%), linear-gradient(20deg, transparent 62%, rgba(138,161,254,.14) 62.5%, rgba(138,161,254,.14) 64%, transparent 64.5%);
  background-size: 34px 34px, 34px 34px, 100% 100%, 100% 100%; box-shadow: 0 0 0 1px rgba(173,191,255,.18), 0 80px 120px -40px rgba(0,0,0,.8); }
.mapplane .fence { position: absolute; border-radius: 50%; border: 2px dashed rgba(138,161,254,.9); background: rgba(81,100,233,.16); translate: -50% -50%; }
.mapplane .fence::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid rgba(138,161,254,.6); animation: ping 3.6s var(--ease-orbit) infinite; }
.mapplane .pinz { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: #F38649; box-shadow: 0 0 0 4px rgba(243,134,73,.25), 0 0 20px #F38649; translate: -50% -50%; }
.mapplane .stand { position: absolute; left: 50%; top: 50%; transform-style: preserve-3d; }
.cal3d { position: relative; width: 620px; height: 520px; transform-style: preserve-3d; }
.cal3d .month { position: absolute; inset: 50px 40px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); align-content: center; gap: 9px; padding: 22px; border-radius: 32px; background: rgba(20,26,51,.9); border: 1px solid rgba(173,191,255,.16);
  transform: rotateX(50deg) rotateZ(calc(-24deg * var(--dir))); transform-style: preserve-3d; box-shadow: 0 80px 120px -40px rgba(0,0,0,.8); }
.cal3d .month span { aspect-ratio: 1; border-radius: 11px; background: rgba(173,191,255,.07); display: grid; place-items: center; font-size: 13px; color: #B0B7CB; transform-style: preserve-3d; }
.cal3d .month span.wk { color: #6F7690; background: transparent; font-size: 11px; }
.cal3d .month span.lv { background: #703EB1; color: #fff; transform: translateZ(20px); box-shadow: 0 18px 20px -8px rgba(0,0,0,.6); }
.cal3d .month span.sk { background: #05688C; color: #fff; transform: translateZ(14px); box-shadow: 0 14px 18px -8px rgba(0,0,0,.6); }
.cal3d .month span.hd { background: #DE6506; color: #fff; transform: translateZ(28px); box-shadow: 0 20px 24px -8px rgba(222,101,6,.6); }
.cal3d .month span.off { background: rgba(205,179,254,.12); color: #CDB3FE; }
.fan { position: relative; width: 620px; height: 560px; transform-style: preserve-3d; }
.fan > .layer { left: 50%; top: 50%; }
.fan .panel { width: 360px; }
.constel { position: relative; width: 620px; height: 540px; }
.constel svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.constel .node { position: absolute; translate: -50% -50%; display: grid; justify-items: center; gap: 8px; font-size: 12.5px; color: #B0B7CB; text-align: center; white-space: nowrap; }
.constel .node b { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #1C2342; border: 1.5px solid rgba(138,161,254,.5); color: #F3F1EC; font-weight: 500; font-size: 14px; box-shadow: 0 0 0 6px rgba(81,100,233,.12), 0 0 30px rgba(81,100,233,.4); }
.constel .node.root b { width: 76px; height: 76px; background: #5164E9; border-color: #8AA1FE; font-size: 18px; box-shadow: 0 0 0 10px rgba(81,100,233,.18), 0 0 60px rgba(81,100,233,.7); }
.constel .node.hot b { background: #F38649; border-color: #F8B98C; color: #0B1026; box-shadow: 0 0 0 6px rgba(243,134,73,.18), 0 0 30px rgba(243,134,73,.6); }
.constel .twinkle { animation: tw 3s ease-in-out infinite alternate; }
@keyframes tw { from { opacity: .4; } to { opacity: 1; } }
.rings { position: relative; width: 540px; height: 540px; display: grid; place-items: center; }
.rings svg { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; overflow: visible; }
html[dir="rtl"] .rings svg { scale: -1 1; rotate: 90deg; }
.rings .rc { text-align: center; position: relative; }
.rings .rc b { display: block; font-size: 72px; font-weight: 500; line-height: 1; color: #F3F1EC; }
.rings .rc small { color: #B0B7CB; font-size: 15px; }
.rings .legend { position: absolute; inset-inline-start: 100%; bottom: 40px; margin-inline-start: -30px; white-space: nowrap; display: grid; gap: 10px; font-size: 13px; color: #B0B7CB; }
.rings .legend span { display: flex; gap: 10px; align-items: center; }
.rings .legend i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.board3d { position: relative; width: 700px; height: 540px; transform-style: preserve-3d; }
.board3d .cols { position: absolute; inset: 20px 10px 60px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; transform: rotateX(30deg) rotateZ(calc(-10deg * var(--dir))); transform-style: preserve-3d; }
.board3d .col { border-radius: 24px; padding: 14px; background: rgba(20,26,51,.9); border: 1px solid rgba(173,191,255,.16); transform-style: preserve-3d; box-shadow: 0 60px 100px -40px rgba(0,0,0,.8); }
.board3d .col h5 { margin: 0 0 4px; color: #B0B7CB; font-size: 13px; font-weight: 500; display: flex; justify-content: space-between; }
.board3d .card3 { background: #fff; color: #0B1026; border-radius: 14px; padding: 11px; margin-top: 10px; font-size: 12.5px; transform: translateZ(10px); box-shadow: 0 14px 20px -10px rgba(0,0,0,.5); display: flex; gap: 10px; align-items: center; text-align: start; }
.board3d .card3 b { display: block; font-weight: 500; }
.board3d .card3 small { color: #5B5E6B; }
.board3d .card3.lift { transform: translateZ(70px) rotateZ(calc(-5deg * var(--dir))); box-shadow: 0 50px 60px -20px rgba(0,0,0,.65); outline: 2px solid #8AA1FE; }
.board3d .card3 .av { width: 30px; height: 30px; font-size: 11px; background: #E6ECFF; color: #5164E9; }
.cardstack { position: relative; width: 600px; height: 540px; transform-style: preserve-3d; }
.cardstack > .layer { left: 50%; top: 50%; }

/* ---------- 404 ---------- */
.lost { min-height: min(86vh, 900px); display: grid; place-items: center; text-align: center; }
.lost .big404 { font-size: clamp(120px, 22vw, 280px); font-weight: 500; line-height: .9; letter-spacing: -0.06em; }

/* ---------- motion ---------- */
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-drift), transform .9s var(--ease-drift); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: opacity .16s linear; transform: none; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
  .marquee-track { animation: none; }
}

/* ---------- v3: web screens ---------- */
.browser .b-body { overflow: hidden; position: relative; }
.w-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.w-head b { display: block; font-size: 18px; font-weight: 500; }
.w-head small { color: var(--a-text-2); font-size: 11px; }
.w-btn { display: inline-flex; align-items: center; padding: 7px 12px; border-radius: 10px; border: 1px solid var(--a-line); background: var(--a-surface); color: var(--a-text); font-weight: 500; font-size: 11px; white-space: nowrap; }
.w-btn.primary { background: var(--a-primary); border-color: transparent; color: #fff; }
.app.auto .w-btn.primary, .app.dark .w-btn.primary { color: var(--a-bg); }
.w-row { display: inline-flex; gap: 8px; align-items: center; }
.web .kpis.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.web .kpi .money { display: block; font-size: 18px; font-weight: 500; margin-top: 6px; }
.w-table { padding: 0; }
.w-table .tr { display: grid; grid-template-columns: 1.6fr 1.1fr .8fr .8fr 1fr; gap: 10px; align-items: center; padding: 9px 14px; border-top: 1px solid var(--a-line); font-size: 11.5px; }
.w-table.pay .tr { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; }
.w-table .tr.th { border-top: 0; background: var(--a-surface-2); color: var(--a-text-2); font-size: 10.5px; font-weight: 500; border-radius: 14px 14px 0 0; }
.w-table .who { display: flex; align-items: center; gap: 8px; font-weight: 500; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-table .muted { color: var(--a-text-2); }
.w-table .neg { color: var(--absent-fg); }
.web .av, .w-table .av, .w-card .av, .web .att .av { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 10px; font-weight: 600; font-style: normal; background: var(--tint); color: var(--a-primary); flex: none; }
.w-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.w-card { background: var(--a-surface); border: 1px solid var(--a-line); border-radius: 14px; padding: 14px; display: grid; justify-items: center; gap: 6px; text-align: center; }
.w-card .av { width: 44px; height: 44px; font-size: 13px; }
.w-card b { font-weight: 500; font-size: 12.5px; }
.w-card small { color: var(--a-text-2); font-size: 10.5px; }
.w-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.w-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; font-size: 10.5px; text-align: center; }
.w-cal span { padding: 8px 0; border-radius: 8px; background: var(--a-surface-2); color: var(--a-text-2); }
.w-cal span.wk { background: transparent; font-size: 9.5px; }
.w-cal span.lv { background: #703EB1; color: #fff; } .w-cal span.sk { background: #05688C; color: #fff; } .w-cal span.hd { background: #DE6506; color: #fff; }
.w-cal span.off { background: var(--leave-bg); color: var(--leave-fg); }
.w-kanban .kcol { min-height: 300px; }
.mini-chart.tall { height: 220px; }

/* ---------- v3: the web tour ---------- */
.tour { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.tour-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.tour-tabs button { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--r-pill); border: 1px solid var(--border); background: var(--surface); color: var(--text-2); cursor: pointer; font-size: 14px; }
.tour-tabs button svg { width: 17px; height: 17px; }
.tour-tabs button[aria-selected="true"] { color: var(--text); border-color: var(--primary); }
.tour-tabs button i { position: absolute; inset-inline-start: 0; bottom: 0; height: 2px; width: 0; background: var(--primary); }
.tour-tabs button[aria-selected="true"] i { animation: tourbar var(--tour-ms, 6000ms) linear forwards; }
.tour.paused .tour-tabs button[aria-selected="true"] i { animation-play-state: paused; }
@keyframes tourbar { to { width: 100%; } }
.tour-stage { position: relative; }
.tour-stage .browser { box-shadow: 0 60px 120px -50px rgba(11,16,38,.5), 0 0 0 1px rgba(11,16,38,.08); }
.tour-screen { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease-drift); pointer-events: none; }
.tour-screen.on { opacity: 1; pointer-events: auto; }
@media (max-width: 760px) { .tour-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; } .tour-tabs button { flex: none; } }

/* ---------- v3: integrations ---------- */
.integ { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.integ .ig { position: relative; border-radius: var(--r-lg); padding: 24px; background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.integ .ig .ico { width: 44px; height: 44px; border-radius: 14px; background: var(--tint); color: var(--primary); display: grid; place-items: center; }
.integ .ig .ico svg { width: 22px; height: 22px; }
.integ .ig h3 { font-size: 18px; }
.integ .ig p { color: var(--text-2); font-size: 14.5px; margin: 0; }
.integ .brands { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; }
.brand-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: var(--r-pill); border: 1px solid var(--border); font-size: 13px; background: var(--bg); white-space: nowrap; direction: ltr; font-family: 'Readex Pro', 'Vazirmatn', 'Segoe UI', system-ui, sans-serif; }
.brand-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); }
.brand-chip.available i { background: #18A57A; box-shadow: 0 0 0 3px rgba(24,165,122,.18); }
.integ-legend { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; color: var(--text-2); }
.integ-legend span { display: inline-flex; gap: 8px; align-items: center; }
.integ-legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); }
.integ-legend i.ok { background: #18A57A; }
@media (max-width: 980px) { .integ { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .integ { grid-template-columns: minmax(0, 1fr); } }
.foot-product { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 14px; color: var(--space-text); opacity: .9; }
.foot-product b { font-weight: 500; }
.fit-inner > .browser { width: 100%; }
:root[data-theme="dark"] .browser { background: #0B1026; box-shadow: 0 0 0 1px rgba(173,191,255,.14), var(--shadow-float); }
:root[data-theme="dark"] .browser .bar { background: #141A33; border-color: #252C48; }
:root[data-theme="dark"] .browser .url { background: #0B1026; color: #B0B7CB; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .browser { background: #0B1026; box-shadow: 0 0 0 1px rgba(173,191,255,.14), var(--shadow-float); }
  :root:not([data-theme="light"]) .browser .bar { background: #141A33; border-color: #252C48; }
  :root:not([data-theme="light"]) .browser .url { background: #0B1026; color: #B0B7CB; }
}
/* v3 hero: the product is visible in the first screen */
.hero { padding-block: clamp(36px, 5vw, 64px) 0; }
.hero .mega { font-size: clamp(40px, 6.2vw, 84px); }
html[dir="rtl"] .hero .mega { font-size: clamp(34px, 5vw, 68px); }
.hero .lead { margin: 18px auto 26px; font-size: clamp(16px, 1.3vw, 19px); }
.hero .pill-note { margin-bottom: 20px; }
.hero-notes { margin-top: 18px; }
.hero-fit { margin-top: -10px; }
