:root {
  --bg: #f5efe6;
  --card: #fffdf9;
  --text: #1b2940;
  --muted: #6b778c;
  --line: #d9e2ec;
  --brand: #15375c;
  --brand-2: #e7f0fa;
  --accent: #f3e4cb;
  --ok: #e7f6ec;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, #dfeefe 0%, transparent 28%),
    linear-gradient(180deg, #faf4ea 0%, #eef5fb 100%);
}
a { color: var(--brand); }
.wrap { width: min(1040px, calc(100% - 32px)); margin: 0 auto; }
.hero { padding: 28px 0 16px; }
.hero-card {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(217,226,236,0.9);
  border-radius: 28px;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 48px rgba(21,55,92,0.08);
  padding: 28px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--brand-2);
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
}
h1 { font-size: clamp(32px, 5vw, 46px); line-height: 1.05; margin: 16px 0 10px; }
.hero p { font-size: 18px; line-height: 1.6; margin: 0; max-width: 760px; }
.meta {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.legal-nav a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  background: rgba(255,255,255,0.7);
}
.legal-nav a.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 14px 18px;
  text-decoration: none;
  font-weight: 700;
  background: #fff;
  color: var(--text);
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 24px 0 12px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(21,55,92,0.06);
}
.card-link {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.card-link .card {
  height: 100%;
}
.card h2, .card h3 { margin-top: 0; }
.card h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  margin-bottom: 14px;
  overflow-wrap: anywhere;
}
.card p { margin-bottom: 0; color: var(--muted); line-height: 1.7; font-size: 18px; }
.legal-document {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 18px 48px rgba(21,55,92,0.08);
  padding: 28px;
  margin: 0 0 36px;
}
.legal-document h2 {
  margin: 28px 0 12px;
  font-size: 24px;
  line-height: 1.25;
}
.legal-document h2:first-child { margin-top: 0; }
.legal-document p, .legal-document li {
  font-size: 16px;
  line-height: 1.72;
  margin: 0 0 12px;
}
.table-wrap { overflow-x: auto; margin: 18px 0 24px; }
.table-wrap table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}
.table-wrap th, .table-wrap td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.55;
}
.table-wrap th { background: #f4f8fc; }
.surface {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 18px 48px rgba(21,55,92,0.08);
  padding: 28px;
  margin: 0 0 36px;
}
.surface h1 { margin-top: 0; font-size: clamp(28px, 4vw, 40px); }
.surface h2 {
  margin: 28px 0 12px;
  font-size: 24px;
  line-height: 1.25;
}
.surface h3 {
  margin: 20px 0 10px;
  font-size: 18px;
  line-height: 1.35;
}
.surface p, .surface li {
  font-size: 16px;
  line-height: 1.72;
  margin: 0 0 12px;
}
.surface table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px;
  overflow: hidden;
  border-radius: 18px;
}
.surface th, .surface td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.55;
}
.surface th { background: #f4f8fc; }
.list-clean {
  list-style: none;
  margin: 0;
  padding: 0;
}
.list-clean li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 10px;
}
.list-clean li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--brand);
  font-weight: 700;
}
@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hero-card, .surface, .card, .legal-document { padding: 20px; border-radius: 22px; }
  .wrap { width: min(100% - 20px, 1040px); }
  .card p { font-size: 16px; }
}

/* Russian documents only. The shared Clearer stylesheet is not changed. */
.site-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; padding-top: 24px; }
.site-nav a { text-underline-offset: 4px; }
.hero-card, .legal-document { overflow-wrap: anywhere; }
.hero p.meta { margin-top: 14px; font-size: 14px; }
.card .btn { margin-top: 16px; }
a:focus-visible, .table-wrap:focus-visible { outline: 3px solid #6846c2; outline-offset: 4px; }
.table-wrap { overscroll-behavior-inline: contain; }
@media (max-width: 720px) {
  .actions .btn { flex: 1 1 100%; }
  .legal-document h2 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
