:root {
  --bg: #f7f4ef;
  --surface: #ffffff;
  --ink: #1a1a1a;
  --muted: #6e675f;
  --line: #e7e0d6;
  --green: #0f4c4c;
  --gold: #c9973f;
  --gold-soft: #f8f1e4;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Cairo, sans-serif;
  line-height: 1.75;
}

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

.wrap {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1rem 1.15rem 2.5rem;
}

.bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
}

.bar-tools {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lang a {
  color: var(--muted);
  text-decoration: none;
  min-width: 1.75rem;
  text-align: center;
}

.lang a[aria-current="page"] {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.logo {
  width: 9.5rem;
  height: auto;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1rem;
}

nav a {
  font-weight: 600;
  text-decoration: none;
}

nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.25rem 1.15rem 1.4rem;
}

h1,
h2 {
  color: var(--green);
  font-weight: 700;
  line-height: 1.35;
}

h1 {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.85rem;
  text-align: center;
}

h2 {
  margin: 1.35rem 0 0.25rem;
  font-size: 1.15rem;
}

.pitch {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 1.12rem;
}

ul {
  margin: 0.4rem 0 0;
  padding-inline-start: 1.15rem;
}

li + li {
  margin-top: 0.35rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.15rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0.35rem 0.85rem;
  border-radius: 0.85rem;
  background: var(--green);
  color: #f7fbf8;
  font-weight: 600;
}

.soon {
  background: var(--gold-soft);
  color: var(--green);
  border-radius: 999px;
  padding: 0.05rem 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.page-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.1rem;
  margin: 1.15rem 0 0;
  font-weight: 600;
}

footer {
  border-top: 1px solid var(--line);
  margin-top: 0.5rem;
  padding-top: 1.1rem;
  text-align: center;
  color: var(--muted);
}

footer p {
  margin: 0.25rem 0;
}

.mail {
  font-weight: 600;
}

@media (min-width: 720px) {
  .bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .bar-tools {
    width: auto;
    flex-direction: row;
  }
}
