:root {
  --bg: #f5efe4;
  --surface: #fffdf8;
  --surface-soft: rgba(255, 252, 246, 0.82);
  --text: #182126;
  --muted: #5f6b70;
  --line: rgba(24, 33, 38, 0.12);
  --accent: #ec6f3d;
  --deep: #17313a;
  --shadow: 0 20px 60px rgba(24, 33, 38, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(236, 111, 61, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(23, 49, 58, 0.14), transparent 24%),
    linear-gradient(180deg, #fffdf8 0%, var(--bg) 52%, #efe5d5 100%);
}

main {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

header,
section,
article,
nav {
  display: block;
}

.hero,
.card,
.notice,
.requisites {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: var(--shadow);
}

.hero {
  padding: 28px;
  margin-bottom: 20px;
}

.hero h1 {
  margin: 8px 0 12px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.08;
}

.hero p,
.card p,
.card li,
.notice,
.requisites td,
.requisites th {
  line-height: 1.7;
  color: var(--text);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(236, 111, 61, 0.14);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.doc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
}

.doc-nav a,
.inline-link {
  color: var(--deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(23, 49, 58, 0.18);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 24px;
}

.card h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.card h3 {
  margin: 20px 0 10px;
  font-size: 18px;
}

.card ul,
.card ol {
  margin: 10px 0 0;
  padding-left: 22px;
}

.notice {
  padding: 16px 18px;
  margin: 18px 0;
  background: linear-gradient(180deg, rgba(236, 111, 61, 0.12), rgba(255, 253, 248, 0.96));
}

.notice strong {
  color: var(--deep);
}

.requisites {
  overflow: hidden;
}

.requisites table {
  width: 100%;
  border-collapse: collapse;
}

.requisites th,
.requisites td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.requisites tr:last-child th,
.requisites tr:last-child td {
  border-bottom: none;
}

footer {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto 48px;
  color: var(--muted);
}

footer a {
  color: inherit;
}

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

@media (max-width: 820px) {
  .grid.two {
    grid-template-columns: 1fr;
  }

  .hero,
  .card {
    padding: 20px;
  }

  .requisites th,
  .requisites td {
    display: block;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
  }
}
