/* NeyoHR site styles (from approved mock-up v5) */
/* Layout: the approved 16 Nov NeyoHR look (logo navy + arc blue, daylight, real screens) grown into a multi-page product site
  ; one sticky menu with three mega panels, each page opens on its own thesis, every page ends on the demo. */
:root {
  --navy: #1B2B42; --blue: #0A5BB5; --arc: #1F72D0; --slate: #4A586E; --mist: #5E6B82;
  --white: #FFFFFF; --wash: #F5F8FD; --tint: #E7F0FB; --line: #DFE7F2; --ok: #13805B; --okbg: #E3F4EC; --sand: #FFF6E6; --sandink: #8A5300;
  --head: "Onest", "Segoe UI", system-ui, sans-serif; --body: "Inter", "Segoe UI", system-ui, sans-serif; --ar: "Almarai", Tahoma, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth }
body { background: var(--white); color: var(--navy); font: 400 16.5px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden }
h1, h2, h3, h4 { font-family: var(--head); margin: 0; line-height: 1.12; letter-spacing: -.022em; text-wrap: balance; color: var(--navy) }
p { margin: 0; text-wrap: pretty } li, .lede, small { text-wrap: pretty } .lede, .sh p, .card p, .feat2 p, .rule p { text-wrap: balance } a { color: inherit } img { display: block; max-width: 100% }
:focus-visible { outline: 3px solid #8DB5EC; outline-offset: 3px; border-radius: 8px }
.wrap { max-width: 1320px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)) }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15.5px/1 var(--body); padding: 14px 20px; border-radius: 12px; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; transition: background .2s, transform .2s, border-color .2s }
.btn-p { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -12px rgba(10, 91, 181, .75) } .btn-p:hover { background: #084B97; transform: translateY(-1px) }
.btn-g { background: var(--white); color: var(--navy); border: 1px solid var(--line) } .btn-g:hover { border-color: var(--arc) }
.kicker { font: 600 14px/1 var(--body); color: var(--blue); margin-bottom: 14px; display: block; letter-spacing: .01em }
.sh { max-width: 740px } .sh.c { margin-inline: auto; text-align: center }
.sh h2 { font-size: clamp(30px, 3.8vw, 44px); font-weight: 700 } .sh p { color: var(--slate); font-size: 18px; margin-top: 14px }
section { padding-block: 88px } .wash { background: var(--wash) }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--white) }


/* header + mega menu */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line) }
.top .wrap { display: flex; align-items: center; gap: 22px; padding-block: 10px }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none }
.brand img { height: 38px; width: auto }
nav.main { display: flex; gap: 2px; margin-inline-start: 8px }
nav.main > div { position: relative }
nav.main a.top-link, nav.main button { font: 500 15px/1 var(--body); color: var(--slate); background: none; border: 0; padding: 11px 11px; border-radius: 9px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 5px }
nav.main a.top-link:hover, nav.main button:hover, nav.main .open > button { color: var(--navy); background: var(--wash) }
nav.main .on { color: var(--blue) !important; font-weight: 600 }
nav.main button svg { transition: transform .25s }
nav.main .open > button svg { transform: rotate(180deg) }
.mega { position: absolute; top: calc(100% + 10px); inset-inline-start: -16px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(27, 43, 66, .45); padding: 18px; display: none; width: 720px; z-index: 5 }
.open > .mega { display: grid; animation: drop .22s var(--ease) both }
@keyframes drop { from { opacity: 0; transform: translateY(-6px) } }
.mega.cols3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 14px }
.mega.cols2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; width: 600px }
.mega h5 { grid-column: 1 / -1; margin: 2px 0 4px; font: 600 12px/1 var(--body); color: var(--mist); letter-spacing: .08em; text-transform: uppercase }
.mega a { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 2px 12px; padding: 10px; border-radius: 12px; text-decoration: none; align-items: start }
.mega a:hover { background: var(--wash) }
.mega a i { grid-row: span 2; width: 34px; height: 34px; border-radius: 10px; background: var(--tint); color: var(--blue); display: grid; place-items: center }
.mega a b { font: 600 14.5px/1.3 var(--head) } .mega a span { font-size: 13px; color: var(--mist); line-height: 1.4 }
.mega .foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding: 12px 14px; background: var(--wash); border-radius: 12px; font-size: 14px; color: var(--slate) }
.mega .foot a { display: inline; padding: 0; color: var(--blue); font-weight: 600 }
.top .end { margin-inline-start: auto; display: flex; gap: 8px; align-items: center }
.lang { font: 600 14px/1 var(--body); color: var(--navy); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 9px 13px; cursor: pointer }
.lang .l2 { font-family: var(--ar) }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); cursor: pointer }
.mnav { display: none }

/* page switching */
.page { display: none } .page.show { display: block; animation: pagein .45s var(--ease) both }
@keyframes pagein { from { opacity: 0; transform: translateY(8px) } }

/* page heads */
.phead { padding-block: 64px 56px; background: radial-gradient(1200px 420px at 85% -10%, var(--tint), transparent 70%) }
.phead .crumb { font-size: 14px; color: var(--mist) } .phead .crumb a { text-decoration: none; color: var(--slate) }
.phead h1 { font-size: clamp(36px, 4.6vw, 58px); font-weight: 700; margin-top: 14px; max-width: 16em }
.phead p.lede { font-size: 19px; color: var(--slate); margin-top: 16px; max-width: 40em }
.phead .row { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap }

/* home hero */
.hero { position: relative; padding-block: 56px 70px; overflow: hidden }
.hero::before { content: ""; position: absolute; inset-inline-end: -380px; top: -140px; width: 1300px; height: 820px; border-radius: 50%; background: radial-gradient(closest-side, var(--tint), rgba(231, 240, 251, 0) 75%); z-index: -1 }
.hero .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 52px; align-items: center }
/* the wider picture layout only where there is room for two columns */
@media (min-width: 1081px) { .hero .wrap:has(.stage[data-region="gulf"]) h1 { font-size: clamp(38px, 4vw, 56px) } .hero .wrap:has(.stage[data-region="gulf"]) { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 44px } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--blue); background: var(--tint); padding: 7px 14px 7px 8px; border-radius: 999px }
.eyebrow b { background: var(--blue); color: #fff; border-radius: 999px; padding: 2px 9px; font-size: 12.5px; font-weight: 600 }
.hero h1 { font-size: clamp(40px, 5.2vw, 66px); font-weight: 800; margin-top: 18px; letter-spacing: -.03em }
.hero h1 .hl { color: var(--blue); position: relative; white-space: nowrap }
.hero h1 .hl::after { content: ""; position: absolute; inset-inline: 0; bottom: -.04em; height: .13em; border-radius: 99px; background: linear-gradient(90deg, var(--arc), rgba(31, 114, 208, .12)); transform-origin: left; animation: draw 1.1s .4s var(--ease) both }
@keyframes draw { from { transform: scaleX(0) } }
.hero .lede { font-size: 19px; color: var(--slate); margin-top: 18px; max-width: 32em }
.hero .row { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px }
.facts span { font-size: 13.5px; color: var(--slate); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; background: var(--white) }
.stage { position: relative; padding: 18px 0 40px 22px }
.frame { position: relative; border-radius: 14px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(27, 43, 66, .45); overflow: hidden }
.frame .bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--wash); border-bottom: 1px solid var(--line) }
.frame .bar i { width: 9px; height: 9px; border-radius: 50%; background: #D2DBE8 }
.frame .bar em { margin-inline-start: 10px; font: 400 12px/1 var(--body); color: var(--mist); font-style: normal; background: var(--white); border: 1px solid var(--line); padding: 5px 10px; border-radius: 6px }
.phone { position: absolute; width: 27%; inset-inline-end: -2%; bottom: -2%; border-radius: 30px; background: var(--navy); padding: 7px; box-shadow: 0 30px 60px -26px rgba(27, 43, 66, .7); animation: drift 9s ease-in-out infinite }
.phone img { border-radius: 24px } @keyframes drift { 50% { translate: 0 -6px } }
/* the visitor's region: Gulf visitors see the people picture, everyone else the real product screen */
.people { display: none; perspective: 1600px }
.people .tilt { position: relative; border-radius: 18px; transform-origin: right center; transform: rotateY(-11deg) rotateX(5deg) rotateZ(.4deg); transform-style: preserve-3d; transition: transform .5s var(--ease); animation: bob 7s ease-in-out infinite; box-shadow: 30px 40px 60px -26px rgba(27, 43, 66, .55), 6px 8px 18px -8px rgba(27, 43, 66, .3) }
.people img.base { width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; display: block }
/* the screens and feature cards stand out of the picture, each at its own depth; they rise into place once the page opens */
.people .lift img { display: block; width: 100%; height: auto }
.people .lift { position: absolute; display: block; transform: translateZ(var(--z)); filter: drop-shadow(0 calc(var(--z) * .22) calc(var(--z) * .3) rgba(16, 32, 60, .38)); animation: liftin .9s calc(.35s + var(--d)) var(--ease) both; pointer-events: none }
@keyframes liftin { from { transform: translateZ(0); filter: drop-shadow(0 0 0 rgba(16, 32, 60, 0)) } }
/* a soft glass edge and a light sweep give the card depth */
.people .tilt::before { content: ""; position: absolute; inset: 0; border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); pointer-events: none }
.people .tilt::after { content: ""; position: absolute; inset: 0; border-radius: 18px; transform: translateZ(1px); background: linear-gradient(115deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 38%); pointer-events: none }
.people .floor { height: 26px; margin: 10px 8% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(27, 43, 66, .28), transparent); filter: blur(4px) }
@keyframes bob { 50% { translate: 0 -8px } }
.stage[data-region="gulf"] { padding: 10px 0 10px }
.stage[data-region="gulf"] .people { display: block } .stage[data-region="gulf"] .frame, .stage[data-region="gulf"] .float, .stage[data-region="gulf"] .phone { display: none }
.float { position: absolute; inset-inline-start: -3%; bottom: 6%; width: 34%; border-radius: 12px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 24px 50px -22px rgba(27, 43, 66, .45); overflow: hidden; animation: drift 9s -4s ease-in-out infinite }

