:root{
  --bg: #ffffff;
  --text: #0b1220;
  --muted: rgba(11,18,32,.70);
  --border: rgba(11,18,32,.10);
  --accent: #FFDB3D;
}
html[data-theme="dark"]{
  --bg: #070B14;
  --text: rgba(245,247,255,.92);
  --muted: rgba(245,247,255,.72);
  --border: rgba(255,255,255,.12);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.top{
  padding: 26px 22px 16px;
  border-bottom: 1px solid var(--border);
}
.top__logo{
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-top: 12px;
  border-radius: 14px;
  background: transparent !important;
}
.back{
  display:inline-block;
  font-weight: 900;
  color: inherit;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
}
.back:hover{
  border-color: rgba(255,219,61,.55);
  box-shadow: 0 0 0 4px rgba(255,219,61,.14);
}
.top__title{
  margin-top: 18px;
  font-family: "Unbounded", "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 800;
  font-size: 44px; /* огромным */
  letter-spacing: -.02em;
}
.top__sub{
  margin-top: 6px;
  color: var(--muted);
  font-weight: 700;
  font-size: 20px;
}

.wrap{
  max-width: 1080px;
  margin: 0 auto;
  padding: 22px;
}
.block{
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
  margin: 18px 0;
}
.h1{
  margin: 0 0 12px 0;
  font-family: "Unbounded", "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 800;
  font-size: 34px; /* огромным */
}
.p{
  margin: 0 0 14px 0;
  font-size: 22px; /* огромным */
  line-height: 1.5;
  color: var(--muted);
  font-weight: 600;
}
.list{
  margin: 0;
  padding-left: 26px;
  font-size: 22px; /* огромным */
  line-height: 1.55;
}
.list li{margin: 10px 0}
.list b{color: var(--text)}

/* Huge legal text block */
.legal{
  white-space: pre-wrap;
  font-size: 22px; /* огромным */
  line-height: 1.6;
  color: var(--muted);
  font-weight: 600;
}
.legal--note{
  white-space: normal;
  margin: 0 0 14px 0;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--text);
}
.legal--note a{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 768px){
  .top{padding: 20px max(22px, env(safe-area-inset-left)) 14px max(22px, env(safe-area-inset-right))}
  .wrap{padding: 18px max(22px, env(safe-area-inset-left)) 18px max(22px, env(safe-area-inset-right))}
  .top__title{font-size: 36px}
  .top__sub{font-size: 18px}
  .h1{font-size: 28px}
  .p,.list,.legal{font-size: 18px}
}
@media (max-width: 560px){
  .top__title{font-size: 28px}
  .top__sub{font-size: 16px}
  .h1{font-size: 24px}
  .p,.list{font-size: 17px}
  .legal{font-size: 16px; line-height: 1.55}
  .block{padding: 16px; margin: 14px 0}
}

.docNav{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin: 16px 0 8px;
}
.docNav a{
  display:inline-flex;
  align-items:center;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  font-weight: 800;
  font-size: 15px;
  color: inherit;
  text-decoration: none;
}
.docNav a:hover{
  border-color: rgba(255,219,61,.55);
  box-shadow: 0 0 0 4px rgba(255,219,61,.14);
}

.legalBanner{
  border: 1px solid rgba(255,219,61,.45);
  background: rgba(255,219,61,.12);
  border-radius: 18px;
  padding: 14px 16px;
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--text);
}
html[data-theme="dark"] .legalBanner{
  border-color: rgba(255,219,61,.35);
  background: rgba(255,219,61,.08);
}

.kv{
  width:100%;
  border-collapse: collapse;
  font-size: 17px;
  font-weight: 600;
  color: var(--muted);
}
.kv th,.kv td{
  border-bottom: 1px solid var(--border);
  padding: 12px 10px 12px 0;
  vertical-align: top;
  text-align: left;
}
.kv th{
  width: 34%;
  max-width: 280px;
  color: var(--text);
  font-weight: 800;
}
.kv a{color: inherit; text-decoration: underline; text-underline-offset: 3px}
.kv a.is-disabled{
  pointer-events: none;
  text-decoration: none;
  opacity: .55;
}

#reqWarn{
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(220,38,38,.35);
  background: rgba(220,38,38,.08);
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.45;
}
html[data-theme="dark"] #reqWarn{
  border-color: rgba(248,113,113,.4);
  background: rgba(248,113,113,.1);
}

