:root {
  --black: #000000;
  --surface: #0d1117;
  --border: #30363d;
  --white: #ffffff;
  --muted: #a7b0ba;
  --cyan: #56b6c2;
  --flag: #e5c07b;
  --url: #61afef;
  --accent: #58a6ff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--black);
  color: var(--white);
}

body {
  font-family: "Segoe UI", "Tahoma", "Arial", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.site-header {
  padding: 40px 24px 8px;
  max-width: 1100px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.pigeon {
  width: 96px;
  height: 72px;
  color: var(--white);
  flex: 0 0 auto;
}

.pigeon.small { width: 48px; height: 36px; }

.wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.wordmark .latin {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 1px;
}

.wordmark .arabic {
  font-size: 22px;
  color: var(--muted);
}

.tagline {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
  margin-top: 24px;
}

.pane {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  padding: 16px;
  min-width: 0;
}

.window { font-size: 14px; }

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.window-title {
  margin-inline-start: auto;
  color: var(--muted);
  font-size: 13px;
}

.row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.chip {
  background: #161b22;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 12px;
  font-weight: 700;
  font-family: Consolas, "Courier New", monospace;
}

.field {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: #161b22;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 10px;
  color: var(--muted);
  font-family: Consolas, "Courier New", monospace;
  direction: ltr;
  text-align: left;
}

.send {
  background: var(--accent);
  color: #04121f;
  font-weight: 700;
  border-radius: 6px;
  padding: 6px 16px;
}

.tabs {
  display: flex;
  gap: 4px;
  margin-top: 16px;
  border-bottom: 1px solid var(--border);
}

.tab {
  padding: 6px 14px;
  color: var(--muted);
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  font-size: 13px;
}

.tab.active {
  color: var(--white);
  border-color: var(--border);
  background: #161b22;
}

.mock-body {
  padding: 14px 4px 0;
  font-family: Consolas, "Courier New", monospace;
  direction: ltr;
  text-align: left;
  color: var(--muted);
}

.mock-line { margin: 0 0 6px; }

.mock-status {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  color: #7ee787;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  direction: ltr;
  text-align: left;
}

.pane-code {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.command {
  margin: 0;
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  overflow-x: auto;
  font-family: Consolas, "Courier New", monospace;
  font-size: 15px;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
}

.tok-dollar { color: #6e7681; }
.tok-curl { color: var(--cyan); font-weight: 700; }
.tok-flag { color: var(--flag); }
.tok-str { color: var(--white); }
.tok-url { color: var(--url); }

.copy {
  align-self: flex-start;
  background: #161b22;
  color: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
}

.copy:hover { background: #21262d; }

.claim {
  margin: 64px 0 0;
  text-align: center;
}

.claim h1 {
  font-size: 40px;
  line-height: 1.35;
  margin: 0 0 12px;
  font-weight: 700;
}

.claim .sub {
  color: var(--muted);
  font-size: 18px;
  margin: 0 auto;
  max-width: 640px;
}

.actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--accent);
}

.btn-primary {
  background: var(--accent);
  color: #04121f;
}

.btn-primary:hover { background: #79b8ff; }

.btn-ghost {
  background: transparent;
  color: var(--white);
}

.btn-ghost:hover { background: #161b22; }

.note {
  margin-top: 16px;
  color: var(--flag);
  font-size: 14px;
}

.features {
  margin: 64px auto 0;
  max-width: 720px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  color: var(--muted);
  font-size: 16px;
}

.features p {
  margin: 0 0 8px;
  padding-inline-start: 18px;
  position: relative;
}

.features p::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.site-footer {
  max-width: 1100px;
  margin: 64px auto 0;
  padding: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}

.site-footer .latin { color: var(--white); font-weight: 700; font-size: 18px; }

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .claim h1 { font-size: 30px; }
  .wordmark .latin { font-size: 34px; }
}

/* ---------- 1.0.0 additions: version, menu bar in the mock, and the new blocks ---------- */

.version {
  margin: 4px 0 0;
  color: var(--accent);
  font-size: 15px;
  letter-spacing: 0.5px;
}

.menubar {
  display: flex;
  gap: 14px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 12.5px;
}

.features-block,
.shortcuts-block,
.access-block,
.about-block {
  margin: 72px auto 0;
  max-width: 1100px;
}

.features-block h2,
.shortcuts-block h2,
.access-block h2,
.about-block h2 {
  font-size: 26px;
  margin: 0 0 20px;
  font-weight: 700;
}

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  padding: 18px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--white);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
}

.keys {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px 24px;
}

.keys > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.keys dt {
  font-family: Consolas, "Courier New", monospace;
  color: var(--flag);
  font-size: 15px;
  white-space: nowrap;
}

.keys dd {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  text-align: left;
}

.access-block p,
.about-block p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
  max-width: 820px;
}

.about-block a {
  color: var(--accent);
  font-size: 16px;
}

.site-footer .muted { color: var(--muted); font-size: 15px; }

/* ---------- hero: the main facts and the two big buttons ---------- */

.hero { padding-top: 56px; }

.hero-title {
  font-size: 46px;
  line-height: 1.25;
  font-weight: 700;
  margin: 26px 0 16px;
  max-width: 900px;
}

.hero-lede {
  margin: 0;
  max-width: 780px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
}

.facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  margin: 28px 0 0;
  padding: 0;
}

.facts li { display: flex; flex-direction: column; }

.fact-number {
  font-size: 34px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}

.fact-label { color: var(--muted); font-size: 14.5px; }

.hero .actions { justify-content: flex-start; margin-top: 30px; }

.btn-big { padding: 18px 40px; font-size: 19px; }

/* ---------- the size comparison ---------- */

.compare-block {
  max-width: 1100px;
  margin: 72px auto 0;
}

.compare-block h2 {
  font-size: 26px;
  margin: 0 0 20px;
  font-weight: 700;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.compare-col { padding: 26px; background: var(--surface); }

.compare-col + .compare-col { border-left: 1px solid var(--border); }

.compare-us { background: #0a121c; }

.compare-col h3 { margin: 0 0 12px; font-size: 20px; }

.compare-size { margin: 0; font-size: 44px; font-weight: 700; line-height: 1.1; }

.compare-us .compare-size { color: var(--accent); }

.compare-sub { margin: 6px 0 18px; color: var(--muted); font-size: 14.5px; }

.compare-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.9;
}

.footnote {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
  max-width: 860px;
}

@media (max-width: 820px) {
  .hero { padding-top: 36px; }
  .hero-title { font-size: 32px; }
  .facts { gap: 26px; }
  .compare { grid-template-columns: 1fr; }
  .compare-col + .compare-col { border-left: none; border-top: 1px solid var(--border); }
  .btn-big { width: 100%; text-align: center; }
}

/* ---------- icons and the memory row ---------- */

.fact-icon {
  display: block;
  width: 22px;
  height: 22px;
  color: var(--accent);
  margin-bottom: 10px;
}

.card-icon {
  display: block;
  width: 26px;
  height: 26px;
  color: var(--accent);
  margin-bottom: 12px;
}

.compare-mem {
  margin: 0 0 18px;
  font-size: 17px;
  color: var(--white);
}

.compare-mem .est { color: var(--muted); font-size: 13.5px; }

@media (max-width: 820px) {
  .footnote { font-size: 13px; }
}

.site-footer .credit {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-footer .credit-line {
  color: var(--white);
  font-weight: 700;
  font-size: 15.5px;
}

.site-footer .repo { font-size: 14px; }
