:root {
  --ink: #251f21;
  --ink-2: #585254;
  --hairline: #eae9ea;
  --teal: #73a89a;
  --button: #4d3533;
  --page: #ffffff;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 350;
  letter-spacing: -0.01em;
}

html[lang="ar"] body {
  font-family: "Cairo", "Inter", system-ui, sans-serif;
  line-height: 1.9;
}

.page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 24px;
}

@media (min-width: 768px) {
  .page { padding: 40px 36px 56px; }
}

/* top bar */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.mark { height: 28px; width: auto; display: block; }

.lang { display: flex; gap: 8px; }

.lang-btn {
  font: inherit;
  font-size: 13px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 7px 14px;
  cursor: pointer;
  min-height: 36px;
}

.lang-btn:hover { border-color: #cfcbcb; }

.lang-btn.is-on {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

/* type */

h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 8px 0 0;
}

html[lang="ar"] h1 { font-family: "Cairo", system-ui, sans-serif; font-weight: 600; font-size: 28px; }

@media (min-width: 768px) {
  h1 { font-size: 40px; }
  .mark { height: 34px; }
}

.version {
  color: var(--teal);
  font-weight: 600;
  font-size: 14px;
  margin: 14px 0 0;
}

.intro { margin: 18px 0 0; max-width: 62ch; }

h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

html[lang="ar"] h2 { font-family: "Cairo", system-ui, sans-serif; font-weight: 600; font-size: 20px; }

section { margin-top: 44px; }

section > p { margin: 0; max-width: 68ch; }

/* hero */

.shot { margin: 28px 0 0; }

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #05050a;
}

figcaption {
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.6;
  margin-top: 10px;
}

/* facts */

.facts { margin: 0 0 4px; }

.facts div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 11px 0;
  border-top: 1px solid var(--hairline);
}

.facts div:last-child { border-bottom: 1px solid var(--hairline); }

.facts dt { color: var(--ink-2); font-size: 14px; }

.facts dd { margin: 0; font-weight: 600; font-size: 14px; text-align: end; }

/* button */

.action { margin: 24px 0 12px; }

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--button);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 13px 20px;
  border-radius: 4px;
  min-height: 44px;
}

.button:hover { background: #3d2927; }

.button .arrow { flex: none; }

html[dir="rtl"] .button .arrow { transform: scaleX(-1); }

.note { color: var(--ink-2); font-size: 14px; }

/* lists */

.bullets, .steps { margin: 0; padding-inline-start: 22px; }

.bullets li, .steps li { margin: 8px 0; padding-inline-start: 4px; }

.steps li { padding-bottom: 10px; border-bottom: 1px solid var(--hairline); }

.steps li:last-child { border-bottom: 0; padding-bottom: 0; }

/* strip */

.strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 82%;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
}

.strip img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  scroll-snap-align: start;
  background: #05050a;
}

@media (min-width: 768px) {
  .strip { grid-auto-columns: 49%; }
}

.closing {
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  color: var(--ink-2);
  font-size: 13px;
}
