/* Absher marketing site (absherlb-erp.com). Brand: design-system/absher/BRAND.md + tokens.css. */
@font-face { font-family: Tajawal; font-weight: 400 500; font-display: swap; src: url('assets/fonts/tajawal-arabic-500-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFC, U+200C-200E; }
@font-face { font-family: Tajawal; font-weight: 400 500; font-display: swap; src: url('assets/fonts/tajawal-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }
@font-face { font-family: Tajawal; font-weight: 700; font-display: swap; src: url('assets/fonts/tajawal-arabic-700-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFC, U+200C-200E; }
@font-face { font-family: Tajawal; font-weight: 700; font-display: swap; src: url('assets/fonts/tajawal-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }
@font-face { font-family: Alexandria; font-weight: 600 700; font-display: swap; src: url('assets/fonts/alexandria-arabic-700-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFC, U+200C-200E; }
@font-face { font-family: Alexandria; font-weight: 600 700; font-display: swap; src: url('assets/fonts/alexandria-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }
@font-face { font-family: 'El Messiri'; font-weight: 500; font-display: swap; src: url('assets/fonts/el-messiri-arabic-500-normal.woff2') format('woff2'); }

:root {
  --primary: #0F3B2E;
  --on-primary: #F3E9D2;
  --primary-soft: #E4EEE6;
  --accent: #D98E4A;
  --accent-soft: #F8E6D3;
  --on-accent-soft: #7A4318;
  --bg: #FAF6EC;
  --fg: #10241D;
  --card: #FFFDF7;
  --muted: #F3E9D2;
  --muted-fg: #56645C;
  --border: #E6DCC6;
  --deep: #0A2A20;
  --ring: #D98E4A;
  --font-body: Tajawal, 'Noto Sans Arabic', system-ui, sans-serif;
  --font-heading: Alexandria, Tajawal, system-ui, sans-serif;
  --font-accent: 'El Messiri', Tajawal, serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-lg: 0 18px 48px rgba(16, 36, 29, 0.16);
  --wrap: 1160px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --primary: #7CC9A6;
    --on-primary: #09201A;
    --primary-soft: #1C3029;
    --accent: #E9A266;
    --accent-soft: #3A2617;
    --on-accent-soft: #EDB07A;
    --bg: #0F1114;
    --fg: #F3E9D2;
    --card: #171A1E;
    --muted: #1F2328;
    --muted-fg: #B2B8A6;
    --border: #2B3036;
    --deep: #0F2A22;
    --ring: #E9A266;
    --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.45);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 500 17px/1.7 var(--font-body);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; line-height: 1.25; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.num, bdi { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 50; background: var(--primary); color: var(--on-primary); padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }

/* buttons: pills */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 700 17px/1 var(--font-body); text-decoration: none; border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: color-mix(in srgb, var(--primary) 88%, var(--fg)); }
.btn-ghost { border-color: var(--border); color: var(--fg); background: var(--card); }
.btn-ghost:hover { border-color: var(--primary); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--border); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand span { font: 700 26px/1 var(--font-heading); color: var(--fg); }
.brand i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); align-self: flex-start; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; color: var(--muted-fg); font-weight: 700; font-size: 16px; padding: 8px 0; }
.nav a:not(.btn):hover { color: var(--fg); }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 0; }
.hero .wrap { display: grid; gap: 40px; }
.hero-copy { max-width: 720px; }
.tagline { font: 500 22px/1.4 var(--font-accent); color: var(--accent); display: inline-flex; align-items: center; gap: 10px; }
.tagline::before { content: ''; width: 6px; height: 22px; border-radius: 999px; background: var(--accent); }
.hero h1 { font-size: clamp(34px, 6vw, 60px); margin-top: 14px; letter-spacing: -0.01em; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero .lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted-fg); margin-top: 18px; max-width: 600px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted-fg); font-weight: 700; font-size: 15px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.stage { position: relative; margin-top: 8px; padding-bottom: 64px; }
.screen { position: relative; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-lg); overflow: hidden; }
.screen .bar { display: flex; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--muted); }
.screen .bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--border); }
.phone { position: absolute; inset-inline-start: 4%; bottom: 20px; width: min(25%, 230px); border-radius: 30px; border: 8px solid var(--deep); background: var(--deep); box-shadow: var(--shadow-lg); overflow: hidden; }
.phone img { border-radius: 22px; }
@media (max-width: 640px) {
  .phone { position: relative; inset: auto; width: 62%; margin: -90px auto 0; }
  .stage { padding-bottom: 40px; }
}
/* rounded vertical bars: the only decoration (from the logo) */
.bars { position: absolute; inset-inline-end: -40px; top: 40px; display: flex; gap: 14px; align-items: flex-end; opacity: .5; pointer-events: none; }
.bars span { width: 14px; border-radius: 999px; background: var(--primary-soft); }
@media (max-width: 900px) { .bars { display: none; } }

/* sections */
section { scroll-margin-top: 80px; }
.section { padding: 88px 0; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.kicker { font: 700 14px/1 var(--font-body); color: var(--accent); letter-spacing: .02em; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-top: 12px; }
.section-head p { color: var(--muted-fg); margin-top: 14px; font-size: 18px; }

/* features */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; }
.card .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 16px; }
.card .ic svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; }
.card p { color: var(--muted-fg); margin-top: 8px; font-size: 16px; }

/* split showcase */
.split { display: grid; gap: 48px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 960px) { .split { grid-template-columns: 5fr 7fr; } }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: ''; flex: none; width: 6px; height: 22px; margin-top: 3px; border-radius: 999px; background: var(--primary); }
.ticks b { font-weight: 700; }

/* devices band */
.band { background: var(--deep); color: #F3E9D2; border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px); position: relative; overflow: hidden; }
.band .kicker { color: #E9A266; }
.band h2 { color: #F3E9D2; }
.band .section-head p { color: #C9CDB9; }
.devices { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.device { border: 1px solid rgba(243, 233, 210, .16); border-radius: var(--radius-md); padding: 22px; background: rgba(243, 233, 210, .04); }
.device svg { width: 30px; height: 30px; color: #E9A266; }
.device h3 { font-size: 19px; margin-top: 14px; color: #F3E9D2; }
.device p { color: #C9CDB9; margin-top: 6px; font-size: 16px; }

/* first customer */
.quote { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: center; background: var(--muted); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 48px); }
@media (min-width: 860px) { .quote { grid-template-columns: auto 1fr; } }
.quote .mark { width: 96px; height: 96px; }
.quote h2 { font-size: clamp(24px, 3.4vw, 34px); }
.quote p { color: var(--muted-fg); margin-top: 10px; font-size: 18px; }

/* demo + contact */
.contact { text-align: center; }
.contact .section-head { margin-inline: auto; }
.soon { display: inline-flex; align-items: center; gap: 8px; background: var(--accent-soft); color: var(--on-accent-soft); font-weight: 700; font-size: 15px; padding: 8px 16px; border-radius: 999px; }
.contact .cta { justify-content: center; }
.phone-no { font: 700 clamp(26px, 4vw, 34px)/1 var(--font-heading); margin-top: 28px; direction: ltr; unicode-bidi: isolate; }

footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--muted-fg); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
footer .tag { font-family: var(--font-accent); color: var(--accent); font-size: 18px; }

/* reveal on scroll (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding-top: 36px; }
}
