.hero {
  margin-bottom: 14px;
}

.hero p {
  max-width: 700px;
  margin: 0;
  color: #425466;
  font-size: 17px;
}

.notice {
  margin-top: 14px;
  border-left: 4px solid var(--blue);
  background: var(--blue-soft);
  border-radius: 8px;
  padding: 12px 14px;
  color: #32465f;
  font-size: 14px;
}

.layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 16px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 12px;
  padding: 18px;
}

.toc h2 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 16px;
}

.toc a {
  display: block;
  color: #334155;
  font-size: 14px;
  padding: 7px 0;
  text-decoration: none;
}

.toc a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.content {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.section {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  min-width: 0;
}

.section h2 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 22px;
}

.section p {
  margin: 0 0 10px;
  color: var(--muted);
}

.section p:last-child {
  margin-bottom: 0;
}

.mini-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.mini-list li {
  border: 1px solid #e7eef7;
  border-radius: 9px;
  background: #fbfdff;
  padding: 10px 12px;
  color: #43566d;
  font-size: 14px;
}

.cta-box {
  border: 1px solid #cfe0f5;
  border-radius: 12px;
  background: #f7fbff;
  padding: 18px;
  min-width: 0;
}

.cta-box h2 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 20px;
}

.cta-box p {
  margin: 0 0 12px;
  color: var(--muted);
}

.cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid #0d47a1;
  border-radius: 9px;
  background: #ffffff;
  color: var(--blue);
  font-weight: 700;
  padding: 10px 14px;
  text-decoration: none;
}

.cta-link:hover {
  background: var(--blue-soft);
}

details {
  border-top: 1px solid #edf2f7;
  padding: 12px 0;
}

details:first-of-type {
  border-top: 0;
  padding-top: 0;
}

summary {
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
}

details p {
  margin-top: 8px;
  font-size: 14px;
}

@media (max-width: 760px) {
  .section,
  .cta-box {
    padding: 16px;
  }

  .hero p {
    font-size: 16px;
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }
}