/* strip */
.strip { border-block: 1px solid var(--line); background: var(--wash) }
.strip .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-block: 22px }
.strip div { display: flex; gap: 12px; align-items: center; font-size: 14.5px; color: var(--slate) }
.strip i { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); color: var(--blue) }
.strip b { display: block; color: var(--navy); font: 600 15px/1.3 var(--head) }

/* module grid */
.modgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 44px }
.modgrid a { display: grid; gap: 10px; align-content: start; padding: 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--white); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s }
.modgrid a:hover { transform: translateY(-3px); border-color: #C7D7EE; box-shadow: 0 22px 44px -30px rgba(27, 43, 66, .5) }
.modgrid i { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--tint); color: var(--blue) }
.modgrid b { font: 600 16.5px/1.3 var(--head) } .modgrid span { font-size: 14px; color: var(--slate) }

/* payroll ledger */
.ledger { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start }
.rules { margin-top: 28px; border-top: 1px solid var(--line) }
.rule { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; padding: 17px 0; border-bottom: 1px solid var(--line) }
.rule b { font: 600 17.5px/1.3 var(--head) } .rule p { color: var(--slate); font-size: 15px }
.rule .v { grid-row: span 2; align-self: center; font: 600 13px/1.3 var(--body); color: var(--ok); background: var(--okbg); padding: 6px 10px; border-radius: 8px; text-align: end; max-width: 180px; font-variant-numeric: tabular-nums }
.stack { display: grid; gap: 16px; position: sticky; top: 96px }
.piece { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 26px 50px -34px rgba(27, 43, 66, .5); background: var(--white) }
.cap { font-size: 13.5px; color: var(--mist); margin-top: -6px }
/* the two product cards drawn in HTML, so they fit their column and stay sharp */
.piece.ui { padding: 18px 20px; font-size: 14px }
.ui .uh { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px } .ui .uh b { font: 600 16px/1.3 var(--head) } .ui .uh small { color: var(--mist); font-size: 12.5px; white-space: nowrap }
.ui .ur { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line) }
.ui .ur b { display: block; font-weight: 600; color: var(--slate) } .ui .ur span { color: var(--mist); font-size: 13px }
.ui em { font-style: normal; font-weight: 600; font-size: 12.5px; padding: 5px 10px; border-radius: 999px; white-space: nowrap } .ui em.due { background: var(--sand); color: var(--sandink) } .ui em.rdy { background: var(--okbg); color: var(--ok) }
.ui .tw { overflow-x: auto } .ui table { width: 100%; border-collapse: collapse; font-size: 13.5px } .ui th { text-align: start; font-weight: 600; color: var(--mist); font-size: 12.5px; padding: 6px 8px 8px 0; border-bottom: 1px solid var(--line) }
.ui td { padding: 9px 8px 9px 0; border-bottom: 1px solid var(--line) } .ui tr:last-child td { border-bottom: 0 } .ui .n { text-align: end; font-variant-numeric: tabular-nums } .ui td.lo { color: #B26A00; font-weight: 600 } .ui td.ok { color: var(--ok); font-weight: 600 }
.ui .bar { position: relative; display: block; height: 6px; border-radius: 9px; background: var(--wash); min-width: 90px } .ui .bar i { position: absolute; inset: 0 auto 0 0; border-radius: 9px } .ui .bar i.ok { background: var(--ok) } .ui .bar i.lo { background: #E59A2E } .ui .bar b { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--navy) }

/* two ways to run it */
.deploy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 40px }
.deploy > div { border: 1px solid var(--line); border-radius: 20px; padding: 26px; background: var(--white); display: grid; gap: 12px; align-content: start }
.deploy h3 { font-size: 21px; font-weight: 700 } .deploy p { color: var(--slate) }
.deploy ul, .ticks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; font-size: 15px }
.deploy li, .ticks li { display: flex; gap: 10px } .deploy li::before, .ticks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--okbg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313805B' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat }

/* app trio */
.appwrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center }
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: end }
.phones div { border-radius: 26px; background: var(--navy); padding: 6px; box-shadow: 0 30px 50px -30px rgba(27, 43, 66, .65) }
.phones div:nth-child(2) { transform: translateY(-28px) } .phones img { border-radius: 21px }
.feat2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; margin-top: 30px }
.feat2 b { font: 600 16.5px/1.3 var(--head) } .feat2 p { color: var(--slate); font-size: 15px; margin-top: 4px }

/* cards used on many pages */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)) } .cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)) }
.card { border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 10px; align-content: start; background: var(--white) }
.card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--blue) }
.card h3 { font-size: 19px; font-weight: 600 } .card p { color: var(--slate); font-size: 15px }
.card .mods { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px } .card .mods span { font-size: 12.5px; color: var(--blue); background: var(--tint); border-radius: 999px; padding: 3px 10px }
.card a.more { color: var(--blue); font-weight: 600; font-size: 14.5px; text-decoration: none; margin-top: 4px }
.tbd { font: 600 11.5px/1 var(--body); color: var(--sandink); background: var(--sand); border-radius: 999px; padding: 4px 9px; justify-self: start; letter-spacing: .02em }

/* features page */
.fnav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 61px); z-index: 20; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line) }
.fnav .wrap { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: none }
.fnav a { flex: none; font: 600 14px/1 var(--body); color: var(--slate); text-decoration: none; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line) }
.fnav a:hover { border-color: var(--arc); color: var(--blue) }
@media (max-width: 420px) { .hero h1 { font-size: 34px } .phead h1 { font-size: 30px } }
footer a, .office b { overflow-wrap: anywhere }
@media (max-width: 620px) {
  .fnav { position: static }
  .fnav .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible }
  .fnav a { text-align: center; padding: 10px 8px; font-size: 13.5px; line-height: 1.3 }
}
.fblock { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; padding-block: 64px; border-bottom: 1px solid var(--line) }
.fblock:nth-child(even) > .fpic { order: -1 }
.fblock h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 700 } .fblock > div > p { color: var(--slate); font-size: 17px; margin-top: 12px }
.flist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; margin-top: 24px }
.flist div { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 2px 10px }
.flist i { grid-row: span 2; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--tint); color: var(--blue) }
.flist b { font: 600 15.5px/1.3 var(--head) } .flist span { font-size: 14px; color: var(--slate) }

