:root {
  color: #000;
  background: #fff;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: #fff; color: #000; }
a { color: inherit; }
img { max-width: 100%; }

.wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid rgb(0 0 0 / 10%);
}
.brand { text-decoration: none; font-weight: 650; letter-spacing: 0.01em; }
.brand small { display: block; margin-top: 2px; font-weight: 450; font-size: 12px; color: rgb(0 0 0 / 56%); }
.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-links a { text-decoration: none; font-size: 14px; }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.nav-lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgb(0 0 0 / 10%);
  background: #fff;
}
.nav-lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgb(0 0 0 / 56%);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  padding: 4px 6px;
  border-radius: 999px;
  cursor: pointer;
}
.nav-lang-btn.on { color: #fff; background: #00b7f0; }
.nav-lang-sep { color: #c5c9d1; font-size: 12px; }
.nav-search {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #9a9a93;
  border-radius: 10px;
  text-decoration: none;
}
.nav-search svg { width: 20px; height: 20px; }
.nav-search:hover { color: #00b7f0; background: rgb(0 183 240 / 12%); }
.nav-login { color: rgb(0 0 0 / 64%); font-size: 14px; text-decoration: none; padding: 8px 4px; }
.nav-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 180px;
  padding: 4px 8px 4px 4px;
  border-radius: 999px;
  text-decoration: none;
  background: rgb(0 183 240 / 12%);
  color: #00b7f0;
  font-size: 13px;
  font-weight: 800;
}
.nav-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #00b7f0;
  color: #fff;
  font-size: 12px;
}
.nav-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nav-username { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn.ink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111;
  color: #fff;
  border: 1px solid #111;
  border-radius: 10px;
  padding: 8px 20px;
  min-height: 36px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
body.is-authed [data-guest-only] { display: none !important; }
body:not(.is-authed) #navUserPill,
body:not(.is-authed) #nav-logout { display: none !important; }
body.lang-ug .brand,
body.lang-ug .nav-username,
body.lang-ug h1,
body.lang-ug h2 {
  font-family: "Noto Naskh Arabic", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.hero { padding: 28px 0 56px; border-bottom: 1px solid rgb(0 0 0 / 10%); }
.fleet-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 36px;
}
.fleet-strip figure { margin: 0; }
.fleet-strip img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  background: #f4f4f4;
  display: block;
}
.fleet-strip figcaption {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}
.fleet-strip figcaption b {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  font-weight: 750;
}
@media (max-width: 860px) {
  .fleet-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fleet-strip img { height: 120px; }
}
.kicker { margin: 0 0 12px; font-size: 13px; letter-spacing: 0.08em; color: rgb(0 0 0 / 56%); }
h1 { margin: 0; font-size: clamp(40px, 6vw, 72px); line-height: 1.05; font-weight: 650; max-width: 12ch; }
.lede { margin: 20px 0 0; max-width: 38rem; font-size: 18px; line-height: 1.55; color: rgb(0 0 0 / 64%); }
.actions { display: flex; gap: 12px; margin-top: 28px; }
.actions a { text-decoration: none; padding: 12px 18px; border: 1px solid #000; font-size: 15px; }
.actions a.solid { background: #000; color: #fff; }

.chapter { padding: 64px 0; border-bottom: 1px solid rgb(0 0 0 / 10%); }
.chapter h2 { margin: 0 0 8px; font-size: 28px; font-weight: 650; }
.chapter > .wrap > p { margin: 0 0 28px; max-width: 36rem; color: rgb(0 0 0 / 64%); }

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; vertical-align: top; padding: 16px 12px 16px 0; border-top: 1px solid rgb(0 0 0 / 10%); }
th { width: 8rem; font-weight: 650; }
td { color: rgb(0 0 0 / 64%); }

ol.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
ol.steps li { border-top: 1px solid #000; padding-top: 14px; }
ol.steps strong { display: block; margin-bottom: 8px; }
ol.steps span { color: rgb(0 0 0 / 64%); line-height: 1.5; }

.foot { padding: 28px 0 40px; color: rgb(0 0 0 / 56%); font-size: 13px; }
.foot p { margin: 0 0 6px; }

@media (max-width: 720px) {
  .nav, .nav-links { flex-wrap: wrap; }
  ol.steps { grid-template-columns: 1fr; }
  h1 { max-width: none; }
}
