/* Larsa Systems - v2: light, calm, normal scrolling. Ink, gold and paper from the mark. */
:root {
  --ink: #1F2A44; --ink-2: #3A4766; --gold: #C0913A; --gold-hi: #D9A957; --gold-pale: #F4E9D2;
  --paper: #FBF9F4; --paper-2: #F4F0E6; --white: #FFFFFF; --line: #E6DFD0; --muted: #626B82;
  --serif: "Noto Serif Display", Georgia, serif; --sans: "IBM Plex Sans", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --lh: 1.65; --max: 1180px; --gut: clamp(20px, 5vw, 64px); --ease: cubic-bezier(.22, .8, .24, 1);
}
html[lang="ar"] { --serif: "Noto Kufi Arabic", "IBM Plex Sans Arabic", sans-serif; --sans: "IBM Plex Sans Arabic", "IBM Plex Sans", sans-serif; --lh: 1.9; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/var(--lh) var(--sans); overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; line-height: 1.12; letter-spacing: -.01em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-weight: 700; line-height: 1.5; letter-spacing: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { width: min(var(--max), 100% - 2 * var(--gut)); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 8px; top: 8px; background: var(--gold); color: #fff; padding: 8px 14px; z-index: 99; transform: translateY(-300%); }
.skip:focus { transform: none; }

/* header */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(251, 249, 244, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: box-shadow .3s; }
.hdr.scrolled { box-shadow: 0 1px 0 var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-inline-end: auto; }
.brand svg { width: 28px; height: 28px; } .brand .L { fill: var(--ink); } .brand .S { fill: var(--gold); }
.brand b { font: 600 20px/1 "Noto Serif Display", Georgia, serif; letter-spacing: .14em; }
.brand small { display: block; font: 500 9.5px/1 "IBM Plex Sans", sans-serif; letter-spacing: .26em; color: var(--gold); margin-top: 5px; }
html[lang="ar"] .brand b { font: 700 19px/1.1 "Noto Kufi Arabic", sans-serif; letter-spacing: 0; }
html[lang="ar"] .brand small { font: 500 11px/1 "IBM Plex Sans Arabic", sans-serif; letter-spacing: 0; }
.nav { display: flex; gap: 26px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink-2); padding: 6px 0; border-bottom: 1.5px solid transparent; transition: border-color .25s, color .25s; }
.nav a:hover { color: var(--ink); border-color: var(--gold); }
.lang { text-decoration: none; font-size: 14px; border: 1px solid var(--line); background: var(--white); padding: 6px 14px; border-radius: 99px; transition: border-color .25s; }
.lang:hover { border-color: var(--gold); }
.lang[lang="ar"] { font-family: "IBM Plex Sans Arabic", sans-serif; } .lang[lang="en"] { font-family: "IBM Plex Sans", sans-serif; }
@media (max-width: 860px) { .nav { display: none; } .hdr .wrap { height: 62px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; font-size: 16px; padding: 13px 24px; border-radius: 10px; background: var(--ink); color: var(--white); border: 0; cursor: pointer; font-family: inherit; transition: background .25s, transform .25s; }
.btn:hover { background: #2B3858; transform: translateY(-1px); }
.btn.gold { background: var(--gold); color: var(--white); } .btn.gold:hover { background: #A97E30; }
.btn.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); } .btn.line:hover { box-shadow: inset 0 0 0 1px var(--gold); }
.btn .arr { width: 18px; height: 10px; }
html[dir="rtl"] .btn .arr { transform: scaleX(-1); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* hero */
.hero { padding: clamp(40px, 8vh, 90px) 0 clamp(60px, 10vh, 110px); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.kick { color: var(--gold); font-size: 15px; font-weight: 500; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.4rem, 4.8vw, 4.4rem); }
html[lang="ar"] .hero h1 { font-size: clamp(2rem, 3.8vw, 3.4rem); }
.hero .lede { color: var(--muted); font-size: clamp(16.5px, 1.4vw, 19px); margin-top: 22px; max-width: 46ch; }
.hero .acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .stage { width: min(100%, 460px); justify-self: center; aspect-ratio: 1; cursor: pointer; }
.hero .stage svg { width: 100%; height: 100%; overflow: visible; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; font-size: 14.5px; color: var(--ink-2); }
.facts span { display: inline-flex; align-items: center; gap: 8px; }
.facts span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero .stage { order: -1; width: min(70vw, 300px); } }

/* sections */
.sec { padding: clamp(70px, 11vh, 120px) 0; }
.sec.alt { background: var(--white); border-block: 1px solid var(--line); }
.sec-head { max-width: 640px; margin-bottom: clamp(36px, 6vh, 56px); }
.eyebrow { color: var(--gold); font-size: 14px; font-weight: 500; margin-bottom: 10px; }
.h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
html[lang="ar"] .h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.sec-head p { color: var(--muted); margin-top: 14px; font-size: 17.5px; }

/* services: a clear list with icons */
.svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.svc article { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.svc .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--gold-pale); display: grid; place-items: center; }
.svc .ic svg { width: 26px; height: 26px; stroke: var(--ink); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc .ic svg .g { fill: var(--gold); stroke: none; }
.svc h3 { font-size: 20px; margin-bottom: 6px; }
html[lang="ar"] .svc h3 { font-size: 19px; }
.svc p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; }
.steps::before { content: ""; position: absolute; top: 22px; inset-inline: 22px; height: 1px; background: var(--line); }
.step { position: relative; }
.step .n { width: 44px; height: 44px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--gold); color: var(--gold); display: grid; place-items: center; font-weight: 600; margin-bottom: 18px; position: relative; }
.step:last-child .n { background: var(--gold); color: #fff; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } .steps::before { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* why */
.why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 56px; }
.why div { padding-inline-start: 20px; border-inline-start: 2px solid var(--gold); }
.why h3 { font-size: 21px; margin-bottom: 8px; }
html[lang="ar"] .why h3 { font-size: 19px; }
.why p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } }

