:root {
  --navy: #14213d;
  --navy-dark: #0c1526;
  --paper: #ffffff;
  --ink: #1a1a1a;
  --muted: #5b6472;
  --line: #e6e8ec;
  --accent: #14213d;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  opacity: 0.8;
}

.header {
  background: var(--navy);
  color: #fff;
  padding: 22px 20px;
}

.header-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
}

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

.nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 14px;
}

.nav a:hover {
  color: #fff;
  opacity: 1;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

h1 {
  font-size: 26px;
  margin: 0 0 6px;
  color: var(--navy);
}

h2 {
  font-size: 18px;
  margin: 34px 0 10px;
  color: var(--navy);
}

h3 {
  font-size: 15px;
  margin: 20px 0 8px;
  color: var(--navy);
}

p, li {
  font-size: 15px;
  color: var(--ink);
}

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

.lead {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 30px;
}

ol, ul {
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 22px 0;
  background: #fafbfc;
}

.requisites {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 22px 0;
  background: #fafbfc;
  font-size: 14px;
}

.requisites div {
  margin-bottom: 4px;
}

.requisites .label {
  color: var(--muted);
  display: inline-block;
  min-width: 150px;
}

.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0;
}

.tile {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s ease;
}

.tile:hover {
  border-color: var(--navy);
  opacity: 1;
}

.tile-title {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  font-size: 15px;
}

.tile-desc {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 520px) {
  .tiles {
    grid-template-columns: 1fr;
  }
  .requisites .label {
    display: block;
    min-width: 0;
  }
}

.footer {
  border-top: 1px solid var(--line);
  padding: 24px 20px 40px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.footer a {
  color: var(--muted);
  text-decoration: underline;
}

.back {
  display: inline-block;
  margin-top: 40px;
  font-size: 14px;
  color: var(--navy);
  text-decoration: none;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.contact-row:last-child {
  border-bottom: none;
}

.contact-label {
  color: var(--muted);
  min-width: 110px;
  font-size: 14px;
}

.contact-value {
  font-size: 15px;
}
