/* Zubda, on the web. The app's own palette and restraint: one ink, one ground,
   no accent colour, nothing that moves unless a finger asked it to. */
:root {
  --ground: #EDEDEA;
  --surface: #FFFFFF;
  --ink: #17181A;
  --muted: #67696D;
  --faint: #93959A;
  --line: rgba(20, 20, 20, 0.09);
  --measure: 34rem;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--ground);
  color: var(--ink);
  font: 400 17px/1.6 ui-sans-serif, -apple-system, "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  padding: 0 24px;
}
body[dir="rtl"] { font-family: ui-sans-serif, -apple-system, "IBM Plex Sans Arabic", system-ui, sans-serif; }

.wrap { max-width: 62rem; margin: 0 auto; }
.bar { display: flex; align-items: center; justify-content: space-between; padding: 26px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand img { width: 34px; height: 34px; border-radius: 9px; display: block; }
.brand b { font-weight: 600; letter-spacing: 0.02em; font-size: 17px; }

.lang { display: flex; gap: 2px; background: rgba(20,20,20,0.06); border-radius: 999px; padding: 3px; }
.lang button {
  font: inherit; font-size: 13px; font-weight: 500; border: 0; cursor: pointer;
  background: transparent; color: var(--muted); padding: 5px 13px; border-radius: 999px;
}
.lang button[aria-pressed="true"] { background: var(--surface); color: var(--ink); }

/* Hero. Type-led — the tagline is the product description, so it gets the size. */
.hero { padding: 72px 0 8px; max-width: var(--measure); }
h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1.08; letter-spacing: -0.028em; font-weight: 600; }
.sub { margin-top: 20px; font-size: 1.15rem; color: var(--muted); }

.shots { display: flex; gap: 20px; padding: 56px 0 8px; overflow-x: auto; scrollbar-width: none; }
.shots::-webkit-scrollbar { display: none; }
.shots img {
  width: 232px; flex: 0 0 auto; border-radius: 26px; display: block;
  border: 1px solid var(--line); background: var(--surface);
}

section { padding: 56px 0; border-top: 1px solid var(--line); margin-top: 56px; }
section:first-of-type { border-top: 0; }
h2 { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.012em; margin-bottom: 16px; }
h3 { font-size: 1rem; font-weight: 600; margin: 28px 0 8px; }
p, li { color: var(--muted); max-width: var(--measure); }
p + p { margin-top: 14px; }
ul { margin: 12px 0 0; padding-inline-start: 1.1rem; }
li { margin-bottom: 8px; }
strong { color: var(--ink); font-weight: 600; }
a { color: var(--ink); text-decoration-color: var(--faint); text-underline-offset: 3px; }

.note {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px; margin-top: 24px; max-width: var(--measure);
}
.note p { color: var(--ink); font-size: 0.95rem; }

footer { border-top: 1px solid var(--line); margin-top: 64px; padding: 28px 0 64px; display: flex; gap: 22px; flex-wrap: wrap; }
footer a, footer span { color: var(--faint); font-size: 0.9rem; text-decoration: none; }
footer a:hover { color: var(--ink); }

[data-ar] { display: none; }
body[dir="rtl"] [data-en] { display: none; }
body[dir="rtl"] [data-ar] { display: revert; }

@media (prefers-color-scheme: dark) {
  :root { --ground: #0F100E; --surface: #1A1C19; --ink: #F1F2ED; --muted: #8B8D85; --faint: #6B6D66; --line: rgba(241,242,237,0.12); }
  .lang { background: rgba(241,242,237,0.09); }
}
