/* alfaonex.com: one stylesheet, every page and language (site/README.md). */

@font-face { font-family: Saira; src: url(../fonts/saira-latin.woff2) format('woff2'); font-weight: 100 900; font-stretch: 100% 125%; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Saira; src: url(../fonts/saira-latin-ext.woff2) format('woff2'); font-weight: 100 900; font-stretch: 100% 125%; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Inter; src: url(../fonts/inter-latin.woff2) format('woff2'); font-weight: 300 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; src: url(../fonts/inter-latin-ext.woff2) format('woff2'); font-weight: 300 700; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Almarai; src: url(../fonts/almarai-300.woff2) format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: Almarai; src: url(../fonts/almarai-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Almarai; src: url(../fonts/almarai-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: Almarai; src: url(../fonts/almarai-800.woff2) format('woff2'); font-weight: 800; font-display: swap; }

:root {
  --ink: #0b0d0c;
  --ink-2: #0f1211;
  --panel: #151917;
  --raised: #1d2320;
  --line: rgba(201, 205, 210, .11);
  --line-2: rgba(201, 205, 210, .2);
  --steel: #c9cdd2;
  --steel-hi: #eef0f2;
  --steel-dim: #8c9298;
  --olive: #6e8b3d;
  --lime: #8cc63f;
  --lime-hi: #a8e05a;
  --glow: rgba(140, 198, 63, .35);
  --head: Saira, Inter, system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 14px;
  --wrap: 1240px;
  color-scheme: dark;
}
:lang(ar) { --head: Almarai, Inter, sans-serif; --body: Almarai, Inter, sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--steel);
  font: 400 17px/1.65 var(--body); overflow-x: hidden;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
:lang(ar) body { font-size: 18px; line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lime); text-decoration: none; }
a:hover { color: var(--lime-hi); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--steel-hi); margin: 0 0 .5em; line-height: 1.08; font-weight: 700; }
:lang(en) h1, :lang(en) h2, :lang(fr) h1, :lang(fr) h2 { font-stretch: 112%; letter-spacing: -.01em; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3 { font-weight: 800; line-height: 1.35; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.28rem; line-height: 1.25; }
p { margin: 0 0 1em; }
.muted { color: var(--steel-dim); }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: -999px; }
.skip:focus { inset-inline-start: 12px; top: 12px; z-index: 99; background: var(--lime); color: var(--ink); padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
.i { width: 1.25em; height: 1.25em; flex: none; }
[dir=rtl] .flip { transform: scaleX(-1); }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.top.solid { background: rgba(11, 13, 12, .82); backdrop-filter: blur(14px) saturate(1.3); border-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--steel-hi); }
.brand img { width: 46px; height: auto; }
.brand-word { font: 700 1.32rem/1 Saira, sans-serif; font-stretch: 120%; letter-spacing: .02em; color: var(--steel-hi); }
.brand-word b { font-weight: 700; color: var(--steel-hi); }
.brand-word i { font-style: normal; color: var(--lime); }
.nav { display: flex; align-items: center; gap: 26px; margin-inline-start: auto; }
.nav > a:not(.btn) { color: var(--steel); font-size: .95rem; font-weight: 500; position: relative; padding: 6px 0; }
.nav > a:not(.btn):hover, .nav > a[aria-current] { color: var(--steel-hi); }
.nav > a[aria-current]::after { content: ''; position: absolute; inset: auto 0 -2px; height: 2px; background: var(--lime); border-radius: 2px; }
.lang-switch, .foot-langs { display: flex; gap: 2px; border: 1px solid var(--line-2); border-radius: 99px; padding: 3px; }
.lang-switch a, .foot-langs a { color: var(--steel-dim); font: 600 .78rem/1 Inter, Almarai, sans-serif; padding: 7px 10px; border-radius: 99px; min-width: 34px; text-align: center; }
.lang-switch a[lang=ar], .foot-langs a[lang=ar] { font-family: Almarai; font-size: .9rem; padding-block: 5px; }
.lang-switch a[aria-current], .foot-langs a[aria-current] { background: var(--raised); color: var(--steel-hi); }
.menu { display: none; margin-inline-start: auto; background: none; border: 1px solid var(--line-2); color: var(--steel-hi); border-radius: 10px; padding: 8px; }
.menu .i { width: 24px; height: 24px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .82em 1.4em; border-radius: 10px; font: 600 .98rem/1 var(--body); border: 1px solid var(--line-2); color: var(--steel-hi); transition: transform .2s, background .2s, box-shadow .2s, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); color: var(--steel-hi); border-color: var(--steel-dim); }
.btn-solid { background: linear-gradient(180deg, var(--lime-hi), var(--lime)); color: #0b120a; border-color: transparent; box-shadow: 0 8px 30px -10px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-solid:hover { color: #0b120a; box-shadow: 0 12px 38px -8px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-lg { padding: 1.05em 1.7em; font-size: 1.05rem; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100svh, 940px); display: flex; align-items: center; padding: 130px 0 80px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -3; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.55) contrast(1.1) brightness(.62); transform: scale(1.04); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 70% 60% at 75% 40%, rgba(110, 139, 61, .18), transparent 70%),
    linear-gradient(90deg, rgba(11, 13, 12, .97) 0%, rgba(11, 13, 12, .86) 42%, rgba(11, 13, 12, .45) 100%),
    linear-gradient(0deg, var(--ink) 0%, transparent 30%); }
