/* Wa'i product page, built from the product's campaign files. Light theme; fonts are self-hosted. */
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 400; font-display: swap; src: url(fonts/IBMPlexSansArabic-arabic-400.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 400; font-display: swap; src: url(fonts/IBMPlexSansArabic-latin-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+2190-2199, U+2212; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 600; font-display: swap; src: url(fonts/IBMPlexSansArabic-arabic-600.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 600; font-display: swap; src: url(fonts/IBMPlexSansArabic-latin-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+2190-2199, U+2212; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 700; font-display: swap; src: url(fonts/IBMPlexSansArabic-arabic-700.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 700; font-display: swap; src: url(fonts/IBMPlexSansArabic-latin-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+2190-2199, U+2212; }

:root {
  --bg: #F5F6F8; --surface: #FFFFFF; --s2: #EDEFF3; --text: #11161C; --muted: #4A5361; --border: #DDE1E6;
  --p: #173A2B; --p-h: #0F281E; --p-soft: #EAF1EC; --sec: #8A6A2E; --acc: #C9A15A;
  --f-head: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --f-body: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --wrap: 1200px; --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--f-body); font-size: 18px; line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
html[lang="en"] body { line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--p); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
h1, h2 { font-family: var(--f-head); font-weight: 700; line-height: 1.3; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; inset-inline-start: -999px; }
.skip:focus { inset-inline-start: 16px; top: 16px; z-index: 20; background: #fff; padding: 8px 14px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(245, 246, 248, .88); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.top .logo img { height: 40px; width: auto; }
/* The product name is set as text, with the product mark beside it when there is one. */
.wordmark { font-family: var(--f-head); font-size: 24px; font-weight: 700; color: var(--text); text-decoration: none; line-height: 1; }
footer .wordmark { font-size: 22px; }
.top nav { display: flex; gap: 6px; flex: 1; font-size: 16px; }
.top nav a { color: var(--muted); text-decoration: none; padding: 6px 12px; border-radius: 8px; }
.top nav a:hover { color: var(--p); background: var(--p-soft); }
.top .back { font-size: 16px; color: var(--muted); text-decoration: none; padding: 6px 12px; border-radius: 8px; white-space: nowrap; }
.top .back:hover { color: var(--p); background: var(--p-soft); }
.top .lang { font-size: 16px; font-weight: 600; text-decoration: none; border: 1px solid var(--border); background: #fff; padding: 6px 14px; border-radius: 999px; }
@media (max-width: 900px) { .top nav { display: none; } .top .wrap { gap: 12px; } .top .logo { margin-inline-end: auto; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 22px; border-radius: 8px; font-family: var(--f-body); font-size: 17px; font-weight: 700; text-decoration: none; border: 1px solid transparent; }
html[lang="en"] .btn { font-weight: 600; }
.btn.p { background: var(--p); color: #fff; }
.btn.p:hover { background: var(--p-h); }
.btn.s { background: #fff; color: var(--p); border-color: var(--border); }
.btn.s:hover { border-color: var(--p); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Shared section pieces */
section { padding-block: clamp(56px, 9vw, 120px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-head); font-size: 15px; font-weight: 600; color: var(--sec); }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--acc); }
.copy { display: grid; gap: 18px; align-content: center; }
.copy h2 { font-size: clamp(28px, 3.4vw, 42px); }
.copy .lead { font-size: clamp(18px, 1.6vw, 20px); }
.copy .more { color: var(--muted); }
.shot { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); background: #fff; box-shadow: 0 2px 4px rgba(17, 22, 28, .04), 0 30px 70px -36px rgba(29, 39, 51, .34); }
.shot img { width: 100%; aspect-ratio: 16 / 9; }

/* Hero */
.hero { padding-block: clamp(48px, 8vw, 96px) 0; text-align: center; background: radial-gradient(900px 480px at 50% 0, var(--p-soft), transparent 70%); }
.hero .copy { justify-items: center; max-width: 1000px; margin-inline: auto; }
.hero h1 { font-size: clamp(34px, 5.2vw, 62px); }
.hero .lead { font-size: clamp(18px, 1.9vw, 22px); color: var(--text); }
.hero .more { max-width: 720px; }
.hero .actions { justify-content: center; margin-top: 8px; }
.hero .shot { margin-top: clamp(40px, 6vw, 72px); }

/* Split: text and image side by side; .flip puts the image first. */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.flip { grid-template-columns: 7fr 5fr; }
.split.flip .copy { order: 2; }
.split.wide, .split.wide.flip { grid-template-columns: 7fr 4fr; }
@media (max-width: 900px) { .split, .split.flip, .split.wide, .split.wide.flip { grid-template-columns: 1fr; } .split.flip .copy { order: 0; } }

/* Stacked: text above a full-width image. */
.stacked { display: grid; gap: clamp(32px, 5vw, 56px); }
.stacked .copy { grid-template-columns: 1fr 1fr; gap: 18px 56px; align-items: end; }
.stacked .copy .head { display: grid; gap: 14px; }
@media (max-width: 900px) { .stacked .copy { grid-template-columns: 1fr; } }
.stacked.centered .copy { grid-template-columns: 1fr; gap: 18px; text-align: center; justify-items: center; max-width: 820px; margin-inline: auto; }

.band { background: linear-gradient(180deg, var(--p-soft), var(--bg)); border-block: 1px solid var(--border); }
.how-intro { padding-bottom: 0; }
.how-intro h2 { font-size: clamp(22px, 2.4vw, 28px); color: var(--muted); font-weight: 400; }

/* Footer */
footer { border-top: 1px solid var(--border); background: #fff; padding-block: 40px; font-size: 16px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
footer img { height: 36px; width: auto; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }

.wordmark { display: inline-flex; align-items: center; gap: 10px; }
.wordmark img { height: 36px; width: 36px; border-radius: 9px; }
/* Long product names: keep the header on one line on phones; the company link stays in the footer. */
@media (max-width: 520px) { .top .back { display: none; } .top .wordmark { font-size: 20px; } }
