:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #17212b;
  --muted: #667789;
  --line: #d9e2ea;
  --brand: #0f766e;
  --brand-strong: #0b5d57;
  --radius: 8px;
  --max: 980px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  background: rgba(246, 248, 251, 0.94);
  border-bottom: 1px solid var(--line);
}

.topbar-inner,
main,
.footer-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.topbar-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--brand);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
}

.nav {
  display: flex;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
}

.nav a:hover {
  background: #eef5f7;
  color: var(--text);
}

main {
  padding: 44px 0 56px;
}

article,
.panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

h1 {
  margin: 0 0 10px;
  font-size: 36px;
  line-height: 1.15;
}

h2 {
  margin: 30px 0 8px;
  font-size: 22px;
}

p,
li {
  color: var(--muted);
}

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

.contact-link {
  margin-top: 22px;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #ffffff;
  font-weight: 800;
}

.contact-link:hover {
  background: var(--brand-strong);
}

.footer-inner {
  border-top: 1px solid var(--line);
  padding: 20px 0 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 680px) {
  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
  }

  h1 {
    font-size: 30px;
  }

  article,
  .panel {
    padding: 22px;
  }

  .contact-link {
    width: 100%;
  }
}