/* about */
.about { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.about .mark { width: min(100%, 280px); justify-self: center; }
.about .copy p { color: var(--ink-2); margin-top: 16px; }
.about .copy p.big { font: 500 clamp(1.15rem, 1.8vw, 1.45rem)/1.5 var(--serif); color: var(--ink); }
html[lang="ar"] .about .copy p.big { line-height: 1.9; }
.fields { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.fields span { font-size: 13.5px; padding: 5px 12px; border-radius: 99px; background: var(--paper-2); color: var(--ink-2); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about .mark { width: 160px; } }

/* call to action */
.cta { text-align: center; }
.cta .box { background: var(--paper-2); border-radius: 24px; padding: clamp(40px, 7vw, 72px) var(--gut); }
.cta h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.cta p { color: var(--muted); margin: 14px auto 0; max-width: 46ch; }
.cta .mail { display: inline-block; margin-top: 22px; font: 500 clamp(1.3rem, 2.6vw, 1.9rem)/1.3 "Noto Serif Display", Georgia, serif; color: var(--gold); text-decoration: none; direction: ltr; }
.cta .mail:hover { text-decoration: underline; text-underline-offset: 6px; }
.cta .acts { margin-top: 26px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* footer */
.ftr { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.ftr .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 26px; }
.ftr a { text-decoration: none; } .ftr a:hover { color: var(--gold); }

/* contact page (light) */
.cpage { padding: clamp(40px, 7vh, 80px) 0 clamp(70px, 10vh, 110px); position: relative; }
.cpage canvas.wedges { display: none; }
.cgrid > * { min-width: 0; }
.cf-turnstile { max-width: 100%; overflow: hidden; }
.cgrid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.cside h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
html[lang="ar"] .cside h1 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
.cside .lede { color: var(--muted); margin-top: 18px; max-width: 40ch; }
.cside .direct { margin-top: 34px; font-size: 14px; color: var(--muted); }
.cside .mail { display: inline-block; margin-top: 6px; font: 500 clamp(1.3rem, 2.2vw, 1.8rem)/1.3 "Noto Serif Display", Georgia, serif; color: var(--gold); text-decoration: none; direction: ltr; }
.cside .where { margin-top: 16px; color: var(--muted); font-size: 15px; display: flex; gap: 8px; align-items: center; }
.cside .where svg { width: 16px; height: 16px; stroke: var(--gold); }
.cform { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 3.5vw, 38px); display: grid; gap: 20px; }
.cform[hidden], .done[hidden] { display: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fld { display: grid; gap: 6px; }
.fld > span, .topics legend { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.fld small, .topics legend small { color: var(--muted); font-weight: 400; font-size: 12.5px; }
.fld input, .fld textarea { font: 400 16px/1.5 var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; outline: none; resize: vertical; transition: border-color .2s, box-shadow .2s; }
.fld input:focus, .fld textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(192, 145, 58, .15); background: var(--white); }
html[dir="rtl"] .fld input[dir="ltr"] { text-align: right; }
.fld.bad input, .fld.bad textarea { border-color: #C0563F; }
.fld.bad > span { color: #A4402F; }
.topics { border: 0; padding: 0; margin: 0; } .topics legend { padding: 0; margin-bottom: 10px; }
.topics > div { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; font-size: 14px; padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; transition: all .2s; }
.chip span:hover { border-color: var(--gold); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.msgline { min-height: 1.3em; color: #A4402F; font-size: 15px; }
.send { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.privacy { font-size: 13px; color: var(--muted); max-width: 36ch; }
.done { grid-column: 2; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 40px; }
.done svg { width: 180px; margin-bottom: 20px; }
.done .dsun { fill: var(--gold); } .done .dground { fill: var(--paper-2); } .done line { stroke: var(--gold); stroke-width: 1.5; }
.done h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 10px; }
.done p { color: var(--muted); margin-bottom: 22px; }
.done .btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 860px) { .cgrid { grid-template-columns: 1fr; } .row2 { grid-template-columns: 1fr; } .done { grid-column: 1; } }

/* gentle reveal */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .8s, transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .rv { opacity: 1; transform: none; transition: none; } }

/* IT Desk product */
.product { background: var(--paper); }
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.psub { font: 500 clamp(1.15rem, 1.8vw, 1.45rem)/1.4 var(--serif); margin-top: 10px; }
.plede { color: var(--muted); margin-top: 14px; max-width: 48ch; }
.product .acts { margin-top: 26px; }
.fleet { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: 0 18px 40px -24px rgba(31, 42, 68, .25); }
.fhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 14px; color: var(--muted); direction: ltr; }
.fhead b { font: 600 16px/1 "Noto Serif Display", Georgia, serif; color: var(--ink); }
.fhead span { background: var(--paper-2); border-radius: 99px; padding: 3px 10px; }
.dots { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; }
.dots i { aspect-ratio: 1; border-radius: 50%; background: #3FA37A; opacity: .85; }
.dots i.warn { background: #E0A43A; } .dots i.bad { background: #D2553F; }
.dots i.bad { animation: pulse 2.2s infinite; }
@keyframes pulse { 50% { transform: scale(.7); opacity: .55; } }
.legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; font-size: 13px; color: var(--muted); }
.legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-inline-end: 6px; background: #3FA37A; }
.legend .warn::before { background: #E0A43A; } .legend .bad::before { background: #D2553F; }
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 44px; margin-top: clamp(40px, 7vh, 64px); }
.feats div { border-top: 2px solid var(--gold); padding-top: 14px; }
.feats h3 { font-size: 18.5px; margin-bottom: 6px; }
.feats p { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .pgrid { grid-template-columns: 1fr; } .feats { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .dots i.bad { animation: none; } }