/* resources */
.res { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px }
.res .card .kind { font: 600 12px/1 var(--body); color: var(--mist); letter-spacing: .08em; text-transform: uppercase }
.guide { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 0; border: 1px solid var(--line); border-radius: 22px; overflow: hidden }
.guide > div:first-child { padding: 34px } .guide h3 { font-size: 26px; font-weight: 700; margin-top: 8px } .guide p { color: var(--slate); margin-top: 10px }
.guide .toc { background: var(--navy); color: #DCE6F5; padding: 34px; display: grid; gap: 10px; align-content: start; font-size: 15px }
.guide .toc b { color: #fff; font-family: var(--head); margin-bottom: 6px }
.guide .toc span { display: flex; gap: 12px } .guide .toc em { font-style: normal; color: #8FB4E6; font-variant-numeric: tabular-nums }

/* about */
.story { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: start }
.story p { color: var(--slate); font-size: 17px; margin-top: 14px; max-width: 60ch }
.office { border: 1px solid var(--line); border-radius: 22px; padding: 28px; background: var(--wash); display: grid; gap: 18px }
.office .ln { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; align-items: start }
.office .ln i { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); color: var(--blue) }
.office small { display: block; color: var(--mist); font-size: 13px } .office b { font: 600 16px/1.45 var(--head); user-select: all }

/* demo page */
.demobox { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 48px; align-items: start }
.demobox ul { margin-top: 22px }
.form { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: 0 30px 60px -40px rgba(27, 43, 66, .5) }
.form h3 { font-size: 21px; font-weight: 600; margin-bottom: 16px }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px } .grid2 .full { grid-column: 1 / -1 }
.form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--slate) }
.form input, .form select, .form textarea { font: 400 15px/1.4 var(--body); color: var(--navy); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%; background: var(--white) }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid #8DB5EC; border-color: var(--arc) }
.chips { display: flex; flex-wrap: wrap; gap: 8px } .chips label { display: inline-flex; flex-direction: row; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; font-size: 13.5px; color: var(--navy); cursor: pointer } .chips input { width: auto; margin: 0 }
.form .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 18px } .err { color: #B42318; font-size: 13.5px; min-height: 1.2em }
.done { display: grid; gap: 12px } .done pre { white-space: pre-wrap; margin: 0; font: 13.5px/1.6 var(--body); background: var(--wash); border-radius: 12px; padding: 14px; user-select: all }

/* closing band */
.close { padding-block: 0 88px }
.closebox { position: relative; overflow: hidden; border-radius: 26px; background: linear-gradient(150deg, #0D62C2, var(--blue) 45%, #0A4C96); color: #fff; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center }
.closebox::before { content: ""; position: absolute; width: 760px; height: 300px; inset-inline-end: -240px; top: -60px; border-top: 2px solid rgba(255, 255, 255, .22); border-radius: 50% 50% 0 0 / 100% 100% 0 0; pointer-events: none }
.closebox h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); font-weight: 700 } .closebox p { color: #D6E5FA; margin-top: 10px; font-size: 17px }
.closebox .btn-g { border-color: transparent }

footer { border-top: 1px solid var(--line); padding-block: 44px 0; background: var(--white) }
footer .wrap.cols { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); gap: 28px }
footer .b img { height: 34px } footer .b p { color: var(--slate); font-size: 14.5px; margin-top: 12px; max-width: 34ch }
footer h6 { font: 600 14.5px/1 var(--head); margin: 0 0 12px }
footer a { display: block; text-decoration: none; color: var(--slate); font-size: 14.5px; padding: 3px 0 } footer a:hover { color: var(--blue) }
.legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-block: 22px 30px; margin-top: 34px; background: linear-gradient(var(--line), var(--line)) top center / calc(100% - 2 * max(20px, env(safe-area-inset-left, 0px))) 1px no-repeat; color: var(--mist); font-size: 13.5px }

@media (max-width: 1080px) {
  nav.main, .top .demo-btn { display: none } .burger { display: grid; place-items: center }
  .mnav.open { display: grid; gap: 4px; padding: 10px max(20px, env(safe-area-inset-right, 0px)) 18px max(20px, env(safe-area-inset-left, 0px)); border-top: 1px solid var(--line); background: var(--white) }
  .mnav a { padding: 12px 10px; border-radius: 10px; text-decoration: none; font-weight: 600 } .mnav a:hover { background: var(--wash) }
  .hero .wrap, .ledger, .appwrap, .fblock, .story, .demobox, .guide { grid-template-columns: minmax(0, 1fr) } .fblock:nth-child(even) > .fpic { order: 0 }
  .stack { position: static } .modgrid, .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)) } .cards, .res { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .strip .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)) } footer .wrap.cols { grid-template-columns: repeat(2, minmax(0, 1fr)) } section { padding-block: 64px }
  .fnav { top: calc(env(safe-area-inset-top, 0px) + 65px) }
}
@media (max-width: 620px) {
  .modgrid, .cards, .cards.two, .cards.four, .res, .deploy, .feat2, .grid2, .flist, .strip .wrap { grid-template-columns: minmax(0, 1fr) }
  .closebox { grid-template-columns: minmax(0, 1fr) } .phone { width: 34% } .people { margin-inline-end: 0 } .float { width: 42% } .float.f2 { width: 38% }
}
/* header logo, same as the NeyoHR app start screen: the arc is uncovered from its left tip to the right in 0.7s
   (ease in-out), the word stays; then a light sweeps the logo; loops every 7s */
.logo { position: relative; display: block; height: 38px; aspect-ratio: 773 / 317 }
.brand .logo img { position: absolute; inset: 0; width: 100%; height: 100% }
.logo .la { animation: arcdraw 7s infinite }
@keyframes arcdraw {
  0% { clip-path: inset(0 82% 0 0); opacity: 1; animation-timing-function: cubic-bezier(.65, 0, .35, 1) }
  7% { clip-path: inset(0 0 0 0); opacity: 1 }
  88% { clip-path: inset(0 0 0 0); opacity: 1; animation-timing-function: ease-in }
  94%, 100% { clip-path: inset(0 0 0 0); opacity: 0 }
}
.logo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url("logo.png") center / 100% 100% no-repeat; mask: url("logo.png") center / 100% 100% no-repeat;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .9) 50%, transparent 62%) no-repeat; background-size: 250% 100%; background-position: 110% 0;
  animation: shine 7s ease-in-out infinite }
