/* HWE AIO page. Light by default, dark when the device is dark.
   Colours come from the logo: its blue gradient (#1f5fe8 to #2cb8ff) and its navy wordmark (#0f1a5c). */

:root {
  --bg: #f6f7fb;
  --bg-alt: #eef1f8;
  --panel: #ffffff;
  --panel-2: #f3f5fb;
  --line: rgba(13, 16, 32, .09);
  --line-2: rgba(13, 16, 32, .16);
  --ink: #0f1a5c;
  --ink-2: #3c4258;
  --muted: #6b7189;
  --blue: #1f5fe8;
  --blue-2: #2cb8ff;
  --blue-weak: rgba(31, 95, 232, .09);
  --grad: linear-gradient(135deg, #1f4fe0, #2cb0ff);
  --shadow: 0 30px 80px -40px rgba(20, 30, 80, .35);
  --good: #12a46a;
  --radius: 20px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --display: "Readex Pro", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --body: "IBM Plex Sans Arabic", "Readex Pro", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  /* department colours on the app icons */
  --t-fin: #1f5fe8; --t-sales: #c2410c; --t-people: #0f9d7a; --t-work: #0e7490; --t-docs: #7c3aed;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d14; --bg-alt: #10131d; --panel: #151926; --panel-2: #1b2030;
    --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .15);
    --ink: #eef0fa; --ink-2: #bcc2d8; --muted: #8b91aa;
    --blue: #4f9bff; --blue-2: #2cb8ff; --blue-weak: rgba(79, 155, 255, .14);
    --grad: linear-gradient(135deg, #2f74ff, #2cb8ff);
    --shadow: 0 30px 80px -40px rgba(0, 0, 0, .8);
    --good: #3ddc97;
    --t-fin: #7d97ff; --t-sales: #ff9b62; --t-people: #34d3a4; --t-work: #4fd0e6; --t-docs: #b18cff;
    color-scheme: dark;
  }
}
[lang="ar"] { --display: "Noto Kufi Arabic", "IBM Plex Sans Arabic", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 400 17px/1.75 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
[dir="ltr"] body { line-height: 1.65; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
[id] { scroll-margin-top: 88px; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { letter-spacing: 0; line-height: 1.4; }
p { text-wrap: pretty; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.section { padding-block: clamp(80px, 11vw, 136px); }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 760px; display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(30px, 4.2vw, 48px); }
.section-head p { color: var(--ink-2); font-size: clamp(17px, 1.6vw, 19px); max-width: 64ch; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 14px; font: 600 16px/1 var(--display); white-space: nowrap; transition: transform 160ms var(--ease-out), box-shadow 200ms ease, background-color 200ms ease, border-color 200ms ease; }
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -12px rgba(31, 95, 232, .6); }
.btn-ghost { border: 1px solid var(--line-2); background: var(--panel); }
.btn-wa { background: #1fae5b; color: #fff; }
.btn-ghost-on { border: 1px solid rgba(255, 255, 255, .3); color: #fff; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { box-shadow: 0 14px 36px -10px rgba(31, 95, 232, .7); }
  .btn-ghost:hover { border-color: var(--blue); }
  .btn-wa:hover { background: #1c9f53; }
  .btn-ghost-on:hover { background: rgba(255, 255, 255, .1); }
}

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color 200ms ease; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo { height: 40px; width: auto; }
.brand-logo.on-dark { display: none; }
@media (prefers-color-scheme: dark) { .brand-logo.on-light { display: none; } .brand-logo.on-dark { display: block; } }
.brand-by { font: 500 12px/1.35 var(--body); color: var(--muted); border-inline-start: 1px solid var(--line-2); padding-inline-start: 12px; max-width: 13ch; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 10px; font-size: 15px; color: var(--ink-2); transition: color 160ms ease, background-color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--ink); background: var(--blue-weak); } }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang { font: 600 14px/1 var(--display); padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2); color: var(--ink-2); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 980px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header-actions .btn-cta { display: none; }
  .site-header.open .nav { display: grid; position: absolute; top: 72px; inset-inline: 0; padding: 12px 20px 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .site-header.open .nav a { padding: 14px 12px; font-size: 17px; }
}
@media (max-width: 1100px) { .brand-by { display: none; } }

/* hero */
.hero { position: relative; padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 110px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto; height: 900px; pointer-events: none;
  background: radial-gradient(620px 400px at 80% 20%, rgba(44, 184, 255, .16), transparent 70%), radial-gradient(560px 380px at 10% 0%, rgba(31, 95, 232, .10), transparent 70%); }
[dir="rtl"] .hero::before { transform: scaleX(-1); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; align-content: start; }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); font-weight: 700; }
[lang="ar"] .hero h1 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.45; }
.hero .lede { font-size: clamp(17px, 1.7vw, 20px); color: var(--ink-2); max-width: 56ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tags li { font-size: 13px; color: var(--ink-2); padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); }
@media (max-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* the launcher */
.launcher { border-radius: 24px; border: 1px solid var(--line-2); background: var(--panel); box-shadow: var(--shadow); overflow: hidden; }
.launcher-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--panel-2); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.launcher-url { font: 500 12px/1 var(--mono); color: var(--muted); padding: 6px 12px; border-radius: 8px; background: var(--panel); border: 1px solid var(--line); }
.launcher-body { padding: clamp(16px, 2.4vw, 24px); display: grid; gap: 16px; }
.launcher-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.launcher-top b { display: block; font: 600 18px/1.3 var(--display); }
.launcher-top small { color: var(--muted); font-size: 13px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 600; flex: none; }
.launcher-search { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel-2); color: var(--muted); font-size: 14px; }
.launcher-search svg { width: 18px; height: 18px; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tile { display: grid; justify-items: center; gap: 8px; padding: 12px 6px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); text-align: center; animation: tile-in 520ms var(--ease-out) both; animation-delay: calc(var(--i) * 45ms + 120ms); transition: transform 200ms var(--ease-out), border-color 200ms ease; }
.tile.lit { border-color: var(--blue); transform: translateY(-2px); }
.tile-name { font-size: 12px; line-height: 1.35; color: var(--ink-2); }
@keyframes tile-in { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
.launcher-note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.launcher-note svg { width: 16px; height: 16px; color: var(--good); }
@media (max-width: 520px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tile:nth-child(n + 10) { display: none; } }

/* app icons, coloured by department */
.app-icon, .tile-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.app-icon svg, .tile-icon svg { width: 20px; height: 20px; }
.t-fin { color: var(--t-fin); background: color-mix(in srgb, var(--t-fin) 12%, transparent); }
.t-sales { color: var(--t-sales); background: color-mix(in srgb, var(--t-sales) 12%, transparent); }
.t-people { color: var(--t-people); background: color-mix(in srgb, var(--t-people) 12%, transparent); }
.t-work { color: var(--t-work); background: color-mix(in srgb, var(--t-work) 12%, transparent); }
.t-docs { color: var(--t-docs); background: color-mix(in srgb, var(--t-docs) 12%, transparent); }

/* proof strip */
.proof { border-block: 1px solid var(--line); background: var(--panel); }
.proof-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.proof-item { padding: 26px 18px; display: grid; gap: 4px; text-align: center; }
.proof-item + .proof-item { border-inline-start: 1px solid var(--line); }
.proof-item b { font: 700 clamp(28px, 3.4vw, 40px)/1.1 var(--display); }
.proof-item span { color: var(--muted); font-size: 14px; }
@media (max-width: 860px) {
  .proof-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-item:nth-child(odd) { border-inline-start: 0; }
  .proof-item:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .proof-item:last-child { grid-column: 1 / -1; }
}

/* app shelves */
.shelves { display: grid; gap: 16px; }
.shelf { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2.1fr); gap: 24px; padding: clamp(20px, 3vw, 28px); border-radius: 22px; background: var(--panel); border: 1px solid var(--line); }
.shelf-head { display: grid; gap: 6px; align-content: start; }
.shelf-head h3 { font-size: 21px; }
.shelf-head p { color: var(--muted); font-size: 15px; }
.shelf-apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.app-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 14px; border-radius: 16px; background: var(--panel-2); border: 1px solid var(--line); transition: transform 200ms var(--ease-out), border-color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .app-card:hover { transform: translateY(-2px); border-color: var(--line-2); } }
.app-card h4 { font-size: 16px; }
.app-card p { color: var(--ink-2); font-size: 14px; line-height: 1.6; margin-top: 2px; }
@media (max-width: 900px) { .shelf { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .shelf-apps { grid-template-columns: minmax(0, 1fr); } }

.soon { display: inline-block; vertical-align: middle; margin-inline-start: 6px; padding: 2px 8px; border-radius: 999px; font: 600 11px/1.5 var(--body); letter-spacing: 0; color: var(--t-sales); background: color-mix(in srgb, var(--t-sales) 13%, transparent); }

/* builder */
.builder { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.builder-picks { padding: clamp(18px, 3vw, 26px); border-radius: 22px; background: var(--panel); border: 1px solid var(--line); display: grid; gap: 14px; }
.builder-count { font: 600 15px/1.4 var(--display); color: var(--muted); min-height: 21px; }
.picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pick { width: 100%; display: grid; grid-template-columns: 34px minmax(0, 1fr) 20px; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel-2); text-align: start; font-size: 14px; line-height: 1.35; transition: border-color 160ms ease, background-color 160ms ease, transform 160ms var(--ease-out); }
.pick:active { transform: scale(.97); }
.pick .app-icon { width: 34px; height: 34px; border-radius: 10px; }
.pick .app-icon svg { width: 17px; height: 17px; }
.pick-check { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-2); display: grid; place-items: center; color: transparent; transition: background-color 160ms ease, border-color 160ms ease; }
.pick-check svg { width: 14px; height: 14px; }
.pick[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-weak); }
.pick[aria-pressed="true"] .pick-check { background: var(--blue); border-color: var(--blue); color: #fff; }
.builder-plans { display: grid; gap: 10px; position: sticky; top: 96px; }
.plans { display: grid; gap: 10px; }
.plan { padding: 16px 18px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); display: grid; gap: 4px; transition: border-color 200ms ease, box-shadow 200ms ease, opacity 200ms ease; opacity: .62; }
.plan h4 { font-size: 18px; }
.plan p { color: var(--ink-2); font-size: 14px; }
.plan-tag { display: none; font: 600 12px/1 var(--display); color: var(--blue); }
.plan.fit { opacity: 1; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-weak); }
.plan.fit .plan-tag { display: block; }
.builder-cta { width: 100%; }
.builder-cta[aria-disabled="true"] { opacity: .5; pointer-events: none; }
@media (max-width: 1000px) { .builder { grid-template-columns: minmax(0, 1fr); } .builder-plans { position: static; } .picks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .picks { grid-template-columns: minmax(0, 1fr); } }

/* feature grids */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature { padding: 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.feature-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--blue-weak); color: var(--blue); }
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 18px; }
.feature p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 980px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: minmax(0, 1fr); } }

/* start */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { padding: 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font: 600 14px/1 var(--mono); color: var(--blue); }
.step h3 { font-size: 19px; }
.step p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.cta-band { margin-top: clamp(48px, 7vw, 88px); border-radius: 28px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; color: #fff;
  background: radial-gradient(520px 260px at 90% 0%, rgba(44, 184, 255, .38), transparent 70%), linear-gradient(135deg, #0f1a5c, #1f4fe0); }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 40px); }
.cta-band p { color: rgba(255, 255, 255, .82); margin-top: 8px; max-width: 60ch; }
@media (max-width: 820px) { .cta-band { grid-template-columns: minmax(0, 1fr); } }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 40px; color: var(--muted); font-size: 14px; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; align-items: center; }
.footer-row a { color: var(--ink-2); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.reveal.in, .no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