[dir=rtl] .hero::before { background:
    radial-gradient(ellipse 70% 60% at 25% 40%, rgba(110, 139, 61, .18), transparent 70%),
    linear-gradient(270deg, rgba(11, 13, 12, .97) 0%, rgba(11, 13, 12, .86) 42%, rgba(11, 13, 12, .45) 100%),
    linear-gradient(0deg, var(--ink) 0%, transparent 30%); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%); }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--lime-hi), var(--lime) 60%, var(--olive)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: var(--steel); max-width: 40em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 .78rem/1 var(--body); text-transform: uppercase; letter-spacing: .18em; color: var(--lime); margin-bottom: 22px; }
:lang(ar) .eyebrow { letter-spacing: 0; font-size: .95rem; text-transform: none; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--lime); }
.hero .btns { margin-top: 34px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 34px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-stats b { display: block; font: 700 1.9rem/1 var(--head); color: var(--steel-hi); font-stretch: 112%; }
.hero-stats span { font-size: .85rem; color: var(--steel-dim); }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual .phone { width: min(310px, 72vw); transform: rotate(-3deg); }
[dir=rtl] .hero-visual .phone { transform: rotate(3deg); }
.hero-visual .phone.back { position: absolute; width: min(250px, 58vw); inset-inline-start: -4%; top: 14%; transform: rotate(-11deg); opacity: .55; filter: blur(.4px) saturate(.8); }
[dir=rtl] .hero-visual .phone.back { transform: rotate(11deg); }
.hud { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(21, 25, 23, .82); border: 1px solid var(--line-2); backdrop-filter: blur(10px); font-size: .82rem; color: var(--steel-hi); box-shadow: 0 18px 40px -18px #000; }
.hud .i { color: var(--lime); }
.hud small { display: block; color: var(--steel-dim); font-size: .72rem; }
.hud-1 { inset-inline-end: -2%; top: 18%; }
.hud-2 { inset-inline-start: -6%; bottom: 14%; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 var(--glow); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* page hero (inner pages) */
.phero { position: relative; padding: 170px 0 90px; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.phero .hero-bg img { filter: saturate(.5) brightness(.45); }
.phero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(11, 13, 12, .55), var(--ink) 96%); }
.phero::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .45; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(180deg, #000, transparent); }
.phero h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); max-width: 18em; }
.phero .lead { max-width: 46em; }

/* ---------- sections ---------- */
.sec { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.sec-alt { background: linear-gradient(180deg, var(--ink-2), var(--ink)); border-block: 1px solid var(--line); }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow::after { content: ''; width: 28px; height: 1px; background: var(--lime); }

.strip { border-block: 1px solid var(--line); background: var(--ink-2); }
.strip-in { display: flex; align-items: center; gap: 36px; padding-block: 26px; flex-wrap: wrap; justify-content: space-between; }
.strip-label { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-dim); }
:lang(ar) .strip-label { letter-spacing: 0; font-size: .95rem; }
.strip-items { display: flex; flex-wrap: wrap; gap: 12px 30px; }
.strip-items span { display: inline-flex; align-items: center; gap: 9px; color: var(--steel-hi); font-weight: 500; }
.strip-items .i { color: var(--olive); }

/* cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { position: relative; padding: 28px 26px 26px; border-radius: var(--r); background: linear-gradient(180deg, rgba(29, 35, 32, .7), rgba(21, 25, 23, .55)); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .3s; }
.card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(140, 198, 63, .12), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { border-color: rgba(140, 198, 63, .35); transform: translateY(-3px); }
.card:hover::before { opacity: 1; }
.card h3 { margin-top: 18px; }
.card p { color: var(--steel-dim); font-size: .96rem; margin: 0; }
.tile { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: linear-gradient(145deg, rgba(140, 198, 63, .18), rgba(110, 139, 61, .05)); border: 1px solid rgba(140, 198, 63, .28); color: var(--lime); }
.tile .i { width: 24px; height: 24px; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: .9rem; font-weight: 600; }

/* split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split + .split { margin-top: clamp(90px, 10vw, 140px); }
.split.rev > :first-child { order: 2; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .i { color: var(--lime); margin-top: .22em; }
.ticks b { color: var(--steel-hi); font-weight: 600; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--lime); font-weight: 600; font-size: .9rem; margin-bottom: 14px; }

/* device frames */
.phone { position: relative; aspect-ratio: 412 / 892; border-radius: 13% / 6%; padding: 3.2%; background: linear-gradient(145deg, #3a3f43, #121416 40%, #2a2e31); box-shadow: 0 0 0 1px #000, 0 0 0 2px #4a5055, 0 50px 90px -30px rgba(0, 0, 0, .9), 0 30px 120px -40px var(--glow); }
.phone img, .phone .screen { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 10.5% / 4.9%; background: var(--ink); }
.phone::after { content: none; }
.phones { display: flex; justify-content: center; align-items: flex-end; gap: 0; }
.phones .phone { width: 46%; max-width: 300px; }
.phones .phone:nth-child(1) { transform: translateX(8%) rotate(-5deg); z-index: 1; }
.phones .phone:nth-child(2) { transform: translateX(-8%) translateY(-24px) rotate(4deg); z-index: 2; }
[dir=rtl] .phones .phone:nth-child(1) { transform: translateX(-8%) rotate(5deg); }
[dir=rtl] .phones .phone:nth-child(2) { transform: translateX(8%) translateY(-24px) rotate(-4deg); }
.laptop { position: relative; }
.laptop .lid { border-radius: 14px 14px 4px 4px; padding: 2.2% 2.2% 3%; background: linear-gradient(180deg, #2b3034, #15181a); box-shadow: 0 0 0 1px #000, 0 0 0 2px #444a4f, 0 60px 100px -40px #000, 0 30px 140px -50px var(--glow); }
.laptop .lid img { border-radius: 4px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.laptop .base { height: 16px; margin-inline: -6%; border-radius: 0 0 18px 18px; background: linear-gradient(180deg, #3b4045, #1a1d1f); box-shadow: 0 20px 40px -20px #000; }
.laptop .base::before { content: ''; display: block; width: 16%; height: 6px; margin: 0 auto; background: #121416; border-radius: 0 0 8px 8px; }
.shot-photo { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 50px 100px -40px #000; }
.shot-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(.7) contrast(1.05); }
.shot-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(11, 13, 12, .7)); }
.shot-photo .cap { position: absolute; inset: auto 22px 18px; z-index: 1; color: var(--steel-hi); font-size: .9rem; display: flex; gap: 8px; align-items: center; }

/* big band with photo */
.band { position: relative; isolation: isolate; overflow: hidden; padding: clamp(90px, 11vw, 160px) 0; }
.band .hero-bg img { filter: saturate(.5) brightness(.5); }
.band::before { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(11, 13, 12, .96), rgba(11, 13, 12, .7) 55%, rgba(11, 13, 12, .35)); }
[dir=rtl] .band::before { background: linear-gradient(270deg, rgba(11, 13, 12, .96), rgba(11, 13, 12, .7) 55%, rgba(11, 13, 12, .35)); }
.band-in { max-width: 640px; }
.band.center::before { background: radial-gradient(ellipse at center, rgba(11, 13, 12, .7), rgba(11, 13, 12, .95)); }
.band.center .band-in { margin-inline: auto; text-align: center; max-width: 760px; }
.band.center .btns { justify-content: center; }

/* numbers / steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.steps::before { content: ''; position: absolute; top: 27px; inset-inline: 6% 6%; height: 1px; background: linear-gradient(90deg, transparent, var(--olive), transparent); }
.step { position: relative; text-align: center; padding: 0 6px; }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: var(--ink); border: 1px solid rgba(140, 198, 63, .45); color: var(--lime); font: 700 1rem/1 Saira, sans-serif; box-shadow: 0 0 0 6px var(--ink), 0 0 30px -6px var(--glow); }
.step h3 { font-size: 1.08rem; }
.steps-col { grid-template-columns: 1fr !important; gap: 26px; margin-top: 30px; }
.steps-col::before { display: none; }
.steps-col .step { display: grid; grid-template-columns: 56px 1fr; gap: 0 18px; text-align: start; padding: 0; }
.steps-col .step::before { margin: 0; grid-row: span 2; }
.step p { color: var(--steel-dim); font-size: .92rem; }

/* architecture diagram */
.diagram { border-radius: 20px; border: 1px solid var(--line); background: radial-gradient(ellipse at 50% 0%, rgba(110, 139, 61, .14), transparent 60%), var(--ink-2); padding: clamp(18px, 3vw, 36px); }
.diagram svg { width: 100%; height: auto; display: block; }
.diagram text { font-family: var(--body); }

/* comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { text-align: start; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 600 .82rem/1.3 var(--body); color: var(--steel-dim); text-transform: uppercase; letter-spacing: .08em; background: var(--panel); }
:lang(ar) th { letter-spacing: 0; font-size: .95rem; }
td:first-child { color: var(--steel-hi); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
td .i { color: var(--lime); }

/* languages ticker */
.ticker { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker-row { display: flex; gap: 14px; width: max-content; animation: tick 60s linear infinite; }
.ticker-row.r2 { animation-direction: reverse; animation-duration: 70s; margin-top: 14px; }
[dir=rtl] .ticker-row { animation-name: tick-rtl; }
.ticker span { padding: 12px 22px; border: 1px solid var(--line); border-radius: 99px; background: var(--panel); color: var(--steel-hi); font-size: 1.05rem; white-space: nowrap; }
@keyframes tick { to { transform: translateX(-50%); } }
@keyframes tick-rtl { to { transform: translateX(50%); } }

/* sector rows */
.sector { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.sector + .sector { margin-top: 28px; }
.sector:nth-child(even) > :first-child { order: 2; }
.sector-img { position: relative; min-height: 340px; }
.sector-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.6) brightness(.8); }
.sector-body { padding: clamp(28px, 4vw, 52px); }
.sector-body h3 { font-size: 1.6rem; display: flex; gap: 12px; align-items: center; }
.sector-body h3 .i { color: var(--lime); width: 28px; height: 28px; }

/* forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: clamp(24px, 4vw, 44px); border-radius: 20px; background: var(--panel); border: 1px solid var(--line); }
.form .full { grid-column: 1 / -1; }
label { display: grid; gap: 7px; font-size: .88rem; color: var(--steel); font-weight: 500; }
input, select, textarea { font: inherit; font-size: 1rem; color: var(--steel-hi); background: var(--ink); border: 1px solid var(--line-2); border-radius: 10px; padding: 13px 14px; width: 100%; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(140, 198, 63, .18); }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 99px; cursor: pointer; font-size: .9rem; }
.checks input { width: auto; accent-color: var(--lime); }
.form-note { font-size: .85rem; color: var(--steel-dim); }

/* footer */
.foot { border-top: 1px solid var(--line); background: var(--ink-2); padding: 70px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand img { width: 190px; margin-bottom: 18px; }
.foot-brand p { color: var(--steel-dim); max-width: 26em; font-size: .95rem; }
.foot h4 { font: 600 .8rem/1 var(--body); text-transform: uppercase; letter-spacing: .14em; color: var(--steel-dim); margin-bottom: 18px; }
:lang(ar) .foot h4 { letter-spacing: 0; font-size: .95rem; }
.foot-grid a, .foot-grid .muted { display: block; color: var(--steel); margin-bottom: 10px; font-size: .95rem; }
.foot-grid a:hover { color: var(--lime); }
.foot-langs { display: inline-flex; }
.foot-langs a { display: inline-block; margin: 0; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 54px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .85rem; }

/* reveal on scroll */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .ticker-row, .pulse { animation: none; }
}

/* ---------- small screens ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .menu { display: inline-grid; }
  .nav { position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 24px; background: rgba(11, 13, 12, .97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .35s; margin: 0; }
  .nav.open { transform: none; }
  .nav > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav > a[aria-current]::after { display: none; }
  .nav .lang-switch { margin: 18px 0; align-self: flex-start; }
  .nav-cta { justify-content: center; }
  .hero-grid, .split, .sector { grid-template-columns: 1fr; }
  .split.rev > :first-child, .sector:nth-child(even) > :first-child { order: 0; }
  .hero { padding-top: 120px; }
  .hero::before, [dir=rtl] .hero::before { background: linear-gradient(180deg, rgba(11, 13, 12, .82), rgba(11, 13, 12, .9) 55%, var(--ink)); }
  .hero-visual { margin-top: 20px; }
  .hero-visual .phone { width: min(240px, 62vw); }
  .hero-visual .phone.back { width: min(200px, 50vw); inset-inline-start: 8%; }
  .hero-stats { grid-template-columns: repeat(2, auto); gap: 24px 40px; }
  .cards.three { grid-template-columns: 1fr 1fr; }
  .sector-img { min-height: 240px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .cards, .cards.three, .cards.two, .form { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hud { display: none; }
  .strip-in { justify-content: flex-start; }
  .wrap { width: calc(100% - 32px); }
}
