:root {
  --paper: #ffffff;
  --paper-2: #ffffff;
  --ink: #130f0f;
  --muted: #5c5858;
  --line: #e6e6e6;
  --rust: #f41112;
  --rust-ink: #ffffff;
  --good: #0d7a32;
  --bad: #f41112;
  --max: 1120px;
  --serif: "Montserrat", "Noto Sans Arabic", "Noto Sans Devanagari", "Segoe UI", sans-serif;
  --sans: "Source Sans 3", "Noto Sans Arabic", "Noto Sans Devanagari", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  padding-bottom: 0;
}
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0;
}
h1 { font-size: clamp(40px, 5.2vw, 68px); line-height: 0.98; }
h2 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.08; }

.mast {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  margin: 0;
  padding: 0 28px;
  min-height: 72px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: none;
  font-size: 18px;
}
.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 2px;
  background: var(--rust);
  color: #fff;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 18px;
}
.nav { display: flex; gap: 22px; margin-right: auto; }
.lang { position: relative; }
.lang-btn {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  font: 700 13px/1 var(--serif);
  letter-spacing: 0.04em;
  cursor: pointer;
}
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  min-width: 180px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(19, 15, 15, 0.12);
}
.lang-menu[hidden] { display: none; }
.lang-menu button {
  display: block;
  width: 100%;
  text-align: start;
  border: 0;
  border-radius: 2px;
  background: transparent;
  padding: 8px 10px;
  font: 600 15px/1.3 var(--sans);
  cursor: pointer;
}
.lang-menu button.is-on { background: var(--ink); color: #fff; }
.lang-menu button:hover { color: var(--rust); }
.lang-menu button.is-on:hover { color: #fff; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}
.nav a:hover { color: var(--rust); }
.mast .btn { margin-left: 12px; }
.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 2px;
  padding: 8px 12px;
  font: 700 13px/1 var(--sans);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 2px;
  background: var(--rust);
  color: var(--rust-ink);
  text-decoration: none;
  font: 700 14px/1 var(--serif);
  letter-spacing: 0.01em;
}
.btn:hover { background: #d80e0f; }
.btn-lg { min-height: 52px; padding: 0 22px; font-size: 15px; }
.btn-quiet {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-quiet:hover { background: #fff; color: var(--rust); border-color: var(--rust); }
.btn-block { width: 100%; margin-top: 16px; }

.hero {
  width: min(100% - 48px, var(--max));
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: 40px;
  align-items: start;
}
.kicker, .section-kicker {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
}
.lede { font-size: 18px; color: var(--muted); max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.source { color: var(--muted); font-size: 13px; max-width: 62ch; }
.source a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.source a { overflow-wrap: anywhere; }

.scorecard {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--rust);
  border-radius: 2px;
  padding: 20px 20px 18px;
  box-shadow: 0 12px 32px rgba(19, 15, 15, 0.06);
}
.score-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.gauge { width: 84px; height: 84px; flex: none; }
.scorecard-label {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.score-num {
  margin: 8px 0 8px;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 76px;
  line-height: 0.85;
  letter-spacing: -0.05em;
}
.score-num span { font-size: 28px; color: var(--muted); font-weight: 700; }
.stars { display: flex; gap: 4px; margin: 0 0 16px; }
.stars i {
  width: 16px;
  height: 16px;
  background: var(--rust);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.stars i.partial {
  background: linear-gradient(90deg, var(--rust) 12%, #ececec 12%);
}
.scorecard dl { margin: 0; }
.scorecard dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.scorecard dt { color: var(--muted); }
.scorecard dd { margin: 0; text-align: right; font-weight: 700; }

.facts {
  width: min(100% - 48px, var(--max));
  margin: 36px auto 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
}
.facts li { padding: 18px 16px 16px; }
.facts li + li { border-left: 1px solid var(--line); }
.facts svg { width: 36px; height: 36px; display: block; margin-bottom: 12px; }
.facts b { display: block; font-family: var(--serif); font-size: 22px; letter-spacing: -0.03em; }
.facts span { color: var(--muted); font-size: 13px; }

.card-ico { width: 32px; height: 32px; display: block; margin-bottom: 8px; }

.compare {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
}
.compare article { border: 1px solid var(--line); padding: 16px 16px 14px; }
.compare h3 { font-size: 18px; }
.meter { display: grid; gap: 10px; margin-top: 14px; }
.meter div {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}
.meter span { color: var(--muted); }
.meter em { font-style: normal; font-weight: 700; font-family: var(--serif); }
.meter b {
  display: block;
  height: 6px;
  background: linear-gradient(90deg, var(--rust) var(--w), #f0f0f0 var(--w));
}
.meter b.range {
  background: linear-gradient(90deg, #f0f0f0 var(--a), var(--rust) var(--a), var(--rust) var(--b), #f0f0f0 var(--b));
}

.step-ico {
  position: absolute;
  top: 16px;
  right: 14px;
  width: 36px;
  height: 36px;
}

.section {
  width: min(100% - 48px, var(--max));
  margin: 84px auto 0;
}
.note { color: var(--muted); margin-top: 8px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.split article {
  background: #fff;
  border-radius: 2px;
  padding: 20px 20px 8px;
  border: 1px solid var(--line);
}
.split h3 { font-size: 24px; margin-bottom: 8px; }
.split ul { margin: 0; padding: 0 0 8px; list-style: none; }
.split li {
  padding: 11px 0;
  padding-inline-start: 22px;
  border-top: 1px solid var(--line);
  position: relative;
}
.ticks li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--good); font-weight: 700; }
.cross li::before { content: "×"; position: absolute; inset-inline-start: 0; color: var(--bad); font-weight: 700; }

.bars { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.bars li {
  display: grid;
  grid-template-columns: minmax(140px, 240px) 36px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  font-weight: 600;
}
.bars b { font-variant-numeric: tabular-nums; font-family: var(--serif); }
.bars em {
  display: block;
  height: 6px;
  border-radius: 0;
  background: #f0f0f0;
  position: relative;
  font-style: normal;
}
.bars em::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: var(--rust);
}

.notes {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.notes figure {
  margin: 0;
  padding: 20px;
  background: #fafafa;
  border-left: 4px solid var(--rust);
}
.notes blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.notes figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.table-wrap {
  margin: 20px 0 18px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
}
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: start; padding: 14px 16px; vertical-align: top; font-size: 15px; }
th {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--ink);
}
tr + tr td { border-top: 1px solid var(--line); }
td:first-child { font-weight: 700; width: 18%; }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 22px 0 0;
  padding: 0;
  counter-reset: step;
}
.steps li {
  position: relative;
  background: #fff;
  border-radius: 2px;
  padding: 18px 56px 18px 18px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--rust);
}
.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 800;
  color: var(--rust);
  margin-bottom: 8px;
}
.steps h3 { font-size: 22px; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); }

.closer {
  width: min(100% - 48px, var(--max));
  margin: 84px auto 0;
  padding: 36px 32px;
  border-radius: 2px;
  background: var(--ink);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.closer .kicker { color: var(--rust); }
.closer h2 { max-width: 18ch; font-weight: 800; }
.closer .btn { flex: none; }

.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-family: var(--serif); }
.faq p { margin: 8px 0 4px; color: var(--muted); max-width: 70ch; }

.foot {
  width: 100%;
  margin: 72px 0 0;
  padding: 36px 28px 28px;
  background: var(--ink);
  color: #bdb8b8;
  font-size: 14px;
}
.foot p,
.foot-row {
  width: min(100%, var(--max));
  margin-left: auto;
  margin-right: auto;
}
.foot-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.foot-row nav { display: flex; gap: 16px; flex-wrap: wrap; }
.foot-row a { color: #fff; font-weight: 700; }

.dock {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 20;
  min-height: 48px;
  border-radius: 2px;
  background: var(--rust);
  color: #fff;
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 800;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(19, 15, 15, 0.25);
}

:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

html[dir="rtl"] .lang-menu { right: auto; left: 0; }
html[dir="rtl"] .step-ico { right: auto; left: 14px; }
html[dir="rtl"] .steps li { padding: 18px 18px 18px 56px; }
html[dir="rtl"] .notes figure { border-left: 0; border-right: 4px solid var(--rust); }
html[dir="rtl"] .nav { margin-right: 0; margin-left: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media (max-width: 860px) {
  .hero, .split, .notes, .steps, .compare { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(odd) { border-left: 0; }
  .facts li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .hero, .section, .closer, .facts { width: min(100% - 32px, var(--max)); }
  .bars li { grid-template-columns: 1fr auto; }
  .bars em { grid-column: 1 / -1; }
  .closer { flex-direction: column; align-items: flex-start; }
  .mast { padding: 0 16px; }
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .mast .btn { display: none; }
  .lang { margin-inline-start: auto; }
  .menu-btn { display: inline-flex; margin-inline-start: 8px; }
  .dock { display: flex; }
  body { padding-bottom: 76px; }
  body.nav-open { overflow: hidden; }
}
