/* Yanal Skills: plum and coral (Rashed's choice of 14 October 2026). */
:root {
  --plum: #2e1a47;
  --plum-2: #3d2760;
  --plum-soft: #5e4a78;
  --violet: #6b4e9b;
  --lav: #f6f1fa;
  --lav-line: #d9cdea;
  --blush: #fbf3ef;
  --blush-line: #ebddd5;
  --coral: #ff6b4a; /* drawings only: too light under white text */
  --coral-deep: #c93a1f; /* fills under white text */
  --coral-ink: #b8321a; /* coral words on a light ground */
  --ground: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--plum);
  font-family: "Zain", "Segoe UI", Tahoma, sans-serif;
  font-size: 20px;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--coral-deep); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p { margin: 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 32px; }

/* ── top bar ── */
.top { background: var(--blush); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 30px; font-weight: 800; line-height: 1.1; }
.tile { color: #fff; flex: none; }
nav { display: flex; align-items: center; gap: 8px 26px; flex-wrap: wrap; font-size: 20px; font-weight: 700; }
nav a { min-height: 44px; display: inline-flex; align-items: center; }
nav a:hover { color: var(--coral-ink); }
nav .lang { background: var(--ground); border-radius: 999px; padding: 0 18px; font-size: 17px; font-weight: 800; }

/* ── hero ── */
.hero { background: var(--blush); }
.hero-row { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 48px; padding-block: 64px 96px; }
.hero-text { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
h1 { font-size: clamp(44px, 6.4vw, 84px); font-weight: 900; line-height: 1.15; }
.hero-text p { font-size: 24px; color: var(--plum-soft); max-width: 600px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.btn {
  background: var(--ground);
  border-radius: 18px;
  padding: 0 30px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  font-size: 22px;
  font-weight: 800;
}
.btn:hover { color: var(--coral-ink); }
.btn.primary { background: var(--coral-deep); color: #fff; }
.btn.primary:hover { background: var(--coral-ink); color: #fff; }
.btn.dark { background: var(--plum); color: #fff; min-height: 58px; }
.btn.dark:hover { background: var(--plum-2); color: #fff; }
.hero-art { flex: 1 1 240px; display: flex; justify-content: center; }
.bare { color: var(--plum); width: min(300px, 60vw); height: auto; }

/* ── sections ── */
section > .wrap { padding-block: 88px; }
.hero > .wrap { padding-block: 64px 96px; }
h2 { font-size: clamp(40px, 4.4vw, 52px); font-weight: 900; line-height: 1.2; }

/* ── products ── */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 20px; margin-top: 32px; }
.product { background: var(--lav); border-radius: 26px; padding: 22px; display: flex; align-items: center; gap: 20px; }
a.product { transition: background 0.15s ease; }
a.product:hover { background: #efe6f7; }
.letter { flex: 0 0 76px; height: 76px; border-radius: 20px; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 44px; font-weight: 900; line-height: 1; }
.letter.plum { background: var(--plum); }
.letter.coral { background: var(--coral-deep); }
.letter.violet { background: var(--violet); }
.product-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.product-name { font-size: 30px; font-weight: 800; line-height: 1.2; }
.product-text { font-size: 19px; color: var(--plum-soft); line-height: 1.5; }
.product-domain { font-size: 18px; font-weight: 800; color: var(--coral-ink); }
[dir="rtl"] .product-domain { text-align: right; }
.product.more { background: none; border: 2px dashed var(--lav-line); justify-content: center; min-height: 120px; color: var(--plum-soft); font-size: 22px; font-weight: 700; }

/* ── about ── */
.about { background: var(--plum); color: #fff; }
.about-row { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-start; }
.about-row h2 { flex: 1 1 260px; }
.about-row p { flex: 2 1 460px; font-size: 23px; color: #efe8f7; }
.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; margin-top: 40px; }
.area { background: var(--plum-2); border-radius: 26px; padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.area h3 { font-size: 28px; font-weight: 800; line-height: 1.3; }
.area p { font-size: 19px; color: var(--lav-line); }

/* ── contact ── */
.contact { background: var(--blush); }
.contact-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 32px; }
.contact-row > div { flex: 1 1 420px; display: flex; flex-direction: column; gap: 8px; }
.contact-row p { font-size: 23px; color: var(--plum-soft); }
.contact .btn { max-width: 100%; overflow-wrap: anywhere; }

/* ── footer ── */
footer { background: var(--blush); border-top: 1px solid var(--blush-line); font-size: 17px; color: var(--plum-soft); }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-block: 28px; }
.foot > div { display: flex; flex-direction: column; }
.foot strong { color: var(--plum); font-weight: 800; }

@media (max-width: 640px) {
  body { font-size: 19px; }
  .wrap { padding-inline: 20px; }
  section > .wrap { padding-block: 56px; }
  .hero > .wrap { padding-block: 40px 56px; }
  .brand { font-size: 26px; }
  /* The three links and the language pill share one row on a phone. */
  nav { font-size: 17px; gap: 4px 14px; width: 100%; justify-content: space-between; }
  nav .lang { padding: 0 14px; font-size: 16px; }
  .hero-text p, .about-row p, .contact-row p { font-size: 21px; }
  .btn { font-size: 20px; padding: 0 22px; }
  .contact .btn { font-size: 19px; }
  .product { padding: 18px; gap: 16px; align-items: flex-start; }
  .letter { flex-basis: 60px; height: 60px; font-size: 36px; border-radius: 16px; }
  .product-name { font-size: 26px; }
  .hero-art { order: -1; justify-content: flex-start; }
  .bare { width: 132px; }
}