@keyframes shine { 0%, 12% { background-position: 110% 0 } 32%, 100% { background-position: -20% 0 } }
/* start screen, as in the app: big logo on white, arc draws, word comes in, then the logo glides to the header */
#intro { position: fixed; inset: 0; z-index: 100; background: var(--white); display: grid; place-items: center; animation: introgone 0s 3s forwards }
@keyframes introgone { to { visibility: hidden; opacity: 0 } }
#intro .ilogo { position: relative; display: block; width: min(64vw, 340px); aspect-ratio: 773 / 317; transform-origin: 0 0 }
#intro .ilogo img { position: absolute; inset: 0; width: 100%; height: 100% }
#intro .la { clip-path: inset(0 82% 0 0) } #intro .lw { opacity: 0 }
body.intro .brand .logo { visibility: hidden }
body.intro .brand .logo .la, body.intro .brand .logo::after { animation: none }
body.intro #root, body.intro #foot, body.intro #top .wrap > :not(.brand) { opacity: 0 }
.brand .logo.landed .la, .brand .logo.landed::after { animation-delay: -.6s }
@media (prefers-reduced-motion: reduce) { #intro { display: none } }

/* hero: dashboard with two live cards and the phone, as on the first site */
.float.f2 { bottom: auto; top: 25%; inset-inline-start: -7%; width: 29%; animation-delay: -2s }
.float.lc { padding: clamp(10px, 1.3vw, 16px) clamp(12px, 1.5vw, 18px); display: grid; gap: 4px; width: clamp(150px, 15vw, 210px) }
.lc .lh { display: flex; align-items: center; gap: 10px; color: var(--slate); font-size: clamp(12px, 1vw, 14px); font-weight: 500 }
.lc .lh i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; background: #FDEBDD; color: #B4471B }
.lc b { font: 700 clamp(22px, 2vw, 30px)/1.1 var(--head); color: var(--navy); margin-top: 4px }
.lc small { font-size: clamp(11.5px, .9vw, 13px); color: var(--mist) }
@media (max-width: 620px) { .float.lc { width: 140px; padding: 9px 11px } .lc .lh i { width: 28px; height: 28px } }
@media (min-width: 1081px) { .hero .wrap { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px } .hero h1 { font-size: clamp(38px, 4vw, 56px) } }

/* hero 3D: dashboard at the back, cards in front, phone nearest; tilts toward the text and follows the mouse */
.stage { perspective: 1800px }
.scene { position: relative; transform-style: preserve-3d; transform: rotateY(-6deg) rotateX(3deg); transition: transform .6s var(--ease) }
:root[dir="rtl"] .scene { transform: rotateY(6deg) rotateX(3deg) }
.scene .frame { transform: translateZ(0) }
.scene .float.f1 { transform: translateZ(70px) } .scene .float.f2 { transform: translateZ(55px) }
.scene .phone { transform: translateZ(100px) }
@media (max-width: 620px) { .scene, :root[dir="rtl"] .scene { transform: rotateY(-6deg) rotateX(3deg) } :root[dir="rtl"] .scene { transform: rotateY(6deg) rotateX(3deg) } .scene .float.f1, .scene .float.f2 { transform: translateZ(40px) } .scene .phone { transform: translateZ(60px) } }
@media (max-width: 1080px) { .float, .float.f2 { inset-inline-start: 1% } .phone { inset-inline-end: 1% } }

/* hero polish: a soft panel the product sits on, live dots on the cards, calmer float */
.float, .phone { animation-duration: 12s }
.lc::after { content: ""; position: absolute; top: 14px; inset-inline-end: 14px; width: 8px; height: 8px; border-radius: 50%; background: #1FA971; animation: livedot 2.2s ease-out infinite }
@keyframes livedot { 0% { box-shadow: 0 0 0 0 rgba(31, 169, 113, .45) } 100% { box-shadow: 0 0 0 9px rgba(31, 169, 113, 0) } }
.lc.ok .lh i { background: var(--okbg); color: var(--ok) }
/* hero layout: dashboard leads, phone tucked in the corner, small cards on the edges */
.stage .phone { width: 25%; bottom: -12%; inset-inline-end: -10% }
.stage .float.lc { width: auto; min-width: clamp(150px, 12vw, 180px); white-space: nowrap }
.stage .float.f1 { bottom: -24%; inset-inline-start: -5%; top: auto }
.stage .float.f2 { top: -17%; bottom: auto; inset-inline-start: auto; inset-inline-end: 30% }
@media (min-width: 1081px) { .stage .scene { margin-inline-end: 22% } .stage .phone { width: 31%; inset-inline-end: -30%; bottom: -14% } .stage .float.f1 { inset-inline-start: -6% !important; bottom: -20% !important } .stage p.tryit { inset-inline: 34% 26%; bottom: -30px; font-size: 12.5px } :root[dir="rtl"] .stage .float.f1 { inset-inline-start: 1% !important; bottom: -22% !important } .stage .float.f2 { top: -10% !important; inset-inline-end: -34% !important } :root[dir="rtl"] .stage p.tryit { inset-inline: 36% 37% } }
@media (min-width: 1281px) { .stage .phone { bottom: -16% } .stage .float.f1 { inset-inline-start: -9%; bottom: -24% } }
.lc b { font-size: clamp(20px, 1.7vw, 26px) }
:root[dir="rtl"] .stage .float.f2 { inset-inline-end: 14% }
/* phones: the app leads (the desktop dashboard would be too small to read); cards either side, flat, no tilt */
@media (max-width: 620px) {
  .stage { padding: 8px 0 18px } .stage .frame { display: none }
  .scene, :root[dir="rtl"] .scene { transform: none !important }
  .stage .phone { position: relative; inset: auto; width: min(54%, 240px); margin-inline: auto 3%; transform: none !important }
  .stage .float.lc { min-width: 0; width: 46%; max-width: 200px; white-space: normal; transform: none !important; z-index: 4 }
  .stage .float.f1 { inset-inline-start: 0; bottom: 16%; top: auto }
  .stage .float.f2 { inset-inline-start: 0; inset-inline-end: auto; top: 14%; bottom: auto }
  .lc .lh { font-size: 12.5px } .lc b { font-size: 20px } .lc small { font-size: 11.5px }
}
@media (max-width: 1080px) { .stage .float.f1 { inset-inline-start: 1% } .stage .phone { inset-inline-end: 1% } }
@keyframes tourin { from { opacity: 0; transform: translateY(12px) scale(.98) } }
.stage .tryit { position: absolute; inset-inline: 30% 0; bottom: -14px; margin: 0; text-align: center; font-size: 13.5px; color: var(--mist) }
@media (max-width: 620px) { .stage .tryit { position: static; margin-top: 10px; inset-inline: auto } }
/* hero web app, laid out like the real NeyoHR web: white sidebar with sections, top bar, breadcrumb, role pills, cards.
   Sized from the frame width (cqw) so it scales like a screenshot but stays sharp */
.stage .frame { container-type: inline-size }
.dash { position: relative; display: grid; grid-template-columns: 22cqw minmax(0, 1fr); background: #F6F8FB; font: 400 1.35cqw/1.35 "Inter", "IBM Plex Sans Arabic", system-ui, sans-serif; color: #1B2B42; text-align: start; min-height: 60cqw }
:root[lang="ar"] .dash { font-family: "Almarai", Tahoma, sans-serif }
.dash .sb { background: #fff; border-inline-end: 1px solid #E6ECF3; display: flex; flex-direction: column; gap: .3cqw; padding: 1.6cqw 1.2cqw }
.dash .sb .lg { width: 14cqw; height: auto; margin: 0 auto 1.6cqw; display: block }
.dash .sb small { font-size: 1.05cqw; letter-spacing: .08em; color: #8C9AB0; font-weight: 600; margin: 1.2cqw .8cqw .4cqw }
.dash .sb button { display: flex; align-items: center; gap: .9cqw; width: 100%; padding: .9cqw .9cqw; border: 0; border-radius: .9cqw; background: none; color: #1B2B42; font: inherit; font-size: 1.3cqw; text-align: start; cursor: pointer; transition: background .2s, color .2s }
.dash .sb button[tabindex="-1"] { cursor: default } .dash .sb button[data-v]:hover { background: #F1F5FB }
.dash .sb button.on { background: #EAF2FD; color: #0A5BB5; font-weight: 600 }
.dash .sb button svg { width: 1.6cqw; height: 1.6cqw; flex: none; color: #5E6B82 } .dash .sb button.on svg { color: #0A5BB5 }
.dash .sb button span { flex: 1; white-space: nowrap; overflow: hidden }
.dash .bdg { font-style: normal; background: #D93025; color: #fff; font-size: 1cqw; font-weight: 700; min-width: 1.9cqw; height: 1.9cqw; border-radius: 99px; display: grid; place-items: center; padding: 0 .4cqw }
.dash .mw { display: flex; flex-direction: column; min-width: 0 }
.dash .tb { display: flex; align-items: center; gap: 1.2cqw; padding: 1cqw 2cqw; background: #fff; border-bottom: 1px solid #E6ECF3; font-size: 1.15cqw; color: #5E6B82; white-space: nowrap }
.dash .tb .co { flex: 1; border: 1px solid #E6ECF3; border-radius: .8cqw; padding: .6cqw 1.2cqw; color: #1B2B42; overflow: hidden; text-overflow: clip; max-width: 26cqw }
.dash .tb .fs, .dash .tb .lgb { border: 1px solid #E6ECF3; border-radius: .8cqw; padding: .6cqw 1cqw; display: flex; align-items: center; gap: .5cqw } .dash .tb .fs b { color: #0A5BB5 }
.dash .tb svg { width: 1.3cqw; height: 1.3cqw }
.dash .bell { position: relative; border: 0; background: none; color: #1B2B42; padding: .4cqw; cursor: pointer; display: grid; place-items: center } .dash .bell svg { width: 1.8cqw; height: 1.8cqw }
.dash .bell em { position: absolute; top: -.2cqw; inset-inline-end: -.4cqw; font-style: normal; background: #D93025; color: #fff; font-size: .95cqw; font-weight: 700; min-width: 1.7cqw; height: 1.7cqw; border-radius: 99px; display: grid; place-items: center; animation: bellpop .5s var(--ease) }
@keyframes bellpop { 0% { transform: scale(.4) } 60% { transform: scale(1.25) } }
.dash .me { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: #EAF2FD; color: #0A5BB5; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 1.15cqw }
.dash .mn { padding: 1.8cqw 2.2cqw 2.2cqw; display: grid; gap: 1.4cqw; align-content: start; min-width: 0 }
.dash .crumb { font-size: 1.1cqw; color: #5E6B82; margin-bottom: -.8cqw }
.dash .hd { display: flex; justify-content: space-between; align-items: center; gap: 1cqw }
.dash .hd b { font: 700 2.4cqw/1.15 var(--head) }
.dash .hd span { font-size: 1.1cqw; color: #5E6B82; white-space: nowrap }
.dash .roles { display: flex; gap: .8cqw; flex-wrap: wrap } .dash .roles span { border: 1px solid #DCE4EE; border-radius: 99px; padding: .6cqw 1.4cqw; font-size: 1.2cqw; background: #fff; white-space: nowrap } .dash .roles span.on { background: #1B2B42; color: #fff; border-color: #1B2B42; font-weight: 600 }
.dash .sub { font-size: 1.25cqw; font-weight: 600; color: #5E6B82 }
.dash .kp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2cqw } .dash .kp.k4 { grid-template-columns: repeat(4, minmax(0, 1fr)) }
.dash .kp > div { background: #fff; border: 1px solid #E6ECF3; border-radius: 1.2cqw; padding: 1.4cqw; display: grid; gap: .4cqw; min-width: 0 }
.dash .t { display: flex; align-items: center; gap: .8cqw; color: #5E6B82; font-size: 1.15cqw; white-space: nowrap; overflow: hidden }
.dash .t i { width: 2.8cqw; height: 2.8cqw; flex: none; border-radius: .8cqw; background: #EAF2FD; color: #0A5BB5; display: grid; place-items: center } .dash .t svg { width: 1.5cqw; height: 1.5cqw }
.dash .kp b { font: 700 2.6cqw/1.1 var(--head); margin-top: .3cqw; white-space: nowrap }
.dash .kp small { font-size: 1.05cqw; color: #5E6B82; white-space: nowrap; overflow: hidden } .dash .kp small.up { color: #13805B }
.dash .rw { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 1.2cqw }
.dash .pn { background: #fff; border: 1px solid #E6ECF3; border-radius: 1.2cqw; padding: 1.4cqw; display: grid; gap: 1cqw; align-content: start; min-width: 0 }
.dash .pn h4 { margin: 0; font: 600 1.35cqw/1.2 var(--body); display: flex; align-items: center; gap: .6cqw }
.dash .chart { width: 100%; height: 12cqw; display: block; overflow: visible }
.dash .chart .ar { fill: url(#hcg); opacity: 0; transition: opacity 1s .9s }
.dash .chart .ln { fill: none; stroke: #1F72D0; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1 }
.dash.lit .chart .ln { animation: chartdraw 1.6s .3s var(--ease) forwards } .dash.lit .chart .ar { opacity: 1 }
@keyframes chartdraw { to { stroke-dashoffset: 0 } }
.dash .mo { display: grid; grid-template-columns: repeat(12, 1fr); font-size: 1cqw; color: #8C9AB0; text-align: center }
.dash .cw { position: relative; cursor: crosshair }
.dash .ct { position: absolute; transform: translate(-50%, -140%); background: #1B2B42; color: #fff; font-size: 1.1cqw; font-weight: 600; padding: .5cqw 1cqw; border-radius: .7cqw; white-space: nowrap; pointer-events: none }
.dash .wi { display: flex; align-items: center; gap: 1cqw; padding: .6cqw; border-radius: .9cqw } .dash .wi span { display: grid; min-width: 0 } .dash .wi b { font-size: 1.25cqw } .dash .wi small { font-size: 1.05cqw; color: #5E6B82; white-space: nowrap; overflow: hidden }
.dash .new { background: #FFF8E8; box-shadow: 0 0 0 1px #F2D9A6 inset; animation: newin .6s var(--ease) }
@keyframes newin { from { transform: translateY(-.6cqw); opacity: 0 } }
.dash .run { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1cqw }
.dash .run li { display: flex; align-items: center; gap: 1cqw; font-size: 1.25cqw; color: #5E6B82 }
.dash .run li i { width: 2.1cqw; height: 2.1cqw; flex: none; border-radius: 50%; display: grid; place-items: center }
.dash .run li.done i { background: #E3F4EC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313805B' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 62% no-repeat }
.dash .run li.now { color: #1B2B42; font-weight: 600 } .dash .run li.now i { border: .35cqw solid #1F72D0; animation: livedot 2.2s ease-out infinite }
.dash .dbtn { font: 600 1.25cqw/1 var(--body); padding: .9cqw 1.4cqw; border-radius: .9cqw; border: 1px solid #0A5BB5; background: #0A5BB5; color: #fff; cursor: pointer; justify-self: start; white-space: nowrap; transition: background .2s, transform .15s }
.dash .dbtn:hover { background: #084B97 } .dash .dbtn:active { transform: scale(.96) }
.dash .dbtn.g { background: #fff; color: #1B2B42; border-color: #DCE4EE } .dash .dbtn.g:hover { border-color: #1F72D0 }
.dash .acts .dbtn.g:hover { border-color: #C0392B; color: #B3261E }
.dash .paid { margin: 0; font-size: 1.25cqw; font-weight: 600; color: #13805B; background: #E3F4EC; padding: .8cqw 1.2cqw; border-radius: .9cqw; justify-self: start }
.dash .av { width: 2.8cqw; height: 2.8cqw; flex: none; border-radius: 50%; display: grid; place-items: center; background: #EAF2FD; color: #0A5BB5; font: 700 1.05cqw/1 var(--body); font-style: normal }
.dash .tbl { gap: 0; padding: .4cqw 1.4cqw }
.dash .tr { display: grid; grid-template-columns: 1.5fr 1.2fr 1fr; align-items: center; gap: 1cqw; padding: .9cqw 0; border-bottom: 1px solid #E6ECF3; font-size: 1.25cqw; color: #5E6B82 } .dash .tr:last-child { border-bottom: 0 }
.dash .tr.th { font-size: 1.1cqw; color: #8C9AB0; font-weight: 600 } .dash .tr .nm { display: flex; align-items: center; gap: .9cqw; color: #1B2B42; font-weight: 600; white-space: nowrap }
.dash em { font-style: normal; font-weight: 600; font-size: 1.1cqw; padding: .45cqw 1cqw; border-radius: 99px; white-space: nowrap; justify-self: start }
.dash em.rdy { background: #E3F4EC; color: #13805B } .dash em.due { background: #FFF6E6; color: #8A5300 } .dash em.no { background: #FDECEA; color: #B3261E }
.dash .lv { display: grid; gap: 1cqw }
.dash .lr { display: flex; align-items: center; gap: 1.2cqw; padding: 1.2cqw 1.4cqw } .dash .lr .who { flex: 1; display: grid; gap: .2cqw; min-width: 0 } .dash .lr .who b { font-size: 1.35cqw } .dash .lr .who small { font-size: 1.1cqw; color: #5E6B82 } .dash .lr .src { color: #8A5300; font-weight: 600 }
.dash .acts { display: flex; gap: .7cqw }
.dash .runbar { display: flex; align-items: center; justify-content: space-between; gap: 1cqw; background: #fff; border: 1px solid #E6ECF3; border-radius: 1.2cqw; padding: 1.2cqw 1.4cqw } .dash .runbar b { font-size: 1.4cqw }
.dash .dt { position: absolute; inset-inline-start: 61%; bottom: 2cqw; translate: -50% 1cqw; background: #1B2B42; color: #fff; font: 600 1.3cqw/1.2 var(--body); padding: 1cqw 1.8cqw; border-radius: 99px; box-shadow: 0 1cqw 3cqw -1cqw rgba(16, 32, 60, .5); opacity: 0; pointer-events: none; transition: opacity .25s, translate .25s; white-space: nowrap; z-index: 2 }
:root[dir="rtl"] .dash .dt { translate: 50% 1cqw } .dash .dt.on { opacity: 1; translate: -50% 0 } :root[dir="rtl"] .dash .dt.on { translate: 50% 0 }
.dash [hidden], .phone [hidden] { display: none !important }
.stage .float.lc { max-width: 230px } .stage .float.lc small { white-space: normal; display: block }
.phone.app { container-type: inline-size }
/* phone running the NeyoHR app, drawn live in the app's look; sized from the screen width (cqw) */
.ascr { position: relative; aspect-ratio: 540 / 1132; border-radius: 24px; overflow: hidden; background: #F3F5F9; container-type: inline-size; display: flex; flex-direction: column; font: 400 4.6cqw/1.3 "Inter", "Almarai", sans-serif; color: #0F1C2E; text-align: start }
:root[lang="ar"] .ascr { font-family: "Almarai", Tahoma, sans-serif }
.ascr.swap { animation: swapin .25s ease } @keyframes swapin { from { opacity: .35 } }
.ascr .shot { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0 }
.ascr svg { width: 5cqw; height: 5cqw }
.ascr button { font: inherit; color: inherit }
.ahd { display: flex; align-items: center; gap: 3cqw; padding: 4cqw 5cqw 3cqw; background: #fff }
.ahd + .abody, .ahd + .atl { border-top: 1cqw solid; border-image: linear-gradient(90deg, #1B2B42, #1F72D0, #8DB5EC) 1 }
.ahd img { height: 8cqw; width: auto; border-radius: 0 } .ahd span { margin-inline-start: auto; font-weight: 700; font-size: 5.2cqw }
.ahd .me, .ascr .av { width: 9cqw; height: 9cqw; border-radius: 50%; background: #EAF2FD; color: #0A5BB5; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 4cqw; flex: none }
.atl { background: #fff; padding: 2cqw 5cqw 3cqw; font: 700 7cqw/1.1 var(--head) }
.abody { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain; padding: 4cqw; display: grid; gap: 3.5cqw; align-content: start }
.acard { background: #fff; border: 1px solid #E6ECF3; border-radius: 5cqw; padding: 4cqw; display: grid; gap: 2cqw; text-align: start; width: 100% }
.arow { display: flex; align-items: center; gap: 2.5cqw } .arow .g { display: grid; gap: .6cqw; min-width: 0; flex: 1 }
.arow b.h { font: 700 5.6cqw/1.2 var(--head) } .ascr small { color: #5E6B82; font-size: 3.8cqw } .arow .lab { color: #B4471B; font-weight: 700; letter-spacing: .04em; font-size: 3.4cqw }
.ascr .cnt { font-style: normal; background: #FFF1E0; color: #B4471B; font-weight: 700; font-size: 3.8cqw; width: 6.5cqw; height: 6.5cqw; border-radius: 50%; display: grid; place-items: center; padding: 0; margin: 0 }
.arev { margin-inline-start: auto; border: 0; background: #EAF2FD; color: #0A5BB5 !important; font-weight: 700 !important; font-size: 4cqw !important; padding: 2.6cqw 4cqw; border-radius: 3cqw; cursor: pointer }
.ap .ic { width: 10cqw; height: 10cqw; border-radius: 3cqw; background: #FFF1E0; color: #B4471B; display: grid; place-items: center; flex: none; font-style: normal }
.aok { margin: 0; color: #13805B; font-weight: 600; font-size: 4cqw }
.aqa { grid-template-columns: repeat(4, 1fr); gap: 1cqw; padding: 3cqw 2cqw }
.aqa button { border: 0; background: none; display: grid; justify-items: center; gap: 1.5cqw; font-weight: 600; font-size: 3.4cqw; line-height: 1.1; cursor: pointer; padding: 1cqw } .aqa button:not([data-pgo]) { cursor: default }
.aqa i { width: 11cqw; height: 11cqw; border-radius: 3.5cqw; display: grid; place-items: center }
.aqa .q0 { background: #EAF2FD; color: #0A5BB5 } .aqa .q1 { background: #E3F4EC; color: #13805B } .aqa .q2 { background: #FFF1E0; color: #B4471B } .aqa .q3 { background: #EEF1F6; color: #5E6B82 }
.ascr em { font-style: normal; font-weight: 700; font-size: 3.4cqw; padding: 1cqw 2.6cqw; border-radius: 99px; justify-self: start; white-space: nowrap }
.arow em { margin-inline-start: auto } .ascr em.rdy { background: #E3F4EC; color: #13805B } .ascr em.due { background: #FFF6E6; color: #8A5300 } .ascr em.no { background: #FDECEA; color: #B3261E }
.ascr .amt { font: 800 8.5cqw/1 var(--head); letter-spacing: -.02em }
.abars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.2cqw; height: 24cqw }
.abars span { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; gap: 1cqw; text-align: center; font-size: 2.6cqw; color: #8C9AB0 }
.abars i { display: block; background: #6A9FD8; border-radius: 1.2cqw 1.2cqw .4cqw .4cqw } .abars i.on { background: #0A5BB5 }
.anav { display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-top: 1px solid #E6ECF3; padding: 2cqw 1cqw 3cqw; margin-top: auto }
.anav button { border: 0; background: none; display: grid; justify-items: center; gap: 1cqw; font-size: 3.2cqw; line-height: 1; color: #5E6B82 !important; position: relative; cursor: pointer; padding: 1cqw 0 }
.anav button.on { color: #0A5BB5 !important; font-weight: 700 }
.anav em { position: absolute; top: -1cqw; inset-inline-start: 55%; background: #D93025; color: #fff; font-size: 2.8cqw; min-width: 4.5cqw; height: 4.5cqw; padding: 0 1cqw; display: grid; place-items: center }
.anav.ghost { position: absolute; inset-inline: 0; bottom: 0; height: 8.5%; background: transparent; border: 0; padding: 0 } .anav.ghost button > * { opacity: 0 }
.aseg { display: flex; background: #E8EDF4; border-radius: 3cqw; padding: 1cqw } .aseg span { flex: 1; text-align: center; padding: 2cqw; border-radius: 2.4cqw; font-weight: 700; font-size: 4cqw } .aseg .on { background: #fff }
.aact { display: flex; gap: 2cqw } .aact button { flex: 1; border-radius: 3cqw; padding: 2.6cqw; font-weight: 700; font-size: 4cqw; cursor: pointer }
.aact .ok { background: #1E7B3C; color: #fff !important; border: 0 } .aact .no { background: #fff; color: #B3261E !important; border: 1px solid #E6ECF3 }
.abk { display: flex; align-items: center; gap: 3cqw; padding: 4cqw 4cqw 1cqw } .abk button { width: 10cqw; height: 10cqw; border-radius: 3cqw; border: 1px solid #E6ECF3; background: #fff; font-size: 6cqw; line-height: 1; cursor: pointer } .abk b { font: 700 5.6cqw/1.2 var(--head) }
.astep { display: flex; gap: 2.5cqw; align-items: flex-start } .astep i { width: 7cqw; height: 7cqw; border-radius: 50%; background: #0A5BB5; color: #fff; font-style: normal; font-weight: 700; font-size: 3.6cqw; display: grid; place-items: center; flex: none } .astep span { display: grid }
.ascr .opt { cursor: pointer; gap: 1cqw; transition: border-color .2s, transform .15s } .ascr .opt:hover { border-color: #1F72D0 } .ascr .opt:active { transform: scale(.98) } .opt b { font-size: 4.6cqw } .opt em { margin-top: 1cqw }
.amon { display: flex; gap: 1.6cqw; overflow: hidden } .amon span { padding: 2cqw 3.4cqw; border-radius: 99px; background: #fff; border: 1px solid #E6ECF3; font-weight: 600; font-size: 3.8cqw; white-space: nowrap } .amon .on { background: #0A5BB5; color: #fff; border-color: #0A5BB5 }
.abar { display: block; height: 2cqw; background: #EEF2F7; border-radius: 99px; overflow: hidden } .abar i { display: block; width: 92%; height: 100%; background: #0A5BB5 }
.ascr .neg { color: #B3261E } .ascr .pos { color: #13805B }
.acard.rows { gap: 0; padding: 0 4cqw } .rows > span { display: flex; justify-content: space-between; padding: 3.4cqw 0; font-weight: 600; border-bottom: 1px solid #EEF1F6 } .rows > span:last-child { border: 0 }
.aytd { display: flex; justify-content: space-between; color: #5E6B82; font-size: 4cqw; padding: 0 1cqw } .aytd b { color: #0F1C2E }

.abody::-webkit-scrollbar { display: none }
.alnk { margin-inline-start: auto; border: 0; background: none; color: #0A5BB5 !important; font-weight: 700 !important; font-size: 4cqw !important; cursor: pointer; padding: 1cqw }
.abal { display: flex; align-items: center; gap: 5cqw }
.abal .ring { --p: 80; width: 24cqw; aspect-ratio: 1; border-radius: 50%; flex: none; display: grid; place-content: center; text-align: center; background: radial-gradient(closest-side, #fff 76%, transparent 77%), conic-gradient(#0A5BB5 calc(var(--p) * 1%), #E3E9F2 0) }
.abal .ring b { font: 800 7cqw/1 var(--head) } .abal .ring small { font-size: 2.8cqw }
.abal .bl { flex: 1; display: grid; gap: 3.5cqw; min-width: 0 }
.abal .bl span { display: flex; justify-content: space-between; align-items: baseline; gap: 2cqw } .abal .bl b { font-size: 3.8cqw } .abal .bl small { font-size: 3.4cqw; white-space: nowrap }
.abal .bl i { display: block; height: 2.2cqw; border-radius: 99px; background: #E3E9F2; margin-top: 1.2cqw; overflow: hidden } .abal .bl u { display: block; height: 100%; background: #0A5BB5; border-radius: 99px; transition: width .6s var(--ease) }
/* text that must not break badly on phones: tab labels stay on one line, rule titles get the full width, short labels balance */
.stats div > span, .rule b, .flow li b, .flow li > span:last-child { text-wrap: balance }
@media (max-width: 620px) { .fnav a { white-space: nowrap; font-size: 12.5px; padding: 10px 6px } }
@media (max-width: 420px) { .rule { grid-template-columns: minmax(0, 1fr) } .rule .v { grid-row: auto; justify-self: start; text-align: start } }
@media (max-width: 380px) { .eyebrow { font-size: 12px } .flowsec .flow li b { font-size: 13.5px } .flowsec .stats div > span { font-size: 12.5px } }
/* payroll status pill and the pop when a live card changes */
.stage .float.chip { display: flex; align-items: center; gap: 9px; width: auto !important; min-width: 0 !important; padding: 8px 14px 8px 8px; border-radius: 99px; font: 600 13px/1.2 var(--body); color: var(--navy); white-space: nowrap; overflow: visible }
.float.chip i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #FFF6E6; color: #8A5300; flex: none }
.float.chip.ok i { background: var(--okbg); color: var(--ok) }
.float.chip::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #E59A2E; flex: none; animation: livedot 2.2s ease-out infinite } .float.chip.ok::after { background: #1FA971 }
.stage .float.pop { animation: cardpop .5s var(--ease) }
@keyframes cardpop { 40% { scale: 1.06 } }
@media (max-width: 620px) { .stage .float.chip { font-size: 11.5px; padding: 6px 10px 6px 6px; top: 4% !important; inset-inline: auto 0 !important } .float.chip i { width: 22px; height: 22px } }
/* phone: notification banner and small message on top of the real screen */
.phone .pnote { position: absolute; z-index: 4; inset-inline: 5%; top: 3%; display: flex; gap: 8px; align-items: flex-start; padding: 9px 10px; background: rgba(255, 255, 255, .97); border-radius: 14px; box-shadow: 0 10px 28px -10px rgba(16, 32, 60, .55); font-size: 10.5px; line-height: 1.3; color: #4A586E; cursor: pointer; text-align: start }
.phone .pnote.on { animation: notein .45s var(--ease) both } @keyframes notein { from { transform: translateY(-120%); opacity: 0 } }
.phone .pnote img { width: 22px; height: 22px; border-radius: 6px; flex: none } .phone .pnote b { display: block; color: #1B2B42; font-size: 11.5px }
.phone .ptoast { position: absolute; z-index: 4; inset-inline: 8%; bottom: 14%; background: #1B2B42; color: #fff; font-size: 11px; font-weight: 600; text-align: center; padding: 8px 10px; border-radius: 99px; opacity: 0; transition: opacity .25s; pointer-events: none }
.phone .ptoast.on { opacity: 1 }

@media (prefers-reduced-motion: reduce) { .dash .chart .ln { stroke-dashoffset: 0 } .dash .chart .ar { opacity: 1 } }
/* hero: slow moving blue background, three soft patches drifting, fading to white at the bottom */
.hbg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; -webkit-mask: linear-gradient(to bottom, #000 62%, transparent); mask: linear-gradient(to bottom, #000 62%, transparent) }
.hbg i { position: absolute; border-radius: 50%; will-change: transform }
.hbg i:nth-child(1) { width: 70vw; height: 70vw; top: -38vw; inset-inline-end: -18vw; background: radial-gradient(closest-side, rgba(31, 114, 208, .26), rgba(31, 114, 208, 0)); animation: hb1 22s ease-in-out infinite alternate }
.hbg i:nth-child(2) { width: 58vw; height: 58vw; bottom: -30vw; inset-inline-start: -16vw; background: radial-gradient(closest-side, rgba(10, 91, 181, .16), rgba(10, 91, 181, 0)); animation: hb2 26s ease-in-out infinite alternate }
.hbg i:nth-child(3) { width: 46vw; height: 46vw; top: 6%; left: 30%; background: radial-gradient(closest-side, rgba(141, 181, 236, .30), rgba(141, 181, 236, 0)); animation: hb3 20s ease-in-out infinite alternate }
@keyframes hb1 { to { transform: translate(-14vw, 10vw) scale(1.12) } }
@keyframes hb2 { to { transform: translate(18vw, -8vw) scale(1.18) } }
@keyframes hb3 { to { transform: translate(-12vw, 6vw) scale(.88) } }
@media (max-width: 620px) { .hbg i:nth-child(1) { width: 120vw; height: 120vw; top: -60vw } .hbg i:nth-child(3) { width: 90vw; height: 90vw; left: 5% } }
/* graphics: the flow band */
.flowsec { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); color: #C9D6E8 }
.flowsec .sh h2 { color: #fff } .flowsec .sh p { color: #B4C3D9 } .flowsec .kicker { color: #8DB5EC }
.flow { list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; position: relative }
.flow::before, .flow::after { content: ""; position: absolute; top: 27px; inset-inline: 8%; height: 2px }
.flow::before { background: rgba(255, 255, 255, .14) }
.flow::after { background: linear-gradient(90deg, transparent, #6AA9F2, transparent) no-repeat; background-size: 30% 100%; animation: travel 4.5s linear infinite }
:root[dir="rtl"] .flow::after { transform: scaleX(-1) }
@keyframes travel { from { background-position: -50% 0 } to { background-position: 150% 0 } }
.flow li { position: relative; display: grid; justify-items: center; text-align: center; gap: 6px }
.flow .fi { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px; background: #24395A; color: #8DB5EC; border: 1px solid rgba(255, 255, 255, .16); transition: background .5s var(--ease), color .5s, transform .5s var(--ease), box-shadow .5s; transition-delay: calc(var(--n) * 160ms) }
.flow.lit .fi { background: var(--blue); color: #fff; box-shadow: 0 0 0 6px rgba(31, 114, 208, .22); transform: scale(1.04) }
.flow li b { color: #fff; font: 600 15.5px/1.3 var(--head) } .flow li > span:last-child { font-size: 13.5px; line-height: 1.5; color: #B4C3D9 }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 60px; padding-top: 36px; border-top: 1px solid rgba(255, 255, 255, .12); text-align: center }
.stats b { display: block; font: 700 clamp(36px, 4.4vw, 54px)/1 var(--head); color: #fff; letter-spacing: -.02em }
.stats div > span { display: block; margin-top: 10px; font-size: 14.5px; color: #B4C3D9 }
@media (max-width: 1080px) { .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 30px } .flow::before, .flow::after { display: none } .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px } }
@media (max-width: 420px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)) } }

/* soft motion: hero sequence, reveal on scroll, hover lift, header shade */
.hero .wrap > div:first-child > * { animation: rise .7s var(--ease) both }
.hero .wrap > div:first-child > :nth-child(2) { animation-delay: .08s }
.hero .wrap > div:first-child > :nth-child(3) { animation-delay: .16s }
.hero .wrap > div:first-child > :nth-child(4) { animation-delay: .24s }
.hero .wrap > div:first-child > :nth-child(5) { animation-delay: .32s }
.hero .stage { animation: rise .9s .1s var(--ease) both }
@keyframes rise { from { opacity: 0; transform: translateY(14px) } }
.page .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease) var(--rd, 0ms), transform .7s var(--ease) var(--rd, 0ms) }
.page .rv.in { opacity: 1; transform: none }
.card, .deploy > div, .res .card { transition: transform .3s var(--ease), box-shadow .3s, border-color .3s }
.card:hover, .deploy > div:hover { transform: translateY(-3px); border-color: #C7D7EE; box-shadow: 0 22px 44px -30px rgba(27, 43, 66, .5) }
.card .ic, .modgrid a i { transition: transform .3s var(--ease) }
.card:hover .ic, .modgrid a:hover i { transform: scale(1.08) }
.card a.more { display: inline-block; transition: transform .2s var(--ease) }
.card:hover a.more { transform: translateX(3px) } :root[dir="rtl"] .card:hover a.more { transform: translateX(-3px) }
.btn-g:hover { transform: translateY(-1px) } .btn:active { transform: scale(.98) }
.top { transition: box-shadow .3s } .top.scrolled { box-shadow: 0 10px 28px -20px rgba(27, 43, 66, .45) }
.form input, .form select, .form textarea { transition: border-color .2s, box-shadow .2s }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; box-shadow: 0 0 0 4px var(--tint) }
.phones > div { animation: float 9s ease-in-out infinite } @keyframes float { 50% { translate: 0 -8px } } .phones > div:nth-child(2) { animation-delay: -3s } .phones > div:nth-child(3) { animation-delay: -6s }
@media (prefers-reduced-motion: reduce) { .page .rv { opacity: 1; transform: none } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } *, *::before, *::after { animation: none !important; transition: none !important } }

/* Arabic: font, line height and mirrored hero details */
:root[lang="ar"] { --head: "Almarai", Tahoma, sans-serif; --body: "Almarai", Tahoma, sans-serif }
:root[lang="ar"] body { line-height: 1.8 }
:root[lang="ar"] h1, :root[lang="ar"] h2, :root[lang="ar"] h3, :root[lang="ar"] h4 { letter-spacing: 0; line-height: 1.35 }
:root[lang="ar"] .hero h1 .hl::after { transform-origin: right; background: linear-gradient(270deg, var(--arc), rgba(31, 114, 208, .12)) }
:root[lang="ar"] .hero h1, :root[lang="ar"] .hero .wrap:has(.stage[data-region="gulf"]) h1 { font-size: clamp(30px, 3.1vw, 46px) }
.lang .l2:lang(ar) { font-family: "Almarai", Tahoma, sans-serif }
.lang .l2:lang(en) { font-family: "Inter", sans-serif }:root[lang="ar"] input[type="tel"]::placeholder { text-align: right }

/* form bot protection: Turnstile box and hidden trap field */
.cf-box:not(:empty) { margin-top: 16px; min-height: 65px }
.trap { position: absolute !important; width: 1px !important; height: 1px !important; min-width: 0 !important; padding: 0 !important; border: 0 !important; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none }
.err.ok { color: #1F7A4D }

/* phone with country code */
.tel { display: flex; gap: 8px }
.tel input { flex: 1; min-width: 0 }

/* flag inside the country and phone code boxes */
.flagsel { position: relative; display: block }
.flagsel .flag { position: absolute; inset-inline-start: 12px; top: 50%; transform: translateY(-50%); width: 22px; height: auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(15,23,42,.08); pointer-events: none }
.form .flagsel .flag:not([hidden]) + select { padding-inline-start: 44px }
.tel .flagsel.cc { flex: 0 0 136px }
.tel .flagsel.cc select { width: 100% }

/* hidden always wins over display rules */
[hidden] { display: none !important }

/* searchable country and phone code picker */
.pk { position: relative }
.pk-btn { display: flex; align-items: center; gap: 10px; width: 100%; font: 400 15px/1.4 var(--body); color: var(--navy); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; background: var(--white); text-align: start; cursor: pointer; transition: border-color .2s, box-shadow .2s }
.pk-btn span { overflow: hidden; text-overflow: clip; white-space: nowrap }
.pk-btn::after { content: ''; flex: none; margin-inline-start: auto; width: 7px; height: 7px; border-right: 1.5px solid var(--slate); border-bottom: 1.5px solid var(--slate); transform: translateY(-2px) rotate(45deg) }
.pk-btn:focus-visible, .pk-btn[aria-expanded="true"] { outline: 0; border-color: var(--arc); box-shadow: 0 0 0 4px var(--tint) }
.pk-btn img, .pk-list img { flex: none; width: 20px; height: auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(15, 23, 42, .08) }
.pk-ph { color: #94A3B8 }
.pk-pop { position: absolute; z-index: 30; top: calc(100% + 6px); inset-inline-start: 0; width: max(100%, 280px); background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(15, 23, 42, .14); padding: 8px }
.tel .pk-pop { width: 300px }
.form .pk-q { margin-bottom: 6px; padding: 9px 12px }
.pk-list { list-style: none; margin: 0; padding: 0; max-height: 264px; overflow: auto }
.pk-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; cursor: pointer; font-size: 14.5px; color: var(--navy) }
.pk-list li b { margin-inline-start: auto; font-weight: 500; color: var(--slate) }
.pk-list li[aria-selected="true"] { font-weight: 600 }
.pk-list li.on, .pk-list li[data-v]:hover { background: var(--wash) }
.pk-list li.sep { height: 1px; padding: 0; margin: 6px 4px; background: var(--line); cursor: default }
.pk-list li.none { color: var(--slate); cursor: default }

/* not-found and error pages */
.oops { padding: 64px 0 96px; min-height: calc(100vh - 150px); display: flex; align-items: center }
.oops-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; width: 100% }
.oops h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08; margin: 14px 0; text-wrap: balance }
.oops-act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px }
.oops-links { display: grid; gap: 10px; margin-top: 32px }
.oops-links small { font-size: 13px; color: var(--slate) }
.oops-links div { display: flex; flex-wrap: wrap; gap: 8px }
.oops-links a { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--navy); text-decoration: none; transition: border-color .2s, color .2s }
.oops-links a:hover { border-color: var(--arc); color: var(--arc) }
.oops-art { display: block; width: 100%; height: auto; overflow: visible }
.oops-art * { transform-box: fill-box; transform-origin: center }
.o-glow { fill: var(--tint); animation: o-pulse 6s ease-in-out infinite }
.o-float { animation: o-float 6s ease-in-out infinite }
.o-card { fill: #fff; stroke: var(--line); stroke-width: 1.5; filter: drop-shadow(0 18px 28px rgba(15, 23, 42, .12)) }
.o-bar { fill: var(--wash) }
.o-dot, .o-line { fill: var(--line) }
.o-sk { fill: #E6EDF7; animation: o-shim 2.4s ease-in-out infinite } .o-sk.s2 { animation-delay: .4s } .o-sk.s3 { animation-delay: .8s }
.o-miss { fill: rgba(10, 91, 181, .04); stroke: var(--arc); stroke-width: 2; stroke-dasharray: 7 6; animation: o-march 1.6s linear infinite }
.o-q { fill: var(--arc); font: 700 40px/1 var(--body) }
.o-route { fill: none; stroke: var(--arc); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 9; animation: o-march 1.2s linear infinite }
.o-pin { fill: var(--arc) }
.o-ring { fill: none; stroke: var(--arc); stroke-width: 2; animation: o-ring 2.4s ease-out infinite }
.o-lens { animation: o-scan 7s ease-in-out infinite }
.o-lens circle { fill: rgba(255, 255, 255, .6); stroke: var(--navy); stroke-width: 7 }
.o-lens path { stroke: var(--navy); stroke-width: 10; stroke-linecap: round }
.o-gear circle { fill: none; stroke: var(--arc); stroke-width: 10; stroke-dasharray: 6 5.3 }
.o-gear .hole { stroke-width: 5; stroke-dasharray: none }
.o-gear { animation: o-spin 8s linear infinite } .o-gear.rev { animation-direction: reverse; animation-duration: 5s }
.o-gear.small circle { stroke-width: 7; stroke-dasharray: 4.4 4.4 } .o-gear.small .hole { stroke-width: 4; stroke-dasharray: none }
.o-sp > * { fill: var(--arc); opacity: .35; animation: o-tw 4s ease-in-out infinite } .o-sp > :nth-child(2) { animation-delay: 1s } .o-sp > :nth-child(3) { animation-delay: 2s } .o-sp > :nth-child(4) { animation-delay: 3s }
@keyframes o-pulse { 50% { transform: scale(.95); opacity: .7 } }
@keyframes o-float { 50% { transform: translateY(-8px) } }
@keyframes o-shim { 50% { opacity: .45 } }
@keyframes o-march { to { stroke-dashoffset: -26 } }
@keyframes o-ring { from { transform: scale(1); opacity: .8 } to { transform: scale(2.4); opacity: 0 } }
@keyframes o-scan { 0%, 100% { transform: translate(0, 0) } 35% { transform: translate(-118px, 36px) } 70% { transform: translate(-40px, -64px) } }
@keyframes o-spin { to { transform: rotate(360deg) } }
@keyframes o-tw { 50% { opacity: .9; transform: translateY(-6px) } }
@media (prefers-reduced-motion: reduce) { .oops-art * { animation: none !important } }
@media (max-width: 860px) { .oops { padding: 32px 0 64px; min-height: 0 } .oops-in { grid-template-columns: minmax(0, 1fr); gap: 20px } .oops-pic { order: -1; width: 100%; max-width: 420px; margin-inline: auto } }
