:root{
  --bg: #0b0f14;
  --panel: #121821;
  --text: #e6edf3;
  --muted: #9fb0c3;
  --accent: #4aa8ff;
  --border: #1e2a3a;
  --hover: #172230;
  --radius: 12px;
}

*{ box-sizing: border-box; }
html, body{
  margin:0;
  padding:0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial;
}


.info-wrap{
  max-width: 1000px;
  margin: 32px auto;
  padding: 24px;
  background: linear-gradient(180deg, rgba(18,24,33,0.92), rgba(18,24,33,0.88));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0,0,0,0.55);
}


.info-header h1{
  margin: 0 0 6px 0;
  font-size: 32px;
  letter-spacing: 0.2px;
}
.lead{
  margin: 0 0 14px 0;
  color: var(--muted);
  font-size: 18px;
}


.info-sections{
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.info-block{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: clip;
}

.info-block > summary{
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 600;
  user-select: none;
  position: relative;
}

.info-block > summary::-webkit-details-marker { display: none; }


.info-block > summary::after{
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px; height: 8px;
  border-right: 2px solid var(--text);
  border-bottom: 2px solid var(--text);
  transform: translateY(-50%) rotate(-45deg);
  opacity: 0.8;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.info-block[open] > summary::after{
  transform: translateY(-50%) rotate(45deg);
  opacity: 1;
}

.info-content{
  padding: 10px 16px 14px 16px;
  color: var(--text);
  line-height: 1.55;
  font-size: 16px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(18,24,33,0.85), rgba(18,24,33,0.80));
}

.info-content p{ margin: 0 0 10px 0; }
.info-content p:last-child{ margin-bottom: 0; }

.info-content ul{
  margin: 8px 0 0 18px;
  padding: 0;
}
.info-content li{
  margin: 6px 0;
  color: var(--text);
}


kbd{
  background: #0e1722;
  border: 1px solid #1e293b;
  border-bottom-color: #162131;
  border-radius: 6px;
  padding: 2px 6px;
  font: 600 12px/1.2 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  color: #d7e3f1;
}


.info-close{
  position: fixed;
  top: 12px;
  right: 18px;
  z-index: 50;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(18,24,33,0.9);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, border-color .15s ease, transform .06s ease;
}
.info-close:hover{
  background: var(--hover);
  border-color: #2b3a50;
}
.info-close:active{
  transform: translateY(1px);
}
.info-close:focus-visible{
  outline: none;
  box-shadow: 0 0 0 2px rgba(74,168,255,0.6);
}


a{ color: var(--accent); text-decoration: none; }
a:hover{ text-decoration: underline; }


@media (max-width: 560px){
  .info-wrap{
    margin: 16px;
    padding: 16px;
  }
  .info-header h1{ font-size: 22px; }
  .lead{ font-size: 14px; }
  .info-content{ font-size: 14px; }
}
