:root {
  --bg: #f4f1ea;
  --paper: rgba(255, 255, 255, 0.84);
  --paper-strong: rgba(255, 255, 255, 0.92);
  --text: #1d1b18;
  --muted: #6a655d;
  --line: rgba(29, 27, 24, 0.12);
  --line-strong: rgba(29, 27, 24, 0.18);
  --accent: #171614;
  --accent-strong: #000;
  --shadow: 0 18px 50px rgba(34, 29, 23, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  background:
    radial-gradient(circle at top left, rgba(60, 90, 74, 0.12), transparent 34%),
    linear-gradient(180deg, #f8f5ee 0%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.6;
}

.page {
  width: min(900px, calc(100vw - 32px));
  margin: 40px auto;
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 51px;
  height: 27px;
  border-radius: 999px;
  background: #171614;
  color: #fff;
  font-size: 22.57px;
  letter-spacing: -0.09em;
  line-height: 1;
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

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

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.88);
}

.nav-link.is-active {
  background: #171614;
  border-color: #171614;
  color: #fff;
}

h1,
h2 {
  margin: 0 0 14px;
  line-height: 1.15;
  font-weight: 400;
}

h1 {
  margin-top: 18px;
  font-size: clamp(34px, 5vw, 54px);
}

h2 {
  margin-top: 28px;
  font-size: 24px;
}

p,
li {
  font-size: 17px;
}

.lead {
  max-width: 42rem;
  font-size: 19px;
}

.meta {
  color: var(--muted);
  font-size: 14px;
}

.lang {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.section {
  margin-top: 30px;
}

.card-grid {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.contact-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, var(--paper-strong) 100%);
  box-shadow: 0 12px 30px rgba(34, 29, 23, 0.06);
}

.contact-label {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-link {
  display: inline-block;
  margin: 0;
  color: var(--accent-strong);
  font-size: clamp(24px, 4vw, 34px);
  text-decoration: none;
  word-break: break-word;
}

.contact-link:hover,
.contact-link:focus-visible {
  text-decoration: underline;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #171614;
  color: #fff;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.button-link:visited,
.button-link:link,
.button-link:active {
  color: #fff;
  background: #171614;
}

.button-link:hover,
.button-link:focus-visible {
  transform: translateY(-1px);
  background: #000;
}

ul {
  margin: 0;
  padding-left: 22px;
}

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

@media (max-width: 640px) {
  .page {
    width: min(900px, calc(100vw - 20px));
    margin: 10px auto;
    padding: 24px 18px;
    border-radius: 24px;
  }

  .topbar {
    align-items: flex-start;
  }

  .nav {
    width: 100%;
  }

  .nav-link {
    flex: 1 1 auto;
  }
}
