:root {
  --ink: #24323f;
  --muted: #5c6d7c;
  --line: #e4eef3;
  --blue: #0e86ea;
  --cyan: #22d3c4;
  --card: #f6fbfd;
  --bg: #ffffff;
  --max: 40rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #0868b8;
}

.wrap {
  width: min(calc(100% - 2.5rem), var(--max));
  margin: 0 auto;
}

.site-header {
  padding: 2.5rem 0 0.5rem;
  text-align: center;
}

.logo {
  width: min(100%, 26rem);
  height: auto;
  display: block;
  margin: 0 auto;
}

.lead {
  margin: 0.25rem auto 0;
  max-width: 36rem;
  text-align: center;
  color: var(--muted);
  font-size: 1.125rem;
}

.rule {
  width: 5.5rem;
  height: 4px;
  margin: 2rem auto 0;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

main {
  padding-bottom: 3rem;
}

section {
  padding: 2.25rem 0 0;
}

h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h2 {
  margin: 0 0 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

p {
  margin: 0 0 0.9rem;
}

p:last-child {
  margin-bottom: 0;
}

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

.card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.card p {
  color: var(--muted);
}

.card a {
  font-weight: 700;
}

address {
  font-style: normal;
}

.contact-list {
  display: grid;
  gap: 1rem;
  margin-top: 0.4rem;
}

.contact-list strong {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.page-title {
  position: static;
  width: auto;
  height: auto;
  margin: 0.5rem 0 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  font-size: 1.75rem;
  letter-spacing: normal;
  text-transform: none;
  color: var(--ink);
}

.back {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-weight: 700;
  font-size: 0.95rem;
}

@media (max-width: 540px) {
  .site-header {
    padding-top: 1.25rem;
  }

  .lead {
    font-size: 1.05rem;
  }
}
