@font-face {
  font-family: Rosa;
  src: url('v2/shared/arabic.ttf') format('truetype');
  font-weight: 100 600;
  font-display: swap;
}
@font-face {
  font-family: Rosa;
  src: url('v2/shared/arabic-bold.ttf') format('truetype');
  font-weight: 700 900;
  font-display: swap;
}
:root {
  color: #171b24;
  background: #faf9f6;
  font-family: Rosa, sans-serif;
  line-height: 1.7;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible {
  outline: 3px solid #99722c;
  outline-offset: 6px;
}
.header {
  max-width: 1240px;
  margin: auto;
  padding: 24px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #e6e2d9;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand img {
  border-radius: 14px;
}
.brand strong {
  display: block;
  font-size: 20px;
}
.brand small {
  display: block;
  font-size: 9px;
  color: #896c35;
  letter-spacing: 2px;
}
.header-note {
  font-size: 13px;
  color: #747579;
}
main {
  max-width: 1240px;
  margin: auto;
  padding: 48px 36px 30px;
}
.intro {
  margin-bottom: 36px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: #896c35;
}
h1 {
  margin: 12px 0 14px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.45;
}
h1 em {
  color: #947338;
  font-style: normal;
  font-weight: 400;
}
.intro p {
  color: #6e7178;
  font-size: 15px;
}
.versions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.version-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e6e2d9;
  border-radius: 20px;
  background: #fff;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.version-card:hover,
.version-card:focus-visible {
  border-color: #b4965b;
  box-shadow: 0 12px 35px #171b240d;
}
.current {
  border-color: #c8b17d;
}
.preview {
  aspect-ratio: 1.8;
  overflow: hidden;
  border-bottom: 1px solid #e6e2d9;
  background: #ebe9e4;
}
.preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.card-body {
  padding: 24px 28px 28px;
}
.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.version {
  font-size: 22px;
  font-weight: 700;
  color: #896c35;
}
.status {
  color: #6c6e73;
  background: #f4f3ef;
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 11px;
}
.current .status {
  color: #896c35;
  background: #f8f1e2;
}
h2 {
  font-size: 24px;
  margin: 12px 0 8px;
}
.card-body p {
  color: #6e7178;
  font-size: 14px;
  margin: 0 0 24px;
}
.open {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #896c35;
  font-size: 14px;
  font-weight: 700;
}
.note {
  margin: 28px 0 0;
  color: #747579;
  font-size: 12px;
}
footer {
  max-width: 1240px;
  margin: auto;
  padding: 24px 36px;
  color: #747579;
  font-size: 12px;
  border-top: 1px solid #e6e2d9;
}
@media (max-width: 640px) {
  .header {
    padding: 18px 20px;
    gap: 12px;
  }
  .brand {
    gap: 10px;
  }
  .brand img {
    width: 48px;
    height: 48px;
  }
  .brand strong {
    font-size: 17px;
  }
  .brand small {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .header-note {
    font-size: 11px;
  }
  main {
    padding: 32px 20px 28px;
  }
  .versions {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .card-body {
    padding: 20px;
  }
  footer {
    padding: 22px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .version-card {
    transition: none;
  }
}
